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
Gets the first name.
public StringFilter getFirstName() { return firstName; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getNameFirst() {\n\t\t\treturn nameFirst;\n\t\t}", "public java.lang.String getFirst_name() {\n return first_name;\n }", "public String getFirstname() {\n return (String) get(\"firstname\");\n }", "public String getFirstname() {\r\n\t\treturn firstname;\r\n\t}", "public St...
[ "0.8738096", "0.86660486", "0.8656761", "0.8647086", "0.85867167", "0.84922266", "0.8482891", "0.8464327", "0.84549195", "0.8441651", "0.8416578", "0.83963585", "0.83963585", "0.8394841", "0.8295318", "0.8292146", "0.82880825", "0.82880825", "0.8285703", "0.8285703", "0.82844...
0.0
-1
Sets the first name.
public void setFirstName(StringFilter firstName) { this.firstName = firstName; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void setFirstName(String first)\n {\n firstName = first;\n }", "public void setFirstName( String first )\r\n {\r\n firstName = first;\r\n }", "public void setFirstName(String value) {\n setAttributeInternal(FIRSTNAME, value);\n }", "public void setFirstName(String in...
[ "0.87176645", "0.8553043", "0.84547496", "0.8328459", "0.83112997", "0.8299842", "0.8268987", "0.82469046", "0.8244104", "0.8236495", "0.82348204", "0.8233637", "0.8142234", "0.8142234", "0.81131166", "0.8113104", "0.8110515", "0.80996615", "0.8080055", "0.8079065", "0.804480...
0.7590277
89
Gets the street address.
public StringFilter getStreetAddress() { return streetAddress; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getAddress()\n\t{\n\t\treturn streetAddress;\n\t}", "public String getStreetAddress() {\n return address;\n }", "public String getStreetAddress() {\r\n\t\treturn streetAddress;\r\n\t}", "public String getStreetAddress() {\n return this.streetAddress;\n }", "public java.lang.String get...
[ "0.84444785", "0.8355263", "0.8306866", "0.8194694", "0.80244476", "0.80244476", "0.80046135", "0.80046135", "0.79873806", "0.79873806", "0.79038453", "0.789502", "0.7662376", "0.75526553", "0.7501026", "0.74907535", "0.74907535", "0.747483", "0.74219495", "0.7401924", "0.740...
0.76210004
13
Sets the street address.
public void setStreetAddress(StringFilter streetAddress) { this.streetAddress = streetAddress; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void setStreet(String street);", "public void setStreetAddress(String newStreetAddress) {\n this.address = newStreetAddress;\n }", "public void setStreet(java.lang.String street) {\n this.street = street;\n }", "public void setStreet(java.lang.String street) {\n this.street = street;\n ...
[ "0.8128966", "0.7989913", "0.7846054", "0.7846054", "0.783207", "0.783207", "0.7767416", "0.77659905", "0.7719151", "0.76979405", "0.7593392", "0.75873494", "0.749804", "0.7401124", "0.7401124", "0.7401124", "0.7401124", "0.729553", "0.7184624", "0.7183498", "0.717468", "0....
0.74566996
13
Gets the mobile phone.
public StringFilter getMobilePhone() { return mobilePhone; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public java.lang.String getMobilePhone() {\r\n return mobilePhone;\r\n }", "public Long getMobile_phone();", "public String getMobilePhone() {\n return mobilePhone;\n }", "public java.lang.String getMobile () {\r\n\t\treturn mobile;\r\n\t}", "public String getMobile() {\n\t\treturn mobi...
[ "0.7871315", "0.7627167", "0.7616229", "0.7613633", "0.74628717", "0.74626034", "0.74626034", "0.7447671", "0.7447619", "0.7447619", "0.7447619", "0.7447619", "0.7447619", "0.7447619", "0.7447619", "0.7447619", "0.7447619", "0.7447619", "0.7447619", "0.7447619", "0.7447619", ...
0.7051147
30
Sets the mobile phone.
public void setMobilePhone(StringFilter mobilePhone) { this.mobilePhone = mobilePhone; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setMobile(int number) {\n\t\t\tthis.Mobile = number;\r\n\t\t}", "public void setMobilePhone(String mobilePhone) {\n this.mobilePhone = mobilePhone;\n }", "public void setMobilePhone(java.lang.String mobilePhone) {\r\n this.mobilePhone = mobilePhone;\r\n }", "public void setMob...
[ "0.75783813", "0.7538987", "0.7418773", "0.7385735", "0.7340704", "0.7191691", "0.7165151", "0.7121721", "0.7121721", "0.7121721", "0.7121721", "0.71158564", "0.7059561", "0.70576096", "0.70177424", "0.69888645", "0.69568473", "0.6946712", "0.692115", "0.692115", "0.69078755"...
0.6516026
90
Gets the user id.
public LongFilter getUserId() { return userId; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Integer getUserId();", "java.lang.String getUserId();", "java.lang.String getUserId();", "java.lang.String getUserId();", "long getUserId();", "long getUserId();", "Long getUserId();", "String getUserId();", "String getUserId();", "public long getUserId();", "public long getUserId();", "publi...
[ "0.82338023", "0.8096441", "0.8096441", "0.8096441", "0.80811423", "0.80811423", "0.8017687", "0.80149627", "0.80149627", "0.79248077", "0.79248077", "0.79248077", "0.79248077", "0.79055446", "0.7904576", "0.7904576", "0.7904576", "0.7904576", "0.7904576", "0.7904576", "0.790...
0.0
-1
Sets the user id.
public void setUserId(LongFilter userId) { this.userId = userId; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setIdUser(int value) {\n this.idUser = value;\n }", "public void setIdUser(String idUser) {\n\t\tthis.idUser = idUser;\n\t}", "public void setIdUser(Integer idUser) {\r\n\t\tthis.idUser = idUser;\r\n\t}", "public void setId_user(int id_user) {\n this.id_user = id_user;\n }", ...
[ "0.8424531", "0.8338321", "0.83239496", "0.8144418", "0.81207603", "0.8083222", "0.7980484", "0.7801382", "0.7704092", "0.7645542", "0.76327235", "0.7625344", "0.7555822", "0.75469667", "0.7541217", "0.7525742", "0.75121963", "0.75121963", "0.75121963", "0.75121963", "0.75121...
0.0
-1
Gets the document id.
public LongFilter getDocumentId() { return documentId; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getDocumentId();", "public java.lang.String getDocumentId() {\n java.lang.Object ref = documentId_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toS...
[ "0.8870874", "0.82723784", "0.81805116", "0.81805116", "0.8156886", "0.8156886", "0.81354505", "0.8117171", "0.807613", "0.80295545", "0.80057937", "0.7888054", "0.78073764", "0.7710824", "0.7689828", "0.75848454", "0.75848454", "0.75645036", "0.7560838", "0.72622037", "0.695...
0.7175934
20
Sets the document id.
public void setDocumentId(LongFilter documentId) { this.documentId = documentId; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public com.opentext.bn.converters.avro.entity.DocumentEvent.Builder setDocumentId(java.lang.String value) {\n validate(fields()[8], value);\n this.documentId = value;\n fieldSetFlags()[8] = true;\n return this;\n }", "public com.opentext.bn.converters.avro.entity.ContentErrorEvent.Builder ...
[ "0.81468666", "0.7889941", "0.7867837", "0.74408585", "0.74408585", "0.7074753", "0.70632637", "0.70270485", "0.69319123", "0.6897175", "0.68290824", "0.67822385", "0.6779195", "0.6757341", "0.6717025", "0.667057", "0.6668697", "0.6667183", "0.6656891", "0.66399115", "0.66334...
0.66038454
26
Gets the job experience id.
public LongFilter getJobExperienceId() { return jobExperienceId; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public JobID getJobID() {\n \n \t\treturn this.environment.getJobID();\n \t}", "long getJobIDTarget();", "@Override\n\tpublic long getJobId() {\n\t\treturn model.getJobId();\n\t}", "public Long getJobID() {\n return jobID;\n }", "public String getJobID() {\n\t\t\treturn JobID;\n\t\t}", "public ...
[ "0.7269919", "0.69500077", "0.68303925", "0.676199", "0.6616968", "0.6515507", "0.65071774", "0.6506822", "0.64220333", "0.64186704", "0.6373122", "0.6346345", "0.63343763", "0.63090557", "0.63014215", "0.6285017", "0.62804943", "0.6257167", "0.62092483", "0.6205595", "0.6135...
0.7536718
0
Sets the job experience id.
public void setJobExperienceId(LongFilter jobExperienceId) { this.jobExperienceId = jobExperienceId; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setExperience(int experience) {\n _experience = experience;\n }", "public void setExperience(int experience) {\r\n\t\tthis.experience = experience;\r\n\t}", "void setExperimentId(final int newExperimentID);", "public void setHC_EmployeeJob_ID (int HC_EmployeeJob_ID);", "public LongFil...
[ "0.6823854", "0.6749702", "0.6466542", "0.63897055", "0.62478507", "0.600294", "0.588622", "0.5881706", "0.57696605", "0.56940114", "0.56871104", "0.5605373", "0.5605373", "0.5605373", "0.5605373", "0.5564715", "0.55641085", "0.5539473", "0.5528798", "0.5483728", "0.54715323"...
0.67332715
2
Gets the education id.
public LongFilter getEducationId() { return educationId; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Integer getEducationId() {\n return educationId;\n }", "public Integer getEduId() {\n return eduId;\n }", "public void setEducationId(Integer educationId) {\n this.educationId = educationId;\n }", "long getEncounterId();", "public Long getCollegeId() {\n return c...
[ "0.8400157", "0.72539246", "0.69760424", "0.6635546", "0.6531398", "0.6476964", "0.6427482", "0.63793916", "0.63714224", "0.63478386", "0.6341603", "0.62582743", "0.62469816", "0.6237007", "0.6237005", "0.62183964", "0.62183964", "0.6164355", "0.6119109", "0.61173135", "0.611...
0.78037626
1
Sets the education id.
public void setEducationId(LongFilter educationId) { this.educationId = educationId; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setEducationId(Integer educationId) {\n this.educationId = educationId;\n }", "public Integer getEducationId() {\n return educationId;\n }", "public LongFilter getEducationId() {\n\t\treturn educationId;\n\t}", "public void setEduId(Integer eduId) {\n this.eduId = eduId...
[ "0.76139724", "0.71283615", "0.6637101", "0.6551539", "0.63970715", "0.6348243", "0.6291561", "0.6169684", "0.6131925", "0.61161625", "0.60368955", "0.59849334", "0.5951123", "0.58917934", "0.5884953", "0.5884953", "0.5884953", "0.5884953", "0.58534145", "0.58456415", "0.5842...
0.6892828
2
Gets the skill id.
public LongFilter getSkillId() { return skillId; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getSkillId();", "@java.lang.Override\n public int getSkillId() {\n return skillId_;\n }", "@java.lang.Override\n public int getSkillId() {\n return skillId_;\n }", "public Integer getSkillId() {\n return skillId;\n }", "public String getSkill() {\n\t\treturn skill;...
[ "0.8097341", "0.79250205", "0.7914065", "0.7879266", "0.6739141", "0.6522001", "0.63940805", "0.63481915", "0.6325051", "0.6312896", "0.6176276", "0.61573267", "0.6153627", "0.60240066", "0.5992534", "0.5915808", "0.5904005", "0.5894325", "0.5894325", "0.5894325", "0.5894325"...
0.74389416
4
Sets the skill id.
public void setSkillId(LongFilter skillId) { this.skillId = skillId; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Builder setSkillId(int value) {\n \n skillId_ = value;\n onChanged();\n return this;\n }", "public void setSkillId(Integer skillId) {\n this.skillId = skillId;\n }", "public void setSkill(int skill){\n\t\tskillSelection = skill;\n\t}", "@java.lang.Override\n ...
[ "0.8023471", "0.734437", "0.7061175", "0.67471", "0.67302465", "0.6608712", "0.6602479", "0.6532396", "0.6345891", "0.6337168", "0.6329478", "0.6293489", "0.6155522", "0.6116455", "0.5924669", "0.5924669", "0.5924669", "0.5858566", "0.5825397", "0.5814757", "0.5813394", "0....
0.6536112
7
Gets the current job country.
public CountryFilter getCurrentJobCountry() { return currentJobCountry; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final String getCountry() {\n\t\treturn country;\n\t}", "public java.lang.String getCountry () {\n\t\treturn country;\n\t}", "private static String getCountryLocale() {\n return Locale.getDefault().getCountry();\n }", "public java.lang.String getCountry() {\n return country;\n }", ...
[ "0.72246206", "0.7141929", "0.71405137", "0.7138818", "0.7133654", "0.7133654", "0.708769", "0.7051701", "0.7051701", "0.7051701", "0.70137864", "0.69736177", "0.69634", "0.6893248", "0.686001", "0.68333966", "0.68333966", "0.68333966", "0.68333966", "0.68333966", "0.68333966...
0.8037821
0
Sets the current job country.
public void setCurrentJobCountry(CountryFilter currentJobCountry) { this.currentJobCountry = currentJobCountry; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setCountry(Country country) {\n this.country = country;\n }", "public void setCountry(String country) {\n this.country = country;\n }", "public void setCountry(String country) {\n this.country = country;\n }", "public void setCountry(String country) {\n this.c...
[ "0.7093405", "0.7021614", "0.7021614", "0.7021614", "0.7021614", "0.7021614", "0.7021614", "0.699873", "0.6963388", "0.69362277", "0.6921342", "0.6921342", "0.6920768", "0.6920768", "0.6920768", "0.68586123", "0.680821", "0.67617244", "0.6721904", "0.65174425", "0.6500344", ...
0.7954102
0
Gets the skill tag name.
public StringFilter getSkillTagName() { return skillTagName; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getTagname() {\n return tagname;\n }", "java.lang.String getTag();", "java.lang.String getTag();", "public String getSkillsetName() {\n return skillsetName;\n }", "public String getName() {\n if (_lastTag == null)\n return null;\n return _lastTag.getName...
[ "0.6941346", "0.67910206", "0.67910206", "0.6745012", "0.6721722", "0.67035174", "0.6684659", "0.6566915", "0.6558999", "0.6520932", "0.64662766", "0.63667107", "0.6334494", "0.631782", "0.6312733", "0.6312733", "0.6299095", "0.628842", "0.62864506", "0.62864506", "0.6271457"...
0.7494421
0
Sets the skill tag name.
public void setSkillTagName(StringFilter skillTagName) { this.skillTagName = skillTagName; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void setTag(java.lang.String tag);", "private void setName(){\r\n\t\tString tagString = new String();\r\n\t\tfor (String k : tags.keySet()){\r\n\t\t\ttagString += \"@\" + k;\r\n\t\t}\r\n\t\tString newName = originalName + tagString +\".\"+ extension;\r\n\t\tif (!newName.equals(name)){\r\n\t\t\tremovePrevNames(ne...
[ "0.69502187", "0.6711303", "0.66103053", "0.65987056", "0.6420262", "0.64034504", "0.6402999", "0.6398763", "0.63728404", "0.6370193", "0.6337414", "0.6324894", "0.62814444", "0.6273577", "0.62694454", "0.6267226", "0.62158734", "0.62083304", "0.62016904", "0.62016904", "0.61...
0.69935286
0
Gets the current job title.
public StringFilter getCurrentJobTitle() { return currentJobTitle; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getJobTitle() {\r\n\t\treturn jobTitle;\r\n\t}", "public String getJobTitle() {\r\n return jobTitle;\r\n }", "public String getJob_title() {\r\n return job_title;\r\n }", "public String getSrcJobTitle() {\r\n return (String) getAttributeInternal(SRCJOBTITLE);\r\n }...
[ "0.82103497", "0.81809556", "0.8058297", "0.7672578", "0.7491221", "0.7423266", "0.7275332", "0.7275332", "0.727113", "0.7260869", "0.7184141", "0.71204114", "0.7058585", "0.70205224", "0.69595325", "0.69583607", "0.6937213", "0.6859887", "0.68542546", "0.68376195", "0.683597...
0.80709946
2
Sets the current job title.
public void setCurrentJobTitle(StringFilter currentJobTitle) { this.currentJobTitle = currentJobTitle; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setJob_title(String job_title) {\r\n this.job_title = job_title;\r\n }", "public void setJobTitle(String jobTitle) {\r\n this.jobTitle = jobTitle;\r\n }", "public void setJobTitle(String jobTitle) {\r\n\t\tthis.jobTitle = jobTitle;\r\n\t}", "public void setTitle_(String title_...
[ "0.7634889", "0.7578937", "0.75284356", "0.7360222", "0.731592", "0.73100764", "0.73054814", "0.72994995", "0.729091", "0.7284381", "0.7284381", "0.7284381", "0.7284381", "0.7284381", "0.72836906", "0.7279875", "0.7279875", "0.72702134", "0.7259677", "0.7246931", "0.7246931",...
0.7981436
0
Gets the current country.
public CountryFilter getCurrentCountry() { return currentCountry; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final String getCountry() {\n\t\treturn country;\n\t}", "public java.lang.String getCountry () {\n\t\treturn country;\n\t}", "public java.lang.String getCountry() {\n return country;\n }", "public java.lang.String getCountry() {\r\n return country;\r\n }", "Country getCountry();"...
[ "0.8104942", "0.80398", "0.80295926", "0.7973456", "0.79287726", "0.7919861", "0.7892817", "0.7892817", "0.7892817", "0.78216994", "0.78216994", "0.7817404", "0.7720954", "0.7698517", "0.7698517", "0.7698517", "0.7684596", "0.76823175", "0.76823175", "0.76823175", "0.76823175...
0.7868183
9
Sets the current country.
public void setCurrentCountry(CountryFilter currentCountry) { this.currentCountry = currentCountry; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "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 void setCountry(String country) {\n this...
[ "0.7789656", "0.7582852", "0.7582852", "0.7558983", "0.7558983", "0.7558983", "0.7558983", "0.7558983", "0.7558983", "0.7523704", "0.7478884", "0.74575716", "0.74575716", "0.74575716", "0.7450129", "0.73693115", "0.73693115", "0.73693115", "0.7366807", "0.73191917", "0.724627...
0.7558611
9
Gets the current city.
public StringFilter getCurrentCity() { return currentCity; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public java.lang.String getCity () {\n\t\treturn city;\n\t}", "public String getCity() {\n\t\treturn this.city;\n\t}", "public String getCity() {\n\t\treturn city;\n\t}", "public String getCity() {\n\t\treturn city;\n\t}", "public String getCity() {\n\t\treturn city;\n\t}", "public String getCity() {\n\t...
[ "0.81358945", "0.8039266", "0.8030491", "0.8030491", "0.8030491", "0.8030491", "0.80164045", "0.79989135", "0.79989135", "0.7997939", "0.79963803", "0.79963803", "0.7996232", "0.7992021", "0.7971736", "0.7960722", "0.78835213", "0.7859628", "0.7830819", "0.7814774", "0.780795...
0.78766847
17
Sets the current city.
public void setCurrentCity(StringFilter currentCity) { this.currentCity = currentCity; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setCity(City city) {\n this.city = city;\n }", "public void setCurrentCity(City newCity) {\n\t\tcurrentCity = newCity;\n\t\tchange();\n\t}", "public void setCity(City city) {\n\t\tthis.city = city;\n\t}", "public void setCity(String city);", "public void setCity(String city) {\r\n ...
[ "0.78182817", "0.7790616", "0.7663355", "0.7643661", "0.7620953", "0.7620953", "0.76043296", "0.75825083", "0.7574321", "0.7574321", "0.7574321", "0.7574321", "0.7574321", "0.7574321", "0.75609326", "0.7546554", "0.75458014", "0.75133663", "0.75133663", "0.74503726", "0.74318...
0.7670231
2
Gets the skill tag id.
public LongFilter getSkillTagId() { return skillTagId; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getSkillId();", "public Integer getTagId() {\n return tagId;\n }", "public Integer getTagId() {\n return tagId;\n }", "@java.lang.Override\n public int getSkillId() {\n return skillId_;\n }", "@java.lang.Override\n public int getSkillId() {\n return skillId_...
[ "0.69736594", "0.68763334", "0.68763334", "0.68576264", "0.68570375", "0.68406814", "0.6836566", "0.68235666", "0.675078", "0.6331318", "0.6296396", "0.629064", "0.6286646", "0.62646496", "0.6228018", "0.61808395", "0.61468154", "0.6127701", "0.61148757", "0.61148757", "0.604...
0.7462816
0
Sets the skill tag id.
public void setSkillTagId(LongFilter skillTagId) { this.skillTagId = skillTagId; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Builder setSkillId(int value) {\n \n skillId_ = value;\n onChanged();\n return this;\n }", "public void xsetIdTag(ocpp.IdToken idTag)\n {\n synchronized (monitor())\n {\n check_orphaned();\n ocpp.IdToken target = null;\n ta...
[ "0.6814408", "0.6712586", "0.66308403", "0.6565713", "0.6506564", "0.6504899", "0.64155054", "0.6348466", "0.6334512", "0.6313581", "0.63098645", "0.6289516", "0.62721455", "0.62235045", "0.6214506", "0.6214506", "0.6189274", "0.6172818", "0.61583394", "0.6120725", "0.6098944...
0.6696503
2
Checks if is macth all skill tag.
public boolean isMacthAllSkillTag() { return macthAllSkillTag; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setMacthAllSkillTag(boolean macthAllSkillTag) {\n\t\tthis.macthAllSkillTag = macthAllSkillTag;\n\t}", "public void setAllTags (boolean allTags) {\n\t\tthis.allTags = allTags;\n\t}", "@Override\n public boolean isTagged() {\n for (List<String> t : tags.values()) {\n if(!t.isEmpt...
[ "0.80988014", "0.6291524", "0.57948387", "0.5759121", "0.5728731", "0.5728731", "0.5724778", "0.5669102", "0.5669102", "0.562187", "0.5584634", "0.5573317", "0.5555335", "0.5524912", "0.54649425", "0.5461144", "0.5461144", "0.5440445", "0.5362899", "0.53553253", "0.5340996", ...
0.8431091
0
Sets the macth all skill tag.
public void setMacthAllSkillTag(boolean macthAllSkillTag) { this.macthAllSkillTag = macthAllSkillTag; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void setAllTags(ArrayList<String> allTags) {\r\n this.allTags = allTags;\r\n }", "public boolean isMacthAllSkillTag() {\n\t\treturn macthAllSkillTag;\n\t}", "public void setAllTags (boolean allTags) {\n\t\tthis.allTags = allTags;\n\t}", "void addToAllTags(Tag T){\r\n this.allTags.add...
[ "0.6512858", "0.63345397", "0.6242136", "0.5803964", "0.5695853", "0.56206065", "0.54712737", "0.54248667", "0.5383616", "0.53740644", "0.53642064", "0.5301204", "0.5205839", "0.51470387", "0.51264185", "0.5122393", "0.5101749", "0.50952387", "0.5084716", "0.507461", "0.50703...
0.758101
0
sorts array with quicksort recursively
private void quicksortSeq(Comparable[] array, int low, int up){ if(low < up){ rekursionsSchritte += 2; int p = findPiv(array, low, up); quicksortSeq(array, low, p); quicksortSeq(array, p + 1, up); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void quickSort(int arr[], int low, int high) \n { \n if (low < high) \n { \n /* pi is partitioning index, arr[pi] is \n now at right place */\n int pi = partition(arr, low, high); \n \n // Recursively sort elements before \n // partition a...
[ "0.77119356", "0.7422064", "0.72906995", "0.72903377", "0.7264028", "0.7233089", "0.72067374", "0.70948", "0.70808846", "0.7080852", "0.70578355", "0.7016374", "0.7015121", "0.69942725", "0.6985177", "0.6975996", "0.6974449", "0.6962425", "0.69552916", "0.69496053", "0.690241...
0.6934469
20
swaps two elements of an array
private void swap(Comparable[] array, int toSwapOne, int toSwapTwo){ swaps++; Comparable storage = array[toSwapOne]; array[toSwapOne] = array[toSwapTwo]; array[toSwapTwo] = storage; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static void swap(int[] arr, int a, int b) {\n int temp = arr[a];\n arr[a] = arr[b];\n arr[b] = temp;\n }", "private static void swap(int[] a, int x, int y) {\n\t\tint temp = a[x];\n\t\ta[x] = a[y];\n\t\ta[y] = temp;\n\t}", "private void swap(T[] arr, int a, int b) {\n T t...
[ "0.7805072", "0.7800578", "0.7792999", "0.7784474", "0.7779131", "0.77636075", "0.7743246", "0.77414584", "0.77319425", "0.7701348", "0.7697663", "0.7683197", "0.76812863", "0.76749575", "0.7658205", "0.7648946", "0.7631001", "0.76186997", "0.7607441", "0.7599201", "0.7589994...
0.7543996
26
TODO Autogenerated method stub
private void initView() { Button bt1 = (Button)findViewById(R.id.button1); bt1.setOnClickListener(this); Button bt2 = (Button)findViewById(R.id.button2); bt2.setOnClickListener(this); Button bt3 = (Button)findViewById(R.id.button3); bt3.setOnClickListener(this); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void onClick(View arg) { switch(arg.getId()) { // led 模式1 on case R.id.button1: new Thread(){ public void run() { String str = "06010000000D"; try { ...
{ "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
recreating account upon processing
public void recreateAccount(int sin) { this.name=name; this.sin=sin; this.balance=this.balance; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void createNewAccount() {\n\n // if user has not provided valid data, do not create an account and return from method\n if (!validateData()) {\n return;\n }\n\n // If flag value is false, that means email provided by user doesn't exists in database\n // so init...
[ "0.73406446", "0.69840986", "0.68615764", "0.68273014", "0.67409754", "0.6653499", "0.66412085", "0.6625383", "0.66118103", "0.653763", "0.6470673", "0.64346194", "0.6378047", "0.63563246", "0.6339601", "0.6299146", "0.6282566", "0.6270799", "0.62701756", "0.6256204", "0.6247...
0.65118396
10
Adds an image to the incoming object, with different images depending on which direction the object is pointing at
public Image(String path) { this.south = loadImage(path + "-South" + ".png"); this.north = loadImage(path + "-North" + ".png"); this.west = loadImage(path + "-West" + ".png"); this.east = loadImage(path + "-East" + ".png"); currentImage = north; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Builder addImage(ImageObject value);", "public void addImage(Image img, int x, int y) {\n\n\t}", "Person addImage(String name, String imagePath);", "public GameObject addObject(String imageName, int x, int y, boolean updateID) {\n\t\tMovementParameters myMove = new MovementParameters(\n\t\t\t\tmyObjectStatsP...
[ "0.68785936", "0.6704131", "0.64160866", "0.6206518", "0.6194813", "0.6166441", "0.61032116", "0.6039019", "0.60311216", "0.5975703", "0.59203625", "0.5916491", "0.58917344", "0.58801943", "0.57587224", "0.57453454", "0.57324064", "0.5730537", "0.5723259", "0.5663779", "0.564...
0.0
-1
Gets an image from the selected path
private BufferedImage loadImage(String path) { try { return ImageIO.read(getClass().getClassLoader().getResource(path)); } catch (IOException e) { e.printStackTrace(); System.exit(1); } return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void selectImage(String path);", "public void getImagePath(String imagePath);", "java.lang.String getImagePath();", "String getImagePath();", "String getImagePath();", "BufferedImage getSelectedImage();", "java.lang.String getImage();", "private void selectImage() {\n Intent intent = new Inten...
[ "0.7912292", "0.700016", "0.6946192", "0.6910103", "0.6910103", "0.68795097", "0.6642309", "0.66223884", "0.6593854", "0.6550678", "0.6521378", "0.6503244", "0.64454335", "0.63745975", "0.63325113", "0.6304403", "0.6259719", "0.6233726", "0.62219554", "0.6169477", "0.61642164...
0.56904745
66
Updates the image if depending on the direction
public void updateImage(GameObject.Direction direction) { switch (direction) { case NORTH: currentImage = north; break; case SOUTH: currentImage = south; break; case WEST: currentImage = west; ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean update(long elapsed) {\n\t\timg.paint(gBuffered, 0, 0);\n\t\tgBuffered.drawImage(img.getCurrentImage(), 0, 0, x, y, width - x,\n\t\t\t\theight - y, width, height, null);\n\t\tgBuffered.drawImage(img.getCurrentImage(), 0, y, x, height, width - x,\n\t\t\t\t0, width, height - y, null);\n\n\t\tgBuffered...
[ "0.7084562", "0.70698607", "0.68811727", "0.68811727", "0.68366206", "0.6483604", "0.64402825", "0.6436292", "0.63806605", "0.63216037", "0.62872404", "0.62705517", "0.6223255", "0.6137136", "0.610111", "0.6099393", "0.60792565", "0.607494", "0.60056764", "0.59610516", "0.594...
0.76131123
0
Private functions / Helper functions
private void setVars(String orgName, String commName, String serialNum, String reason, String insertedBy) { organizationName = orgName; commonName = commName; serialNumber = serialNum; this.reason = reason; this.insertedBy = insertedBy; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private stendhal() {\n\t}", "private void someUtilityMethod() {\n }", "private void someUtilityMethod() {\n }", "private Util() { }", "protected boolean func_70814_o() { return true; }", "private void strin() {\n\n\t}", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "...
[ "0.56725615", "0.5577605", "0.5577605", "0.55237895", "0.54895395", "0.5473689", "0.53815055", "0.53312886", "0.52986914", "0.5274863", "0.5251747", "0.52488923", "0.5238991", "0.5228378", "0.5228378", "0.5228378", "0.5228378", "0.52197963", "0.52168083", "0.511096", "0.51054...
0.0
-1
finds the visible lights for each point
public ArrayList<RTLight> getVisibleLights(Point p){ ArrayList<RTLight> visibleLights=new ArrayList<RTLight>(); for(RTLight temp: lights){ Intersection lightInt = trace(p,temp.getCenter()); if(lightInt.getThing() == temp){ visibleLights.add((RTLight)lightInt.getThing()); } ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public DetectLED findLEDs(Mat image, Rect roiRect) {\n\t\tlights = new ArrayList<Point2>();\n\n\t\tMat grey = new Mat();\n\t\tMat bw = new Mat();\n\n\t\t// Convert ROI of the original frame to a gray image\n\t\tImgproc.cvtColor(new Mat(image, roiRect), grey, Imgproc.COLOR_BGR2GRAY);\n\t\t// Then highlight the brig...
[ "0.61957526", "0.614144", "0.58577836", "0.5823406", "0.58019584", "0.5706486", "0.57029253", "0.5690134", "0.5663971", "0.5578998", "0.5509583", "0.5471935", "0.5440786", "0.5427764", "0.5425363", "0.54206145", "0.53996456", "0.53995615", "0.5399135", "0.53869647", "0.536946...
0.7901049
0
finds the nearest intersection with the light rays
public Intersection trace(Point start, Point end) { double curDist, closeDist; Intersection closestIntersection= new Intersection(60+1, null, null); for(Thing thing:thing){ Intersection thingIntersection = thing.getIntersection(start, end); curDist = thingIntersection.getDistance(); closeDist = clo...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private LightSource.Intersection castRayOnLights(Ray ray) {\n double closestPointDistanceSquared = Double.POSITIVE_INFINITY;\n LightSource.Intersection closestIntersection = null;\n for (LightSource light : lightSources) {\n LightSource.Intersection intersection = light.castRay(ray)...
[ "0.723888", "0.69945556", "0.6825743", "0.6727801", "0.6697794", "0.6695977", "0.66808105", "0.65860873", "0.6545194", "0.65383196", "0.6516478", "0.6487794", "0.6465192", "0.6452243", "0.63944554", "0.6318803", "0.62951285", "0.6261725", "0.62255836", "0.6185379", "0.6125802...
0.6148704
20
maps pixels to coordinates
public Point get3DCoordinate(int row, int col, int width, int height) { double x, y; x = scene_width * (col / ((double) (width - 1))) - scene_width / 2.0; y = scene_height / 2.0 - scene_height * row / ((double) (height - 1)); return new Point(x, y, 0); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public ImageData createPixelMap(double x, double y, int[] data) {\n return graphicsEnvironmentImpl.createPixelMap(canvas, x, y, data);\n }", "@Override\n public ImageData createPixelMap(double x, double y) {\n return graphicsEnvironmentImpl.createPixelMap(canvas, x, y);\n }"...
[ "0.6833095", "0.6807515", "0.6614959", "0.6451754", "0.64067906", "0.63670284", "0.6198777", "0.616797", "0.6156466", "0.61505735", "0.61505735", "0.6116255", "0.6106055", "0.609945", "0.60952204", "0.60373527", "0.59641373", "0.5960851", "0.593861", "0.5928422", "0.592448", ...
0.0
-1
Initialize all the pages you are handling
public void init() throws Throwable { memberLookup_BenefitsEligibility_DualCoverageSelector = new MemberLookup_BenefitsEligibility_DualCoverageSelector(SharedResource,utils); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void initPages() {\n\t\tloginPage = new LoginPage(driver);\n\t\tflipkart = new FlipkartPage(driver);\n\t\t\n\t}", "public void init() {\n\t\tfor(int i = 0; i < 5; i++) {\n\t\t\tpageLists.add(new Page(i));\n\t\t}\n\t}", "protected void doAdditionalPageInitialization(IPage page) {\n }", "public Proc...
[ "0.8409635", "0.7713505", "0.7346123", "0.7329833", "0.7286035", "0.72343135", "0.7076804", "0.7069756", "0.70530564", "0.6988811", "0.69671357", "0.69471353", "0.6940762", "0.6913186", "0.6908999", "0.69035834", "0.68730754", "0.6870011", "0.68684095", "0.68393576", "0.68359...
0.0
-1
close existing dialog fragments
public void onClick(View view) { FragmentManager manager = getFragmentManager(); Fragment frag = manager.findFragmentByTag("fragment_edit_name"); if (frag != null) { manager.beginTransaction().remove(frag).commit(); } switch (view.getId()) { case R.id.show...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void onClick(DialogInterface dialog, int which) {\n getActivity().finish();\n }", "@Override\n\t\t\t\tpublic void onDismiss(DialogInterface dialog) {\n\t\t\t\t\tfinish();\n\t\t\t\t\t\n\t\t\t\t}", "public void endGame(){\n\n ...
[ "0.73849463", "0.7332378", "0.7204914", "0.71837026", "0.7144843", "0.7131134", "0.7118254", "0.70496076", "0.7037805", "0.7002173", "0.70018256", "0.6997868", "0.6984559", "0.69788927", "0.69788927", "0.6969674", "0.69500315", "0.6943065", "0.6940871", "0.6940871", "0.693940...
0.0
-1
TODO Autogenerated method stub Range
@Override public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { if (isChecked){ calendar.init(new Date(), nextYear.getTime()) // .inMode(SelectionMode.RANGE) // .withSelectedDates(dates); switchMode.setText(R.string.Range); } //Mult...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic int getRange() {\n\t\treturn range;\n\t}", "int getRange();", "private Range() {}", "public int getRange()\n\t{\n\t\treturn Range;\n\t}", "@Override\n public boolean isRange() {\n return false;\n }", "Range createRange();", "abstract public Range createRange();", "public doub...
[ "0.7788025", "0.7565269", "0.7543294", "0.75279695", "0.75272065", "0.74804115", "0.74378264", "0.7381247", "0.73295647", "0.72897285", "0.7272434", "0.71652424", "0.70206493", "0.70119125", "0.6817491", "0.6815264", "0.67602843", "0.6732644", "0.67111206", "0.67064446", "0.6...
0.0
-1
TODO Autogenerated method stub
public static void main(String[] args) { ArrayList<Integer> list = new ArrayList<Integer>(); list.add(new Integer(100)); list.add(200); // auto Boxing해서 list에 담는다. list.add(300); int sum = 0; for(int i = 0; i < list.size(); i++) { // int data = list.get(i).intValue(); Integer ob = list.get(i); ...
{ "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
Receive broadcast from system
@Override public void onReceive(Context context, Intent intent) { // TODO Auto-generated method stub //Get notification message from intent, set icon, title, and message String message = intent.getStringExtra("Message"); NotificationCompat.Builder mBuilder = new NotificationCompat.Bu...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface MyBroadcastListener {\n void receivedBroadcast();\n }", "public void onReceive();", "public static void sendBroadcast(){\n Intent intent = new Intent(CUSTOM_BROADCAST_ACTION);\n context.sendBroadcast(intent);\n }", "public void broadcast(Object msg);", "@Override...
[ "0.7131462", "0.7113193", "0.70803237", "0.6997806", "0.6705097", "0.66948545", "0.66871226", "0.66871226", "0.6687021", "0.6645267", "0.6636648", "0.66324764", "0.66218805", "0.659355", "0.6592527", "0.65473753", "0.65387374", "0.6499013", "0.6499013", "0.6499013", "0.649784...
0.0
-1
System.out.println("type " + b.type);
public boolean sameVariable(lexeme a, lexeme b){ return a.stringToken.equals(b.stringToken); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public String toString ()\n {\n return \"type = \" + type;\n }", "int getType(){\n return type;\n }", "@Test\n public void getType() {\n System.out.println(\"getType\");\n BBDParameterMetaData instance = new BBDParameterMetaData(1,\"test\",2);\n int expResult...
[ "0.6963269", "0.6889248", "0.6768395", "0.67606395", "0.6724127", "0.67071736", "0.6642285", "0.6633376", "0.6593657", "0.65702903", "0.65673214", "0.6556878", "0.65265805", "0.65265805", "0.65237004", "0.65191877", "0.6518624", "0.6456833", "0.6444572", "0.64349276", "0.6423...
0.0
-1
System.out.println("env types " + env);
public lexeme insert(lexeme variable, lexeme value, lexeme env){ setCar(env, new lexeme("GLUE", variable, car(env))); setCar(cdr(env), new lexeme("GLUE", value, cadr(env))); return value; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public EnvironmentType getEnvTypes() {\n return envTypes;\n }", "public String getEnv() {\n\n return env;\n }", "String getEnvironment();", "Properties getEnvironment();", "Properties getEnvironment();", "private static String getEnvironVar(String env) {\r\n \treturn System.getenv(...
[ "0.7141621", "0.6707863", "0.6701517", "0.6541707", "0.6541707", "0.64912915", "0.63532", "0.63399535", "0.6242958", "0.62404585", "0.6230303", "0.61965334", "0.6151968", "0.6128062", "0.61246926", "0.60689723", "0.6057086", "0.6053886", "0.6053151", "0.6018694", "0.60147405"...
0.0
-1
System.out.println("var is " + variable);
public lexeme update(lexeme variable, lexeme value, lexeme env){ lexeme oldE = env; while (env != null){ lexeme vars = car(env); lexeme vals = cadr(env); while(vars != null && vars.type != "EMPTY"){ //System.out.println("variable is " + variable.type + " vars " + car(vars).type); if (sameVariab...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getVariable() {\n return variable;\n }", "public String getVariable();", "public String variable()\n\t{\n\t\treturn _var;\n\t}", "String getVariable();", "public String getVar()\n {\n return var;\n }", "public String getVariable()\n {\n return this.strVari...
[ "0.79064864", "0.7797968", "0.7797174", "0.77360636", "0.7637687", "0.75677514", "0.73789597", "0.73726684", "0.7342738", "0.72067356", "0.69631463", "0.69626975", "0.689528", "0.68948567", "0.6817054", "0.6720611", "0.6666844", "0.6657765", "0.6636141", "0.6603601", "0.66012...
0.0
-1
prevent instantiation of this class
private ServiceMonitoringStatusInterpreter() { /* do nothing */ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private ATCres() {\r\n // prevent to instantiate this class\r\n }", "@Override\n public boolean isInstantiable() {\n return false;\n }", "private TetrisMain() {\r\n //prevents instantiation\r\n }", "private InterpreterDependencyChecks() {\r\n\t\t// Hides default c...
[ "0.71743464", "0.6829801", "0.67074764", "0.66411585", "0.6541888", "0.64543694", "0.6436433", "0.6433347", "0.6430653", "0.6386888", "0.6333072", "0.63087195", "0.6230815", "0.6212258", "0.62069464", "0.6201657", "0.6184485", "0.61718076", "0.61597776", "0.6154811", "0.61502...
0.0
-1
If Unexpected event happen we notify the listener to refresh the whole list/recycler view.
void notifyUnexpected();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void notifyDataSetChanged() {\n viewState.setShouldRefreshEvents(true);\n invalidate();\n }", "@Override\r\n public void onItemsChanged(RecyclerView recyclerView){\r\n isNotifyDataSetChanged = true;\r\n }", "public void refreshListView() {\n if (recyclerViewAdapter !...
[ "0.70607084", "0.6866978", "0.669801", "0.66471225", "0.66446507", "0.66179246", "0.6584048", "0.65189743", "0.6489866", "0.6486859", "0.64751184", "0.6471243", "0.64679724", "0.6460797", "0.6412027", "0.6392324", "0.6391046", "0.63870704", "0.6369746", "0.63673145", "0.63631...
0.0
-1
Check if photo with photoId is in the downloading progress right now.
public static boolean isDownloadingNow(final String photoId) { return inDownloadingProgress.contains(photoId); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean hasProgress();", "boolean hasProgress();", "public boolean hasProgress();", "public void checkProgress() {\n\t\tupdateBitfield();\n\t\tlog(\"Checking progress...\");\n\t\tFileInfo[] fileinfo = files.getFiles();\n\t\tfor (int i = 0; i < fileinfo.length; i++) {\n\t\t\tFileInfo info = fileinfo[i];\n\t\t...
[ "0.66421133", "0.66421133", "0.65517193", "0.606573", "0.59971523", "0.5944897", "0.58323884", "0.58189946", "0.5770405", "0.5644858", "0.56043875", "0.5591717", "0.5479031", "0.5452001", "0.5413447", "0.5325571", "0.5324729", "0.5319222", "0.5282067", "0.52222157", "0.522087...
0.8027126
0
Method that start the downloading process
public void startInlineDownloading() { inDownloadingProgress.add(photoId); if (fullPhotosCaching.containsKey(photoId)) { final PhotoCache photoCache = fullPhotosCaching.get(photoId); saveImageFile(photoCache, DEFAULT_PATH, MAX_QUALITY, this); } else { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void start() {\n\n String pathFile = mainMenu.menuTakePathFile();\n int countThreads = mainMenu.menuCountThreads();\n int downloadSpeed = mainMenu.menuDownloadSpeed();\n String folderForDownload = mainMenu.menuPathDownload();\n\n List<String> urls = null;\n try {\n ...
[ "0.8189714", "0.77973884", "0.7786114", "0.7623378", "0.7591302", "0.7224123", "0.7163487", "0.7099468", "0.6984672", "0.68045545", "0.6784277", "0.6749627", "0.6676374", "0.6611131", "0.6583437", "0.65180916", "0.6508953", "0.6480096", "0.6452604", "0.64431816", "0.6401524",...
0.59079343
51
Save the image file after we succeed to cache it.
@Override public void onResult(@NonNull PhotoCache photoCache) { saveImageFile(photoCache, DEFAULT_PATH, MAX_QUALITY, this); fullPhotosCaching.put(photoCache.getPhotoId(), photoCache); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void saveBitmapToCacheFile(String url, Bitmap bitmap){\n \t\n \tif(bitmap != null){\n \t\tFile bufferFolder = new File(MainActivity.image_cache_dir);\n \t\tif(!bufferFolder.exists()) bufferFolder.mkdirs();\n \t\t\t\t\t\n \t\tFile imageFile = new File(MainActivity.image_cache_dir + getFile...
[ "0.6757615", "0.67500985", "0.6649376", "0.6573707", "0.6485126", "0.64741206", "0.64530355", "0.640463", "0.63758415", "0.635048", "0.6345326", "0.6315373", "0.6312461", "0.6273598", "0.62461436", "0.62366056", "0.6235663", "0.62013036", "0.61825335", "0.616924", "0.61446214...
0.58238494
48
When fail to cache the photo, and an exception is thrown from any reason. we just notify the user (UI message).
@Override public void onError(@NonNull Exception e) { if (e instanceof InterruptedException || e instanceof ExecutionException) { Toast.makeText(context, "Something wrong while caching the photo", Toast.LENGTH_SHORT).show(); } else { Toast.makeText...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void onFailure(@NonNull Exception e) {\n progressDialog.dismiss();\n Toast.makeText(UserProfile.this, \"Error updating Image..\", Toast.LENGTH_SHORT).show();\n\n ...
[ "0.6442093", "0.638022", "0.63745147", "0.6292673", "0.62092376", "0.61793995", "0.614375", "0.6119175", "0.60901576", "0.6083647", "0.605793", "0.6051912", "0.60483384", "0.60405785", "0.59967124", "0.5983934", "0.5964962", "0.5953506", "0.5925815", "0.5877479", "0.5840627",...
0.75727886
0
When successfully saved the image file, we add the the photo to the singleton that hold all the Id's of the downloaded photos and then notify the user (UI message).
@Override public void onSaved(@NonNull PhotoCache photoCache) { boolean addStatus = localPhotosUtil.add(photoCache.getPhotoId(), photoCache.getFormatExtension()); if (addStatus) { Toast.makeText(context, "Successfully Saved", Toast.LENGTH_SHORT).show(); } ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void BitmapDownloadSuccess(String photoId, String mealId)\n {\n\n refreshUI();\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n\n taskSnapshot.getMetadata().getReference().getDownloadUrl().addOnCompleteListener...
[ "0.6820895", "0.66400516", "0.66160506", "0.64096117", "0.63976556", "0.62593126", "0.62288463", "0.6228435", "0.62136334", "0.6204605", "0.620438", "0.620438", "0.6192825", "0.6180728", "0.61805993", "0.61680764", "0.61548275", "0.61470747", "0.6121007", "0.61097896", "0.609...
0.6061669
26
When the photo already saved or another photo with same Id (should never happen), exist in the default downloads folder, we just notify the user with a message (UI message).
@Override public void onAlreadySaved(@NonNull PhotoCache photoCache) { Toast.makeText(context, "The file already exist in:\n" + DEFAULT_PATH, Toast.LENGTH_SHORT).show(); notifyAfterDownloadingProgress(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void BitmapDownloadSuccess(String photoId, String mealId)\n {\n\n refreshUI();\n }", "@Override\n public void onSaved(@NonNull PhotoCache photoCache) {\n\n boolean addStatus = localPhotosUtil.add(photoCache.getPhotoId(),\n photoCache.getFormatExtension(...
[ "0.6324641", "0.6111079", "0.6057244", "0.5967277", "0.5875302", "0.58529407", "0.5788144", "0.57727015", "0.5724559", "0.5667712", "0.5639066", "0.5616323", "0.55989295", "0.55979073", "0.55864733", "0.55316347", "0.5494336", "0.5480926", "0.5480842", "0.5475656", "0.5468578...
0.76952463
0
When we fail to save the image file, from any reason, we notify the user with a message.
@Override public void onSavingFailed(@NonNull IOException e) { Toast.makeText(context, e.getMessage(), Toast.LENGTH_SHORT).show(); notifyAfterDownloadingProgress(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void onPhotoError() {\n ToastModifications.createToast(this, getString(R.string.error_saving_photo), Toast.LENGTH_LONG);\n }", "private void notifyUploadFail() {\n numberOfFail++;\n notificationBuilder.setContentText(getNotificationContent());\n notificationManger.notify(0,...
[ "0.6870552", "0.6851518", "0.65686905", "0.6477146", "0.6384003", "0.63674027", "0.63614255", "0.63296676", "0.6266808", "0.6244202", "0.61724806", "0.6106064", "0.6082145", "0.60586494", "0.60527253", "0.59759635", "0.5933653", "0.58959574", "0.5893697", "0.5884583", "0.5879...
0.6661547
2
After downloading or fail to download the photo, we remove the photoId from the set that hold the current downloading photos (photos in the downloading progress), and then notify that the progress done/fail.
private void notifyAfterDownloadingProgress() { if (inDownloadingProgress.contains(photoId)) { inDownloadingProgress.remove(photoId); onFinishDownloadingListener.notifyItemDownloaded(photoId, position); } else { onFinishDownloadingListener.notifyUnexpected(); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void startInlineDownloading() {\n inDownloadingProgress.add(photoId);\n if (fullPhotosCaching.containsKey(photoId)) {\n final PhotoCache photoCache = fullPhotosCaching.get(photoId);\n saveImageFile(photoCache, DEFAULT_PATH, MAX_QUALITY, this);\n }\n else {\n...
[ "0.5928691", "0.58333457", "0.58113974", "0.577866", "0.574264", "0.5541516", "0.5528289", "0.54786694", "0.5475687", "0.5457268", "0.54383075", "0.54049546", "0.5388825", "0.5368901", "0.5364108", "0.531733", "0.53117347", "0.5308387", "0.52938557", "0.5282995", "0.5254448",...
0.7875273
0
Native methods that call into the JNI interface
static native void classInitNative();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private native String native_init();", "private static native void init();", "private static native void classInitNative();", "protected native void init();", "public native void initNativeCallback();", "public /*static*/ native void init();", "private static native boolean nativeClassInit();", "priv...
[ "0.76441854", "0.7594708", "0.7335335", "0.7330725", "0.73143834", "0.7228165", "0.7129286", "0.7121013", "0.7070551", "0.6994246", "0.6965568", "0.68953985", "0.68747014", "0.6842608", "0.6785438", "0.6768115", "0.662698", "0.6599575", "0.65865713", "0.65740955", "0.6566459"...
0.7186372
6
Callbacks from the native back into the java framework. All callbacks are routed via the Service which will disambiguate which state machine the message should be routed through.
private void onConnectionStateChanged(int state, int peerFeat, int chldFeat, byte[] address) { StackEvent event = new StackEvent(StackEvent.EVENT_TYPE_CONNECTION_STATE_CHANGED); event.valueInt = state; event.valueInt2 = peerFeat; event.valueInt3 = chldFeat; event.device = getDevi...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface FlightTrackingCallbackHandler extends Remote {\n\n /*\n * Callback cuando el vuelo fue asignado a una pista\n */\n void onRunwayAssignment(final String flightId, final String destination, final String runway, final long flightsAhead)\n throws RemoteException;\n\n /*\n ...
[ "0.64459044", "0.63441694", "0.629733", "0.62007856", "0.6183573", "0.6171264", "0.6150805", "0.6145131", "0.60953325", "0.6091911", "0.6063927", "0.60534155", "0.60005444", "0.5936365", "0.5926088", "0.5920692", "0.5901145", "0.58764046", "0.58734643", "0.5848676", "0.584769...
0.0
-1
CIEV (Call indicators) notifying if call(s) are getting set up. Values include: 0 No current call is in setup 1 Incoming call process ongoing 2 Outgoing call process ongoing 3 Remote party being alerted for outgoing call
private void onCallSetup(int callsetup, byte[] address) { StackEvent event = new StackEvent(StackEvent.EVENT_TYPE_CALLSETUP); event.valueInt = callsetup; event.device = getDevice(address); if (DBG) { Log.d(TAG, "onCallSetup: addr " + address + " device" + event.device); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void onCallStateChanged(int state, String incomingNumber) {\n if (state == 2) {\n\n String msg = \" New Phone Call Event. Incoming Number : \"+incomingNumber;\n int mID = 1;\n long when = System.currentTimeMillis();\n NotificationManager notificationManager...
[ "0.6399367", "0.6141955", "0.5943318", "0.5889924", "0.5792784", "0.57781595", "0.575136", "0.57324195", "0.5640316", "0.55496764", "0.5544958", "0.55300117", "0.5529367", "0.55232465", "0.5512204", "0.550693", "0.55043405", "0.5475861", "0.5474011", "0.54715717", "0.5450334"...
0.52253306
42
CIEV (Call indicators) notifying call held states. Values include: 0 No calls held 1 Call is placed on hold or active/held calls wapped (The AG has both an ACTIVE and HELD call) 2 Call on hold, no active call
private void onCallHeld(int callheld, byte[] address) { StackEvent event = new StackEvent(StackEvent.EVENT_TYPE_CALLHELD); event.valueInt = callheld; event.device = getDevice(address); if (DBG) { Log.d(TAG, "onCallHeld: address " + address + " event " + event); } ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void processCallStateIdle () {\n\t\t\n\t\ttry {\n\t\t\tif (QSLog.DEBUG_D)QSLog.d(CLASS_NAME, \"IDLE\");\n\t\t\t\n\t\t\tConfigAppValues.processRingCall = false;\n\t\t\t\n\t\t\tif (ringerMode() == AudioManager.RINGER_MODE_SILENT && \n\t\t\t\t\tCheckSettingsOperations.checkQuiteSleepServiceState() && \n\t\t\t...
[ "0.59386444", "0.58028144", "0.57762474", "0.56877625", "0.5669975", "0.5659816", "0.5564183", "0.5530014", "0.54155856", "0.5403795", "0.5393438", "0.5314045", "0.52881116", "0.52590096", "0.52511656", "0.52061474", "0.5203439", "0.51759183", "0.51479745", "0.51422924", "0.5...
0.54528505
9
Create authentication on google server
public GoogleAuth(String apiKey, String apiSecret, String scope){ this.apiKey = apiKey; this.apiSecret = apiSecret; this.scope = scope; this.service = new ServiceBuilder().provider(Google2Api.class) .apiKey(this.apiKey).apiSecret(this.apiSecret).callback(this.callbackUrl) .scope(this.scope).build(); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "GoogleAuthenticatorKey createCredentials();", "GoogleAuthenticatorKey createCredentials(String userName);", "public GoogleAuthHelper() {\n\t\t\n\t\tLoadType<ClientCredentials> credentials = ofy().load().type(ClientCredentials.class);\n\t\t\n\t\tfor(ClientCredentials credential : credentials) {\n\t\t\t// static...
[ "0.76693153", "0.7117845", "0.6558951", "0.6188289", "0.61369467", "0.6045887", "0.60360867", "0.6018315", "0.5999249", "0.5995626", "0.5970663", "0.596264", "0.596264", "0.596264", "0.5961765", "0.59436464", "0.59347373", "0.5927073", "0.5925828", "0.59239876", "0.5916661", ...
0.5488295
58
Get the code automatically
public void setAuto(){ this.codeAuto = true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getCode();", "String getCode();", "String getCode();", "String getCode();", "String getCode();", "Code getCode();", "java.lang.String getCode();", "java.lang.String getCode();", "public String getCode();", "public String getCode();", "public abstract String getFullCode();", "public Str...
[ "0.7935361", "0.7935361", "0.7935361", "0.7935361", "0.7935361", "0.7727352", "0.76258427", "0.76258427", "0.73728347", "0.73728347", "0.73303723", "0.7298667", "0.7173717", "0.71324867", "0.7118695", "0.7008242", "0.7008242", "0.7008242", "0.69437355", "0.69126165", "0.69126...
0.0
-1
Get the code by user's console input
public void setManual(){ this.codeAuto = false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String consoleInput();", "String getUserInput();", "public static String inputCommand() {\n String command;\n Scanner in = new Scanner(System.in);\n\n command = in.nextLine();\n\n return command;\n }", "public String readCommand() {\n Scanner sc = new Scanner(System.in);...
[ "0.7352033", "0.6983391", "0.6832857", "0.6764623", "0.6759704", "0.67128336", "0.6556942", "0.65249103", "0.64585346", "0.6351351", "0.63287705", "0.63285893", "0.6326738", "0.63240045", "0.63211954", "0.62871164", "0.62842786", "0.62804717", "0.62804717", "0.62804717", "0.6...
0.0
-1
Build and return an authorized Gmail client service.
public Gmail getGmailService() throws IOException { Credential credential = this.googleCred; return new Gmail.Builder(HTTP_TRANSPORT, JSON_FACTORY, credential) .setApplicationName(APP_NAME) .build(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "GmailClient getGmailClient(Credential credential);", "public static Gmail getGmailService() throws IOException {\n\t\tCredential credential = authorize();\n\t\treturn new Gmail.Builder(HTTP_TRANSPORT, JSON_FACTORY, credential).setApplicationName(APPLICATION_NAME).build();\n\t}", "public interface GmailClientFa...
[ "0.7535891", "0.7281422", "0.7129264", "0.66405624", "0.6448321", "0.62300515", "0.6223113", "0.6090851", "0.600078", "0.5890572", "0.5857012", "0.5853256", "0.58353394", "0.5764167", "0.5744666", "0.5706649", "0.5652753", "0.564887", "0.56399393", "0.55385816", "0.55328065",...
0.70833045
3
Build and return an authorized Calendar client service.
public Calendar getCalendarService() throws IOException { Credential credential = this.googleCred; return new Calendar.Builder( HTTP_TRANSPORT, JSON_FACTORY, credential) .setApplicationName(APP_NAME) .build(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static com.google.api.services.calendar.Calendar getCalendarService() throws IOException\n{\n Credential cred = authorize();\n com.google.api.services.calendar.Calendar.Builder bldr =\n new com.google.api.services.calendar.Calendar.Builder(HTTP_TRANSPORT,JSON_FACTORY,cred);\n bldr.setApplication...
[ "0.7270611", "0.7269977", "0.6819811", "0.67651427", "0.5948289", "0.57664794", "0.5657467", "0.56103545", "0.5585257", "0.5581788", "0.55152214", "0.55108285", "0.54368067", "0.538016", "0.5368877", "0.5294606", "0.52536315", "0.5206401", "0.52025235", "0.51934284", "0.51874...
0.6723527
4
Faz De Para do objeto entity para o TO
private List<SubServicoTO> parseTO(List<AgvTabSubservico> listaResultado) { ArrayList<SubServicoTO> lista = new ArrayList<SubServicoTO>(); for (Iterator<AgvTabSubservico> iterator = listaResultado.iterator(); iterator.hasNext();) { AgvTabSubservico element = (AgvTabSubservico) iterator.next(); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void toEntity(){\n\n }", "public CuentaEntity toEntity() {\r\n CuentaEntity cuentaE = super.toEntity();\r\n if (this.tarjeta != null) {\r\n if (!this.tarjeta.isEmpty()) {\r\n List<TarjetaEntity> tarjetasEntity = new ArrayList<>();\r\n for (TarjetaD...
[ "0.735221", "0.71379894", "0.7105459", "0.6873525", "0.6698784", "0.6594768", "0.6570399", "0.6492542", "0.6484925", "0.63565886", "0.6247155", "0.6216462", "0.6206151", "0.6188953", "0.6157518", "0.6141779", "0.6140077", "0.6129646", "0.61108655", "0.6104799", "0.608992", ...
0.0
-1
TODO: Add different browser detection methods from browser.js Check if user agent is a mobile platform.
public static native boolean isMobile() /*-{ return $wnd.floatz.browser.isMobile(); }-*/;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n\tpublic void testMobileDetectionEmptyUserAgent()\n\t{\n\t\tfinal String[] uas =\n\t\t{ \"-\", \"\", \" \", \"\\n\", \"\\t\", \"\\0\" };\n\n\t\tfor (int index = 0; index < uas.length; index++)\n\t\t{\n\t\t\tfinal String userAgent = uas[index];\n\t\t\tLOG.info(\"Testing :\" + userAgent);\n\n\t\t\tassertFalse...
[ "0.69283855", "0.6564953", "0.6307931", "0.6261375", "0.6209862", "0.62070704", "0.6165279", "0.6096642", "0.58277565", "0.582155", "0.57600456", "0.5719315", "0.5692708", "0.56808144", "0.56789696", "0.5575821", "0.5575821", "0.5566314", "0.5558163", "0.55520874", "0.5518329...
0.6190555
6
Check if user agent is a mobile webkit platform.
public static native boolean isMobileWebkit() /*-{ return $wnd.floatz.browser.isMobileWebkit(); }-*/;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static native boolean isMobile() /*-{\r\n\t\treturn $wnd.floatz.browser.isMobile();\r\n\t}-*/;", "public boolean isMobile() {\n return SecurityUtil.isMobile();\n }", "private static boolean supportedPlatform() {\n return System.getProperty(\"os.name\").startsWith(\"iPhone\");\n }", "boole...
[ "0.6462801", "0.6389196", "0.59708285", "0.5960529", "0.5916474", "0.5862011", "0.57390994", "0.54986423", "0.5490998", "0.5419912", "0.5419912", "0.54109025", "0.5370118", "0.536815", "0.53616226", "0.53111494", "0.5262059", "0.523055", "0.52221817", "0.5213745", "0.5200714"...
0.7943874
0
Intent intent = new Intent(MyServiceActivity.this, DashBoardClientActivity.class); startActivity(intent);
@Override public void onClick(View view) { finish(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void onClick(View v) {\n startService(new Intent(MainActivity.this, MyService.class));\n }", "@Override\n public void onClick(View v) {\n Intent intent = new Intent(FxService.this, MainActivity.class);\n intent.addFl...
[ "0.78164005", "0.76208466", "0.76208466", "0.7254646", "0.71541643", "0.7122801", "0.6997116", "0.69913614", "0.6984497", "0.69757104", "0.6960284", "0.69172627", "0.68986696", "0.6879214", "0.68726045", "0.68655336", "0.68282294", "0.6814495", "0.6813018", "0.68092394", "0.6...
0.0
-1
Created by sky on 02/03/2018.
public interface UpdateMakeupExamInfoDelegate { void informMakeupExamUpdated(MakeupExam makeupExam); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\t...
[ "0.5848932", "0.5834915", "0.5661222", "0.5578379", "0.55374086", "0.54986286", "0.54986286", "0.54768175", "0.5467629", "0.5461678", "0.54280066", "0.5427183", "0.54182667", "0.5406447", "0.5406087", "0.540341", "0.5376007", "0.5364441", "0.5362315", "0.53363895", "0.5318325...
0.0
-1
Inflate the layout for this fragment
@Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View view = inflater.inflate(R.layout.fragment_weight_list, container, false); /* Create a db helper to access the internal db */ PREFS_NAME = getResour...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_main_allinfo, container, false);\n }", "@Override\r\n\tpublic View onCreateView(LayoutInflater inflater, ViewGroup...
[ "0.673917", "0.67246467", "0.67207617", "0.66973495", "0.66911536", "0.6687934", "0.6687156", "0.6684066", "0.6676597", "0.6674479", "0.66666025", "0.666631", "0.6664046", "0.66606456", "0.6653267", "0.6648499", "0.6642142", "0.66378975", "0.6636604", "0.66333616", "0.6624909...
0.0
-1
Default constructor. All the available font names in the system will be used if the FontFamilySelector instance is created using this constructor.
public FontFamilySelector() { defaultConfig(Util.getAllFontNames()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void setFontFamily(ReaderFontSelection f);", "public FontChooser(JFrame owner) {\n super(owner, \"Font Chooser\", true);\n ff = FontFactory.getInstance();\n }", "public static void setDefaultFont(Font f) {\r\n defaultFont = f;\r\n }", "private void setFont() {\n try {\n setFont(F...
[ "0.69013643", "0.66437656", "0.6542583", "0.6506077", "0.6496509", "0.64951897", "0.64768803", "0.64277506", "0.64162356", "0.64066446", "0.63471305", "0.63100284", "0.6233481", "0.6194418", "0.6194418", "0.6194418", "0.61725986", "0.6164199", "0.6145669", "0.6142782", "0.611...
0.81262076
0
Constructor with namespace as the parameter. Sample configuration: &lt;Property name=&quot;fontFamily&quot;&gt; &lt;Property name=&quot;arial&quot;&gt; &lt;Value&gt;Arial&lt;/Value&gt; &lt;/Property&gt; &lt;Property name=&quot;timesnewroman&quot;&gt; &lt;Value&gt;Times New Roman&lt;/Value&gt; &lt;/Property&gt; &lt;Prop...
public FontFamilySelector(String namespace) { Util.checkString(namespace, "namespace"); Set<String> defaultFontFamilyNames = Util.getAllFontNames(); Map<String, String> map = Util.getPropertyMap(namespace, "fontFamily"); if (map == null) { // The property is missing, then u...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public PropertiesDocument() {\n\t\tthis.documentBuilderFactory = DocumentBuilderFactory.newInstance();\n try {\n\t\t\tthis.documentBuilder = documentBuilderFactory.newDocumentBuilder();\n\t\t} catch (ParserConfigurationException e) {\n\t\t\t// Exception with default configuration\n\t\t\te.printStackTrace();...
[ "0.5688304", "0.56107265", "0.54559237", "0.5347635", "0.53279144", "0.527357", "0.5233408", "0.5211218", "0.51518375", "0.5130114", "0.51181394", "0.5113177", "0.5086115", "0.503104", "0.5023931", "0.49926513", "0.49219567", "0.4920269", "0.48829228", "0.48785338", "0.486617...
0.4902398
18
Config the FontFamilySelector using the default values. All the system available font names are added to the combo box.
private void defaultConfig(Set<String> defaultFontFamilyNames) { defaultFontFamily = DEFAULT_SELECTED_FONT_NAME; // the empty font name addItem(""); // all the system font names to combo box for (String defaultFontFamilyName : defaultFontFamilyNames) { this.listFont...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public FontFamilySelector() {\n defaultConfig(Util.getAllFontNames());\n }", "public FontFamilySelector(String namespace) {\n Util.checkString(namespace, \"namespace\");\n\n Set<String> defaultFontFamilyNames = Util.getAllFontNames();\n\n Map<String, String> map = Util.getPropertyM...
[ "0.80112785", "0.7216503", "0.69172037", "0.6843866", "0.6744954", "0.66061777", "0.64402366", "0.6398671", "0.6271368", "0.61441857", "0.61130977", "0.6061639", "0.6029269", "0.5914393", "0.5872372", "0.5864474", "0.58309984", "0.5816685", "0.57488436", "0.57320637", "0.5721...
0.697544
2
Returns the font family name list in this combo box. Note, the returned list is unmodifiable.
public List<String> getListFontFamily() { return Collections.unmodifiableList(this.listFontFamily); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static String[] getFamilyNames() {\n if (fonts == null) {\n getAllFonts();\n }\n\n return (String[]) families.toArray(new String[0]);\n }", "public native final String fontFamily() /*-{\n\t\treturn this.fontFamily;\n\t}-*/;", "public void addFamilies() {\n Graph...
[ "0.7298879", "0.70383584", "0.69057864", "0.686085", "0.68419397", "0.6689487", "0.6662402", "0.6601729", "0.65992516", "0.65370226", "0.6494454", "0.63639075", "0.6223181", "0.6178577", "0.6172121", "0.6172121", "0.6172121", "0.61560667", "0.61056066", "0.6092946", "0.605482...
0.8089992
0
Returns the default font family name.
public String getDefaultFontFamily() { return this.defaultFontFamily; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static Font getDefaultFont() {\r\n return defaultFont;\r\n }", "public String getFontFamily() {\n Object value = library.getObject(entries, FONT_FAMILY);\n if (value instanceof StringObject) {\n StringObject familyName = (StringObject) value;\n return familyName.get...
[ "0.7716986", "0.77161926", "0.7559897", "0.75258887", "0.73816854", "0.7323059", "0.7286539", "0.72357833", "0.70649874", "0.70594865", "0.704953", "0.6992632", "0.69915515", "0.6966365", "0.6961224", "0.69355077", "0.69355077", "0.69355077", "0.6886424", "0.6872843", "0.6869...
0.830727
0
Sets the font family name list.
public void setListFontFamily(List<String> listFontFamily) { Util.checkList(listFontFamily, "listFontFamily"); if (listFontFamily.isEmpty()) { throw new IllegalArgumentException("The listFontFamily is empty list."); } this.removeAllItems(); addItem(""); for ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addFamilies() {\n GraphicsEnvironment env =\n GraphicsEnvironment.getLocalGraphicsEnvironment();\n family_list = env.getAvailableFontFamilyNames(); /*FAULT:: family_list = new String[10]; */\n for (int i = 0; i < family_list.length; i++) {\n families.addIt...
[ "0.72137594", "0.69837284", "0.6920159", "0.67647755", "0.6719484", "0.66016567", "0.6579113", "0.6573714", "0.6522901", "0.6367064", "0.6342959", "0.62277144", "0.62257344", "0.6172513", "0.6147152", "0.61435723", "0.61326975", "0.60579765", "0.6053483", "0.60361326", "0.602...
0.7295699
0
Sets the default font family name.
public void setDefaultFontFamily(String defaultFontFamily) { Util.checkString(defaultFontFamily, "defaultFontFamily"); this.defaultFontFamily = defaultFontFamily; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void setDefaultFont(Font f) {\r\n defaultFont = f;\r\n }", "public void setFontName(String name)\n {\n font.setFontName(name);\n }", "public void setFontName(String name) {\n\t\tthis.fontName = name;\n\t}", "private void setFont() {\n try {\n setFont(Font.load...
[ "0.774415", "0.76185834", "0.73649716", "0.7011642", "0.6980157", "0.6899698", "0.68358505", "0.68212074", "0.67994744", "0.67337584", "0.6684502", "0.6662596", "0.6618741", "0.6599155", "0.6596726", "0.6557074", "0.6523737", "0.65103215", "0.6496436", "0.6472593", "0.6462739...
0.79261184
0
this is for the first file
private void CompareTwoFiles() { GetCharactersFromProject prog1Char; KGram prog1KGram; HashKGram prog1HashKGram; FingerPrint prog1FingerPrint; ArrayList<Integer> fingerprintProg1 = null; GetCharactersFromProject prog2Char; KGram prog2KGram; HashKG...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void setInitialSourceFile()\n\t{\n\t\tint largestAuthoredId = -1;\n\t\tSourceFile[] files = m_fileInfo.getFileList();\n\t\tfor (int i=0; i<files.length; ++i)\n\t\t{\n\t\t\tSourceFile sf = files[i];\n\t\t\tif (sf.getId() > largestAuthoredId && getFileType(sf) == AUTHORED_FILE)\n\t\t\t\tlargestAuthoredId = s...
[ "0.6637358", "0.6200717", "0.6126492", "0.6111677", "0.59671056", "0.59426564", "0.5877673", "0.58638906", "0.5843408", "0.5830857", "0.5771125", "0.5762768", "0.57617515", "0.5750612", "0.5724387", "0.5721598", "0.56951535", "0.56761587", "0.5666857", "0.56577724", "0.565608...
0.0
-1
Tests the equals and unequals operation for constraints.
@Test public void testEquals() throws ValueDoesNotMatchTypeException { TestEvaluationContext context = new TestEvaluationContext(); DecisionVariableDeclaration decl = new DecisionVariableDeclaration("x", IntegerType.TYPE, null); ConstantValue c0 = new ConstantValue(ValueFac...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Equality createEquality();", "public void testEquals()\n {\n // test passing null to equals returns false\n // (as specified in the JDK docs for Object)\n EthernetAddress x =\n new EthernetAddress(VALID_ETHERNET_ADDRESS_BYTE_ARRAY);\n assertFalse(\"equals(null) didn't re...
[ "0.63273335", "0.6289128", "0.6268122", "0.60819674", "0.60284543", "0.60280216", "0.59856313", "0.59431034", "0.59284467", "0.58674914", "0.5864692", "0.5810328", "0.58074087", "0.57720566", "0.57682925", "0.57574743", "0.57544243", "0.5737997", "0.5729841", "0.57155466", "0...
0.6498569
0
Tests the isdefined operation.
@Test public void testDefined() throws ValueDoesNotMatchTypeException { DecisionVariableDeclaration decl = new DecisionVariableDeclaration("x", IntegerType.TYPE, null); ConstantValue c0 = new ConstantValue(ValueFactory.createValue(IntegerType.TYPE, 0)); ConstraintSyntaxTree cst = new OCLFeat...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean hasDef();", "public final void mDEFINED() throws RecognitionException {\r\n try {\r\n int _type = DEFINED;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // C:\\\\sandbox\\\\objc2j\\\\src\\\\ru\\\\andremoniy\\\\objctojavacnv\\\\antlr\\\\Preprocessor.g:267:9: ( 'defi...
[ "0.68893945", "0.6166333", "0.61544", "0.61456364", "0.6061735", "0.5880989", "0.5871569", "0.5838071", "0.58256775", "0.57684964", "0.57355475", "0.5734182", "0.57150096", "0.5712162", "0.56079066", "0.5604348", "0.55998474", "0.55998474", "0.55998474", "0.55998474", "0.5599...
0.65694416
1
Tests the "typeOf" operation.
@Test public void testTypeOf() throws ValueDoesNotMatchTypeException { TestEvaluationContext context = new TestEvaluationContext(); DecisionVariableDeclaration decl = new DecisionVariableDeclaration("x", IntegerType.TYPE, null); ConstantValue c0 = new ConstantValue(ValueFactory.createValue(I...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void testIsTypeOf() throws ValueDoesNotMatchTypeException {\n testTypeKindOf(AnyType.IS_TYPE_OF);\n }", "@Test\n public void testIsKindOf() throws ValueDoesNotMatchTypeException {\n testTypeKindOf(AnyType.IS_KIND_OF);\n }", "public void test_getType() {\n assertE...
[ "0.76998544", "0.7048347", "0.70104575", "0.6970973", "0.6970973", "0.6970973", "0.6970973", "0.6970973", "0.6970973", "0.6970973", "0.6970973", "0.6970973", "0.6970973", "0.6970973", "0.6970973", "0.6970973", "0.6970973", "0.6970973", "0.6970973", "0.6970973", "0.6970973", ...
0.0
-1
Tests the "isTypeOf" operation.
@Test public void testIsTypeOf() throws ValueDoesNotMatchTypeException { testTypeKindOf(AnyType.IS_TYPE_OF); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract boolean isTypeOf(ItemType type);", "boolean hasType();", "boolean hasType();", "boolean hasType();", "boolean hasType();", "boolean hasType();", "boolean hasType();", "boolean hasType();", "boolean hasType();", "boolean hasType();", "boolean hasType();", "boolean hasType();", ...
[ "0.75851035", "0.7539132", "0.7539132", "0.7539132", "0.7539132", "0.7539132", "0.7539132", "0.7539132", "0.7539132", "0.7539132", "0.7539132", "0.7539132", "0.7539132", "0.7539132", "0.7539132", "0.7539132", "0.7539132", "0.7539132", "0.7539132", "0.7539132", "0.7539132", ...
0.8434576
0
Tests the "isTypeOf" operation.
@Test public void testIsKindOf() throws ValueDoesNotMatchTypeException { testTypeKindOf(AnyType.IS_KIND_OF); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void testIsTypeOf() throws ValueDoesNotMatchTypeException {\n testTypeKindOf(AnyType.IS_TYPE_OF);\n }", "public abstract boolean isTypeOf(ItemType type);", "boolean hasType();", "boolean hasType();", "boolean hasType();", "boolean hasType();", "boolean hasType();", "boolea...
[ "0.8433963", "0.75862277", "0.75415677", "0.75415677", "0.75415677", "0.75415677", "0.75415677", "0.75415677", "0.75415677", "0.75415677", "0.75415677", "0.75415677", "0.75415677", "0.75415677", "0.75415677", "0.75415677", "0.75415677", "0.75415677", "0.75415677", "0.75415677",...
0.7331375
44
Tests kind/type of as we do not have to consider type inheritance relations.
private static void testTypeKindOf(Operation op) throws ValueDoesNotMatchTypeException { TestEvaluationContext context = new TestEvaluationContext(); DecisionVariableDeclaration decl = new DecisionVariableDeclaration("x", IntegerType.TYPE, null); ConstantValue c0 = new ConstantValue(ValueFactory...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void testIsKindOf() throws ValueDoesNotMatchTypeException {\n testTypeKindOf(AnyType.IS_KIND_OF);\n }", "@Test\n public void testIsTypeOf() throws ValueDoesNotMatchTypeException {\n testTypeKindOf(AnyType.IS_TYPE_OF);\n }", "public void testType() {\n assertTrue( ((O...
[ "0.7304935", "0.65319884", "0.64876026", "0.6325342", "0.62281686", "0.61752033", "0.6078183", "0.5983607", "0.5947522", "0.5938295", "0.588718", "0.58817244", "0.58817244", "0.58817244", "0.58742905", "0.58651596", "0.5854716", "0.5837603", "0.58051085", "0.57848036", "0.578...
0.5824201
18
Returns a long as a byte array.
public static byte[] getLongAsBytes(long l) { return new byte[] { (byte) (l >> 56), (byte) (l >> 48), (byte) (l >> 40), (byte) (l >> 32), (byte) (l >> 24), (byte) (l >> 16), (byte) (l >> 8), (byte) l }; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static byte[] longToBytes(long l) {\n\n ByteBuffer byteBuffer = ByteBuffer.allocate(NUM_BYTES_IN_LONG);\n byteBuffer.putLong(l);\n return byteBuffer.array();\n\n }", "public static byte[] longToBytes(long x) {\n\t ByteBuffer buffer = ByteBuffer.allocate(Long.BYTES);\n\t buffe...
[ "0.74947864", "0.7425163", "0.7161992", "0.69416684", "0.6816421", "0.6795225", "0.6776985", "0.6747312", "0.6649649", "0.6608364", "0.65746397", "0.653996", "0.65319645", "0.6531292", "0.6527978", "0.64334595", "0.6402421", "0.63899547", "0.63899547", "0.63537925", "0.635269...
0.73811543
2
Returns a long from a given byte array.
public static long getBytesAsLong(byte[] b) { return ((long) (b[0] & 0xff) << 56) | ((long) (b[1] & 0xFF) << 48) | ((long) (b[2] & 0xFF) << 40) | ((long) (b[3] & 0xFF) << 32) | ((long) (b[4] & 0xFF) << 24) | ((long) (b[5] & 0xFF) << 16) | ((long) (b[6] & 0xFF) << 8) | ((long) (b[7] & 0xFF)...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static long bytesToLong(byte[] bytes) {\n\n ByteBuffer byteBuffer = ByteBuffer.wrap(bytes);\n return byteBuffer.getLong();\n\n }", "public static long byteArrayToLong(byte[] ba, int offset) {\n long value = 0;\n value = (value << 8) | (ba[offset++] & 0xFF);\n value = ...
[ "0.7419533", "0.7323998", "0.727692", "0.7196713", "0.710844", "0.7060876", "0.6974408", "0.6942432", "0.6922281", "0.6908147", "0.6883488", "0.68794954", "0.6863302", "0.6758233", "0.66495925", "0.66326576", "0.6588479", "0.6532689", "0.6508919", "0.63316214", "0.63076496", ...
0.7567841
0
Returns a short as a byte array.
public static byte[] getShortAsBytes(short s) { return new byte[] { (byte) (s >>> 8), (byte) s }; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static byte[] shortToBytes(short s) {\n\n ByteBuffer byteBuffer = ByteBuffer.allocate(NUM_BYTES_IN_SHORT);\n byteBuffer.putShort(s);\n return byteBuffer.array();\n\n }", "private static byte[] shortToBytes(short value) {\n ByteBuffer bb = ByteBuffer.allocate(2);\n bb....
[ "0.76668525", "0.75819266", "0.7572177", "0.7413529", "0.7339584", "0.7086113", "0.70489746", "0.6819312", "0.68017304", "0.6704444", "0.66723526", "0.6650386", "0.66387534", "0.6612697", "0.6558553", "0.64761645", "0.6459259", "0.64222836", "0.64104235", "0.63974535", "0.637...
0.72983104
5
Returns a short from a given byte array.
public static short getBytesAsShort(byte[] b) { int i = (b[0] & 0xFF << 8) | (b[1] & 0xFF); return (short) i; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static short byteArrayToShort(byte[] ba, int offset) {\n int value = 0;\n value = (value << 8) | (ba[offset++] & 0xFF);\n value = (value << 8) | (ba[offset++] & 0xFF);\n return (short) value;\n }", "public static short bytesToShort(byte[] bytes) {\n\n ByteBuffer byteB...
[ "0.76600844", "0.7522262", "0.7222804", "0.7054048", "0.7016173", "0.69533575", "0.67746454", "0.67418253", "0.66447896", "0.6642779", "0.6642572", "0.6541755", "0.653918", "0.6487107", "0.64172834", "0.6370346", "0.6308067", "0.6296594", "0.62890637", "0.6280358", "0.6256878...
0.7860666
0
/ access modifiers changed from: packageprivate
@AppNameInUserAgent public abstract String assertUserAgentAppName();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private stendhal() {\n\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\n protected void prot() {\n }", "public void method_4270() {}", "@Override\n public void func_104112_b() {\n \n }", "private void m50366E() {\n }", "private void kk12() {\n\n\t}", "public final void mo51373a...
[ "0.71507126", "0.66852754", "0.6558074", "0.6482426", "0.64311445", "0.638545", "0.63839656", "0.63482744", "0.63302624", "0.6277197", "0.62635255", "0.6250569", "0.62368745", "0.6233547", "0.6228953", "0.6197293", "0.6197293", "0.6194772", "0.6184139", "0.6180766", "0.615739...
0.0
-1
Typically do this: Model.of(object) or new DetachableMyClassModel(object)
protected abstract IModel<T> createModel(T object);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "InstanceModel createInstanceOfInstanceModel();", "CsticModel createInstanceOfCsticModel();", "public T caseModel(Model object)\n {\n return null;\n }", "public T caseModel(Model object)\n {\n return null;\n }", "public T caseModel(Model object)\n {\n return null;\n }", "private Model(){}",...
[ "0.67289805", "0.63542163", "0.63222736", "0.63222736", "0.63222736", "0.6221129", "0.6020133", "0.6011245", "0.597342", "0.597342", "0.597342", "0.597342", "0.597342", "0.597342", "0.597342", "0.5950602", "0.5885165", "0.58635736", "0.58635736", "0.58635736", "0.581233", "...
0.6573964
1
Builds a filter which will be useful for most tables. If user searches for "John Doe", the filter will accept properties with exact or partial match, such as name="John Doe Smith". But it will also accept records such as firstname="John Mayer", lastname="Doe". Make sure to separate property names properly, or an except...
public Filter getStandardOrFilter(String filterText, String[] caseInsensitivePropertyNames, String[] otherPropertyNames) { if (StringUtils.isBlank(filterText)) { return null; } String[] filterTextElements = StringUtils.split(filterText, ' '); Or[] ors = new Or[filterTextElements.length]; for (int f = 0; f ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static String constructFilter(Map<String, String> properties) {\r\n\r\n String filter = null;\r\n StringBuffer filterBuffer = new StringBuffer();\r\n\r\n if (properties != null && properties.size() > 0) {\r\n filterBuffer.append(\"(&\");\r\n\r\n Map<String, String>...
[ "0.5798781", "0.5795605", "0.54588926", "0.5212608", "0.5201706", "0.51462895", "0.51443833", "0.5115016", "0.511203", "0.50304717", "0.5000126", "0.49820855", "0.48654228", "0.48506194", "0.48455593", "0.48110625", "0.47986513", "0.47749174", "0.47524858", "0.47396034", "0.4...
0.6435215
0
is it ok that this vRioariable is static?
public static void main( String[] args) { NetworkTable piVals = NetworkTable.getTable("piTable"); double startPro = 0; long startMills = Instant.now().toEpochMilli(); //double start = System.currentTimeMillis(); // String address = "roboRIO-5822-FRC.local"; System.loadLibrary...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static void staticFun()\n {\n }", "@Override\n\tpublic boolean isStatic() {\n\t\treturn false;\n\t}", "public static void isStatic() {\n\n }", "public default boolean isStatic() {\n\t\treturn false;\n\t}", "boolean isStatic();", "boolean isStatic();", "public static void staticMethod()...
[ "0.67529297", "0.66404265", "0.6540382", "0.6520649", "0.6494737", "0.6494737", "0.6396799", "0.6194807", "0.6192647", "0.6173344", "0.6080724", "0.60466135", "0.6043298", "0.6038705", "0.6036825", "0.6031397", "0.6014424", "0.6006058", "0.59923553", "0.59923553", "0.59918135...
0.0
-1
This method was generated by MyBatis Generator. This method corresponds to the database table version_info
public VersionInfoExample() { oredCriteria = new ArrayList<Criteria>(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getVersion() {\n String sql = \"SELECT * FROM \" + tableName;\n\n return query(new QueryAllStatement<Integer>(sql) {\n @Override\n public Integer processResults(ResultSet set) throws SQLException {\n set.next();\n return set.getInt(VERSION_COL);...
[ "0.6828705", "0.6393162", "0.63825506", "0.63770574", "0.6367192", "0.6221846", "0.6067397", "0.6065189", "0.6023013", "0.5983748", "0.5972557", "0.5955663", "0.5955663", "0.5955663", "0.5955663", "0.5955663", "0.5937606", "0.588693", "0.5879829", "0.58024454", "0.5791238", ...
0.5589867
76
This method was generated by MyBatis Generator. This method corresponds to the database table version_info
public void setOrderByClause(String orderByClause) { this.orderByClause = orderByClause; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getVersion() {\n String sql = \"SELECT * FROM \" + tableName;\n\n return query(new QueryAllStatement<Integer>(sql) {\n @Override\n public Integer processResults(ResultSet set) throws SQLException {\n set.next();\n return set.getInt(VERSION_COL);...
[ "0.68282694", "0.6391548", "0.638283", "0.63750577", "0.6366563", "0.6221217", "0.60655916", "0.6064851", "0.60234106", "0.5982685", "0.5973177", "0.5954892", "0.5954892", "0.5954892", "0.5954892", "0.5954892", "0.59384537", "0.58872634", "0.5878296", "0.5800361", "0.5790003"...
0.0
-1
This method was generated by MyBatis Generator. This method corresponds to the database table version_info
public String getOrderByClause() { return orderByClause; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getVersion() {\n String sql = \"SELECT * FROM \" + tableName;\n\n return query(new QueryAllStatement<Integer>(sql) {\n @Override\n public Integer processResults(ResultSet set) throws SQLException {\n set.next();\n return set.getInt(VERSION_COL);...
[ "0.6828057", "0.6392046", "0.6381866", "0.6375635", "0.6367022", "0.6221832", "0.60662436", "0.6063608", "0.6022423", "0.5981807", "0.5971875", "0.5953997", "0.5953997", "0.5953997", "0.5953997", "0.5953997", "0.5935702", "0.5886104", "0.5878172", "0.5801646", "0.57899404", ...
0.0
-1