query stringlengths 7 33.1k | document stringlengths 7 335k | metadata dict | negatives listlengths 3 101 | negative_scores listlengths 3 101 | document_score stringlengths 3 10 | document_rank stringclasses 102
values |
|---|---|---|---|---|---|---|
This method was generated by MyBatis Generator. This method returns the value of the database column tb_hospital.hospital_id | public String getHospitalId() {
return hospitalId;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int getHospitalNumber() {\n return this.hospitalNumber;\n }",
"HospitalType selectByPrimaryKey(String id);",
"java.lang.String getPatientId();",
"int getEmployeeId();",
"int getDoctorId();",
"int getDoctorId();",
"public Long getMaxHospitalID() {\n\t\tConnection conn = null; // Resets ... | [
"0.6342533",
"0.62133986",
"0.5864078",
"0.5835104",
"0.5778954",
"0.5778954",
"0.57637584",
"0.5762312",
"0.5689972",
"0.5675919",
"0.567112",
"0.5663898",
"0.5626397",
"0.5611034",
"0.56102586",
"0.5554307",
"0.55111885",
"0.5482265",
"0.5468039",
"0.5465432",
"0.5431573",
... | 0.69082564 | 0 |
This method was generated by MyBatis Generator. This method sets the value of the database column tb_hospital.hospital_id | public void setHospitalId(String hospitalId) {
this.hospitalId = hospitalId == null ? null : hospitalId.trim();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void setHospital(String p_hospital){\n\t\tthis.nombreHospital = p_hospital;\n\t}",
"public void setHospital(String hospital) {\r\n this.hospital = hospital;\r\n }",
"public String getHospitalId() {\n return hospitalId;\n }",
"public void setHospital (jkt.hms.masters.business.MasHospital... | [
"0.6422257",
"0.633707",
"0.62094814",
"0.61413944",
"0.61413944",
"0.61413944",
"0.5793473",
"0.56364",
"0.56040776",
"0.5585371",
"0.54761297",
"0.5455103",
"0.54426605",
"0.5384464",
"0.536735",
"0.5335081",
"0.53273827",
"0.53273827",
"0.53016675",
"0.5294464",
"0.5255184... | 0.6294086 | 2 |
This method was generated by MyBatis Generator. This method returns the value of the database column tb_hospital.hospital_name | public String getHospitalName() {
return hospitalName;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getHospitalLevelName() {\n return hospitalLevelName;\n }",
"public String getHospital() {\r\n return hospital;\r\n }",
"java.lang.String getEmployeeName();",
"public String getEmphcolumn()\n {\n return emphColumn;\n }",
"public String getPropertyName(){\n ... | [
"0.6064276",
"0.6045832",
"0.6012705",
"0.58812195",
"0.58725494",
"0.56506324",
"0.5608392",
"0.5599901",
"0.5585726",
"0.55719",
"0.5548215",
"0.55368817",
"0.54841393",
"0.5460428",
"0.5437203",
"0.5369247",
"0.5364218",
"0.5357817",
"0.53463626",
"0.5335822",
"0.5324302",... | 0.6657889 | 0 |
This method was generated by MyBatis Generator. This method sets the value of the database column tb_hospital.hospital_name | public void setHospitalName(String hospitalName) {
this.hospitalName = hospitalName == null ? null : hospitalName.trim();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void setHospital(String p_hospital){\n\t\tthis.nombreHospital = p_hospital;\n\t}",
"public void setHospital(String hospital) {\r\n this.hospital = hospital;\r\n }",
"public void setEmphcolumn(String emphColumnIn)\n {\n emphColumn = emphColumnIn;\n }",
"public String getHospitalNam... | [
"0.68914557",
"0.6483458",
"0.5970946",
"0.5803196",
"0.5801141",
"0.5801141",
"0.5801141",
"0.5603754",
"0.5482272",
"0.54332364",
"0.53873456",
"0.5365343",
"0.5355228",
"0.53379214",
"0.5337165",
"0.52697766",
"0.5239795",
"0.51928127",
"0.5149135",
"0.5137194",
"0.5111925... | 0.6235887 | 2 |
This method was generated by MyBatis Generator. This method returns the value of the database column tb_hospital.hospital_address | public String getHospitalAddress() {
return hospitalAddress;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"java.lang.String getHotelAddress();",
"public String getAddress()\r\n {\r\n return address.getFullAddress();\r\n }",
"public String getAddress()\r\n {\r\n return address.getFullAddress();\r\n }",
"public String getAddress() {\n return definition.getString(ADDRESS);\n }",
"Stri... | [
"0.63144386",
"0.62798333",
"0.62798333",
"0.6214725",
"0.61290145",
"0.60942143",
"0.6093763",
"0.6092503",
"0.6063082",
"0.6053606",
"0.5977556",
"0.5964458",
"0.5943876",
"0.5939983",
"0.5939983",
"0.59189665",
"0.59012306",
"0.5895376",
"0.5895376",
"0.5895376",
"0.589537... | 0.71253836 | 0 |
This method was generated by MyBatis Generator. This method sets the value of the database column tb_hospital.hospital_address | public void setHospitalAddress(String hospitalAddress) {
this.hospitalAddress = hospitalAddress == null ? null : hospitalAddress.trim();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getHospitalAddress() {\n return hospitalAddress;\n }",
"@Generated(hash = 607080948)\n public void setAddress(Address address) {\n synchronized (this) {\n this.address = address;\n addressId = address == null ? null : address.getId();\n address__... | [
"0.61589855",
"0.59567314",
"0.59458524",
"0.5881288",
"0.5853399",
"0.5853399",
"0.5853399",
"0.5853399",
"0.5846421",
"0.58353835",
"0.58175343",
"0.5815188",
"0.58124834",
"0.57883435",
"0.5782632",
"0.5754023",
"0.5740769",
"0.5740769",
"0.5740769",
"0.5664262",
"0.564644... | 0.66163075 | 0 |
This method was generated by MyBatis Generator. This method returns the value of the database column tb_hospital.hospital_city | public String getHospitalCity() {
return hospitalCity;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getCity() {\n return (String) get(\"city\");\n }",
"public String getCity() {\n\t\treturn this.city;\n\t}",
"public String getCity() {\n return this.city;\n }",
"public String getCity() {\n return this.city;\n }",
"public String getCity() {\n return this.city;\n }",
"p... | [
"0.68798184",
"0.6593737",
"0.6569373",
"0.6569373",
"0.6569373",
"0.65677947",
"0.6565036",
"0.6565036",
"0.6565036",
"0.65590304",
"0.65590304",
"0.6541383",
"0.6541383",
"0.65298015",
"0.6522605",
"0.6504978",
"0.65008044",
"0.6498616",
"0.64970237",
"0.64884037",
"0.64876... | 0.7225898 | 0 |
This method was generated by MyBatis Generator. This method sets the value of the database column tb_hospital.hospital_city | public void setHospitalCity(String hospitalCity) {
this.hospitalCity = hospitalCity == null ? null : hospitalCity.trim();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setCity(String city) {\r\n this.city = city;\r\n }",
"public void setCity(String city) {\r\n this.city = city;\r\n }",
"public void setCity(String city){\n this.city = city;\n }",
"public void setCity(String city);",
"public void setCity(City city) {\n this.... | [
"0.67385745",
"0.67385745",
"0.6730267",
"0.6726287",
"0.668678",
"0.66678345",
"0.66631097",
"0.66631097",
"0.66631097",
"0.66631097",
"0.66631097",
"0.66631097",
"0.66459495",
"0.66426814",
"0.66065955",
"0.65943986",
"0.65943986",
"0.6537667",
"0.6515837",
"0.6479353",
"0.... | 0.68825567 | 0 |
This method was generated by MyBatis Generator. This method returns the value of the database column tb_hospital.hospital_country | public String getHospitalCountry() {
return hospitalCountry;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public StrColumn getCountry() {\n return delegate.getColumn(\"country\", DelegatingStrColumn::new);\n }",
"public int getCountryId();",
"java.lang.String getCountry();",
"java.lang.String getCountry();",
"public Long getCountryId() {\n return this.countryId;\n }",
"public String getCo... | [
"0.6807881",
"0.64517915",
"0.63860166",
"0.63860166",
"0.63520217",
"0.63249534",
"0.6307238",
"0.63031757",
"0.63031757",
"0.63012207",
"0.63012207",
"0.627834",
"0.6257455",
"0.6246938",
"0.6235222",
"0.6189696",
"0.6188899",
"0.6187083",
"0.6187083",
"0.6187083",
"0.61841... | 0.7223545 | 0 |
This method was generated by MyBatis Generator. This method sets the value of the database column tb_hospital.hospital_country | public void setHospitalCountry(String hospitalCountry) {
this.hospitalCountry = hospitalCountry == null ? null : hospitalCountry.trim();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setCountryId(int value);",
"public void setCountry(Country country) {\n this.country = country;\n }",
"public void setCountry(Integer country) {\n this.country = country;\n }",
"public void setCountry(Integer country) {\n this.country = country;\n }",
"public Strin... | [
"0.64375603",
"0.6421322",
"0.63269806",
"0.63269806",
"0.6288034",
"0.6275113",
"0.6275113",
"0.6275113",
"0.6275113",
"0.6275113",
"0.6275113",
"0.62692064",
"0.6183959",
"0.61785555",
"0.61785555",
"0.61785555",
"0.61386245",
"0.6090334",
"0.6078021",
"0.60674167",
"0.6059... | 0.6638533 | 0 |
This method was generated by MyBatis Generator. This method returns the value of the database column tb_hospital.hospital_province | public String getHospitalProvince() {
return hospitalProvince;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Integer getProvince() {\n return province;\n }",
"public Integer getProvince() {\n return province;\n }",
"@java.lang.Override\n public com.google.protobuf.StringValue getProvince() {\n return province_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : province_;\n... | [
"0.6713367",
"0.6713367",
"0.668717",
"0.6680601",
"0.6680601",
"0.6680601",
"0.66303974",
"0.66303974",
"0.66303974",
"0.66303974",
"0.66303974",
"0.66303974",
"0.66303974",
"0.6557795",
"0.6557795",
"0.65478784",
"0.65478784",
"0.6352775",
"0.62616116",
"0.62616116",
"0.621... | 0.7140917 | 0 |
This method was generated by MyBatis Generator. This method sets the value of the database column tb_hospital.hospital_province | public void setHospitalProvince(String hospitalProvince) {
this.hospitalProvince = hospitalProvince == null ? null : hospitalProvince.trim();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setProvince(String province) {\r\n this.province = province;\r\n }",
"public void setProvince(String province) {\r\n this.province = province;\r\n }",
"public void setProvince(String province) {\n this.province = province;\n }",
"public void setProvince(String provin... | [
"0.7047015",
"0.7047015",
"0.6958276",
"0.6958276",
"0.6958276",
"0.6909722",
"0.6909722",
"0.66249555",
"0.65865564",
"0.65865564",
"0.65865564",
"0.65865564",
"0.65865564",
"0.64646137",
"0.6448342",
"0.6448342",
"0.6384647",
"0.63596207",
"0.63536584",
"0.6252569",
"0.6173... | 0.6950952 | 5 |
This method was generated by MyBatis Generator. This method returns the value of the database column tb_hospital.hospital_image | public String getHospitalImage() {
return hospitalImage;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@DhtmlColumn(columnIndex = 4, headerName = \"图标\")\n\tpublic String getImagePath() {\n\t\treturn imagePath;\n\t}",
"public void setHospitalImage(String hospitalImage) {\n this.hospitalImage = hospitalImage == null ? null : hospitalImage.trim();\n }",
"java.lang.String getImagePath();",
"@Transactio... | [
"0.606638",
"0.6052311",
"0.58801657",
"0.5843745",
"0.58379513",
"0.58062863",
"0.5773891",
"0.57413703",
"0.5693529",
"0.5693529",
"0.5684537",
"0.5648775",
"0.56173027",
"0.5609595",
"0.56037503",
"0.5571743",
"0.5568684",
"0.55342793",
"0.5520804",
"0.5514254",
"0.5502214... | 0.7258207 | 0 |
This method was generated by MyBatis Generator. This method sets the value of the database column tb_hospital.hospital_image | public void setHospitalImage(String hospitalImage) {
this.hospitalImage = hospitalImage == null ? null : hospitalImage.trim();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getHospitalImage() {\n return hospitalImage;\n }",
"public void setImage(int imageId) {\n this.imageId=imageId;\n\t}",
"private void putProfPic(Blob gbPhoto) throws SQLException, FileNotFoundException, IOException {\n if(gbPhoto == null){\n ExternalContext external... | [
"0.6489363",
"0.6099009",
"0.59087104",
"0.56886464",
"0.5678442",
"0.56200904",
"0.56174636",
"0.561414",
"0.55540955",
"0.5541571",
"0.55332303",
"0.55332303",
"0.55112416",
"0.54466057",
"0.54466057",
"0.54376477",
"0.5430111",
"0.541389",
"0.5404565",
"0.5390835",
"0.5367... | 0.6985228 | 0 |
This method was generated by MyBatis Generator. This method returns the value of the database column tb_hospital.hospital_level | public String getHospitalLevel() {
return hospitalLevel;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getHospitalLevelName() {\n return hospitalLevelName;\n }",
"public Integer getLevelId() {\n return levelId;\n }",
"public Long getLevel() {\r\n return (Long) getAttributeInternal(LEVEL);\r\n }",
"public String getLevelId() {\n return levelId;\n }",
"pub... | [
"0.6774833",
"0.60405165",
"0.6024656",
"0.59893525",
"0.59805423",
"0.59600383",
"0.59533083",
"0.59523994",
"0.5945324",
"0.59167653",
"0.59167653",
"0.59167653",
"0.59167653",
"0.59167653",
"0.58940774",
"0.5891202",
"0.5888267",
"0.58699805",
"0.58681893",
"0.58602124",
"... | 0.7143973 | 0 |
This method was generated by MyBatis Generator. This method sets the value of the database column tb_hospital.hospital_level | public void setHospitalLevel(String hospitalLevel) {
this.hospitalLevel = hospitalLevel == null ? null : hospitalLevel.trim();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setLevel(Level level) throws SQLException\r\n\t{\r\n\t\tif (level == null)\r\n\t\t{\r\n\t\t\treturn;\r\n\t\t}\r\n\t\t\r\n\t\tString SQL_USER = \"UPDATE user SET level =? WHERE id=?;\";\t\t\r\n\t\ttry\r\n\t\t{\r\n\t\t\t//Prepare the statement\r\n\t\t\tPreparedStatement statement = this.getConn().prepare... | [
"0.62556",
"0.60065055",
"0.57511234",
"0.57362795",
"0.56779987",
"0.56047124",
"0.5597887",
"0.5557745",
"0.5548367",
"0.5522423",
"0.5510627",
"0.54688793",
"0.5419792",
"0.54189587",
"0.5382223",
"0.53708684",
"0.5370491",
"0.5368436",
"0.5366805",
"0.53664213",
"0.535272... | 0.6260745 | 0 |
This method was generated by MyBatis Generator. This method returns the value of the database column tb_hospital.hospital_level_name | public String getHospitalLevelName() {
return hospitalLevelName;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"String getLevelName();",
"String getLevelName();",
"String getLevelName();",
"public String getHospitalLevel() {\n return hospitalLevel;\n }",
"String levelName();",
"public String getLevelName(){\n return levelName;\n }",
"public String getLevelName() {\n return levelName;\n... | [
"0.6602042",
"0.6602042",
"0.6602042",
"0.6554615",
"0.6526047",
"0.64722365",
"0.6372613",
"0.63308454",
"0.63308454",
"0.63308454",
"0.6279115",
"0.62214655",
"0.62214655",
"0.62214655",
"0.6074422",
"0.60326415",
"0.59931797",
"0.5969805",
"0.5969805",
"0.5969805",
"0.5901... | 0.736383 | 0 |
This method was generated by MyBatis Generator. This method sets the value of the database column tb_hospital.hospital_level_name | public void setHospitalLevelName(String hospitalLevelName) {
this.hospitalLevelName = hospitalLevelName == null ? null : hospitalLevelName.trim();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getHospitalLevelName() {\n return hospitalLevelName;\n }",
"public Builder setLevelName(\n String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n levelName_ = value;\n onChanged();\n return this;\n }",
"public B... | [
"0.6336108",
"0.6234973",
"0.6234973",
"0.6234973",
"0.59663945",
"0.5946981",
"0.581755",
"0.5800634",
"0.57545155",
"0.56426615",
"0.5556327",
"0.55511683",
"0.552072",
"0.5363573",
"0.53066754",
"0.522907",
"0.522114",
"0.51989686",
"0.51989686",
"0.51989686",
"0.5196371",... | 0.661014 | 0 |
This method was generated by MyBatis Generator. This method returns the value of the database column tb_hospital.hospital_phone | public String getHospitalPhone() {
return hospitalPhone;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Long getHome_phone();",
"public Long getMobile_phone();",
"@Column(name = \"CELL_PH_NUM\", length = 10)\n public String getCellPhoneNumber() {\n return cellPhoneNumber;\n }",
"@Override\n public java.lang.String getPhone() {\n return _entityCustomer.getPhone();\n }",
"publi... | [
"0.6845534",
"0.68225086",
"0.64271927",
"0.6401886",
"0.63283306",
"0.63283306",
"0.6274892",
"0.62493116",
"0.6246805",
"0.6229216",
"0.62206405",
"0.61842823",
"0.61842823",
"0.61842823",
"0.61842823",
"0.61842823",
"0.61842823",
"0.6184003",
"0.6183515",
"0.6178894",
"0.6... | 0.7201041 | 0 |
This method was generated by MyBatis Generator. This method sets the value of the database column tb_hospital.hospital_phone | public void setHospitalPhone(String hospitalPhone) {
this.hospitalPhone = hospitalPhone == null ? null : hospitalPhone.trim();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void set_phone(String Phone)\n {\n phone =Phone;\n }",
"public void setMobile_phone(Long mobile_phone);",
"@Override\n public void setPhone(java.lang.String phone) {\n _entityCustomer.setPhone(phone);\n }",
"public void setHome_phone(Long home_phone);",
"public void setPhon... | [
"0.68881696",
"0.6649247",
"0.6648742",
"0.66439146",
"0.66214377",
"0.66202885",
"0.66029614",
"0.6577759",
"0.65712655",
"0.6560643",
"0.6557559",
"0.6555209",
"0.6532712",
"0.65305936",
"0.6529293",
"0.6529293",
"0.6529293",
"0.6529293",
"0.6529293",
"0.6529293",
"0.652929... | 0.6875757 | 1 |
This method was generated by MyBatis Generator. This method returns the value of the database column tb_hospital.hospital_order_count | public Long getHospitalOrderCount() {
return hospitalOrderCount;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int getOrderListCount() {\n\t\tConnection con = getConnection();\n\t\tOrderDAO orderDAO = OrderDAO.getInstance();\n\t\torderDAO.setConnection(con);\n\t\t\n\t\tint orderListCount=orderDAO.selectOrderListCount();\n\t\t\n\t\tclose(con);\n\t\t\n\t\treturn orderListCount;\n\t}",
"public int count() {\n\t\tretu... | [
"0.65269756",
"0.64279497",
"0.63762844",
"0.63481224",
"0.6322197",
"0.6265379",
"0.6265379",
"0.6110847",
"0.6099693",
"0.60946625",
"0.6083059",
"0.60410094",
"0.60396224",
"0.6039492",
"0.6033409",
"0.595969",
"0.5917813",
"0.5903635",
"0.58562857",
"0.58547544",
"0.58387... | 0.72512704 | 0 |
This method was generated by MyBatis Generator. This method sets the value of the database column tb_hospital.hospital_order_count | public void setHospitalOrderCount(Long hospitalOrderCount) {
this.hospitalOrderCount = hospitalOrderCount;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Long getHospitalOrderCount() {\n return hospitalOrderCount;\n }",
"@Override\n\tpublic int countOrder(SearchCriteria scri) throws Exception {\n\t\treturn session.selectOne(\"orderMapper.countOrder\",scri);\n\t}",
"public void setCount(java.math.BigInteger count)\n {\n synchronized (m... | [
"0.6649943",
"0.5678561",
"0.53497404",
"0.5341616",
"0.53314614",
"0.53314614",
"0.53314614",
"0.52862686",
"0.5283411",
"0.5235086",
"0.5235086",
"0.5235086",
"0.5235086",
"0.5235086",
"0.5235086",
"0.51685846",
"0.51651835",
"0.51641303",
"0.5147698",
"0.51469165",
"0.5127... | 0.69906795 | 0 |
This method was generated by MyBatis Generator. This method returns the value of the database column tb_hospital.status | public String getStatus() {
return status;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getStatus(){\n\n //returns the value of the status field\n return this.status;\n }",
"@Enumerated(EnumType.STRING)\n@Column(name = \"STATUS\", length = EntityWithId.COLUMNLENGTH)\n \n @NotNull(message = \"{NotNull.gov.nih.nci.calims2.domain.administration.customerservice.BillingInformation... | [
"0.67061543",
"0.64413804",
"0.61915684",
"0.6173252",
"0.6158104",
"0.6144383",
"0.6139486",
"0.6126692",
"0.6126692",
"0.6126692",
"0.6122565",
"0.6122565",
"0.60974896",
"0.6093434",
"0.60797465",
"0.60797465",
"0.607436",
"0.60678023",
"0.60678023",
"0.60678023",
"0.60678... | 0.0 | -1 |
This method was generated by MyBatis Generator. This method sets the value of the database column tb_hospital.status | public void setStatus(String status) {
this.status = status == null ? null : status.trim();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setEntitystatus(int entitystatus);",
"public void setMaritalStatus(MaritalStatus_Tp status) { this.maritalStatus = status; }",
"public void setStatus(String newStatus){\n\n //assigns the value of newStatus to the status field\n this.status = newStatus;\n }",
"public void setStatus(int v) \... | [
"0.60387903",
"0.5938574",
"0.59372497",
"0.5865818",
"0.5848184",
"0.5848184",
"0.5835807",
"0.58356225",
"0.58324164",
"0.58296865",
"0.5813735",
"0.5813735",
"0.5813735",
"0.5813735",
"0.5813735",
"0.5813735",
"0.5813735",
"0.5813735",
"0.5813735",
"0.5813735",
"0.5813735"... | 0.0 | -1 |
This method was generated by MyBatis Generator. This method returns the value of the database column tb_hospital.create_date | public Date getCreateDate() {
return createDate;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Basic( optional = true )\r\n\t@Column( name = \"create_date\" )\r\n\tpublic Date getCreateDate() {\r\n\t\treturn this.createDate;\r\n\t\t\r\n\t}",
"public Date getCreate_date() {\n return create_date;\n }",
"Date getCreateDate();",
"Date getCreateDate();",
"public Date getCreateDate();",
"pub... | [
"0.7037966",
"0.6868267",
"0.685608",
"0.685608",
"0.68347144",
"0.68347144",
"0.68347144",
"0.67607653",
"0.6704987",
"0.6655055",
"0.6655055",
"0.6655055",
"0.66525996",
"0.66525996",
"0.66525996",
"0.66518044",
"0.66462857",
"0.6617445",
"0.6596681",
"0.6596681",
"0.655118... | 0.6427325 | 46 |
This method was generated by MyBatis Generator. This method sets the value of the database column tb_hospital.create_date | public void setCreateDate(Date createDate) {
this.createDate = createDate;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void setCreateDate(Date date);",
"public void setCreateDate(Date createDate);",
"public void setCreateDate(Date createDate);",
"public void setCreateDate(Date createDate);",
"public void setCreateDate(Date createDate) { this.createDate = createDate; }",
"public void setCreateDate(Date createDate)\r\n/* ... | [
"0.7082395",
"0.706136",
"0.706136",
"0.706136",
"0.69949734",
"0.68103427",
"0.6726109",
"0.67189944",
"0.6692548",
"0.6679135",
"0.664574",
"0.664574",
"0.6623519",
"0.6538847",
"0.6537329",
"0.65329915",
"0.6489507",
"0.6489507",
"0.6489507",
"0.64839023",
"0.64548683",
... | 0.634342 | 51 |
This method was generated by MyBatis Generator. This method returns the value of the database column tb_hospital.update_date | public Date getUpdateDate() {
return updateDate;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Date getUpdateDatetime();",
"public Date getUpdateDt() {\n return updateDt;\n }",
"public Date getUpdateDt() {\n return updateDt;\n }",
"Date getUpdatedDate();",
"public Date getDATE_UPDATED() {\r\n return DATE_UPDATED;\r\n }",
"public Date getDATE_UPDATED() {\r\n ... | [
"0.70394534",
"0.6972637",
"0.6972637",
"0.6810123",
"0.68013996",
"0.68013996",
"0.66952574",
"0.6671319",
"0.6626435",
"0.6624595",
"0.66211414",
"0.661584",
"0.65807503",
"0.6503004",
"0.649985",
"0.6491364",
"0.6491364",
"0.64827055",
"0.64484876",
"0.6436847",
"0.6436847... | 0.663708 | 17 |
This method was generated by MyBatis Generator. This method sets the value of the database column tb_hospital.update_date | public void setUpdateDate(Date updateDate) {
this.updateDate = updateDate;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setUpdateDt(Date updateDt) {\n this.updateDt = updateDt;\n }",
"public void setUpdateDt(Date updateDt) {\n this.updateDt = updateDt;\n }",
"public void setUpdateDatetime(Date updateDatetime);",
"public void setUpdatedOn(Date updatedOn);",
"void setUpdatedDate(Date updatedDat... | [
"0.7049928",
"0.7049928",
"0.70219463",
"0.6810649",
"0.67558295",
"0.66265255",
"0.6587403",
"0.6587403",
"0.6584555",
"0.6553553",
"0.6539194",
"0.6539194",
"0.65235615",
"0.65235615",
"0.6508197",
"0.6508197",
"0.64343536",
"0.6377322",
"0.6376837",
"0.6376837",
"0.6337727... | 0.6575241 | 17 |
This method was generated by MyBatis Generator. This method returns the value of the database column tb_hospital.bak_code1 | public String getBakCode1() {
return bakCode1;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getJP_BankDataCustomerCode2();",
"public String getJP_BankDataCustomerCode1();",
"java.lang.String getSqlCode();",
"public String getBakCode2() {\n return bakCode2;\n }",
"com.google.protobuf.ByteString getSqlCodeBytes();",
"public String getJP_BankAccount_Value();",
"public Str... | [
"0.6624553",
"0.6593856",
"0.62381166",
"0.58208007",
"0.5665562",
"0.56456006",
"0.56334054",
"0.55605984",
"0.55459315",
"0.55375093",
"0.5525167",
"0.55019844",
"0.5419801",
"0.53507966",
"0.52585936",
"0.5236601",
"0.5231799",
"0.52251816",
"0.52251816",
"0.52171195",
"0.... | 0.6157105 | 3 |
This method was generated by MyBatis Generator. This method sets the value of the database column tb_hospital.bak_code1 | public void setBakCode1(String bakCode1) {
this.bakCode1 = bakCode1 == null ? null : bakCode1.trim();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setJP_BankDataCustomerCode1 (String JP_BankDataCustomerCode1);",
"public void setJP_BankDataCustomerCode2 (String JP_BankDataCustomerCode2);",
"public void setBakCode2(String bakCode2) {\n this.bakCode2 = bakCode2 == null ? null : bakCode2.trim();\n }",
"public String getJP_BankDataCust... | [
"0.6655437",
"0.6544057",
"0.57041746",
"0.55627227",
"0.5501892",
"0.54953367",
"0.54809386",
"0.54489213",
"0.53158194",
"0.52621216",
"0.516928",
"0.5160958",
"0.51352185",
"0.5110617",
"0.50821966",
"0.5080353",
"0.50681704",
"0.50681704",
"0.5052205",
"0.50424224",
"0.50... | 0.6261717 | 2 |
This method was generated by MyBatis Generator. This method returns the value of the database column tb_hospital.bak_code2 | public String getBakCode2() {
return bakCode2;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getJP_BankDataCustomerCode2();",
"public String getJP_BankDataCustomerCode1();",
"public void setBakCode2(String bakCode2) {\n this.bakCode2 = bakCode2 == null ? null : bakCode2.trim();\n }",
"java.lang.String getSqlCode();",
"public void setJP_BankDataCustomerCode2 (String JP_BankD... | [
"0.66944325",
"0.6369462",
"0.6074775",
"0.5970276",
"0.5853967",
"0.5840989",
"0.55839753",
"0.54751307",
"0.535753",
"0.5336536",
"0.5316646",
"0.5220541",
"0.51640826",
"0.516019",
"0.5110159",
"0.5103574",
"0.50960124",
"0.5095167",
"0.5077742",
"0.5077742",
"0.5067031",
... | 0.65239125 | 1 |
This method was generated by MyBatis Generator. This method sets the value of the database column tb_hospital.bak_code2 | public void setBakCode2(String bakCode2) {
this.bakCode2 = bakCode2 == null ? null : bakCode2.trim();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setJP_BankDataCustomerCode2 (String JP_BankDataCustomerCode2);",
"public void setJP_BankDataCustomerCode1 (String JP_BankDataCustomerCode1);",
"public void setBakCode1(String bakCode1) {\n this.bakCode1 = bakCode1 == null ? null : bakCode1.trim();\n }",
"public String getBakCode2() {\n ... | [
"0.6896775",
"0.63873583",
"0.57943493",
"0.57721895",
"0.5709896",
"0.54406536",
"0.5358699",
"0.53115606",
"0.525358",
"0.5206136",
"0.5199437",
"0.5177404",
"0.507094",
"0.5047672",
"0.5027318",
"0.49150467",
"0.48712826",
"0.48687413",
"0.4848452",
"0.4848452",
"0.4846276... | 0.65984386 | 1 |
This method was generated by MyBatis Generator. This method returns the value of the database column tb_hospital.haschild | public String getHaschild() {
return haschild;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getChildExists() {\r\n return (String) getAttributeInternal(CHILDEXISTS);\r\n }",
"public final boolean hasChild ()\r\n {\r\n return _value.hasChild();\r\n }",
"public void setHaschild(String haschild) {\n this.haschild = haschild == null ? null : haschild.trim();\n ... | [
"0.6050521",
"0.5760554",
"0.5526934",
"0.5504907",
"0.54694575",
"0.54095626",
"0.5348161",
"0.5348161",
"0.52215695",
"0.5073802",
"0.5036404",
"0.5008589",
"0.49463344",
"0.49420667",
"0.49335682",
"0.49117264",
"0.4894775",
"0.48639178",
"0.4858148",
"0.48574013",
"0.4825... | 0.6662334 | 0 |
This method was generated by MyBatis Generator. This method sets the value of the database column tb_hospital.haschild | public void setHaschild(String haschild) {
this.haschild = haschild == null ? null : haschild.trim();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setIsChild(Boolean isChild) {\n this.isChild = isChild;\n }",
"public void setChildExists(String value) {\r\n setAttributeInternal(CHILDEXISTS, value);\r\n }",
"public void setGrandChild(boolean isGrandChild)\n {\n m_isGrandChild = isGrandChild;\n }",
"public String g... | [
"0.59336746",
"0.57849646",
"0.5677632",
"0.5627591",
"0.55147177",
"0.5384225",
"0.5285442",
"0.5213898",
"0.51833963",
"0.5131148",
"0.5032576",
"0.50058705",
"0.49722382",
"0.49414617",
"0.49386775",
"0.49386775",
"0.48905113",
"0.48900887",
"0.48305103",
"0.4814912",
"0.4... | 0.6131323 | 0 |
This method was generated by MyBatis Generator. This method returns the value of the database column tb_hospital.parent_id | public String getParentId() {
return parentId;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public java.lang.Integer getParentId();",
"public int getParent_id() {\n return this.parent_id;\n }",
"public IntColumn getParentId() {\n return delegate.getColumn(\"parent_id\", DelegatingIntColumn::new);\n }",
"@Override\n @Transient\n public Integer getParentId()\n {\n return... | [
"0.7604829",
"0.7423622",
"0.74060357",
"0.7217572",
"0.7174953",
"0.705714",
"0.705714",
"0.705714",
"0.70320225",
"0.699883",
"0.699883",
"0.699883",
"0.699883",
"0.69782007",
"0.68862754",
"0.68666714",
"0.6734426",
"0.6733146",
"0.6688028",
"0.6667745",
"0.66287583",
"0... | 0.6880694 | 22 |
This method was generated by MyBatis Generator. This method sets the value of the database column tb_hospital.parent_id | public void setParentId(String parentId) {
this.parentId = parentId == null ? null : parentId.trim();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setParentId(java.lang.Integer parentId);",
"public void setParent(int id);",
"public void setParentHsCodeId(Long value) {\r\n this.parentHsCodeId = value;\r\n }",
"@Override\n @Transient\n public Integer getParentId()\n {\n return parentTblId;\n }",
"public java.lan... | [
"0.6722454",
"0.6643033",
"0.660444",
"0.65710926",
"0.6453777",
"0.6368623",
"0.6354105",
"0.63080937",
"0.62774956",
"0.6275223",
"0.6146475",
"0.6146475",
"0.6146475",
"0.6123873",
"0.6095359",
"0.6095359",
"0.6095359",
"0.6095359",
"0.6066598",
"0.6066598",
"0.6066598",
... | 0.5645803 | 64 |
This method was generated by MyBatis Generator. This method returns the value of the database column tb_hospital.longitude | public String getLongitude() {
return longitude;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"long getLongitude();",
"public int getLongitude() {\n checkRep();\n return this.longitude;\n }",
"double getLongitude();",
"int getLongitude();",
"Double getLongitude();",
"Double getLongitude();",
"public int getLongitude() {\n return longitude;\n }",
"public int getLongit... | [
"0.7163782",
"0.6984267",
"0.69777876",
"0.6950474",
"0.692212",
"0.692212",
"0.6888313",
"0.6839559",
"0.67955804",
"0.6788936",
"0.67697",
"0.67690444",
"0.6755094",
"0.6735253",
"0.6733566",
"0.6711906",
"0.6711906",
"0.6711906",
"0.6711906",
"0.6702249",
"0.6702249",
"0... | 0.67082953 | 20 |
This method was generated by MyBatis Generator. This method sets the value of the database column tb_hospital.longitude | public void setLongitude(String longitude) {
this.longitude = longitude == null ? null : longitude.trim();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void setLongitude(Double longitude);",
"public void setLongitude(String longitude)\r\n {\r\n this.longitude = longitude; \r\n }",
"public void set_longitude(double _longitude) {\r\n\t\tthis._longitude = _longitude;\r\n\t}",
"public void setLongitude(int longitude) {\n this.longitude... | [
"0.6604841",
"0.6603265",
"0.64265335",
"0.64143103",
"0.6396408",
"0.6396408",
"0.638621",
"0.6296169",
"0.6296169",
"0.62625545",
"0.6183026",
"0.6179456",
"0.61750096",
"0.61424094",
"0.6089376",
"0.6070664",
"0.60290015",
"0.6017139",
"0.59836113",
"0.5980631",
"0.5945922... | 0.5918189 | 26 |
This method was generated by MyBatis Generator. This method returns the value of the database column tb_hospital.latitude | public String getLatitude() {
return latitude;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"long getLatitude();",
"public int getLatitude() {\n return latitude;\n }",
"public int getLatitude() {\n checkRep();\n return this.latitude;\n }",
"public double latitude() {\n return this.latitude;\n }",
"public BigDecimal getLatitude() {\n return latitude;\n ... | [
"0.64086485",
"0.6393283",
"0.63806194",
"0.6340063",
"0.6335746",
"0.63157123",
"0.630735",
"0.630735",
"0.62739366",
"0.6256705",
"0.6252117",
"0.62432677",
"0.6240874",
"0.6187351",
"0.6187351",
"0.6187351",
"0.61836326",
"0.61836326",
"0.61836326",
"0.61836326",
"0.618363... | 0.60076785 | 44 |
This method was generated by MyBatis Generator. This method sets the value of the database column tb_hospital.latitude | public void setLatitude(String latitude) {
this.latitude = latitude == null ? null : latitude.trim();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void setLatitude(Double latitude);",
"public void set_latitude(double _latitude) {\r\n\t\tthis._latitude = _latitude;\r\n\t}",
"public void setLatitude(float latitude) { this.latitude = latitude; }",
"public void setLatitude(double latitude){\n this.latitude = latitude;\n }",
"public void setLati... | [
"0.6224372",
"0.6178728",
"0.6132043",
"0.6129313",
"0.59634453",
"0.5903619",
"0.590194",
"0.58584833",
"0.583908",
"0.5826158",
"0.58259445",
"0.58130026",
"0.58130026",
"0.5786872",
"0.5784354",
"0.5764366",
"0.5728632",
"0.5687249",
"0.5678307",
"0.56764823",
"0.5657993",... | 0.0 | -1 |
This method was generated by MyBatis Generator. This method returns the value of the database column tb_hospital.remark | public String getRemark() {
return remark;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getRemark()\n/* */ {\n/* 255 */ return this.remark;\n/* */ }",
"public java.lang.String getRemark () {\n\t\treturn _remark;\n\t}",
"public String getRemark() {\r\n return remark;\r\n }",
"public String getRemark() {\n return this.Remark;\n }",
"public String getR... | [
"0.6523645",
"0.6422719",
"0.64112914",
"0.6369617",
"0.6368823",
"0.6368823",
"0.6368823",
"0.6368823",
"0.63456696",
"0.62420315",
"0.6227683",
"0.6169883",
"0.594599",
"0.5933552",
"0.58606315",
"0.5850824",
"0.58202",
"0.58008146",
"0.578987",
"0.57043874",
"0.56863797",
... | 0.63403493 | 32 |
This method was generated by MyBatis Generator. This method sets the value of the database column tb_hospital.remark | public void setRemark(String remark) {
this.remark = remark == null ? null : remark.trim();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setRemark(String remark)\n/* */ {\n/* 267 */ this.remark = remark;\n/* */ }",
"public void setRemark(String remark) {\r\n this.remark = remark;\r\n }",
"public void setRemark(String remark) {\r\n this.remark = remark;\r\n }",
"public void setRemark(String remark) {\r... | [
"0.6551905",
"0.6246357",
"0.6200493",
"0.6200493",
"0.6128652",
"0.6128652",
"0.6128652",
"0.6128652",
"0.6128652",
"0.6128652",
"0.6128652",
"0.6128652",
"0.6128652",
"0.6098976",
"0.6098358",
"0.60714453",
"0.6050721",
"0.6000222",
"0.58370167",
"0.5817399",
"0.5817399",
... | 0.579578 | 37 |
validateUser() will get conection by calling getConnection() of DatabasweConnection class and check userId and Password with database records and return status accordinly | public boolean validateUser(String userId, String password) {
ResultSet objResultSet = null;
PreparedStatement objPreparedStatement = null;
DatabaseConnection objConnection = null;
Connection connect = null;
boolean validateStatus = false;
try {
objConnection = new DatabaseConnection();
// cal... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private boolean checkUser(String user_name, String passwordd) throws SQLException {\n boolean sucss = false;\n DBConnection db = new DBConnection();\n Connection connection = db.getConnection();\n String sql = \"SELECT * FROM USER WHERE NAME = ? AND PASSWORD = ?\";\n try (Prepare... | [
"0.7234744",
"0.69871086",
"0.6937244",
"0.692565",
"0.6784992",
"0.67510545",
"0.6718454",
"0.66832936",
"0.66667646",
"0.6632731",
"0.66268826",
"0.65530664",
"0.6545384",
"0.65453196",
"0.6539712",
"0.65342975",
"0.6532154",
"0.6529824",
"0.6496692",
"0.6491012",
"0.648987... | 0.7540533 | 0 |
called only from ShellLaunchManager | void destroy() throws IOException {
LOG.log(Level.FINE, "ShellAgent destroyed: authKey = {0}, socket = {1}", new Object[]{authorizationKey, handshakeSocket});
List<JShellConnection> conns;
synchronized (this) {
handshakeSocket.close();
if (closed) {
return... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void launch() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void launch() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void launch() {\n\t\t\r\n\t}",
"public abstract String getLaunchCommand();",
"public void setLaunched();",
"protected void onFirstTimeLaunched() {\n }",
"public void conn... | [
"0.66062826",
"0.66062826",
"0.66062826",
"0.6458059",
"0.64155614",
"0.64102834",
"0.6220752",
"0.60562456",
"0.59325534",
"0.5902822",
"0.58653766",
"0.58101285",
"0.5794519",
"0.5777238",
"0.5772996",
"0.5735877",
"0.57330596",
"0.57040477",
"0.56694406",
"0.56570566",
"0.... | 0.0 | -1 |
Notifies about connection disconnect. Removes the connection from the active pool (now: 1 size), fires an event. Event is fired only once. | void disconnect(JShellConnection c, boolean remote) {
LOG.log(Level.FINE,
"Connection closing: {0}, remove = {1}", new Object[] {
c, remote
});
synchronized (this) {
if (c == null || !connections.contains(c)) {
return;
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static void disconnect() {\n \t\tconnPool.stop();\n \t}",
"public void disconnect() {\n watchDog.terminate();\n synchronized (sync) {\n if (!connections.isEmpty()) {\n while (connections.size() > 0) {\n ThreadConnection tconn = connections.po... | [
"0.70920837",
"0.70872897",
"0.69331133",
"0.6551816",
"0.65127444",
"0.6506092",
"0.64885247",
"0.6481621",
"0.64744216",
"0.6468663",
"0.6438517",
"0.63749284",
"0.63428015",
"0.63384104",
"0.62804216",
"0.6267948",
"0.6250309",
"0.62481725",
"0.62481725",
"0.62481725",
"0.... | 0.0 | -1 |
Creates a new Connection using the agent. Throws an IOException if the connection attempt is not successful or times out. If an old connection is still open, it is closed and event is fired. | @NbBundle.Messages(value = {
"MSG_AgentConnectionBroken=Control connection with JShell VM is broken, could not connect to agent",
"MSG_AgentNotReady=The JShell VM is not ready for operation"
})
public JShellConnection createConnection() throws IOException {
JShellConnection old;
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private Connection generateConnection() throws SQLException, InterruptedException, TimeoutException{\n\t\tif ( activeConnectionSemaphore.tryAcquire(timeOut, TimeUnit.SECONDS) ){\n\t\t\tConnection conn = createConnection();\n\t\t\treturn conn;\n\t\t}else{\n\t\t\tthrow new TimeoutException(\"Timed out waiting for a ... | [
"0.60413307",
"0.596012",
"0.58023393",
"0.5800914",
"0.5756312",
"0.5571437",
"0.5556043",
"0.553715",
"0.5519671",
"0.5515944",
"0.54959273",
"0.5489228",
"0.54707074",
"0.5467773",
"0.5462281",
"0.54619384",
"0.54297143",
"0.5424912",
"0.5418928",
"0.5401022",
"0.5390826",... | 0.74251735 | 0 |
/ maximum (normalised) friction force, =diameter of friction circle | void do_physics(CAR car, double delta_t) {
// sn = Math.sin(car.angle);
// cs = Math.cos(car.angle);
//
// velocity.x = cs * car.velocity_wc.y + sn * car.velocity_wc.x;
// velocity.y = cs * car.velocity_wc.x - sn * car.velocity_wc.y;
//
// double yawSpeed = 0.5 * car.cartype.wheelbase... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"Double getFrictionCoefficient();",
"public double getFrictionCoefficient() {\r\n\t\treturn frictionCoefficient;\r\n\t}",
"public float getFriction() throws IOException\n\t{\n\t\tif ((__io__pointersize == 8)) {\n\t\t\treturn __io__block.readFloat(__io__address + 20);\n\t\t} else {\n\t\t\treturn __io__block.read... | [
"0.7605147",
"0.68617755",
"0.63825893",
"0.63232654",
"0.6283531",
"0.62019634",
"0.6183045",
"0.6178061",
"0.6155608",
"0.60696477",
"0.6063095",
"0.6045748",
"0.60189307",
"0.59425706",
"0.59174156",
"0.5885647",
"0.57694024",
"0.576477",
"0.5758141",
"0.570782",
"0.568945... | 0.0 | -1 |
Toast.makeText(MainActivity.this,"You clicked yes button",Toast.LENGTH_LONG).show(); | @Override
public void onClick(DialogInterface arg0, int arg1) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void onClick(View v) {\n Toast.makeText(MainActivity.this, \"Goodbye!\", Toast.LENGTH_SHORT).show();\n }",
"@Override\n public void onClick(View v) {\n\n\n Toast.makeText(MainSOSActivity.this, \"Stay Safe and Confirm the Message!\"... | [
"0.79847467",
"0.77807456",
"0.7778015",
"0.7688054",
"0.7619543",
"0.75593907",
"0.75467247",
"0.75403917",
"0.7392092",
"0.73776615",
"0.7370842",
"0.7301453",
"0.7301453",
"0.72861147",
"0.72484803",
"0.72248375",
"0.7218594",
"0.7181904",
"0.7174676",
"0.70752794",
"0.706... | 0.0 | -1 |
Inflates the menu, and adds items to the action bar if it is present. | @Override
public boolean onCreateOptionsMenu(Menu menu) {
getMenuInflater().inflate(R.menu.menu_main_menu, menu);
return true;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n \tMenuInflater inflater = getMenuInflater();\n \tinflater.inflate(R.menu.main_activity_actions, menu);\n \treturn super.onCreateOptionsMenu(menu);\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflat... | [
"0.7321444",
"0.72612935",
"0.72332984",
"0.72265404",
"0.7208383",
"0.71344614",
"0.71132857",
"0.710011",
"0.7099894",
"0.70451736",
"0.70316106",
"0.70316106",
"0.694747",
"0.69311017",
"0.6920728",
"0.6920728",
"0.6920728",
"0.6920728",
"0.6879288",
"0.68626326",
"0.68596... | 0.0 | -1 |
TODO Autogenerated method stub | public List<Category> findAll() {
return categoryDao.getAll();
} | {
"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 List<Category> findByIdOrName(Long id, String cname) {
return categoryDao.findByIdOrName(id,cname);
} | {
"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 void addCategory(Category c) {
categoryDao.save(c);
} | {
"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 Category findCategory(Long cid) {
return categoryDao.get(cid);
} | {
"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 void modifyCategory(Category c) {
categoryDao.update(c);
} | {
"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 Category get(Long cid) {
return categoryDao.get(cid);
} | {
"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 boolean exist(Long cid) {
return categoryDao.exist(cid);
} | {
"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 void delete(Long cid) {
categoryDao.delete(cid);
} | {
"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 |
Create a new ObjectFactoryTeacherPresence that can be used to create new instances of schema derived classes for package: org.sepro.studentweb.serviceapi | public ObjectFactoryTeacherPresence() {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"ConceptsType createConceptsType();",
"public Teacher() {}",
"Klassenstufe createKlassenstufe();",
"public TeacherDao() {\n super(Teacher.TEACHER, com.heman.bysj.jooq.tables.pojos.Teacher.class);\n }",
"public interface TeacherService {\n\n public boolean isValid(Integer id,\n ... | [
"0.59712476",
"0.581781",
"0.5622504",
"0.56114703",
"0.5551471",
"0.5478747",
"0.54663765",
"0.54367465",
"0.5402086",
"0.5399835",
"0.5341401",
"0.5341401",
"0.5301223",
"0.52861744",
"0.52682227",
"0.52496034",
"0.5248933",
"0.5209611",
"0.5189303",
"0.51779723",
"0.516484... | 0.79136175 | 0 |
Constructor for this class. | public AllocationRetentionPriority(Long priorityLevel) {
this();
setPriorityLevel(priorityLevel);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"Constructor() {\r\n\t\t \r\n\t }",
"public Constructor(){\n\t\t\n\t}",
"public PSRelation()\n {\n }",
"public CyanSus() {\n\n }",
"public Chick() {\n\t}",
"public Coche() {\n super();\n }",
"public Trening() {\n }",
"public Tbdtokhaihq3() {\n super();\n }",
"public _355() {\n\... | [
"0.83244014",
"0.7793613",
"0.72197074",
"0.70764464",
"0.69782466",
"0.6950903",
"0.6934614",
"0.6903845",
"0.686298",
"0.6850184",
"0.68459433",
"0.6843123",
"0.6828583",
"0.68275076",
"0.6817289",
"0.6815171",
"0.67863685",
"0.67817146",
"0.67632043",
"0.67611897",
"0.6760... | 0.0 | -1 |
Constructor for this class. | public AllocationRetentionPriority(DiameterAVP avp, Version version)
throws DiameterMissingAVPException {
this();
if (avp == null || version == null) {
throw new IllegalArgumentException("null parameter");
}
byte[] data = avp.getValue();
DiameterAVPDefinition def = ChargingUtils.getPriorityLevelAVP(ve... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"Constructor() {\r\n\t\t \r\n\t }",
"public Constructor(){\n\t\t\n\t}",
"public PSRelation()\n {\n }",
"public CyanSus() {\n\n }",
"public Chick() {\n\t}",
"public Coche() {\n super();\n }",
"public Trening() {\n }",
"public Tbdtokhaihq3() {\n super();\n }",
"public _355() {\n\... | [
"0.83244014",
"0.7793613",
"0.72197074",
"0.70764464",
"0.69782466",
"0.6950903",
"0.6934614",
"0.6903845",
"0.686298",
"0.6850184",
"0.68459433",
"0.6843123",
"0.6828583",
"0.68275076",
"0.6817289",
"0.6815171",
"0.67863685",
"0.67817146",
"0.67632043",
"0.67611897",
"0.6760... | 0.0 | -1 |
Creates a grouped AllocationRetentionPriority AVP. | public DiameterAVP toAvp(Version version) {
DiameterAVPDefinition def = ChargingUtils.getAllocationRetentionPriorityAVP(version);
if (def == null) {
return null;
}
DiameterAVP res = new DiameterAVP(def);
List<DiameterAVP> l = new ArrayList<DiameterAVP>();
def = ChargingUtils.getPriorityLevelAVP(version)... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public AllocationRetentionPriority(Long priorityLevel) {\n\t\tthis();\n\t\tsetPriorityLevel(priorityLevel);\n\t}",
"public AllocationRetentionPriority(DiameterAVP avp, Version version)\n\t\t\tthrows DiameterMissingAVPException {\n\t\tthis();\n\t\tif (avp == null || version == null) {\n\t\t\tthrow new IllegalArgu... | [
"0.6230039",
"0.56185895",
"0.51447576",
"0.5086615",
"0.50449973",
"0.49675193",
"0.49607942",
"0.48317513",
"0.48212722",
"0.47857183",
"0.4637518",
"0.46289352",
"0.4622721",
"0.46222776",
"0.46079245",
"0.45738107",
"0.4556176",
"0.4550896",
"0.4524027",
"0.44663763",
"0.... | 0.5009639 | 5 |
TODO Autogenerated method stub | public static void main(String[] args) {
int a[] = {1, 2, 5, 9, 4};
int min = a[0], max = a[0];
for(int i=1;i<a.length;i++)
{
if(a[i] < min)
{
min = a[i];
}
if(a[i] > max)
{
max = a[i];
}
}
System.out.println("Min element = "+min);
System.out.println("Max element = "+max);
} | {
"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 |
We handle item click event | @Override
public void onItemClick(AdapterView<?> aView, View view, int position, long id) {
TextView pos_Id = (TextView) view.findViewById(R.id.posterID);
TextView pos_Title = (TextView) view.findViewById(R.id.posterTitle);
TextView pos_Author = (TextView) vie... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void itemClick(int pos) {\n }",
"@Override\n public void OnItemClick(int position) {\n }",
"@Override\n public void onItemClick(int pos) {\n }",
"@Override\n public void onClick(View view) { listener.onItemClick(view, getPosi... | [
"0.81506026",
"0.8075614",
"0.7971111",
"0.7918808",
"0.79044557",
"0.7876674",
"0.78399795",
"0.7763865",
"0.77304536",
"0.76667535",
"0.7644607",
"0.76378626",
"0.7637539",
"0.7637539",
"0.7637539",
"0.7637539",
"0.7637539",
"0.7635189",
"0.7634636",
"0.7631597",
"0.7630411... | 0.0 | -1 |
Handle action bar item clicks here. The action bar will automatically handle clicks on the Home/Up button, so long as you specify a parent activity in AndroidManifest.xml. | @Override
public boolean onOptionsItemSelected(MenuItem item) {
int id = item.getItemId();
//noinspection SimplifiableIfStatement
if (id == R.id.action_settings) {
return true;
}
return super.onOptionsItemSelected(item);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public boolean onOptionsItemSelected(MenuItem item) { Handle action bar item clicks here. The action bar will\n // automatically handle clicks on the Home/Up button, so long\n // as you specify a parent activity in AndroidManifest.xml.\n\n //\n // HANDLE BACK BUTTON\n ... | [
"0.79041183",
"0.7805934",
"0.77659106",
"0.7727251",
"0.7631684",
"0.7621701",
"0.75839096",
"0.75300384",
"0.74873656",
"0.7458051",
"0.7458051",
"0.7438486",
"0.742157",
"0.7403794",
"0.7391802",
"0.73870087",
"0.7379108",
"0.7370295",
"0.7362194",
"0.7355759",
"0.73454577... | 0.0 | -1 |
Created by eoriarewo on 7/4/2016. | @Transactional
public interface EbillsTransactionRepository extends JpaRepository<EbillspayTransaction,Integer>,EbillsTransactionCustomRepo {
List<EbillspayTransaction> findUnsharedTransactions();
@Query("SELECT t FROM BaseTransaction t WHERE t.sessionId= ?1 ")
List<BaseTransaction> findBySessionId(String... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void perish() {\n \n }",
"public final void mo51373a() {\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}",
"@Override\n\tprotected void getExras() {\n\n\t}",
"@Override\r\n\tpublic... | [
"0.6233767",
"0.60029763",
"0.59829307",
"0.5972946",
"0.59262365",
"0.58869666",
"0.5871949",
"0.5871949",
"0.5820606",
"0.58180654",
"0.5797878",
"0.5752501",
"0.5729184",
"0.57001287",
"0.5679915",
"0.5672327",
"0.5668206",
"0.5638937",
"0.56379545",
"0.5637478",
"0.563304... | 0.0 | -1 |
Inflate the menu; this adds items to the action bar if it is present. | @Override
public boolean onCreateOptionsMenu(Menu menu) {
getMenuInflater().inflate(R.menu.user_profile, menu);
return true;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n \tMenuInflater inflater = getMenuInflater();\n \tinflater.inflate(R.menu.main_activity_actions, menu);\n \treturn super.onCreateOptionsMenu(menu);\n }",
"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {... | [
"0.7246102",
"0.7201358",
"0.7194834",
"0.7176498",
"0.71066517",
"0.7039537",
"0.7037961",
"0.70112145",
"0.70094734",
"0.69807225",
"0.6944953",
"0.69389373",
"0.6933199",
"0.6916928",
"0.6916928",
"0.6891486",
"0.68831646",
"0.68754137",
"0.68745375",
"0.68621665",
"0.6862... | 0.0 | -1 |
Handle action bar item clicks here. The action bar will automatically handle clicks on the Home/Up button, so long as you specify a parent activity in AndroidManifest.xml. | @Override
public boolean onOptionsItemSelected(MenuItem item) {
int id = item.getItemId();
if (id == R.id.action_settings) {
return true;
}
return super.onOptionsItemSelected(item);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public boolean onOptionsItemSelected(MenuItem item) { Handle action bar item clicks here. The action bar will\n // automatically handle clicks on the Home/Up button, so long\n // as you specify a parent activity in AndroidManifest.xml.\n\n //\n // HANDLE BACK BUTTON\n ... | [
"0.79042155",
"0.7806028",
"0.77664185",
"0.77272826",
"0.7631844",
"0.7621488",
"0.75845605",
"0.753064",
"0.7487905",
"0.74575514",
"0.74575514",
"0.74386317",
"0.7421903",
"0.7403247",
"0.7391723",
"0.7386928",
"0.73795277",
"0.73705643",
"0.73629",
"0.7356027",
"0.7345714... | 0.0 | -1 |
Enables means of registering global error listeners. These callback implementations apply to all requests until explicitly removed and they are called after any custom callbacks added to a particular request future are called. If a callback chooses to consume a given event, then all further bubbling is aborted, meaning... | public static ErrorListener addGlobalErrorListener(ErrorListener errorListener) {
return VolleyRequest.addGlobalErrorListener(errorListener);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void onError(Throwable e)\n {\n for (Callback<RestResponse> callback : _callbacks.values())\n {\n callback.onError(e);\n }\n // aggregated callback is guaranteed to be called after all individual callbacks\n _aggregatedCallback.onError(e);\n }",
"protected void handleErr... | [
"0.636622",
"0.6218796",
"0.6116321",
"0.5932436",
"0.58991235",
"0.589352",
"0.5891465",
"0.5882279",
"0.5866477",
"0.58568007",
"0.5751356",
"0.57183653",
"0.56631917",
"0.5531546",
"0.5531546",
"0.5502777",
"0.5492053",
"0.54832685",
"0.54747933",
"0.54712015",
"0.5463345"... | 0.6071652 | 3 |
Registers a global session listeners. These callback implementations apply to all requests until explicitly removed and they are called after any custom callbacks added to a particular request future are called. If a callback chooses to consume a given event, then all further bubbling is aborted, meaning that the event... | public static SessionListener addGlobalSessionListener(SessionListener sessionListener) {
return VolleyRequest.addGlobalSessionListener(sessionListener);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void addSessionListener(SessionListener listener);",
"private void setSessionEvents(SessionManager sessionMan)\n\t// create session callback...\n {\n try {\n // session end\n sessionMan.getSessionEndEvent().addObserver( new IObserver<NullEventArgs>() {\n public void update(IObservable<NullEv... | [
"0.6555368",
"0.61037666",
"0.60686505",
"0.5807473",
"0.58051866",
"0.562597",
"0.56044054",
"0.55764836",
"0.5567517",
"0.5561141",
"0.54987025",
"0.5422985",
"0.53688586",
"0.53669655",
"0.527231",
"0.526566",
"0.525587",
"0.52130413",
"0.5211456",
"0.51877284",
"0.5177659... | 0.64207715 | 1 |
Unregisters a previously registered global error listener. | public static ErrorListener removeGlobalErrorListener(ErrorListener errorListener) {
return VolleyRequest.removeGlobalErrorListener(errorListener);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void unregisterListener() {\n\t\tthis.listener = null;\n\t}",
"public void unregisterListeners(){\n listeners.clear();\n }",
"@Override\n\tpublic void unregistListener(IListener listener) throws RemoteException {\n\t\tremoteCallbackList.unregister(listener);\n\t}",
"public abstract void unre... | [
"0.6623136",
"0.65472",
"0.6509939",
"0.64292085",
"0.6413133",
"0.62795514",
"0.62437624",
"0.6240726",
"0.6153638",
"0.611543",
"0.6087088",
"0.6087088",
"0.60696447",
"0.60633343",
"0.6028763",
"0.6016959",
"0.60131735",
"0.5989826",
"0.5935551",
"0.5926378",
"0.5883826",
... | 0.70458156 | 0 |
Unregisters a previously registered global session listener. | public static SessionListener removeGlobalSessionListener(SessionListener sessionListener) {
return VolleyRequest.removeGlobalSessionListener(sessionListener);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void removeSessionListener(SessionListener listener);",
"public void unregisterListener() {\n\t\tthis.listener = null;\n\t}",
"void clearSessionListeners();",
"@Override\n\tpublic void unregistListener(IListener listener) throws RemoteException {\n\t\tremoteCallbackList.unregister(listener);\n\t}",
"public... | [
"0.7819247",
"0.71200097",
"0.7114105",
"0.697353",
"0.69323087",
"0.68815625",
"0.67977136",
"0.67950416",
"0.67748415",
"0.67026436",
"0.6637485",
"0.662593",
"0.66179335",
"0.6583738",
"0.6574073",
"0.6529174",
"0.65171653",
"0.6509053",
"0.6456513",
"0.6441727",
"0.641688... | 0.73966306 | 1 |
Initializes the Podio facade to it's default initial state. | public static void setup(Context context, String clientId, String clientSecret) {
setup(context, BuildConfig.SCHEME, BuildConfig.API_AUTHORITY, clientId, clientSecret, null, null, null);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void initialize() {\n // empty for now\n }",
"@PostConstruct\n public void init() {\n ApiClient client = Config.fromToken(url, token, validateSSL);\n io.kubernetes.client.Configuration.setDefaultApiClient(client);\n }",
"public void initialize() {\n // TODO\n }",
"public fi... | [
"0.67208517",
"0.6651546",
"0.65437686",
"0.6522133",
"0.6397242",
"0.6336217",
"0.63015926",
"0.62861204",
"0.6264594",
"0.6247337",
"0.6224121",
"0.6221117",
"0.62192845",
"0.62060994",
"0.6191928",
"0.61846316",
"0.61846316",
"0.6182916",
"0.6182291",
"0.6179159",
"0.61550... | 0.0 | -1 |
Initializes the Podio SDK with the given client credentials. This method MUST be called before any other request is made. | public static void setup(Context context, String scheme, String authority, String clientId, String clientSecret, String userAgent, SSLSocketFactory volleySslSocketFactory, cz.msebera.android.httpclient.conn.ssl.SSLSocketFactory androidAsyncHttpSslSocketFactory) {
volleytRestClient.setup(context, scheme, authori... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@PostConstruct\n public void init() {\n ApiClient client = Config.fromToken(url, token, validateSSL);\n io.kubernetes.client.Configuration.setDefaultApiClient(client);\n }",
"void init() {\n CometUtils.printCometSdkVersion();\n validateInitialParams();\n this.connection = ConnectionI... | [
"0.63110745",
"0.61085635",
"0.59314555",
"0.5665144",
"0.56376153",
"0.56330353",
"0.5594388",
"0.5511474",
"0.5479438",
"0.54698986",
"0.541151",
"0.537552",
"0.535274",
"0.5341875",
"0.5338332",
"0.5311715",
"0.52319413",
"0.52280366",
"0.5211691",
"0.5180829",
"0.5143456"... | 0.0 | -1 |
Restores a previously created Podio session. Even though the access token may have expired, the refresh token can be used to get a new access token. The idea here is to enable the caller to persist the session and avoid an unnecessary reauthentication. NOTE! The server may very well invalidate both the access and refre... | public static void restoreSession(String accessToken, String refreshToken, long expires) {
Session.set(accessToken, refreshToken, expires);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void refreshAccessToken() throws IOException {\n\n if (clientId == null) fetchOauthProperties();\n\n URL url = new URL(tokenURI);\n\n Map<String, String> params = new HashMap<String, String>();\n params.put(\"refresh_token\", refreshToken);\n params.put(\"client_id\", cli... | [
"0.6404522",
"0.6108559",
"0.5790697",
"0.5425767",
"0.5410128",
"0.5323318",
"0.5271774",
"0.51927423",
"0.5186887",
"0.5185757",
"0.5095317",
"0.5093534",
"0.50629354",
"0.5058491",
"0.5036494",
"0.5011141",
"0.5000565",
"0.49821597",
"0.49569646",
"0.49225625",
"0.48972017... | 0.5835531 | 2 |
Instantiation of test object. | @Before
public void setUp() {
clientAuthenticated = new MockMainServerForClient();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Test() {\n }",
"public Test()\n {\n }",
"private Instantiation(){}",
"public Tests(){\n \n }",
"public SwerveAutoTest() {\n // Initialize base classes.\n // All via self-construction.\n\n // Initialize class members.\n // All via self-construction.\n ... | [
"0.73983866",
"0.7385235",
"0.73270696",
"0.7304511",
"0.7213984",
"0.72097766",
"0.72010165",
"0.7196082",
"0.71862304",
"0.7106381",
"0.7100719",
"0.708585",
"0.70489836",
"0.6993303",
"0.6993303",
"0.69915",
"0.6985066",
"0.6979302",
"0.6936097",
"0.6918052",
"0.6918052",
... | 0.0 | -1 |
Tests the getStatistics Method. | @Test
public void getStatisticsTest() throws RemoteException {
assertNotNull(clientAuthenticated.getStatistics("username"));
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected abstract String getStatistics();",
"void statistics();",
"@Test\n\tpublic void getStaticsDataTest() {\n\t\tthis.repo.save(new StatisticsRequest(\"1233333\", \"testing\", Integer.valueOf(200), Integer.valueOf(2000)));\n\n\t\twebTestClient.get().uri(\"/getLoggedData\").accept(MediaType.APPLICATION_JSON... | [
"0.7345364",
"0.7249646",
"0.7083772",
"0.69162077",
"0.6874213",
"0.68701154",
"0.67414886",
"0.670682",
"0.6651565",
"0.6651565",
"0.6651565",
"0.6638259",
"0.6610023",
"0.6494265",
"0.6492143",
"0.64047205",
"0.637693",
"0.63608545",
"0.63299954",
"0.6241142",
"0.6228815",... | 0.74050295 | 0 |
This method check if environment is development or test | protected boolean isDevelopment() {
return ArrayUtils.contains(environment.getActiveProfiles(), "dev")
|| ArrayUtils.contains(environment.getActiveProfiles(), "test");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private static boolean development() {\n final String mode = mode();\n return \"dev\".equalsIgnoreCase(mode);\n }",
"public static boolean isDevEnv() {\n return (Boolean) Launch.blackboard.get(\"fml.deobfuscatedEnvironment\");\n }",
"private void checkProductionMode() {\n if ... | [
"0.7867369",
"0.72812206",
"0.6956295",
"0.6928571",
"0.6842574",
"0.675614",
"0.65503806",
"0.636197",
"0.6293547",
"0.62684244",
"0.6219896",
"0.61771005",
"0.6153782",
"0.61389154",
"0.61202544",
"0.6099832",
"0.6071481",
"0.6067024",
"0.5975855",
"0.596068",
"0.5945875",
... | 0.7564542 | 1 |
This method configure the HTTP security access | @Override
protected void configure(HttpSecurity http) throws Exception {
System.setProperty("keycloak.enabled", applicationProperties.getMode() != Mode.keycloak ? "false" : "true");
http
// disable csrf because of API mode
.csrf().disable().sessionManagement()
// use previously declared bean
.sessionAu... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n protected void configure(HttpSecurity http) throws Exception {\n http.authorizeRequests()\n .antMatchers(\"/greet/director\").hasRole(\"Director\")\n .and()\n .authorizeRequests()\n .antMatchers(\"/greet/avenger\").hasAnyRole(\"Direc... | [
"0.7118082",
"0.71173143",
"0.7116124",
"0.7024561",
"0.70085806",
"0.6906283",
"0.69056606",
"0.6891569",
"0.68911046",
"0.68772966",
"0.6858486",
"0.6857499",
"0.68552023",
"0.68521523",
"0.682823",
"0.6827785",
"0.6815363",
"0.6806238",
"0.67996585",
"0.6797212",
"0.676872... | 0.61899 | 72 |
This method configure the authentication manager for DEV and TEST accesses | @Override
protected void configure(AuthenticationManagerBuilder auth) throws Exception {
if (isDevelopment()) {
switch (this.applicationProperties.getMode()) {
case basic:
auth.inMemoryAuthentication().withUser("INTW1").password("{noop}intw1")
.and()
.withUser("ABC").password("{noop}abc")
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n protected void configure(AuthenticationManagerBuilder authenticationManagerBuilderObj) throws Exception {\n\t authenticationManagerBuilderObj.authenticationProvider(authenticationProvider());\n }",
"protected void configure(AuthenticationManagerBuilder authenticationManagerBuilder) throws Exc... | [
"0.71915966",
"0.718328",
"0.7172597",
"0.7025249",
"0.694812",
"0.6936887",
"0.6857784",
"0.68531716",
"0.6844581",
"0.6839185",
"0.6831795",
"0.6811992",
"0.6769564",
"0.6768897",
"0.67310053",
"0.6708554",
"0.6682934",
"0.6673645",
"0.6664354",
"0.6581591",
"0.651992",
"... | 0.72727966 | 0 |
This method configure the unauthorized accesses | public AuthenticationEntryPoint unauthorizedEntryPoint() {
return (request, response, authException) -> {
response.addHeader("WWW-Authenticate", "BasicCustom realm=\"MicroService\"");
response.sendError(HttpServletResponse.SC_UNAUTHORIZED, authException.getMessage());
};
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic void validateConfigurationWithoutLogin() {\n\t\tcheckAuthorization();\n\t}",
"private List<IAuthRule> unauthorizedRule() {\n return new RuleBuilder().allow().metadata().andThen().denyAll().build();\n }",
"@Override\r\n\tpublic void list_privateWithoutViewPrivate() throws Exception... | [
"0.65902644",
"0.6181187",
"0.60435736",
"0.59982836",
"0.59608877",
"0.59393436",
"0.59289044",
"0.591988",
"0.5896702",
"0.58750206",
"0.5828516",
"0.58239794",
"0.5820473",
"0.57888097",
"0.57380104",
"0.57202363",
"0.56815493",
"0.56794685",
"0.5675462",
"0.56116575",
"0.... | 0.5245609 | 82 |
Creates the metamodel objects for the package. This method is guarded to have no affect on any invocation but its first. | public void createPackageContents() {
if (isCreated) return;
isCreated = true;
// Create classes and their features
elementEClass = createEClass(ELEMENT);
createEOperation(elementEClass, ELEMENT___GET_ONTOLOGY);
createEOperation(elementEClass, ELEMENT___EXTRA_VALIDATE__DIAGNOSTICCHAIN_MAP);
annotationEC... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void createPackageContents() {\n\t\tif (isCreated) return;\n\t\tisCreated = true;\n\n\t\t// Create classes and their features\n\t\tmetadataEClass = createEClass(METADATA);\n\t\tcreateEAttribute(metadataEClass, METADATA__GAMENAME);\n\t\tcreateEAttribute(metadataEClass, METADATA__SHORTNAME);\n\t\tcreateEAttri... | [
"0.68783325",
"0.6802595",
"0.6686717",
"0.66607976",
"0.66466993",
"0.6618088",
"0.66077167",
"0.660522",
"0.6577403",
"0.65682566",
"0.65521216",
"0.65497434",
"0.6540489",
"0.65355635",
"0.6533648",
"0.65298826",
"0.6515223",
"0.65126556",
"0.6500847",
"0.64888734",
"0.648... | 0.6359745 | 34 |
Complete the initialization of the package and its metamodel. This method is guarded to have no affect on any invocation but its first. | public void initializePackageContents() {
if (isInitialized) return;
isInitialized = true;
// Initialize package
setName(eNAME);
setNsPrefix(eNS_PREFIX);
setNsURI(eNS_URI);
// Obtain other dependent packages
EcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePacka... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tEnginePackage theEnginePackage = (EnginePackage)EPackage.Regist... | [
"0.6563573",
"0.6461481",
"0.6435888",
"0.64176077",
"0.6408097",
"0.6406619",
"0.640171",
"0.639678",
"0.6380065",
"0.63626564",
"0.63521",
"0.6340519",
"0.6339332",
"0.6320037",
"0.63173765",
"0.63113564",
"0.6310654",
"0.63026124",
"0.62920785",
"0.6283156",
"0.6268637",
... | 0.5984552 | 58 |
Initializes the annotations for | protected void createHeadingsAnnotations() {
String source = "https://tabatkins.github.io/bikeshed/headings";
addAnnotation
(this,
source,
new String[] {
"Elements", "",
"Literals", "",
"Vocabularies", "",
"Types", "",
"Properties", "",
"Relations", "",
"Predi... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setAnnotations(Annotations annotations) {\n\t\tthis.annotations = annotations;\n\t}",
"private void prepareAnnotations() {\n\n // get the annotation object\n SKAnnotation annotation1 = new SKAnnotation();\n // set unique id used for rendering the annotation\n annotation1.s... | [
"0.6957389",
"0.6933091",
"0.6561782",
"0.6468677",
"0.64458656",
"0.6417825",
"0.63885015",
"0.6340575",
"0.62739486",
"0.6223608",
"0.61941594",
"0.61823606",
"0.6132903",
"0.6101917",
"0.6072347",
"0.60628784",
"0.6060445",
"0.6019229",
"0.60136867",
"0.59930545",
"0.59868... | 0.0 | -1 |
Initializes the annotations for | protected void createBikeshedAnnotations() {
String source = "https://tabatkins.github.io/bikeshed";
addAnnotation
(this,
source,
new String[] {
"heading", "Abstract-Syntax"
});
addAnnotation
(elementEClass,
source,
new String[] {
"heading", "Elements"
});
addAn... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setAnnotations(Annotations annotations) {\n\t\tthis.annotations = annotations;\n\t}",
"private void prepareAnnotations() {\n\n // get the annotation object\n SKAnnotation annotation1 = new SKAnnotation();\n // set unique id used for rendering the annotation\n annotation1.s... | [
"0.6957389",
"0.6933091",
"0.6561782",
"0.6468677",
"0.64458656",
"0.6417825",
"0.63885015",
"0.6340575",
"0.62739486",
"0.6223608",
"0.61941594",
"0.61823606",
"0.6132903",
"0.6101917",
"0.6072347",
"0.60628784",
"0.6060445",
"0.6019229",
"0.60136867",
"0.59930545",
"0.59868... | 0.0 | -1 |
Initializes the annotations for | protected void createXcoreAnnotations() {
String source = "http://www.eclipse.org/emf/2011/Xcore";
addAnnotation
(this,
source,
new String[] {
"Bikeshed", "https://tabatkins.github.io/bikeshed",
"BikeshedHeadings", "https://tabatkins.github.io/bikeshed/headings"
});
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setAnnotations(Annotations annotations) {\n\t\tthis.annotations = annotations;\n\t}",
"private void prepareAnnotations() {\n\n // get the annotation object\n SKAnnotation annotation1 = new SKAnnotation();\n // set unique id used for rendering the annotation\n annotation1.s... | [
"0.6957389",
"0.6933091",
"0.6561782",
"0.6468677",
"0.64458656",
"0.6417825",
"0.63885015",
"0.6340575",
"0.62739486",
"0.6223608",
"0.61941594",
"0.61823606",
"0.6132903",
"0.6101917",
"0.6072347",
"0.60628784",
"0.6060445",
"0.6019229",
"0.60136867",
"0.59930545",
"0.59868... | 0.0 | -1 |
Initializes the annotations for | protected void createExtendedMetaDataAnnotations() {
String source = "http:///org/eclipse/emf/ecore/util/ExtendedMetaData";
addAnnotation
(unsignedIntEDataType,
source,
new String[] {
"minInclusive", "0",
"maxInclusive", "4294967295"
});
addAnnotation
(unsignedIntegerEDataType,
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setAnnotations(Annotations annotations) {\n\t\tthis.annotations = annotations;\n\t}",
"private void prepareAnnotations() {\n\n // get the annotation object\n SKAnnotation annotation1 = new SKAnnotation();\n // set unique id used for rendering the annotation\n annotation1.s... | [
"0.6957389",
"0.6933091",
"0.6561782",
"0.6468677",
"0.64458656",
"0.6417825",
"0.63885015",
"0.6340575",
"0.62739486",
"0.6223608",
"0.61941594",
"0.61823606",
"0.6132903",
"0.6101917",
"0.6072347",
"0.60628784",
"0.6060445",
"0.6019229",
"0.60136867",
"0.59930545",
"0.59868... | 0.0 | -1 |
leave this method as is, to disable GfxObject behaviour (gravity, etc...) | @Override
public void update(long elapsed_time, LevelData levelData, Rectangle animation_bounds)
{
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void supressDraw() {\n this.m_canDraw = false;\n }",
"public void makeInvisible() {\n\t\t\n\t\theadShape.setVisible(false);\n\t\tspine.setVisible(false);\n\t\tleftArmLine.setVisible(false);\n\t\trightArmLine.setVisible(false);\n\t\tleftLegLine.setVisible(false);\n\t\trightLegLine.setVisible(fals... | [
"0.6507779",
"0.6464505",
"0.63788253",
"0.6317656",
"0.6179559",
"0.6134376",
"0.60263735",
"0.6026365",
"0.59734875",
"0.5972763",
"0.5956928",
"0.5920044",
"0.5907413",
"0.58529645",
"0.58399063",
"0.5793536",
"0.5788332",
"0.57794213",
"0.57650256",
"0.57648385",
"0.57497... | 0.0 | -1 |
Sets the entity manager factory. | public void setEntityManagerFactory(EntityManagerFactory entityManagerFactory) {
LOG.info(DOLLAR + INSIDE_METHOD + DOLLAR);
this.entityManagerFactory = entityManagerFactory;
LOG.info(DOLLAR + OUTSIDE_METHOD + DOLLAR);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void setFactoryBean( FactoryBean factory );",
"public void setPersistenceManagerFactory(PersistenceManagerFactory pmf) {\n assert(pmf!=null);\n this.pmf = pmf;\n }",
"@Resource\n public void setSessionFactory(SessionFactory factory) {\n this.sessionFactory = factory;\n }",
"@Aut... | [
"0.6400109",
"0.63924944",
"0.63069236",
"0.6290498",
"0.604976",
"0.6026939",
"0.5984589",
"0.59792644",
"0.5976782",
"0.5937777",
"0.5930053",
"0.5909777",
"0.5891024",
"0.5878426",
"0.58646667",
"0.5859723",
"0.58322436",
"0.5795122",
"0.5776852",
"0.577497",
"0.57664967",... | 0.69926864 | 0 |
Sets the parameter values. | public void setParameterValues(Map<String, Object> parameterValues) {
LOG.info(DOLLAR + INSIDE_METHOD + DOLLAR);
this.parameterValues = parameterValues;
LOG.info(DOLLAR + OUTSIDE_METHOD + DOLLAR);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tprotected void setParameterValues() {\n\t}",
"public void setParamValues(Object[] values);",
"void setParameter(String name, String[] values);",
"void setParameters() {\n\t\t\n\t}",
"public void setValues(Parameter[] values) {\n if (values == null || values.length < 4) {\n th... | [
"0.8084663",
"0.78594846",
"0.75965625",
"0.7392238",
"0.7299904",
"0.7111688",
"0.70702624",
"0.7051448",
"0.6891511",
"0.68839693",
"0.67978674",
"0.6767579",
"0.6755301",
"0.6713391",
"0.6663687",
"0.6643737",
"0.66234535",
"0.66126806",
"0.6603201",
"0.6587914",
"0.657071... | 0.6927744 | 8 |
Sets the query string. | public void setQueryString(String queryString) {
LOG.info(DOLLAR + INSIDE_METHOD + DOLLAR);
this.queryString = queryString;
LOG.info(DOLLAR + OUTSIDE_METHOD + DOLLAR);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void setQueryString (String string);",
"public void setQuery(String query) {\n this.stringQuery = query;\n }",
"public void setQueryString(String queryString) {\n if (queryString != null) {\n super.setQueryString('?' + queryString);\n } else {\n super.setQueryString(quer... | [
"0.82847935",
"0.8180566",
"0.7797056",
"0.7665488",
"0.76421434",
"0.7452523",
"0.74506533",
"0.7354026",
"0.7309995",
"0.7286632",
"0.7251247",
"0.7214969",
"0.71813715",
"0.71813715",
"0.71549046",
"0.71410745",
"0.7137974",
"0.70897776",
"0.7089448",
"0.69186425",
"0.6884... | 0.7288554 | 9 |
Sets the query provider. | public void setQueryProvider(JpaNativeQueryProvider queryProvider) {
LOG.info(DOLLAR + INSIDE_METHOD + DOLLAR);
this.queryProvider = queryProvider;
LOG.info(DOLLAR + OUTSIDE_METHOD + DOLLAR);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void setFilterQueryProvider(FilterQueryProvider filterQueryProvider) {\n\t\tsuper.setFilterQueryProvider(filterQueryProvider);\r\n\t}",
"void setQueryRequest(com.exacttarget.wsdl.partnerapi.QueryRequest queryRequest);",
"public void setProvider(String value) { _provider = value; }",
"pu... | [
"0.69619864",
"0.60454404",
"0.60129493",
"0.6012127",
"0.59887046",
"0.5986854",
"0.5961931",
"0.59458476",
"0.5910975",
"0.58899194",
"0.5860242",
"0.584666",
"0.584666",
"0.58161384",
"0.580014",
"0.57919663",
"0.5791862",
"0.5780029",
"0.57483244",
"0.5745157",
"0.5740835... | 0.7413586 | 0 |
Creates a new instance of CalificacionBean | public CalificacionBean() {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public ClasificacionBean() {\r\n }",
"public AsignacionCamaBean() {\r\n bussinessFacade = new BussinessFacade();\r\n apoderadoFacade = new ApoderadoFacade();\r\n especialidadFacade = new EspecialidadFacade();\r\n asignacionCama = new AsignacionCama();\r\n camaFacade = new Ca... | [
"0.73571754",
"0.664203",
"0.6639061",
"0.6632592",
"0.66093624",
"0.6570124",
"0.6559115",
"0.65335816",
"0.65335816",
"0.65234077",
"0.65151405",
"0.648059",
"0.63285714",
"0.61565256",
"0.61159444",
"0.60893863",
"0.605692",
"0.6047512",
"0.60147506",
"0.6014054",
"0.60035... | 0.819329 | 0 |
Creates the View and fetches the clicked Teacher from the TeacherListFragment | public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
View rootView = inflater.inflate(R.layout.single_teacher_view, container, false);
listView = (ListView) rootView.findViewById(android.R.id.list);
bundle = this.getArguments();
teach... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void onClick(View v) {\n TeacherClass t = new TeacherClass();\n //grab text from first name text input and apply to teacher first name\n t.firstName = txtFirstName.getText().toString().trim();\n //grab text from last name tex... | [
"0.6240083",
"0.61971146",
"0.6178459",
"0.6137916",
"0.60475504",
"0.6013168",
"0.5887232",
"0.5861987",
"0.5829603",
"0.5809985",
"0.577577",
"0.57225055",
"0.5718279",
"0.5701532",
"0.5695642",
"0.5658255",
"0.5650635",
"0.56311244",
"0.56164396",
"0.5598881",
"0.5583003",... | 0.62419856 | 0 |
Enables the Actionbar items | @Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setRetainInstance(true);
setHasOptionsMenu(false);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void updateEnableStatus()\n {\n this.menu.setEnabled(this.menu.getItemCount() > 0);\n }",
"void omoguciIzmenu() {\n this.setEnabled(true);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n\n\n return super.onOptionsItemSelected(item);\n }",
... | [
"0.67767304",
"0.65560836",
"0.64313203",
"0.64313203",
"0.64313203",
"0.64313203",
"0.642594",
"0.64148873",
"0.6372587",
"0.6348292",
"0.6332059",
"0.6301945",
"0.6284107",
"0.62658525",
"0.62567335",
"0.6256205",
"0.62506115",
"0.62440026",
"0.6209078",
"0.6206268",
"0.619... | 0.0 | -1 |
Cancels AsyncTasks when leaving Fragment, prevents null | public void onPause(){
super.onPause();
if (this.currTeacher != null && this.currTeacher.getStatus() == Status.RUNNING) {
this.currTeacher.cancel(true);
cancelToast();
}if (this.tList !=null && this.tList.getStatus() == Status.RUNNING) {
this.tList.cancel(true);
cancelToast();
}if (this.add !=null &... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void onDetach() {\n if (myTask != null && myTask.getStatus() == AsyncTask.Status.RUNNING) {\n myTask.cancel(true);\n }\n mRecyclerView.destroyDrawingCache();\n Log.d(\"Fragments\", \"QueueFragment has been closed. Canceling AsyncTask()\");\n updat... | [
"0.6784551",
"0.67025256",
"0.66799563",
"0.661701",
"0.6574981",
"0.6568421",
"0.65328735",
"0.6516973",
"0.64804566",
"0.6476393",
"0.6473805",
"0.64580923",
"0.64227295",
"0.6383235",
"0.63433427",
"0.634141",
"0.6337221",
"0.6306613",
"0.6256712",
"0.6256566",
"0.6255657"... | 0.0 | -1 |
Shows the user a Toast to notify him an AsyncTask has been canceled | private void cancelToast() {
Toast.makeText(getActivity(),
"Vorgang abgebrochen",
Toast.LENGTH_LONG).show();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void cancel() {\n mTn.hide();\n getService().cancelToast(mTn);\n }",
"void onCanceled();",
"@Override\n\t\tprotected void onCancelled() {\n\t\t\tsuper.onCancelled();\n\t\t\tLog.d(\"cancel\", \"cancel my task\");\n\t\t\n\t\t}",
"@SuppressWarnings(\"unused\")\n @Called... | [
"0.7349396",
"0.7037409",
"0.6925637",
"0.6907052",
"0.684157",
"0.6789082",
"0.6758286",
"0.6723814",
"0.67106533",
"0.67007965",
"0.6672753",
"0.6671773",
"0.66004497",
"0.6590037",
"0.6590037",
"0.65853316",
"0.65695477",
"0.65695477",
"0.65490794",
"0.65233564",
"0.651661... | 0.75269413 | 0 |
Setup for the UI items | private void setupUi(View v) {
txtsurname = (TextView) v.findViewById(R.id.surnametxt);
txtforename = (TextView) v.findViewById(R.id.nametxt);
txtsubject = (TextView) v.findViewById(R.id.subjecttxt);
update = (TextView) v.findViewById(R.id.notimelisttxt);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setupUI() {\r\n\t\t\r\n\t\tvPanel = new VerticalPanel();\r\n\t\thPanel = new HorizontalPanel();\r\n\t\t\r\n\t\titemName = new Label();\r\n\t\titemName.addStyleName(Styles.page_title);\r\n\t\titemDesc = new Label();\r\n\t\titemDesc.addStyleName(Styles.quest_desc);\r\n\t\titemType = new Label();\r\n\t\ti... | [
"0.787595",
"0.740271",
"0.7294593",
"0.7182175",
"0.71561396",
"0.70051956",
"0.6896397",
"0.679453",
"0.67157537",
"0.66827255",
"0.66634333",
"0.6651693",
"0.664998",
"0.6646637",
"0.66326565",
"0.6620578",
"0.66077447",
"0.66053563",
"0.65888274",
"0.6578181",
"0.6573635"... | 0.0 | -1 |
Shows a progress Dialog to inform the user, that the data is loading | protected void onPreExecute() {
super.onPreExecute();
mProgressDialogTeacher = new ProgressDialog(getActivity());
mProgressDialogTeacher.setTitle(getResources().getString(R.string.please_wait));
mProgressDialogTeacher
.setMessage(getResources().getText(R.string.loading));
mProgressDialogTeache... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void displayLoader() {\n pDialog = new ProgressDialog(AddReviewActivity.this);\n pDialog.setMessage(\"Adding Review...Please wait...\");\n pDialog.setIndeterminate(false);\n pDialog.setCancelable(false);\n pDialog.show();\n\n }",
"protected void showLoading()\n {\... | [
"0.78476673",
"0.77792794",
"0.7770803",
"0.77284616",
"0.77174586",
"0.77064145",
"0.75953937",
"0.74246234",
"0.7343368",
"0.73152",
"0.73025316",
"0.7265254",
"0.72640884",
"0.72310704",
"0.72310704",
"0.7229667",
"0.7212157",
"0.7194204",
"0.718282",
"0.7150399",
"0.71418... | 0.0 | -1 |
Loads the available Times of the Teacher, removes the already filled Slots from the user and shows the remaining possibilities | @SuppressLint("UseSparseArrays")
@Override
protected Void doInBackground(Void... params) {
ParseQuery<ParseObject> hasDate = new ParseQuery<ParseObject>(Constants.APPIONT);
hasDate.whereEqualTo(Constants.PARENTID, currentUser.getUsername());
hasDate.whereEqual... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setTime() {\r\n\t\tArrayList<String> slots = new ArrayList<String>();\r\n\t\tString inSched = getWorkHours();\r\n\t\tswitch(inSched) {\r\n\t\tcase \"6AM-3PM\":\r\n\t\t\tArrayList<String> sched1 = new ArrayList<String>(Arrays.asList(\"06AM\",\"07AM\",\"08AM\",\"09AM\",\"10AM\",\"12PM\",\"1PM\",\"2PM\"))... | [
"0.6579329",
"0.5949914",
"0.5908156",
"0.57473093",
"0.57239145",
"0.57127255",
"0.5646156",
"0.56271154",
"0.5591172",
"0.5585749",
"0.5543205",
"0.5543019",
"0.5480311",
"0.5479668",
"0.54594177",
"0.5439325",
"0.5414771",
"0.5400153",
"0.53938335",
"0.5372799",
"0.5360945... | 0.0 | -1 |
Dismisses the Progress Dialog and handles the display of information whether an appointment is saved | protected void onPostExecute(Void result) {
mProgressDialogTeacher.dismiss();
if(userHasDate){
Log.e("Debug","alreadyDate");
update.setVisibility(View.VISIBLE);
update.setText(
getResources().getString(R.string.alreadydate)
+ Constants.SPACE
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void dismissSavingHint() {\n if (this.mProgressDialog != null && this.mProgressDialog.isShowing()) {\n this.mProgressDialog.dismiss();\n }\n }",
"@Override\n\t\tprotected void onPostExecute(String result) {\n\t\t\tsuper.onPostExecute(result);\n \t\t\n\t\t\t//close the dialog... | [
"0.6684011",
"0.66446286",
"0.6463841",
"0.63801605",
"0.6268934",
"0.6249184",
"0.6223501",
"0.6140114",
"0.6094074",
"0.60457474",
"0.60252726",
"0.60047513",
"0.60032165",
"0.5980267",
"0.59782416",
"0.59780556",
"0.5953016",
"0.59219944",
"0.59098303",
"0.590569",
"0.5892... | 0.0 | -1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.