query stringlengths 7 33.1k | document stringlengths 7 335k | metadata dict | negatives listlengths 3 101 | negative_scores listlengths 3 101 | document_score stringlengths 3 10 | document_rank stringclasses 102 values |
|---|---|---|---|---|---|---|
Create an entity for this test. This is a static method, as tests for other entities might also need it, if they test an entity which requires the current entity. | public static QuizQuestion createEntity(EntityManager em) {
QuizQuestion quizQuestion = new QuizQuestion()
.text(DEFAULT_TEXT)
.description(DEFAULT_DESCRIPTION);
// Add required entity
Quiz quiz;
if (TestUtil.findAll(em, Quiz.class).isEmpty()) {
quiz = QuizResourceIT.createEntity(em);
em.persist(quiz);
em.flush();
} else {
quiz = TestUtil.findAll(em, Quiz.class).get(0);
}
quizQuestion.setQuiz(quiz);
return quizQuestion;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"Entity createEntity();",
"T createEntity();",
"protected abstract ENTITY createEntity();",
"void create(E entity);",
"void create(T entity);",
"E create(E entity);",
"E create(E entity);",
"protected abstract EntityBase createEntity() throws Exception;",
"TestEntity buildEntity () {\n TestEn... | [
"0.77237517",
"0.75055355",
"0.7489123",
"0.7362241",
"0.73148507",
"0.71567076",
"0.71567076",
"0.7151556",
"0.71502143",
"0.7078192",
"0.70171237",
"0.6803645",
"0.6753588",
"0.67406213",
"0.67406213",
"0.67118007",
"0.6682163",
"0.66666734",
"0.6640775",
"0.6625193",
"0.66... | 0.6314284 | 34 |
Create an updated entity for this test. This is a static method, as tests for other entities might also need it, if they test an entity which requires the current entity. | public static QuizQuestion createUpdatedEntity(EntityManager em) {
QuizQuestion quizQuestion = new QuizQuestion()
.text(UPDATED_TEXT)
.description(UPDATED_DESCRIPTION);
// Add required entity
Quiz quiz;
if (TestUtil.findAll(em, Quiz.class).isEmpty()) {
quiz = QuizResourceIT.createUpdatedEntity(em);
em.persist(quiz);
em.flush();
} else {
quiz = TestUtil.findAll(em, Quiz.class).get(0);
}
quizQuestion.setQuiz(quiz);
return quizQuestion;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static Student createUpdatedEntity(EntityManager em) {\n Student student = new Student()\n .firstName(UPDATED_FIRST_NAME)\n .middleName(UPDATED_MIDDLE_NAME)\n .lastName(UPDATED_LAST_NAME)\n .studentRegNumber(UPDATED_STUDENT_REG_NUMBER)\n .dateOfB... | [
"0.69451517",
"0.6788456",
"0.6788399",
"0.6719122",
"0.66941375",
"0.66920644",
"0.6663383",
"0.6637166",
"0.66222155",
"0.6515608",
"0.64486396",
"0.6424878",
"0.64218825",
"0.64217436",
"0.64165294",
"0.6412185",
"0.6411173",
"0.64052176",
"0.6395039",
"0.63919705",
"0.638... | 0.6510221 | 10 |
This service provides functionality that revolves around the checkout. | public interface CheckoutService {
/**
* Returns all available shipping methods for the given country, regardless of the destination country.
*
* @param currentCountry for which the shipping methods are available in
* @return the found shipping methods or an empty list
*/
List<ShippingMethode> getSupportedShippingMethods(Country currentCountry);
/**
* Returns all available shipping methods for the given order - based on the current and the destination country.
*
* @param order for which the shipping methods are available
* @return the found shipping methods or an empty list
*/
List<ShippingMethode> getSupportedShippingMethods(AbstractOrder order);
/**
* Returns all available payment methods for the given order.
*
* @param order for which the payment methods are available
* @return the found payment methods or an empty list
*/
List<PaymentMethode> getSupportedPaymentMethods(AbstractOrder order);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void checkout() {\n\t}",
"private void checkout() {\n throw new UnsupportedOperationException(\"Not yet implemented\");\n }",
"@Override\n\tpublic void checkout(MetodoPagamento object) {\n\t\t\n\t}",
"public interface RentToBuyService {\n}",
"public interface CoinService {\n void trigge... | [
"0.67600787",
"0.64495695",
"0.6133625",
"0.61095375",
"0.6091641",
"0.5913709",
"0.587618",
"0.5814523",
"0.5809355",
"0.5777664",
"0.5756092",
"0.5722414",
"0.5719587",
"0.5708602",
"0.5696216",
"0.5660005",
"0.5657843",
"0.56539977",
"0.5587245",
"0.5586784",
"0.55734384",... | 0.6338428 | 2 |
Returns all available shipping methods for the given country, regardless of the destination country. | List<ShippingMethode> getSupportedShippingMethods(Country currentCountry); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public List<AvailableShippingMethod> getAvailableShippingMethods() {\n return (List<AvailableShippingMethod>) get(\"available_shipping_methods\");\n }",
"List<ShippingMethode> getSupportedShippingMethods(AbstractOrder order);",
"public interface CheckoutService {\n\n\t/**\n\t * Returns all available ... | [
"0.71137506",
"0.67467225",
"0.55034715",
"0.5498349",
"0.5335721",
"0.5293223",
"0.525377",
"0.52002704",
"0.51948315",
"0.51674265",
"0.51321363",
"0.5089486",
"0.50884616",
"0.50596887",
"0.503319",
"0.49705184",
"0.49462742",
"0.49084696",
"0.4895169",
"0.4889254",
"0.484... | 0.8307057 | 0 |
Returns all available shipping methods for the given order based on the current and the destination country. | List<ShippingMethode> getSupportedShippingMethods(AbstractOrder order); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"List<ShippingMethode> getSupportedShippingMethods(Country currentCountry);",
"public List<AvailableShippingMethod> getAvailableShippingMethods() {\n return (List<AvailableShippingMethod>) get(\"available_shipping_methods\");\n }",
"List<PaymentMethode> getSupportedPaymentMethods(AbstractOrder order);... | [
"0.81904936",
"0.70952505",
"0.65909165",
"0.5957921",
"0.57499844",
"0.5573097",
"0.5471878",
"0.5337294",
"0.52576566",
"0.5237765",
"0.52013355",
"0.5198145",
"0.5150556",
"0.5147741",
"0.5001266",
"0.49862406",
"0.49759057",
"0.49617174",
"0.4931849",
"0.49272093",
"0.492... | 0.8043762 | 1 |
Returns all available payment methods for the given order. | List<PaymentMethode> getSupportedPaymentMethods(AbstractOrder order); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"List<ShippingMethode> getSupportedShippingMethods(AbstractOrder order);",
"public List<PaymentEntity> getPaymentMethods() {\n return entityManager.createNamedQuery(\"getAllPaymentMethods\", PaymentEntity.class).getResultList();\n\n }",
"public List<BrainTreePaymentInfo> getPaymentMethods(final Sessio... | [
"0.70821804",
"0.68667126",
"0.6801885",
"0.65989625",
"0.6553231",
"0.6420123",
"0.6379511",
"0.62997353",
"0.584748",
"0.5842891",
"0.582485",
"0.58026445",
"0.5783726",
"0.5781644",
"0.57143646",
"0.57055247",
"0.56646055",
"0.5542422",
"0.5537011",
"0.55041987",
"0.549626... | 0.83301175 | 0 |
accessor that returns the valued of maxSpeed | public int getMaxSpeed() {
return this.maxSpeed;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public double getMaxSpeedValue() {\n return maxSpeedValue;\n }",
"public double getMaxSpeed() {\r\n return maxSpeed;\r\n }",
"public int getMaxSpeed() {\n return MaxSpeed;\n }",
"public float maxSpeed();",
"@Override\n\tpublic int getMaxSpeed() {\n\t\treturn super.getMaxSpeed(... | [
"0.8916654",
"0.8882499",
"0.8705058",
"0.8700611",
"0.8515522",
"0.79842514",
"0.7810586",
"0.77812093",
"0.7725974",
"0.77124524",
"0.76738244",
"0.7660994",
"0.7593185",
"0.7544724",
"0.7420695",
"0.74179506",
"0.7388442",
"0.73855233",
"0.7349628",
"0.72871745",
"0.727531... | 0.8578952 | 4 |
mutator that assign the passed value to maxSpeed of the object | public void setMaxSpeed(int maxSpeed) {
this.maxSpeed = maxSpeed;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setMaxSpeed(double value) {\n super.setMaxSpeed(value);\n }",
"public void setMaxSpeed() {\n\t\tspeed = MAX_SPEED;\n\t}",
"public void setMaxSpeed(double maxSpeed) {\r\n this.maxSpeed = maxSpeed;\r\n }",
"public void setMaxSpeed(double speed){\n\t\tthis.speed = speed;\n\t}",
... | [
"0.75662833",
"0.7428664",
"0.7286098",
"0.724992",
"0.72134984",
"0.71310747",
"0.70583093",
"0.70434475",
"0.7012523",
"0.6916414",
"0.691075",
"0.68107593",
"0.68086195",
"0.67948264",
"0.6756717",
"0.6728462",
"0.6720276",
"0.6692656",
"0.6682052",
"0.6552171",
"0.6548959... | 0.69962317 | 9 |
method that displays the information of the tram | public String toString() {
return "This Tram has " + numOfStops + " stops, and costs " + ticketPrice + "$. Its maximum speed is "
+ maxSpeed + "km/h, route number is " + routeNum + ", line name is " + lineName
+ ". it has been operated " + beginOperationYear + " year(s), and driver(s) name is " + driverName;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String display(){\n return \"\\tId: \" + id + \"\\n\" +\n \"\\tName: \" + name + \"\\n\" +\n \"\\tDescription: \" + description + \"\\n\" +\n \"\\tTeacher(s): \" + teacherString() + \"\\n\";\n }",
"public void getInfo() {\n System.out.println(\"Con... | [
"0.6997976",
"0.69049275",
"0.67714864",
"0.674224",
"0.6640853",
"0.65835",
"0.65050715",
"0.6491159",
"0.64636165",
"0.6460129",
"0.6459616",
"0.6449159",
"0.64254785",
"0.6370098",
"0.63544476",
"0.6340925",
"0.6318531",
"0.6282921",
"0.627575",
"0.6270599",
"0.6267626",
... | 0.5979012 | 67 |
method that returns false if the passed object is null, belongs to the different class, or has different value of each attribute with compared object; otherwise, return true | public boolean equals(Tram t) {
// if passed object is null, return false
if (t == null)
return false;
// if the classes of passed and compared objects are different, return false
else if (this.getClass() != t.getClass())
return false;
// if all the attributes of passed and compared objects are equal, return true;
// otherwise, return false
else
return (this.ticketPrice == t.ticketPrice && this.numOfStops == t.numOfStops && this.routeNum == t.routeNum
&& this.beginOperationYear == t.beginOperationYear && this.lineName.equals(t.lineName)
&& this.driverName.equals(t.driverName) && this.maxSpeed == t.maxSpeed);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private boolean haveTwoObjsSameFields(Class classObjects, Object obj1, Object obj2, ArrayList<String> fieldsToExcludeFromCompare) {\n log.info(\"TEST: comparing two objects of class \"+classObjects.getName());\n if (obj1.getClass() != obj2.getClass()) {\n log.error(\"TEST: The two objects... | [
"0.6947774",
"0.6547758",
"0.64305013",
"0.636104",
"0.6303793",
"0.629958",
"0.6267916",
"0.619093",
"0.6181611",
"0.61694163",
"0.6154574",
"0.61461735",
"0.61461735",
"0.61461735",
"0.6076985",
"0.6070948",
"0.6044673",
"0.60397357",
"0.60084766",
"0.5999675",
"0.59902203"... | 0.0 | -1 |
Returns whether the state of this square is known. | public boolean isStateKnown(){
return (state != null);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"boolean hasState();",
"boolean hasState();",
"boolean hasState();",
"boolean hasState();",
"boolean hasState();",
"boolean hasState();",
"boolean hasState();",
"boolean hasState();",
"public boolean isStateKnown() {\r\n\t\treturn stateKnown;\r\n\t}",
"boolean hasHasState();",
"public boolean is... | [
"0.74670386",
"0.74670386",
"0.74670386",
"0.74670386",
"0.74670386",
"0.74670386",
"0.74670386",
"0.74670386",
"0.7244747",
"0.7174101",
"0.6979253",
"0.6964453",
"0.6819146",
"0.6743703",
"0.6739099",
"0.6738671",
"0.67386186",
"0.6736755",
"0.67272156",
"0.67272156",
"0.67... | 0.77520394 | 0 |
get bounds for image crop | public void handle(ActionEvent e) {
Bounds selectionBounds = rubberBandSelection.getBounds();
// show bounds info
System.out.println( "Selected area: " + selectionBounds);
// crop the image
crop( selectionBounds);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"Rectangle getBounds();",
"public float[] getBounds() {\r\n\t\tfloat[] bounds = {x_ - width_/ 2, x_ + width_ / 2, y_ - height_ / 2, y_ + height_ / 2};\r\n\t\treturn bounds;\r\n\t}",
"@Override\n\tpublic Rectangle getBound() {\n\t\trectBound.setX(posX+20);\n\t\trectBound.setY(Y_LAND - image.getHeight() +10);\n\t... | [
"0.74206024",
"0.73122835",
"0.72589976",
"0.7247018",
"0.7232454",
"0.7232454",
"0.7165456",
"0.7070046",
"0.703719",
"0.703719",
"0.703719",
"0.69726855",
"0.6877558",
"0.6779989",
"0.67295593",
"0.67266786",
"0.67079604",
"0.6701075",
"0.66991866",
"0.668742",
"0.66831",
... | 0.0 | -1 |
Created by kaungkhantsoe on 20191021. | public interface MainView extends BaseView{
void addMoreMoviesToTheList(List<MovieInfoModel> movieInfoModelList);
void showMovieList(List<MovieInfoModel> movieInfoModelList);
void resetPageNumberToDefault();
void showNoMovieInfo();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void perish() {\n \n }",
"private stendhal() {\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n public int describeContents() { return 0; }",
"@Override\n public void init() {\n\n }",
"@Override\n void init() {\n }",
"@Override\n\tpublic void ... | [
"0.581478",
"0.56414354",
"0.5353245",
"0.53514624",
"0.53427213",
"0.5331714",
"0.5329771",
"0.5322026",
"0.5322026",
"0.5314242",
"0.5314242",
"0.5314242",
"0.5314242",
"0.5314242",
"0.5314242",
"0.5299661",
"0.529439",
"0.5291236",
"0.5287777",
"0.528225",
"0.52363944",
... | 0.0 | -1 |
Given a string, print out true if the number of appearances of "java" anywhere in the string is equal to the number of appearances of "python" anywhere in the string (case sensitive). | public static void main(String[] args) {
String str = "What's the difference between java, javascript and python?";
int countJava = 0;
int countPython = 0;
String str1 = "java";
String str2 = "python";
for(int i=0; i<str.length()-3; i++) {
if(str.substring(i, i+4).equals(str1)) {
countJava++;
}
}
for(int i=0; i<str.length()-5; i++) {
if(str.substring(i, i+6).equals(str2)) {
countPython++;
}
}
if(countJava == countPython) {
System.out.println(true);
}else {
System.out.println(false);
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static void main(String[] args) {\n\t\tScanner scan= new Scanner(System.in);\n\t String word = scan.next();\n\t int counter=0;\n\t for(int i=0;i<word.length()-3;i++) {\n\t \tif((word.substring(i,i+4)).equals(\"java\")) {\n\t \t\tcounter++;\n\t \t\n\t \t}\n\t }\n\t System.out.print... | [
"0.6810645",
"0.6708115",
"0.63870543",
"0.62852365",
"0.6260329",
"0.61213624",
"0.6096734",
"0.60659236",
"0.60524267",
"0.6045358",
"0.59413457",
"0.5938924",
"0.5917905",
"0.5916472",
"0.59107894",
"0.5880193",
"0.5872531",
"0.5838342",
"0.58317274",
"0.5817038",
"0.58112... | 0.6717508 | 1 |
Returns 0 for player 0, 1 for player 1. | @Override
public int getNextPlayer() {
//TODO Implement this method
if(isPlayerOne){
return 0;
}else {
return 1;
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"int otherPlayer(int player) {\n switch (player) {\n case 0: return 1;\n case 1: return 0;\n default: return 0;\n }\n }",
"private int otherPlayer() {\n return (currentPlayer == 1 ? 2 : 1);\n }",
"public int getMyPlayerNumber() {\n if (gameStatu... | [
"0.77637607",
"0.7680267",
"0.7475684",
"0.74344903",
"0.7210675",
"0.710411",
"0.7036653",
"0.70245636",
"0.70021796",
"0.69646585",
"0.6932276",
"0.68924755",
"0.6889167",
"0.6861587",
"0.68583065",
"0.68553865",
"0.6845035",
"0.68172735",
"0.679814",
"0.67967176",
"0.67661... | 0.7355135 | 4 |
Attempts to let the current player play at the given coordinates. It the attempt is successful the current player has ended his turn and it is the next players turn. | @Override
public boolean play(int col, int row) {
//TODO Implement this method
String colRowName = col + " " + row;
System.out.println(colRowName);
for (String playName : plays) {
System.out.println(playName);
if (playName == colRowName) {
System.out.println("false");
return false;
}
}
if(plays[playCounter] == "") {
plays[playCounter] = col + " " + row;
playCounter++;
// System.out.println("thing in array[playcounter]: " + plays[playCounter - 1]);
// System.out.println("playcounter: " + (playCounter - 1));
System.out.println("true");
return true;
}else
System.out.println("should not happen");
return true;
/**if(plays[playCounter] == null){
plays[playCounter] = col + " " + row;
playCounter++;
System.out.println(plays[playCounter - 1]);
System.out.println(playCounter);
return true;
}else{
System.out.println("fuck you");
return false;
}*/
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void tryMove() {\n if(!currentPlayer.getHasPlayed()){\n if (!currentPlayer.isEmployed()) {\n String destStr = chooseNeighbor();\n\n currentPlayer.moveTo(destStr, getBoardSet(destStr));\n if(currentPlayer.getLocation().getFlipStage() == 0){\n ... | [
"0.6710686",
"0.6497425",
"0.6439507",
"0.62738293",
"0.6238727",
"0.6196056",
"0.61596954",
"0.59810394",
"0.5962206",
"0.59542584",
"0.5918569",
"0.5912851",
"0.58714193",
"0.5853555",
"0.5823851",
"0.58165383",
"0.5816037",
"0.58078676",
"0.5794255",
"0.5786015",
"0.574493... | 0.0 | -1 |
Tells us if the game has ended either by draw or by meeting the winning condition. | @Override
public boolean isGameOver() {
//TODO Implement this method
return false;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean hasGameEnded() {\n return winner != 0;\n }",
"private void checkForGameEnd() {\n\t\tint checkWin = controller.checkForWinner();\n\t\tif(playerType == null && checkWin == 1 || (playerType != null && playerType == checkWin)) {\n\t\t\tgameFinished = true;\n\t\t\tAlert alert = new Alert(Aler... | [
"0.7510846",
"0.73661065",
"0.7315408",
"0.7264597",
"0.7236977",
"0.71584535",
"0.7145723",
"0.7137535",
"0.7059414",
"0.70535433",
"0.7009411",
"0.6968599",
"0.6948207",
"0.69333005",
"0.69108516",
"0.69076",
"0.68686277",
"0.6864248",
"0.6857599",
"0.6829928",
"0.68287927"... | 0.0 | -1 |
Gets the id of the winner, 1 if its a draw. | @Override
public int getWinner() {
//TODO Implement this method
return -1;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int getWinnerId() {\n\t\treturn winnerId;\n\t}",
"public int whoWin(){\r\n int winner = -1;\r\n \r\n int highest = 0;\r\n \r\n for(Player player : discWorld.getPlayer_HASH().values()){\r\n if(getPlayerPoints(player) > highest){\r\n highest = get... | [
"0.76165724",
"0.685897",
"0.6797527",
"0.6784338",
"0.67268187",
"0.6642294",
"0.65362495",
"0.6534982",
"0.6505388",
"0.6410233",
"0.6354707",
"0.63252306",
"0.6268397",
"0.6220678",
"0.6218307",
"0.6199611",
"0.6156898",
"0.6156898",
"0.6129764",
"0.6125586",
"0.61163116",... | 0.60685533 | 22 |
Resets the game to a new game state. | @Override
public void newGame() {
//TODO Implement this method
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void reset(){\n newGame();\n removeAll();\n repaint();\n ended = false;\n }",
"public void resetGame() {\n\t\thandler.setDown(false);\n\t\thandler.setLeft(false);\n\t\thandler.setRight(false);\n\t\thandler.setUp(false);\n\n\t\tclearOnce = 0;\n\t\thp = 100;\n\t\tfromAnotherScreen = tr... | [
"0.800075",
"0.7989844",
"0.78972507",
"0.78008246",
"0.77662253",
"0.7758002",
"0.7747621",
"0.7696325",
"0.7685634",
"0.76712614",
"0.75989294",
"0.75874263",
"0.7523762",
"0.751398",
"0.7470635",
"0.7449978",
"0.74462104",
"0.744137",
"0.74286956",
"0.7403874",
"0.740171",... | 0.0 | -1 |
Getter for all identification files loaded. | public ArrayList<String> getIdentificationFiles() {
return identificationFiles;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public List<String> getOIDataFileIds() {\n return Identifiable.getIds(getOIDataFileList());\n }",
"public ArrayList<String> loadToRead() {\n\n\t\tSAVE_FILE = TO_READ_FILE;\n\t\tArrayList<String> list = new ArrayList<String>();\n\t\tlist = loadIds();\n\t\treturn list;\n\t}",
"public HashMap<URL, HashS... | [
"0.6610204",
"0.6350268",
"0.6273482",
"0.6218771",
"0.61771953",
"0.60635734",
"0.5996832",
"0.58394605",
"0.5831916",
"0.5831168",
"0.58131576",
"0.5759884",
"0.57269794",
"0.5698591",
"0.56888",
"0.56816846",
"0.56796473",
"0.5651296",
"0.5567104",
"0.55667186",
"0.5544492... | 0.76098955 | 0 |
Adds an identification file to the list of loaded identification files. | public void addIdentificationFiles(File identificationFile) {
String path = identificationFile.getAbsolutePath();
identificationFiles.add(path);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public ArrayList<String> getIdentificationFiles() {\n \n return identificationFiles;\n\n }",
"public void setIdentificationAlgorithmsForFile(String idFileName, HashMap<String, ArrayList<String>> fileIdentificationAlgorithms) {\n \n identificationAlgorithms.put(idFileName, fileIdent... | [
"0.619554",
"0.612971",
"0.61048615",
"0.5953861",
"0.5946374",
"0.5871537",
"0.5865043",
"0.5803299",
"0.5758909",
"0.5692371",
"0.5692128",
"0.56486267",
"0.56397736",
"0.56315136",
"0.55199224",
"0.54849327",
"0.5418789",
"0.53751934",
"0.53344595",
"0.53113216",
"0.527906... | 0.7918408 | 0 |
Attaches a spectrum file to the project. | public void addSpectrumFilePath(String spectrumFilePath) {
String fileName = IoUtil.getFileName(spectrumFilePath);
spectrumFiles.put(IoUtil.removeExtension(fileName), spectrumFilePath);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setExternalSpectrumFile(String filename);",
"public void setSpectrumFileName(String aFileName) {\n this.iSpectrumFileName = aFileName;\n }",
"public void addSpectrum(LibrarySpectrum spectrum)\n\t{\n\t\tlibrarySpectra.add(spectrum);\n\t\tif (spectrum.precursor > maxMass) maxMass = spectru... | [
"0.6654389",
"0.59032995",
"0.57106656",
"0.5631358",
"0.5611664",
"0.560678",
"0.5157313",
"0.5107027",
"0.5094437",
"0.502542",
"0.49241048",
"0.48731196",
"0.4803362",
"0.4798558",
"0.47902122",
"0.47840598",
"0.47756743",
"0.47700924",
"0.47536844",
"0.47517994",
"0.47281... | 0.64449847 | 1 |
Returns the name of the input spectrum files as a set. | public Set<String> getSpectrumFileNames() {
return spectrumFiles.keySet();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getSpectrumFileName() {\n return iSpectrumFileName;\n }",
"public String[] getFileName();",
"public Set<String> getFileNames() {\n return nameMap.keySet();\n }",
"public String[] GetAllFileNames() {\n \tFile dir = new File(fileStorageLocation.toString());\n \tString[] ... | [
"0.6198809",
"0.61259186",
"0.5910289",
"0.57189465",
"0.56457525",
"0.56421906",
"0.5640685",
"0.5603035",
"0.5578023",
"0.5482126",
"0.54378736",
"0.54366076",
"0.54320365",
"0.54288095",
"0.54257005",
"0.54106665",
"0.53977317",
"0.53470254",
"0.53329825",
"0.52944493",
"0... | 0.7781763 | 0 |
Returns the path to the file corresponding to the given name. Null if not found. | public String getSpectrumFilePath(String fileName) {
return spectrumFiles.get(fileName);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getPath(String name) {\n int count = 0;\n File file = files.get(count);\n while(!file.getName().equals(name)) {\n if(count == files.size()) {\n return null;\n }\n file = files.get(++count);\n }\n return file.getAbsolut... | [
"0.7070111",
"0.6678588",
"0.6502601",
"0.63894403",
"0.6332472",
"0.627321",
"0.62406117",
"0.6135598",
"0.6134054",
"0.61336964",
"0.61130923",
"0.61130923",
"0.6105182",
"0.6032479",
"0.6032479",
"0.6032479",
"0.6032479",
"0.6032479",
"0.6032479",
"0.6032479",
"0.6032479",... | 0.57586384 | 40 |
Set the path to the FASTA file. | public void setFastaFile(File fastaFile) {
fastaFilePath = fastaFile.getAbsolutePath();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public completeFile_args setPath(String path) {\n this.path = path;\n return this;\n }",
"void setPath(String path);",
"public void set(String path) throws FileNotFoundException {\n counterSeveralLines = linesAfter;\n arrayPreviousLines = new String[prevSize];\n currentPath = ... | [
"0.6521604",
"0.6508769",
"0.6391033",
"0.63811463",
"0.63179153",
"0.63012195",
"0.62398475",
"0.61987406",
"0.6162184",
"0.611573",
"0.6028675",
"0.6027629",
"0.5882075",
"0.58463484",
"0.58427566",
"0.58178097",
"0.57991594",
"0.57897866",
"0.5767513",
"0.5754781",
"0.5741... | 0.71135664 | 0 |
Returns the path to the FASTA file. | public String getFastaFile() {
return fastaFilePath;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"String getFilepath();",
"private File findIndex(File fastaFile) {\n\t\tString presumedPath = fastaFile.getAbsolutePath() + \".fai\";\n\t\tFile index = new File(presumedPath);\n\t\treturn index;\n\t}",
"java.lang.String getFilePath();",
"public static String sActivePath() \r\n\t{\r\n\t\tString activePath = nu... | [
"0.63742703",
"0.627384",
"0.60890585",
"0.60036093",
"0.58973",
"0.58544344",
"0.5825677",
"0.57282805",
"0.57204807",
"0.57139623",
"0.5700583",
"0.56991524",
"0.56914467",
"0.5674359",
"0.566905",
"0.5658976",
"0.5645894",
"0.5633977",
"0.562636",
"0.562636",
"0.562636",
... | 0.7707134 | 0 |
Getter for the creation date of the project. | public Date getCreationDate() {
return creationDate;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@SimpleProperty(description = \"iSENSE Project Creation Date\", \n category = PropertyCategory.BEHAVIOR)\n public String ProjectDateCreated() {\n if(this.project == null || this.fields == null) {\n Log.e(\"iSENSE\", \"Couldn't get project information!\");\n return \"DNE\";\n }\n re... | [
"0.8632819",
"0.79138064",
"0.791046",
"0.78783023",
"0.787589",
"0.7868469",
"0.78663445",
"0.78621924",
"0.7843362",
"0.78383887",
"0.78377867",
"0.7835461",
"0.7835461",
"0.7815311",
"0.781345",
"0.7804998",
"0.77995473",
"0.77974993",
"0.77938336",
"0.7785517",
"0.7779524... | 0.77990615 | 17 |
Setter the creation date of the project. | public void setCreationDate(Date creationDate) {
this.creationDate = creationDate;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void setCreateDate(final Date creationDate);",
"void setCreateDate(Date date);",
"public void setCreationDate(Date creationDate);",
"public void setCreationDate(Date creationDate) {\n }",
"void setCreatedDate(Date createdDate);",
"void setCreationDate(Date val)\n throws RemoteException;",
... | [
"0.79113513",
"0.78356934",
"0.77862966",
"0.7632572",
"0.7544913",
"0.75414723",
"0.75052786",
"0.75052786",
"0.75052786",
"0.74372196",
"0.7343782",
"0.7323144",
"0.7301704",
"0.7301483",
"0.7301483",
"0.7295609",
"0.72870946",
"0.72711134",
"0.7255231",
"0.7237148",
"0.712... | 0.719007 | 20 |
Returns the PeptideShaker version used to create the project. | public String getPeptideShakerVersion() {
return peptideShakerVersion;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"String buildVersion();",
"private static String getProjectVersion() {\n\t\tString version;\n\n\t\ttry {\n\t\t\tfinal Properties pomProperties = new Properties();\n\t\t\tpomProperties.load(Main.class.getResourceAsStream(\n \"/META-INF/MediaPlayer/pom.properties\"));\n\t\t\tversion =... | [
"0.6414645",
"0.6230606",
"0.6147618",
"0.6132772",
"0.611893",
"0.61174345",
"0.61174345",
"0.60614365",
"0.6007953",
"0.5961736",
"0.59606004",
"0.5959792",
"0.5929598",
"0.59098786",
"0.5907688",
"0.5907688",
"0.59012157",
"0.58990467",
"0.58990467",
"0.58990467",
"0.58990... | 0.81597203 | 0 |
Sets the PeptideShaker version used to create the project. | public void setPeptideShakerVersion(String peptideShakerVersion) {
this.peptideShakerVersion = peptideShakerVersion;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getPeptideShakerVersion() {\n\n \n return peptideShakerVersion;\n\n }",
"void setVersion(long version);",
"void setVersion(String version);",
"void setVersion(String version);",
"public void setVersion(String version);",
"public void setVersion(long version) {\n this... | [
"0.7205814",
"0.6569952",
"0.6368661",
"0.6368661",
"0.62272274",
"0.6163657",
"0.6152915",
"0.607495",
"0.60311425",
"0.6009197",
"0.5971784",
"0.5971784",
"0.59540635",
"0.5886648",
"0.5879109",
"0.5879109",
"0.58784044",
"0.5864595",
"0.5851738",
"0.5828194",
"0.5824139",
... | 0.74286836 | 0 |
Returns the report created during the loading of the project. | public String getReport() {
return report == null ? "(report not saved)" : report;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"Report createReport();",
"public Report getReport();",
"public String getReport() {\n return reportDoc.toString();\n }",
"public String getReportPath();",
"public static ExtentReports getReportInstance() {\n\t\tif (report == null) {\n\n\t\t\tString reportName = \"HTMLreport_\" + getTimeStamp() + ... | [
"0.709628",
"0.708724",
"0.6910097",
"0.6800419",
"0.6635842",
"0.662693",
"0.6569332",
"0.6459475",
"0.6389073",
"0.6388363",
"0.6312543",
"0.63038194",
"0.6280827",
"0.6252357",
"0.61808497",
"0.6156931",
"0.6144772",
"0.6088401",
"0.6084098",
"0.6068468",
"0.6067911",
"0... | 0.67218786 | 4 |
Set the report created during the loading of the project. | public void setReport(String report) {
this.report = report;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setReport(Report report);",
"public void setReportFile(File file) {\n reportFile = file;\n }",
"@Parameters({ \"report_name\" })\n\t@BeforeSuite\n\tpublic void setUp() {\n\t\tString reportName = \"Report-\" + getCurrentDateNTime(\"yyyy-MM-dd-HH-mm-ss\");\n\t\t//String reportFileName = rep... | [
"0.75145113",
"0.6783918",
"0.6694577",
"0.6601518",
"0.6595624",
"0.65241194",
"0.6511009",
"0.64416134",
"0.6355246",
"0.6338111",
"0.63370204",
"0.6316031",
"0.6300476",
"0.62696373",
"0.62556916",
"0.6237466",
"0.6185988",
"0.61318004",
"0.606046",
"0.6033255",
"0.601618"... | 0.69137526 | 1 |
Returns the PRIDE experiment title. | public String getPrideExperimentTitle() {
return prideExperimentTitle;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getPrideExperimentProjectTitle() {\n\n \n return prideExperimentProjectTitle;\n\n }",
"public String getExperimentTitle() throws InvalidFormatException;",
"public String getTitle() {\n \t\treturn getWebDriver().getTitle();\n \t}",
"String title();",
"String title();",
"@Ove... | [
"0.80503315",
"0.7575427",
"0.7437008",
"0.72737586",
"0.72737586",
"0.7263315",
"0.7248006",
"0.722462",
"0.7205229",
"0.7195803",
"0.7165104",
"0.71477413",
"0.7147463",
"0.70620704",
"0.7028053",
"0.70271343",
"0.7014274",
"0.6983453",
"0.6970172",
"0.696914",
"0.69530475"... | 0.80962014 | 0 |
Sets the PRIDE experiment title. | public void setPrideExperimentTitle(String prideExperimentTitle) {
this.prideExperimentTitle = prideExperimentTitle;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setTitle(String title) {\r\n this.title = title;\r\n }",
"public void setTitle(String title) {\r\n this.title = title;\r\n }",
"public void setTitle(String title) {\n this.title = title;\n }",
"public void setTitle(String title) {\n this.title = title;\n }",
"public void setTitl... | [
"0.78595215",
"0.78595215",
"0.7836929",
"0.7836929",
"0.7836929",
"0.7836929",
"0.783147",
"0.783147",
"0.78193855",
"0.78193855",
"0.78193855",
"0.78193855",
"0.78193855",
"0.78110677",
"0.78110677",
"0.78110677",
"0.78110677",
"0.78110677",
"0.78110677",
"0.78110677",
"0.7... | 0.7468864 | 86 |
Returns the PRIDE experiment label. | public String getPrideExperimentLabel() {
return prideExperimentLabel;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getExperimentShortLabel();",
"@DISPID(74)\r\n\t// = 0x4a. The runtime will prefer the VTID if present\r\n\t@VTID(72)\r\n\tjava.lang.String label();",
"@DISPID(32)\r\n\t// = 0x20. The runtime will prefer the VTID if present\r\n\t@VTID(37)\r\n\tjava.lang.String label();",
"public CharSequence get... | [
"0.7067045",
"0.6920713",
"0.6809893",
"0.6739693",
"0.6645444",
"0.6627565",
"0.6616108",
"0.66067094",
"0.6601739",
"0.6582581",
"0.6582581",
"0.6582581",
"0.6581335",
"0.65765244",
"0.6574256",
"0.6562447",
"0.6562447",
"0.6562447",
"0.6556522",
"0.6556522",
"0.6553866",
... | 0.7744885 | 0 |
Sets the PRIDE experiment label. | public void setPrideExperimentLabel(String prideExperimentLabel) {
this.prideExperimentLabel = prideExperimentLabel;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void setLabel(String label);",
"public void setLabel( String label ) {\r\n lbl = label;\r\n }",
"void setLabel(Label label);",
"public void setLabel(String label) {\n this.label = label;\n }",
"protected void setLabel(final String label) {\n\t\tmyLabel = label;\n\t}",
"public void s... | [
"0.72597915",
"0.69961435",
"0.69190156",
"0.6838493",
"0.6833626",
"0.6821202",
"0.67745745",
"0.67530364",
"0.6748075",
"0.67168117",
"0.6711299",
"0.6709319",
"0.6639364",
"0.6631878",
"0.66125345",
"0.65381",
"0.65381",
"0.6482833",
"0.6476637",
"0.64492536",
"0.6415237",... | 0.6968144 | 2 |
Returns the PRIDE experiment project title. | public String getPrideExperimentProjectTitle() {
return prideExperimentProjectTitle;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getProjectTitle() {\n return getProperty(Property.PROJECT_TITLE);\n }",
"public String getProjectTitle()\r\n {\r\n return (m_projectTitle);\r\n }",
"public String getProjectTitle() {\n\n\t\tif (projectTitle != null)\n\t\t\treturn ProteomeXchangeFilev2_1.MTD + TAB + \"project_title\" ... | [
"0.8430503",
"0.82597065",
"0.80850154",
"0.7402075",
"0.7285305",
"0.72817254",
"0.7270338",
"0.72088265",
"0.72084105",
"0.71274966",
"0.7109969",
"0.7067831",
"0.7033103",
"0.7027708",
"0.70265496",
"0.70265496",
"0.6961959",
"0.6951865",
"0.6949216",
"0.6944546",
"0.69381... | 0.8511436 | 0 |
Set the PRIDE experiment project title. | public void setPrideExperimentProjectTitle(String prideExperimentProjectTitle) {
this.prideExperimentProjectTitle = prideExperimentProjectTitle;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setProjectTitle(String projectTitle)\r\n {\r\n m_projectTitle = projectTitle;\r\n }",
"public void resetProjectTitle()\n\t{\n\t\tif(currentProject.length() == 0)\n\t\t{\n\t\t\tprojectTitle.setTitle(\"Project Properties\");\n\t\t}\n\t\telse\n\t\t{\n\t\t\tprojectTitle.setTitle(currentProject.t... | [
"0.77187896",
"0.7672672",
"0.749469",
"0.749469",
"0.74625826",
"0.74625826",
"0.74625826",
"0.74625826",
"0.74594283",
"0.74594283",
"0.74594283",
"0.74594283",
"0.74594283",
"0.7455154",
"0.7455154",
"0.7426269",
"0.74256015",
"0.74256015",
"0.74256015",
"0.74256015",
"0.7... | 0.7546716 | 2 |
Returns the PRIDE experiment project description. | public String getPrideExperimentDescription() {
return prideExperimentDescription;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getProjectDescribe() {\n return projectDescribe;\n }",
"public String getProjectDescription() {\n\t\tif (projectShortDescription != null)\n\t\t\treturn ProteomeXchangeFilev2_1.MTD + TAB + \"project_description\" + TAB + projectShortDescription;\n\t\treturn null;\n\t}",
"static String ex... | [
"0.7988074",
"0.78736806",
"0.737328",
"0.7240242",
"0.721751",
"0.6884686",
"0.6884686",
"0.6884686",
"0.6884686",
"0.6884686",
"0.6884686",
"0.6884686",
"0.6884686",
"0.6884686",
"0.6884686",
"0.6884686",
"0.6884686",
"0.6884686",
"0.6884686",
"0.6884686",
"0.6884686",
"0... | 0.72204465 | 4 |
Set the PRIDE experiment project description. | public void setPrideExperimentDescription(String prideExperimentDescription) {
this.prideExperimentDescription = prideExperimentDescription;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public ProjectDescription() {\n this.description = Project.PROJECT_DEFAULT_DESCRIPTION;\n }",
"public ProjectDescription(String desc) {\n requireNonNull(desc);\n checkArgument(isValidDescription(desc), MESSAGE_CONSTRAINTS);\n this.description = desc;\n }",
"public void setDesc... | [
"0.7236881",
"0.7116475",
"0.7029501",
"0.69657683",
"0.69373804",
"0.69232374",
"0.6889599",
"0.68866444",
"0.68854445",
"0.6879245",
"0.6872748",
"0.6857367",
"0.6857367",
"0.6857367",
"0.6857367",
"0.6857367",
"0.68419987",
"0.6825891",
"0.6824312",
"0.6824312",
"0.6824312... | 0.0 | -1 |
Returns the PRIDE reference group. | public ReferenceGroup getPrideReferenceGroup() {
return prideReferenceGroup;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getGroup ()\n {\n return group;\n }",
"public String getGroup ()\n {\n return group;\n }",
"public String getGroup() {\n return group;\n }",
"public String getGroup() {\n return group;\n }",
"public String getGroup() {\n\t\... | [
"0.7211628",
"0.7211628",
"0.7134593",
"0.7134593",
"0.70806795",
"0.7044946",
"0.70263654",
"0.7008195",
"0.682945",
"0.67953247",
"0.67953247",
"0.67953247",
"0.67953247",
"0.67953247",
"0.67953247",
"0.67953247",
"0.67953247",
"0.67953247",
"0.67953247",
"0.67953247",
"0.6... | 0.77424 | 0 |
Set the PRIDE reference group. | public void setPrideReferenceGroup(ReferenceGroup prideReferenceGroup) {
this.prideReferenceGroup = prideReferenceGroup;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setGroup(final Group group) {\n this.group = group;\n }",
"public ReferenceGroup getPrideReferenceGroup() {\n\n \n return prideReferenceGroup;\n\n }",
"public ShapeGroupShape(drawit.shapegroups1.ShapeGroup group) {\n this.referencedShapeGroup = group;\n }",
"p... | [
"0.64428836",
"0.6354049",
"0.62497956",
"0.6203296",
"0.61744523",
"0.6161682",
"0.61007714",
"0.6052606",
"0.60351646",
"0.6027746",
"0.6012524",
"0.59881157",
"0.5778148",
"0.5729866",
"0.5729375",
"0.5726392",
"0.5697665",
"0.5669871",
"0.56483865",
"0.5627875",
"0.56276"... | 0.6861507 | 0 |
Returns the PRIDE contact group. | public ContactGroup getPrideContactGroup() {
return prideContactGroup;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getGroup ()\n {\n return group;\n }",
"public String getGroup ()\n {\n return group;\n }",
"public String getGroup() {\n return group;\n }",
"public String getGroup() {\n return group;\n }",
"public int getGroup() {\n ... | [
"0.70897883",
"0.70897883",
"0.69985354",
"0.69985354",
"0.6956299",
"0.6932239",
"0.6927253",
"0.6875932",
"0.6875932",
"0.6875932",
"0.6875932",
"0.6875932",
"0.6875932",
"0.6875932",
"0.6875932",
"0.6875932",
"0.6875932",
"0.6875932",
"0.6875932",
"0.6875932",
"0.6875932",... | 0.77077436 | 0 |
Set the PRIDE contact group. | public void setPrideContactGroup(ContactGroup prideContactGroup) {
this.prideContactGroup = prideContactGroup;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setContactsGroup()\n\t{\n\t\tUtility.ThreadSleep(1000);\n\t\tList<Long> group = new ArrayList<Long>(Arrays.asList(new Long[] {1l,2l})); //with DB Call\n\t\tthis.groupIds = group;\n\t\tLong contactGroupId = groupIds.get(0);\n\t\tSystem.out.println(\".\");\n\t}",
"public void setGroup(final Group grou... | [
"0.6951767",
"0.6705107",
"0.65557176",
"0.6203126",
"0.6195921",
"0.61822397",
"0.6137969",
"0.61184895",
"0.6111427",
"0.5990246",
"0.59701884",
"0.5964624",
"0.5961406",
"0.5898678",
"0.58891153",
"0.5867889",
"0.5832414",
"0.58261836",
"0.57981795",
"0.57654375",
"0.57514... | 0.6474382 | 3 |
Returns the PRIDE sample. | public Sample getPrideSample() {
return prideSample;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public final Object getSample()\n { return(this.sample); }",
"double sample()\n\t{\n\t\treturn rb.peek();\n\t}",
"public SampleMode getSampleMode();",
"public Item sample()\n {\n checkNotEmpty();\n\n return items[nextIndex()];\n }",
"public SampleResult sample() {\n SampleResult re... | [
"0.73534465",
"0.6562489",
"0.646424",
"0.6384115",
"0.6373133",
"0.6369974",
"0.63273644",
"0.63172203",
"0.6307693",
"0.6300003",
"0.62827235",
"0.6226286",
"0.6176582",
"0.6115783",
"0.6097708",
"0.60768914",
"0.605629",
"0.6042315",
"0.6023836",
"0.60108197",
"0.60094357"... | 0.7380219 | 0 |
Set the PRIDE sample. | public void setPrideSample(Sample prideSample) {
this.prideSample = prideSample;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setSampleMode( SampleMode sampleMode );",
"public final void setSample(Object obj)\n { /* setSample */\n this.sample= obj; \n }",
"public void setSamples(int samples){ \n this.samples = samples; \n }",
"void update_sample(int new_sample) {\n\t sample_choice = new_sample;\n\t com... | [
"0.68143487",
"0.6806421",
"0.6405999",
"0.6368546",
"0.6262303",
"0.6026436",
"0.59890604",
"0.5972267",
"0.5963754",
"0.5953481",
"0.5921063",
"0.59067506",
"0.5891376",
"0.58001995",
"0.5764567",
"0.57591885",
"0.57574683",
"0.57018816",
"0.56936383",
"0.56813234",
"0.5668... | 0.7184381 | 0 |
Returns the PRIDE protocol. | public Protocol getPrideProtocol() {
return prideProtocol;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public java.lang.String getProtocol () {\r\n return protocol;\r\n }",
"public int getProtocol() {\n return protocol;\n }",
"public String getProtocol() throws SdpParseException {\n\t\treturn getProto();\n\t}",
"public int getProtocol()\n\t{\n\t\treturn m_iProtocolType;\n\t}",
"public fi... | [
"0.7686414",
"0.76412076",
"0.75894153",
"0.7527837",
"0.7522494",
"0.751111",
"0.749821",
"0.7496708",
"0.74728364",
"0.74642783",
"0.7419498",
"0.741474",
"0.74109936",
"0.74058574",
"0.73990226",
"0.7340205",
"0.73329556",
"0.7332522",
"0.7316143",
"0.73117375",
"0.7267111... | 0.7217914 | 22 |
Set the PRIDE protocol. | public void setPrideProtocol(Protocol prideProtocol) {
this.prideProtocol = prideProtocol;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setProtocolID(int pid) {\n m_ProtocolID = pid;\n // setChanged(true);\n }",
"public void setProtocol(Protocol protocol)\n \t{\n \t\tthis.protocol = protocol;\n \t}",
"public void setProtocol(String protocol) {\n m_Protocol = protocol;\n }",
"public void setProtocol (java.lang... | [
"0.7088932",
"0.70511776",
"0.6975814",
"0.6911894",
"0.6784965",
"0.6700946",
"0.6667455",
"0.6613712",
"0.6584113",
"0.6543618",
"0.65283763",
"0.6362954",
"0.622434",
"0.6158862",
"0.604402",
"0.60055864",
"0.588339",
"0.5861844",
"0.57539135",
"0.5668113",
"0.56620705",
... | 0.6890373 | 4 |
Returns the PRIDE instrument. | public Instrument getPrideInstrument() {
return prideInstrument;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public InstrumentDescription getInstrument();",
"public Instrument getInstrument()\n {\n return instrument;\n }",
"public String getInstrumentType() {\n return instrumentType;\n }",
"public Object getInstrument() {\n\t\treturn null;\r\n\t}",
"protected String getInstrumentName() {\n\... | [
"0.73996896",
"0.7236718",
"0.6895046",
"0.6874321",
"0.6840931",
"0.67123836",
"0.6467379",
"0.6431845",
"0.63267565",
"0.60249025",
"0.57598114",
"0.5625695",
"0.56256163",
"0.56090075",
"0.5578631",
"0.5512254",
"0.5477908",
"0.5452684",
"0.53773147",
"0.5369909",
"0.53221... | 0.73459285 | 1 |
Set the the PRIDE instrument. | public void setPrideInstrument(Instrument prideInstrument) {
this.prideInstrument = prideInstrument;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setSynthInstrument(int synthInstrument) {\n\t\t// no error checking\n\t\tthis.synthInstrument = synthInstrument;\n\t\tsynthChannel.programChange(synthInstrument);\n\t}",
"public void changeInstrument(double instrumentCode) {\n\t\tthis.soundCipher.instrument(instrumentCode);\n\t}",
"private void set... | [
"0.6511923",
"0.6268541",
"0.6261063",
"0.6157551",
"0.6052404",
"0.58649445",
"0.5805777",
"0.5719564",
"0.5630914",
"0.5609339",
"0.56011415",
"0.5514211",
"0.5322271",
"0.5316108",
"0.5280168",
"0.52575725",
"0.52468157",
"0.5209445",
"0.51787513",
"0.51748884",
"0.5130966... | 0.7314181 | 0 |
Returns the PRIDE output folder. | public String getPrideOutputFolder() {
return prideOutputFolder;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static String getOutputDir() {\n outputDir = getProperty(\"outputDir\");\n if (outputDir == null) outputDir = \"./\";\n return outputDir;\n }",
"public String getOutputFolder() {\n return txtOutputFolder().getText();\n }",
"public static String getOutputFolder() {\n\n ... | [
"0.78113663",
"0.7714641",
"0.7463192",
"0.73665124",
"0.7326372",
"0.7314975",
"0.70718765",
"0.7020388",
"0.6952955",
"0.6898355",
"0.6865718",
"0.6845172",
"0.68182456",
"0.68079704",
"0.6804228",
"0.67465746",
"0.66723615",
"0.6583191",
"0.6498807",
"0.64428663",
"0.63502... | 0.7923497 | 0 |
Set the PRIDE output folder. | public void setPrideOutputFolder(String prideOutputFolder) {
this.prideOutputFolder = prideOutputFolder;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void setOutputPath(String outputPath);",
"@Override\n public void setOutputDir(String outputDir) {\n this.outputDir = outputDir;\n }",
"public String getPrideOutputFolder() {\n\n \n return prideOutputFolder;\n\n }",
"public void setOutput(File file){\n outputDir = file;\n ... | [
"0.737025",
"0.71235466",
"0.7102321",
"0.68317735",
"0.6785827",
"0.65945536",
"0.6547816",
"0.65366715",
"0.64932686",
"0.6288932",
"0.62268096",
"0.62130255",
"0.6168967",
"0.6093938",
"0.6051807",
"0.6050736",
"0.5998023",
"0.5970024",
"0.5923402",
"0.58846366",
"0.584960... | 0.701737 | 3 |
Returns the mzIdentML output file. | public String getMzIdentMLOutputFile() {
return mzIdentMLOutputFile;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setMzIdentOutputFile(String mzIdentMLOutputFile) {\n \n this.mzIdentMLOutputFile = mzIdentMLOutputFile;\n\n }",
"public String getOutputFileName() {\n\t\treturn outputFile;\n\t}",
"public String getOutputFile()\r\n {\n return \"\";\r\n }",
"public String getOutputFil... | [
"0.6770301",
"0.547706",
"0.52942073",
"0.5271192",
"0.52553916",
"0.52369106",
"0.52080834",
"0.51785856",
"0.5175547",
"0.5144567",
"0.5135373",
"0.51277345",
"0.50598514",
"0.5041222",
"0.5016928",
"0.50094223",
"0.5007691",
"0.50071007",
"0.50051665",
"0.4994735",
"0.4992... | 0.7651379 | 0 |
Set the mzIdentML output file. | public void setMzIdentOutputFile(String mzIdentMLOutputFile) {
this.mzIdentMLOutputFile = mzIdentMLOutputFile;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getMzIdentMLOutputFile() {\n\n \n return mzIdentMLOutputFile;\n\n }",
"public void setOutputFile(File out) {\n rnaFile = out;\n }",
"public void setOutput(File file){\n outputDir = file;\n }",
"protected void setHMetisOutFile(final String str) {\n\t\tthis.hMeti... | [
"0.66977483",
"0.5855482",
"0.5781324",
"0.57694554",
"0.553446",
"0.54415077",
"0.54268783",
"0.5311184",
"0.53074706",
"0.5145969",
"0.5075003",
"0.49587178",
"0.49395195",
"0.49374574",
"0.49237233",
"0.48981827",
"0.4889603",
"0.48448685",
"0.48422277",
"0.4800993",
"0.47... | 0.78778005 | 0 |
Returns true if the identification algorithms are stored. | public boolean hasIdentificationAlgorithms() {
return identificationAlgorithms != null;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"boolean hasCompleteStore();",
"boolean isSetAlgIdExt();",
"boolean hasMergeStore();",
"public boolean isSetAlgorithm() {\n return this.algorithm != null;\n }",
"boolean hasCreateStore();",
"boolean hasRegistry();",
"boolean hasIdentity();",
"boolean hasCertificates();",
"boolean hasCertificates... | [
"0.6342184",
"0.6269525",
"0.61250174",
"0.6108659",
"0.60764354",
"0.6019814",
"0.5917278",
"0.59106565",
"0.59106565",
"0.58843833",
"0.58700746",
"0.58623827",
"0.5858224",
"0.58262587",
"0.58249605",
"0.5807203",
"0.58058214",
"0.57850474",
"0.5780863",
"0.57653826",
"0.5... | 0.79018205 | 0 |
Returns a list of identification algorithms used based on the identification files of the project. | public ArrayList<Integer> getIdentificationAlgorithms() {
ArrayList<Integer> result = new ArrayList<>();
for (HashMap<String, ArrayList<String>> advocateVersions : identificationAlgorithms.values()) {
for (String advocateName : advocateVersions.keySet()) {
Advocate advocate = Advocate.getAdvocate(advocateName);
if (advocate == null) {
throw new IllegalArgumentException("Identification algorithm " + advocateName + " not recognized.");
}
int advocateId = advocate.getIndex();
if (!result.contains(advocateId)) {
result.add(advocateId);
}
}
}
return result;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public HashMap<String, ArrayList<String>> getIdentificationAlgorithmsForFile(String idFileName) {\n\n \n return identificationAlgorithms == null ? null : identificationAlgorithms.get(idFileName);\n\n }",
"public ArrayList<String> getIdentificationFiles() {\n \n return identificatio... | [
"0.6923609",
"0.5749468",
"0.5653435",
"0.5634782",
"0.5333236",
"0.5313523",
"0.53117174",
"0.52884716",
"0.52834785",
"0.52096444",
"0.5185692",
"0.514564",
"0.5101955",
"0.50931865",
"0.5069711",
"0.5009868",
"0.5009756",
"0.50081116",
"0.4993178",
"0.49684978",
"0.4968080... | 0.67378247 | 1 |
Returns the different identification algorithm versions used in a map: algorithm name > versions. | public HashMap<String, ArrayList<String>> getAlgorithmNameToVersionsMap() {
HashMap<String, ArrayList<String>> algorithmNameToVersionMap = new HashMap<>();
for (HashMap<String, ArrayList<String>> fileMapping : identificationAlgorithms.values()) {
for (String softwareName : fileMapping.keySet()) {
ArrayList<String> newVersions = fileMapping.get(softwareName);
if (newVersions != null && !newVersions.isEmpty()) {
ArrayList<String> currentVersions = algorithmNameToVersionMap.get(softwareName);
if (currentVersions == null) {
currentVersions = new ArrayList<>(newVersions);
algorithmNameToVersionMap.put(softwareName, currentVersions);
} else {
for (String version : newVersions) {
if (!currentVersions.contains(version)) {
currentVersions.add(version);
}
}
}
}
}
}
return algorithmNameToVersionMap;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public ArrayList<Integer> getIdentificationAlgorithms() {\n\n \n ArrayList<Integer> result = new ArrayList<>();\n\n for (HashMap<String, ArrayList<String>> advocateVersions : identificationAlgorithms.values()) {\n\n for (String advocateName : advocateVersions.keySet()) {\n\n ... | [
"0.6712195",
"0.59958035",
"0.5663131",
"0.5653262",
"0.5603544",
"0.558836",
"0.5562057",
"0.54695964",
"0.54447186",
"0.5442487",
"0.54156464",
"0.54116946",
"0.54019177",
"0.53552717",
"0.5327169",
"0.5318039",
"0.53029",
"0.5288741",
"0.5263577",
"0.5256155",
"0.5225222",... | 0.77044094 | 0 |
Returns the identification algorithms used to create the id file in map: algorithm name > algorithm version. | public HashMap<String, ArrayList<String>> getIdentificationAlgorithmsForFile(String idFileName) {
return identificationAlgorithms == null ? null : identificationAlgorithms.get(idFileName);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public ArrayList<Integer> getIdentificationAlgorithms() {\n\n \n ArrayList<Integer> result = new ArrayList<>();\n\n for (HashMap<String, ArrayList<String>> advocateVersions : identificationAlgorithms.values()) {\n\n for (String advocateName : advocateVersions.keySet()) {\n\n ... | [
"0.72114474",
"0.66288847",
"0.6350178",
"0.63292515",
"0.6210355",
"0.60993934",
"0.60537857",
"0.5985052",
"0.58877134",
"0.58231264",
"0.58160657",
"0.5812459",
"0.5790501",
"0.5756519",
"0.5751733",
"0.57382816",
"0.5729191",
"0.5702488",
"0.5696145",
"0.5692031",
"0.5689... | 0.719704 | 1 |
Sets the identification algorithms used to create an identification file. | public void setIdentificationAlgorithmsForFile(String idFileName, HashMap<String, ArrayList<String>> fileIdentificationAlgorithms) {
identificationAlgorithms.put(idFileName, fileIdentificationAlgorithms);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void setAlgIdExt(long algIdExt);",
"public HashMap<String, ArrayList<String>> getIdentificationAlgorithmsForFile(String idFileName) {\n\n \n return identificationAlgorithms == null ? null : identificationAlgorithms.get(idFileName);\n\n }",
"void setAlgIdExtSource(java.lang.String algIdExtSourc... | [
"0.59675074",
"0.57349956",
"0.5645522",
"0.55393815",
"0.5485713",
"0.5443469",
"0.53642124",
"0.5278399",
"0.52745086",
"0.518198",
"0.51281595",
"0.5073499",
"0.50325894",
"0.4968078",
"0.48350602",
"0.48047626",
"0.47938737",
"0.47917455",
"0.47622383",
"0.47528556",
"0.4... | 0.7052934 | 0 |
Returns the first name of the contact for the mzIdentML dataset. | public String getContactFirstName() {
return contactFirstName;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private String retrieveContactName() {\n Cursor cursor = getContentResolver().query(uriContact, null, null, null, null);\n\n if (cursor.moveToFirst()) {\n\n // DISPLAY_NAME = The display name for the contact.\n // HAS_PHONE_NUMBER = An indicator of whether this contact has at ... | [
"0.7057389",
"0.6918806",
"0.686641",
"0.6829444",
"0.66753423",
"0.6605279",
"0.6570699",
"0.6507897",
"0.6498035",
"0.64629316",
"0.6439704",
"0.64257354",
"0.6406729",
"0.6394967",
"0.6357849",
"0.633399",
"0.633399",
"0.63086975",
"0.62796474",
"0.62464964",
"0.6242328",
... | 0.65593827 | 7 |
Set the first name of the contact for the mzIdentML dataset. | public void setContactFirstName(String contactFirstName) {
this.contactFirstName = contactFirstName;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected void setFirstName(String first)\n {\n firstName = first;\n }",
"public void setFirstName(String value) {\n setAttributeInternal(FIRSTNAME, value);\n }",
"public static void setFirstName(String name){\n setUserProperty(Constants.ZeTarget_keyForUserPropertyFName, name)... | [
"0.69895226",
"0.6870057",
"0.68629956",
"0.68571615",
"0.6835719",
"0.6811642",
"0.6797049",
"0.67745155",
"0.6759477",
"0.6714158",
"0.6712145",
"0.67117256",
"0.66592544",
"0.6656848",
"0.6621332",
"0.6614412",
"0.660995",
"0.65829",
"0.6582866",
"0.65214103",
"0.6512167",... | 0.6781271 | 7 |
Returns the last name of the contact for the mzIdentML dataset. | public String getContactLastName() {
return contactLastName;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public java.lang.String getLastName();",
"public String getLastName() {\r\n return insertMode ? \"\" : stringValue(CONTACTS_LAST_NAME);\r\n }",
"java.lang.String getLastName();",
"java.lang.String getLastName();",
"public String getContactLastName() {\n return contactLastName;\n }",
"... | [
"0.7084901",
"0.70663834",
"0.69656616",
"0.69656616",
"0.6939435",
"0.6771864",
"0.6770467",
"0.6758795",
"0.6746737",
"0.67366785",
"0.6736429",
"0.6728111",
"0.6728111",
"0.67223746",
"0.670465",
"0.6657508",
"0.66356784",
"0.66238725",
"0.6603605",
"0.65913683",
"0.656279... | 0.67650104 | 7 |
Set the last name of the contact for the mzIdentML dataset. | public void setContactLastName(String contactLastName) {
this.contactLastName = contactLastName;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setLastname(String lastname);",
"protected void setLastName(String last)\n {\n lastName = last;\n }",
"public static void setLastName(String name){\n setUserProperty(Constants.ZeTarget_keyForUserPropertyLName,name);\n }",
"public void setLast_name(String last_name);... | [
"0.6838497",
"0.6795129",
"0.6733367",
"0.6729745",
"0.67082125",
"0.6642018",
"0.65714544",
"0.6547713",
"0.6521765",
"0.6456633",
"0.6425012",
"0.6419042",
"0.6406232",
"0.6393929",
"0.63579303",
"0.6329225",
"0.63245595",
"0.63035214",
"0.6297338",
"0.62972695",
"0.6295582... | 0.64939535 | 9 |
Returns the email of the contact for the mzIdentML dataset. | public String getContactEmail() {
return contactEmail;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public java.lang.String getStudent_contactEmail() {\n\t\treturn _primarySchoolStudent.getStudent_contactEmail();\n\t}",
"public String getContactEmail() {\r\n return tfContactEmail.getText().trim();\r\n }",
"public String getContactEmail() {\r\n return this.contactEmail;\r\n }",
"public S... | [
"0.70360506",
"0.6895718",
"0.68490416",
"0.6783806",
"0.67825884",
"0.67825884",
"0.67825884",
"0.67825884",
"0.67825884",
"0.67825884",
"0.67158735",
"0.66315585",
"0.66105",
"0.6474233",
"0.6471482",
"0.6469753",
"0.64675057",
"0.64619505",
"0.64589345",
"0.6457332",
"0.63... | 0.65481657 | 13 |
Set the email of the contact for the mzIdentML dataset. | public void setContactEmail(String contactEmail) {
this.contactEmail = contactEmail;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setContact(String email){ contact = email; }",
"public void setEmail(gov.nih.nlm.ncbi.www.soap.eutils.efetch_pmc.Email email) {\r\n this.email = email;\r\n }",
"public void setContactEmail(String contactEmail) {\r\n this.contactEmail = contactEmail;\r\n }",
"public void setCon... | [
"0.7127475",
"0.70267916",
"0.6949353",
"0.6938707",
"0.6909458",
"0.6909458",
"0.6890023",
"0.6883931",
"0.6879712",
"0.6866939",
"0.68472266",
"0.68454164",
"0.6832949",
"0.68151766",
"0.68136364",
"0.6799725",
"0.6792143",
"0.6789614",
"0.6777341",
"0.6751529",
"0.6737249"... | 0.6843489 | 12 |
Returns the URL of the contact for the mzIdentML dataset. | public String getContactUrl() {
return contactUrl;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static URL getUrlForGetSupportContactInfo()\r\n {\r\n String idCountry = P.getCountryId(); \r\n String strUrl = getBaseURL() +\"account_services/api/1.0/static_content/support_contacts?brand=\"+Config.BRAND_NAME_URL+\"&country=\"+idCountry;\r\n return str2url( strUrl );\r\n ... | [
"0.5933851",
"0.5830636",
"0.56314564",
"0.5582354",
"0.55480933",
"0.53709954",
"0.52914923",
"0.51858974",
"0.5164251",
"0.5161963",
"0.5109399",
"0.5108855",
"0.51067317",
"0.5051778",
"0.5034468",
"0.5033252",
"0.5032173",
"0.50249046",
"0.50106066",
"0.4964283",
"0.49388... | 0.5975269 | 0 |
Set the first URL of the contact for the mzIdentML dataset. | public void setContactUrl(String contactUrl) {
this.contactUrl = contactUrl;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setNilUrlName()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.XmlString target = null;\r\n target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(URLNAME$12, 0);\r\n if (target == null)\... | [
"0.54365134",
"0.53903854",
"0.5389591",
"0.5296142",
"0.52772367",
"0.5267017",
"0.52593046",
"0.5221921",
"0.5213784",
"0.5182995",
"0.5161469",
"0.5155177",
"0.5137426",
"0.5136243",
"0.5132322",
"0.51082045",
"0.5105341",
"0.5101945",
"0.50842965",
"0.50560105",
"0.505306... | 0.48959577 | 41 |
Returns the address of the contact for the mzIdentML dataset. | public String getContactAddress() {
return contactAddress;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getAddress() {\n return definition.getString(ADDRESS);\n }",
"kr.pik.message.Profile.ProfileMessage.ContactAddress getContactAddress(int index);",
"public String getAddress()\r\n {\r\n return address.getFullAddress();\r\n }",
"public String getAddress()\r\n {\r\n retu... | [
"0.656142",
"0.6458309",
"0.64068294",
"0.64068294",
"0.640474",
"0.63935816",
"0.63751787",
"0.63651997",
"0.63331336",
"0.63331336",
"0.63331336",
"0.63331336",
"0.63331336",
"0.63331336",
"0.63055974",
"0.6269521",
"0.626415",
"0.62325156",
"0.62209296",
"0.6214179",
"0.62... | 0.6387332 | 6 |
SEt the address of the contact for the mzIdentML dataset. | public void setContactAddress(String contactAddress) {
this.contactAddress = contactAddress;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getContactAddress() {\n\n \n return contactAddress;\n\n }",
"public String getAddress() {\r\n\t\t// Still deciding how to do the address to incorporate apartments\r\n\t\treturn address;\t\t\r\n\t}",
"public String getAddress()\r\n\t{\r\n\t\treturn address;\r\n\t}",
"public Stri... | [
"0.6799292",
"0.6635931",
"0.66251004",
"0.66217554",
"0.6611949",
"0.6611949",
"0.66039413",
"0.66039413",
"0.6600349",
"0.6600349",
"0.6600349",
"0.6600349",
"0.6600349",
"0.6600349",
"0.6600349",
"0.6586917",
"0.6586254",
"0.65852934",
"0.65825653",
"0.65825653",
"0.658256... | 0.0 | -1 |
Returns the name of the organization for the mzIdentML dataset. | public String getOrganizationName() {
return organizationName;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"String organizationName();",
"public String getOrgNm()\n\t{\n\t\treturn mOrgNm;\n\t}",
"public String getOrganizationName() {\n return (orgName);\n }",
"String getOrganization();",
"public String getOrgname() {\n return orgname;\n }",
"public String getOrgName() {\r\n return ... | [
"0.7089842",
"0.69178116",
"0.67143357",
"0.6632689",
"0.6620634",
"0.6574179",
"0.6560508",
"0.64919573",
"0.64756227",
"0.6469386",
"0.63895124",
"0.6369977",
"0.63612777",
"0.63277084",
"0.63111705",
"0.6255951",
"0.6254635",
"0.6189648",
"0.6123831",
"0.6114096",
"0.61043... | 0.6413508 | 10 |
Set the name of the organization for the mzIdentML dataset. | public void setOrganizationName(String organizationName) {
this.organizationName = organizationName;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public final void setOrganisation(String value) {\n organisation = value;\n }",
"public void setOrganization(String organization);",
"public void setOrganization(com.hps.july.persistence.Organization anOrganization) throws java.rmi.RemoteException;",
"public void setOrgName(String orgName) {\r\n ... | [
"0.63790995",
"0.62776196",
"0.6193594",
"0.60273856",
"0.5949352",
"0.5918278",
"0.58906555",
"0.5886002",
"0.5852688",
"0.5852688",
"0.5852688",
"0.5852688",
"0.5852688",
"0.5852688",
"0.5852688",
"0.5852688",
"0.5852688",
"0.5852688",
"0.5852688",
"0.5852688",
"0.5852688",... | 0.55161864 | 42 |
Returns the email of the organization for the mzIdentML dataset. | public String getOrganizationEmail() {
return organizationEmail;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getEmail() {\r\n // Bouml preserved body begin 00040D82\r\n\t System.out.println(email);\r\n\t return email;\r\n // Bouml preserved body end 00040D82\r\n }",
"java.lang.String getEmail();",
"java.lang.String getEmail();",
"java.lang.String getEmail();",
"java.lang.String getEmail();"... | [
"0.68744373",
"0.6858294",
"0.6858294",
"0.6858294",
"0.6858294",
"0.6858294",
"0.6858294",
"0.6670774",
"0.66587865",
"0.6641096",
"0.65413535",
"0.6536748",
"0.65265286",
"0.64915556",
"0.64737016",
"0.64625484",
"0.6453771",
"0.64502996",
"0.64502996",
"0.6450017",
"0.6440... | 0.6992291 | 0 |
Set the name of the organization for the mzIdentML dataset. | public void setOrganizationEmail(String organizationEmail) {
this.organizationEmail = organizationEmail;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public final void setOrganisation(String value) {\n organisation = value;\n }",
"public void setOrganization(String organization);",
"public void setOrganization(com.hps.july.persistence.Organization anOrganization) throws java.rmi.RemoteException;",
"public void setOrgName(String orgName) {\r\n ... | [
"0.6376971",
"0.62748694",
"0.6192308",
"0.6025041",
"0.5947296",
"0.59161144",
"0.58887154",
"0.58839726",
"0.5851368",
"0.5851368",
"0.5851368",
"0.5851368",
"0.5851368",
"0.5851368",
"0.5851368",
"0.5851368",
"0.5851368",
"0.5851368",
"0.5851368",
"0.5851368",
"0.5851368",... | 0.0 | -1 |
Returns the URL of the organization for the mzIdentML dataset. | public String getOrganizationUrl() {
return organizationUrl;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"String getOrganization();",
"String organizationId();",
"public final String getOrganisation() {\n return organisation;\n }",
"public String organization() {\n return this.organization;\n }",
"@AutoEscape\n\tpublic String getOrganization();",
"String organizationName();",
"p... | [
"0.6070822",
"0.58600813",
"0.56917864",
"0.56167173",
"0.55799663",
"0.557791",
"0.5558451",
"0.55555147",
"0.5519007",
"0.54866457",
"0.54783326",
"0.54776436",
"0.54776436",
"0.54776436",
"0.54776436",
"0.54776436",
"0.54776436",
"0.54776436",
"0.54776436",
"0.54776436",
"... | 0.6432441 | 0 |
Set the URL of the organization for the mzIdentML dataset. | public void setOrganizationUrl(String organizationUrl) {
this.organizationUrl = organizationUrl;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setOrganization(com.hps.july.persistence.Organization anOrganization) throws java.rmi.RemoteException;",
"public String getOrganizationUrl() {\n\n \n return organizationUrl;\n\n }",
"public void setOrganization(String organization);",
"public final void setOrganisation(String val... | [
"0.59628695",
"0.59327507",
"0.5748688",
"0.57204187",
"0.5632328",
"0.5580318",
"0.55186266",
"0.55186266",
"0.55186266",
"0.55186266",
"0.55186266",
"0.55186266",
"0.55186266",
"0.55186266",
"0.55186266",
"0.55186266",
"0.55186266",
"0.55186266",
"0.55186266",
"0.55012983",
... | 0.5649071 | 4 |
Returns the address of the organization for the mzIdentML dataset. | public String getOrganizationAddress() {
return organizationAddress;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getAddress() {\r\n\t\t// Still deciding how to do the address to incorporate apartments\r\n\t\treturn address;\t\t\r\n\t}",
"public String getAddress() {\n return definition.getString(ADDRESS);\n }",
"public String address() {\n return Codegen.stringProp(\"address\").config(config).req... | [
"0.6206939",
"0.618053",
"0.6121178",
"0.6118599",
"0.6019721",
"0.6019721",
"0.5974165",
"0.59553134",
"0.5948664",
"0.58694243",
"0.5844236",
"0.58402175",
"0.5838147",
"0.5774042",
"0.57550067",
"0.5749524",
"0.5745011",
"0.57433015",
"0.57322097",
"0.57322",
"0.57236767",... | 0.6572131 | 0 |
Set the address of the organization for the mzIdentML dataset. | public void setOrganizationAddress(String organizationAddress) {
this.organizationAddress = organizationAddress;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setExternalAddress(String address);",
"public void setAddress(java.lang.String address)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().fin... | [
"0.66318774",
"0.6404523",
"0.63966817",
"0.63966817",
"0.63966817",
"0.63966817",
"0.63864994",
"0.6374017",
"0.63332266",
"0.6332977",
"0.6278217",
"0.6278217",
"0.6278217",
"0.62546235",
"0.61805874",
"0.61679417",
"0.6167041",
"0.615309",
"0.6127454",
"0.60992855",
"0.609... | 0.5790421 | 66 |
Returns the user advocates used in this project. | public HashMap<Integer, Advocate> getUserAdvocateMapping() {
return userAdvocateMapping;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getUserCate() {\n\t\treturn restClient.getSuggestedUsersCat();\n\t}",
"public String[] getAvailableGovernors() {\n\t\t\tif (mAvailableGovernors == null) {\n\t\t\t\tList<String> list = ShellHelper.cat(\n\t\t\t\t\tmRoot.getAbsolutePath() + AVAILABLE_GOVERNERS);\n\t\t\t\tif (list == null || list.isEmp... | [
"0.59114116",
"0.5832509",
"0.5682697",
"0.5493571",
"0.5451385",
"0.5441022",
"0.5377677",
"0.53212595",
"0.5308588",
"0.5256107",
"0.52096003",
"0.52084374",
"0.5206578",
"0.5206578",
"0.5191062",
"0.5181773",
"0.5176038",
"0.5149332",
"0.512304",
"0.51110125",
"0.5107658",... | 0.53434515 | 7 |
Sets the user advocates used in this project. | public void setUserAdvocateMapping(HashMap<Integer, Advocate> userAdvocateMapping) {
this.userAdvocateMapping = userAdvocateMapping;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setUseragent(String useragent) {\n this.standardPairs.put(Parameters.USERAGENT, useragent);\n }",
"public void setAdvisors(List<Professor> list) {\r\n advisors = list;\r\n }",
"public void setUserExtensions(String userExtensions) {\n this.userExtensions = userExtensions;\... | [
"0.5711325",
"0.5278227",
"0.51762724",
"0.5119903",
"0.5102279",
"0.5102142",
"0.50710154",
"0.50710154",
"0.50710154",
"0.50710154",
"0.50639325",
"0.50445986",
"0.50417143",
"0.5016353",
"0.49971613",
"0.4985213",
"0.49784157",
"0.49774414",
"0.49760142",
"0.49740463",
"0.... | 0.56038296 | 1 |
Returns true if the protein sequences are to be included in the mzid export. | public Boolean getIncludeProteinSequences() {
if (includeProteinSequences == null) {
includeProteinSequences = false;
}
return includeProteinSequences;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"boolean hasSeq();",
"boolean hasSeqnum();",
"boolean hasSeqnum();",
"boolean hasSeqnum();",
"boolean hasSeqnum();",
"boolean hasSeqnum();",
"boolean hasSeqnum();",
"boolean hasSeqnum();",
"public boolean hasSequence() {\n return (sequenceName != null &&\n !\"\".equals(sequenceName.trim())... | [
"0.634937",
"0.60641706",
"0.60641706",
"0.60641706",
"0.60641706",
"0.60641706",
"0.60641706",
"0.60641706",
"0.5968596",
"0.58530766",
"0.5787353",
"0.57473123",
"0.5729055",
"0.560508",
"0.55672926",
"0.55384904",
"0.5528912",
"0.5512677",
"0.5503231",
"0.54944116",
"0.539... | 0.6290244 | 1 |
Set if the protein sequences are to be included in the mzid export. | public void setIncludeProteinSequences(Boolean includeProteinSequences) {
this.includeProteinSequences = includeProteinSequences;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Boolean getIncludeProteinSequences() {\n\n \n\n if (includeProteinSequences == null) {\n includeProteinSequences = false;\n }\n\n return includeProteinSequences;\n\n }",
"public boolean hasVariantSetIds() {\n return fieldSetFlags()[3];\n }",
"@Override\n... | [
"0.61892176",
"0.54329306",
"0.5424731",
"0.53519493",
"0.5088584",
"0.50644374",
"0.50080925",
"0.49996176",
"0.49742642",
"0.49526924",
"0.49003047",
"0.48759168",
"0.48759168",
"0.48759168",
"0.48759168",
"0.4849662",
"0.48228097",
"0.4811123",
"0.48066235",
"0.4769535",
"... | 0.61111116 | 1 |
Increment number of open sockets. | private synchronized static void incrementNumberOfOpenSockets() {
numberOfOpenSockets++;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private synchronized static void decrementNumberOfOpenSockets() {\r\n\r\n\t\tnumberOfOpenSockets--;\r\n\t}",
"private void incrConnectionCount() {\n connectionCount.inc();\n }",
"public void incrementNumConnects() {\n this.numConnects.incrementAndGet();\n }",
"private void countConnectingSocket... | [
"0.7755012",
"0.7634588",
"0.7616978",
"0.7515423",
"0.7209588",
"0.7155383",
"0.70936453",
"0.6992022",
"0.69724274",
"0.69334763",
"0.67970985",
"0.6719391",
"0.66024286",
"0.6524778",
"0.6419348",
"0.6410373",
"0.6344147",
"0.6225159",
"0.6212692",
"0.6169539",
"0.6164626"... | 0.90982467 | 0 |
Instantiates a new monitoring socket. | public MonitoringSocket() throws IOException {
incrementNumberOfOpenSockets();
printMonitoringSocketStatus();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public MonitoringSocket(String host, int port) throws IOException {\r\n\r\n\t\tsuper(host, port);\r\n\t\tincrementNumberOfOpenSockets();\r\n\t\tprintMonitoringSocketStatus();\r\n\t}",
"public int createSocket()\n\t{\n\t\t\n\t}",
"public static ServerSocket createServerSocket() {\n \t\n try {\n ... | [
"0.69246566",
"0.6812786",
"0.66097504",
"0.66038924",
"0.65838003",
"0.6540036",
"0.6425746",
"0.6371538",
"0.6308099",
"0.6258079",
"0.6221434",
"0.6203696",
"0.614687",
"0.6143979",
"0.6111015",
"0.6107301",
"0.61069566",
"0.607613",
"0.6056329",
"0.60488534",
"0.6040643",... | 0.74670374 | 0 |
Instantiates a new monitoring socket. | public MonitoringSocket(String host, int port) throws IOException {
super(host, port);
incrementNumberOfOpenSockets();
printMonitoringSocketStatus();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public MonitoringSocket() throws IOException {\r\n\r\n\t\tincrementNumberOfOpenSockets();\r\n\t\tprintMonitoringSocketStatus();\r\n\t}",
"public int createSocket()\n\t{\n\t\t\n\t}",
"public static ServerSocket createServerSocket() {\n \t\n try {\n listener = new ServerSocket(PORT,1, InetAd... | [
"0.74670374",
"0.6812786",
"0.66097504",
"0.66038924",
"0.65838003",
"0.6540036",
"0.6425746",
"0.6371538",
"0.6308099",
"0.6258079",
"0.6221434",
"0.6203696",
"0.614687",
"0.6143979",
"0.6111015",
"0.6107301",
"0.61069566",
"0.607613",
"0.6056329",
"0.60488534",
"0.6040643",... | 0.69246566 | 1 |
Prints the monitoring socket status. | private static synchronized void printMonitoringSocketStatus() {
if (log.isInfoEnabled()) {
log.info("There are currently " + numberOfOpenSockets
+ " open MonitoringSockets");
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void printStatus();",
"public void printStatus(){\n System.out.println(\"Nodes: \" + \n getVertexCount() + \" Edges: \" + \n getEdgeCount()); \n //and \" + getEdgeCount() + \" edges active.\");\n }",
"public MonitoringSocket() throws IOException {\r\n\r\n\t\tincremen... | [
"0.67573434",
"0.62268513",
"0.61883163",
"0.61200255",
"0.60563874",
"0.5967077",
"0.58187824",
"0.5803816",
"0.57745045",
"0.5771272",
"0.5687217",
"0.5578904",
"0.55784535",
"0.5533477",
"0.5510755",
"0.54143995",
"0.54116625",
"0.5404479",
"0.5400091",
"0.5386617",
"0.535... | 0.81060153 | 0 |
Decrement number of open sockets. | private synchronized static void decrementNumberOfOpenSockets() {
numberOfOpenSockets--;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void countSocketClose() {\n \t\tcurrentlyOpenSockets.decrementAndGet();\n \t\tsynchronized (this) {\n \t\t\tthis.notifyAll();\n \t\t}\n \n \t}",
"private void decrConnectionCount() {\n connectionCount.dec();\n }",
"public void decrementClients() {\n\t\tconnectedClients.decrementAndGet();\n\t}",
"... | [
"0.74134636",
"0.6862428",
"0.6662945",
"0.65340745",
"0.6504157",
"0.6485942",
"0.64524585",
"0.6402522",
"0.63446474",
"0.6344078",
"0.6304404",
"0.6109289",
"0.591766",
"0.591766",
"0.5904023",
"0.5814242",
"0.58083254",
"0.58015716",
"0.5734493",
"0.5728473",
"0.5717474",... | 0.88215226 | 0 |
Created by Administrator on 2017/7/15. | public interface ZYPhotoSelect {
void onSelect(ZYPhoto photo);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private stendhal() {\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Ov... | [
"0.6276085",
"0.6094277",
"0.5815846",
"0.58098626",
"0.57874584",
"0.57761234",
"0.57456696",
"0.57079256",
"0.5700115",
"0.56820893",
"0.5662272",
"0.5662272",
"0.56619567",
"0.5652867",
"0.564868",
"0.564868",
"0.56486773",
"0.56486315",
"0.5623194",
"0.56159824",
"0.56139... | 0.0 | -1 |
/ access modifiers changed from: packageprivate | public final synchronized void e() {
this.b.b();
if (this.d) {
this.d = false;
if (this.e) {
d();
}
} else {
throw new IllegalStateException("Already unlocked");
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private stendhal() {\n\t}",
"private Rekenhulp()\n\t{\n\t}",
"@Override\n protected void prot() {\n }",
"public void method_4270() {}",
"@Override\n public void func_104112_b() {\n \n }",
"private void m50366E() {\n }",
"private void kk12() {\n\n\t}",
"public final void mo51373a... | [
"0.71513015",
"0.6686406",
"0.6558315",
"0.6482832",
"0.6430476",
"0.63856333",
"0.63838816",
"0.63487375",
"0.6330605",
"0.62764114",
"0.626384",
"0.62509346",
"0.6237325",
"0.62340367",
"0.6228612",
"0.6197973",
"0.6197973",
"0.61952",
"0.6183631",
"0.61797863",
"0.6157397"... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public Integer getId() {
return this.codContacto;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.66713095",
"0.6567948",
"0.652319",
"0.648097",
"0.64770466",
"0.64586824",
"0.64132667",
"0.6376419",
"0.62759",
"0.62545097",
"0.62371093",
"0.62237984",
"0.6201738",
"0.619477",
"0.619477",
"0.61924416",
"0.61872935",
"0.6173417",
"0.613289",
"0.6127952",
"0.6080854",
... | 0.0 | -1 |
Created by lihuimin on 2017/12/11. | public interface FilterChain {
// execute current filter's onEntry
void onEntry(FilterContext ctx) throws SoaException;
// execute current filter's onExit
void onExit(FilterContext ctx)throws SoaException;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void perish() {\n \n }",
"private stendhal() {\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\r... | [
"0.609898",
"0.60019773",
"0.5847842",
"0.5793141",
"0.5793141",
"0.578785",
"0.5761429",
"0.57234776",
"0.5670617",
"0.5663361",
"0.5657612",
"0.565233",
"0.5649674",
"0.5626034",
"0.5607109",
"0.56026864",
"0.5581711",
"0.5578879",
"0.5575346",
"0.5573219",
"0.55731654",
... | 0.0 | -1 |
execute current filter's onEntry | void onEntry(FilterContext ctx) throws SoaException; | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void onEntry()\n\t{\n\t}",
"public Boolean filter(Entry e) {\n\t\t//TODO you will need to implement this method\n\t\treturn false;\n\t}",
"void onEntryAdded(Entry entry);",
"@Override\n\tpublic void filterChange() {\n\t\t\n\t}",
"@Override\n\tpublic void filterClick() {\n\t\t\n\t}",
"public void c... | [
"0.6503326",
"0.6242162",
"0.6231787",
"0.6051889",
"0.5953488",
"0.58917016",
"0.58848995",
"0.5884699",
"0.5850068",
"0.58322513",
"0.5801436",
"0.57804847",
"0.5764076",
"0.575022",
"0.57422763",
"0.57326305",
"0.57274586",
"0.56957334",
"0.5656107",
"0.5653553",
"0.564631... | 0.75307494 | 0 |
execute current filter's onExit | void onExit(FilterContext ctx)throws SoaException; | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic void exitFilterStep(AAIDslParser.FilterStepContext ctx) {\n\t}",
"public void onExit();",
"void onExit();",
"@Override\n\tpublic void onExit() {\n\t\t\n\t}",
"@Override\n\t public void onExit() {\n\t\t super.onExit();\n\t }",
"public void onSearchExit();",
"private void exit() {\n... | [
"0.7713512",
"0.72715455",
"0.71916074",
"0.70722574",
"0.69997025",
"0.6964309",
"0.6885915",
"0.6809769",
"0.6721432",
"0.6710603",
"0.6710603",
"0.6693451",
"0.66693217",
"0.6613801",
"0.6566196",
"0.6491947",
"0.6488674",
"0.6461134",
"0.6432812",
"0.64080864",
"0.632225"... | 0.84829515 | 0 |
private static DBProducts mDatabase; | @Override
public void onCreate() {
super.onCreate();
if(!FirebaseApp.getApps(this).isEmpty()) {
FirebaseDatabase.getInstance().setPersistenceEnabled(true);
}
appInstance = this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void getDatabase(){\n\n }",
"public String getDatabaseName()\n {\n return \"product\";\n }",
"private DataManager() {\n databaseManager = DatabaseManager.getInstance();\n }",
"private PurchaseDB() {}",
"public ProductDAO() {\n }",
"private DatabaseManager() {}",
"pr... | [
"0.7060741",
"0.6686897",
"0.66470325",
"0.6513228",
"0.6480341",
"0.64205277",
"0.64075667",
"0.6354803",
"0.6344095",
"0.6343576",
"0.6313436",
"0.6302865",
"0.6277416",
"0.6265096",
"0.62393737",
"0.62358505",
"0.62258285",
"0.6212314",
"0.6211525",
"0.6197762",
"0.6194852... | 0.0 | -1 |
A HTTPSsession can handle only one host. All cookies will be automatically processed for this host. | public HttpsSession(URL host) {
this.host = host.getHost();
this.cookieMap = new HashMap<String, String>();
this.state = SessionState.DISCONNECTED;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public boolean verify(String hostname, SSLSession session) {\n return true;\n }",
"@Override\n public boolean verify(String hostname, SSLSession session) {\n return true;\n }",
"@Override\n\t\t\t\tpubl... | [
"0.5827644",
"0.5827644",
"0.5743037",
"0.57269543",
"0.5687576",
"0.5672675",
"0.5473972",
"0.54360116",
"0.54156584",
"0.54156584",
"0.5317987",
"0.5311192",
"0.5267691",
"0.52056587",
"0.516464",
"0.5144105",
"0.5087058",
"0.50682443",
"0.50659865",
"0.50498575",
"0.504315... | 0.66650885 | 0 |
Created by Somebody on 21.02.2017. | public interface SentenceMember {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private stendhal() {\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n public int describeContents() { return 0; }",
"@Override\n public void func_104112_b() {\n \n }",
"public final void mo51373a() {\n }... | [
"0.5815545",
"0.5722509",
"0.5635536",
"0.56054914",
"0.5500154",
"0.54917616",
"0.54799193",
"0.54465663",
"0.54207104",
"0.54207104",
"0.5398205",
"0.53857076",
"0.5373",
"0.5327311",
"0.53262335",
"0.53261554",
"0.5319841",
"0.5313425",
"0.530664",
"0.5285135",
"0.5284419"... | 0.0 | -1 |
Inflate the menu; this adds items to the action bar if it is present. MenuInflater inflater = getMenuInflater(); | @Override
public boolean onCreateOptionsMenu(Menu menu) {
menu.add(1,1,1,"").setTitle(R.string.creategroup);
return super.onCreateOptionsMenu(menu);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n inflater.inflate(R.menu.actions, menu);\n }",
"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n inflater.inflate(R.menu.act... | [
"0.7921572",
"0.782492",
"0.77302885",
"0.7639982",
"0.76192015",
"0.7573378",
"0.754809",
"0.754809",
"0.754809",
"0.75297564",
"0.7510624",
"0.7484893",
"0.7484893",
"0.7477696",
"0.74745697",
"0.7455412",
"0.7428979",
"0.7389275",
"0.7358639",
"0.7351458",
"0.7344517",
"... | 0.0 | -1 |
Handle action bar item clicks here. The action bar will automatically handle clicks on the Home/Up button, so long as you specify a parent activity in AndroidManifest.xml. | @Override
public boolean onOptionsItemSelected(MenuItem item) {
int id = item.getItemId();
Intent i;
switch (id){
case 1:
i=new Intent(this, CreateGroup.class);
startActivity(i);
return true;
default:
return super.onOptionsItemSelected(item);
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public boolean onOptionsItemSelected(MenuItem item) { Handle action bar item clicks here. The action bar will\n // automatically handle clicks on the Home/Up button, so long\n // as you specify a parent activity in AndroidManifest.xml.\n\n //\n // HANDLE BACK BUTTON\n ... | [
"0.7904231",
"0.78061396",
"0.7767007",
"0.77273244",
"0.76318634",
"0.7621818",
"0.7585249",
"0.7531511",
"0.7488678",
"0.74574006",
"0.74574006",
"0.7439257",
"0.7421747",
"0.7403457",
"0.73920685",
"0.7387285",
"0.7379893",
"0.73710734",
"0.7363068",
"0.73565257",
"0.73461... | 0.0 | -1 |
Asserts that the state of the hazelcast instance is equal to the expected state. This method is called when the test is done mutating the state and bouncing the members. | protected abstract void assertState(HazelcastInstance hazelcastInstance); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void testEquals() throws Exception {\n State state1 = new State();\n state1.setCanJump(1);\n state1.setDirection(1);\n state1.setGotHit(1);\n state1.setHeight(1);\n state1.setMarioMode(1);\n state1.setOnGround(1);\n state1.setEnemiesSmall(new boolean[3... | [
"0.6284804",
"0.60419244",
"0.5746523",
"0.5718354",
"0.5705125",
"0.56819236",
"0.56727207",
"0.56661135",
"0.5630294",
"0.56209916",
"0.5558619",
"0.55459857",
"0.5535736",
"0.5531271",
"0.55273205",
"0.5516143",
"0.54970014",
"0.54863787",
"0.5484802",
"0.5466064",
"0.5459... | 0.76990813 | 0 |
Returns the logger for the concrete implementation of this test class. | protected abstract ILogger getLogger(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected Logger getLogger() {\n return LoggerFactory.getLogger(getClass());\n }",
"public Logger getLogger() {\t\t\n\t\treturn logger = LoggerFactory.getLogger(getClazz());\n\t}",
"public Logger getLogger() {\n //depending on the subclass, we'll get a particular logger.\n Logger logger... | [
"0.7620108",
"0.75623953",
"0.74281913",
"0.7405326",
"0.7389523",
"0.73425627",
"0.7306869",
"0.72735876",
"0.72731537",
"0.7272659",
"0.7253866",
"0.7241268",
"0.7239642",
"0.72230786",
"0.7220578",
"0.72169286",
"0.7210872",
"0.7149544",
"0.71266866",
"0.7112355",
"0.70715... | 0.7158948 | 17 |
Performs a mutation action on the CRDT on the provided instance. | protected abstract void mutate(HazelcastInstance hazelcastInstance); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public abstract void mutate();",
"void update(T instace);",
"void update(String identifier, T instance) throws IOException;",
"public abstract Chromosome mutation(Chromosome child);",
"void update(ReferenceData instance) throws DataException;",
"void update(Member member);",
"@Update\n Single<Integer>... | [
"0.5620067",
"0.5393365",
"0.5184079",
"0.512657",
"0.50593024",
"0.49694684",
"0.4919222",
"0.48475498",
"0.4828994",
"0.47697225",
"0.47661537",
"0.4747706",
"0.47386125",
"0.47371244",
"0.4709783",
"0.46826598",
"0.46733463",
"0.46733463",
"0.46704933",
"0.46691364",
"0.46... | 0.54189044 | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.