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 |
|---|---|---|---|---|---|---|
and csmi_certify_type <= ? | public M csmiCertifyTypeMax(Object max){this.put("csmiCertifyTypeMax", max);return this;} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean testCategory(EIfcmaterialconstituent type) throws SdaiException;",
"private static String segOnsetCtype(Item seg, String ctype) {\n\t\tItem daughter = seg.getItemAs(Relation.SYLLABLE_STRUCTURE).getParent().getDaughter();\n\n\t\twhile (daughter != null) {\n\t\t\tif (\"+\".equals(getPhoneFeature(dau... | [
"0.52674407",
"0.5198389",
"0.5164424",
"0.5118719",
"0.51112384",
"0.5094231",
"0.49005187",
"0.4867023",
"0.4825076",
"0.4814076",
"0.47715104",
"0.47701234",
"0.4755792",
"0.47534558",
"0.4748579",
"0.47455364",
"0.47205755",
"0.46991375",
"0.46886498",
"0.4676039",
"0.466... | 0.4635423 | 25 |
and csmi_certify_num is null | public M csmiCertifyNumNull(){if(this.get("csmiCertifyNumNot")==null)this.put("csmiCertifyNumNot", "");this.put("csmiCertifyNum", null);return this;} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public M csmiCertifyTypeNull(){if(this.get(\"csmiCertifyTypeNot\")==null)this.put(\"csmiCertifyTypeNot\", \"\");this.put(\"csmiCertifyType\", null);return this;}",
"public M csmiCertifyImageNull(){if(this.get(\"csmiCertifyImageNot\")==null)this.put(\"csmiCertifyImageNot\", \"\");this.put(\"csmiCertifyImage\", nu... | [
"0.63493466",
"0.60519886",
"0.5918506",
"0.5470407",
"0.5373883",
"0.5310366",
"0.53007835",
"0.51733804",
"0.51441103",
"0.5138178",
"0.5115746",
"0.50945157",
"0.50642043",
"0.50463265",
"0.50410926",
"0.5025529",
"0.50253814",
"0.50172246",
"0.5009913",
"0.50041693",
"0.4... | 0.7320018 | 0 |
and csmi_certify_image is null | public M csmiCertifyImageNull(){if(this.get("csmiCertifyImageNot")==null)this.put("csmiCertifyImageNot", "");this.put("csmiCertifyImage", null);return this;} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public M csmiOnCertifyImageNull(){if(this.get(\"csmiOnCertifyImageNot\")==null)this.put(\"csmiOnCertifyImageNot\", \"\");this.put(\"csmiOnCertifyImage\", null);return this;}",
"public M csmiCheckPhotoNull(){if(this.get(\"csmiCheckPhotoNot\")==null)this.put(\"csmiCheckPhotoNot\", \"\");this.put(\"csmiCheckPhoto\"... | [
"0.7741284",
"0.61949533",
"0.6144462",
"0.56603926",
"0.5645092",
"0.55907345",
"0.55318195",
"0.5525155",
"0.546482",
"0.5432426",
"0.5414486",
"0.5394944",
"0.5392325",
"0.53366935",
"0.5336327",
"0.5322554",
"0.52995014",
"0.5262994",
"0.5260414",
"0.5247006",
"0.521429",... | 0.7853751 | 0 |
and csmi_driver_num is null | public M csmiDriverNumNull(){if(this.get("csmiDriverNumNot")==null)this.put("csmiDriverNumNot", "");this.put("csmiDriverNum", null);return this;} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public M csmiDriverImageNull(){if(this.get(\"csmiDriverImageNot\")==null)this.put(\"csmiDriverImageNot\", \"\");this.put(\"csmiDriverImage\", null);return this;}",
"boolean getXAxisCharacteristicIdNull();",
"boolean getValueCharacteristicIdNull();",
"public boolean hasDriverid() {\n return fieldSetFlags... | [
"0.56280935",
"0.5304547",
"0.5288763",
"0.51997083",
"0.5174391",
"0.5110902",
"0.5091118",
"0.49890274",
"0.4988905",
"0.49784958",
"0.49532208",
"0.4939737",
"0.49186262",
"0.49102044",
"0.4874061",
"0.48716202",
"0.48660251",
"0.48652604",
"0.48637477",
"0.48532054",
"0.4... | 0.6739088 | 0 |
and csmi_driver_image is null | public M csmiDriverImageNull(){if(this.get("csmiDriverImageNot")==null)this.put("csmiDriverImageNot", "");this.put("csmiDriverImage", null);return this;} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public M csmiOnCertifyImageNull(){if(this.get(\"csmiOnCertifyImageNot\")==null)this.put(\"csmiOnCertifyImageNot\", \"\");this.put(\"csmiOnCertifyImage\", null);return this;}",
"public M csmiCertifyImageNull(){if(this.get(\"csmiCertifyImageNot\")==null)this.put(\"csmiCertifyImageNot\", \"\");this.put(\"csmiCertif... | [
"0.64242506",
"0.62653863",
"0.5986788",
"0.5890659",
"0.57878333",
"0.57532465",
"0.56990665",
"0.5662607",
"0.56607324",
"0.56485003",
"0.55993044",
"0.558762",
"0.55866647",
"0.54918617",
"0.54912174",
"0.54732746",
"0.5447379",
"0.5436658",
"0.5333646",
"0.5307728",
"0.52... | 0.7473594 | 0 |
and csmi_sex is null | public M csmiSexNull(){if(this.get("csmiSexNot")==null)this.put("csmiSexNot", "");this.put("csmiSex", null);return this;} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setSex(String sex) {\r\n this.sex = sex == null ? null : sex.trim();\r\n }",
"public void setSex(String sex) {\n this.sex = sex == null ? null : sex.trim();\n }",
"public void setSex(String sex) {\n this.sex = sex == null ? null : sex.trim();\n }",
"public void setSe... | [
"0.59209454",
"0.5859561",
"0.5859561",
"0.5859561",
"0.5859561",
"0.5859561",
"0.5859561",
"0.5782563",
"0.56537056",
"0.5619081",
"0.55458426",
"0.5512605",
"0.55123544",
"0.54531467",
"0.54414886",
"0.5440245",
"0.543803",
"0.54170185",
"0.54165494",
"0.53959435",
"0.53959... | 0.7159112 | 0 |
and csmi_sex >= ? | public M csmiSexMin(Object min){this.put("csmiSexMin", min);return this;} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setSex(String sex)\n {\n this.sex = sex;\n }",
"public void setSex(String sex) {\n this.sex = sex;\n }",
"public void setSex(Integer sex) {\r\n this.sex = sex;\r\n }",
"public void setSex(Short sex) {\n this.sex = sex;\n }",
"public void setSex(Integer... | [
"0.604873",
"0.6018003",
"0.60009205",
"0.59980816",
"0.5984692",
"0.5984692",
"0.5984692",
"0.5984692",
"0.5984692",
"0.5948093",
"0.5948093",
"0.58544755",
"0.585006",
"0.5762653",
"0.5761603",
"0.5734716",
"0.5710042",
"0.56609696",
"0.5631951",
"0.5591591",
"0.5591591",
... | 0.57779926 | 13 |
and csmi_sex <= ? | public M csmiSexMax(Object max){this.put("csmiSexMax", max);return this;} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setSex(String sex)\n {\n this.sex = sex;\n }",
"public void setSex(Integer sex) {\r\n this.sex = sex;\r\n }",
"public void setSex(String sex) {\n this.sex = sex;\n }",
"public void setSex(Integer sex) {\n this.sex = sex;\n }",
"public void setSex(Integ... | [
"0.60552454",
"0.6033184",
"0.60081226",
"0.600528",
"0.600528",
"0.600528",
"0.600528",
"0.600528",
"0.5976399",
"0.59390694",
"0.59390694",
"0.58883727",
"0.587812",
"0.58434373",
"0.5836223",
"0.5802679",
"0.5782268",
"0.5780956",
"0.5676918",
"0.5676071",
"0.56632984",
... | 0.5316106 | 46 |
and csmi_birthday is null | public M csmiBirthdayNull(){if(this.get("csmiBirthdayNot")==null)this.put("csmiBirthdayNot", "");this.put("csmiBirthday", null);return this;} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@SuppressWarnings(\"static-access\")\r\n\tpublic boolean isBirthday()\r\n\t{\r\n\t\tGregorianCalendar now = new GregorianCalendar();\r\n\t\tboolean isBirthday = false;\r\n\t\tif (now.MONTH == bDate.MONTH && now.DATE == bDate.DATE)\r\n\t\t{\r\n\t\t\tisBirthday = true;\r\n\t\t}\r\n\t\treturn isBirthday;\r\n\t}",
"... | [
"0.60502785",
"0.5904625",
"0.58600545",
"0.58498573",
"0.5781185",
"0.5759027",
"0.5709281",
"0.5682379",
"0.566483",
"0.56446695",
"0.5639864",
"0.55704284",
"0.556361",
"0.5534019",
"0.5534019",
"0.5526928",
"0.55194926",
"0.55171275",
"0.5510867",
"0.54759866",
"0.5470081... | 0.7561747 | 0 |
and csmi_birthday >= ? | public M csmiBirthdayStart(Object start){this.put("csmiBirthdayStart", start);return this;} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"abstract void birthDateValidity();",
"public void setBirthday(Date birthday);",
"public boolean checkBirthDay(java.util.Date birthdate) {\r\n\r\n Calendar calendar = GregorianCalendar.getInstance();\r\n calendar.setTime(new java.util.Date());\r\n int currentYear = calendar.get(Calendar.YEA... | [
"0.6139802",
"0.5852102",
"0.58484507",
"0.5799023",
"0.5746661",
"0.57075155",
"0.5690608",
"0.568016",
"0.56343436",
"0.56343436",
"0.55952674",
"0.5568168",
"0.5566256",
"0.5566256",
"0.5566256",
"0.55600446",
"0.55434585",
"0.55359495",
"0.5504085",
"0.5469494",
"0.546755... | 0.5289079 | 36 |
and csmi_birthday <= ? | public M csmiBirthdayEnd(Object end){this.put("csmiBirthdayEnd", end);return this;} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"abstract void birthDateValidity();",
"public boolean checkBirthDay(java.util.Date birthdate) {\r\n\r\n Calendar calendar = GregorianCalendar.getInstance();\r\n calendar.setTime(new java.util.Date());\r\n int currentYear = calendar.get(Calendar.YEAR);\r\n\r\n calendar.setTime(birthdate... | [
"0.63621616",
"0.6017685",
"0.59143823",
"0.58457434",
"0.5813887",
"0.57660174",
"0.57214564",
"0.5687269",
"0.5674944",
"0.5674944",
"0.5618387",
"0.56039983",
"0.5597964",
"0.5597964",
"0.5597964",
"0.5562711",
"0.5552026",
"0.55295694",
"0.5520394",
"0.551899",
"0.5510287... | 0.50478613 | 78 |
and csmi_qq is null | public M csmiQqNull(){if(this.get("csmiQqNot")==null)this.put("csmiQqNot", "");this.put("csmiQq", null);return this;} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private boolean m2255q() {\n return this.f2952a == ValueType.nullValue;\n }",
"public M csolRemarkNull(){if(this.get(\"csolRemarkNot\")==null)this.put(\"csolRemarkNot\", \"\");this.put(\"csolRemark\", null);return this;}",
"public M csolFromNull(){if(this.get(\"csolFromNot\")==null)this.put(\"csolFro... | [
"0.58529717",
"0.57106304",
"0.56316715",
"0.5602585",
"0.5545319",
"0.5537229",
"0.5487891",
"0.5485953",
"0.5476282",
"0.54738826",
"0.54713166",
"0.5437724",
"0.5418649",
"0.5392496",
"0.5378179",
"0.537352",
"0.53134906",
"0.5312932",
"0.5299401",
"0.5295532",
"0.5292063"... | 0.66712517 | 0 |
and csmi_nation is null | public M csmiNationNull(){if(this.get("csmiNationNot")==null)this.put("csmiNationNot", "");this.put("csmiNation", null);return this;} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"boolean isNullOmittable();",
"public M csseBattleNull(){if(this.get(\"csseBattleNot\")==null)this.put(\"csseBattleNot\", \"\");this.put(\"csseBattle\", null);return this;}",
"public M cssePersonNull(){if(this.get(\"cssePersonNot\")==null)this.put(\"cssePersonNot\", \"\");this.put(\"cssePerson\", null);return t... | [
"0.5842833",
"0.5755651",
"0.5689222",
"0.566482",
"0.55161196",
"0.54711926",
"0.54558164",
"0.5449199",
"0.54299766",
"0.53951716",
"0.53891236",
"0.5386107",
"0.53835475",
"0.5378335",
"0.5378178",
"0.53201574",
"0.53150135",
"0.5307351",
"0.5288765",
"0.5257997",
"0.52555... | 0.6237671 | 0 |
and csmi_address is null | public M csmiAddressNull(){if(this.get("csmiAddressNot")==null)this.put("csmiAddressNot", "");this.put("csmiAddress", null);return this;} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public M csseAddressNull(){if(this.get(\"csseAddressNot\")==null)this.put(\"csseAddressNot\", \"\");this.put(\"csseAddress\", null);return this;}",
"public M csmiHostNull(){if(this.get(\"csmiHostNot\")==null)this.put(\"csmiHostNot\", \"\");this.put(\"csmiHost\", null);return this;}",
"public M csmiContactNull(... | [
"0.7186783",
"0.6026315",
"0.5997643",
"0.5922992",
"0.58758587",
"0.58526754",
"0.5760387",
"0.57559586",
"0.57559586",
"0.5716082",
"0.5604287",
"0.5578117",
"0.55661196",
"0.5565997",
"0.55591595",
"0.55018085",
"0.54649925",
"0.5447877",
"0.5373507",
"0.535125",
"0.534675... | 0.75067204 | 0 |
and csmi_company is null | public M csmiCompanyNull(){if(this.get("csmiCompanyNot")==null)this.put("csmiCompanyNot", "");this.put("csmiCompany", null);return this;} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Test\n public void getNullCompanyInfo() throws Exception {\n List<Stock> comps = quoteService.companiesByNameOrSymbol(TestConfiguration.NULL_QUOTE_SYMBOL);\n assertTrue(comps.isEmpty());\n }",
"public M cssePersonNull(){if(this.get(\"cssePersonNot\")==null)this.put(\"cssePersonNot\", \"\");t... | [
"0.6337402",
"0.5871728",
"0.5843956",
"0.5800422",
"0.577887",
"0.5683951",
"0.56673825",
"0.5665159",
"0.5637064",
"0.5625414",
"0.5606872",
"0.55798477",
"0.55700934",
"0.54558694",
"0.544949",
"0.54391396",
"0.5412696",
"0.53897005",
"0.53731245",
"0.53583354",
"0.5354183... | 0.71598476 | 0 |
and csmi_place is null | public M csmiPlaceNull(){if(this.get("csmiPlaceNot")==null)this.put("csmiPlaceNot", "");this.put("csmiPlace", null);return this;} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public M csmiAddressNull(){if(this.get(\"csmiAddressNot\")==null)this.put(\"csmiAddressNot\", \"\");this.put(\"csmiAddress\", null);return this;}",
"public M csseAddressNull(){if(this.get(\"csseAddressNot\")==null)this.put(\"csseAddressNot\", \"\");this.put(\"csseAddress\", null);return this;}",
"public Place ... | [
"0.6049616",
"0.59766656",
"0.5948979",
"0.57605547",
"0.5744947",
"0.57179934",
"0.5629474",
"0.56148565",
"0.5614753",
"0.55916464",
"0.5520746",
"0.55030805",
"0.5498114",
"0.5492558",
"0.5481714",
"0.5481714",
"0.5481714",
"0.5481562",
"0.5462254",
"0.5460396",
"0.545612"... | 0.7676981 | 0 |
and csmi_place >= ? | public M csmiPlaceMin(Object min){this.put("csmiPlaceMin", min);return this;} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void onPlaceSelected(Place place) {\n Log.i(\"Place: \", place.getAddress().toString());\n if (mybound != null) {\n if (mybound.contains(place.getLatLng())) {\n zoomToSearchedLocation(place);\n ... | [
"0.5760927",
"0.5416674",
"0.5373211",
"0.5327745",
"0.52887917",
"0.5252924",
"0.5215773",
"0.52123404",
"0.5199483",
"0.5190582",
"0.517259",
"0.51405525",
"0.51247114",
"0.50951004",
"0.50645036",
"0.5040106",
"0.5020831",
"0.5001626",
"0.49890494",
"0.49766046",
"0.497262... | 0.5719878 | 1 |
and csmi_place <= ? | public M csmiPlaceMax(Object max){this.put("csmiPlaceMax", max);return this;} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void onPlaceSelected(Place place) {\n Log.i(\"Place: \", place.getAddress().toString());\n if (mybound != null) {\n if (mybound.contains(place.getLatLng())) {\n zoomToSearchedLocation(place);\n ... | [
"0.5550429",
"0.5543913",
"0.55199015",
"0.5460684",
"0.5385466",
"0.53719264",
"0.53568625",
"0.53329396",
"0.5316086",
"0.5303552",
"0.5242828",
"0.5172906",
"0.51728696",
"0.51628566",
"0.51622415",
"0.5146736",
"0.5117458",
"0.51066905",
"0.510082",
"0.50738",
"0.5059875"... | 0.47758678 | 46 |
and csmi_person is null | public M csmiPersonNull(){if(this.get("csmiPersonNot")==null)this.put("csmiPersonNot", "");this.put("csmiPerson", null);return this;} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public M cssePersonNull(){if(this.get(\"cssePersonNot\")==null)this.put(\"cssePersonNot\", \"\");this.put(\"cssePerson\", null);return this;}",
"boolean getOrderPersonIdNull();",
"boolean getPersonCharacteristicIdsNull();",
"boolean getSearchPersonTypeIdNull();",
"public M csmiContactNull(){if(this.get(\"c... | [
"0.72321504",
"0.6384318",
"0.6351286",
"0.60660684",
"0.5986338",
"0.588432",
"0.5810015",
"0.5798614",
"0.5794907",
"0.5768049",
"0.5753497",
"0.5709785",
"0.5691556",
"0.5658759",
"0.56513524",
"0.56272763",
"0.5624841",
"0.56142414",
"0.5613868",
"0.5591286",
"0.5579476",... | 0.72177416 | 1 |
and csmi_contact is null | public M csmiContactNull(){if(this.get("csmiContactNot")==null)this.put("csmiContactNot", "");this.put("csmiContact", null);return this;} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private boolean isContactValid(Contact contact) {\n return contact != null && contact.getmContactID() != null;\n }",
"public boolean isSetContact() {\n return this.contact != null;\n }",
"public M csmiAddressNull(){if(this.get(\"csmiAddressNot\")==null)this.put(\"csmiAddressNot\", \"\");this.put(... | [
"0.6367012",
"0.6351177",
"0.62138563",
"0.6191449",
"0.6167763",
"0.60672545",
"0.60185814",
"0.6001458",
"0.5999986",
"0.5988163",
"0.59439117",
"0.5942386",
"0.5899449",
"0.5889321",
"0.5846598",
"0.5808514",
"0.5798601",
"0.57310075",
"0.573068",
"0.5664362",
"0.56539005"... | 0.75570893 | 0 |
and csmi_relation is null | public M csmiRelationNull(){if(this.get("csmiRelationNot")==null)this.put("csmiRelationNot", "");this.put("csmiRelation", null);return this;} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public M csmiPersonNull(){if(this.get(\"csmiPersonNot\")==null)this.put(\"csmiPersonNot\", \"\");this.put(\"csmiPerson\", null);return this;}",
"public M csmiNationNull(){if(this.get(\"csmiNationNot\")==null)this.put(\"csmiNationNot\", \"\");this.put(\"csmiNation\", null);return this;}",
"public M cssePersonNu... | [
"0.5808273",
"0.58000726",
"0.56971437",
"0.5617287",
"0.55577695",
"0.55145806",
"0.55101466",
"0.54012924",
"0.5378894",
"0.53774685",
"0.53647345",
"0.53401864",
"0.52791387",
"0.5267218",
"0.5263665",
"0.523699",
"0.52310455",
"0.5227807",
"0.51976454",
"0.5182715",
"0.51... | 0.7564388 | 0 |
and csmi_update_time is null | public M csmiUpdateTimeNull(){if(this.get("csmiUpdateTimeNot")==null)this.put("csmiUpdateTimeNot", "");this.put("csmiUpdateTime", null);return this;} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public M csseUpdateTimeNull(){if(this.get(\"csseUpdateTimeNot\")==null)this.put(\"csseUpdateTimeNot\", \"\");this.put(\"csseUpdateTime\", null);return this;}",
"public boolean isSetUpdate_time() {\n return this.update_time != null;\n }",
"@java.lang.Override\n public boolean hasUpdateTime() {\n r... | [
"0.71327174",
"0.6416404",
"0.60744584",
"0.6067152",
"0.6051916",
"0.60442954",
"0.603241",
"0.6002553",
"0.595464",
"0.57962394",
"0.5792305",
"0.570034",
"0.5665686",
"0.56567615",
"0.5646808",
"0.5592443",
"0.5556912",
"0.55201805",
"0.5509349",
"0.5509349",
"0.5508758",
... | 0.7178875 | 0 |
and csmi_update_time >= ? | public M csmiUpdateTimeStart(Object start){this.put("csmiUpdateTimeStart", start);return this;} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"boolean hasUpdateTriggerTime();",
"boolean hasTsUpdate();",
"public Criteria andUpdateTimeLessThanOrEqualToColumn(BDicTreeCode.Column column) {\n addCriterion(new StringBuilder(\"update_time <= \").append(column.getEscapedColumnName()).toString());\n return (Criteria) this;\n }",
... | [
"0.6035675",
"0.5929011",
"0.58522886",
"0.5831827",
"0.58270955",
"0.58270955",
"0.58270955",
"0.57541007",
"0.5694403",
"0.5687346",
"0.56742215",
"0.56284726",
"0.56130385",
"0.5594003",
"0.55799365",
"0.5568948",
"0.550644",
"0.54921573",
"0.54899913",
"0.5473936",
"0.544... | 0.49408033 | 65 |
and csmi_update_time <= ? | public M csmiUpdateTimeEnd(Object end){this.put("csmiUpdateTimeEnd", end);return this;} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"boolean hasUpdateTriggerTime();",
"boolean hasTsUpdate();",
"boolean hasUpdateTime();",
"boolean hasUpdateTime();",
"boolean hasUpdateTime();",
"public Criteria andUpdateTimeLessThanOrEqualToColumn(BDicTreeCode.Column column) {\n addCriterion(new StringBuilder(\"update_time <= \").append(colum... | [
"0.60224736",
"0.58845544",
"0.5842898",
"0.5842898",
"0.5842898",
"0.57471126",
"0.5720882",
"0.57005477",
"0.5663601",
"0.56026924",
"0.56023836",
"0.5595165",
"0.55878097",
"0.55080587",
"0.55078155",
"0.55017054",
"0.5494913",
"0.5492254",
"0.54792994",
"0.5471201",
"0.54... | 0.0 | -1 |
and csmi_add_time is null | public M csmiAddTimeNull(){if(this.get("csmiAddTimeNot")==null)this.put("csmiAddTimeNot", "");this.put("csmiAddTime", null);return this;} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public M csolAddTimeNull(){if(this.get(\"csolAddTimeNot\")==null)this.put(\"csolAddTimeNot\", \"\");this.put(\"csolAddTime\", null);return this;}",
"public M csseAddTimeNull(){if(this.get(\"csseAddTimeNot\")==null)this.put(\"csseAddTimeNot\", \"\");this.put(\"csseAddTime\", null);return this;}",
"public M csmi... | [
"0.74869573",
"0.74575776",
"0.62267554",
"0.61066383",
"0.5970348",
"0.58765554",
"0.56273603",
"0.5536178",
"0.544603",
"0.54226816",
"0.5402759",
"0.53952634",
"0.53649753",
"0.53325415",
"0.5327485",
"0.5320414",
"0.5317739",
"0.52913934",
"0.52620816",
"0.5253631",
"0.52... | 0.7558737 | 0 |
and csmi_add_time >= ? | public M csmiAddTimeStart(Object start){this.put("csmiAddTimeStart", start);return this;} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public M csolAddTimeStart(Object start){this.put(\"csolAddTimeStart\", start);return this;}",
"public Criteria andAddTimeEqualToColumn(BDicTreeCode.Column column) {\n addCriterion(new StringBuilder(\"add_time = \").append(column.getEscapedColumnName()).toString());\n return (Criteria) this;... | [
"0.5900705",
"0.5681835",
"0.560649",
"0.5565467",
"0.5542467",
"0.55120057",
"0.5492525",
"0.54827964",
"0.5465348",
"0.5463979",
"0.5453049",
"0.5431834",
"0.54220647",
"0.53665173",
"0.53447",
"0.53372335",
"0.53307724",
"0.5298463",
"0.5282218",
"0.52754325",
"0.5219331",... | 0.55940354 | 3 |
and csmi_add_time <= ? | public M csmiAddTimeEnd(Object end){this.put("csmiAddTimeEnd", end);return this;} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public M csolAddTimeStart(Object start){this.put(\"csolAddTimeStart\", start);return this;}",
"public boolean addTime(double time) {\n this.time += time;\n if(time > 0)\n return true;\n else \n return false;\n }",
"public Criteria andAddTimeEqualToColumn(BDicTre... | [
"0.592843",
"0.5672957",
"0.5637055",
"0.56273013",
"0.5620731",
"0.55521727",
"0.55490154",
"0.5531373",
"0.5525492",
"0.55204785",
"0.55008847",
"0.5489991",
"0.5470167",
"0.5455024",
"0.5440172",
"0.5427011",
"0.5417243",
"0.5417087",
"0.5413697",
"0.5412553",
"0.528716",
... | 0.48202908 | 62 |
and csmi_status is null | public M csmiStatusNull(){if(this.get("csmiStatusNot")==null)this.put("csmiStatusNot", "");this.put("csmiStatus", null);return this;} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public M csseStatusNull(){if(this.get(\"csseStatusNot\")==null)this.put(\"csseStatusNot\", \"\");this.put(\"csseStatus\", null);return this;}",
"public M csrtStatusNull(){if(this.get(\"csrtStatusNot\")==null)this.put(\"csrtStatusNot\", \"\");this.put(\"csrtStatus\", null);return this;}",
"public M csrtIsIncome... | [
"0.7032041",
"0.6803773",
"0.58359027",
"0.58275485",
"0.5734485",
"0.5567491",
"0.5561771",
"0.5474577",
"0.54726905",
"0.543057",
"0.5381779",
"0.5331051",
"0.53047705",
"0.5299771",
"0.5298906",
"0.5298906",
"0.5298906",
"0.5298906",
"0.5298906",
"0.5268107",
"0.52680415",... | 0.72864586 | 0 |
and csmi_status >= ? | public M csmiStatusMin(Object min){this.put("csmiStatusMin", min);return this;} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getStatusQuery() {\n return \"where \" + IBOUB_OPX_NettingScheduler.SCHEDULERSTATUS + \" = ? \";\n }",
"Computer findFirstByActiveTrueAndStatusOrderByPriorityAsc(EnumComputerStatus status);",
"Computer findFirstByActiveTrueAndStatusOrderByPriorityDesc(EnumComputerStatus status);",
"pu... | [
"0.5347507",
"0.5258977",
"0.5163549",
"0.5139085",
"0.5130371",
"0.51289535",
"0.5078012",
"0.5051868",
"0.503444",
"0.5030847",
"0.4995561",
"0.48859322",
"0.48750418",
"0.4869869",
"0.48468485",
"0.47746676",
"0.47711518",
"0.47607985",
"0.47498795",
"0.4743821",
"0.474328... | 0.5565044 | 0 |
and csmi_status <= ? | public M csmiStatusMax(Object max){this.put("csmiStatusMax", max);return this;} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public M csmiStatusMin(Object min){this.put(\"csmiStatusMin\", min);return this;}",
"public int getCBRStatus();",
"Computer findFirstByActiveTrueAndStatusOrderByPriorityDesc(EnumComputerStatus status);",
"public boolean checkControlStringStatus(String userId, String branchCode, String functionId, String oper... | [
"0.54115355",
"0.5226844",
"0.51518905",
"0.51403797",
"0.50887626",
"0.5084836",
"0.5043272",
"0.50205195",
"0.5017487",
"0.50141996",
"0.49952075",
"0.49710837",
"0.49589816",
"0.49574584",
"0.49573725",
"0.4913837",
"0.48780423",
"0.4813696",
"0.48088634",
"0.4801773",
"0.... | 0.47584295 | 20 |
and csmi_on_certify_image is null | public M csmiOnCertifyImageNull(){if(this.get("csmiOnCertifyImageNot")==null)this.put("csmiOnCertifyImageNot", "");this.put("csmiOnCertifyImage", null);return this;} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public M csmiCertifyImageNull(){if(this.get(\"csmiCertifyImageNot\")==null)this.put(\"csmiCertifyImageNot\", \"\");this.put(\"csmiCertifyImage\", null);return this;}",
"public M csmiCheckPhotoNull(){if(this.get(\"csmiCheckPhotoNot\")==null)this.put(\"csmiCheckPhotoNot\", \"\");this.put(\"csmiCheckPhoto\", null);... | [
"0.75470245",
"0.62189466",
"0.6135257",
"0.5742753",
"0.57268316",
"0.5712929",
"0.55990726",
"0.5538126",
"0.5504424",
"0.5490772",
"0.5489087",
"0.54795235",
"0.5474239",
"0.54669553",
"0.5441724",
"0.5396414",
"0.536159",
"0.53468674",
"0.53356737",
"0.5278339",
"0.526344... | 0.75898975 | 0 |
and csmi_check_photo is null | public M csmiCheckPhotoNull(){if(this.get("csmiCheckPhotoNot")==null)this.put("csmiCheckPhotoNot", "");this.put("csmiCheckPhoto", null);return this;} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public M csmiOnCertifyImageNull(){if(this.get(\"csmiOnCertifyImageNot\")==null)this.put(\"csmiOnCertifyImageNot\", \"\");this.put(\"csmiOnCertifyImage\", null);return this;}",
"public M csmiCertifyImageNull(){if(this.get(\"csmiCertifyImageNot\")==null)this.put(\"csmiCertifyImageNot\", \"\");this.put(\"csmiCertif... | [
"0.6587036",
"0.6337808",
"0.6041507",
"0.60312027",
"0.58817905",
"0.5814252",
"0.5746399",
"0.5733028",
"0.5680292",
"0.5644557",
"0.5639464",
"0.5632104",
"0.55318725",
"0.5531196",
"0.543138",
"0.5423481",
"0.5402612",
"0.5401937",
"0.5393527",
"0.53726107",
"0.5367296",
... | 0.77603865 | 0 |
get size of items in snapshot. | public int getSnapshotSize()throws DataSnapshotException{
int backedupCount=0;
try {
// Enumeration names = ss.names();
for (Enumeration names = ss.names(); names.hasMoreElements();) {
names.nextElement();
backedupCount++;
}
}catch (SettingsStorageException e) {
// TODO Au... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int get_size();",
"public int get_size();",
"public int size() {\n return numItems;\n }",
"int getItemsCount();",
"int getItemsCount();",
"public int getSize() {\r\n return list.getItemCount();\r\n }",
"public int size(){\n return numItems;\n }",
"@Override\n\tpublic int size... | [
"0.73478156",
"0.73478156",
"0.71892715",
"0.71602905",
"0.71602905",
"0.7151676",
"0.7141157",
"0.7130672",
"0.7122219",
"0.7119826",
"0.7114723",
"0.7099056",
"0.70950013",
"0.70401406",
"0.703192",
"0.70305485",
"0.7028359",
"0.70256555",
"0.7025638",
"0.7013625",
"0.69866... | 0.73464745 | 2 |
TODO Autogenerated method stub | public void photoDelete(String id) throws DataSnapshotException {
} | {
"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 |
TODO Autogenerated method stub | public int changedPhoto(DatabaseItem item) throws DataSnapshotException {
return 0;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.66713095",
"0.6567948",
"0.652319",
"0.648097",
"0.64770466",
"0.64586824",
"0.64132667",
"0.6376419",
"0.62759",
"0.62545097",
"0.62371093",
"0.62237984",
"0.6201738",
"0.619477",
"0.619477",
"0.61924416",
"0.61872935",
"0.6173417",
"0.613289",
"0.6127952",
"0.6080854",
... | 0.0 | -1 |
// TODO Autogenerated method stub btDrinksDemandAdd = (Button) findViewById(R.id.base_activity_no_drink_demand_add); tvAddClent = (TextView) findViewById(R.id.base_activity_no_client_add); viewNoClient = findViewById(R.id.base_activity_no_client); tvSalonMySee = (TextView) findViewById(R.id.base_activity_no_salon_see);... | private void initParentView() {
//
base_activity_title_notice = (TextView) findViewById(R.id.base_activity_title_left);
ivBack = (ImageView) findViewById(R.id.base_activity_title_backicon);
// ivBack_close = (ImageView) findViewById(R.id.base_activity_title_close);
rlTitlePrent = (RelativeLayout) findViewByI... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tprotected void onCreate(Bundle savedInstanceState) {\n\t\tsuper.onCreate(savedInstanceState);\r\n\t\tsetContentView(R.layout.ful);\r\n\t\t\r\n\t\tfrA = (Button) findViewById(R.id.bFRAdd1);\r\n\t\tfrS = (Button) findViewById(R.id.bFRSub1);\r\n\t\tsscA = (Button) findViewById(R.id.bSSCAdd2);\r\n\t\tss... | [
"0.6706787",
"0.6606369",
"0.6577346",
"0.65203726",
"0.64532197",
"0.63536835",
"0.6344221",
"0.63375473",
"0.6336057",
"0.6315664",
"0.6288017",
"0.62165",
"0.6205851",
"0.6193124",
"0.61864614",
"0.6161641",
"0.61613667",
"0.61575615",
"0.6148313",
"0.6131906",
"0.6110925"... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void onClick(View v) {
switch (v.getId()) {
// case R.id.linear_back:
// // 返回键处理
// onBackPressed();
// break;
// case R.id.base_activity_title_backicon:
// // 返回键处理
// onBackPressed();
// break;
//
// case R.id.base_activity_load_fail_reload:
//
// * 数据加载失败重新加载数据... | {
"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 |
TODO Autogenerated method stub | @Override
public void onBackPressed() {
InputMethodManager imm0 = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE);
imm0.hideSoftInputFromWindow(ivBack.getWindowToken(), 0);
super.onBackPressed();
// ActivityManagerUtil.getActivityManager().finishActivity(this);
// this.overridePendin... | {
"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 |
TODO Autogenerated method stub | @Override
protected void onDestroy() {
super.onDestroy();
// 结束Activity从堆栈中移除
// ActivityManagerUtil.getActivityManager().finishActivity(this);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.66713095",
"0.6567948",
"0.652319",
"0.648097",
"0.64770466",
"0.64586824",
"0.64132667",
"0.6376419",
"0.62759",
"0.62545097",
"0.62371093",
"0.62237984",
"0.6201738",
"0.619477",
"0.619477",
"0.61924416",
"0.61872935",
"0.6173417",
"0.613289",
"0.6127952",
"0.6080854",
... | 0.0 | -1 |
Constructor with all parameters | public Address(int number, String street, String city, String country) {
this.number = number;
this.street = street;
this.city = city;
this.country = country;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Constructor(){\n\t\t\n\t}",
"Constructor() {\r\n\t\t \r\n\t }",
"public Parameters() {\n\t}",
"public BaseParameters(){\r\n\t}",
"private Params()\n {\n }",
"private Instantiation(){}",
"public ModuleParams()\n\t{\n\t}",
"public Curso() {\r\n }",
"defaultConstructor(){}",
"public Pasien... | [
"0.76679134",
"0.7521805",
"0.7287491",
"0.72827816",
"0.7128269",
"0.69829214",
"0.6880795",
"0.68713707",
"0.6839173",
"0.6827854",
"0.68037605",
"0.67700124",
"0.6760543",
"0.6707877",
"0.6646646",
"0.6633068",
"0.66297567",
"0.66022944",
"0.659837",
"0.6569042",
"0.656656... | 0.0 | -1 |
Created by sandyr on 11/23/2017. | public interface SearchPresenter {
void onDestroy();
void loadNextPage();
void searchGithubRepos(String searchPhrase);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void perish() {\n \n }",
"public final void mo51373a() {\n }",
"@Override\n public void func_104112_b() {\n \n }",
"private stendhal() {\n\t}",
"protected boolean func_70814_o() { return true; }",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Ov... | [
"0.57894444",
"0.57422996",
"0.57267344",
"0.5637298",
"0.55788755",
"0.55681777",
"0.5563274",
"0.5523855",
"0.55112845",
"0.5489314",
"0.5487401",
"0.5487401",
"0.5469185",
"0.54617494",
"0.54359615",
"0.54283273",
"0.5388722",
"0.5388722",
"0.5388722",
"0.5388722",
"0.5388... | 0.0 | -1 |
Class Methods =============== Constructor | public EscapeNonGroundDrive(Vector inputs){
super(inputs);
angrdl=(AvoidNonGroundDrive)inputs.elementAt(0);
angrdr=(AvoidNonGroundDrive)inputs.elementAt(1);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"Constructor() {\r\n\t\t \r\n\t }",
"public Constructor(){\n\t\t\n\t}",
"public CyanSus() {\n\n }",
"public PSRelation()\n {\n }",
"public Curso() {\r\n }",
"public Cohete() {\n\n\t}",
"public CSSTidier() {\n\t}",
"private TMCourse() {\n\t}",
"private Instantiation(){}",
"public Chauffeur() ... | [
"0.86958987",
"0.8336693",
"0.7762859",
"0.755287",
"0.7416975",
"0.7370456",
"0.73625547",
"0.7357104",
"0.73439693",
"0.7315097",
"0.7313117",
"0.7306537",
"0.7304771",
"0.7304696",
"0.7291519",
"0.72876334",
"0.72850275",
"0.7279538",
"0.7252023",
"0.7241158",
"0.71922624"... | 0.0 | -1 |
Ends Constructor Instance Methods ================== evaluateFromInteger | protected void evaluateFromInteger(){
int angrdlint=angrdl.getInteger();
int angrdrint=angrdr.getInteger();
double satl=angrdlint/(double)angrdl.MAX_FIRING_STRENGTH;
double satr=angrdrint/(double)angrdr.MAX_FIRING_STRENGTH;
dprintln("Saturation left/right "+satl+"/"+satr);
if(satl>ESCAPE_SATURATION_LEVEL && satr>... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public IntegerValidator() {\r\n }",
"public IntegerParserTest() {\n super(new IntegerParser());\n }",
"private XMLTreeIntExpressionEvaluator() {\n }",
"@Override\n\tpublic Integer evaluate() {\n\t\treturn Integer.parseInt(this.getValue());\n\t}",
"@Override\n public Type evaluateType() t... | [
"0.62713766",
"0.61668986",
"0.61085916",
"0.60529613",
"0.60506576",
"0.60014653",
"0.5925083",
"0.5922273",
"0.5905887",
"0.58947283",
"0.58405626",
"0.58405626",
"0.5816417",
"0.57755077",
"0.57754827",
"0.5774167",
"0.57368743",
"0.5710191",
"0.56881267",
"0.56525326",
"0... | 0.5440279 | 34 |
Ends evaluateFromInteger toString overrides | public String toString(){
return("EscapeNonGroundDrive");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic Integer evaluate() {\n\t\treturn Integer.parseInt(this.getValue());\n\t}",
"String toStringAsInt();",
"public String toString()\n {\n String string = new Integer(this.getValue()).toString();\n return string; \n }",
"@Override\n\tpublic String getValue() {\n\t\treturn integerLitera... | [
"0.6223804",
"0.6106825",
"0.5812525",
"0.58122003",
"0.58073634",
"0.57682353",
"0.57495904",
"0.56744206",
"0.56688225",
"0.5588288",
"0.5551301",
"0.5543335",
"0.5534964",
"0.55015874",
"0.5501558",
"0.5452302",
"0.5447228",
"0.5444639",
"0.5439687",
"0.5403034",
"0.539920... | 0.0 | -1 |
TODO: Implement column level permissions | @Override
public void checkCanSelectFromColumns(ConnectorTransactionHandle transactionHandle, ConnectorIdentity identity, AccessControlContext context, SchemaTableName tableName, Set<Subfield> columnOrSubfieldNames)
{
if (!checkTablePermission(identity, tableName, SELECT)) {
denySelectTable(... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"boolean canEditValueOfColumn(ModelColumnInfo<Item> column);",
"public abstract int getColumn();",
"public boolean supportsColumnCheck() {\n \t\treturn true;\n \t}",
"public interface Column extends Field {\n\n\t/**\n\t * Get the index of the column within the tabular data set. This is\n\t * always 1 based. I... | [
"0.59243876",
"0.5779024",
"0.57530284",
"0.57167387",
"0.56293327",
"0.5625535",
"0.5582158",
"0.55810285",
"0.55654943",
"0.55576897",
"0.55574477",
"0.5545978",
"0.5521817",
"0.55135936",
"0.55092525",
"0.5484852",
"0.5473195",
"0.5470441",
"0.54593825",
"0.544771",
"0.544... | 0.582226 | 1 |
TODO: implement column level permissions | @Override
public void checkCanCreateViewWithSelectFromColumns(ConnectorTransactionHandle transactionHandle, ConnectorIdentity identity, AccessControlContext context, SchemaTableName tableName, Set<String> columnNames)
{
if (!checkTablePermission(identity, tableName, SELECT)) {
denySelectTabl... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"boolean canEditValueOfColumn(ModelColumnInfo<Item> column);",
"@Override\n public void checkCanSelectFromColumns(ConnectorTransactionHandle transactionHandle, ConnectorIdentity identity, AccessControlContext context, SchemaTableName tableName, Set<Subfield> columnOrSubfieldNames)\n {\n if (!checkTab... | [
"0.5919769",
"0.5892639",
"0.56753325",
"0.5657697",
"0.564399",
"0.5594579",
"0.55907816",
"0.558372",
"0.55689776",
"0.55623204",
"0.55399334",
"0.55241394",
"0.5512908",
"0.55027974",
"0.5475934",
"0.5464622",
"0.54601026",
"0.5439821",
"0.54228866",
"0.5403451",
"0.540198... | 0.56884784 | 2 |
Intiliaze Appium driver and capabilities for device | private void intializeAppiumDriver() {
File app = new File("src/main/resources", CommonUtils.getCentralData("App"));
DesiredCapabilities capabilities = new DesiredCapabilities();
capabilities.setCapability(MobileCapabilityType.PLATFORM_NAME, CommonUtils.getCentralData("PlatformName"));
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@BeforeClass\npublic void beforeClass() throws MalformedURLException {\n\tDesiredCapabilities caps = new DesiredCapabilities();\n\tcaps.setCapability(\"deviceName\", \"Xiaomi Redmi Note 5 Pro\");\n caps.setCapability(\"platformName\", \"android\");\n caps.setCapability(\"automationName\", \"UiAutomator2\");\... | [
"0.74650586",
"0.7463618",
"0.74583596",
"0.74362737",
"0.73840374",
"0.7318255",
"0.72862667",
"0.7278919",
"0.72463197",
"0.7210029",
"0.71914756",
"0.71200377",
"0.71071476",
"0.7091148",
"0.7083055",
"0.6943563",
"0.69361997",
"0.69329536",
"0.6916175",
"0.69115365",
"0.6... | 0.7839665 | 0 |
void onFileSize(long size); void onFileName(String name); | void onUpgradeInfo(UpgradeEntity upgradeEntity); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void OnFileIncoming(int length);",
"public void OnFileComplete();",
"public void onFileOpened(File file);",
"public void OnFileDataReceived(byte[] data,int read, int length, int downloaded);",
"void onDownloadFileCreated(DownloadFileInfo downloadFileInfo);",
"public void onFileDownloadComplete(Str... | [
"0.7509033",
"0.73961467",
"0.6904223",
"0.6869492",
"0.67415655",
"0.6624818",
"0.66095865",
"0.65721846",
"0.63781315",
"0.63729674",
"0.6360444",
"0.6334533",
"0.63340604",
"0.6318788",
"0.63142604",
"0.62948906",
"0.62788975",
"0.62676466",
"0.6267027",
"0.62360835",
"0.6... | 0.0 | -1 |
Constructor Crates a new FormPropertyEditor | FormPropertyEditor(RADComponent radComponent, Class propertyType, RADComponent.RADProperty radProperty) {
source = this;
this.radComponent = radComponent;
this.radProperty = radProperty;
this.propertyType = propertyType;
modifiedEditor = radProperty.getCurrentEditor ();
i... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public ConfmlEditor() {\r\n\t\tsuper();\r\n\t\tinitializeEditingDomain();\r\n\t}",
"public FormFieldComponentCellEditor() {\n this(new StringFormField());\n }",
"@Override\r\n\tpublic CellEditor createPropertyEditor(Composite parent) {\n\t\tMenuCellEditor editor = new MenuCellEditor(parent);\r\n\t\teditor.... | [
"0.6482708",
"0.63758427",
"0.61963576",
"0.6071281",
"0.6047404",
"0.59192574",
"0.59001005",
"0.5857209",
"0.5856868",
"0.58559734",
"0.58338016",
"0.58121616",
"0.5808661",
"0.5802838",
"0.58017415",
"0.5800035",
"0.57983464",
"0.57966053",
"0.57965314",
"0.5761663",
"0.57... | 0.6475366 | 1 |
PropertyEditor implementation Set (or change) the object that is to be edited. | public void setValue(Object newValue) {
Object oldValue = value;
value = newValue;
modifiedEditor.setValue (value);
firePropertyChange ();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic void setValue(Object object) {\n\n\t}",
"@Override\n\tpublic void setValue(Object object) {\n\t\t\n\t}",
"public abstract void setContentObject(Object object);",
"public void setObject(Object obj) {\n\tObject bean = ((AxBridgeObject)obj).getJavaObject();\n\ttry {\n\t Class cls = bInfo.... | [
"0.6382352",
"0.63806945",
"0.6252527",
"0.6243054",
"0.6142001",
"0.60533947",
"0.60283715",
"0.6007035",
"0.5949589",
"0.5929781",
"0.59082574",
"0.5882183",
"0.5878962",
"0.5863419",
"0.5830572",
"0.5811354",
"0.57985145",
"0.5789448",
"0.5776096",
"0.577246",
"0.57692015"... | 0.61791986 | 4 |
Gets the value of the property. | public Object getValue() {
return value;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"final public Object getValue()\n {\n return getProperty(VALUE_KEY);\n }",
"public String getPropValue() {\n return propValue;\n }",
"public String getValueProperty() {\r\n return getAttributeAsString(\"valueProperty\");\r\n }",
"Property getProperty();",
"Property getProperty();",... | [
"0.772247",
"0.7634338",
"0.7582185",
"0.7448367",
"0.7448367",
"0.74450034",
"0.731906",
"0.72381526",
"0.7234488",
"0.7234488",
"0.7234488",
"0.72239953",
"0.7219495",
"0.7181686",
"0.71742934",
"0.71742934",
"0.71742934",
"0.71742934",
"0.71742934",
"0.71742934",
"0.717429... | 0.70188034 | 81 |
Determines whether the class will honor the painValue method. | public boolean isPaintable() {
return modifiedEditor.isPaintable ();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean isValue() {\n return false;\n }",
"public abstract boolean getEffectiveBooleanValue();",
"public boolean hasValue() { return false; }",
"abstract protected boolean hasCompatValueFlags();",
"@Override\n public final boolean hasSpecialDefenseValueAttribute() {\n return true;\n ... | [
"0.64463043",
"0.643357",
"0.63136643",
"0.6254609",
"0.6205128",
"0.6149418",
"0.6123183",
"0.60953814",
"0.6070967",
"0.6066185",
"0.6066185",
"0.6051387",
"0.60432714",
"0.6038153",
"0.60249406",
"0.602031",
"0.6005414",
"0.59206134",
"0.5866604",
"0.58316",
"0.5829981",
... | 0.0 | -1 |
Paint a representation of the value into a given area of screen real estate. Note that the propertyEditor is responsible for doing its own clipping so that it fits into the given rectangle. If the PropertyEditor doesn't honor paint requests (see isPaintable) this method should be a silent noop. | public void paintValue(java.awt.Graphics gfx, java.awt.Rectangle box) {
modifiedEditor.paintValue (gfx, box);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void drawRectangle(Rectangle rectangle) {\n implementation.devDrawRectangle(\n (int) rectangle.getMinX(),\n (int) rectangle.getMinY(),\n (int) rectangle.getWidth(),\n (int) rectangle.getHeight(),\n rectangle.getColor()\n ... | [
"0.63671124",
"0.6332377",
"0.6218922",
"0.61300117",
"0.5978783",
"0.59151787",
"0.5910737",
"0.5847768",
"0.5844585",
"0.57099885",
"0.57033503",
"0.56466717",
"0.56455654",
"0.5637555",
"0.563043",
"0.56214225",
"0.56145537",
"0.55930066",
"0.55186194",
"0.54906183",
"0.54... | 0.6088108 | 4 |
This method is intended for use when generating Java code to set the value of the property. It should return a fragment of Java code that can be used to initialize a variable with the current property value. Example results are "2", "new Color(127,127,34)", "Color.orange", etc. | public String getJavaInitializationString() {
return modifiedEditor.getJavaInitializationString ();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic String convertToJavascript() {\n\t\tString str = \"new Property('\" + propType.getSSID() + \"', '\" + displayName + \"', '\" + mode.toString() + \"', '\"\n\t\t\t\t+ value.toString() + \"')\";\n\t\treturn str;\n\t}",
"public LiteralExpression (String str){\n _value = str;\n }",
"pu... | [
"0.56370115",
"0.5475877",
"0.53851986",
"0.5282915",
"0.52449536",
"0.5184978",
"0.51729643",
"0.5170715",
"0.5152856",
"0.51107174",
"0.5107481",
"0.5107481",
"0.50912327",
"0.50746256",
"0.50205004",
"0.50205004",
"0.50205004",
"0.50205004",
"0.50205004",
"0.50205004",
"0.... | 0.0 | -1 |
Gets the property value as a string suitable for presentation to a human to edit. | public String getAsText() {
return modifiedEditor.getAsText ();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getProperty() {\n Object ref = property_;\n if (!(ref instanceof String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n property_ = s;\n return s;\n } else {\n ... | [
"0.7541894",
"0.74701685",
"0.73725456",
"0.7241896",
"0.7235508",
"0.7218888",
"0.71921676",
"0.7180596",
"0.7161738",
"0.715899",
"0.71355855",
"0.713428",
"0.71147984",
"0.7109388",
"0.7052429",
"0.70424664",
"0.7018088",
"0.6977505",
"0.6956839",
"0.6926992",
"0.69240737"... | 0.0 | -1 |
Sets the property value by parsing a given String. May raise java.lang.IllegalArgumentException if either the String is badly formatted or if this kind of property can't be expressed as text. | public void setAsText(String text) throws java.lang.IllegalArgumentException {
modifiedEditor.setAsText (text);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static void setString(String prop, String value)\n {\n props.setProperty(prop, value);\n }",
"public void\n fromString\n (\n String value\n )\n {\n if (value == null)\n throw new IllegalArgumentException(\"Cannot set a Parameter value from a null string\");\n Double doubleVa... | [
"0.67884356",
"0.6621196",
"0.65974295",
"0.64703697",
"0.64329237",
"0.6394364",
"0.6346956",
"0.6312416",
"0.63071036",
"0.6291652",
"0.6267507",
"0.6208637",
"0.6188304",
"0.6145467",
"0.6140382",
"0.6137194",
"0.6137194",
"0.6119454",
"0.6046488",
"0.60299754",
"0.6003836... | 0.0 | -1 |
If the property value must be one of a set of known tagged values, then this method should return an array of the tag values. This can be used to represent (for example) enum values. If a PropertyEditor supports tags, then it should support the use of setAsText with a tag value as a way of setting the value. | public String[] getTags() {
return modifiedEditor.getTags ();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public java.util.List<String> getTagValues() {\n if (tagValues == null) {\n tagValues = new com.amazonaws.internal.ListWithAutoConstructFlag<String>();\n tagValues.setAutoConstruct(true);\n }\n return tagValues;\n }",
"public boolean supportsEditingTaggedValues (... | [
"0.6417276",
"0.63073593",
"0.6219152",
"0.60370106",
"0.6028409",
"0.59401274",
"0.59173095",
"0.5883318",
"0.57567054",
"0.5734479",
"0.5732123",
"0.5731002",
"0.57297057",
"0.5728238",
"0.5724725",
"0.5716476",
"0.5714566",
"0.5714566",
"0.570368",
"0.5653482",
"0.5653482"... | 0.5922932 | 6 |
A PropertyEditor may chose to make available a full custom Component that edits its property value. It is the responsibility of the PropertyEditor to hook itself up to its editor Component itself and to report property value changes by firing a PropertyChange event. The higherlevel code that calls getCustomEditor may e... | public java.awt.Component getCustomEditor() {
return new FormCustomEditor (this);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public java.awt.Component getInPlaceCustomEditor () {\n if (modifiedEditor instanceof EnhancedPropertyEditor) {\n return ((EnhancedPropertyEditor)modifiedEditor).getInPlaceCustomEditor ();\n } else {\n return null;\n }\n }",
"public Component getCustomEditor() {\n\t\... | [
"0.7276921",
"0.7159521",
"0.63834417",
"0.61730313",
"0.6122743",
"0.5962125",
"0.596063",
"0.5926496",
"0.59202284",
"0.5853446",
"0.5828246",
"0.581879",
"0.5810057",
"0.5708868",
"0.5701236",
"0.56867737",
"0.5619229",
"0.5588056",
"0.5556847",
"0.5528636",
"0.549231",
... | 0.65767324 | 2 |
Determines whether the propertyEditor can provide a custom editor. | public boolean supportsCustomEditor() {
PropertyEditor[] editors = getAllEditors ();
if (editors.length > 1) return true; // we must allow to choose the editor even if none of them supports custom editing
if (editors.length == 1) return editors[0].supportsCustomEditor ();
return false;
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean hasInPlaceCustomEditor () {\n if (modifiedEditor instanceof EnhancedPropertyEditor) {\n return ((EnhancedPropertyEditor)modifiedEditor).hasInPlaceCustomEditor ();\n } else {\n return false;\n }\n }",
"public boolean supportsCustomEditor() {\n\t\treturn... | [
"0.80747366",
"0.77632844",
"0.6756932",
"0.6493587",
"0.62289006",
"0.621209",
"0.6128531",
"0.5882315",
"0.579506",
"0.57719034",
"0.56957227",
"0.5643207",
"0.5621906",
"0.558831",
"0.5547787",
"0.55383754",
"0.5505772",
"0.5496237",
"0.54841703",
"0.5476073",
"0.54740816"... | 0.8589582 | 0 |
EnhancedPropertyEditor implementation Get an inplace editor. | public java.awt.Component getInPlaceCustomEditor () {
if (modifiedEditor instanceof EnhancedPropertyEditor) {
return ((EnhancedPropertyEditor)modifiedEditor).getInPlaceCustomEditor ();
} else {
return null;
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Component getEditorComponent ()\r\n {\r\n return editor;\r\n }",
"public Editor getEditor() { return editor; }",
"@Api(1.0)\n public HaloPreferencesStorageEditor edit() {\n if (mCurrentEditor == null) {\n mCurrentEditor = new HaloPreferencesStorageEditor(getSharedPreferen... | [
"0.67051846",
"0.6468789",
"0.64379156",
"0.6367531",
"0.6351032",
"0.6319841",
"0.63093346",
"0.6287627",
"0.62254125",
"0.61910546",
"0.61553514",
"0.6034928",
"0.60276526",
"0.6010315",
"0.6003747",
"0.5964801",
"0.5921965",
"0.58813995",
"0.58026576",
"0.5731145",
"0.5718... | 0.7462949 | 0 |
Test for support of inplace custom editors. | public boolean hasInPlaceCustomEditor () {
if (modifiedEditor instanceof EnhancedPropertyEditor) {
return ((EnhancedPropertyEditor)modifiedEditor).hasInPlaceCustomEditor ();
} else {
return false;
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean supportsCustomEditor() {\n\t\treturn true;\n\t}",
"@Override\r\n\tprotected boolean hasEditSupport() {\n\t\treturn false;\r\n\t}",
"public boolean supportsCustomEditor() {\n PropertyEditor[] editors = getAllEditors ();\n if (editors.length > 1) return true; // we must allow to choo... | [
"0.7119727",
"0.6899208",
"0.6615175",
"0.63828534",
"0.6280609",
"0.617863",
"0.6081377",
"0.60579664",
"0.6051266",
"0.60511243",
"0.6046735",
"0.58989114",
"0.5877185",
"0.58551127",
"0.58551127",
"0.5841044",
"0.58300257",
"0.58105177",
"0.57624155",
"0.5688234",
"0.55950... | 0.7020007 | 1 |
Test for support of editing of tagged values. Must also accept custom strings, otherwise you may may specify a standard property editor accepting only tagged values. | public boolean supportsEditingTaggedValues () {
if (modifiedEditor instanceof EnhancedPropertyEditor) {
return ((EnhancedPropertyEditor)modifiedEditor).supportsEditingTaggedValues ();
} else {
return false;
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean supportsCustomEditor() {\n\t\treturn true;\n\t}",
"@Override\n\t\t\t\tpublic String isValid(Object value) {\n\t\t\t\t\treturn \"Editing not allowed!\";\n\t\t\t\t}",
"public boolean isCValueEditable();",
"protected boolean handleSpecialSetter(String bean, String value) throws OxyException {\r\n... | [
"0.5854115",
"0.58302146",
"0.5744665",
"0.55852264",
"0.55422837",
"0.54856455",
"0.54579675",
"0.54534507",
"0.52655244",
"0.5215733",
"0.52153814",
"0.5212526",
"0.52083844",
"0.5205964",
"0.51781845",
"0.5158332",
"0.5155319",
"0.5145014",
"0.5144056",
"0.5133821",
"0.513... | 0.7885981 | 0 |
Register a listener for the PropertyChange event. The class will fire a PropertyChange value whenever the value is updated. | public synchronized void addPropertyChangeListener(PropertyChangeListener listener) {
if (listeners == null) {
listeners = new java.util.Vector();
}
listeners.addElement(listener);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void addPropertyChangeListener(PropertyChangeListener listener);",
"public void addPropertyChangeListener(PropertyChangeListener listener);",
"public void addPropertyChangeListener(PropertyChangeListener l);",
"public abstract void addPropertyChangeListener(PropertyChangeListener listener);",
"public void ... | [
"0.7865947",
"0.78184396",
"0.76406795",
"0.7618264",
"0.7615632",
"0.7611955",
"0.75188977",
"0.75170815",
"0.7485224",
"0.7469153",
"0.7374804",
"0.736847",
"0.7363966",
"0.7356467",
"0.72673637",
"0.72575706",
"0.71593857",
"0.7158329",
"0.71404636",
"0.7102974",
"0.705888... | 0.67281216 | 47 |
Remove a listener for the PropertyChange event. | public synchronized void removePropertyChangeListener(PropertyChangeListener listener) {
if (listeners == null) {
return;
}
listeners.removeElement(listener);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void removePropertyChangeListener(PropertyChangeListener listener);",
"void removePropertyChangeListener(PropertyChangeListener listener);",
"public void removePropertyChangeListener(PropertyChangeListener listener);",
"public void removePropertyChangeListener(PropertyChangeListener l);",
"public void remo... | [
"0.8460438",
"0.8460438",
"0.84492695",
"0.8401049",
"0.8307183",
"0.8297566",
"0.82705283",
"0.8260456",
"0.8242832",
"0.8237461",
"0.8220812",
"0.8199435",
"0.81852955",
"0.8171702",
"0.81664944",
"0.81007177",
"0.80994856",
"0.80683243",
"0.7998911",
"0.7955098",
"0.793890... | 0.77771723 | 32 |
Report that we have been modified to any interested listeners. | void firePropertyChange() {
java.util.Vector targets;
synchronized (this) {
if (listeners == null) {
return;
}
targets = (java.util.Vector) listeners.clone();
}
PropertyChangeEvent evt = new PropertyChangeEvent(this, null, null, null);... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected void indicateModified() {\n invalidationListenerManager.callListeners(this);\n }",
"protected void notifyModificationListeners() {\r\n\t\tfor (ElementModificationListener l : modificationListeners) {\r\n\t\t\tl.elementModified(current);\r\n\t\t}\r\n\t}",
"private void notifyListeners() {\n\... | [
"0.7617721",
"0.74043566",
"0.69044626",
"0.6868066",
"0.6770384",
"0.6762869",
"0.6698778",
"0.6485016",
"0.6468451",
"0.6467336",
"0.64594144",
"0.6440568",
"0.64216",
"0.6409504",
"0.6358885",
"0.6346565",
"0.628809",
"0.62871027",
"0.62871027",
"0.6281996",
"0.6281699",
... | 0.0 | -1 |
/ renamed from: a | public final void mo4887a(Object obj) {
this.f15691a.mo18167L2((String) obj);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }",
"public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }",
"interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}",
"interface C33292a {\n /* renamed fr... | [
"0.62497115",
"0.6242887",
"0.61394435",
"0.61176854",
"0.6114027",
"0.60893",
"0.6046901",
"0.6024682",
"0.60201293",
"0.5975212",
"0.59482527",
"0.59121317",
"0.5883635",
"0.587841",
"0.58703005",
"0.5868436",
"0.5864884",
"0.5857492",
"0.58306104",
"0.5827752",
"0.58272064... | 0.0 | -1 |
TODO Autogenerated method stub / Properties key : Object Value : any type | public static void main(String[] args) {
Properties properties = new Properties();
properties.setProperty("cho", "조용근");
properties.setProperty("kang", "강성조");
properties.setProperty("lee", "이행엽");
for (Object key : properties.keySet()) {
System.out.println(properties.get(key));
}
/*
* Map
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void putValue(String key, Object value) {\n\n }",
"@Override\r\n\tpublic void putObject(Object key, Object value) {\n\t\t\r\n\t}",
"public Dict(Obj value) {\n this.value = value;\n }",
"@Override\n\t\t\tpublic boolean containsValue(Object value) {\n\t\t\t\treturn false;\n... | [
"0.6609547",
"0.6605804",
"0.64772403",
"0.60627365",
"0.60562515",
"0.591464",
"0.58705145",
"0.5868184",
"0.58513445",
"0.5839047",
"0.583334",
"0.583265",
"0.5821152",
"0.58209336",
"0.57833976",
"0.5774296",
"0.5714655",
"0.5714285",
"0.56882834",
"0.56827533",
"0.5681713... | 0.0 | -1 |
Responsible for executing high level application tasks. | public interface Worker {
void activate(String filteredClassValue);
void stop();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void performOtherTasks() {\n\t\t\tSystem.out.println(\"performing tasks other than servicing\");\n\t\t\t// do whatever you want to do in the servicing package\n\t\t}",
"private static void executeTask02() {\n }",
"abstract void doTaskOnRun();",
"public void execute() {\n\t\tlaunch();\n\t}",
"@Overr... | [
"0.6790578",
"0.65236646",
"0.6270529",
"0.6259542",
"0.6235548",
"0.6135125",
"0.61334455",
"0.61291957",
"0.60995287",
"0.6091168",
"0.60400474",
"0.6004806",
"0.5945202",
"0.5926516",
"0.5921216",
"0.5917158",
"0.5897163",
"0.589023",
"0.5878901",
"0.583242",
"0.5812088",
... | 0.0 | -1 |
This method must add a new shopper user or administrator user. | public boolean addUser(String userID, String password, boolean admin) {
boolean result = false;
boolean isRegistered = false;
fm.readUsers();
for (User u : fm.users)
if (u.isUserID(userID))
isRegistered = true;
if (!isRegistered)
if (admin) {
fm.users.add(new Administrator(userID, passw... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void addUser() {\n\t\tUser user = dataManager.findCurrentUser();\r\n\t\tif (user != null) {\r\n\t\t\tframeManager.addUser(user);\r\n\t\t\tpesquisar();\r\n\t\t} else {\r\n\t\t\tAlertUtils.alertSemPrivelegio();\r\n\t\t}\r\n\t}",
"void userAddByAdmin(AdminUserAddDTO adminUserAddDTO) throws RecordExistExcepti... | [
"0.63891715",
"0.6343298",
"0.6314581",
"0.63038605",
"0.6245001",
"0.6188228",
"0.6181225",
"0.61416477",
"0.6061279",
"0.6023219",
"0.5999698",
"0.59822464",
"0.5951733",
"0.59498465",
"0.594898",
"0.5947251",
"0.5941242",
"0.59411037",
"0.5922474",
"0.5887902",
"0.5887902"... | 0.5857788 | 22 |
Authenticates a user an creates an active work session | public int login(String userID, String password) {
// If this user is not logged in
// and has already been registered(i.e. has been added)
// and password matches,
// then create a new session for this user.
// Check if logged in already
for (int i=0;i<sessions.size();i++)
if (sessions.get(i).is... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"String registerUserWithGetCurrentSession(User user);",
"User loginUser(User userLoginRequest, HttpSession httpSession) throws Exception;",
"public void login(HttpServletRequest req, HttpServletResponse res) throws IOException {\n\n // Client credentials\n Properties p = GlobalSettings.getNode(\"oauth.pas... | [
"0.63895214",
"0.63733476",
"0.6314194",
"0.62689686",
"0.62413824",
"0.6224284",
"0.62084985",
"0.618553",
"0.60869443",
"0.6083432",
"0.6079781",
"0.59883887",
"0.59828746",
"0.5975154",
"0.5918076",
"0.5906892",
"0.5905404",
"0.5901545",
"0.589871",
"0.5897103",
"0.5895794... | 0.0 | -1 |
Makes sessionID unavailable for connection | public void logout(int sessionID) {
for (int i=0;i<sessions.size();i++)
if (sessions.get(i).getID() == sessionID) {
if (sessions.get(i).getUser() instanceof Shopper)
((Shopper)sessions.get(i).getUser()).logout();
sessions.remove(i);
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void unsetSessionID();",
"void setSessionID(java.lang.String sessionID);",
"void sessionExpired();",
"public abstract void setIdSession(String id_session);",
"public void changeSessionId(Session session);",
"@Override\n\t\tpublic boolean isRequestedSessionIdValid() {\n\t\t\treturn false;\n\t\t}",
"@Ove... | [
"0.7183165",
"0.6581048",
"0.6523157",
"0.6491825",
"0.64177704",
"0.6369414",
"0.63634485",
"0.6323404",
"0.62950885",
"0.6262833",
"0.6260388",
"0.62443805",
"0.62440515",
"0.62400264",
"0.6235969",
"0.62246895",
"0.62063235",
"0.6196212",
"0.6193168",
"0.61650234",
"0.6160... | 0.0 | -1 |
This method must add a new category in your application. | public int addCategory(String catName, int sessionID) {
for (int i=0;i<sessions.size();i++) {
Session s = sessions.get(i);
if (s.getID() == sessionID && s.getUser() instanceof Administrator) {
Administrator ad = (Administrator)(s.getUser());
return ad.addCategory(catName);
}
}
return -1;
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void addCategory(Category category);",
"Category addNewCategory(Category category);",
"public void newCategory() {\n btNewCategory().push();\n }",
"private void addNewCategory() {\n Utils.replaceFragment(getActivity(),new AddCategoriesFragment());\n }",
"@Override\r\n\tpublic void addCa... | [
"0.82055885",
"0.7991417",
"0.78291726",
"0.7824467",
"0.7732156",
"0.76087105",
"0.74361694",
"0.7320573",
"0.71911347",
"0.7124259",
"0.7098562",
"0.70741105",
"0.70316553",
"0.6995892",
"0.697616",
"0.69745964",
"0.6965345",
"0.6904436",
"0.690265",
"0.6900403",
"0.6849958... | 0.62632215 | 95 |
Adds a distribution center to your application. If the given distribution center exists, or sesionID invalid, do nothing. | public void addDistributionCenter(String city, int sessionID) {
for (int i=0;i<sessions.size();i++) {
Session s = sessions.get(i);
if (s.getID() == sessionID && s.getUser() instanceof Administrator) {
Administrator ad = (Administrator)(s.getUser());
ad.addDistributionCenter(city);
}
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setCenterid(String centerid) {\n this.centerid = centerid == null ? null : centerid.trim();\n }",
"public void setDataCenterId(java.lang.String dataCenterId) {\r\n this.dataCenterId = dataCenterId;\r\n }",
"public void setCostCenter(String CostCenter) {\n\t\t_CostCenter = CostCe... | [
"0.53374034",
"0.50168324",
"0.48918864",
"0.48487118",
"0.47431344",
"0.47379833",
"0.4666046",
"0.46478724",
"0.46415627",
"0.45378503",
"0.45214325",
"0.4516908",
"0.44879413",
"0.44628885",
"0.4413649",
"0.44029054",
"0.43925166",
"0.43560025",
"0.43460813",
"0.4336086",
... | 0.5597894 | 0 |
Adds a new Customer to your application; the customer record that belongs to a newly added shopper user that has no customer record on the system. | public int addCustomer(String custName, String city, String street, int sessionID) {
for (int i=0;i<sessions.size();i++) {
Session s = sessions.get(i);
if (s.getID() == sessionID && s.getUser() instanceof Shopper) {
Shopper sh = (Shopper)(s.getUser());
return sh.addRecord(custName, city, street);
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void addCustomer() {\r\n\t\tdo {\r\n\t\t\tString name = getToken(\"Enter the customer's name: \");\r\n\t\t\tString phoneNumber = getToken(\"Enter the phone number: \");\r\n\t\t\tCustomer customer = store.addCustomer(name, phoneNumber);\r\n\t\t\tif (customer == null) {\r\n\t\t\t\tSystem.out.println(\"Could n... | [
"0.746778",
"0.74125266",
"0.71958864",
"0.7195149",
"0.71071035",
"0.7053348",
"0.7010375",
"0.6968058",
"0.69352937",
"0.6917183",
"0.69144136",
"0.6907501",
"0.6880125",
"0.6879259",
"0.68427145",
"0.68369013",
"0.6820734",
"0.68147194",
"0.67810583",
"0.6775029",
"0.67369... | 0.0 | -1 |
Adds a new Product to your application | public int addProduct(String prodName, int category, double price, int sessionID) {
for (int i=0;i<sessions.size();i++) {
Session s = sessions.get(i);
if (s.getID() == sessionID && s.getUser() instanceof Administrator) {
Administrator ad = (Administrator)(s.getUser());
return ad.addProduct(prodName... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void addProduct(Product product);",
"ProductView addProduct(ProductBinding productToAdd) throws ProductException;",
"void addProduct(Product product);",
"private void addProduct()\n {\n System.out.println(\"|➕| Add new Product:\\n\");\n System.out.println(\"|➕| Enter ID\\n\");\n ... | [
"0.82038957",
"0.81969434",
"0.8129011",
"0.8040004",
"0.80381143",
"0.79029083",
"0.78150785",
"0.7722611",
"0.7707728",
"0.7681521",
"0.76785713",
"0.76287323",
"0.75823915",
"0.7581681",
"0.7533167",
"0.7532319",
"0.7508261",
"0.743583",
"0.74319965",
"0.7406443",
"0.73862... | 0.0 | -1 |
Computes the available quantity of prodID in a specific distribution center. | public int prodInquiry(int prodID, String center) {
fm.readProducts();
Product pro = fm.getProduct(prodID);
if (pro != null)
return pro.quantityIn(center);
return -1;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void updateQuantity(Product p, String distCenter, int quantity){\r\n\t\tp.distCenters.put(distCenter, p.distCenters.get(distCenter) + quantity);\r\n\t\tp.quantity += quantity;\r\n\t}",
"public static final int quantityAvailable(String productKey) {\n\t\tInteger tValue = sConsumableProducts.get(productKey)... | [
"0.6148641",
"0.5908327",
"0.5832746",
"0.56146157",
"0.5522864",
"0.5415463",
"0.5398257",
"0.5398257",
"0.5330023",
"0.5308043",
"0.5264228",
"0.5256927",
"0.5242857",
"0.5237996",
"0.5217362",
"0.51828486",
"0.5166541",
"0.51575303",
"0.51448697",
"0.5139255",
"0.5133123",... | 0.67416453 | 0 |
Updates the stock quantity of the product identified by prodID | public boolean updateQuantity(int prodID, String distCentre, int quantity, int sessionID) {
boolean cID = false;
for (int i=0;i<sessions.size();i++) {
Session s = sessions.get(i);
if (s.getID() == sessionID && s.getUser() instanceof Administrator) {
Administrator ad = (Administrator)(s.getUser());
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setProductStock(int qty){\n\t\tstockQuantity = qty;\r\n\t}",
"@Override\n\tpublic int reduceStock(Integer id, Integer quantity) {\n\t\tConnection conn=null;\n\t\tPreparedStatement pst=null;\n\t\t \n\t\ttry {\n\t\t\tconn=DBUtils.getConnection();\n\t\t\tpst=conn.prepareStatement(\"update product set st... | [
"0.75925475",
"0.7394374",
"0.72636205",
"0.6926382",
"0.6923123",
"0.68421483",
"0.68398607",
"0.6777997",
"0.67360985",
"0.67259955",
"0.67187005",
"0.67036873",
"0.6692856",
"0.6690398",
"0.66501594",
"0.6648278",
"0.66108006",
"0.6575605",
"0.6557596",
"0.6554257",
"0.647... | 0.0 | -1 |
Adds two nodes cityA, cityB to the shipping graph Adds a route (an edge to the shipping graph) from cityA to cityB with length distance If the nodes or the edge (or both) exist, does nothing | public void addRoute(String cityA, String cityB, int distance, int sessionID) {
for (int i=0;i<sessions.size();i++) {
Session s = sessions.get(i);
if (s.getID() == sessionID && s.getUser() instanceof Administrator) {
Administrator ad = (Administrator)(s.getUser());
ad.addRoute(cityA, cityB, distanc... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void addWay(City c1,City c2) throws CityNotFoundException{\r\n\t\ttry {\r\n\t\t\tmap.addEdge(c1, c2);\r\n\t\t} catch (VertexNotExistException e) {\r\n\r\n\t\t\tthrow new CityNotFoundException(\"city not founds\");\r\n\t\t}\r\n\t}",
"private static void addDepotToGraph(Depot newDepot, Graph<Node, WeightEdg... | [
"0.6685071",
"0.61656976",
"0.5962902",
"0.577392",
"0.57387316",
"0.5721558",
"0.5715932",
"0.5632834",
"0.56037235",
"0.5587612",
"0.55864346",
"0.55182135",
"0.55176324",
"0.5503571",
"0.54987735",
"0.5490491",
"0.54902405",
"0.542558",
"0.541808",
"0.5417347",
"0.5400472"... | 0.5688322 | 7 |
Attempts an order in behalf of custID for quantity units of the prodID | public int placeOrder(int custID, int prodID, int quantity, int sessionID) {
for (int i=0;i<sessions.size();i++) {
Session s = sessions.get(i);
if (s.getID() == sessionID && s.getUser() instanceof Shopper) {
Shopper sh = (Shopper)(s.getUser());
if (sh.cust != null && sh.cust.custID == custID)
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int placeOrder(Order order, String cust_no, Connection conn) {\r\n\t\ttry {\r\n\t\t\tint item_no=0;\r\n\t\t\tArrayList<Item> item_collection = new ArrayList<Item>();\r\n\t\t\titem_collection = order.getItemCollection(); \r\n\t\t\tfor(Item i : item_collection)\r\n\t\t\t{\r\n\t\t\t\tSystem.out.println(i);\r\n... | [
"0.5957744",
"0.5947312",
"0.5918376",
"0.58685505",
"0.5838512",
"0.582868",
"0.5789761",
"0.57539237",
"0.57307976",
"0.5725219",
"0.56603605",
"0.56447685",
"0.5608061",
"0.5585645",
"0.55800086",
"0.5568009",
"0.5532498",
"0.55204725",
"0.55202293",
"0.55132717",
"0.54937... | 0.64859897 | 0 |
Returns the best (shortest) delivery route for a given order | public ArrayList<String> getDeliveryRoute(int orderID, int sessionID) {
for (int i=0;i<sessions.size();i++) {
Session s = sessions.get(i);
if (s.getID() == sessionID && s.getUser() instanceof Shopper) {
Shopper sh = (Shopper)(s.getUser());
Invoice inv = fm.getInvoice(orderID);
if (inv != null ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@DSGenerator(tool_name = \"Doppelganger\", tool_version = \"2.0\", generated_on = \"2013-12-30 12:36:07.082 -0500\", hash_original_method = \"71B2FD618F41F3F10AED78DDC584C5B5\", hash_generated_method = \"D5C1464D9CBFFD7FDEF25798ABF91481\")\n \npublic static RouteInfo selectBestRoute(Collection<RouteInfo> routes... | [
"0.65123445",
"0.5974655",
"0.5950671",
"0.5949859",
"0.5902413",
"0.5862949",
"0.5854429",
"0.5824804",
"0.57832",
"0.5707139",
"0.56990844",
"0.5691897",
"0.5685846",
"0.5680795",
"0.5653758",
"0.56007004",
"0.5593702",
"0.5571355",
"0.5564712",
"0.55539244",
"0.5551675",
... | 0.67945826 | 0 |
Computes the invoice amount for a given order. Please use the fixed price 0.01$/km to compute the shipping cost | public double invoiceAmount(int orderID, int sessionID) {
double amount = 0;
for (int i=0;i<sessions.size();i++) {
Session s = sessions.get(i);
if (s.getID() == sessionID && s.getUser() instanceof Shopper) {
Shopper sh = (Shopper)(s.getUser());
Invoice inv = fm.getInvoice(orderID);
if (inv ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"BigDecimal calculateTotalPrice(Order order);",
"public double getInvoiceAmount(){\n\t\t// declare a local variable of type double to store the invoice's total price\n\t\tdouble totalPrice;\n\t\t// the total price is given my multiplying the price per unit with the quantity\n\t\ttotalPrice = price * quantity;\t\t... | [
"0.7460188",
"0.730801",
"0.6934134",
"0.67667466",
"0.6497093",
"0.644379",
"0.6377234",
"0.63702196",
"0.63658994",
"0.63617367",
"0.6358789",
"0.6354978",
"0.628751",
"0.6204976",
"0.61939573",
"0.6184279",
"0.6138736",
"0.6112526",
"0.60414886",
"0.60359484",
"0.60217047"... | 0.6670261 | 4 |
String name, String description, byte[] picture, long adminId | public Forum create(Forum forum) throws ForumNotValidException {
try {
Forum newForum = new Forum(forum.getForumName(), forum.getDescription(), forum.getForumAdminId(), forum.getPicture());
newForum.setCreationDate(new Date().toString());
forumRepository.save(newForum);
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void putProfPic(Blob gbPhoto) throws SQLException, FileNotFoundException, IOException {\n if(gbPhoto == null){\n ExternalContext externalContext = FacesContext.getCurrentInstance().getExternalContext();\n File file = new File(externalContext.getRealPath(\"\")+\"\\\\resources\\\... | [
"0.5861403",
"0.57816696",
"0.57030046",
"0.55505157",
"0.5429226",
"0.54051715",
"0.5322486",
"0.53093135",
"0.5306339",
"0.52794904",
"0.5194349",
"0.51071566",
"0.50762784",
"0.5072187",
"0.50531507",
"0.50349265",
"0.50188786",
"0.50153875",
"0.5004552",
"0.49607456",
"0.... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
protected void onStart() {
super.onStart();
scheduledExecutorService = Executors.newSingleThreadScheduledExecutor();
//每隔2秒钟切换一张图片
scheduledExecutorService.scheduleWithFixedDelay(new ViewPagerTask(), 3, 4, TimeUnit.SECONDS);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.66713095",
"0.6567948",
"0.652319",
"0.648097",
"0.64770466",
"0.64586824",
"0.64132667",
"0.6376419",
"0.62759",
"0.62545097",
"0.62371093",
"0.62237984",
"0.6201738",
"0.619477",
"0.619477",
"0.61924416",
"0.61872935",
"0.6173417",
"0.613289",
"0.6127952",
"0.6080854",
... | 0.0 | -1 |
Je recupere la saise de l'utilisateur | @Override
protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
String celsius = req.getParameter("celsius");
try {
double celsiusDouble = Double.parseDouble(celsius);
double farenheit = 1.8 * celsiusDouble + 32;
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void onClick(View v) {\n trasferisci_utente();\n\n // controlla se tutti i dati sono inseriti\n if (checkInput())\n {\n creaUser();\n NOME = username.getText().toString();\n ... | [
"0.714308",
"0.68855464",
"0.6805352",
"0.67132485",
"0.6677923",
"0.664286",
"0.6623344",
"0.65747285",
"0.65747285",
"0.6547601",
"0.6544542",
"0.6540434",
"0.6539921",
"0.6527575",
"0.65152884",
"0.6512111",
"0.6512111",
"0.650304",
"0.6488298",
"0.6473499",
"0.6456084",
... | 0.0 | -1 |
Invoke the IOC container | public static void main(String[] args) {
ClassPathXmlApplicationContext applicationContext = new ClassPathXmlApplicationContext(
"applicationContext.xml");
// get the bean
Student student = (Student) applicationContext.getBean("student");
// use the bean
student.displayDetails();
// clos... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public ServiceRegistration<CdiContainer> call() throws Exception {\n BeanBundle cdiBundle = container.getInstance().select(BeanBundle.class)\n .get();\n BundleContext bc = bundle.getBundleContext();\n ... | [
"0.636723",
"0.61487985",
"0.58627224",
"0.58187765",
"0.567448",
"0.56152207",
"0.54927343",
"0.5433227",
"0.54023606",
"0.53632087",
"0.53330296",
"0.52903116",
"0.5286383",
"0.5267232",
"0.5258665",
"0.52501345",
"0.5239803",
"0.52375734",
"0.52367187",
"0.52006495",
"0.51... | 0.0 | -1 |
Created by moskupols on 28.09.14. | public interface CommandFactory {
Command fromString(String s) throws UnknownCommandException;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void perish() {\n \n }",
"private stendhal() {\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"private static void cajas() {\n\t\t\n\t}",
"private void poetries() {\n\n\t}",
"@Override\r\n\tpublic void tires() {\... | [
"0.5814925",
"0.5742603",
"0.57149506",
"0.5604554",
"0.5596193",
"0.5578364",
"0.5563555",
"0.5555631",
"0.5521961",
"0.5521961",
"0.55081826",
"0.5504742",
"0.5504742",
"0.5504742",
"0.5504742",
"0.5504742",
"0.5490162",
"0.54741305",
"0.54726744",
"0.5471477",
"0.54698664"... | 0.0 | -1 |
/ This method authenticate the user | @CrossOrigin(origins = AppConstants.CORS)
@RequestMapping(value = {UrlConstants.API_LOGIN_AUTHENTICATE+"org"}, method = RequestMethod.POST)
public @ResponseBody ResponseDTO authenticate(@RequestBody LoginDTO loginDTO, BindingResult result) {
ResponseDTO responseDTO = null;
try {
if(result.hasErrors()){
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void authenticate(String user, String pass) {\n }",
"private void authenticateAction() {\n if (requestModel.getUsername().equals(\"superuser\")\n && requestModel.getPassword().equals(\"\")) {\n Collection<Webres> webres = getAllWebres();\n proceedWhenAuthent... | [
"0.76966375",
"0.7695446",
"0.74912137",
"0.7377225",
"0.7300148",
"0.72966504",
"0.7260824",
"0.71390456",
"0.7133492",
"0.7090538",
"0.7033198",
"0.70281374",
"0.69947326",
"0.6921656",
"0.6897656",
"0.6895198",
"0.68933296",
"0.6824076",
"0.6800571",
"0.6799478",
"0.679314... | 0.0 | -1 |
/ This method validate session of login user | @CrossOrigin(origins = AppConstants.CORS)
@RequestMapping(value = {UrlConstants.API_VALIDATE_SESSION+"org"}, method = RequestMethod.POST)
public @ResponseBody ResponseDTO validateSession(@RequestBody RequestDTO requestDTO, BindingResult bindingResult) {
return null;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean validateLogIn() {\n //Load user from session. If the user is not in the session, no user is logged in.\n User user = (User) ScopeHandler.getInstance().load(this.request, \"user\", \"session\");\n\n if (user == null) {\n return false;\n }\n\n this.mail = ... | [
"0.7553736",
"0.72196424",
"0.71454924",
"0.70389205",
"0.69767195",
"0.6939218",
"0.6720157",
"0.66467106",
"0.66394603",
"0.65836275",
"0.65505147",
"0.6543813",
"0.65067494",
"0.65046084",
"0.65046084",
"0.6458192",
"0.64424014",
"0.64385843",
"0.64372015",
"0.63946146",
"... | 0.0 | -1 |
/ This method logout the user | @CrossOrigin(origins = AppConstants.CORS)
@RequestMapping(value = {UrlConstants.API_LOGOUT+"org"}, method = RequestMethod.POST)
public void logOut() {
try {
} catch (Exception e) {
logger.error("efregt");
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void logoutUser() {\n session.setLogin(false);\n\n db.deleteUsers();\n\n // Launching the login activity\n Intent intent = new Intent(this, Login.class);\n startActivity(intent);\n finish();\n }",
"private void logoutUser() {\n session.setLogin(false);\... | [
"0.82982796",
"0.8287329",
"0.82693344",
"0.824096",
"0.8226061",
"0.8191024",
"0.8174871",
"0.8172554",
"0.81683594",
"0.8167171",
"0.8126277",
"0.81064427",
"0.80900574",
"0.8056857",
"0.7937407",
"0.7931575",
"0.7911411",
"0.79111385",
"0.7905421",
"0.78930295",
"0.7875742... | 0.713821 | 95 |
Se crea un uri con el url del RCV | @Override
public void onClick(View v) {
Uri uri = Uri.parse(url);
//Se crea un intent implicito para visualizar los links en un navegador
Intent intent = new Intent(Intent.ACTION_VIEW, uri);
//Se inicia la actividad del navegador
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public URI createUri(String url) {\n try {\n this.uri = new URI(url);\n } catch (URISyntaxException e) {\n e.printStackTrace();\n }\n return uri;\n }",
"URI createURI();",
"String getUri( );",
"private URL createURL() {\n try {\n Log.d(\"URL\", \"create\"... | [
"0.706883",
"0.7055174",
"0.68873787",
"0.6876825",
"0.67206395",
"0.6702008",
"0.66357124",
"0.64662856",
"0.64484245",
"0.6447849",
"0.6422606",
"0.6410103",
"0.6410103",
"0.6289964",
"0.62861836",
"0.62861836",
"0.62861836",
"0.6256078",
"0.61761135",
"0.60392773",
"0.6031... | 0.0 | -1 |
Create a fox. A fox can be created as a new born (age zero and not hungry) or with random age. This will set the age and sex to be random | public Fox() {
super(randomAge(MAX_AGE), randomSex(), MAX_AGE, BREEDING_AGE, MAX_LITTER_SIZE, BREEDING_PROBABILITY, FOOD_VALUE, FULL_LEVEL);
constructor();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Fox(int age) {\n super(age, randomSex(), MAX_AGE, BREEDING_AGE, MAX_LITTER_SIZE, BREEDING_PROBABILITY, FOOD_VALUE, FULL_LEVEL);\n constructor();\n }",
"public Fox(Sex sex) {\n super(randomAge(MAX_AGE), sex, MAX_AGE, BREEDING_AGE, MAX_LITTER_SIZE, BREEDING_PROBABILITY, FOOD_VALUE, F... | [
"0.7377048",
"0.7341448",
"0.7173832",
"0.6398767",
"0.6334288",
"0.6197815",
"0.6042168",
"0.60164315",
"0.5999834",
"0.591271",
"0.58560073",
"0.5829912",
"0.5825685",
"0.5818239",
"0.5776626",
"0.57740724",
"0.5755054",
"0.5745331",
"0.57183844",
"0.56914103",
"0.5691384",... | 0.73612887 | 1 |
This will set the sex to be random | public Fox(int age) {
super(age, randomSex(), MAX_AGE, BREEDING_AGE, MAX_LITTER_SIZE, BREEDING_PROBABILITY, FOOD_VALUE, FULL_LEVEL);
constructor();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void decideGender()\n {\n String gender = new String(\"\");\n Random rand = new Random();\n int i = rand.nextInt(100);\n if(i <= 52)\n {\n gender = \"Female\";\n }//ends the if\n else\n {\n gender = \"Male\";\n }//ends t... | [
"0.72581846",
"0.721348",
"0.67515314",
"0.6694485",
"0.6651666",
"0.66299945",
"0.6540237",
"0.6540237",
"0.6520318",
"0.65159136",
"0.6490079",
"0.6490079",
"0.6490079",
"0.6490079",
"0.6490079",
"0.64858514",
"0.6433488",
"0.6411159",
"0.63755536",
"0.6322286",
"0.63217473... | 0.0 | -1 |
This will set the age to be random | public Fox(Sex sex) {
super(randomAge(MAX_AGE), sex, MAX_AGE, BREEDING_AGE, MAX_LITTER_SIZE, BREEDING_PROBABILITY, FOOD_VALUE, FULL_LEVEL);
constructor();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic void setAge () {\n\t\t// defining the random range for age between 1 up to 50\n\t\tint age = 1 + (int)(Math.random()*(3));\n\t\tthis.age = age;\n\t}",
"private int randomAge() {\n \tint low = 18;\n \tint high = 100;\n \tint offset = high - low;\n \tRandom r = new Random();\n \t... | [
"0.87178385",
"0.8087116",
"0.7285968",
"0.69901997",
"0.69198954",
"0.6863627",
"0.6862156",
"0.6845664",
"0.6803796",
"0.67977905",
"0.67977905",
"0.67977905",
"0.67977905",
"0.67977905",
"0.67977905",
"0.67972785",
"0.67972785",
"0.67972785",
"0.67972785",
"0.67972785",
"0... | 0.0 | -1 |
Creates a fox with age and sex predefined | public Fox(Sex sex, int age) {
super(age, sex, MAX_AGE, BREEDING_AGE, MAX_LITTER_SIZE, BREEDING_PROBABILITY, FOOD_VALUE, FULL_LEVEL);
constructor();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Fox(Sex sex) {\n super(randomAge(MAX_AGE), sex, MAX_AGE, BREEDING_AGE, MAX_LITTER_SIZE, BREEDING_PROBABILITY, FOOD_VALUE, FULL_LEVEL);\n constructor();\n }",
"public Fox(int age) {\n super(age, randomSex(), MAX_AGE, BREEDING_AGE, MAX_LITTER_SIZE, BREEDING_PROBABILITY, FOOD_VALUE, F... | [
"0.78399026",
"0.78118783",
"0.7459373",
"0.6911363",
"0.6387476",
"0.62775093",
"0.6014897",
"0.6006749",
"0.59780866",
"0.5964135",
"0.58223075",
"0.5802487",
"0.5772759",
"0.5770081",
"0.57606655",
"0.5741691",
"0.5695656",
"0.5674841",
"0.5674841",
"0.5645124",
"0.5641632... | 0.8063117 | 0 |
Auxiliary function to the constructor | public void constructor() {
setEdibleAnimals();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Constructor(){\n\t\t\n\t}",
"Constructor() {\r\n\t\t \r\n\t }",
"private void __sep__Constructors__() {}",
"protected abstract void construct();",
"Reproducible newInstance();",
"ConstuctorOverloading(){\n\t\tSystem.out.println(\"I am non=argument constructor\");\n\t}",
"defaultConstructor(){}",... | [
"0.734441",
"0.73075384",
"0.7249037",
"0.7002565",
"0.675033",
"0.6642008",
"0.65847176",
"0.65494245",
"0.6544275",
"0.6541988",
"0.65241283",
"0.645772",
"0.6424644",
"0.64206135",
"0.6383175",
"0.63767046",
"0.6372025",
"0.63493216",
"0.63179743",
"0.631506",
"0.63008064"... | 0.6080881 | 62 |
Defines what animals can be edible by the fox | @Override
public void setEdibleAnimals() {
addPrey(Rabbit.SPECIES);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean isFlyingAnimal() {\n return true;\n }",
"public void constructor() {\n setEdibleAnimals();\n }",
"public boolean isAnimal(Entity e){\r\n\t\tif(e instanceof Cow || e instanceof Chicken || e instanceof Sheep || e instanceof Horse\r\n\t\t\t\t|| e instanceof Wolf || e instanceof Ocelot... | [
"0.6065848",
"0.59262216",
"0.59015286",
"0.58934397",
"0.58786947",
"0.5831515",
"0.5654989",
"0.5653939",
"0.5648775",
"0.5620043",
"0.5604316",
"0.5597996",
"0.5564171",
"0.5512096",
"0.5498303",
"0.5475401",
"0.5448028",
"0.54370403",
"0.54225856",
"0.54203707",
"0.541864... | 0.6997202 | 0 |
Creates a fox with age 0 | @Override
public Animal newChild() {
return new Fox(0);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Fox(int age) {\n super(age, randomSex(), MAX_AGE, BREEDING_AGE, MAX_LITTER_SIZE, BREEDING_PROBABILITY, FOOD_VALUE, FULL_LEVEL);\n constructor();\n }",
"public Fox() {\n super(randomAge(MAX_AGE), randomSex(), MAX_AGE, BREEDING_AGE, MAX_LITTER_SIZE, BREEDING_PROBABILITY, FOOD_VALUE, ... | [
"0.7621242",
"0.71393824",
"0.70514643",
"0.66651726",
"0.63045436",
"0.6038033",
"0.59688246",
"0.5880574",
"0.58317107",
"0.5742803",
"0.5742012",
"0.5730225",
"0.5701401",
"0.5657454",
"0.5609297",
"0.5577772",
"0.55723834",
"0.55514973",
"0.5550152",
"0.5544768",
"0.55309... | 0.63658476 | 4 |
This is what the fox does most of the time: it hunts for rabbits. In the process, it might breed, die of hunger, or die of old age. | @Override
public void toLive(Field currentField, Field updatedField, List newAnimals) {
incrementHunger();
// Move towards the source of food if found.
Location newLocation = findFood(currentField, getLocation());
if (newLocation == null) { // no food found - move randomly
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void hunt();",
"public void hungry()\r\n {\r\n \tSystem.out.println(\"I'm hungry!! Feed me!!\");\r\n \tbarking();\r\n }",
"public void die()\r\n { \r\n say(\"SHREEEEK! I, uh, suddenly feel very faint...\");\r\n\r\n if (type == HERO)\r\n {\r\n // say goodbye an... | [
"0.63605726",
"0.6353565",
"0.6321844",
"0.62657803",
"0.62398756",
"0.6222088",
"0.6178101",
"0.6145951",
"0.6144961",
"0.6133854",
"0.6116276",
"0.6114738",
"0.6094429",
"0.6037124",
"0.6018944",
"0.5991045",
"0.59906423",
"0.59669673",
"0.59601784",
"0.5956033",
"0.5950560... | 0.0 | -1 |
com.neurolab.geometria.domain.Figura figura = new com.neurolab.geometria.domain.Figura(); | public static void main(String[] args) {
Triangulo triangulo = new TrianguloEquilatero();
Rectangulo rectangulo = new Rectangulo();
Circulo circulo = new Circulo();
Matematica matematica = new Matematica();
matematica.calcularArea(triangulo);
matematica.calcularArea(rec... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Factura() {\r\n }",
"public Factura() {\r\n }",
"public Facturacion() {\n }",
"public Prova() {}",
"public Aritmetica(){ }",
"public static void main(String[] args) {\n FiguraGeometrica figura = new Rectangulo(\"Rectangulo\");\n figura.dibujar();\n System.out.println(... | [
"0.702139",
"0.702139",
"0.6737651",
"0.6634598",
"0.6615231",
"0.6505362",
"0.64562535",
"0.63883144",
"0.6300739",
"0.6295353",
"0.6286592",
"0.62844324",
"0.6273247",
"0.62576294",
"0.62522507",
"0.62167233",
"0.6210444",
"0.619894",
"0.6197415",
"0.6192602",
"0.6189188",
... | 0.0 | -1 |
Created by sulistiyanto on 07/12/16. | public interface RegisterAPI {
@FormUrlEncoded
@POST("android/restfull/insert.php")
Call<Value> daftar(@Field("kode") String kode,
@Field("nama") String nama,
@Field("harga") String harga);
@GET("android/restfull/view.php")
Call<Value> view();
@Fo... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void perish() {\n \n }",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\r\n\tpublic void bicar() {\... | [
"0.61484927",
"0.60375565",
"0.59717387",
"0.5912948",
"0.591049",
"0.58765185",
"0.58765185",
"0.58503187",
"0.58385754",
"0.58215386",
"0.58132255",
"0.5792595",
"0.57871604",
"0.57619387",
"0.5758467",
"0.57428813",
"0.57372046",
"0.5716779",
"0.57092524",
"0.57092524",
"0... | 0.0 | -1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.