query stringlengths 8 1.54M | document stringlengths 9 312k | negatives listlengths 19 20 | metadata dict |
|---|---|---|---|
GET /kingdoms : get all the kingdoms. | @GetMapping("/kingdoms")
@Timed
public List<KingdomDTO> getAllKingdoms(@RequestParam(required = false) String filter) {
if ("game-is-null".equals(filter)) {
log.debug("REST request to get all Kingdoms where game is null");
return StreamSupport
.stream(kingdomRepos... | [
"@RequestMapping(value = \"/arenas\",\n method = RequestMethod.GET,\n produces = MediaType.APPLICATION_JSON_VALUE)\n @Timed\n public List<Arena> getAll() {\n log.debug(\"REST request to get all Arenas\");\n return arenaRepository.findAll();\n }",
"@GetMapping(\"/enlace... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Check if the answer is correct | private static void checkAnswer(String answer)
throws IOException {
// We should check if we're quizzing in English or Welsh
if (FindWordDefinitionQuiz.language.equals("English")) {
// Does our chosen answer equal the welsh version of our correct answer
if (FindWordDefinitionQuiz.answer... | [
"public boolean checkAnswer()\n {\n if (usrAns==answer)\n return true;\n return false;\n \n \n }",
"boolean checkAnswer(String answer);",
"boolean hasChalleangeAnswer();",
"private void checkAnswer()\n {\n //remove all white space & convert to lowe... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns the edges that make up the shortest path from the start to the end. The first edge in the output list should be the edge leading out of the starting node; the last edge in the output list should be the edge connecting to the end node. Return an empty list if the start and end vertices are the same. | public IList<E> findShortestPathBetween(V start, V end) {
IDictionary<V, Double> weights = new ChainedHashDictionary<>();
IDictionary<V, IList<E>> paths = new ChainedHashDictionary<>();
IPriorityQueue<VertexInfo<V>> nextVertex = new ArrayHeap<>();
//Base case, shortest path, return a bl... | [
"public ArrayList<Node> shortestPath(Node start, Node end){\n\t\tArrayList<Node> shortestPath=new ArrayList<Node>();\n\t\t//\n\t\tArrayList<Node> expandList=new ArrayList<Node>();\n\t\t//\n\t\tArrayList<Node> finishList=new ArrayList<Node>();\n\t\t//\n\t\tNode currentNode=start;\n\t\texpandList.add(currentNode);\n\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Referenz auf den Kontext | public void öffnen(){
System.out.println("Tor ist bereits geöffnet");
} | [
"Resource getContext();",
"Context mo75888b();",
"Data dereference(XMLCryptoContext context) throws URIReferenceException;",
"URI getDataContext();",
"Traverser.Action onBackRef(C context);",
"String getLocalRef();",
"java.lang.String getContext22();",
"Context getContext() {return context;}",
"@Ove... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Execution final status. .yandex.cloud.datasphere.v2.ExecutionStatus execution_status = 3; | @java.lang.Override public yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.ExecutionStatus getExecutionStatus() {
@SuppressWarnings("deprecation")
yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.ExecutionStatus result = yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.ExecutionStatus.... | [
"public final String getExecutionStatus()\n {\n return executionStatus;\n }",
"public ExecutionStatus status() {\n return executionStatus;\n }",
"public int getRuntimeStatusValue() {\n if (executionStatusCase_ == 1) {\n return ((java.lang.Integer) executionStatus_).intValu... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
The Amazon Resource Name (ARN) of the SNS topic created for event notification. The ARN is created by Amazon SNS when you create a topic and subscribe to it. | public void setSnsTopicArn(String snsTopicArn) {
this.snsTopicArn = snsTopicArn;
} | [
"public static String getTopicArn(String topic) {\n final Account sqs = AccountsDirectory.getInstance().getAccount(Account.Name.AWS)\n .orElseThrow(() -> new IllegalArgumentException(\"Unable to find AWS account\"));\n final String region = sqs.getProperty(\"region\").toLowerCase().replaceA... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
ID einer Transaktion .dstore.values.IntegerValue transaction_id = 10009; | public Builder setTransactionId(io.dstore.values.IntegerValue value) {
if (transactionIdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
transactionId_ = value;
onChanged();
} else {
transactionIdBu... | [
"public int getM_Transfer_ID() \n{\nInteger ii = (Integer)get_Value(\"M_Transfer_ID\");\nif (ii == null) return 0;\nreturn ii.intValue();\n}",
"io.dstore.values.IntegerValue getTimeUnitId();",
"int getPurchaseId();",
"io.dstore.values.StringValue getOrderContentNo();",
"public int getC_OutgoingTransfer_DT_I... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns the length of the message. | public int getLength(); | [
"public long size() {\n return _impl.getMessageLength();\n }",
"public int getMsgLength(){\n return messageContents.length;\n }",
"public String getMessageHeaderLength ()\r\n\t{\r\n\t\treturn getHeaderValue(docHeader, \"Content-Length\");\r\n\t}",
"public int getMessageSize() {\n retu... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
((Type| STRINGVAR | JbcTokens)(LBRACKET Type MethodName RBRACKET)?)+ | private static boolean JavaOP_1(PsiBuilder b, int l) {
if (!recursion_guard_(b, l, "JavaOP_1")) return false;
boolean r;
Marker m = enter_section_(b);
r = JavaOP_1_0(b, l + 1);
while (r) {
int c = current_position_(b);
if (!JavaOP_1_0(b, l + 1)) break;
if (!empty_element_parsed_gua... | [
"final public void Method() throws ParseException {\r\n /*@bgen(jjtree) Method */\r\n ASTMethod jjtn000 = new ASTMethod(this, JJTMETHOD);\r\n boolean jjtc000 = true;\r\n jjtree.openNodeScope(jjtn000);\r\n try {\r\n Identifier();\r\n jj_consume_token(LPAREN);\r\n switch ((jj_ntk=... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This function uses to compare all data between 2 Access Request Lists. | public boolean compareAllDataRequestList (List<Request> actuallist, List<Request> expectedlist) throws InterruptedException, IOException
{
for (int i = 0; i < actuallist.size(); i++)
{
if (actuallist.size() != expectedlist.size()
|| !actuallist.get(i).getRequeststatus().equals(expectedlist.get(i).getRe... | [
"private boolean compareRules(\n ArrayList<? extends Rule> request, ArrayList<? extends Rule> offer) {\n if (request.size() != offer.size())\n return false;\n\n for (int i = 0; i < request.size(); i++) {\n final var requestPermission = request.get(i);\n final va... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Covariance matrix [6,5] in km^2/s^2. All Covariance values not given are assumed 0. | @JsonProperty("CZ_DOT_Y_DOT")
public void setCzDotYDot(Double czDotYDot) {
this.czDotYDot = czDotYDot;
} | [
"public Matrix covariance() {\n\t\tint degrees = (isSample) ? (m-1) : (m);\n\t\treturn super.covariance().times((m-1)/degrees);\n\t}",
"private void creationNoiseCovarianceMatrices() {\n double[] sigma_xy = new double[]{0.001, 0.001};\n Q = CommonOps.diag(sigma_xy);\n\n // R, measurement nois... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method was generated by MyBatis Generator. This method returns the value of the database column ir_rule.perm_unlink | public Boolean getPermUnlink() {
return permUnlink;
} | [
"public Integer getPermissionId() {\n return permissionId;\n }",
"@Override\n\tpublic String deletePermission(BcPermissions bcPerm) {\n\t\ttry {\n\t\t\tif (bcPerm != null) {\n\t\t\t\tBcPermissions permission = new BcPermissions();\n\t\t\t\tpermission = getBcPermissionByBCANDUserSub(bcPerm\n\t\t\t\t\t\t.getBus... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Creates a new JScrollPane containing the given JList. A titled border is created using the given title string. | private JScrollPane createListPane(String title, JList list) {
TitledBorder border = new TitledBorder(title);
JScrollPane pane = new JScrollPane();
pane.setViewportView(list);
pane.setBorder(border);
return pane;
} | [
"private JScrollPane createPane(List list) {\n list.addMouseListener(mouseListener);\n JScrollPane pane = new JScrollPane(list);\n pane.setPreferredSize(new Dimension(200, 250));\n pane.setMaximumSize(new Dimension(200, 250));\n pane.setMinimumSize(new Dimension(200, 250));\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Constructor for assigning streams from server. | public Protocol(BufferedReader in, PrintWriter out) {
lastRequest = 0;
lastResponse = 0;
input = in;
output = out;
} | [
"public ServerStream(long id, Pointer context, Pointer stream, QuicConnection connection) {\n\t\t\t\tsuper(id, context, stream, connection);\n\t\t\t\tstreams.add(this);\n\t\t\t\tif(engine.lsquic_stream_is_pushed(stream)) {\t\t\t\t\t\n\t\t\t\t\tthrow new RuntimeException(\"Server push is not yet supported!\");\n\t\t... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ renamed from: k | public String mo1890k() {
return null;
} | [
"void mo29335d(K k);",
"V mo29334c(K k);",
"public abstract C8125r2<V, K> m38923k();",
"public int getKValue(){\n return this.k;\n }",
"public void setK(int k) {\r\n\t\tthis.k = k;\r\n\t\ttoStringCache = null;\r\n\t}",
"void set(int index, Input k);",
"public int same(int k) {\n\t\treturn 0;\r... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Convert the given object to string with each line indented by 4 spaces (except the first line). | private String toIndentedString(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
} | [
"private String toIndentedString(Object o)\n/* */ {\n/* 607 */ if (o == null) {\n/* 608 */ return \"null\";\n/* */ }\n/* 610 */ return o.toString().replace(\"\\n\", \"\\n \");\n/* */ }",
"private String toIndentedString(Object o)\n/* */ {\n/* 164 */ if (o == null) {\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
When saving the instance state | @Override
public void onSaveInstanceState(Bundle savedInstanceState){
savedInstanceState.putInt(player1Score,p1Score);
savedInstanceState.putInt(player2Score,p2Score);
savedInstanceState.putInt(turnScore,turnPoints);
savedInstanceState.putInt(turn,playerTurn);
savedInstanceSt... | [
"@Override\r\n\tprotected void saveState() {\n\r\n\t}",
"@Override\n protected void onSave(Bundle outState) {\n }",
"protected void saveState()\r\n {\n getStateHelper().put(readOnlyState, (inpInfo == null));\r\n }",
"@Override\n protected void onSaveInstanceState(Bundle outstate) {\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Get your servers/gateways public IPaddress (the one visible from Internet). May return null if not found. | public static String getExternalIP() {
String address = null;
try {
//TODO: Support Windows.
String[] result = ExecUtil.execute("curl ipecho.net/plain");
if (result != null && result.length > 0) {
address = result[0];
}
} catch (IOException | InterruptedException ex) {
... | [
"public static String getIpAddress() {\n try {\n \t//gets network interfaces \n for (Enumeration en = NetworkInterface.getNetworkInterfaces(); en.hasMoreElements();) {\n \t//take each network interface\n NetworkInterface intf = (NetworkInterface) en.nextElement();\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Test case number: 16 /Coverage entropy=1.6094379124341005 | @Test(timeout = 4000)
public void test16() throws Throwable {
JRip jRip0 = new JRip();
LinkedList<Locale.LanguageRange> linkedList0 = new LinkedList<Locale.LanguageRange>();
ArrayList<Locale.LanguageRange> arrayList0 = new ArrayList<Locale.LanguageRange>(linkedList0);
Environment environment... | [
"@Test(timeout = 4000)\n public void test147() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n Evaluation evaluation0 = new Evaluation(instances0, (CostMatrix) null);\n String string0 = ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Calls EnforceManagers assassinate method and updates the overview. | @FXML
void assassinate() {
EnforceManager.getInstance().Assassinate(loan);
EnforceManager.getInstance().updateEnforcedActions();
overviewController.updateOverview();
primaryController.setCurrentAliasText();
stage.close();
} | [
"public void Approved() {\n\t\t((DataStore2) dataStore).w = 1;\n\t\tmdaefsm.Approved();\n\t}",
"private void refresh() {\r\n try {\r\n esClient.execute(new Refresh.Builder().addIndex(\"apiman_manager\").build()); //$NON-NLS-1$\r\n } catch (Exception e) {\r\n throw new RuntimeEx... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
returns the next node. | public void setNext(Node<E> n) {next = n;} | [
"Node next();",
"public Node getNext() {\r\n\t\t\treturn this._next;\r\n\t\t}",
"public LLNode<T> getNextNode() {\r\n\r\n\t\treturn nextNode;\r\n\t}",
"public Node getNext(){\n\t\treturn nextNode;\n\t\t\n\t}",
"public Node getNext(){\n\t\treturn nextNode;\n\t}",
"public Node getNext(){\r\n retu... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Callback method that is called whenever a page containing this page fragment is navigated to, either directly via a URL, or indirectly via page navigation. Override this method to acquire resources that will be needed for event handlers and lifecycle methods. The default implementation does nothing. | public void init() {
// Perform initializations inherited from our superclass
super.init();
// Perform application initialization that must complete
// *before* managed components are initialized
// TODO - add your own initialiation code here
// ... | [
"public void pageListener() {\n\t}",
"@Override\r\n\tpublic void onLandingPageOpening() {\n\t\t\r\n\t}",
"void onPageConstruct() throws UnifyException;",
"@Override\n public void displayPage(URL page, Runnable onPageLoad) {\n onPageLoad.run();\n }",
"@Override\n public vo... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Retrieve this object's isConfigFile value. | public Integer isConfigFileRaw()
{
return (Integer)storedValueForKey( "isConfigFile" );
} | [
"public static Boolean isConfig() {\r\n return isConfig;\r\n }",
"public File getConfigFile() {\n return configFile;\n }",
"public File getConfigFile() {\n return configFile;\n }",
"ReadOnlyConfig getConfig();",
"protected String getConfig() {\n return conf... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Convenient method to get all cells of a particular row number from a specified sheet | private Cell[] getRow(Sheet sheet, int rowNum) {
int numOfCells = sheet.getRow(rowNum).getLastCellNum();
Row row = sheet.getRow(rowNum);
Cell[] destCell = new Cell[numOfCells];
for (int i=0;i<numOfCells;i++) {
destCell[i] = row.getCell(i);
}
return destCell;
} | [
"public Sheet getReadSheet(int index)\n {\n return getSheet(index);\n }",
"public int getRowNum () {\n if (sheet != null) {\n return sheet.getRows();\n } else {\n throw new NullPointerException(\"No sheet is ready to read.\");\n }\n }",
"public int getSheetRows... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Calculate the x coords for text here y coords are calculated in the method processTextArray(final byte[] stream,int startCommand,int dataPointer) | private void calcCoordinates(final float x, final float[][] Trm, float charSpacing ) {
//clone data so we can manipulate
final float[][] trm=new float[3][3];
for(int xx=0;xx<3;xx++){
System.arraycopy(Trm[xx], 0, trm[xx], 0, 3);
}
x1 = x;
x2 =... | [
"@Override\n public void addPosition(){ //byte size!\n int[] pos = {xPosition, yPosition};\n String[] axis = {\"X\",\"Y\"};\n\n for (int i=0; i<2; i++){\n addESC();\n addText(\"*p\" + pos[i] + axis[i]);\n }\n }",
"public void text(char[] chars, int start, in... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
TODO Autogenerated method stub | public ArrayList<Goods> sellergetgoods(HttpServletRequest request,
Connection con, User currentuser) throws SQLException {
ArrayList<Goods> list = new ArrayList<Goods>();
Goods goods = null;
String sql = "select * from SCOTT.GOODS WHERE BBELONGUSE='"
+ currentuser.getUID() + "' ORDER BY BID";
PreparedSta... | [
"@Override\n }",
"@Override\n\t\t\t\tpublic void pintate() {\n\t\t\t\t\t\n\t\t\t\t}",
"@Override\n public void extornar() {\n \n }",
"@Override\r\n\tpublic void hablar() {\n\t\t\r\n\t}",
"@Override\n\t\tpublic void kayit1() {\n\t\t\t\n\t\t}",
"@Override\r\n\tpublic void wydaj() {\n... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
TODO Autogenerated method stub | public static void main(String[] args) {
String course = "Selenium";
// Student is learning Selenium
switch(course) {
case("java"):
System.out.println("Student is learning Java");
break;
case(".net"):
System.out.println("Student is learning .Net");
break;
case("TestNG"):
System.out.p... | [
"@Override\n }",
"@Override\n\t\t\t\tpublic void pintate() {\n\t\t\t\t\t\n\t\t\t\t}",
"@Override\n public void extornar() {\n \n }",
"@Override\r\n\tpublic void hablar() {\n\t\t\r\n\t}",
"@Override\n\t\tpublic void kayit1() {\n\t\t\t\n\t\t}",
"@Override\r\n\tpublic void wydaj() {\n... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Get the heap reference contained by this object. | protected final AbstractLinkedHeap getHeap()
{
return heap_ref.get();
} | [
"public T peek() {\n if (isEmpty()) throw new NullPointerException();\n return heap.get(0);\n }",
"public FibonacciHeap<ArrayList<String>> getHeap() {\r\n\t\treturn heap;\r\n\t}",
"public int peek() {\n if (isEmpty())\n throw new IllegalStateException(\"Empty heap\");\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
set UserRole to Default | int updateUserRoleToDefault(Long roleId, Long ouId, Long userId); | [
"private void setRole() {\n\n\t}",
"@Test\n public void testGetSetDefaultRole() {\n Application application = new Application();\n Role role = new Role();\n\n assertNull(application.getDefaultRole());\n application.setDefaultRole(role);\n assertEquals(role, application.getDef... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Parses the given text using lexer for lexical analysis. | private void parse() {
try {
while (true) {
Token token = lexer.nextToken();
if (token.getType() == TokenType.EOF) {
break;
}
else if (token.getType() == TokenType.TEXT) {
Node node = ((Node) stack.pop());
node.addChildNode(new TextNode(token.getValue().asText()));
... | [
"protected void parse(String text)\n/* */ {\n/* 259 */ Tokenizer toke = this.tokenizerFactory.getTokenizer(new StringReader(text));\n/* 260 */ addAll(toke.tokenize());\n/* */ }",
"Parser(Lexer lexer) {\n this.lexer = lexer; \n\t}",
"public void parse () {\r\n // Generate a l... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Output only. Name of the Private Service Access allocated range. This is optional. If not provided, any available range will be chosen. string psa_range = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; | public java.lang.String getPsaRange() {
java.lang.Object ref = psaRange_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
psaRange_ = s;
return s;
} else {
... | [
"public String getRange() {\n return range;\n }",
"@DISPID(2011) //= 0x7db. The runtime will prefer the VTID if present\r\n @VTID(25)\r\n ppt.PpPrintRangeType rangeType();",
"public java.lang.String getAllocatedIpRange() {\n java.lang.Object ref = allocatedIpRange_;\n if (!(ref instanceof ja... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end synpred177_InternalResoluteParser $ANTLR start synpred178_InternalResoluteParser | public final void synpred178_InternalResoluteParser_fragment() throws RecognitionException {
// InternalResoluteParser.g:6104:2: ( rule__AndExpr__Group_1__0 )
// InternalResoluteParser.g:6104:2: rule__AndExpr__Group_1__0
{
pushFollow(FollowSets000.FOLLOW_2);
rule__AndExpr__Gro... | [
"public final void synpred22_InternalFlow_fragment() throws RecognitionException { \r\n // ../de.grammarcraft.flow/src-gen/de/grammarcraft/flow/parser/antlr/internal/InternalFlow.g:4026:4: ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )\r\n // ../de... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns true if field medicalRate is set (has been assigned a value) and false otherwise | public boolean isSetMedicalRate() {
return EncodingUtils.testBit(__isset_bitfield, __MEDICALRATE_ISSET_ID);
} | [
"public boolean getIsSetRatio() {\n return isSetRatio;\n }",
"public boolean hasMediationStatus() {\n return ((bitField0_ & 0x00800000) == 0x00800000);\n }",
"boolean hasKillsMedal();",
"public boolean isSetPvRate() {\r\n return this.pvRate != null;\r\n }",
"@java.lang.Override... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This test is for all positive data and add two address | @Test
public void userRegisterWith2Addr() throws IOException, InterruptedException {
homePage.gotoDashboardPage();
dashboardPage.gotoRegisterPage();
registerPage.doRegistration(testData.emailAddr, testData.firstName, testData.lastName, testData.phone, testData.birthDay, testData.addrMonth, t... | [
"@Test\n public void shouldFindServicePointByCoordinates() throws Exception {\n Address address11 = new Address(\"Poznanska\", \"25\", \"29-100\", \"Poznan\", \"Wielkopolska\", \"Poland\");\n Address address12 = new Address(\"Wielkopolska\", \"15\", \"29-100\", \"Poznan\", \"Wielkopolska\", \"Pola... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Set active Set active | @Test
public void setPersonGameActiveTest() {
Integer id = null;
String email = null;
Boolean active = null;
// Void response = api.setPersonGameActive(id, email, active);
// TODO: test validations
} | [
"public void setActive(int active)\r\n {\r\n this.active = active;\r\n }",
"protected final void setActive( boolean active )\r\n {\r\n isActive.set( active );\r\n }",
"protected void setActive(boolean active) {\n m_active = active;\n }",
"public void setActive(boolean active)\r\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
number of points in the set | public int size() {
return pointSet.size();
} | [
"public int size() {return pointSet.size();}",
"public int getPointCount() { return _points.size(); }",
"public int size() {\n return points.size() / 3;\n }",
"public int size() {\n return points.size();\n }",
"public int getPointCount() {\n return point_.size();\n }",
"publi... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Specifies the file system deployment type. Single AZ deployment types are configured for redundancy within a single Availability Zone in an Amazon Web Services Region . Valid values are the following: MULTI_AZ_1 Creates file systems with high availability that are configured for MultiAZ redundancy to tolerate temporary... | public void setDeploymentType(String deploymentType) {
this.deploymentType = deploymentType;
} | [
"public String getDeploymentType()\r\n {\r\n return getSystemProperty(DEPLOYMENT_PROPERTY, CLIENT_DEPLOYMENT);\r\n }",
"public String getDeployType() {\n return deployType;\n }",
"private void setArchiveType(ArchiveType type) {\n if (type == null) {\n type = ArchiveType.... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
The failure test of the constructor HibernateSearchStrategy(String, ClassAssociator). Null sessionFactoryJndiName, IllegalArgumentException should be thrown. | public void testconstructor_failure8() throws Exception {
try {
new HibernateSearchStrategy((String)null, fragmentBuilders);
fail("IllegalArgumentException should be thrown");
} catch (IllegalArgumentException e) {
// pass
}
} | [
"public void testconstructorMissDBFactoryName() throws Exception {\r\n ConfigManager cm = ConfigManager.getInstance();\r\n try {\r\n this.tearDown();\r\n cm.add(\"failure/default.xml\");\r\n cm.add(\"failure/MissDBFactoryName.xml\");\r\n new DatabaseSearchSt... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Performs a x2 inwards zoom. | private void zoomIn() {
position.setZoom(position.getZoom() * 2);
} | [
"public void zoomIn(int x, int y) {\n \t\tupdate_graphics = true; // update the offscreen images.\n \t\tzoomIn2(x, y);\n \t}",
"private void zoomOut2(int x, int y) {\n \t\tif (magnification <= 0.03125)\n \t\t\treturn;\n \t\tdouble newMag = getLowerZoomLevel(magnification);\n \t\tif (imageWidth * newMag > dstWidth... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method was generated by MyBatis Generator. This method corresponds to the database table hf_user_member | int updateByExampleSelective(@Param("record") HfUserMember record, @Param("example") HfUserMemberExample example); | [
"public MemberDTO select_userInfo(MemberDTO memberDTO) {\n\t\treturn (MemberDTO)sqlMapClientTemplate.queryForObject(\"CommonSql.select_userInfo\",memberDTO);\r\n\t\r\n\t}",
"@Override\n\tpublic List<MemberDetail> findAllMember() {\n\t\treturn getBaseDao().findAllMember();\n\t}",
"@Override\r\n\tpublic List<Memb... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
send basic UTF message | private static void sendUTF(String s) {
Message message = new Message();
message.what = SEND_UTF;
Bundle b = new Bundle();
b.putString("data", s);
message.setData(b);
sHandler.sendMessage(message);
} | [
"protected static void sendMessage(String msg){\r\n\t\ttry { \r\n\t\t\tdos.writeUTF(msg);\r\n\t\t} catch (IOException e) { \r\n\t\t\te.printStackTrace(); \r\n\t\t} \r\n\t}",
"protected void send(String msg) throws IOException{\r\n\t\tout.writeUTF(msg);\r\n\t}",
"public void Send(String msg) throws IOException{\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method was generated by MyBatis Generator. This method sets the value of the database column MTL_SYSTEM_ITEMS_B.ASSET_CATEGORY_ID | public void setAssetCategoryId(BigDecimal assetCategoryId) {
this.assetCategoryId = assetCategoryId;
} | [
"@Override\n\tpublic void setAssetCatId(long assetCatId) {\n\t\t_meCategory.setAssetCatId(assetCatId);\n\t}",
"public void setCategoryId(int aCategoryId) {\n categoryId = aCategoryId;\n }",
"public void setIdCategory(Integer idCategory) {\n this.idCategory = idCategory;\n }",
"public void ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Common printing method to output all messages with proper prefixes | public void printToUser(String message) {
System.out.println(PREFIX + border);
System.out.println(PREFIX + message.replace("\n", LS + PREFIX));
} | [
"@Override\n\tpublic void print(String prefix, Logger logger) {\n\t}",
"public void print() {\n System.out.printf(\"Subject: %s\\nFrom: %s\\nTo: %s\\nMessage: %s\\n\", subject, from, to, message);\n }",
"@Override\r\n\tpublic void printMessage(String msg) {\n\r\n\t}",
"@Override\n\tpublic void print() {\n... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
method gets user input of type int and return that input | public static int getChoice(Scanner kb) {
int input = 0;
boolean flag = true;
while(flag == true) {
System.out.print("Enter Choice: ");
String inputString = kb.nextLine();
//input = Integer.parseInt(inputString);
if ( validateInput(inputString, "integer") == true) {
input = Integer.parseInt(inpu... | [
"private static Integer userInput(Integer input) {\r\n Scanner scan = new Scanner(System.in);\r\n input = Integer.parseInt(scan.next());\r\n return input;\r\n }",
"private int getInputInt() {\n int choice = -1; // create choice integer set to -1\n Scanner kb = new Scanner(Sys... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This helper method returns a json object | private static JSONObject getJsonObject(String json) {
try {
JSONObject jsonObject = new JSONObject(json);
return jsonObject;
} catch (JSONException e) {
e.printStackTrace();
}
return null;
} | [
"public String CreateJsonHTTPResponse() {\n\n\t\tGson gsonBuilder = new GsonBuilder().create();\n\t\tString jsonFromPojo = gsonBuilder.toJson(this);\n\n\t\treturn jsonFromPojo;\n\n\t}",
"@Override\n public JSONObject toJSON() {\n JSONObject json = new JSONObject();\n try {\n json.put(\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets the FIO_PODPISANT value for this GetChangesResponse. | public void setFIO_PODPISANT(java.lang.String FIO_PODPISANT) {
this.FIO_PODPISANT = FIO_PODPISANT;
} | [
"public br.com.lemontech.selfbooking.wsselfbooking.beans.types.TipoPax getTipoPax() {\n return tipoPax;\n }",
"public void setTipoPlato(String tipoPlato) {\n this.tipoPlato = tipoPlato;\n }",
"public void setPunteggio(int p) {\n this.punteggio_utente = p;\n }",
"public void setTipo(Str... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Destroys the given thread. It can also destroy namespaced threads. For example: destroy("group."); It will destroy every thread that starts with group. | public static void destroy(String key)
{
if (!key.contains("*")) {
if (! threads.containsKey(key)) {
return;
}
if (threads.get(key).isAlive()) {
threads.get(key).interrupt();
}
threads.remov... | [
"public void destroy() {\n cleanup.shutdown();\n }",
"private void destroyUpdateThread(J3dStructure structure) {\n \tif (structure.updateThread != null) {\n \t structure.updateThread.finish();\n \t structure.updateThread.structure = null;\n \t structure.updateThread = null;\n \t}\n \tstructure.... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
The purpose of this method is subtract the accounts balance by the checking fees every time its called | @Override
public void updateBalance() {
this.balance -= 13.50; // takes the balance of this account and subtracts 13.50 from it
} | [
"public void deductFees() {\r\n\t\tint transactions = getTransactions();\r\n\t\tif(transactions < 2) {\r\n\t\t\tdouble monthlyFees = transactions * TRANSACTION_FEE;\r\n\t\t\tdouble balance = getAccountBalance();\r\n\t\t\tbalance = balance - monthlyFees;\r\n\t\t\tsetAccountBalance(balance);\r\n\t\t}\r\n\t}",
"publ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Construct a ChatMessage internally from a builder. | private ChatMessage(final Builder builder) {
this.mUsername = builder.mUsername;
this.mMessage = builder.mMessage;
this.mTimeStamp = builder.mTimeStamp;
} | [
"private CGChatProto(Builder builder) {\n super(builder);\n }",
"private Chat(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"private McCreateChatRoom(Builder builder) {\n super(builder);\n }",
"public interface MessageBuilder {\n Message build(... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Creates the power up. | private void createPowerUp() {
gameImpl.getPlayerPowerUps().addAll(this.spawnerPowerUp.SpawnPowerUpPlayer(this.currentLevel));
gameImpl.setGlobalPowerUp(this.spawnerPowerUp.spawnGlobalPowerUp().orElse(null));
} | [
"public void powerUp() {\r\n\t\tenable();\r\n\t\trest();\r\n\r\n\t\tif (ear != null) {\r\n\t\t\tear.clearLock();\r\n\t\t}\r\n\r\n\t\tbeginCheckingOnInactivity();\r\n\r\n\t\tpython.execMethod(\"power_up\");\r\n\t}",
"public void pickPowerUp() {\n\n\t}",
"public void launchPowerup() {\n\t\tPowerUpDenGUI powerup =... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Try to retrieve the lowest of end | public boolean book(int start, int end) {
Integer low = map.lowerKey(end);
// case 1 : if I do not have any interval lesser than end or
// case 2 : if I have an interval which do not collide with this my new meeting, then we are good.
if (low == null || map.get(low) <= start) {
map.put(start, end);
ret... | [
"final int absLowest() {\n int e =\n (fromStart ? m.getFirstEntry() :\n (loInclusive ? m.getCeilingEntry(lo) :\n m.getHigherEntry(lo)));\n return (e == NIL || tooHigh((K) m._key[e])) ? NIL : e;\n }",
"private int resolveSt... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Get the categories property: Categories to send digest for. If categories are not provided, then digest will be sent for all categories. | public List<Category> categories() {
return this.categories;
} | [
"@ApiModelProperty(example = \"null\", value = \"'categories' string parameter to call, echoed back \")\n public List<String> getCategories() {\n return categories;\n }",
"public ch.ivyteam.ivy.scripting.objects.List<java.lang.String> getCategories()\n {\n return categories;\n }",
"public String [] ge... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Delist an ERC20 asset .vega.ERC20AssetDelist asset_delist = 1002 [json_name = "assetDelist"]; | @java.lang.Override
public boolean hasAssetDelist() {
return actionCase_ == 1002;
} | [
"@ApiOperation(httpMethod = \"POST\", value = \"Get the complete details assets\")\n @PostMapping(value = \"/v1/listing/assets\")\n public ResponseEntity<Object> getAssetLists(@RequestBody(required = true) Request request) {\n\n String assetGroup = request.getAg();\n if (Strings.isNullOrEmpty(as... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
++ getter for autogen property _ChildClasses This is an autogenerated method that returns the map of design time [static] children. Note: the class generator will ignore any custom implementation for this behavior. | protected java.util.Map get_ChildClasses()
{
return __mapChildren;
} | [
"public HashMap<Integer, Child<T>> getChildrenMap() {return getCM();}",
"public Set<String> getChildrenKeys(){\n return children.keySet();\n }",
"HashMap <Character, TrieNode> getChildren () {\n\t\treturn children;\n\t}",
"public HashMap<Character, TrieNode> getChildren(){\n\t\treturn child... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Attempt to discover a BaseStepMeta from the given StepMeta | protected BaseStepMeta getBaseStepMetaFromStepMeta( StepMeta stepMeta ) {
BaseStepMeta baseStepMeta = new BaseStepMeta();
baseStepMeta.setParentStepMeta( stepMeta );
if ( stepMeta != null ) {
StepMetaInterface smi = stepMeta.getStepMetaInterface();
if ( smi instanceof BaseStepMeta ) {
b... | [
"private void testRoundTrip( BaseStreamStepMeta thisMeta ) {\n StuffStreamMeta startingMeta = (StuffStreamMeta) thisMeta;\n String xml = startingMeta.getXML();\n StuffStreamMeta metaToRoundTrip = new StuffStreamMeta();\n try {\n Node stepNode = XMLHandler.getSubNode( XMLHandler.loadXMLString( \"<st... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Opens the map browser, showing a route to the location specified. | private void initMapBrowser(double latitude, double longitude){
try{
Intent intent = new Intent(this.getActivity(), MapBrowser.class);
intent.putExtra("MapBrowser.EXTRA_GASLAT", latitude);
intent.putExtra("MapBrowser.EXTRA_GASLNG", longitude);
startActivity(intent);
... | [
"public void openMap() {\n btnGetMap.setOnClickListener(\n new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n // URI used to create the Intent.\n Uri gmmIntentUri = Uri.parse(\"geo:0,... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
new dialog for only service | public void serviceCategoryDialog() {
final Dialog dialog = new Dialog(RefineArtistActivity.this);
dialog.requestWindowFeature(Window.FEATURE_NO_TITLE);
dialog.setCancelable(true);
dialog.setContentView(R.layout.dialog_show_service);
TextView tvHeader = dialog.findViewById(R.id.t... | [
"public CreateDialog(PseudoService service) {\n\t\tthis.service = service;\n\t\tinit();\n\t}",
"public interface DialogService {\n\n void start();\n\n Dialog getDialogById(Integer dialogId);\n\n boolean createNewDialog(Dialog dialog);\n\n boolean addUserToDialog(Pair<Integer, User> newUser);\n\n bo... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Gets the redirectionInfoId value for this SignalingProfile. | public java.lang.String getRedirectionInfoId() {
return redirectionInfoId;
} | [
"public java.lang.String getRelationshipInfoId() {\n return relationshipInfoId;\n }",
"public static int getApprovalProfileId() {\n int id = -1;\n final String idString = EjbcaConfigurationHolder.getString(\"jaxws.approvalprofileid\");\n if (!StringUtils.isEmpty(idString)) {\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns the seed of the pseudorandom number generator. | public static long getSeed()
{
return seed;
} | [
"public final long getRandomSeed() {\r\n\t\treturn randomSeed;\r\n\t}",
"public static int generateSeed()\n {\n long t = System.nanoTime();\n return (int) ( t >>> 32 ) ^ (int) t ^ ( new Object() ).hashCode();\n }",
"public long pseudorandom(long seed){\n long xpone;\n xpone = (... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
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();
//noinspection SimplifiableIfStatement
if (id == R.id.action_settings) {
return true;
}
return super.onOptionsItemSelected(item);
} | [
"@Override\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\tswitch(item.getItemId()){\n\t\tcase android.R.id.home:\n\t\t\t// app icon in action bar clicked; go home\n Intent intent = new Intent(this, MainMenuCard.class);\n intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Base case: If we have all of our sections, check if they work. Assumption: schedule has only sections that do not conflict. | public ArrayList<ClassInfo> findSections(ArrayList<ClassInfo> schedule, HashMap<String, List<ClassInfo>> map) {
if (schedule.size() == info.size()) {
return schedule;
}
// Recursive case: Add a new section that works and check future courses.
int courseIdx = schedule.size();... | [
"public boolean checkTimeConflict(Section s) {\n\n //If the sections share a day\n if (meet.checkConflict(s.getMeetings())) {\n // If s either starts or finishes within this sections time period\n if ((sTime <= s.getSTime() && eTime >= s.getSTime()) ||\n (sTime... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
required int32 c2s_kind = 2; | public int getC2SKind() {
return c2SKind_;
} | [
"int mo46536a(int i, int i2, C24244c c24244c);",
"@Override\n\tpublic short getL2Type()\n\t{\n\t\treturn 0;\n\t}",
"public com.znl.proto.M1.M10000.S2C getS2C() {\n return s2C_;\n }",
"interface C1011d {\n}",
"public interface C2136a {\n }",
"C2128c m5403a(C2129c c2129c, C2122b c2122b);",
"pub... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
fixed element type fixed length fixed index | public static void main(String[] args) {
System.out.println("*** Arrays ***");
// Dogs dogArr[]; // Old way of creating an Array
// dogArr = new Dogs[5]; // specifying the length => 0- 4 index
Dogs[] dogArr = new Dogs[5];
dogArr[0] = new Dogs("springer", 50, false);
dogArr[... | [
"public FixedIndexList(int size){\t\t\n\t\tthis(size, DEFAULT_LOAD_FACTOR);\n\t}",
"public void fixedAtIndexY(int a[]);",
"public void setElement_data(int index1, short value);",
"short getIndex();",
"public final native void setElement(short[] arr, int index, short value);",
"public final native short ge... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Visit comparison expression Visit the two expressions first and compute the result using the correct operator | @Override
public Integer visitCompExpr(DonutParser.CompExprContext ctx) {
int begin = visit(ctx.expr(0));
visit(ctx.expr(1));
Reg r0 = reg(ctx.expr(0));
Reg r1 = reg(ctx.expr(1));
if (ctx.compOperator().EQUALS() != null) {
emit(new Compute(Operator.EQUAL, r0, ... | [
"@Override\r\n\tprotected Condition parseop(Term t1, String op, Term t2, LexicalParser parser) {\r\n\t\tif (op.equals(\"<=\")) return new LessEq(t1, t2);\r\n\t\telse return null;\r\n\t}",
"@Override\n public Expr visitPrecedenceEqualExpression(HiveParser.PrecedenceEqualExpressionContext ctx) {\n Expr current ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Calculate the price for the favourite line. This assumes that the price it has been passed is a posotive value. | private long calculatePriceForFavourite(long price, int centsDifference) {
long newPrice;
// i.e. +110 returns -130
newPrice = 0 - price - centsDifference;
return newPrice;
} | [
"public int calculatePrice() {\n int whippedCream = 1;\n int chocolate = 2;\n int totalPrice = 0;\n if (hasWhippedCream && hasChocolate) {\n totalPrice = (price + whippedCream + chocolate) * quantity;\n } else if (hasWhippedCream) {\n totalPrice = (price + wh... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Change degree to radian | static double degreeToRadian(double degree) {
return Math.PI * degree / 180.0;
} | [
"private static double degreeToRadian(double degree) {\n return Math.PI * degree / 180;\n }",
"private float degree2Radian(int degree) {\n return (float) (Math.PI * degree / 180);\n }",
"public static float toRadian(float degree) {\n\t\treturn degree * (Util.PI * Util.RECIPROCAL_180);\n\t}",
"pu... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
optional .com.kedacom.ops.flink.etl.proto.DssNetAddr RcvAddr = 3; | public com.kedacom.ops.flink.etl.proto.Dssevstruct.DssNetAddr getRcvAddr() {
if (rcvAddrBuilder_ == null) {
return rcvAddr_;
} else {
return rcvAddrBuilder_.getMessage();
}
} | [
"public ds.hdfs.SOMETHING.IPOrBuilder getAddressOrBuilder(\n int index) {\n if (addressBuilder_ == null) {\n return address_.get(index); } else {\n return addressBuilder_.getMessageOrBuilder(index);\n }\n }",
"java.util.List<? extends ds.hdfs.SOMETHING.IPOrBuilder> \... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Instantiates a new Client closed exception. | public ClientEndpointClosedException(String errorMsg) {
super(errorMsg);
} | [
"public RabbitMqClientException() {\n\t\tsuper();\n\t}",
"public ClientConnectionException exception();",
"public Client() throws RemoteException{}",
"public RabbitMqClientException(String message, Throwable cause) {\n\t\tsuper(message, cause);\n\t}",
"public Client() throws RemoteException {\n\t\tsuper();\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns the value of the 'Start' containment reference. If the meaning of the 'Start' containment reference isn't clear, there really should be more of a description here... | Point getStart(); | [
"public Object getStart() {\n\t\treturn start;\n\t}",
"public Object getStartValue() {\n\t\treturn this.startValue;\n\t}",
"public Point getStart() {\n\t\treturn this.start;\n\t}",
"public Point<Integer> getStart() {\n\t\treturn start;\n\t}",
"public MutablePos getStart() {\n\t\t\treturn start;\n\t\t}",
"... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ / / / / | public BootupClasses createCopy() {
/* 124 */ return new BootupClasses(this);
/* */ } | [
"private void calculatePaths() {\n\n\n }",
"public static void main (String arg[]){\n\tSystem.out.println(\" ( ) ( ( \"); \n\n\tSystem.out.println(\" ( )\\\\ ) ( /( ( )\\\\ ) ( )\\\\ ) \");\n\t\n\tSystem.out.println(\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Levert een melding waaruit blijkt of er een NullPointerException is opgetreden | @SuppressWarnings("null")
private static String nullPointerException() {
try {
JLabel s = null;
s.setText("a");
return "Geen runtime exception";
}
catch (RuntimeException e) {
return e.toString();
}
} | [
"public boolean NullCheck(){\r\n \r\n return true; \r\n }",
"@Override\n\tpublic void flagNull() {\n\n\t\t\n\t}",
"protected boolean checkNull() {\n return false;\n }",
"private void recoverNullObjects(){\n\t\t\n\t\tif(currentWProcessWork != null){\n\t\t\t\n//\t\t\tif ( currentObjec... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Getting the Search string from the user | public static void main(String[] args) throws Exception {
Scanner sc=new Scanner(System.in);
System.out.println("Enter the search String");
USER_INPUT=sc.nextLine();
int res = ToolRunner.run(new Search(), args);
System.exit(res);
} | [
"java.lang.String getSearchTermString();",
"void searchForSuggestions(String userInput);",
"public static String inputSearchCriteria() {\n\t\tSystem.out.println(\"ENter search criteria \");\n\t\tString search = input.nextLine();\n\t\tif(search.length() == 0) {\n\t\t\t//if search criteria is empty, them program ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ JADX ERROR: Method load error jadx.core.utils.exceptions.DecodeException: Load method exception: bogus opcode: 00e5 in method: android.widget.ZoomButtonsController.1.onReceive(android.content.Context, android.content.Intent):void, dex: at jadx.core.dex.nodes.MethodNode.load(MethodNode.java:118) at jadx.core.dex.nodes... | public void onReceive(android.content.Context r1, android.content.Intent r2) {
/*
// Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: android.widget.ZoomButtonsController.1.onReceive(android.content.Context, android.content.Intent):void, dex:
*/
... | [
"public void mo650a() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegi... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Add a Wartest to the database | public int addAWartest(Connection con, Wartest wartest) throws Exception {
Integer victor = wartest.getVictor();
Integer looser = 0;
if (victor.equals(wartest.getTroop1())) looser = wartest.getTroop2();
else looser = wartest.getTroop1();
String sql = "call add_wartest(?,?,?,?,?)";
PreparedStatement pstmt... | [
"void addUknownToDatabase();",
"@Test\n public void Sighting_IsSavedOnDataBase_True(){\n Sighting newSighting = new Sighting(\"Roger\",\"Zone 2\",1);\n newSighting.save();\n assertTrue(Sighting.all().get(0).equals(newSighting));\n }",
"public void insertBands(Competition toAdd) {\n\t\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
repeated uint32 available_players = 7; | public Builder addAvailablePlayers(int value) {
ensureAvailablePlayersIsMutable();
availablePlayers_.add(value);
onChanged();
return this;
} | [
"public int[] numPlayers();",
"public int getPlayers() {\n return PLAYERS;\n }",
"public int getMaximumPlayers() {\n return 1;\n }",
"int getNumberOfPlayer(Players players);",
"public int getNumPlayers(){\n return this.numPlayers;\n }",
"@Override\n public int getNPlayers() {\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "rule__ExpExpr__Group_1__1__Impl" $ANTLR start "rule__ExpExpr__Group_1_0__0" InternalResoluteParser.g:7256:1: rule__ExpExpr__Group_1_0__0 : rule__ExpExpr__Group_1_0__0__Impl ; | public final void rule__ExpExpr__Group_1_0__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
// InternalResoluteParser.g:7260:1: ( rule__ExpExpr__Group_1_0__0__Impl )
// InternalResoluteParser.g:7261:2: rule__ExpExpr__Group_1_0__0__Impl
... | [
"public final void rule__ExpExpr__Group_1_0_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalResoluteParser.g:7213:1: ( rule__ExpExpr__Group_1_0_0__1__Impl )\n // InternalResoluteParser.g:7214:2: rule__ExpExpr__Group_1... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Visual representation of tree printed to console | public void printTree()
{
printNode(0);
} | [
"public String print() {\n log.info(\"Printing binart tree in tree format..\");\n PaddedWriter writer = new PaddedWriter();\n printPretty( 1, 0, writer );\n return writer.toString();\n }",
"public String printTree() {\r\n this.out = \"\";\r\n if (root == null)\r\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Gte specifies that this field must be greater than or equal to the specified value, inclusive. If the value of Gte is larger than a specified Lt or Lte, the range is reversed. optional int32 gte = 5; | boolean hasGte(); | [
"public Value gte(Value v);",
"default CriteriaExpression gte(D value) {\n return new CriteriaExpression(this, CriteriaOperator.GTE, serialize(value));\n }",
"public static Restriction gte(String fieldName, long value){\r\n return gte(fieldName, Long.toString(value));\r\n }",
"public Condition g... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Call Back method to get the Message form other Activity | @Override
protected void onActivityResult(int requestCode, int resultCode, Intent data)
{
super.onActivityResult(requestCode, resultCode, data);
// check if the request code is same as what is passed here it is 2
if(resultCode==2){
String message = data.getStringExtra("MESSA... | [
"@Override\n protected void onActivityResult(int requestCode, int resultCode, Intent data) {\n super.onActivityResult(requestCode, resultCode, data);\n\n // get the response from the second activity\n\n // is this method called by the second activity that we know!\n if (requestCode ==... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
TODO Autogenerated method stub | @SuppressWarnings("unchecked")
@Override
public BaseResponse execute(JSONObject bean) {
SummaryBean bd = new SummaryBean();
String userId = bean.getString("userId");
String title = bean.getString("title");
User user = userService.findUserById(userId);
String deptCode = user.getDeptCode();
/**
* 搜... | [
"@Override\n }",
"@Override\n\t\t\t\tpublic void pintate() {\n\t\t\t\t\t\n\t\t\t\t}",
"@Override\n public void extornar() {\n \n }",
"@Override\r\n\tpublic void hablar() {\n\t\t\r\n\t}",
"@Override\n\t\tpublic void kayit1() {\n\t\t\t\n\t\t}",
"@Override\r\n\tpublic void wydaj() {\n... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Kijk of er internet aanwezig is zoja, ga door naar controle van het rijksregisternummer Gebruiker wordt doorgestuurd naar de juiste pagina | @Override
public void onClick(View view) {
isInternetPresent = cd.isConnectingToInternet();
if (isInternetPresent) {
if(controleRijksregnr())
{
jaOpslaanRijksregNr();
}
} else
... | [
"private void PreuzmiPodatkeZaBazu() {\n bpkorisnik = konf.getUserUsername();\n bplozinka = konf.getUserPassword();\n url = konf.getServerDatabase() + konf.getUserDatabase();\n }",
"Account getGebruiker(String gebruikersnaam, String wachtwoord) throws RemoteException;",
"public Gebruiker... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Test of getTelefone method, of class AlunoBean. | @Test
public void testGetTelefone() {
System.out.println("getTelefone");
AlunoBean instance = new AlunoBean();
String expResult = "";
String result = instance.getTelefone();
assertEquals(expResult, result);
// TODO review the generated test code and remove the default... | [
"String getTelefono();",
"public int getTelefone() {\n return this.number;\n }",
"public String getTelefone() {\n\t\treturn this.telefone;\n\t}",
"@Test\r\n public void testGetTelephone() {\r\n\r\n assertEquals(telephonePojo, instance.getTelephone());\r\n assertNull(instance03.getTe... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets the button or axis state. If the target is an axis, it will be to 0 (false) or 1 (true). If the target is an axis, because only one axis is being modified, any deadzones are ignored. | public void apply (String targetName, boolean pressed) throws IOException {
if (targetName == null) throw new IllegalArgumentException("targetName cannot be null.");
String name = targetName.trim().toLowerCase();
Target target = nameToTarget.get(name);
if (target == null) {
target = alternateNameToTarge... | [
"public void setButtonState(int x, int y, boolean state) {\n\t\tthis.buttonArray[x][y] = state;\n\t}",
"public void setPressed(boolean b);",
"public void updateState()\n\t{\n\t\tif (bounceButton.isSelected() || bothButton.isSelected())\n\t\t\tshouldBounce = true;\n\t\telse\n\t\t\tshouldBounce = false;\n\n\t\tif... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns the 'best nearby line'. If no other aisle is shorter, then the current line will be the best. If another line is i people shorter, then that line will be best as long as it is within i lines. This method is used only in selecting the original line. | private int getBestNearbyLine(CheckoutLine[] lines, int startLine)
{
int startLineLength = lines[startLine].length();
int bestNearby = startLine;
for (int i = 0; i < lines.length; i++)
{
int lineDistance = Math.abs(i - startLine);
if (startLineLength - lines[i].length() >= i) //i lines away, i p... | [
"public static int shortestLine() {\n\t\tint shortest = 0;\n\t\tfor (int i = 1; i < numCashiers; i++) {\n\t\t\tif (tellers[i].size() < tellers[shortest].size()) {\n\t\t\t\tshortest = i;\n\t\t\t}\n\t\t}\n\t\treturn shortest;\n\t}",
"Line longestLine() {\r\n Line longest = null;\r\n for (Line line : t... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
required bool healthy = 2; | boolean getHealthy(); | [
"public void beingHealthy(){\n\t\tthis.state = State.HEALTHY;\n\t}",
"private boolean healthCheck() {\n return true;\n }",
"void beHealthy();",
"boolean updateLifeStatus(){\r\n if (health > 0) {\r\n return true;\r\n }\r\n else return false;\r\n }",
"public boolea... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
softspace is the only writeable file object attribute | public void __setattr__(String name, PyObject value) {
if (name == "softspace")
softspace = value.__nonzero__();
else if (name == "mode" || name == "closed" || name == "name")
throw Py.TypeError("readonly attribute: " + name);
else
throw Py.AttributeErro... | [
"@Override\n public boolean canWrite(){return false;}",
"int getFileStorageTypeValue();",
"Object getFileObject();",
"public boolean isDirectFileAccess() {\n return directFileAccess;\n }",
"public boolean isReadOnly() {\n\t\treturn !this.getFile().canWrite();\n\t}",
"public boolean isSaveAsAl... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
eliminated create a baseball division from given filename in format specified below | public BaseballElimination(String filename) {
In inFile = new In(filename);
N = inFile.readInt();
if (N <= 0)
throw new java.lang.IllegalArgumentException();
w = new int[N];
l = new int[N];
r = new int[N];
g = new int[N][N];
e = new boolean[N]... | [
"public BaseballElimination(String filename) {\n In in = new In(filename);\n\n n = Integer.parseInt(in.readLine());\n nameToId = new HashMap<>();\n idToName = new HashMap<>();\n numberOfWins = new Integer[n];\n numberOfLosses = new Integer[n];\n numberOfRemainingGame... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Please notice this method use only System Domain! location check | public void addingScenarioTemplateToScenarioHyperlink(Boolean trackOpenedEmails,
Boolean sendLinkToAwarenessWebsiteAutomatically,
Boolean byClickRateSendLinkToAwarenessWebsiteAutomatically,
... | [
"private boolean checkLocation() {\n if(!isLocationEnabled()) {\n showAlert();\n }\n return isLocationEnabled();\n }",
"private void checkingLocation() {\n if (isGooglePlayServicesAvailable()) {\n LocationManager locationManager = (LocationManager) getSystemSer... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Removes entries from a string list for given option | protected List<String> cleanStringList(List<String> value, int oType) {
switch (oType) {
case IBuildSettings.LITE_DEFINES:
value = truncateStringList(value, CmsisConstants._LITE_);
break;
case IBuildSettings.LITE_INCLUDE_PATH:
case IBuildSettings.LITE_LIBRARY_PATHS:
case IBuildSettings.LITE_LIBRARIES:
... | [
"List<String> getOptionList(String domain, String option, boolean trimEmpty);",
"public void removeList(String label);",
"private static List<String> ClearList(List<String> list) {\n\n\t\tif (list == null)\n\t\t\treturn null;\n\n\t\tList<String> listnew = new ArrayList<String>();\n\n\t\tIterator<String> it = li... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
CR1564 Utctimezone for diff region in country | @Deprecated
public BalanceImpact[] getCustomResourceBalanceImpact(int duration) {
return getCustomResourceBalanceImpact(duration, new Date());
} | [
"ZoneId getZone();",
"abstract public int getZone();",
"@Test\n public void TestVTimeZoneHeaderProps() {\n String tzid = \"America/Chicago\";\n String tzurl = \"http://source.icu-project.org\";\n Date lastmod = new Date(getUTCMillis(2007, Calendar.JUNE, 1));\n\n VTimeZone vtz = VT... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Overloaded Constructors See UML and default Constructor | public CounterTerrorist(String name) {
this.setName(name);
this.setHealth(100);
// Default weapon for Counter Terrorists: P2000
this.setWeapon(Weapon.P2000);
// Default location: (0,0)
this.setLocation(0, 0);
this.setAlive(true);
ammo = new Stack<Bullet>();
CounterTerrorist.actorCount++;
CounterTerr... | [
"public abstract T constructor();",
"public A231503() {\n this(3, 2);\n }",
"DefaultConstructorDemo(){\n\t\tthis.x = x;\n\t\tthis.s = s;\n\t}",
"private O()\r\n {\r\n super();\r\n }",
"DefaultConstructor() {\n\t\tSystem.out.println(\"DefaultConstructor\");\n\t}",
"public Repre... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method was generated by MyBatis Generator. This method sets the value of the database column t_presentation_scrom_item.the_level | public void setTheLevel(Long theLevel) {
this.theLevel = theLevel;
} | [
"public void set_level(int value)\r\n\t{\r\n\t\tlevel = value;\r\n\t}",
"public void setLevel(Level level) {}",
"public void setLevel(Integer level) {\n \t\t_level = level;\n \t}",
"public void setLevel(Integer level)\n {\n this.level = level;\n }",
"public abstract void setLevel(int i);",
"p... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
other instance variables ... Default constructor positions the cursor before the smallest prime factor. | public PrimeFactorizationIterator()
{
// TODO
cursor=head.next;
} | [
"public PrimeGenerator(){\n\t\tposition = 0;\n\t\tprimeList.add(2L);\n\t}",
"public primeCollectionIterator() {\n\t\t\tcurrent = FIRST_PRIME;\n\t\t}",
"public PrimeSearcher() {\n primes = new ArrayList<Integer>();\n btime = Calendar.getInstance().getTime();\n primes.add(2);\n current... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Set the id value. | public ResourcesResponseEndpointsItem withId(String id) {
this.id = id;
return this;
} | [
"public final void setId(final String value) {\n\t\t\n\t\tthis.id = value;\n\t}",
"public void setId(Integer value) {\n this.id = value;\n }",
"public void setId(int id) {\r\n\t\tthis.id.set(id);\r\n\t}",
"public void setId(final int id)\r\n {\r\n this.id = id;\r\n }",
"void setId(int... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
To get all categories from database | public LinkedList<Record> getCategoryTypes(){
LinkedList<Record> records=new LinkedList();
PreparedStatement stmt = null;
String query = "select * FROM categories";
try {
stmt=connection.prepareStatement(query);
ResultSet rs = stmt.executeQuery();
... | [
"public List<Beangoods_categories> loadAllcategories() throws BaseException ;",
"public List getAllCategory() {\n\t\treturn sessionFactory.getCurrentSession().createQuery(\"from Category\").list();\r\n\t}",
"Set<String> getAllCategories();",
"public List<Categories> getAllCategories() {\n List<Categori... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Get Previous Version Id | public static int getPrevVersionID(SandboxService sandboxService, String name, int version)
{
List<Integer> allVersions = getAllVersionID(sandboxService, name);
Collections.sort(allVersions);
int index = allVersions.indexOf(version);
if (index == 0)
{
return 0;
... | [
"String getPrevVersion();",
"public String getPrevVersion() {\n return instance.getPrevVersion();\n }",
"public Long getFpreviousversionid() {\r\n return fpreviousversionid;\r\n }",
"public String previousId() {\n return getString(PREVIOUS_ID_KEY);\n }",
"public String getPre... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
We don't need CSRF for this example | @Override
protected void configure(HttpSecurity httpSecurity) throws Exception {
httpSecurity.csrf().disable()
// .addFilter(new JwtUsernameAndPasswordAuthenticationFilter(authenticationManager(), jwtConfig))
// dont authenticate this particular request
.authorizeRequests()
.antMatchers("/login").permit... | [
"void handle(HttpServletRequest request, HttpServletResponse response, XsrfException re) throws IOException, ServletException;",
"@RequestMapping(value=\"/getCsrfToken\",method=RequestMethod.GET)\n\tpublic void getCsrf() {\n\t\t\n\t\tMap<String,Object> map = new HashMap<String,Object>();\n\t\t\n\t\tCsrfToken csrf... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
The card expiry month. Format: 2 digits, zeropadded for single digits. For example: 03 &x3D; March 11 &x3D; November | @javax.annotation.Nonnull
@ApiModelProperty(required = true, value = "The card expiry month. Format: 2 digits, zero-padded for single digits. For example: * 03 = March * 11 = November")
public String getExpiryMonth() {
return expiryMonth;
} | [
"int getExpiryMonth();",
"public String GetExpiryMonth() {\n\t\treturn _expiryMonth;\n\t}",
"public int getExpirationMonth() {\n return expirationMonth;\n }",
"public static final String getMonthYearCode(final LocalDate expiry, final LocalDate twoDigitSwitch) {\n final StringBuilder futureCode = new St... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Add tokens to a given players account | public void addTokens(String playerName, int numTokens)
{
if(tokens.containsKey(playerName))
{
tokens.put(playerName, tokens.get(playerName) + numTokens);
}
} | [
"public void awardTokens(final Player player, final int tokens);",
"@Override\n public void addTokens(List<Player> tokens) {\n // does nothing\n }",
"public void takeTokens(final Player player, final int tokens);",
"void saveToken(String username, String token);",
"public void addUserToken(Stri... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ prepare all the SQL statements in this method. | public void prepareStatements() throws SQLException {
checkFlightCapacityStatement = conn.prepareStatement(CHECK_FLIGHT_CAPACITY);
clearTableUsers = conn.prepareStatement(CLEAR_USER_TABLE);
clearTableReservations = conn.prepareStatement(CLEAR_RESERVATION_TABLE);
clearTableCapacities = conn.prepareState... | [
"@Override\r\n\tpublic void prepareSQL() {\n\t\tSystem.out.println(\"准备mysql查询语句\");\r\n\t}",
"public void prepareStatements() {\n try {\n this._preparedInsertStatement = this.database.compileStatement(\"INSERT INTO HITS (URL, TIMESTAMP) VALUES (?, ?)\");\n } catch (NullPointerException e... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |