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 |
|---|---|---|---|---|---|---|
This is the mutator method that sets the current elevator floor. | public void setCurrentFloor(int currentFloor) {
this.currentFloor = currentFloor;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void update(IFloorModel floor, IElevatorModel elevator) {\n\t\tif(floor == null || elevator == null) {\n\t\t\tthrow new NullPointerException(\"MainGuiController.update() NullPointerException\");\n\t\t}\n\t\t\n\t\t//if there are no elevators, do nothing on update. Nothing should or can be updated\n\t\tif(lis... | [
"0.7058151",
"0.68325144",
"0.68121195",
"0.66284364",
"0.65116554",
"0.64925647",
"0.64731866",
"0.6427901",
"0.63894844",
"0.6386673",
"0.6381308",
"0.63737977",
"0.6333928",
"0.6316573",
"0.6315236",
"0.63047874",
"0.625754",
"0.6224194",
"0.620875",
"0.62001896",
"0.60919... | 0.6934496 | 1 |
This is the accessor method to get the current state the elevator is in. | public int getElevatorState() {
return elevatorState;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public ElevatorState getState() {\n\t\treturn state;\n\t}",
"public AeBpelState getState();",
"public State getState();",
"public State getState();",
"public State getAeState() {\n\t\treturn state;\n\t}",
"public String getState( )\r\n {\r\n if (isEating)\r\n return \"Eating\"; /... | [
"0.86915594",
"0.6820526",
"0.6813999",
"0.6813999",
"0.6793502",
"0.6766926",
"0.67324483",
"0.6705294",
"0.6705294",
"0.6705294",
"0.6705294",
"0.66550684",
"0.6638437",
"0.66269463",
"0.6604535",
"0.65998685",
"0.65998685",
"0.65998685",
"0.65998685",
"0.65998685",
"0.6599... | 0.86891276 | 1 |
This is the mutator method that sets the current elevator status. | public void setElevatorState(int elevatorState) {
this.elevatorState = elevatorState;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int getElevatorState() {\n return elevatorState;\n }",
"public void updateElevatorStatus(Integer elevatorID, int currentFloor, int destinationFloor) {\n ElevatorController controller = elevatorControllers.get(elevatorID);\n if (controller == null) {\n System.err.println(... | [
"0.6463868",
"0.6452586",
"0.6326953",
"0.62563884",
"0.6226431",
"0.6214869",
"0.6066758",
"0.59032744",
"0.5891961",
"0.5872239",
"0.5833288",
"0.5831353",
"0.5778219",
"0.57656145",
"0.5723196",
"0.56668836",
"0.5615245",
"0.5613837",
"0.5611255",
"0.5606797",
"0.5596451",... | 0.6912974 | 0 |
Use this factory method to create a new instance of this fragment using the provided parameters. | public static FirstFragment newInstance(String param1, String param2) {
FirstFragment fragment = new FirstFragment();
Bundle args = new Bundle();
args.putString(ARG_PARAM1, param1);
args.putString(ARG_PARAM2, param2);
fragment.setArguments(args);
return fragment;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static FragmentTousWanted newInstance() {\n FragmentTousWanted fragment = new FragmentTousWanted();\n Bundle args = new Bundle();\n fragment.setArguments(args);\n return fragment;\n }",
"protected abstract Fragment createFragment();",
"public void createFragment() {\n\n ... | [
"0.7259329",
"0.72331375",
"0.71140355",
"0.69909847",
"0.69902235",
"0.6834592",
"0.683074",
"0.68134046",
"0.6801526",
"0.6801054",
"0.67653185",
"0.6739714",
"0.6739714",
"0.6727412",
"0.6717231",
"0.6705855",
"0.6692112",
"0.6691661",
"0.66869426",
"0.66606814",
"0.664618... | 0.0 | -1 |
Resets the display so that only the scaffold appears | public void reset()
{ removeAll();
int center_y=(getHeight()/2);
int center_x=(getWidth()/2);
ScaffoldEnd=new GPoint((center_x-BEAM_LENGTH),ARM_OFFSET_FROM_HEAD+(2*HEAD_RADIUS)+ROPE_LENGTH);
GLine scaffold=new GLine((center_x-BEAM_LENGTH),ScaffoldEnd.getY()+SCAFFOLD_HEIGHT,ScaffoldEnd.getX(),Scaffol... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setEmptyScreen() {\n emptyText.setVisibility(View.VISIBLE);\n todoRecyclerView.setVisibility(View.GONE);\n }",
"@FXML\r\n private void clearScreen() {\n if(flag==1)txtDisplay.setText(\"\");\r\n }",
"public Builder clearDisplay() {\n if (displayBuilder_ == null) {\... | [
"0.6916056",
"0.6681129",
"0.65745956",
"0.65311235",
"0.64987683",
"0.6449873",
"0.6418238",
"0.6394988",
"0.6369952",
"0.6349155",
"0.6337792",
"0.6315837",
"0.63098353",
"0.6307161",
"0.6305126",
"0.6243753",
"0.6219384",
"0.62182826",
"0.62162864",
"0.6214868",
"0.6199365... | 0.0 | -1 |
Updates the word on the screen to correspond to the current state of the game. The argument string shows what letters have been guessed so far; unguessed letters are indicated by hyphens. | public void displayWord(String word)
{
guessedLabel.setLabel(word);
add(guessedLabel);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void updateGameState(String guessedLetter) {\n\t\tif (guessedWord.contains(guessedLetter)) {\n\t\t\treturn;\n\t\t} else if (actualWord.contains(guessedLetter)) {\n\t\t\tprintln(\"That guess is correct.\");\n\t\t\tupdateGuessedWord(guessedLetter);\n\t\t\tcanvas.displayWord(guessedWord);\n\t\t} else {\n\t\t\... | [
"0.7546303",
"0.719367",
"0.71837103",
"0.69656897",
"0.67999876",
"0.6738083",
"0.6646462",
"0.6551503",
"0.65329736",
"0.651566",
"0.6454681",
"0.6450637",
"0.641231",
"0.63799685",
"0.6376398",
"0.62959814",
"0.6256538",
"0.6242392",
"0.62401897",
"0.6239121",
"0.6221928",... | 0.5652787 | 64 |
Updates the display to correspond to an incorrect guess by the user. Calling this method causes the next body part to appear on the scaffold and adds the letter to the list of incorrect guesses that appears at the bottom of the window. | public void noteIncorrectGuess(char letter)
{
choosePart(i);
i++;
wrong+=letter;
wrongLabel.setLabel(wrong);
add(wrongLabel);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void noteIncorrectGuess(char letter) {\n\t\tguesses += letter;\n\t\tguessesLabel.setLabel(guesses);\n\t\tguessesLabel.setLocation((getWidth() - guessesLabel.getWidth()) / 2, wordLabel.getY() + wordLabel.getHeight()\n\t\t\t\t+ WORD_SPACING);\n\t\tif (guesses.length() == 1)\n\t\t\tbody.add(buildHead());\n\t\t... | [
"0.7307359",
"0.70538896",
"0.70448184",
"0.6669419",
"0.6435331",
"0.6372817",
"0.6372218",
"0.6342576",
"0.6334105",
"0.62274134",
"0.6159193",
"0.6156194",
"0.61447847",
"0.60810083",
"0.6057026",
"0.6056571",
"0.6030985",
"0.6004299",
"0.5925577",
"0.5907596",
"0.5906384"... | 0.65177935 | 4 |
Looks for a name exported by this file, preferably in an efficient way. | @Nullable
PsiElement findExportedName(String name); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getLocallyAccessibleName( String name );",
"String lookupMashFromName(String name);",
"String getName( String name );",
"public String getSimpleName() { return FilePathUtils.getFileName(_name); }",
"@Import(\"name\")\n\tString getName();",
"private boolean examineName(String name) {\r\n ... | [
"0.63982415",
"0.5647815",
"0.56256807",
"0.5445947",
"0.54431736",
"0.5410905",
"0.54072994",
"0.5389675",
"0.5389675",
"0.5389675",
"0.5389675",
"0.5389675",
"0.5389675",
"0.5389675",
"0.5389675",
"0.5389675",
"0.5389675",
"0.5389675",
"0.5389675",
"0.5389675",
"0.5389675",... | 0.7235586 | 0 |
This method was generated by MyBatis Generator. This method returns the value of the database column cart.user_id | Long getUserId(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Integer getUser_id() {\n\t\treturn user_id;\n\t}",
"public Integer getIdUser() {\r\n\t\treturn idUser;\r\n\t}",
"public int getIdUser() {\n return idUser;\n }",
"public int getIdUser() {\n return idUser;\n }",
"public BigDecimal getUserId() {\r\n return userId;\r\n }",
... | [
"0.66110957",
"0.65841347",
"0.6472429",
"0.6472429",
"0.6449823",
"0.64495677",
"0.6384919",
"0.6384919",
"0.6383844",
"0.63666344",
"0.6334569",
"0.6333129",
"0.632954",
"0.632954",
"0.632954",
"0.632954",
"0.632954",
"0.632954",
"0.632954",
"0.632954",
"0.632954",
"0.632... | 0.631523 | 27 |
This method was generated by MyBatis Generator. This method sets the value of the database column cart.user_id | void setUserId(Long userId); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setIdUser(int value) {\n this.idUser = value;\n }",
"public void setIdUser(Integer idUser) {\r\n\t\tthis.idUser = idUser;\r\n\t}",
"public void setIdUser(String idUser) {\n\t\tthis.idUser = idUser;\n\t}",
"public void setId_user(int id_user) {\n this.id_user = id_user;\n }",
... | [
"0.6820207",
"0.6796424",
"0.673325",
"0.65101564",
"0.64974135",
"0.64936996",
"0.6260472",
"0.62046283",
"0.6147291",
"0.6138677",
"0.60888034",
"0.6085397",
"0.6085326",
"0.60817534",
"0.60817534",
"0.607306",
"0.60668546",
"0.60634357",
"0.60634357",
"0.60634357",
"0.6063... | 0.59875685 | 23 |
This method was generated by MyBatis Generator. This method returns the value of the database column cart.account_id | Long getAccountId(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Long getAccountID() {\n return accountID;\n }",
"public Long getAccountID() {\n return accountID;\n }",
"public Long getAccountID() {\n return accountID;\n }",
"public Long getAccountID() {\n return accountID;\n }",
"@Column(name = \"ACCOUNT_ID\")\n\tpublic String getAccountI... | [
"0.66051126",
"0.66051126",
"0.6545001",
"0.6545001",
"0.6523228",
"0.6440288",
"0.638846",
"0.6296956",
"0.6296956",
"0.6272104",
"0.61892396",
"0.613048",
"0.61276895",
"0.6126464",
"0.61159086",
"0.6099111",
"0.60968137",
"0.6096294",
"0.6085259",
"0.606959",
"0.60669154",... | 0.624984 | 10 |
This method was generated by MyBatis Generator. This method sets the value of the database column cart.account_id | void setAccountId(Long accountId); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setAccountID(Long value) {\n this.accountID = value;\n }",
"public void setAccountID(Long value) {\n this.accountID = value;\n }",
"public void setC_BankAccount_ID (int C_BankAccount_ID);",
"public void setAccountId(long value) {\n this.accountId = value;\n }",
"private void s... | [
"0.6538718",
"0.6538718",
"0.5980447",
"0.59796643",
"0.58469623",
"0.5841087",
"0.5828937",
"0.5821866",
"0.5753783",
"0.57024205",
"0.5700473",
"0.568041",
"0.56675446",
"0.5650544",
"0.56416786",
"0.5641577",
"0.56389165",
"0.56287557",
"0.56011784",
"0.5568627",
"0.556252... | 0.5970373 | 4 |
This method was generated by MyBatis Generator. This method returns the value of the database column cart.currency_id | Long getCurrencyId(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getCurrencyid() {\n return currencyid;\n }",
"public String getCurrencyID() {\n return currencyID;\n }",
"public String getCurrencyID() {\n return currencyID;\n }",
"public Integer getGameCurrencyid() {\n return gameCurrencyid;\n }",
"public int getC_Currency_I... | [
"0.6885996",
"0.6694154",
"0.6655002",
"0.65891093",
"0.6540197",
"0.6420639",
"0.59246635",
"0.5914547",
"0.5903429",
"0.5888425",
"0.58863115",
"0.5826865",
"0.58255935",
"0.58091336",
"0.57740664",
"0.574553",
"0.57345676",
"0.5721407",
"0.5711747",
"0.5709878",
"0.5705768... | 0.7298906 | 0 |
This method was generated by MyBatis Generator. This method sets the value of the database column cart.currency_id | void setCurrencyId(Long currencyId); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setC_Currency_ID (int C_Currency_ID);",
"public void setCurrencyID(String value) {\n this.currencyID = value;\n }",
"public Builder setCurrencyID(String value) {\n validate(fields()[10], value);\n this.currencyID = value;\n fieldSetFlags()[10] = true;\n return this; \n }"... | [
"0.7020092",
"0.6946696",
"0.6313533",
"0.6244764",
"0.61618483",
"0.6090322",
"0.6084822",
"0.6049668",
"0.5974194",
"0.5964261",
"0.58834237",
"0.5857634",
"0.5758677",
"0.57311296",
"0.57311296",
"0.5694171",
"0.5686156",
"0.56806815",
"0.55957204",
"0.5593188",
"0.5582315... | 0.708301 | 0 |
This method was generated by MyBatis Generator. This method returns the value of the database column cart.invoice_id | Long getInvoiceId(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int getC_Invoice_ID();",
"public int getInvoiceID(){\n return invoiceID;\n }",
"public Invoice getInvoiceByID(int invoiceID) throws SQLException {\n Invoice invoice;\n try (\n Connection conn = DriverManager.getConnection(Main.getDBPath());\n Prepare... | [
"0.6718042",
"0.66129583",
"0.62293273",
"0.62116045",
"0.61249334",
"0.6106101",
"0.6106101",
"0.61032933",
"0.6088305",
"0.6046141",
"0.5953279",
"0.59507394",
"0.5945045",
"0.58472705",
"0.58327836",
"0.5798381",
"0.57921284",
"0.5723351",
"0.568837",
"0.5685687",
"0.56212... | 0.7353237 | 0 |
This method was generated by MyBatis Generator. This method sets the value of the database column cart.invoice_id | void setInvoiceId(Long invoiceId); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setC_Invoice_ID (int C_Invoice_ID);",
"public static void setInvoiceData (final InvoiceData id)\n {\n invoiceData = id;\n }",
"Long getInvoiceId();",
"public void setInvoice(String invoice) {\n this.invoice = invoice;\n }",
"public void setInvoiceID(String invoiceID) {\n\t\tINVOI... | [
"0.6886397",
"0.63657826",
"0.62912196",
"0.6160014",
"0.609609",
"0.60567266",
"0.60547954",
"0.60262233",
"0.5920044",
"0.5712549",
"0.5671181",
"0.56549674",
"0.5643654",
"0.56128293",
"0.5605416",
"0.5591816",
"0.5587486",
"0.5579485",
"0.55779403",
"0.5563114",
"0.556120... | 0.72196 | 0 |
This method was generated by MyBatis Generator. This method returns the value of the database column cart.session_id | String getSessionId(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getCartId()\n\t{\n\t\treturn getCartId( getSession().getSessionContext() );\n\t}",
"public int getCartId() {\n return cartId;\n }",
"public String getID()\n\t{\n\t return this.sessionID;\n\t}",
"public long getId() {\n return session.getId();\n }",
"public String getSessi... | [
"0.6963223",
"0.6502517",
"0.64629954",
"0.6411483",
"0.63532203",
"0.62724745",
"0.62402505",
"0.6202927",
"0.6159228",
"0.6036103",
"0.6022362",
"0.6022362",
"0.6009586",
"0.6009586",
"0.5982376",
"0.5952974",
"0.5952974",
"0.5948948",
"0.59416777",
"0.59416777",
"0.5932972... | 0.0 | -1 |
This method was generated by MyBatis Generator. This method sets the value of the database column cart.session_id | void setSessionId(String sessionId); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public abstract void setIdSession(String id_session);",
"public void setCartId(final String value)\n\t{\n\t\tsetCartId( getSession().getSessionContext(), value );\n\t}",
"void setSessionID(java.lang.String sessionID);",
"public void setSessionId(long sessionId) {\n\t\tthis.sessionId = sessionId;\n\t}",
"pu... | [
"0.6662386",
"0.6656923",
"0.6296841",
"0.6182486",
"0.61391485",
"0.6071858",
"0.6044158",
"0.60395926",
"0.59486634",
"0.59486634",
"0.5917505",
"0.5890924",
"0.5866266",
"0.5860775",
"0.58253324",
"0.58098537",
"0.580724",
"0.579029",
"0.57435894",
"0.5743473",
"0.5743473"... | 0.5701232 | 25 |
This method was generated by MyBatis Generator. This method returns the value of the database column cart.access_token | String getAccessToken(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getAccess_token() {\r\n\t\treturn access_token;\r\n\t}",
"@Transient\n\tpublic String getAccessToken() {\n\t\treturn accessToken;\n\t}",
"public String getAccessToken() {\n return accessToken;\n }",
"public String getAccessToken() {\n return accessToken;\n }",
"public String ... | [
"0.6377385",
"0.6254379",
"0.6016134",
"0.6011968",
"0.5986344",
"0.5986344",
"0.5980054",
"0.5972847",
"0.5967328",
"0.5915846",
"0.58718246",
"0.5870715",
"0.58460647",
"0.5753931",
"0.5670165",
"0.5650454",
"0.56216484",
"0.5607775",
"0.5555368",
"0.5515126",
"0.54784226",... | 0.5551876 | 20 |
This method was generated by MyBatis Generator. This method sets the value of the database column cart.access_token | void setAccessToken(String accessToken); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setAccessToken (AccessToken accessToken)\n\t{\n\t\tthis.accessToken = accessToken;\n\t}",
"public static void setAccessToken(String accessToken) {\n }",
"public void setAccessToken(String accessToken) {\n mAccessToken = accessToken;\n retrieveAllUserData();\n }",
"public void ... | [
"0.58264184",
"0.5771705",
"0.57262456",
"0.56955934",
"0.56955934",
"0.56717193",
"0.5539091",
"0.5481961",
"0.54287714",
"0.5320685",
"0.5144524",
"0.51246274",
"0.5080985",
"0.50664514",
"0.5059186",
"0.5018502",
"0.5004958",
"0.5001706",
"0.50004727",
"0.49536026",
"0.486... | 0.5986372 | 0 |
This method was generated by MyBatis Generator. This method returns the value of the database column cart.hostname | String getHostname(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String hostname() {\n return this.innerProperties() == null ? null : this.innerProperties().hostname();\n }",
"@Column(length = 1024)\r\n @PlaceHolder(key = \"host\")\r\n public String getServerName() {\r\n return serverName;\r\n }",
"public String getHostname() {\n retu... | [
"0.6209076",
"0.6175357",
"0.60670084",
"0.60259455",
"0.5948638",
"0.5936063",
"0.58453304",
"0.5838108",
"0.5814961",
"0.57435465",
"0.57415193",
"0.5726562",
"0.56818265",
"0.5651801",
"0.56282216",
"0.5615487",
"0.55649406",
"0.55094063",
"0.5502508",
"0.5496947",
"0.5491... | 0.55203146 | 18 |
This method was generated by MyBatis Generator. This method sets the value of the database column cart.hostname | void setHostname(String hostname); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setHostname(String hostname) {\n this.hostname = hostname;\n }",
"@Column(length = 1024)\r\n @PlaceHolder(key = \"host\")\r\n public String getServerName() {\r\n return serverName;\r\n }",
"public void setHostname (String hostname) {\n this.hostname = hostname;\n ... | [
"0.5696876",
"0.5691504",
"0.56914103",
"0.5414627",
"0.5127804",
"0.507417",
"0.5051554",
"0.5015934",
"0.4973019",
"0.49344766",
"0.48881406",
"0.48711157",
"0.4855269",
"0.48343855",
"0.48244536",
"0.4765225",
"0.4760853",
"0.4742939",
"0.47403112",
"0.47342765",
"0.472516... | 0.584771 | 0 |
This method was generated by MyBatis Generator. This method returns the value of the database column cart.browser | String getBrowser(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getBrowser(){\n\t\tif (prop.getProperty(\"browser\") == null)\n\t\t\treturn \"\";\n\t\treturn prop.getProperty(\"browser\");\n\t}",
"public String getCartItem() {\n\t\tMobileElement el = driver.findElement(By.xpath(\"//android.view.View[@resource-id='\" + cart + \"']\"));\n\t\tList<MobileElement> e... | [
"0.6073994",
"0.59515595",
"0.567012",
"0.560597",
"0.5573588",
"0.5460714",
"0.5382962",
"0.53546125",
"0.5342839",
"0.5185033",
"0.5162208",
"0.51564455",
"0.5066995",
"0.5043946",
"0.50260305",
"0.49398246",
"0.48799133",
"0.48709676",
"0.48612213",
"0.48581016",
"0.485415... | 0.50553787 | 13 |
This method was generated by MyBatis Generator. This method sets the value of the database column cart.browser | void setBrowser(String browser); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static void setBrowser() {\n\t\t browser=\"Chrome\";\n\t }",
"public void setCartQuantity(int cartQuantity) {\n this.cartQuantity = cartQuantity;\n }",
"public void setBrowser(au.gov.asic.types.BrowserIdentifierType browser)\n {\n synchronized (monitor())\n ... | [
"0.49974698",
"0.4939228",
"0.49114478",
"0.48963425",
"0.48858914",
"0.48840323",
"0.47696942",
"0.47577798",
"0.47515807",
"0.47480664",
"0.47260213",
"0.4721526",
"0.47127137",
"0.47109315",
"0.46943048",
"0.46862575",
"0.46683985",
"0.46430025",
"0.46303317",
"0.4585825",
... | 0.5388815 | 0 |
This method was generated by MyBatis Generator. This method returns the value of the database column cart.latitude | Double getLatitude(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public BigDecimal getLatitude() {\n return latitude;\n }",
"public int getLatitude() {\n return latitude;\n }",
"public double latitude() {\n return this.latitude;\n }",
"public int getLatitude() {\n checkRep();\n return this.latitude;\n }",
"public double get... | [
"0.71553296",
"0.69095546",
"0.68496877",
"0.6772699",
"0.67252076",
"0.671157",
"0.6707242",
"0.6707242",
"0.6707242",
"0.6707242",
"0.6707242",
"0.6706831",
"0.6699033",
"0.66929793",
"0.66929793",
"0.66929793",
"0.66607815",
"0.66607815",
"0.66607815",
"0.66597104",
"0.663... | 0.6494687 | 34 |
This method was generated by MyBatis Generator. This method sets the value of the database column cart.latitude | void setLatitude(Double latitude); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setLatitude(double latitude){\n this.latitude = latitude;\n }",
"public void setLatitude(float latitude) { this.latitude = latitude; }",
"public void setLatitude(int latitude) {\n this.latitude = latitude;\n }",
"public void setLatitude(float latitude) {\n this.latitude = l... | [
"0.67886436",
"0.6708185",
"0.66160095",
"0.65633756",
"0.6559905",
"0.6549413",
"0.652045",
"0.65026426",
"0.65026426",
"0.6478617",
"0.64562637",
"0.64313215",
"0.63417137",
"0.6314869",
"0.63038194",
"0.62961465",
"0.62719893",
"0.62601393",
"0.6251766",
"0.6207752",
"0.61... | 0.6556462 | 5 |
This method was generated by MyBatis Generator. This method returns the value of the database column cart.longitude | Double getLongitude(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public BigDecimal getLongitude() {\n return longitude;\n }",
"public int getLongitude() {\n return longitude;\n }",
"public int getLongitude() {\n checkRep();\n return this.longitude;\n }",
"long getLongitude();",
"public int getLongitude() {\n return longitude_;\n... | [
"0.72350377",
"0.70811003",
"0.7073221",
"0.70611924",
"0.6963189",
"0.6952464",
"0.692479",
"0.69170076",
"0.688136",
"0.68773323",
"0.68773323",
"0.68773323",
"0.68773323",
"0.6866016",
"0.6866016",
"0.6866016",
"0.6866016",
"0.6858323",
"0.6836356",
"0.6833127",
"0.6802002... | 0.6893785 | 9 |
This method was generated by MyBatis Generator. This method sets the value of the database column cart.longitude | void setLongitude(Double longitude); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setLongitude(int longitude) {\n this.longitude = longitude;\n }",
"public void setLongitude(String longitude)\r\n {\r\n this.longitude = longitude; \r\n }",
"public void setLongitude(double longitude) {\n this.longitude = longitude;\n }",
"public void setLon... | [
"0.66438544",
"0.6582402",
"0.65144825",
"0.65144825",
"0.6480856",
"0.6471664",
"0.64158636",
"0.6381292",
"0.6381292",
"0.6234433",
"0.62272626",
"0.6196545",
"0.61430067",
"0.61313856",
"0.60960835",
"0.59775233",
"0.58915573",
"0.5856744",
"0.58426124",
"0.58417803",
"0.5... | 0.6565542 | 2 |
This method was generated by MyBatis Generator. This method returns the value of the database column cart.description | String getDescription(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Column(name = \"DESCRIPTION\", length = 200 )\n public String getDescription() {\n return description;\n }",
"@Column(name = \"description\", nullable = false)\n public String getDescription() {\n\treturn this.description;\n }",
"public String getDescription(){\n\n //returns the value of... | [
"0.67210245",
"0.65190345",
"0.6362071",
"0.62391144",
"0.6182266",
"0.61613",
"0.613497",
"0.6120456",
"0.6119436",
"0.6119436",
"0.6119436",
"0.6119436",
"0.61096376",
"0.6098001",
"0.6097585",
"0.6088054",
"0.60599905",
"0.6037616",
"0.6030874",
"0.60002875",
"0.59821635",... | 0.0 | -1 |
This method was generated by MyBatis Generator. This method sets the value of the database column cart.description | void setDescription(String description); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic void setDescription(java.lang.String description) {\n\t\t_buySellProducts.setDescription(description);\n\t}",
"public void setDescription(String newDesc){\n\n //assigns the value of newDesc to the description field\n this.description = newDesc;\n }",
"public void setDescription(Strin... | [
"0.6328621",
"0.6248911",
"0.6212973",
"0.61934054",
"0.6121065",
"0.61175406",
"0.61008227",
"0.60960966",
"0.60960966",
"0.6095528",
"0.6093039",
"0.6072457",
"0.6046342",
"0.60461146",
"0.6040609",
"0.6040609",
"0.6040609",
"0.6040609",
"0.6040609",
"0.6039396",
"0.6032823... | 0.0 | -1 |
This method was generated by MyBatis Generator. This method returns the value of the database column cart.notes | String getNotes(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getNotes() {\n return notes;\n }",
"public String getNotes() {\n\t\treturn notes;\n\t}",
"public String getNotes() {\n return notes;\n }",
"public java.lang.String getNotes() {\n return notes;\n }",
"public com.sforce.soap.enterprise.QueryResult getNotes() {\r\n ... | [
"0.6672972",
"0.6616841",
"0.6611926",
"0.660989",
"0.6511134",
"0.6490401",
"0.6490401",
"0.6483719",
"0.6481632",
"0.6459753",
"0.6449901",
"0.62876374",
"0.62770665",
"0.62770665",
"0.6230659",
"0.62124354",
"0.62124354",
"0.62059325",
"0.61959237",
"0.6152722",
"0.6121536... | 0.60716784 | 22 |
This method was generated by MyBatis Generator. This method sets the value of the database column cart.notes | void setNotes(String notes); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setNotes(String notes);",
"public void setNotes(com.sforce.soap.enterprise.QueryResult notes) {\r\n this.notes = notes;\r\n }",
"public void setNotes(String notes) {\n this.notes = notes;\n }",
"public void setNotes(String notes) {\n\t\tthis.notes = notes;\r\n\t}",
"public v... | [
"0.6321583",
"0.61673063",
"0.6161294",
"0.61551577",
"0.6155104",
"0.61067975",
"0.5981167",
"0.5891829",
"0.58658266",
"0.5737692",
"0.56839097",
"0.5625547",
"0.5569996",
"0.556373",
"0.5555134",
"0.5531265",
"0.55119413",
"0.5496335",
"0.5485245",
"0.5439857",
"0.54367244... | 0.6216077 | 1 |
This method was generated by MyBatis Generator. This method returns the value of the database column cart.default_card_last4 | String getDefaultCardLast4(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void setDefaultCardLast4(String defaultCardLast4);",
"public BigDecimal getOPTION4_SMART_DEFAULT() {\r\n return OPTION4_SMART_DEFAULT;\r\n }",
"public BigDecimal getOPTION4_SMART_DEFAULT() {\r\n return OPTION4_SMART_DEFAULT;\r\n }",
"public java.lang.String getGetBaseCardPriceResult() {\r... | [
"0.69298595",
"0.55189216",
"0.55189216",
"0.5464863",
"0.5379264",
"0.53666735",
"0.5297406",
"0.52799517",
"0.5239347",
"0.52013963",
"0.52006674",
"0.51587707",
"0.51483184",
"0.51483184",
"0.51276714",
"0.51005995",
"0.5059426",
"0.5044829",
"0.5044788",
"0.5024456",
"0.5... | 0.7431877 | 0 |
This method was generated by MyBatis Generator. This method sets the value of the database column cart.default_card_last4 | void setDefaultCardLast4(String defaultCardLast4); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"String getDefaultCardLast4();",
"public void setIdCard(String idCard) {\n\t\tthis.idCard = idCard;\n\t}",
"public void setOPTION4_SMART_DEFAULT(BigDecimal OPTION4_SMART_DEFAULT) {\r\n this.OPTION4_SMART_DEFAULT = OPTION4_SMART_DEFAULT;\r\n }",
"public void setOPTION4_SMART_DEFAULT(BigDecimal OPTION... | [
"0.64483386",
"0.51308346",
"0.5078011",
"0.5078011",
"0.50480866",
"0.503613",
"0.502325",
"0.5016014",
"0.5008349",
"0.50017387",
"0.49662024",
"0.49618688",
"0.49618688",
"0.4912614",
"0.48767167",
"0.48682287",
"0.48411396",
"0.4832721",
"0.48044628",
"0.4786687",
"0.4782... | 0.73781323 | 0 |
This method was generated by MyBatis Generator. This method returns the value of the database column cart.subtotal | BigDecimal getSubtotal(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public double getTotal(){\n\t\tBigDecimal total =BigDecimal.valueOf(0);\n\t\tfor(CartItem cartItem : map.values()){\n\t\t\ttotal = total.add(BigDecimal.valueOf(cartItem.getSubtotal())) ;\n\t\t}\t\t\n\t\treturn total.doubleValue();\n\t}",
"BigDecimal getGrandTotal();",
"public double getTotalCartValue();",
"p... | [
"0.6869378",
"0.6524701",
"0.6463159",
"0.64559513",
"0.6401868",
"0.64010423",
"0.64010423",
"0.6361823",
"0.63264227",
"0.6315313",
"0.63135827",
"0.63116294",
"0.6300956",
"0.6300956",
"0.6253088",
"0.6251379",
"0.623719",
"0.6226156",
"0.62149155",
"0.62149155",
"0.617459... | 0.68400717 | 1 |
This method was generated by MyBatis Generator. This method sets the value of the database column cart.subtotal | void setSubtotal(BigDecimal subtotal); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setGrandTotal (BigDecimal GrandTotal);",
"public void setGrandTotal (BigDecimal GrandTotal);",
"void setTotal(BigDecimal total);",
"private BigDecimal calculateSubtotal(List<CartItem> cartItems) {\n BigDecimal total = BigDecimal.ZERO;\n for (CartItem cartItem : cartItems) {\n ... | [
"0.6381165",
"0.6381165",
"0.6194304",
"0.61768097",
"0.6085763",
"0.59400755",
"0.5921304",
"0.58499056",
"0.5837885",
"0.5782802",
"0.57676697",
"0.5758961",
"0.575541",
"0.5738653",
"0.5718851",
"0.5706031",
"0.5706031",
"0.568768",
"0.56792206",
"0.563834",
"0.5630814",
... | 0.6682156 | 0 |
This method was generated by MyBatis Generator. This method returns the value of the database column cart.discount | BigDecimal getDiscount(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getDiscount() {\n return discount;\n }",
"public int getDiscount() {\n\t\treturn discount;\n\t}",
"public java.math.BigDecimal getDiscount () {\n\t\treturn discount;\n\t}",
"float getDiscount();",
"public double getDiscount();",
"@Override\n\tpublic double calcDiscount() {\n\t\tre... | [
"0.735538",
"0.722362",
"0.71682835",
"0.705271",
"0.6968557",
"0.6918489",
"0.68699664",
"0.6831917",
"0.6756565",
"0.67326915",
"0.66859674",
"0.6508993",
"0.64984256",
"0.64617646",
"0.6443492",
"0.6440297",
"0.62848616",
"0.6235825",
"0.6232663",
"0.6204786",
"0.6194729",... | 0.71639884 | 3 |
This method was generated by MyBatis Generator. This method sets the value of the database column cart.discount | void setDiscount(BigDecimal discount); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setDiscount (java.math.BigDecimal discount) {\n\t\tthis.discount = discount;\n\t}",
"public void setDiscountPrice(BigDecimal discountPrice) {\n this.discountPrice = discountPrice;\n }",
"void setDiscount(float sconto);",
"public void setDiscount(int discountValue) {\n\t\tthis.discount =... | [
"0.73944795",
"0.7097765",
"0.69414544",
"0.6780308",
"0.6757432",
"0.6750669",
"0.6646403",
"0.65736",
"0.6543591",
"0.64349043",
"0.6337045",
"0.63038504",
"0.6280588",
"0.625461",
"0.62440836",
"0.61862224",
"0.61230826",
"0.6105345",
"0.6103325",
"0.60837203",
"0.6037415"... | 0.73022676 | 1 |
This method was generated by MyBatis Generator. This method returns the value of the database column cart.shipping | BigDecimal getShipping(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public ReturnShipping getShipping() {\n return (ReturnShipping) get(\"shipping\");\n }",
"public com.jspgou.cms.entity.Shipping getShipping () {\r\n\t\treturn shipping;\r\n\t}",
"public double getshippingcost() {\r\n\t\treturn shippingcost;\r\n\t}",
"public MMDecimal getShippingAmount() {\r\n ... | [
"0.72150004",
"0.7027446",
"0.6978591",
"0.69277614",
"0.6714303",
"0.6684136",
"0.640251",
"0.63503546",
"0.631208",
"0.6250816",
"0.62272924",
"0.6215457",
"0.6125408",
"0.6095516",
"0.5985154",
"0.59780383",
"0.5963383",
"0.59628487",
"0.5948004",
"0.5939649",
"0.5831602",... | 0.7305641 | 0 |
This method was generated by MyBatis Generator. This method sets the value of the database column cart.shipping | void setShipping(BigDecimal shipping); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setShipping (com.jspgou.cms.entity.Shipping shipping) {\r\n\t\tthis.shipping = shipping;\r\n\t}",
"public void setShippingCost(double shippingCost) {\n\t\tthis.shippingCost = shippingCost;\n\t}",
"public void setShippingAddressInCart(Address addr);",
"Update withReturnShipping(ReturnShipping retu... | [
"0.6910513",
"0.6705655",
"0.6600109",
"0.65691006",
"0.6476709",
"0.64607066",
"0.64078504",
"0.6276948",
"0.62022585",
"0.6077085",
"0.6068565",
"0.60576546",
"0.60349196",
"0.6002938",
"0.5992359",
"0.5945335",
"0.5870512",
"0.5843298",
"0.5836239",
"0.5740078",
"0.5732033... | 0.7419605 | 0 |
This method was generated by MyBatis Generator. This method returns the value of the database column cart.tax | BigDecimal getTax(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public BigDecimal getTax() {\n return tax;\n }",
"public double getTax(){\n\n return this.tax;\n }",
"public double getTax() {\r\n\r\n return getSubtotal() * 0.06;\r\n\r\n }",
"public double getTax() {\n return tax_;\n }",
"public Double getTax();",
"public double ge... | [
"0.69475466",
"0.6935269",
"0.6684208",
"0.65997875",
"0.6571789",
"0.65688246",
"0.64672303",
"0.63688606",
"0.6335199",
"0.6306003",
"0.62426716",
"0.6216986",
"0.6197134",
"0.61381733",
"0.6136275",
"0.6101621",
"0.61011773",
"0.6068022",
"0.60671806",
"0.606643",
"0.60520... | 0.68995124 | 2 |
This method was generated by MyBatis Generator. This method sets the value of the database column cart.tax | void setTax(BigDecimal tax); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setTax(BigDecimal tax) {\n this.tax = tax;\n }",
"public void setTax(Double tax);",
"public void setTaxPercentage(double newTax) {\n tax = newTax;\n }",
"public BigDecimal getTax() {\n return tax;\n }",
"public void setTaxAmtPriceStd (BigDecimal TaxAmtPriceStd);"... | [
"0.6860913",
"0.65391654",
"0.6058802",
"0.60393834",
"0.5982279",
"0.5981093",
"0.59795344",
"0.59657913",
"0.5945108",
"0.5890065",
"0.5858817",
"0.58024496",
"0.57990897",
"0.576804",
"0.57625675",
"0.57600695",
"0.57353866",
"0.56850773",
"0.5676125",
"0.56539875",
"0.565... | 0.69335365 | 0 |
This method was generated by MyBatis Generator. This method returns the value of the database column cart.total | BigDecimal getTotal(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public double getTotal(){\n\t\tBigDecimal total =BigDecimal.valueOf(0);\n\t\tfor(CartItem cartItem : map.values()){\n\t\t\ttotal = total.add(BigDecimal.valueOf(cartItem.getSubtotal())) ;\n\t\t}\t\t\n\t\treturn total.doubleValue();\n\t}",
"public Long total() {\n return this.total;\n }",
"public BigDe... | [
"0.6967982",
"0.69007236",
"0.68795025",
"0.68795025",
"0.6782091",
"0.6774522",
"0.6763438",
"0.66781574",
"0.6650977",
"0.6596562",
"0.6571382",
"0.65416604",
"0.65202355",
"0.65202355",
"0.6519604",
"0.6519604",
"0.6496052",
"0.649132",
"0.64882576",
"0.64802796",
"0.64682... | 0.6524976 | 12 |
This method was generated by MyBatis Generator. This method sets the value of the database column cart.total | void setTotal(BigDecimal total); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setTotal(int value) {\n this.total = value;\n }",
"public void setTotal(int total) {\n this.total = total;\n }",
"public void setTotal(BigDecimal total) {\n this.total = total;\n }",
"public void setTotal(BigDecimal total) {\n this.total = total;\n }",
"v... | [
"0.67521334",
"0.66634744",
"0.6647619",
"0.6647619",
"0.64572966",
"0.6412813",
"0.6382654",
"0.6369895",
"0.63621974",
"0.62977725",
"0.62977725",
"0.62407994",
"0.61996263",
"0.61979586",
"0.6145805",
"0.61444885",
"0.61444885",
"0.61444885",
"0.60993034",
"0.60066557",
"0... | 0.69084746 | 0 |
This method was generated by MyBatis Generator. This method returns the value of the database column cart.checked_out | boolean isCheckedOut(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int getCheckOut() {\n return checkOut;\n }",
"public Integer getCheckedin() {\n return checkedin;\n }",
"Date getCheckedOut();",
"Date getCheckedOutDate();",
"@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.Integer getWorkitemsCheckedOut() {\n return (java.lang.I... | [
"0.6321211",
"0.5886374",
"0.58641124",
"0.571978",
"0.5459698",
"0.54432863",
"0.5352773",
"0.5349435",
"0.5128072",
"0.5120195",
"0.50964916",
"0.5036866",
"0.49593595",
"0.4938138",
"0.48852944",
"0.4868516",
"0.48363575",
"0.47778437",
"0.47702554",
"0.46923426",
"0.46735... | 0.51264334 | 9 |
This method was generated by MyBatis Generator. This method sets the value of the database column cart.checked_out | void setCheckedOut(boolean checkedOut); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void setCheckedOutDate(Date checkedOutDate);",
"public void setWorkitemsCheckedOut(java.lang.Integer value) {\n __getInternalInterface().setFieldValue(WORKITEMSCHECKEDOUT_PROP.get(), value);\n }",
"public void setWorkitemsCheckedOut(java.lang.Integer value) {\n __getInternalInterface().setFieldValue... | [
"0.6281853",
"0.5920225",
"0.59071404",
"0.564457",
"0.52384454",
"0.5094425",
"0.50590026",
"0.50538254",
"0.49784577",
"0.4973097",
"0.49231654",
"0.49138102",
"0.48431137",
"0.48426566",
"0.4826521",
"0.4825859",
"0.48057443",
"0.47659513",
"0.47648674",
"0.4753722",
"0.47... | 0.64244497 | 0 |
This method was generated by MyBatis Generator. This method returns the value of the database column cart.invoiced | boolean isInvoiced(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Timestamp getDateInvoiced();",
"public int getUlIdInvoInvoice()\r\n {\r\n return this._ulIdInvoInvoice;\r\n }",
"public int getCartId() {\n return cartId;\n }",
"public int getCartQuantity() {\n return cartQuantity;\n }",
"@Column(name = \"cash_gained\", precision = ... | [
"0.5772813",
"0.55849814",
"0.5323576",
"0.5262138",
"0.51178896",
"0.5113692",
"0.51080036",
"0.50899625",
"0.5078982",
"0.50661796",
"0.5052034",
"0.5024734",
"0.50081027",
"0.5005781",
"0.4988035",
"0.49822655",
"0.49598458",
"0.49445736",
"0.49405006",
"0.4896574",
"0.488... | 0.47447369 | 34 |
This method was generated by MyBatis Generator. This method sets the value of the database column cart.invoiced | void setInvoiced(boolean invoiced); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void setInvoicedDate(Date invoicedDate);",
"public void setDateInvoiced (Timestamp DateInvoiced);",
"public void setInvoiceNumber(int invoicenum) {\n invoiceNumber = invoicenum;\n }",
"public void setC_Invoice_ID (int C_Invoice_ID);",
"void setInvoiceId(Long invoiceId);",
"@Override\n\tpublic i... | [
"0.5888701",
"0.5711893",
"0.54148114",
"0.5306458",
"0.51567006",
"0.5105568",
"0.5062921",
"0.5022091",
"0.5018609",
"0.49864414",
"0.49835053",
"0.49610105",
"0.49492788",
"0.49263698",
"0.48536322",
"0.482685",
"0.48174873",
"0.47991505",
"0.47809032",
"0.4745615",
"0.474... | 0.5915853 | 0 |
This method was generated by MyBatis Generator. This method returns the value of the database column cart.expired | boolean isExpired(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getExpired() {\n return (String) getAttributeInternal(EXPIRED);\n }",
"public Integer getExpiry() {\n return expiry;\n }",
"public long getExpiry() {\n return this.expiry;\n }",
"public boolean hasExpire() {\n return result.hasExpire();\n }",
"pub... | [
"0.6294228",
"0.5902958",
"0.58852065",
"0.58674026",
"0.58674026",
"0.58674026",
"0.58428925",
"0.57554436",
"0.57554436",
"0.57554436",
"0.5715536",
"0.5698066",
"0.5677731",
"0.5677731",
"0.56399745",
"0.5621356",
"0.55906224",
"0.55820924",
"0.5562563",
"0.5557733",
"0.55... | 0.51817304 | 72 |
This method was generated by MyBatis Generator. This method sets the value of the database column cart.expired | void setExpired(boolean expired); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void setExpiredDate(Date expiredDate);",
"public void setExpired(String value) {\n setAttributeInternal(EXPIRED, value);\n }",
"@Override\n public void setExpiration( Date arg0)\n {\n \n }",
"public void setExpiredSessions(long expiredSessions);",
"public void setExpirationDate(ja... | [
"0.63026375",
"0.6194567",
"0.5713604",
"0.57055223",
"0.5477068",
"0.5419688",
"0.5411704",
"0.53973335",
"0.53953654",
"0.53953654",
"0.53953654",
"0.5374267",
"0.53508055",
"0.53262967",
"0.53262967",
"0.53262967",
"0.53262967",
"0.5301512",
"0.52954274",
"0.5281486",
"0.5... | 0.61570525 | 2 |
This method was generated by MyBatis Generator. This method returns the value of the database column cart.created_date | Date getCreatedDate(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic Date getCreated_date() {\n\t\treturn _buySellProducts.getCreated_date();\n\t}",
"@Basic( optional = true )\n\t@Column( name = \"date_created\" )\n\tpublic Date getDateCreated() {\n\t\treturn this.dateCreated;\n\t\t\n\t}",
"public Long getCreatedDate() {\r\n\t\treturn createdDate;\r\n\t}",
... | [
"0.70179623",
"0.68917483",
"0.68173844",
"0.67938656",
"0.6760042",
"0.6757301",
"0.67467946",
"0.67160183",
"0.67160183",
"0.67124915",
"0.67124915",
"0.67124915",
"0.67124915",
"0.67033005",
"0.666826",
"0.666826",
"0.6665598",
"0.6665598",
"0.6659416",
"0.6655599",
"0.665... | 0.6725452 | 7 |
This method was generated by MyBatis Generator. This method sets the value of the database column cart.created_date | void setCreatedDate(Date createdDate); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic void setCreated_date(Date created_date) {\n\t\t_buySellProducts.setCreated_date(created_date);\n\t}",
"public void setDateCreated(Date dateCreated);",
"public void setCreatedDate(Date createdDate);",
"public void setCreatedDate(Date value) {\n this.createdDate = value;\n }",
"... | [
"0.6991116",
"0.6866656",
"0.68382925",
"0.6691868",
"0.6691868",
"0.6678147",
"0.6650003",
"0.66335887",
"0.66335887",
"0.66335887",
"0.662894",
"0.6582106",
"0.6582106",
"0.65397656",
"0.6494467",
"0.64937776",
"0.64937776",
"0.64937776",
"0.64791805",
"0.64677465",
"0.6374... | 0.6865896 | 2 |
This method was generated by MyBatis Generator. This method returns the value of the database column cart.expired_date | Date getExpiredDate(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Date getExpireDate() {\n return expireDate;\n }",
"public Date getExpireDate() {\n return expireDate;\n }",
"public Date getExpireDate() {\n return expireDate;\n }",
"public Date getExpireDate() {\n\t\treturn expireDate;\n\t}",
"@gw.internal.gosu.parser.ExtendedProperty... | [
"0.6373579",
"0.6373579",
"0.6373579",
"0.6242059",
"0.623629",
"0.6196855",
"0.6140359",
"0.6135439",
"0.61313206",
"0.6114777",
"0.60643554",
"0.6055542",
"0.6039183",
"0.6039183",
"0.6021225",
"0.59827703",
"0.5976587",
"0.5956107",
"0.59491247",
"0.59491247",
"0.5925465",... | 0.6428884 | 0 |
This method was generated by MyBatis Generator. This method sets the value of the database column cart.expired_date | void setExpiredDate(Date expiredDate); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setExpirationDate(java.util.Date value);",
"public void setExpirationDate(Date expirationDate) {\r\n this.expirationDate = expirationDate;\r\n }",
"public void setExpireDate(Date expireDate) {\n this.expireDate = expireDate;\n }",
"public void setExpireDate(Date expireDate) {\... | [
"0.6383944",
"0.6239579",
"0.6214479",
"0.6214479",
"0.6214479",
"0.6214479",
"0.6184739",
"0.6183778",
"0.61755824",
"0.6139058",
"0.61322564",
"0.6102105",
"0.606407",
"0.6052651",
"0.6052651",
"0.60463184",
"0.60279596",
"0.6011877",
"0.6011877",
"0.6011877",
"0.5962034",
... | 0.7114496 | 0 |
This method was generated by MyBatis Generator. This method returns the value of the database column cart.checked_out_date | Date getCheckedOutDate(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"Date getCheckedOut();",
"void setCheckedOutDate(Date checkedOutDate);",
"Date getCheckedIn();",
"public String getPayoutDate() {\n return payoutDate;\n }",
"public Date getCheckinDate() {\n return checkinDate;\n }",
"public Date getCheckoutDate() {\n return checkoutDate;\n }",
"... | [
"0.71589607",
"0.6646603",
"0.6306444",
"0.60457605",
"0.57593584",
"0.5700716",
"0.54129475",
"0.5365112",
"0.53215706",
"0.52549934",
"0.5160012",
"0.5084506",
"0.4956883",
"0.4919349",
"0.4914359",
"0.49130765",
"0.48401174",
"0.48242486",
"0.47918603",
"0.47900397",
"0.47... | 0.73762405 | 0 |
This method was generated by MyBatis Generator. This method sets the value of the database column cart.checked_out_date | void setCheckedOutDate(Date checkedOutDate); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"Date getCheckedOutDate();",
"Date getCheckedOut();",
"public void setCheckinDate(Date checkin_date) {\n this.checkinDate = checkin_date;\n }",
"public void setCheckoutDate(Date checkout_date) {\n this.checkoutDate = checkout_date;\n }",
"public void clickCalendarCheckOutDate() {\n\t\tca... | [
"0.6538321",
"0.63177216",
"0.5881731",
"0.56835186",
"0.5680239",
"0.5539769",
"0.5512989",
"0.54717225",
"0.5443239",
"0.530826",
"0.5275441",
"0.52458125",
"0.51907825",
"0.5126412",
"0.508141",
"0.5040194",
"0.49618486",
"0.49245524",
"0.4900532",
"0.48922327",
"0.4890251... | 0.77524716 | 0 |
This method was generated by MyBatis Generator. This method returns the value of the database column cart.invoiced_date | Date getInvoicedDate(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Timestamp getDateInvoiced();",
"public Date getInDate() {\r\n return inDate;\r\n }",
"public Date getDateInvoice() {\n return dateInvoice;\n }",
"public java.util.Date getInvoiceDate () {\n\t\treturn invoiceDate;\n\t}",
"void setInvoicedDate(Date invoicedDate);",
"public org.ex... | [
"0.65908116",
"0.6256648",
"0.6166295",
"0.6161152",
"0.6038495",
"0.58993936",
"0.58043236",
"0.5714858",
"0.56430984",
"0.56337917",
"0.56215894",
"0.5603531",
"0.55621874",
"0.5539263",
"0.55037504",
"0.5474115",
"0.5437466",
"0.54115826",
"0.53996956",
"0.5360125",
"0.534... | 0.709045 | 0 |
This method was generated by MyBatis Generator. This method sets the value of the database column cart.invoiced_date | void setInvoicedDate(Date invoicedDate); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setDateInvoiced (Timestamp DateInvoiced);",
"public void setInDate(Date inDate) {\r\n this.inDate = inDate;\r\n }",
"public void setDateInvoice(Date dateInvoice) {\n this.dateInvoice = dateInvoice;\n }",
"Date getInvoicedDate();",
"public void setInvoiceDate (java.util.Date ... | [
"0.67623067",
"0.6639204",
"0.63014716",
"0.6204411",
"0.6172839",
"0.602015",
"0.58412534",
"0.57973415",
"0.56718415",
"0.5665447",
"0.5660034",
"0.56420046",
"0.56116855",
"0.5581734",
"0.5576581",
"0.54901767",
"0.5466496",
"0.54532695",
"0.5443961",
"0.54287314",
"0.5416... | 0.7685065 | 0 |
This method was generated by MyBatis Generator. This method returns the value of the database column cart.last_updated | Date getUpdatedDate(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public long getDateRecordLastUpdated(){\n return dateRecordLastUpdated;\n }",
"public Timestamp getLastUpdated() {\n return lastUpdated;\n }",
"public Date getLastUpdated() {\n return lastUpdated;\n }",
"public Date getLastUpdated() {\n return lastUpdated;\n }",
"pub... | [
"0.709139",
"0.68871516",
"0.6791569",
"0.6791569",
"0.6791569",
"0.67828226",
"0.6695419",
"0.6663672",
"0.66394997",
"0.6631137",
"0.6601198",
"0.6593047",
"0.65831596",
"0.6549953",
"0.6549953",
"0.6549953",
"0.6549953",
"0.6549953",
"0.6549953",
"0.6549953",
"0.6528151",
... | 0.62671596 | 95 |
This method was generated by MyBatis Generator. This method sets the value of the database column cart.last_updated | void setUpdatedDate(Date updatedDate); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setLastUpdated(Date lastUpdated) {\n this.lastUpdated = lastUpdated;\n }",
"public void setLastUpdated(Date lastUpdated) {\n this.lastUpdated = lastUpdated;\n }",
"public void setLastUpdated(Date lastUpdated) {\n this.lastUpdated = lastUpdated;\n }",
"@Override\n\tpu... | [
"0.64983124",
"0.64983124",
"0.64983124",
"0.64530766",
"0.63935286",
"0.6220264",
"0.6220264",
"0.61509097",
"0.61418337",
"0.61418337",
"0.61037344",
"0.6041754",
"0.60085565",
"0.5988584",
"0.59550315",
"0.5937877",
"0.59360844",
"0.5914207",
"0.5886238",
"0.58641464",
"0.... | 0.5857644 | 21 |
MyTestClass myClass1 = new MyTestClass(); MyTestClass myClass2 = new MyTestClass(); System.out.println("================myclass1===================="); System.out.println("i: " + myClass1.i); System.out.println("j: " + MyTestClass.j); System.out.println("================myclass2===================="); System.out.printl... | public static void main(String[] args) {
//
// System.out.println("================myclass2====================");
// System.out.println("i: " + myClass2.i);
// System.out.println("j: " + MyTestClass.j);
MyTestClass1 myTestClass1 = new MyTestClass1();
StringBuffer buffer... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static void main(String[] args) {\n\t\t\n\t/* MyFirstÇlass my1 = new MyFirstClass(); //my -> reference variable \n\t\tMyFirstÇlass my2 = new MyFirstClass();\n\t\tMyFirstÇlass my3 = new MyFirstClass();\n\t\tMyFirstÇlass my4 = new MyFirstClass();\n\t*/\n\t\n\t\tSystem.out.println(my1.myint);\n\t\tmy1.info();... | [
"0.63760203",
"0.60351133",
"0.5921085",
"0.5894623",
"0.5797387",
"0.5788867",
"0.57628167",
"0.57299495",
"0.56691986",
"0.56621325",
"0.5652585",
"0.56496954",
"0.5645493",
"0.56300235",
"0.5623435",
"0.5603339",
"0.55921936",
"0.5570237",
"0.5562974",
"0.55348337",
"0.548... | 0.60468334 | 1 |
/ReentrantReadWriteLock reentrantReadWriteLock = new ReentrantReadWriteLock(); ReentrantLock reentrantLock = new ReentrantLock(); | public static void main(String[] args) {
Myqueue myqueue = new Myqueue();
new Thread(() -> {
myqueue.write("读锁和写锁互斥");
}, "WRITE \t").start();
for (int i = 1; i <= 100; i++) {
new Thread(() -> {
myqueue.read();
}, "READ \t").start();
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public SimpleReadWriteLock() {\n\n\t\treaderLock = new ReadLock();\n\t\twriterLock = new WriteLock();\n\t\treaders = 0;\n\t\twriters = 0;\n\t\tthis.lock = this;\n\t}",
"public abstract ReentrantLock getLock();",
"public LockSync() {\n lock = new ReentrantLock();\n }",
"public ReadWriteLockObjectHol... | [
"0.76920384",
"0.74544775",
"0.7287256",
"0.70740306",
"0.6871934",
"0.68131024",
"0.68121547",
"0.68025297",
"0.6801718",
"0.6800652",
"0.66314834",
"0.6600293",
"0.6571948",
"0.65683275",
"0.6545058",
"0.6539826",
"0.6513905",
"0.64908886",
"0.64723325",
"0.6469208",
"0.645... | 0.0 | -1 |
Sorts a list using the mergesort algorithm. | public List sort(List list) {
assert list != null : "list cannot be null";
return mergeSublists(createSublists(list));
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static <T extends Comparable<? super T>> void mergeSort(List<T> list){\n if(list.size() > 1){\n mergeSort(list, 0, (list.size()/2), list.size() - 1, (T[])new Comparable[list.size()]);\n }\n }",
"public static void sort(int[] mergeList) {\n for(int i = 0; i < mergeList.length... | [
"0.77492666",
"0.7298772",
"0.72366685",
"0.708986",
"0.69988644",
"0.69728315",
"0.6947096",
"0.69270915",
"0.68850493",
"0.6872151",
"0.68706846",
"0.6864551",
"0.6841041",
"0.6806824",
"0.6790865",
"0.6756082",
"0.6743043",
"0.6741711",
"0.6736484",
"0.6718251",
"0.6718251... | 0.6758804 | 15 |
/ JADX WARNING: Code restructure failed: missing block: B:14:0x0034, code lost: r5 = r4.mEnqueuedRootViewInit; / JADX WARNING: Code restructure failed: missing block: B:15:0x0036, code lost: monitorenter(r5); / JADX WARNING: Code restructure failed: missing block: B:18:0x0041, code lost: if (r4.mEnqueuedRootViewInit.co... | private void tryInitializeHandlerForReactRootView(int r5) {
/*
r4 = this;
com.facebook.react.bridge.ReactApplicationContext r0 = r4.getReactApplicationContext()
java.lang.Class<com.facebook.react.uimanager.UIManagerModule> r1 = com.facebook.react.uimanager.UIManagerModule.cla... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void M(android.view.View r6) {\n /*\n r5 = this;\n r0 = \"v\";\n kotlin.jvm.internal.i.f(r6, r0);\n r6 = r5.this$0;\n r6 = r6.ayL;\n r0 = 0;\n if (r6 == 0) goto L_0x001a;\n L_0x000f:\n r6 = r6.Km();\n ... | [
"0.6191135",
"0.61769813",
"0.6127008",
"0.6097951",
"0.605036",
"0.60324544",
"0.6030797",
"0.6016291",
"0.6003631",
"0.5981619",
"0.59399265",
"0.5937356",
"0.5929714",
"0.587394",
"0.5864775",
"0.5828384",
"0.58274657",
"0.5809766",
"0.5806036",
"0.57286936",
"0.5722434",
... | 0.746027 | 0 |
if (mContext != null) Glide.with(mContext).load(contents.get(position)).into(holder.image); | @SuppressLint("SetTextI18n")
@Override
public void onBindViewHolder(final ViewHolder holder, final int position) {
if (position%5==0){
holder.category_item.setBackground(mContext.getResources().getDrawable(R.drawable.men_fashoin1));
}else if (position%5==1){
holder.categ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void onBindViewHolder(RecyclerView.ViewHolder holder, int position) {\n\n GlideApp.with(mContext)\n .load(data.get(position).getFilePath())\n .thumbnail(0.5f)\n //.override(200,200)\n //.crossFade()\n //.diskCac... | [
"0.72483176",
"0.7017925",
"0.68611807",
"0.67960906",
"0.6737179",
"0.6716036",
"0.66757476",
"0.66503125",
"0.66185653",
"0.66131175",
"0.6578946",
"0.6577418",
"0.65771526",
"0.65755534",
"0.65434957",
"0.6528781",
"0.6525968",
"0.6524841",
"0.6520485",
"0.65105397",
"0.64... | 0.0 | -1 |
/ Constructor for Agent Initialization | public DayTradeStrategy(int seed) {
/* If you need some initialization of e.g., instance variables
write here.
*/
fRandom = new Random(seed); // Initialization of random sequence.
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void initialize (ZyniAgent agent, Object ... args);",
"public QLearnAgent() {\n\t\tthis(name);\t\n\t}",
"public ClientNaiveAgent() {\n // the default ip is the localhost\n ar = new ClientActionRobotJava(\"127.0.0.1\");\n tp = new TrajectoryPlanner();\n randomGenerator = new Random()... | [
"0.7769604",
"0.75220734",
"0.74540806",
"0.7436912",
"0.73294073",
"0.7324281",
"0.7226378",
"0.72234166",
"0.6943622",
"0.6850318",
"0.68124163",
"0.6796002",
"0.67583793",
"0.67259896",
"0.67232484",
"0.6690102",
"0.6640664",
"0.66180533",
"0.66180533",
"0.66072094",
"0.66... | 0.0 | -1 |
/ Method of making order. If you submit a single order in one period, keep it as it is. If you want to submit several orders in one period, prepare methods other than getOrder and repeat orderRequest. | public void action(int[] spotPrices, int[] futurePrices, int pos,
long money, int restDay) {
/* Class order has instance variables as follows
order.price: limit price,
order.quant: quantity,
order.buysell: no order(0), sell(1) or buy(2)
*/
/* decide 'order... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void generateAndSubmitOrder()\n {\n OrderSingle order = Factory.getInstance().createOrderSingle();\n order.setOrderType(OrderType.Limit);\n order.setPrice(BigDecimal.ONE);\n order.setQuantity(BigDecimal.TEN);\n order.setSide(Side.Buy);\n order.setInstrument(new ... | [
"0.7703311",
"0.72652054",
"0.7127484",
"0.6930155",
"0.6927135",
"0.6810379",
"0.6722378",
"0.6712871",
"0.66500205",
"0.66239965",
"0.65756476",
"0.65555316",
"0.65390325",
"0.65209454",
"0.65203756",
"0.6496633",
"0.6456895",
"0.6416524",
"0.6413798",
"0.64071995",
"0.6357... | 0.0 | -1 |
/ Method of making single order. Implement your trading org.umart.strategy rewriting This method | public Order getBuyOrder(int[] spotPrices, int[] futurePrices, int pos,
long money, int restDay) {
/* Information available for trading:
spotPrices[]: Time series of spot prices. It provides 120 elements from spotPrices[0]
to spotPrices[119]. The element spotPrices[11... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void generateAndSubmitOrder()\n {\n OrderSingle order = Factory.getInstance().createOrderSingle();\n order.setOrderType(OrderType.Limit);\n order.setPrice(BigDecimal.ONE);\n order.setQuantity(BigDecimal.TEN);\n order.setSide(Side.Buy);\n order.setInstrument(new ... | [
"0.744848",
"0.72196424",
"0.6716961",
"0.6670157",
"0.66171527",
"0.6509445",
"0.64916927",
"0.64562047",
"0.6357755",
"0.63489354",
"0.63466686",
"0.63378495",
"0.63344145",
"0.6333748",
"0.6309102",
"0.6292636",
"0.6287977",
"0.6276996",
"0.62652177",
"0.6260606",
"0.62577... | 0.0 | -1 |
/ Method of making single order. Implement your trading org.umart.strategy rewriting This method | public Order getSellOrder(int[] spotPrices, int[] futurePrices, int pos,
long money, int restDay) {
/* Information available for trading:
spotPrices[]: Time series of spot prices. It provides 120 elements from spotPrices[0]
to spotPrices[119]. The element spotPrices[... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void generateAndSubmitOrder()\n {\n OrderSingle order = Factory.getInstance().createOrderSingle();\n order.setOrderType(OrderType.Limit);\n order.setPrice(BigDecimal.ONE);\n order.setQuantity(BigDecimal.TEN);\n order.setSide(Side.Buy);\n order.setInstrument(new ... | [
"0.744848",
"0.72196424",
"0.6716961",
"0.6670157",
"0.66171527",
"0.6509445",
"0.64916927",
"0.64562047",
"0.6357755",
"0.63489354",
"0.63466686",
"0.63378495",
"0.63344145",
"0.6333748",
"0.6309102",
"0.6292636",
"0.6287977",
"0.6276996",
"0.62652177",
"0.6260606",
"0.62577... | 0.0 | -1 |
This test is used to check if creating a map from this class, it is truly creating a Safe map with the properties of the inputted map size. | @Test
public void testCreateSafeMap() {
Map safeMap = safeCreator.createMap('S',mapSize);
int size = safeMap.getSize();
String type = safeMap.getType();
assertEquals(10,size);
assertEquals("Safe",type);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Test\n public void testCreateHazardousMap2() {\n Map safeMap = safeCreator.createMap('s',mapSize);\n int size = safeMap.getSize();\n String type = safeMap.getType();\n assertEquals(10,size);\n assertEquals(\"Safe\",type);\n }",
"@Test\n public void mapSize() {\n ch... | [
"0.835969",
"0.6819235",
"0.65893126",
"0.6377701",
"0.63609135",
"0.63570315",
"0.6339821",
"0.6315666",
"0.62695384",
"0.6261237",
"0.62611365",
"0.62157726",
"0.62072456",
"0.62062687",
"0.62020063",
"0.61958855",
"0.6058767",
"0.60559154",
"0.5997843",
"0.5944718",
"0.594... | 0.86351275 | 0 |
This test is used to check if when creating a map from this class, it is truly creating a 's'afe map with the properties of the inputted map size. | @Test
public void testCreateHazardousMap2() {
Map safeMap = safeCreator.createMap('s',mapSize);
int size = safeMap.getSize();
String type = safeMap.getType();
assertEquals(10,size);
assertEquals("Safe",type);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Test\n public void testCreateSafeMap() {\n Map safeMap = safeCreator.createMap('S',mapSize);\n int size = safeMap.getSize();\n String type = safeMap.getType();\n assertEquals(10,size);\n assertEquals(\"Safe\",type);\n }",
"@Test\n public void mapSize() {\n check(MA... | [
"0.77937204",
"0.73694617",
"0.6944333",
"0.6884308",
"0.6730702",
"0.66585195",
"0.66031045",
"0.64202994",
"0.6403337",
"0.63928527",
"0.6390362",
"0.6387706",
"0.6326977",
"0.6322788",
"0.63109505",
"0.62795186",
"0.624137",
"0.6226447",
"0.6224342",
"0.61872727",
"0.61383... | 0.76683795 | 1 |
Handler method to Retrieve list of bugs available. | @GetMapping
public ResponseEntity<List<Bug>> getAllBugs () {
HttpStatus status = HttpStatus.OK;
HttpHeaders httpHeaders = new HttpHeaders();
httpHeaders.setContentType(MediaType.APPLICATION_JSON);
List<Bug> providerDetails = bugService.fetchAllBugs();
return new ResponseEntity<>(providerDetails, httpH... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public List<Bug> fetchAllBugs() {\n\t\tList<Bug> bugs = (List<Bug>) bugRespository.findAll();\n\t\tif(bugs.isEmpty()){\n\t\t\tthrow new NotFoundException(Constant.NO_BUGS);\n\t\t}else{\n\t\t\treturn bugs;\n\t\t}\n\t}",
"List<Bug> getAllBugsByProject(int projectId);",
"public Map<String, JiraBug> getBugs() thro... | [
"0.74688154",
"0.6711629",
"0.66478294",
"0.64566314",
"0.6435752",
"0.6374432",
"0.6130163",
"0.6097009",
"0.60112864",
"0.59507436",
"0.59215206",
"0.58175856",
"0.57714635",
"0.5742638",
"0.57222897",
"0.56882036",
"0.56453943",
"0.56419086",
"0.55902064",
"0.55558544",
"0... | 0.74056077 | 1 |
Handler method to Retrieve a bug based on bugId. | @GetMapping(value="/{id}",produces = "application/json")
public Bug getBug(@PathVariable("id") Long bugId) {
return bugService.getBugDetails(bugId);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"Bug getBugByIdWithCommentAndSubscriable(int id);",
"public static RepositoryTaskData getBug(String repositoryUrl, String userName, String password,\n \t\t\tProxy proxySettings, String characterEncoding, int id) throws IOException, MalformedURLException,\n \t\t\tLoginException, GeneralSecurityException, BugzillaE... | [
"0.67341816",
"0.5930221",
"0.5909001",
"0.57939583",
"0.5776024",
"0.55559283",
"0.54727226",
"0.54393524",
"0.53692275",
"0.53277993",
"0.5270829",
"0.52622974",
"0.52333033",
"0.5195699",
"0.5186292",
"0.51660395",
"0.51465696",
"0.51446724",
"0.5143208",
"0.5143063",
"0.5... | 0.7863986 | 0 |
Handler method to Create a bug. | @PostMapping(consumes = "application/json")
public void create (@Valid @RequestBody Bug bug) {
bugService.createBug(bug);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void createBug(Vector2 tilePosition)\n {\n BoardTile tile = getTile(tilePosition);\n if(tile != null)\n {\n BoardBug bug = new BoardBug(bugsId);\n ++bugsId;\n\n bug.setTilePosition(tilePosition);\n tile.setBug(bug);\n board.addCh... | [
"0.7515864",
"0.7436254",
"0.6811859",
"0.68076044",
"0.6038243",
"0.59447163",
"0.58476985",
"0.5817543",
"0.57376677",
"0.568393",
"0.5661483",
"0.55554426",
"0.55442536",
"0.55418104",
"0.5537432",
"0.5533901",
"0.54728436",
"0.53771764",
"0.53771764",
"0.5356634",
"0.5356... | 0.68109536 | 3 |
Handler method to update a bug. | @PutMapping(consumes = "application/json")
public void updateBug(@RequestBody Bug bug) {
bugService.updateBugDetails(bug);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void interact(TeamBug bug) {\n\t}",
"public void setBugs(double bugs) {\r\n this.bugs = bugs;\r\n }",
"@Test\r\n @DataSet(\"BugBeforeUpdateDataSet.xml\")\r\n @ExpectedDataSet(\"BugAfterUpdateDataSet.xml\")\r\n public void testUpdateBug() throws Exception {\n Bug ... | [
"0.61515856",
"0.61269146",
"0.60897267",
"0.5997843",
"0.59617996",
"0.595082",
"0.5950267",
"0.5943255",
"0.5880005",
"0.5854285",
"0.56952053",
"0.5659961",
"0.56460345",
"0.56386894",
"0.55944306",
"0.55787575",
"0.5557709",
"0.55233866",
"0.54981333",
"0.5487802",
"0.547... | 0.6752595 | 0 |
Performs the actual creation of a new image with reduced content. | public DuplicatorExecutor(final Studio studio,
final DisplayWindow theWindow,
final String newName,
final Map<String, Integer> mins,
final Map<String, Integer> maxes,
final LinkedHashMap<String, Boolean> channels,
final Datastore.SaveMode saveMode,
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void enhanceImage(){\n }",
"public void createNewImageFile(){\n fillNewImage();\n\n try {\n ImageIO.write(newImage, imageFileType, new File(k + \"_Colored_\" + fileName.substring(0,fileName.length() - 4) + \".\" + imageFileType));\n } catch (IOException e){\n ... | [
"0.63813674",
"0.63186765",
"0.6209549",
"0.6206956",
"0.6095771",
"0.60764015",
"0.60511166",
"0.59791124",
"0.59498173",
"0.59304726",
"0.5892534",
"0.5851131",
"0.5816325",
"0.5813309",
"0.5781304",
"0.5770548",
"0.5745083",
"0.5742308",
"0.5737384",
"0.5716817",
"0.563385... | 0.0 | -1 |
TODO: provide options for diskbacked datastores | @Override
protected Void doInBackground() {
DataProvider oldStore = theWindow_.getDataProvider();
Datastore tmpStore = null;
try {
if (saveMode_ == null) {
tmpStore = studio_.data().createRAMDatastore();
} else if (saveMode_ == Datastore.SaveMode.SINGLEPLANE_TIFF_SERIE... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"DataStore getDataStore ();",
"public Dataset openTDB(String directory){\n Dataset dataset = TDBFactory.createDataset(directory);\n return dataset;\n}",
"public interface DataStore {\n\n Bucket loadBucket(String bucketName);\n\n List<Bucket> loadBuckets();\n\n void saveBucket(Bucket bucket);\n\n ... | [
"0.66025674",
"0.6154892",
"0.6109065",
"0.6104816",
"0.59649366",
"0.5819462",
"0.5694905",
"0.56936",
"0.5692963",
"0.565594",
"0.5587752",
"0.5569591",
"0.55294573",
"0.5508335",
"0.55080336",
"0.5460095",
"0.54140407",
"0.5401788",
"0.5397584",
"0.5382193",
"0.53821814",
... | 0.0 | -1 |
TODO Autogenerated method stub | public static void main(String[] args) {
} | {
"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.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
Adding ESB specific task operations | public List<String> getRunningESBTaskList() throws Exception {
return ntaskManager.getRunningTaskList();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic void addTask(Task task) {\n\t\t\n\t}",
"String addTask(Task task);",
"@Override\n\t\t\tpublic void subTask(String name) {\n\t\t\t\t\n\t\t\t}",
"void addToList(Task task) throws InvalidCommandException;",
"public interface TaskStartHandler2 {\n\n Object process(OperationContext contex... | [
"0.6417918",
"0.6411077",
"0.6325854",
"0.6257243",
"0.6250239",
"0.6249906",
"0.6225206",
"0.6196996",
"0.612113",
"0.61052454",
"0.60819376",
"0.6011065",
"0.5995322",
"0.5966754",
"0.5941102",
"0.59385324",
"0.58770066",
"0.58109474",
"0.5792135",
"0.5792135",
"0.5792135",... | 0.0 | -1 |
intent = new Intent(MateriActivity.this, MateriUsahaActivity.class); intent.putExtra("toolbarText","Usaha"); startActivity(intent); | @Override
public void onClick(View v) {
l1.setBackgroundColor(getResources().getColor(R.color.teal_200));
l2.setBackgroundColor(getResources().getColor(R.color.white));
l3.setBackgroundColor(getResources().getColor(R.color.white));
l4.setBackgr... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void mChapie(){\n Intent i = new Intent(context,Peminjaman.class);\n context.startActivity(i);\n\n }",
"public void onClick(View arg0) {\n\n Intent i = new Intent(getApplicationContext(), sejarah.class);\n\n startActivity(i);\n }",
"public v... | [
"0.68943214",
"0.6807185",
"0.6798999",
"0.67749625",
"0.669966",
"0.6689708",
"0.6687607",
"0.66785413",
"0.66778433",
"0.6657864",
"0.662469",
"0.6583614",
"0.6569124",
"0.655867",
"0.6521972",
"0.65083003",
"0.65029967",
"0.649698",
"0.6490804",
"0.6480449",
"0.6458328",
... | 0.0 | -1 |
intent = new Intent(MateriActivity.this, MateriEnergiActivity.class); intent.putExtra("toolbarText","Energi"); startActivity(intent); | @Override
public void onClick(View v) {
l1.setBackgroundColor(getResources().getColor(R.color.white));
l2.setBackgroundColor(getResources().getColor(R.color.teal_200));
l3.setBackgroundColor(getResources().getColor(R.color.white));
l4.setBackgr... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void mChapie(){\n Intent i = new Intent(context,Peminjaman.class);\n context.startActivity(i);\n\n }",
"public void mantItinerario(View view){\n Intent intent = new Intent(this, mant_itinerario.class);\n startActivity(intent);\n }",
"@Override\n public v... | [
"0.68890643",
"0.6883579",
"0.6763272",
"0.6686409",
"0.66827816",
"0.6682033",
"0.6674118",
"0.66621345",
"0.66423625",
"0.6636324",
"0.6620811",
"0.6594077",
"0.6588353",
"0.6574619",
"0.6554487",
"0.6537853",
"0.65076625",
"0.648003",
"0.64676505",
"0.6431689",
"0.6418865"... | 0.0 | -1 |
intent = new Intent(MateriActivity.this, HubunganUsahaEnergiActivity.class); intent.putExtra("toolbarText","Hubungan Usaha dan Energi"); startActivity(intent); | @Override
public void onClick(View v) {
l1.setBackgroundColor(getResources().getColor(R.color.white));
l2.setBackgroundColor(getResources().getColor(R.color.white));
l3.setBackgroundColor(getResources().getColor(R.color.teal_200));
l4.setBackgr... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void onClick(View arg0) {\n\n Intent i = new Intent(getApplicationContext(), sejarah.class);\n\n startActivity(i);\n }",
"void mChapie(){\n Intent i = new Intent(context,Peminjaman.class);\n context.startActivity(i);\n\n }",
"public v... | [
"0.7090204",
"0.69984657",
"0.69092554",
"0.6854018",
"0.68399405",
"0.68368167",
"0.68178344",
"0.68163604",
"0.6776836",
"0.67647755",
"0.6763267",
"0.6719432",
"0.6703016",
"0.66928655",
"0.6678402",
"0.66710037",
"0.6665959",
"0.66652745",
"0.6651696",
"0.66058135",
"0.65... | 0.0 | -1 |
intent = new Intent(MateriActivity.this, HukumKekelanEnergiMekanikActivity.class); intent.putExtra("toolbarText","Hukum Kekekalan Energi"); startActivity(intent); | @Override
public void onClick(View v) {
l1.setBackgroundColor(getResources().getColor(R.color.white));
l2.setBackgroundColor(getResources().getColor(R.color.white));
l3.setBackgroundColor(getResources().getColor(R.color.white));
l4.setBackgroun... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void onClick(View arg0) {\n\n Intent i = new Intent(getApplicationContext(), sejarah.class);\n\n startActivity(i);\n }",
"void mChapie(){\n Intent i = new Intent(context,Peminjaman.class);\n context.startActivity(i);\n\n }",
"@Overrid... | [
"0.7055148",
"0.7054531",
"0.6926157",
"0.689866",
"0.68660766",
"0.6834754",
"0.6831229",
"0.6769748",
"0.67621857",
"0.67617404",
"0.6759154",
"0.6754856",
"0.67382085",
"0.67180693",
"0.6709213",
"0.66925025",
"0.6672647",
"0.6660689",
"0.66509116",
"0.66380966",
"0.662549... | 0.0 | -1 |
intent = new Intent(MateriActivity.this, MateriDataActivity.class); intent.putExtra("toolbarText","Daya"); startActivity(intent); | @Override
public void onClick(View v) {
l1.setBackgroundColor(getResources().getColor(R.color.white));
l2.setBackgroundColor(getResources().getColor(R.color.white));
l3.setBackgroundColor(getResources().getColor(R.color.white));
l4.setBackgroun... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void onClick(View v) {\n Intent i = new Intent(getActivity(),VerTerapiaRecyclerActivity.class);\n i.putExtra(\"nombre\", getActivity().getIntent().getExtras().getString(\"nombre\"));\n startActivity(i);\n }",
"@Override\n ... | [
"0.675628",
"0.669273",
"0.6666859",
"0.6651577",
"0.66501427",
"0.65791243",
"0.65612876",
"0.65593606",
"0.6537658",
"0.6534877",
"0.65241796",
"0.6523771",
"0.64790136",
"0.64407426",
"0.6424959",
"0.6415689",
"0.6394508",
"0.6364196",
"0.63387364",
"0.6331844",
"0.6327431... | 0.0 | -1 |
Map mp = new TreeMap(); mp.put(null, //null); System.out.println(mp.entrySet()); | public static void main(String[] args)
{
Scanner sc = new Scanner(System.in);
System.out.println("enter ints of fisrt array [spaces inbetween]");
String s1 = sc.nextLine();
String [] sa = s1.split(" ");
int ia [] = new int[sa.length];
for(int i=0;i<sa.length;i++)
{
ia[i] = Integer.parseInt(sa[i]);
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Test\r\n\tpublic void givenTreeMap_whenOrdersEntriesNaturally_thenCorrect2() {\r\n\t\tTreeMap<String, String> map = new TreeMap<>();\r\n\t\tmap.put(\"c\", \"val\");\r\n\t\tmap.put(\"b\", \"val\");\r\n\t\tmap.put(\"a\", \"val\");\r\n\t\tmap.put(\"e\", \"val\");\r\n\t\tmap.put(\"d\", \"val\");\r\n\r\n\t\tassertEqua... | [
"0.68039846",
"0.6778531",
"0.6756734",
"0.65379035",
"0.6436711",
"0.6398409",
"0.6375501",
"0.62915176",
"0.629058",
"0.62884974",
"0.62805265",
"0.62679905",
"0.62592196",
"0.625252",
"0.6249084",
"0.6244663",
"0.621154",
"0.62043905",
"0.6181599",
"0.61803114",
"0.6128121... | 0.0 | -1 |
Get a data reading, marking the previous value as stale and invalid on future reads. | public double getReadingOnce() {
return this.getDataRef().getOnce();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Reading get_reading () {\n if (!this.on) {\n return null;\n }\n\n Instant instant = Instant.now();\n return new Reading(\n (float) instant.getEpochSecond(),\n this.currentSensorValue,\n this.stationName,\n this.stationLocatio... | [
"0.6149616",
"0.59487545",
"0.5881671",
"0.57017213",
"0.5682094",
"0.56497586",
"0.5586317",
"0.5507918",
"0.5505804",
"0.5484759",
"0.54557085",
"0.5450928",
"0.5430311",
"0.54090774",
"0.5402666",
"0.5394324",
"0.53694373",
"0.53653413",
"0.5365317",
"0.52654237",
"0.52635... | 0.60809416 | 1 |
Get a single reading without marking the data as invalid. | public double getReading() {
return this.getDataRef().get();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public T read() throws IOException;",
"boolean getForRead();",
"@Override\n\tpublic ReadRecord readItem() throws Exception {\n\t\tif (failimmediate){\n\t\t\tthrow new Exception(\"read fail immediate\");\n\t\t}\n\t\telse {\n\t\t\treturn new ReadRecord();\n\t\t}\n\t}",
"public Object read() throws IOException,... | [
"0.6208859",
"0.6185159",
"0.60829145",
"0.6020069",
"0.5982535",
"0.59795815",
"0.59795815",
"0.59352005",
"0.58603525",
"0.57845116",
"0.5781335",
"0.57663304",
"0.5766097",
"0.5753205",
"0.5725161",
"0.5680774",
"0.56780106",
"0.5665759",
"0.56481934",
"0.56481934",
"0.564... | 0.5567693 | 26 |
/++++++++++++++++++++++++++ Methods ++++++++++++++++++++++++++++++++++++++++++ setup method inherited from Model class | public void setup(){
super.setup();
params = new String[] {"numLocations","numFirms","timeHorizon","enteringCosts",
"reservationPrice", "productDifferentiation",
"adjustEnteringCosts",
"sdNoiseImitationKnowledge",
"sdNoiseImitationConcept",
"sigma","discontFactor","initialI... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void initializeModel() {\n\t\t\n\t}",
"@Override\r\n\tprotected final void setup() {\r\n \tsuper.setup();\r\n\r\n \tdoSetup();\r\n }",
"@org.junit.Before\n public void setUp() throws Exception {\n theModel = new Model();\n }",
"@Override\n protected void setup() {\n }",
... | [
"0.7461799",
"0.7012429",
"0.6927031",
"0.69119126",
"0.6901902",
"0.6884797",
"0.6878674",
"0.6830776",
"0.67386264",
"0.6732621",
"0.67000794",
"0.6668719",
"0.663306",
"0.6529872",
"0.6528647",
"0.65226334",
"0.65226334",
"0.65005517",
"0.6484218",
"0.6478116",
"0.6476253"... | 0.0 | -1 |
This adds a new time series sequence to a graphic | public void addSequencesToGraphs(){
graphSingleOutput.addSequence("Firm"+firmList.get(firmList.size()-1).firmID, new SetSingleOutput(firmList.get(firmList.size()-1).firmID));
graphSinglePrice.addSequence("Firm"+firmList.get(firmList.size()-1).firmID, new SetSinglePrice(firmList.get(firmList.size()-1).... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void prepareTimeline() {\n\r\n\t new AnimationTimer() {\r\n\r\n\t @Override\r\n\t public void handle(long now) {\r\n\r\n\t addDataToSeries();\r\n\r\n\t }\r\n\t }.start();\r\n\r\n\t}",
"private void prepareTimeline() {\n // Every frame to take any data from que... | [
"0.63474023",
"0.5800741",
"0.5709431",
"0.5652791",
"0.5572817",
"0.5555443",
"0.5530691",
"0.5517146",
"0.5516342",
"0.5494616",
"0.5488984",
"0.5461012",
"0.5448773",
"0.5428997",
"0.5421237",
"0.54170346",
"0.5400622",
"0.5373386",
"0.53410536",
"0.52982825",
"0.5280494",... | 0.61356145 | 1 |
Method executed at the beginning | public void begin(){
freeCoordinates = new ArrayList<Coordinate>();
for(int i = 1; i <25; i++){
for(int j =-2; j<=2;j++){
for(int k =-2; k<=2;k++){
if(!(k==0 && j ==0) ){
freeCoordinates.add(new Coordinate(k,j));
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void preRun() {\n super.preRun();\n }",
"public void prePerform() {\n // nothing to do by default\n }",
"@Override\r\n\t\t\tpublic void autInitProcess() {\n\t\t\t\t\r\n\t\t\t}",
"@Override\r\n\t\t\tpublic void autInitProcess() {\n\t\t\t\t\r\n\t\t\t}",
"@Override\r\... | [
"0.7726313",
"0.7462208",
"0.73011273",
"0.73011273",
"0.73011273",
"0.73011273",
"0.73011273",
"0.72974116",
"0.72794545",
"0.7253595",
"0.72480845",
"0.72480845",
"0.7236267",
"0.7181974",
"0.7179542",
"0.71493685",
"0.713745",
"0.7130331",
"0.71295416",
"0.71191895",
"0.70... | 0.0 | -1 |
Build model method inherited from Model class | public void buildModel(){
super.buildModel();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"Build_Model() {\n\n }",
"public void buildModel() {\n }",
"public boolean buildModel() {\n \treturn buildModel(false, false);\n }",
"@Override\n\t\tpublic String buildBasicMethod() {\n\t\t\treturn buildMethod();\n\t\t}",
"public abstract JPAMethodContext build() throws ODataJPAModelException, O... | [
"0.70211416",
"0.6838273",
"0.5882286",
"0.5824708",
"0.57801205",
"0.5767794",
"0.5767794",
"0.5767794",
"0.5767794",
"0.5767794",
"0.5767794",
"0.5767794",
"0.55721736",
"0.55277663",
"0.55275196",
"0.5523833",
"0.5464842",
"0.5459839",
"0.5428344",
"0.5422083",
"0.5411524"... | 0.63511765 | 2 |
step method inherited from Model class | public void step(){
super.step();
if(marketEntryHappend){
addSequencesToGraphs();
}
if(marketExitHappend){
for(int i =0; i < exitedFirms.size();i++){
freeCoordinates.add(new Coordinate(exitedFirms.get(i).x_coord,exitedFirms.get(i).y... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic void step() {\n\t\t\n\t}",
"@Override\n\tpublic void step() {\n\t\t\n\t}",
"@Override\n\tpublic void step() {\n\t}",
"@Override\n\tpublic void step() {\n\t}",
"public void step();",
"public void step();",
"public int step() {\n // PUT YOUR CODE HERE\n }",
"public abstrac... | [
"0.7730175",
"0.7730175",
"0.76447135",
"0.76447135",
"0.7554153",
"0.7554153",
"0.7473587",
"0.74409795",
"0.7411495",
"0.7189637",
"0.71268135",
"0.71268135",
"0.71268135",
"0.709499",
"0.6973263",
"0.69468486",
"0.69407904",
"0.67443013",
"0.67216086",
"0.67109096",
"0.667... | 0.0 | -1 |
/ Get and set methods for model parameters | public double getExitingCosts(){
return exitingCosts;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"SystemParamModel createSystemParamModel();",
"void set(Model model);",
"public void getRetreivalParameter() {\n \n \tretModelName = prop.getProperty(\"retModel\");\n \t\n \tswitch(retModelName) \n \t{\n \tcase \"lmjm\":\n \t\tretModelParam1 = prop.getProperty(\"param1\");\n ... | [
"0.62952757",
"0.6145467",
"0.60048115",
"0.593646",
"0.5928751",
"0.59114987",
"0.59013706",
"0.5889271",
"0.5866734",
"0.5836165",
"0.581704",
"0.58149034",
"0.5794562",
"0.57850003",
"0.5737079",
"0.5704845",
"0.5700896",
"0.56833035",
"0.56829184",
"0.567847",
"0.5633025"... | 0.0 | -1 |
This is the main method | public static void main (String[] args){
SimInit init = new SimInit();
ModelGUI m = new ModelGUI();
init.loadModel(m, null, false);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static void main() {\n \n }",
"public static void main()\n\t{\n\t}",
"public static void main(String args[]) throws Exception\n {\n \n \n \n }",
"public static void main(){\n\t}",
"public static void main(String[] args) {\n \n \n \n \n }",... | [
"0.8373305",
"0.8067326",
"0.80536",
"0.7914522",
"0.7900949",
"0.78466696",
"0.78423053",
"0.78258854",
"0.78258854",
"0.78258854",
"0.78258854",
"0.78258854",
"0.78258854",
"0.7807723",
"0.7803357",
"0.78030473",
"0.7798449",
"0.7798449",
"0.77772695",
"0.7750441",
"0.77504... | 0.0 | -1 |
Create contents of the dialog. | @Override
protected Control createDialogArea(Composite parent) {
setMessage("Allows you to create or edit a task");
setTitle("Task's Editor");
Composite area = (Composite) super.createDialogArea(parent);
Composite container = new Composite(area, SWT.NONE);
container.setLayout(new FillLayout(SWT.HORIZONTAL));... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void createContents() {\n\t\tshell = new Shell(getParent(), getStyle());\n\n\t\tshell.setSize(379, 234);\n\t\tshell.setText(\"\\u0410\\u043A\\u043A\\u0430\\u0443\\u043D\\u0442\");\n\t\tshell.setLayout(new BorderLayout(0, 0));\n\t\t\n\t\tLabel dialogAccountHeader = new Label(shell, SWT.NONE);\n\t\tdialogAcc... | [
"0.7465564",
"0.71213424",
"0.70750844",
"0.7056892",
"0.7035284",
"0.6982003",
"0.6966167",
"0.6853646",
"0.68448454",
"0.6811343",
"0.68096405",
"0.6801873",
"0.67985934",
"0.6798088",
"0.679386",
"0.6789257",
"0.67799765",
"0.6769032",
"0.6748607",
"0.67194223",
"0.6717503... | 0.0 | -1 |
Create contents of the button bar. | @Override
protected void createButtonsForButtonBar(Composite parent) {
Button button = createButton(parent, IDialogConstants.OK_ID, IDialogConstants.OK_LABEL,
true);
button.addSelectionListener(new SelectionListener() {
@Override
public void widgetSelected(SelectionEvent e) {
DiagnosticChain diagnost... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void createContents() {\r\n\t\tshell = new Shell(getParent(), getStyle());\r\n\t\tshell.setSize(450, 300);\r\n\t\tshell.setText(getText());\r\n\t\tshell.setLayout(new FillLayout(SWT.HORIZONTAL));\r\n\t\t\r\n\t\tComposite composite = new Composite(shell, SWT.NONE);\r\n\t\tcomposite.setLayout(new FillLayout(... | [
"0.6913502",
"0.6871041",
"0.68701905",
"0.686933",
"0.68208027",
"0.68044573",
"0.6800045",
"0.67828447",
"0.6762876",
"0.6758984",
"0.67203665",
"0.6683782",
"0.6627532",
"0.6588972",
"0.65856755",
"0.657202",
"0.657155",
"0.65673095",
"0.6549483",
"0.6549218",
"0.65480584"... | 0.6404173 | 45 |
TODO Autogenerated method stub | @Override
public void widgetDefaultSelected(SelectionEvent e) {
} | {
"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.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
Return the initial size of the dialog. | @Override
protected Point getInitialSize() {
return new Point(645, 393);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tprotected Point getInitialSize() {\n\t\treturn new Point(DIALOG_DEFAULT_WIDHT, DIALOG_DEFAULT_HEIGHT);\n\t}",
"@Override\n\tprotected Point getInitialSize() {\n\t\treturn new Point(450, 300);\n\t}",
"@Override\n\tprotected Point getInitialSize() {\n\t\treturn new Point(450, 300);\n\t}",
"protect... | [
"0.8591966",
"0.71312886",
"0.71312886",
"0.7124817",
"0.7116757",
"0.7105336",
"0.7052505",
"0.70327467",
"0.6941979",
"0.6938075",
"0.68611354",
"0.68598723",
"0.68471235",
"0.68327343",
"0.68278486",
"0.6663364",
"0.66566676",
"0.65909094",
"0.6462996",
"0.6459746",
"0.642... | 0.67465943 | 15 |
Processes requests for both HTTP GET and POST methods. | protected void processRequest(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
response.setContentType("text/html;charset=UTF-8");
try (PrintWriter out = response.getWriter()) {
/* TODO output your page here. You may use following s... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n protected void doPost(final HttpServletRequest req, final HttpServletResponse resp) throws ServletException, IOException {\n final String method = req.getParameter(METHOD);\n if (GET.equals(method)) {\n doGet(req, resp);\n } else {\n resp.setStatus(HttpServletResponse.SC_METHOD_NOT_... | [
"0.7004024",
"0.66585696",
"0.66031146",
"0.6510023",
"0.6447109",
"0.64421695",
"0.64405906",
"0.64321136",
"0.6428049",
"0.6424289",
"0.6424289",
"0.6419742",
"0.6419742",
"0.6419742",
"0.6418235",
"0.64143145",
"0.64143145",
"0.6400266",
"0.63939095",
"0.63939095",
"0.6392... | 0.0 | -1 |
Handles the HTTP GET method. | @Override
protected void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
doPost(request, response);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void doGet( )\n {\n \n }",
"@Override\n\tprotected void executeGet(GetRequest request, OperationResponse response) {\n\t}",
"@Override\n\tprotected Method getMethod() {\n\t\treturn Method.GET;\n\t}",
"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) thro... | [
"0.7589609",
"0.71665615",
"0.71148175",
"0.705623",
"0.7030174",
"0.70291144",
"0.6995984",
"0.697576",
"0.68883485",
"0.6873811",
"0.6853569",
"0.6843572",
"0.6843572",
"0.6835363",
"0.6835363",
"0.6835363",
"0.68195957",
"0.6817864",
"0.6797789",
"0.67810035",
"0.6761234",... | 0.0 | -1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.