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
Total Product in Cart
@ModelAttribute("TotalProduct") public int totalProduct(Authentication authentication){ int total = 0; if (authentication != null){ String emailName = authentication.getName(); User user = userService.getUserFindByEmail(emailName); List<Cart> listCart = user.getLi...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private double totalPrice(){\n\n double sum = 0;\n\n for (CarComponent carComponent : componentsCart) {\n sum += (carComponent.getCompPrice() * carComponent.getCompQuantity()) ;\n }\n return sum;\n }", "void calculateTotalPrice(){\n totalPrice = 0;\n cartCo...
[ "0.78003865", "0.7727704", "0.7620494", "0.751521", "0.75042367", "0.74948335", "0.7493079", "0.72967637", "0.7269469", "0.7253282", "0.7207012", "0.71750164", "0.71462995", "0.70980275", "0.7075874", "0.7040019", "0.69911265", "0.6968401", "0.6947225", "0.69389665", "0.68920...
0.72894627
8
constructor which initializes the words
public Removalstops() { stopWords.add("am"); stopWords.add("my"); stopWords.add("at"); stopWords.add("a"); stopWords.add("i"); stopWords.add("is"); stopWords.add("of"); stopWords.add("have"); stopWords.add("--"); stopWords.add("do"); stopWords.add("the"); stopWords.add("was"); stopWords.add("iam"); st...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public WordGenerator()\n {\n adjective1a = new ArrayList<String>();\n adjective1b = new ArrayList<String>();\n adjective1c = new ArrayList<String>();\n adjective2a = new ArrayList<String>();\n adjective2b = new ArrayList<String>();\n adjective2c = new ArrayList<String>();\n fillAdjectives();\...
[ "0.76317644", "0.7545281", "0.7545281", "0.7545281", "0.752353", "0.74651843", "0.74460554", "0.74453956", "0.74395007", "0.743902", "0.74243635", "0.74038893", "0.7381507", "0.73439866", "0.7340342", "0.72289604", "0.7189924", "0.7045309", "0.701709", "0.6976395", "0.6968872...
0.60988116
88
contans method of collection list will be called to check for possible presence of the String s
public int removings(String s) { if(stopWords.contains(s)) { return 1; } else { return 0; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private boolean stringContainsList(String s, ArrayList<String> list){\n\t\tboolean flag = true;\n\t\tfor(String temp : list){\n\t\t\tif(!s.contains(temp)){\n\t\t\t\tflag = false;\n\t\t\t\treturn flag;\n\t\t\t}\n\t\t}\n\t\treturn flag;\n\t}", "public boolean containsCaseInsensitive(String s, List<String> l) {\n\t...
[ "0.68409455", "0.6215611", "0.6161457", "0.6133119", "0.6133119", "0.6133119", "0.59894645", "0.59720945", "0.59363633", "0.5933077", "0.5824974", "0.58187085", "0.58100516", "0.5793222", "0.5773933", "0.57527435", "0.5740498", "0.5738124", "0.57380855", "0.57257605", "0.5725...
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.menu_set_location, 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
Create a method that will accept a String ArrayList and return the largest Palindrome String from it => Assume there is no Strings with the same length and there will be at least one element > "dad" "abcab", "racecar","cat"
public static void main(String[] args) { ArrayList<String> list = new ArrayList<>(Arrays.asList("racecar","dad","abcab","cat","level","Kayak")); System.out.println(largestPalindrome(list)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static String maxString(ArrayList<String> array){\n \n String max = \"\";\n for(String s:array){\n \n if(s.length() > max.length()){\n max = s;\n }\n }\n return max;\n }", "public String longestPalindrome(String s) {\n ...
[ "0.73311", "0.7234848", "0.6996195", "0.6908244", "0.6871052", "0.68420386", "0.6692585", "0.6675967", "0.6605912", "0.6585878", "0.65284854", "0.65213156", "0.64810216", "0.6410742", "0.6385728", "0.6380318", "0.6301657", "0.62989426", "0.6273812", "0.61934704", "0.6188538",...
0.7626517
0
It is not permitted to access localStorage from data URLs in WebKit, that is why a standalone page must be used.
@Override protected void doEnsureSettingHasValue(Boolean value) throws Throwable { loadUrlSyncByContent(mXWalkContent, client, UrlUtils.getTestFileUrl("xwalkview/localStorage.html")); assertEquals( value == ENABLED ? HAS_LOCAL_STORAGE : NO_LOCAL_STORAG...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void loadFromLocalStorage() {\n\t\t\n\t}", "public boolean isLocalStorageOnly() {\n\t\treturn this.localStorageOnly;\n\t}", "@Test\n public void deleteCertainLocalStorageEntry() {\n assertThat(localStorage.isItemPresentInLocalStorage(\"logged-in\"), is(true));\n\n // delete certain loca...
[ "0.6432849", "0.563519", "0.52302235", "0.5143447", "0.51386887", "0.51223695", "0.507356", "0.49503624", "0.49393168", "0.48246297", "0.48144436", "0.4808502", "0.47672898", "0.47575352", "0.4743501", "0.47149423", "0.46926126", "0.4687224", "0.4677675", "0.46204713", "0.461...
0.46467233
19
Verifies the following statements about a setting: initially, the setting has a default value; the setting can be switched to an alternate value and back; switching a setting in the first XWalkView doesn't affect the setting state in the second XWalkView and vice versa.
private void runPerViewSettingsTest(XWalkViewSettingsTestHelper helper0, XWalkViewSettingsTestHelper helper1) throws Throwable { helper0.ensureSettingHasInitialValue(); helper1.ensureSettingHasInitialValue(); helper1.setAlteredSettingValue(); helper0.ensureSettingHasInitialV...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void doEnsureSettingHasValue(Boolean value) throws Throwable {\n loadUrlSyncByContent(mXWalkContent, client,\n UrlUtils.getTestFileUrl(\"xwalkview/localStorage.html\"));\n assertEquals(\n value == ENABLED ? HAS_LOCAL_STORAGE : NO_...
[ "0.6471014", "0.5850698", "0.5757064", "0.5640055", "0.5640055", "0.563485", "0.55121064", "0.5422894", "0.54154885", "0.5399301", "0.5397221", "0.5386553", "0.5380976", "0.53643787", "0.53518915", "0.535105", "0.53484994", "0.5329194", "0.53243345", "0.5268838", "0.5268826",...
0.5963632
1
Returns the jobs that need to be finished before this job can start.
public List<IJob> getDependentJobs();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String[] getJobsWaiting();", "protected boolean isAllJobsFinished() {\r\n \tIterator<Progress> jobsIterator = JobManager.iterator();\r\n \twhile (jobsIterator.hasNext()) {\r\n \t\tProgress job = jobsIterator.next();\r\n\t\t\tif (!job.isFinished()) {\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t}\r\...
[ "0.7177362", "0.6680803", "0.6514374", "0.6335534", "0.631715", "0.62728906", "0.61331886", "0.60892916", "0.6070152", "0.6033269", "0.60328674", "0.60278535", "0.59960884", "0.5992463", "0.59590894", "0.5931089", "0.59040964", "0.5878783", "0.5874314", "0.5851098", "0.584157...
0.60402524
9
Adds a job that needs to finish before this job may start.
public void addDependentJob(IJob job);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addJob(Job job) {\n try {\n JobWrapper jobWrapper = new JobWrapper(agentManager, job);\n this.runningPool.execute(jobWrapper);\n JobWrapper jobWrapperRet = jobs.putIfAbsent(jobWrapper.getJob().getJobInstanceId(), jobWrapper);\n if (jobWrapperRet != nul...
[ "0.6681832", "0.6351056", "0.62753475", "0.6196435", "0.6194454", "0.6150569", "0.614364", "0.6005471", "0.59747636", "0.5910057", "0.5906634", "0.57773614", "0.57212913", "0.57063234", "0.5683407", "0.5644586", "0.5557729", "0.55552304", "0.55129915", "0.5477491", "0.5385164...
0.691167
0
Check whether this job depends upon completion of a given job.
public boolean dependsOn(IJob job);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isComplete() {\n return addedFrontWork.size() == 0 && addedBackWork.size() == 0 && sawAllDone.get();\n }", "boolean hasIsComplete();", "boolean hasIsComplete();", "public boolean isComplete();", "boolean isComplete();", "boolean isComplete();", "public abstract boolean isComplete();"...
[ "0.6515193", "0.6494356", "0.6494356", "0.6476991", "0.64670855", "0.64670855", "0.6427258", "0.64112407", "0.63819104", "0.63627076", "0.6221201", "0.6208649", "0.6206375", "0.6183525", "0.61722565", "0.616471", "0.6161818", "0.6160164", "0.6139201", "0.6132365", "0.6131907"...
0.72251797
0
Sets this job's status.
public void setStatus(JobStatus status);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public JobBuilder status(String status) {\r\n job.setStatus(status);\r\n return this;\r\n }", "@Override\n\tpublic void setJobStatus(int jobStatus) {\n\t\tmodel.setJobStatus(jobStatus);\n\t}", "public void setJobStatus(Integer jobStatus) {\n this.jobStatus = jobStatus;\n }", "publi...
[ "0.7566642", "0.7523746", "0.7373603", "0.7284003", "0.7245662", "0.7223006", "0.7223006", "0.7209716", "0.7155464", "0.7128999", "0.7082381", "0.70809084", "0.70809084", "0.70809084", "0.70809084", "0.707594", "0.7059714", "0.69968605", "0.6987676", "0.6956856", "0.6944969",...
0.79965407
0
Returns this job's status.
public JobStatus getStatus();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getJobStatus() {\n return this.jobStatus;\n }", "public String getJobStatus() {\n return this.jobStatus;\n }", "public Integer getJobStatus() {\n return jobStatus;\n }", "@Override\n\tpublic int getJobStatus() {\n\t\treturn model.getJobStatus();\n\t}", "public Ba...
[ "0.85423046", "0.85423046", "0.85340554", "0.8388121", "0.77300495", "0.7728615", "0.77193755", "0.76963156", "0.7669666", "0.7662213", "0.7662213", "0.7656077", "0.7633794", "0.7632721", "0.7632721", "0.7632721", "0.7632721", "0.76322865", "0.76175785", "0.7615849", "0.76158...
0.8664146
0
Tests whether this job has a given status.
public boolean hasStatus(JobStatus... s);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean hasStatus();", "boolean hasStatus();", "boolean hasStatus();", "boolean hasStatus();", "boolean hasStatus();", "boolean hasStatus();", "boolean hasStatus();", "boolean hasStatus();", "boolean hasStatus();", "boolean hasStatus();", "boolean hasStatus();", "boolean hasStatus();", "boo...
[ "0.7572556", "0.7572556", "0.7572556", "0.7572556", "0.7572556", "0.7572556", "0.7572556", "0.7572556", "0.7572556", "0.7572556", "0.7572556", "0.7572556", "0.7572556", "0.7572556", "0.7572556", "0.7572556", "0.7572556", "0.7572556", "0.7572556", "0.7572556", "0.7572556", "...
0.74003917
22
Sets the starting date for this job. This method may only be invoked on simple jobs (since complex ones have a derived starting date).
public void setStartDate(Date s);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setJobStartDate(java.util.Calendar jobStartDate)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(JOBSTARTDATE$0...
[ "0.7128164", "0.7120039", "0.70592314", "0.7015252", "0.6966485", "0.6948013", "0.69434994", "0.6930108", "0.6904005", "0.6814306", "0.6814306", "0.6814241", "0.6814241", "0.6799098", "0.6799098", "0.67974377", "0.6786373", "0.67416805", "0.67416805", "0.67410254", "0.6741025...
0.676667
17
Returns the date range this job covers.
public DateRange getDateRange();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public RangeDate<Vente> getDateRange() {\n return dateRange;\n }", "public Range<LocalDate> getWorkingRange() {\n return Range.closedOpen(effectDate, endDate.plusDays(1));\n }", "public java.lang.String CC_GetCurrentJobsInRange(java.lang.String accessToken, java.lang.String CCCode, java.uti...
[ "0.6521775", "0.6298984", "0.5734006", "0.57059985", "0.5695888", "0.5667368", "0.5574338", "0.55228627", "0.55228627", "0.55085593", "0.5499656", "0.5499656", "0.54893124", "0.548804", "0.5463102", "0.543574", "0.5417771", "0.5417771", "0.5341884", "0.53298444", "0.5317034",...
0.6972046
0
Returns the earliest starting date of this job. For simple jobs, this is their assigned start date , for complex jobs this is the latest earliest finishing date of all jobs this job depends on.
public Date getEarliestStartDate();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public java.util.Calendar getJobStartDate()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(JOBSTARTDATE$0, 0);\r\n ...
[ "0.71748835", "0.7101853", "0.69593406", "0.69235456", "0.66323185", "0.6450474", "0.6437956", "0.64069664", "0.63922244", "0.63773495", "0.63483953", "0.6347069", "0.6346586", "0.633288", "0.63320535", "0.6316887", "0.6291536", "0.62790215", "0.62682396", "0.62682396", "0.61...
0.7219706
0
Returns the earliest finishing date of this job. For simple jobs, this is always ( startDate + duration ) , for complex jobs this is the latest earliest finishing date of all jobs this job depends on plus the duration of THIS job.
public Date getEarliestFinishingDate();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public java.util.Calendar getJobStartDate()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(JOBSTARTDATE$0, 0);\r\n ...
[ "0.58967966", "0.57112104", "0.56902945", "0.5677016", "0.5606714", "0.54683614", "0.5463855", "0.5313274", "0.53066975", "0.5266633", "0.5169976", "0.5148927", "0.5148927", "0.5148927", "0.51147044", "0.5105353", "0.5102433", "0.5097567", "0.5088494", "0.50677425", "0.505639...
0.691803
0
Returns the starting date for this job. For simple jobs, this method returns the assigned starting date. For complex jobs, this method returns the latest earliest finishing date of all jobs this job depends on.
public Date getStartDate();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public java.util.Calendar getJobStartDate()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(JOBSTARTDATE$0, 0);\r\n ...
[ "0.71367854", "0.69423455", "0.6853797", "0.6602818", "0.6580886", "0.6521579", "0.6455583", "0.6383539", "0.6376674", "0.6336285", "0.63103", "0.6302179", "0.6302179", "0.62962127", "0.6263172", "0.62584823", "0.62584823", "0.62584823", "0.6256979", "0.62000024", "0.616883",...
0.6125648
25
Returns the end date of this job.
public Date getEndDate();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Date get_end() {\n\t\treturn this.end;\n\t}", "public Date getEND_DATE() {\n return END_DATE;\n }", "public java.util.Date getEndDateTime() {\n return this.endDateTime;\n }", "public Date getDtEnd() {\r\n return dtEnd;\r\n }", "Date getEndDate();", "Date getEndDate();...
[ "0.7988641", "0.78171223", "0.76322806", "0.7603597", "0.7599495", "0.7599495", "0.7536575", "0.7536575", "0.7529459", "0.7524007", "0.75180686", "0.7515679", "0.75018394", "0.75018394", "0.7491063", "0.7472225", "0.7472225", "0.74268705", "0.74069047", "0.74069047", "0.74013...
0.728668
42
Returns the duration left for this job after a given date. this.earliestFinishingDate startDate: Duration.ZERO this.earliestStartDate
public Duration getDurationFrom(Date startDate);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Date getEarliestFinishingDate();", "private long remainingTime() {\n final long remainingTime = this.designatedEnd - System.currentTimeMillis();\n return remainingTime >= 0 ? remainingTime : 0L;\n }", "public double getTimeRemaining() {\n\t\treturn (startingTime + duration) - System.cur...
[ "0.6189672", "0.591915", "0.5728432", "0.5676512", "0.5625077", "0.5553205", "0.5509251", "0.5464718", "0.5409707", "0.5394465", "0.5392943", "0.5364012", "0.5323414", "0.53233683", "0.52727324", "0.5212036", "0.519653", "0.5191852", "0.51477927", "0.5143422", "0.5143386", ...
0.60969573
1
Returns the amount of time this job will be running within a given date range.
public Duration getDurationWithin(Date startDate,Date endDate);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private int jobLength(){\n LocalDate completedLocalDate = LocalDate.of(this.dateCompleted.getYear(), \n this.dateCompleted.getMonth(), this.dateCompleted.getDay());\n \n LocalDate startedLocalDate = LocalDate.of(this.dateStarted.getYear(), \n this.dateStarted.getM...
[ "0.7275362", "0.64303106", "0.6348111", "0.6343276", "0.60793304", "0.60449994", "0.58706474", "0.58270323", "0.5705635", "0.5679516", "0.56726575", "0.5659141", "0.56532675", "0.56461376", "0.5603532", "0.55935585", "0.557757", "0.5564722", "0.5564722", "0.5564722", "0.55563...
0.56277126
14
Sets the number of runs for this job.
public void setRuns(int runs);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void setNumIterations(long aNumIterations) {\n\t\tnumIterations = aNumIterations;\n\t}", "public void setNumberOfThreads(java.lang.Integer value) {\n __getInternalInterface().setFieldValue(NUMBEROFTHREADS_PROP.get(), value);\n }", "public void setCount(int value) {\n this.count = v...
[ "0.6583286", "0.6467417", "0.6464881", "0.6464881", "0.6464881", "0.645911", "0.642307", "0.640822", "0.62286115", "0.62242293", "0.62103945", "0.6174532", "0.6142292", "0.6119449", "0.6118695", "0.610326", "0.60732037", "0.6004384", "0.59584045", "0.5957794", "0.5955126", ...
0.75171363
0
Returns the number of runs for this job.
public int getRuns();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getRunCount() {\n return runCount;\n }", "public int getRuns() {\n return runs;\n }", "int getJobsCount();", "int getJobsCount();", "int getJobsCount();", "public int getRunningCount() {\r\n return root.getRunningCount();\r\n }", "public int getJobsCount() {\n if...
[ "0.7970634", "0.72963554", "0.7231412", "0.7231412", "0.7231412", "0.7177844", "0.7152409", "0.71466005", "0.69840825", "0.68992156", "0.689172", "0.6858557", "0.6839551", "0.6834342", "0.6828573", "0.6678514", "0.66291076", "0.65926707", "0.6563525", "0.65588313", "0.6553389...
0.6873773
11
Check whether this job runs at a given date.
public boolean runsAt(Date date);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean runsOn( GTFSDate date ) {\n\t\tif( date.before( this.start_date) ) {\n\t\t\tthrow new DateOutOfBoundsException( date+\" is before period start \"+this.start_date );\n\t\t}\n\t\tif( date.after( this.end_date) ) {\n\t\t\tthrow new DateOutOfBoundsException( date+\" is after period end \"+this.end_date ...
[ "0.6749698", "0.6493765", "0.6431125", "0.6407519", "0.6257213", "0.6079819", "0.6049049", "0.6034329", "0.5982598", "0.5978201", "0.5932894", "0.5884687", "0.58718055", "0.5869946", "0.58367175", "0.58059853", "0.5800854", "0.57784724", "0.5776476", "0.57750404", "0.57750404...
0.75699353
0
Snackbar.make(view, "Replace with your own action", Snackbar.LENGTH_LONG) .setAction("Action", null).show();
@Override public void onClick(View view) { finish(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void onClick(View v) {\n Snackbar.make(v, \"I'm dead! =(\", Snackbar.LENGTH_LONG)\n .setAction(\"Action\", null).show();\n }", "private void showSnackbarMessage(String message){\n if(view != null){\n Snackbar.make(view, message, Sna...
[ "0.77849233", "0.73431313", "0.7312924", "0.7308021", "0.71119523", "0.70179576", "0.6977823", "0.693279", "0.6817242", "0.67794555", "0.6773066", "0.6769153", "0.66969097", "0.66901416", "0.6535203", "0.6526453", "0.6526107", "0.64990896", "0.64981586", "0.64537144", "0.6414...
0.0
-1
lay thong tin nhap vao
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { String Name = request.getParameter("name"); String Sign = request.getParameter("message"); Connection c = null; try { String url = "jdbc:mysql://localhost/web";//tên cơ sở ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n public void prenderVehiculo() {\r\n System.out.println(\"___________________________________________________\");\r\n System.out.println(\"prender Jet\");\r\n }", "protected String elaboraTemplateAvviso() {\n String testo = VUOTA;\n String dataCorrente = date.get()...
[ "0.63565624", "0.610558", "0.59946495", "0.5911207", "0.5875492", "0.58704853", "0.58654654", "0.58617264", "0.5850475", "0.5835929", "0.58347154", "0.5799119", "0.5796253", "0.57574797", "0.57555", "0.573677", "0.57272094", "0.572118", "0.5696788", "0.5689428", "0.5674572", ...
0.0
-1
Created by huhui on 2017/12/4.
public interface BodyChangeDao { BodyChange insert(BodyChange item); List<BodyChange> query(BodyChange item); void update(BodyChange item); void delete(BodyChange item); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "private stendhal() {\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "private sta...
[ "0.61636144", "0.6075055", "0.5863244", "0.5862687", "0.5862687", "0.5858016", "0.5852642", "0.57735246", "0.57511383", "0.5719338", "0.57013124", "0.56729686", "0.566446", "0.5662652", "0.5658032", "0.5657187", "0.56427747", "0.5640243", "0.5638284", "0.56135803", "0.5594748...
0.0
-1
/ working ?? need to explore more
private void deleteFun() throws IOException { String jsonObject = "{\"age\":10,\"dateOfBirth\":1471455886564,\"fullName\":\"Johan Doe\"}"; IndexRequest indexRequest = new IndexRequest("people"); indexRequest.source(jsonObject, XContentType.JSON); IndexResponse response = client.index(in...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static void cajas() {\n\t\t\n\t}", "public void gored() {\n\t\t\n\t}", "private void strin() {\n\n\t}", "public void mo38117a() {\n }", "private void kk12() {\n\n\t}", "public void mo4359a() {\n }", "public static void listing5_14() {\n }", "public void verliesLeven() {\r\n\t...
[ "0.5930778", "0.5622956", "0.55912006", "0.5532744", "0.5530062", "0.5493049", "0.54592973", "0.54320073", "0.54135466", "0.5406912", "0.5367334", "0.53475296", "0.5336092", "0.53123367", "0.53123367", "0.53123367", "0.53123367", "0.53123367", "0.53123367", "0.53123367", "0.5...
0.0
-1
protected boolean encrypted = false;
public Delivery(Signer from, Signer to, ItemComponent[] payload) { super(from, to, payload); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setEncrypted(Boolean encrypted) {\n this.encrypted = encrypted;\n }", "@Override\n\tpublic boolean isEncrypted() {\n\t\treturn encrypted;\n\t}", "public Boolean getEncrypted() {\n return this.encrypted;\n }", "public Boolean isEncrypted() {\n return this.isEncrypted;\n ...
[ "0.79655135", "0.7954927", "0.78772014", "0.77222955", "0.7679619", "0.7623316", "0.73567635", "0.7292949", "0.72892237", "0.71734375", "0.7133768", "0.6928598", "0.69281733", "0.66835177", "0.6633175", "0.66237795", "0.6605209", "0.65588653", "0.65438503", "0.64788747", "0.6...
0.0
-1
Called when connection has been established.
default void onConnect(SessionID sessionID) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void connectionEstablished() {}", "void connectionCreated();", "@Override\n\tpublic void connectionReady() {\n\t}", "void handleConnectionOpened();", "protected void onConnect() {}", "@Override\n protected void connectionEstablished()\n {\n peer.resetConnectionClosed();\n\n ...
[ "0.8492044", "0.7516248", "0.74815464", "0.738944", "0.71728647", "0.7161124", "0.70888954", "0.70213205", "0.6942289", "0.67794085", "0.6763725", "0.6748702", "0.67456067", "0.6723586", "0.66949964", "0.66802084", "0.6622446", "0.6601249", "0.6594747", "0.6526734", "0.651439...
0.0
-1
Called when Exception occurs during connection establishment.
default void onConnectException(SessionID sessionID, Exception exception) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void connectionException(Exception exception) {}", "protected void onConnectionError() {\n\t}", "public void onConnectionError()\n\t\t{\n\t\t}", "protected void connectionEstablished() {}", "@Override\n \tpublic void reconnectionFailed(Exception arg0) {\n \t}", "@Override\n public void onCon...
[ "0.7931323", "0.75646573", "0.74903196", "0.710404", "0.6930894", "0.69232786", "0.68617195", "0.6848217", "0.6834907", "0.68196", "0.68081343", "0.6806007", "0.680529", "0.68050885", "0.67966354", "0.67800575", "0.67800575", "0.6777934", "0.6776461", "0.6773717", "0.6742876"...
0.7039803
4
Called when connection has been disconnected.
default void onDisconnect(SessionID sessionID) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected void onDisconnection();", "@Override\r\n\t\tpublic void onDisconnect(Connection connection) {\n\r\n\t\t}", "public void onDisconnected() {\n\t\t\r\n\t}", "protected void connectionClosed() {}", "@Override\n\t\tpublic void disconnected() {\n\t\t\tsuper.disconnected();\n\t\t}", "protecte...
[ "0.78942424", "0.7806365", "0.7796237", "0.7784061", "0.77489716", "0.77020174", "0.7673925", "0.76683074", "0.75618285", "0.7477465", "0.7468693", "0.7401639", "0.73988926", "0.73829365", "0.7375514", "0.73417044", "0.73417044", "0.73417044", "0.73257524", "0.7310935", "0.73...
0.6755317
94
Called when session has been logged on.
default void onLogon(SessionID sessionID) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void loggedInUser() {\n\t\t\n\t}", "@Override\n public void onLoggedIn() {\n\n }", "public void sessionStarted() {\n\t\t\r\n\t}", "@Override\n\tpublic void onExpiration(Session session) {\n\t\tlogger.info(\"onExpiration session created:id= {}, begin at {}\", session.getId(), session.getStartTim...
[ "0.761498", "0.7499068", "0.7459579", "0.723292", "0.72292686", "0.72271913", "0.7035033", "0.6963756", "0.67983747", "0.6776629", "0.67624533", "0.67376614", "0.67230266", "0.6697242", "0.66916513", "0.6673581", "0.6632087", "0.661402", "0.6610933", "0.66074634", "0.65772814...
0.7152776
6
Called when session has been logged out.
default void onLogout(SessionID sessionID) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void onLogout() {\n ParseUser.logOut();\n\n promptForLogin();\n }", "@Override\n public void Logout() {\n\t \n }", "protected void userLoggedOut() {\n\t\tRuvego.userLoggedOut();\n\t\tResultsActivityMenu.userLoggedOut();\n\t\tHistory.newItem(\"homePage\");\n\t}", "public void ...
[ "0.7863422", "0.78321195", "0.7819526", "0.777534", "0.7723557", "0.7705316", "0.7665859", "0.762099", "0.76110315", "0.7600107", "0.75988626", "0.75864846", "0.7561399", "0.749089", "0.7467234", "0.7465573", "0.74619097", "0.7413564", "0.73517054", "0.7349272", "0.7333487", ...
0.7647458
7
Called when message store gets reset.
default void onReset(SessionID sessionID) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void onReset() {\n\t\t\n\t}", "protected void onReset() {\n // Do nothing.\n }", "void resetMessageCounter();", "public abstract void onReset();", "protected void reset() {\n\t\t}", "public synchronized void reset() {\n }", "public void reset() {\n mNewNotificationCount.setV...
[ "0.73435986", "0.71965784", "0.71077156", "0.70964855", "0.7094889", "0.70941925", "0.6976226", "0.6936676", "0.6930406", "0.6929767", "0.6928396", "0.6927588", "0.6907409", "0.68977255", "0.6895859", "0.6866112", "0.68589467", "0.68529665", "0.6851944", "0.6851944", "0.68519...
0.0
-1
Called when message store gets refreshed on Logon.
default void onRefresh(SessionID sessionID) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\t\t\t\t\tpublic void onLoginedNotify() {\n\t\t\t\t\t\tTypeSDKLogger.d( \"onLoginedNotify\");\r\n\t\t\t\t\t\thaimaLogout();\r\n\t\t\t\t\t\thaimaLogin();\r\n\t\t\t\t\t}", "@Override\n public void onRefresh() {\n getUserOnlineStatus();\n }", "@Override\n publi...
[ "0.68171227", "0.65946573", "0.6466719", "0.6415033", "0.6374217", "0.6288839", "0.6264505", "0.6260454", "0.6258225", "0.62326914", "0.621107", "0.61946577", "0.61758393", "0.61468905", "0.6141279", "0.6134784", "0.60604376", "0.6022782", "0.6020633", "0.59928197", "0.596053...
0.65825117
2
Called when TestRequest is sent out due to missed Heartbeat.
default void onMissedHeartBeat(SessionID sessionID) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void clearHeartBeatReq() {\n if (reqCase_ == 5) {\n reqCase_ = 0;\n req_ = null;\n }\n }", "private void onResponseTimerTick()\r\n {\r\n EneterTrace aTrace = EneterTrace.entering();\r\n try\r\n {\r\n cleanAfterConnection(true, true);\r\n ...
[ "0.63088906", "0.6176145", "0.61443233", "0.6087532", "0.60359746", "0.59296685", "0.5922922", "0.58738273", "0.58702844", "0.5814599", "0.5734029", "0.56837213", "0.5650881", "0.56139016", "0.55828", "0.55673945", "0.5557639", "0.5521713", "0.55182457", "0.549323", "0.545842...
0.63578284
0
Called when Heartbeat timeout has been detected.
default void onHeartBeatTimeout(SessionID sessionID) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void onTimeout() {\n }", "public abstract void onTimeout();", "public void onTimeout();", "public void handleTimeout();", "protected void pktTimeout() {}", "public void onSupperTimeout() {\r\n }", "public void handleScreenOnTimeout() {\n this.mTimeoutSummary = getTimeoutSumma...
[ "0.7574952", "0.726323", "0.72381973", "0.70758307", "0.68770725", "0.668706", "0.657048", "0.6552639", "0.6436093", "0.64036065", "0.6294234", "0.62845653", "0.62836677", "0.6175646", "0.6168772", "0.616702", "0.6142469", "0.6142045", "0.61108047", "0.610466", "0.6100311", ...
0.726559
1
Called when ResendRequest has been sent out.
default void onResendRequestSent(SessionID sessionID, int beginSeqNo, int endSeqNo, int currentEndSeqNo) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void onEndRequest()\n\t{\n\t}", "default void onResendRequestSatisfied(SessionID sessionID, int beginSeqNo, int endSeqNo) {\n }", "private void resendWorkaround() {\r\n synchronized(waiters) {\r\n if(waiters.size() > 0 && lastResponseNumber == responseNumber && System.currentTimeMillis...
[ "0.7494426", "0.69340855", "0.6348945", "0.62151957", "0.6177305", "0.6166391", "0.6120384", "0.6020673", "0.5990015", "0.5971722", "0.5965052", "0.59644735", "0.5841522", "0.5839279", "0.58293957", "0.58202314", "0.57939965", "0.57657737", "0.5744126", "0.5724585", "0.572200...
0.7323159
1
Called when SequenceReset has been received.
default void onSequenceResetReceived(SessionID sessionID, int newSeqNo, boolean gapFillFlag) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void onReset() {\n\t\t\n\t}", "public abstract void onReset();", "@Override\n public void onSequenceFinish() {\n // Yay\n }", "protected void reset()\n {\n super.reset();\n m_seqNum = 1;\n }", "protected void resetSe...
[ "0.7212865", "0.70500946", "0.686983", "0.6777949", "0.67389596", "0.6730774", "0.66415817", "0.64606816", "0.6395883", "0.6391631", "0.63213414", "0.62481713", "0.6214514", "0.6052229", "0.6036555", "0.6014019", "0.5991097", "0.5990774", "0.59222627", "0.5910617", "0.5908760...
0.7918256
0
Called when a received ResendRequest has been satisfied.
default void onResendRequestSatisfied(SessionID sessionID, int beginSeqNo, int endSeqNo) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "default void onResendRequestSent(SessionID sessionID, int beginSeqNo, int endSeqNo, int currentEndSeqNo) {\n }", "protected void onEndRequest()\n\t{\n\t}", "@Override\n\t\t\t\tpublic void onResponseReceived(Request request, Response response) {\n\t\t\t\t\t\n\t\t\t\t}", "@Override\n public void onFinish...
[ "0.71368885", "0.6365326", "0.59773153", "0.59692067", "0.5937826", "0.59342563", "0.58370596", "0.58020896", "0.579093", "0.57450473", "0.5740051", "0.57288337", "0.5709335", "0.5703514", "0.5703514", "0.5695713", "0.5674489", "0.56217724", "0.5596914", "0.5576879", "0.55618...
0.7655993
0
By default Espresso Intents does not stub any Intents. Stubbing needs to be setup before every test run. In this case all external Intents will be blocked.
@Before public void stubAllExternalIntents() { intending(not(isInternal())).respondWith(new Instrumentation.ActivityResult(Activity.RESULT_OK, null)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Before\n public void stubAllExternalIntents() {\n intending(not(isInternal()))\n .respondWith(new Instrumentation.ActivityResult(Activity.RESULT_OK, null));\n }", "@Before\n public void stubAllExternalIntents() {\n intending(not(isInternal()))\n .respondWith(...
[ "0.81117827", "0.810797", "0.62783647", "0.6263755", "0.61525065", "0.6145095", "0.6127818", "0.6079699", "0.6079357", "0.60752267", "0.6038978", "0.6020833", "0.60041875", "0.5977706", "0.5977295", "0.59386116", "0.5927704", "0.5915789", "0.5896742", "0.5865364", "0.5837744"...
0.80530494
2
Invoked from the GUI because it's easier this way
public void executeFromGui(Player target) { removeTrail(target); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void guiTinNhan() {\n\n\t}", "private void updateGUIStatus() {\r\n\r\n }", "@Override\n\tprotected void UpdateUI() {\n\t\t\n\t}", "@Override\n\tprotected void UpdateUI() {\n\t\t\n\t}", "@Override\n public void initGUI() {\n\n }", "private static void initAndShowGUI() {\n }",...
[ "0.7137828", "0.6982397", "0.6875956", "0.6875956", "0.68629676", "0.6733807", "0.67165023", "0.6637292", "0.657599", "0.65426123", "0.6537203", "0.64637744", "0.6425565", "0.6419065", "0.6382768", "0.6288481", "0.6284301", "0.62749976", "0.62614256", "0.62571895", "0.6257189...
0.0
-1
TODO Autogenerated method stub
@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.view_activity); btn = (Button)findViewById(R.id.btnid2) ; btn.setOnClickListener(new OnClickListener() { @Override public void onClick(View v) { Intent intent = new Inten...
{ "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
Used when created from Mule flow from XPATH where all incoming data is strings.
public FilterParameters(String filterAvregOrsak, String filterSekretessMarkering, String senasteAndringFBF) { this.filterSekretessMarkering = (filterSekretessMarkering != null && filterSekretessMarkering != "") ? JaNejTYPE.valueOf(filterSekretessMarkering) : null; this.filterAvregOrsak = (filterAvregOrsak...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic Object fromXMLString(String arg0) {\n\t\treturn null;\n\t}", "@Test\n public void testGetXmlPayload() {\n System.out.println(\"getXmlPayload\");\n String expResult = \"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?><json xmlns=\\\"uk.nhs.digital.mait.tkwx.jsonconverter.Jso...
[ "0.57119626", "0.53346527", "0.5231553", "0.51885176", "0.5175024", "0.51178914", "0.5063916", "0.50568926", "0.50511104", "0.5049206", "0.5048258", "0.5042182", "0.49916545", "0.49903318", "0.49786225", "0.49782532", "0.49416155", "0.4937257", "0.49325275", "0.49163878", "0....
0.0
-1
Creates new form MainFrame
public MainFrame() { initComponents(); java.net.URL imgURL = getClass().getResource("/pkg4seqgui/images/dna.png"); ImageIcon image = new ImageIcon(imgURL); DefaultTreeCellRenderer renderer =(DefaultTreeCellRenderer) AnalysisTree.getCellRenderer(); rende...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void createMainframe()\n\t{\n\t\t//Creates the frame\n\t\tJFrame foodFrame = new JFrame(\"USDA Food Database\");\n\t\t//Sets up the frame\n\t\tfoodFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\tfoodFrame.setSize(1000,750);\n\t\tfoodFrame.setResizable(false);\n\t\tfoodFrame.setIconImage(ic...
[ "0.7865973", "0.7794478", "0.772496", "0.7702068", "0.7677763", "0.7677763", "0.7677763", "0.7677763", "0.7677763", "0.7677763", "0.7677763", "0.7677763", "0.7677763", "0.7677763", "0.7677763", "0.7677763", "0.7630447", "0.7617989", "0.7527141", "0.749589", "0.730413", "0.7...
0.0
-1
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
@SuppressWarnings("unchecked") // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents private void initComponents() { java.awt.GridBagConstraints gridBagConstraints; jMenu1 = new javax.swing.JMenu(); jMenu2 = new javax.swing.JMenu(); vExecution...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Form() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public frmRectangulo() {\n initComponents();\n }", "public form() {\n ...
[ "0.73206544", "0.7291311", "0.7291311", "0.7291311", "0.7286492", "0.7249181", "0.7213362", "0.72085494", "0.71965617", "0.7190475", "0.7184897", "0.7159234", "0.71483016", "0.7094075", "0.7081491", "0.70579433", "0.6987627", "0.69776064", "0.69552463", "0.69549114", "0.69453...
0.0
-1
Creates or finds a ApplicationGatewayClientRevocationOptions from its string representation.
@JsonCreator public static ApplicationGatewayClientRevocationOptions fromString(String name) { return fromString(name, ApplicationGatewayClientRevocationOptions.class); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static Collection<ApplicationGatewayClientRevocationOptions> values() {\n return values(ApplicationGatewayClientRevocationOptions.class);\n }", "public static AriVersion fromVersionString( String version ) throws ARIException {\n\n for ( AriVersion av: AriVersion.values() ) {\n ...
[ "0.4941495", "0.4572294", "0.43942514", "0.43191925", "0.42136732", "0.41573447", "0.40876588", "0.40069035", "0.3995727", "0.3992638", "0.3981743", "0.39636934", "0.39408314", "0.39393333", "0.3900779", "0.38973048", "0.38785267", "0.3866078", "0.3853994", "0.3852275", "0.38...
0.75945157
0
Gets known ApplicationGatewayClientRevocationOptions values.
public static Collection<ApplicationGatewayClientRevocationOptions> values() { return values(ApplicationGatewayClientRevocationOptions.class); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<VpnClientRevokedCertificateInner> vpnClientRevokedCertificates() {\n return this.vpnClientRevokedCertificates;\n }", "@JsonCreator\n public static ApplicationGatewayClientRevocationOptions fromString(String name) {\n return fromString(name, ApplicationGatewayClientRevocationOption...
[ "0.6032188", "0.5610515", "0.5341461", "0.5081167", "0.50512993", "0.5001583", "0.49807373", "0.49655548", "0.49156734", "0.48575735", "0.48484132", "0.48462686", "0.48214015", "0.48139942", "0.47971487", "0.47772297", "0.4776363", "0.47735626", "0.47638845", "0.4708615", "0....
0.8349333
0
/ Getters / Setters
public String getProduct() { return product; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected abstract Set method_1559();", "@Override\r\n\tpublic void get() {\n\t\t\r\n\t}", "@Override\n public void get() {}", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "public void get() {\n }", "public void setdat()\n {\n }", "@Override\n\tpublic void getData() {\n\t\t\n\t}", ...
[ "0.68003595", "0.6558789", "0.6552484", "0.64120036", "0.62294185", "0.6210205", "0.61401826", "0.61208946", "0.6081686", "0.6043031", "0.5965628", "0.5945217", "0.59434736", "0.5939926", "0.5920166", "0.5899987", "0.5898689", "0.58881354", "0.5869365", "0.5869247", "0.583858...
0.0
-1
/ Constructor Default constructor
public DescriptorImpl() { super(); load(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Constructor(){\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "defaultConstructor(){}", "void DefaultConstructor(){}", "@SuppressWarnings(\"unused\")\n public NoConstructor() {\n // Empty\n }", "ConstructorPractice () {\n\t\tSystem.out.println(\"Default Constructor\");\n...
[ "0.83749145", "0.8343262", "0.7992264", "0.78817445", "0.7779739", "0.77190185", "0.75351423", "0.74882823", "0.7461926", "0.74335325", "0.7425329", "0.73703325", "0.7352034", "0.73460907", "0.7344312", "0.733987", "0.7333713", "0.73313683", "0.73140347", "0.72804683", "0.727...
0.0
-1
/ Getters / Setters
public String getServiceUrl() { return serviceUrl; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected abstract Set method_1559();", "@Override\r\n\tpublic void get() {\n\t\t\r\n\t}", "@Override\n public void get() {}", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "public void get() {\n }", "public void setdat()\n {\n }", "@Override\n\tpublic void getData() {\n\t\t\n\t}", ...
[ "0.68003595", "0.6558789", "0.6552484", "0.64120036", "0.62294185", "0.6210205", "0.61401826", "0.61208946", "0.6081686", "0.6043031", "0.5965628", "0.5945217", "0.59434736", "0.5939926", "0.5920166", "0.5899987", "0.5898689", "0.58881354", "0.5869365", "0.5869247", "0.583858...
0.0
-1
/ Overridden methods Fires step right after build job ends
@Override public Void run() throws Exception { TaskListener listener = getContext().get(TaskListener.class); assert listener != null; PrintStream logger = listener.getLogger(); logger.println(Constants.UPDATING_WHITESOURCE); Run run = getContext().get...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void runAfterStep() {}", "@Override\n protected void finished(StepContext context) throws Exception {\n boolean finished = false;\n while (!finished) {\n List<String> log = context.get(Run.class).getLog(100);\n for (String s : log) {\n ...
[ "0.7585181", "0.71707237", "0.6864101", "0.68379956", "0.6597854", "0.65855366", "0.64448154", "0.6431088", "0.6408814", "0.6350777", "0.6350777", "0.6315343", "0.6313897", "0.6306966", "0.63016474", "0.62472326", "0.6229074", "0.6200591", "0.6200591", "0.617306", "0.617306",...
0.0
-1
TODO Autogenerated method stub
public Iterator iterator() { return new IteratorLinkedList<T>(cabeza); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.66713095", "0.6567948", "0.652319", "0.648097", "0.64770466", "0.64586824", "0.64132667", "0.6376419", "0.62759", "0.62545097", "0.62371093", "0.62237984", "0.6201738", "0.619477", "0.619477", "0.61924416", "0.61872935", "0.6173417", "0.613289", "0.6127952", "0.6080854", ...
0.0
-1
check wether to pokemon have same information
static boolean pokemonEq(Pokemon a, Pokemon b) { if (a == null || b == null) { System.out.println("null error"); return false; } String aStr = a.getName(); String bStr = b.getName(); if (aStr == null || !aStr.equals(bStr)) { System.out....
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n public boolean equals(Object obj) {\r\n if (obj instanceof Pokemon) {\r\n Pokemon objOne = (Pokemon) obj;\r\n return objOne.number == this.number;\r\n// return objOne.hashCode() == this.hashCode();\r\n } else {\r\n return false;\r\n ...
[ "0.7002782", "0.67708236", "0.6770135", "0.67612106", "0.6719853", "0.65481055", "0.6430279", "0.63853246", "0.613073", "0.61185795", "0.6081182", "0.60203964", "0.59712934", "0.59595937", "0.5959333", "0.592369", "0.59055054", "0.58921796", "0.5872973", "0.5869204", "0.58595...
0.67782605
1
test the loading of the data from csv file
public static boolean testLoading() { Data instance = new Data(); Pokemon[] list; try { instance.update(); list = instance.getPokemonList(); int cnt = 0; while (cnt < list.length && list[cnt] != null) cnt++; if ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void testDataReader() {\n File csv = new File(pathTest);\n try (FileReader fr = new FileReader(csv); BufferedReader bfr = new BufferedReader(fr)) {\n Logger.printInfo(\"Reading test data\");\n for (String line; (line = bfr.readLine()) != null; ) {\n String...
[ "0.747721", "0.7334183", "0.7175028", "0.7116729", "0.71098155", "0.6912641", "0.6911568", "0.6890037", "0.6876813", "0.6668234", "0.66560537", "0.66379565", "0.6632718", "0.6600711", "0.6584993", "0.65764576", "0.6570389", "0.65689397", "0.6520383", "0.6514191", "0.64873403"...
0.0
-1
test the getter and setter of Pokemom class
public static boolean testPokemomGetSet() { Pokemon inst = new Pokemon("name", "type1", "type2", 2, 3, 4, 5, 6, 7, 8, false, false); if (!Objects.equals(inst.getName(), "name") || !Objects.equals(inst.getType1(), "type1") || !Objects.equals(inst.getType2(), "type2") || !Objects.equals(ins...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\r\n public void testSetMicentro() {\r\n System.out.println(\"setMicentro\");\r\n CentroEcu_Observado micentro = new CentroEcu_Observado();\r\n micentro.setCiudad(\"Loja\");\r\n Servicio_CentroEcu instance = new Servicio_CentroEcu();\r\n instance.setMicentro(micentro);\r\...
[ "0.6696676", "0.65274096", "0.64796424", "0.64533097", "0.64170593", "0.64124185", "0.64024067", "0.6372416", "0.63685", "0.6321013", "0.6309157", "0.6297054", "0.6271117", "0.6270293", "0.62689817", "0.62645537", "0.6246085", "0.6228915", "0.62081546", "0.61819077", "0.61714...
0.65486926
1
test the get method of hashtable
public static boolean testTableGet() { try { for (int i = 0; i < 6; i++) { if (!pokemonEq(table.get(testList[i].getName()), testList[i])) return false; } } catch (NoSuchElementException e) { return false; } ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@org.junit.Test\n public void get() throws Exception {\n assertEquals(null, hashTable.get(\"savon\"));\n assertEquals(\"camp\", hashTable.get(\"math\"));\n hashTable.put(\"math\", \"club\");\n assertEquals(\"club\", hashTable.get(\"math\"));\n }", "@org.junit.jupiter.api.Test\n ...
[ "0.80471456", "0.78119123", "0.7135702", "0.7004146", "0.6905201", "0.68464726", "0.6624307", "0.6601733", "0.6537614", "0.65327185", "0.65097535", "0.63555384", "0.62959325", "0.62949365", "0.628786", "0.6275381", "0.62297654", "0.6214728", "0.62134874", "0.61754173", "0.616...
0.5908581
39
test the clean method of hashtable
public static boolean testTableClear() { table.clear(); if (table.size() != 0) return false; return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@org.junit.Test\n public void clear() throws Exception {\n hashTable.clear();\n assertEquals(null, hashTable.get(\"Savon\"));\n assertEquals(null, hashTable.get(\"Blue\"));\n assertEquals(null, hashTable.get(\"math\"));\n }", "@org.junit.jupiter.api.Test\n void dropNormal() {...
[ "0.7238472", "0.6901835", "0.6871635", "0.67790616", "0.6777133", "0.67517096", "0.6748745", "0.6690692", "0.6647514", "0.6571599", "0.65589106", "0.65215075", "0.6519071", "0.6427396", "0.6414259", "0.64103967", "0.63799524", "0.6342357", "0.6320749", "0.62754905", "0.626095...
0.57589704
55
test the remove method of hashtable
public static boolean testTableRemove(int size) { for (int i = 0; i < 6; i++) { if (table.remove(testList[i].getName()) == null) return false; if (table.size() != size - 1 - i) { return false; } try { table.g...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void test007_test_remove() {\n try {\n HashTableADT test = new HashTable<Integer, String>();\n test.insert(1, \"2\");\n if(test.remove(2) != false) {\n fail(\"remove didn't work correctly on value not present.\");\n }\n test.insert(2, \"3\");\n if (test.remov...
[ "0.7952701", "0.78927976", "0.7850963", "0.7599863", "0.7411369", "0.74025446", "0.7315697", "0.71743536", "0.7090634", "0.70486903", "0.70208484", "0.6979839", "0.69792205", "0.697009", "0.6966183", "0.6958399", "0.694912", "0.69117", "0.6891791", "0.68730086", "0.6863083", ...
0.0
-1
test all the sort method in the PokemonList class
public static boolean testSort() { Manager inst; try { inst = new PokemonTable(); } catch (IOException e) { e.printStackTrace(); return false; } LinkedList<Pokemon> list; list = inst.sortByAttack(true); for (int i = 1;...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void testSort() {\n initialize();\n var realList = new HighScoreList();\n realList.setList(list);\n realList.sort();\n\n assertEquals(300, realList.getList().get(0).getScore());\n assertEquals(200, realList.getList().get(1).getScore());\n assertEqu...
[ "0.71821016", "0.7106772", "0.68959653", "0.68799037", "0.6852728", "0.68094736", "0.67511743", "0.6748985", "0.6719028", "0.67124665", "0.6630915", "0.65899247", "0.65722275", "0.6568198", "0.65383536", "0.65012056", "0.64990884", "0.646551", "0.64600027", "0.6448262", "0.64...
0.8275229
0
test getAll method of PokemonTable
public static boolean testPokemonTableGetAll() throws IOException { PokemonTable inst = new PokemonTable(10); for (Pokemon item : testList) { inst.put(item.getName(), item); } LinkedList<Pokemon> list = inst.getAll(); if (list.size() != 6) return fa...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void getAll() {\n\n PokeStubDTOWrapper wrappedPokemonStubs = restTemplate.getForObject(\"https://pokeapi.co/api/v2/pokemon?limit=1118\", PokeStubDTOWrapper.class);\n List<PokeStubDTO> pokemonStubList = wrappedPokemonStubs.getDTOs();\n\n for (PokeStubDTO pokeStub: pokemonStubList) {\n ...
[ "0.72386414", "0.694306", "0.6808518", "0.67976576", "0.67762655", "0.66386616", "0.6634246", "0.6574191", "0.65366185", "0.65336645", "0.6532274", "0.65219814", "0.65073097", "0.646391", "0.6458405", "0.6420743", "0.6413674", "0.63976467", "0.6365871", "0.636511", "0.6354707...
0.72560996
0
test getAll method of MyFAvorite
public static boolean testMyFavoriteGetAll() { MyFavorite inst = new MyFavorite(10); for (Pokemon item : testList) { inst.put(item.getName(), item); } LinkedList<Pokemon> list = inst.getAll(); if (list.size() != 6) return false; for (Pokemo...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void test_getAll_1() throws Exception {\n clearDB();\n\n List<User> res = instance.getAll();\n\n assertEquals(\"'getAll' should be correct.\", 0, res.size());\n }", "@Test\r\n public void testGetAllFestivities() {\r\n System.out.println(\"getAllFestivities\");\...
[ "0.7307322", "0.7281958", "0.72077614", "0.7098412", "0.7086062", "0.7061438", "0.70499283", "0.6972562", "0.69680583", "0.6958603", "0.69467336", "0.6942246", "0.6926916", "0.6918179", "0.68978554", "0.6896326", "0.68924105", "0.68805003", "0.6868507", "0.68615294", "0.68540...
0.0
-1
Loads a File as a resource (/reference/pos/).
public List<String> loadFile(String filename) { List<String> patterns = new ArrayList<>(); String resourceFilename = (filename.indexOf('/') == 0) ? filename : "/reference/pos/" + filename; URL url = getClass().getResource(resourceFilename); if(url == null) { throw new IllegalArgumentExc...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void load(File file);", "public Resource load(IFile f);", "public void load (File file) throws Exception;", "public void loadFile(File p_file) throws IOException;", "public void load(File source);", "public void load (IFile file) throws Exception;", "public Resource load(String filename) throws Malform...
[ "0.6879736", "0.6836283", "0.6812924", "0.67571604", "0.65720564", "0.6477276", "0.63755125", "0.62875056", "0.6215614", "0.61116403", "0.60517144", "0.601107", "0.5939912", "0.59121263", "0.5901732", "0.5895235", "0.5865389", "0.58428127", "0.5823698", "0.5809551", "0.580599...
0.0
-1
browser for launch the chrome
public void browser() { System.setProperty("webdriver.chrome.driver", "src/test/resources/Driver/chromedriver.exe"); driver = new ChromeDriver(); driver.manage().window().maximize();// maximize the window driver.manage().timeouts().implicitlyWait(50, TimeUnit.SECONDS); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Given(\"^launch an chrome browser$\")\r\n\tpublic void launch_an_chrome_browser() throws Throwable {\n\t sign.url();\r\n\t\t\r\n\t}", "public void openBrowser() {\n ResourceBundle config = ResourceBundle.getBundle(\"config\");\n\n config.getString(\"browser\").equalsIgnoreCase(\"Chrome\");\n ...
[ "0.8038407", "0.7950652", "0.7891193", "0.7848332", "0.78119135", "0.78086716", "0.7728446", "0.77096385", "0.76261765", "0.75986034", "0.7519608", "0.7516424", "0.7480884", "0.74300736", "0.7423203", "0.73936015", "0.7375536", "0.7272167", "0.7229791", "0.71411127", "0.71249...
0.72292215
19
Persist from Account Activity
private void setupUI() { String status_value = getIntent().getStringExtra("status_value"); String display_name_value = getIntent().getStringExtra("display_name_value"); mStatus.getEditText().setHint(status_value); mName.getEditText().setHint(display_name_value); mSaveChanges.se...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void save(Account account);", "private void writeAccount() {\n SharedPreferences pref = getSharedPreferences(\"ACCOUNT\", Context.MODE_PRIVATE);\n SharedPreferences.Editor edt = pref.edit();\n\n edt.putString(\"email\", Me.getInstance().getEmail());\n edt.putString(\"password\", txtPa...
[ "0.743104", "0.7423402", "0.7219852", "0.70818704", "0.6967659", "0.6936646", "0.68820655", "0.6849296", "0.66436535", "0.64427716", "0.63861364", "0.63587326", "0.6340396", "0.6339273", "0.63241094", "0.63132024", "0.6304263", "0.62997204", "0.6178042", "0.61621296", "0.6144...
0.0
-1
option 1 this will direct user to the Gallery chooser (the library to choose images)
@Override public void onClick(View v) { Intent intent = new Intent(); intent.setType("image/*"); intent.setAction(Intent.ACTION_GET_CONTENT); startActivityForResult(Intent.createChooser(intent, "SELECT IMAGE"), GALLERY_PICK); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void showGalleryChooser() {\n Intent intent = new Intent();\n intent.setType(\"image/*\");\n intent.setAction(Intent.ACTION_GET_CONTENT);\n startActivityForResult(Intent.createChooser(intent, \"Select Picture\"), PICK_IMAGE_REQUEST);\n }", "public void opengallery() {\n ...
[ "0.81329393", "0.77003354", "0.7594392", "0.75814134", "0.7570556", "0.7545307", "0.75446993", "0.750812", "0.7428125", "0.7420231", "0.7415804", "0.74147236", "0.74122936", "0.7389019", "0.73697525", "0.7365792", "0.735613", "0.73462605", "0.7324593", "0.7324593", "0.7318692...
0.7316323
21
no Default value for abstract class
public void setValue(double newV) { // assuming REST API update at instantiation - must be a Set method to prevent access to a variable directly this.Value=newV; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "_ExtendsNotAbstract() {\n super(\"s\"); // needs this if not default ctor;\n }", "abstract public E addDefault();", "private Default()\n {}", "protected abstract S createDefault();", "public boolean isAbstract()\n/* */ {\n/* 146 */ return false;\n/* */ }", "public Abstrac...
[ "0.68132573", "0.68090284", "0.67346877", "0.65186554", "0.65073425", "0.6496769", "0.64761543", "0.6438699", "0.6384692", "0.6342669", "0.62743247", "0.62705344", "0.62625784", "0.6250656", "0.6229109", "0.62091", "0.6204166", "0.6197535", "0.6150971", "0.61393064", "0.61387...
0.0
-1
Constructor that executes the model.
public DummyGuiController(SoundModelInterface model) { this.model = model; view = new DummyGui(model); this.runModel(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private Model(){}", "public Model() {\n\t}", "public Model() {\n\t}", "Build_Model() {\n\n }", "public Model() {\n }", "public Model() {\n }", "public Model() {\n }", "public Model() {\n\n }", "private MainModel() {\n jsonManager = new JsonManager(this);\n }", "public Mod...
[ "0.68681985", "0.67714924", "0.67714924", "0.6600522", "0.6489119", "0.6489119", "0.6489119", "0.63778096", "0.63103455", "0.62959003", "0.6277168", "0.6266339", "0.6260668", "0.62131894", "0.6180988", "0.6157176", "0.6157176", "0.6150261", "0.6136161", "0.61339444", "0.61124...
0.0
-1
Helper method to convert degrees to polar axes
private static int convertDegreesToPolar(int degrees) { switch (degrees) { case -90: return 270; case -60: return 300; case -30: return 330; default: return degrees; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String asPolar(){\n// return \"<\" + this.getR() + \", ∠\" + this.getTheta() + \">\";\n return String.format(POLAR_FORMAT, this.getR(), this.getTheta());\n }", "public Vector2D toPolar()\n {\n return new Vector2D(Math.sqrt(this.x * this.x + this.y * this.y), Math.atan2(t...
[ "0.6879271", "0.66870767", "0.635012", "0.61972696", "0.60721236", "0.6061659", "0.60205394", "0.6008466", "0.60012615", "0.59841067", "0.5981148", "0.5981148", "0.5981148", "0.5980086", "0.5980086", "0.5967167", "0.5964533", "0.59636277", "0.5961871", "0.5959913", "0.5953464...
0.7493267
0
Method to select input layer type of model based on model type.
public InputLayer selectInputLayer(ModelInputTypes m) { switch(m) { case GENERATEDSIN: return new SoundGeneration(log, model.getDegrees()); case PRECORDEDHRIR: return new SoundFromFile(log, convertDegreesToPolar(model.getDegrees())); default: throw new IllegalArgumentExcep...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void modelType(Class<?> modelType);", "public IInputType getInputTypeById(String id);", "public InputType getOutputType(InputType... inputType) throws InvalidKerasConfigurationException {\n if (inputType.length > 1)\n throw new InvalidKerasConfigurationException(\n \"Keras ...
[ "0.5769398", "0.5672151", "0.56395155", "0.5595773", "0.55046487", "0.5373475", "0.52889615", "0.52371347", "0.52125895", "0.51671135", "0.51048416", "0.50707126", "0.5048714", "0.50302255", "0.5029941", "0.49580818", "0.49497417", "0.4926942", "0.49112985", "0.4905777", "0.4...
0.71754545
0
Uneeded method stubs from interface, ignored if called in model. Only want to print the required log output.
@Override public void settings() { // TODO Auto-generated method stub }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void log()\n {\n }", "public void interfaceMethod() {\n\t\tSystem.out.println(\"overriden method from interface\");\t\t\r\n\t}", "@Override\n public void logs() {\n \n }", "public void doLog() {\n SelfInvokeTestService self = (SelfInvokeTestService)context....
[ "0.67438924", "0.66074175", "0.6353931", "0.63251364", "0.6234315", "0.6200449", "0.61851203", "0.613724", "0.607611", "0.6051734", "0.60394895", "0.60072255", "0.5980029", "0.5977749", "0.59423083", "0.59255004", "0.59249693", "0.5921157", "0.59200186", "0.5909829", "0.59090...
0.0
-1
TODO Autogenerated method stub
@Override public void logs() { }
{ "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 inputTypeChange(ModelInputTypes m) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.66713095", "0.6567948", "0.652319", "0.648097", "0.64770466", "0.64586824", "0.64132667", "0.6376419", "0.62759", "0.62545097", "0.62371093", "0.62237984", "0.6201738", "0.619477", "0.619477", "0.61924416", "0.61872935", "0.6173417", "0.613289", "0.6127952", "0.6080854", ...
0.0
-1
TODO Autogenerated method stub
@Override public void setFile(File f) { }
{ "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 closeWindow() { }
{ "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 soundSourceDegreesUpdate(int selectedItem) { }
{ "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 closeSettings() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.66713095", "0.6567948", "0.652319", "0.648097", "0.64770466", "0.64586824", "0.64132667", "0.6376419", "0.62759", "0.62545097", "0.62371093", "0.62237984", "0.6201738", "0.619477", "0.619477", "0.61924416", "0.61872935", "0.6173417", "0.613289", "0.6127952", "0.6080854", ...
0.0
-1
TODO Autogenerated method stub
@Override public void terminateProgram() { }
{ "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 closeLog() { }
{ "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
Helper method which creates three tabs, one for basic test parameter, one for the standard output and one for standard error.
protected String createBasicTestData() { BaseSignatureTestData baseData = baseTestInfo.getBaseTestData(); String basicParameterBody = createBasicParameterRepresentation(baseData); StringBuilder basicTestDataPanel = new StringBuilder(); basicTestDataPanel .append("<ul id=\...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void printTestList()\n {\n print(\"\");\n print(SECTION_DIVIDER);\n print(\"Press <1> to Display Main Video Output Port\");\n print(\"Press <2> to Display All Video Output Configurations\");\n print(\"Press <3> to Change Main Video Configuration with Listener\");\n ...
[ "0.6011908", "0.5943823", "0.59088093", "0.5903437", "0.57228804", "0.56666213", "0.55975366", "0.5546945", "0.5521844", "0.5501088", "0.5483233", "0.54654545", "0.5414279", "0.5414279", "0.5397168", "0.53902984", "0.5384834", "0.53815854", "0.537168", "0.53533965", "0.531441...
0.63344115
0
This method creates a definition list for basic parameters of a test.
private String createBasicParameterRepresentation( BaseSignatureTestData baseData) { StringBuilder sb = new StringBuilder(); sb.append("<dl>"); sb.append(createDescription("Input file", baseData.getPdfFile())); sb.append(createDescription("Output file", baseData.getOutputFile...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static final List<ParameterImpl> createParameters() {\n\t\tParameterImpl initialize = new ParameterImpl.Builder()\n\t\t\t\t.setLabel(\"Initialize\") // FIXME: STRING: srogers\n\t\t\t\t.setName(\"INITIALIZE\") // FIXME: STRING: srogers\n\t\t\t\t.setType(\"checkbox\")\n\t\t\t\t.setDefaultValue(\"true\")\n\t\...
[ "0.67591256", "0.6552651", "0.61794", "0.59798074", "0.59052205", "0.58970296", "0.5838607", "0.5822234", "0.5725039", "0.5700755", "0.5691132", "0.56633306", "0.5630281", "0.56206924", "0.56114864", "0.5607805", "0.5590776", "0.55161613", "0.5472492", "0.54442483", "0.542394...
0.5315463
29
Helper for writing a bootstrap panel with some title and content.
protected void writePanel(PrintWriter pw, String panelTitle, String panelBody) { pw.println("<div class=\"panel panel-default\">"); pw.println(" <div class=\"panel-heading\">"); pw.println("<h3 class=\"panel-title\">" + panelTitle + "</h3>"); pw.println("</div>"); pw....
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private JPanel createPanel(String title) {\n\t\tJPanel panel = new JPanel();\n\t\tpanel.setLayout(new GridLayout(0, 1));\n\t\tpanel.setBorder(new TitledBorder(new EtchedBorder(), title));\n\t\treturn panel;\n\t}", "public JPanel titlePanel() {\n\t\tJPanel tpanel = new JPanel(null);\n\t\ttpanel.setBounds(0, 0, 70...
[ "0.624205", "0.62049097", "0.61960065", "0.61744535", "0.61065316", "0.6076346", "0.60488683", "0.60349035", "0.60104066", "0.57800174", "0.5776584", "0.57494146", "0.57140857", "0.56950766", "0.56933165", "0.5686599", "0.5645", "0.5631966", "0.5631697", "0.5609937", "0.56056...
0.6581012
0
This method creates a HTMLrepresentation for data contained in a throwable.
protected String createExceptionDataString(Throwable t) { StringBuilder exceptionData = new StringBuilder(); exceptionData.append("<dl class=\"dl-horizontal\">"); exceptionData.append(createDescription("Cause", t.toString())); StringWriter sw = new StringWriter(); PrintWriter pw ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "HTML createHTML();", "private void createExpectionalClassDiv(BufferedWriter writer,\r\n\t\t\tResultTable table) throws IOException {\r\n\t\tMap<String, String> data = table.getExpectionMessageData();\r\n\t\tint size = table.getExpectionMessageData().size();\r\n\r\n\t\tif (size != 0) {\r\n\t\t\tint height = ((siz...
[ "0.5838296", "0.57824105", "0.5695664", "0.5463029", "0.5386494", "0.5361801", "0.53563213", "0.5321104", "0.52983963", "0.523672", "0.521912", "0.5191349", "0.5173647", "0.5160959", "0.5155068", "0.51471555", "0.5133961", "0.51159686", "0.509706", "0.50955766", "0.50862545",...
0.60091394
0
Helper method for creating an item of a definition list.
protected String createDescription(String term, String definition) { return String.format("<dt>%s</dt><dd>%s</dd>%n", term, definition); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "ListItem createListItem();", "String createListItem(String list, int accountId);", "@Override\n public void definitionListItem_()\n {\n }", "Definition createDefinition();", "protected abstract void makeItem();", "public static ItemDefinition itemDef(int i, ItemDefinition itemDef) {\n voi...
[ "0.7278509", "0.64813167", "0.640983", "0.63264364", "0.63200605", "0.62338835", "0.62210894", "0.6187449", "0.6128837", "0.6068515", "0.6027648", "0.599945", "0.5992944", "0.59538907", "0.589062", "0.5839782", "0.5786914", "0.5765489", "0.57215923", "0.57192516", "0.5671121"...
0.5071699
80
&9674;&9674;&9674; Running methods for this specific subchapter &9674;&9674;&9674;
public static void main(String[] args) { System.out.println("Chapter 3 - 3.3. Reduction Operations Using Reduce"); System.out.println(); // *** Reduction Operations on IntStream *** reductionOperationsOnIntStream(); System.out.println(); // *** Summing Numbers Using re...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void sub() {\n\t\tSystem.out.println(\"I am from substraion method\");\n\t\t\n\t}", "private void sub() {\n\n\t}", "public static void doExercise1() {\n // TODO: Complete Exercise 1 Below\n\n }", "public static void displaySubTitles()\r\n {\n }", "public static void doExer...
[ "0.6270567", "0.6148319", "0.6082356", "0.60158455", "0.59423697", "0.5866581", "0.5858166", "0.5824626", "0.5821499", "0.57685095", "0.5713671", "0.57085985", "0.5703779", "0.5677934", "0.56326306", "0.56241", "0.5580282", "0.5464723", "0.5437662", "0.54234195", "0.54229647"...
0.0
-1
&9674;&9674;&9674; Perform reduce with a BinaryOperator &9674;&9674;&9674; Integer sum = Stream.of(1, 2, 3, 4, 5).reduce(0, Integer::sum); Integer minValue = Stream.of(5, 4, 9, 2, 1).reduce(Integer.MIN_VALUE, Integer::max); String concatenation = Stream.of("str ", "= ", "alt ", "string") the first parameter becomes the...
protected static void performReduceWithABinaryOperator() { Integer sum = Stream.of(1, 2, 3, 4, 5).reduce(0, Integer::sum); Integer minValue = Stream.of(5, 4, 9, 2, 1).reduce(Integer.MIN_VALUE, Integer::max); String concatenation = Stream.of("str ", "= ", "alt ", "string") // th...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void main(String[] args){\n int result = Stream.of(1,2,3,4,5,6,7,8,9,10)\n .reduce(0,Integer::sum);//metodo referenciado\n// .reduce(0, (acumulador, elemento) -> acumulador+elemento);\n System.out.println(result);\n\n // Obtener lenguajes separados p...
[ "0.6804598", "0.6361666", "0.6318965", "0.629476", "0.6183886", "0.61270314", "0.601953", "0.5833654", "0.5789548", "0.5765127", "0.5702013", "0.5680815", "0.56807727", "0.56799304", "0.56371665", "0.56291014", "0.5623535", "0.55686975", "0.5566753", "0.55563873", "0.55563873...
0.86688364
0
&9674;&9674;&9674; Using a Collector &9674;&9674;&9674; String string = Stream.of("this", "is", "a", "list") .collect(() &62; new StringBuilder(), // result Supplier (sb, str) &62; sb.append(str), // add a single value to the result (sb1, sb2) &62; sb1.append(sb2)) // combine two results .toString(); Using method refer...
protected static void usingACollector() { String string = Stream.of("this", "is", "a", "list") .collect(() -> new StringBuilder(), // result Supplier (sb, str) -> sb.append(str), // add a single value to the result (sb1, sb2) -> sb1.append(sb2...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n void testCollect() {\n List<Integer> numbers = Stream.of(1, 2, 3, 4)\n .collect(Collectors.toList());\n assertEquals(List.of(1, 2, 3, 4), numbers);\n\n // collect to a Set\n numbers = List.of(1, 1, 2, 2);\n Set<Integer> unique = numbers.stream()\n ...
[ "0.661547", "0.5992544", "0.58088976", "0.56335676", "0.5590958", "0.5575294", "0.5502463", "0.54817724", "0.54658216", "0.52960473", "0.528896", "0.5288502", "0.52402323", "0.5214799", "0.5193282", "0.5176596", "0.51547414", "0.51262873", "0.5105088", "0.5083788", "0.5078233...
0.8403388
0
map method that performs framing the initial key value pairs
public void map(LongWritable key, Text value, OutputCollector<Text, Text> output, Reporter reporter) throws IOException { // get filename to send it as key for sorting. FileSplit fileSplit = (FileSplit)reporter.getInputSplit(); String k = fileSplit.getPath().getName(); /...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void mapValues() {\n\t\tmap.put(1, \"I\");\r\n\t\tmap.put(5, \"V\");\r\n\t\tmap.put(10, \"X\");\r\n\t\tmap.put(50, \"L\");\r\n\t\tmap.put(100, \"C\");\r\n\t\tmap.put(500, \"D\");\r\n\t\tmap.put(1000, \"M\");\r\n\t}", "private void mapSetUp() {\n\t\tfor (int i = 0; i < allChar.length; i++) {\n\t\t\tmap.p...
[ "0.62421185", "0.62368387", "0.6085258", "0.6016183", "0.58868283", "0.58526075", "0.58426756", "0.5801066", "0.57975245", "0.5777039", "0.5687637", "0.56268007", "0.55681163", "0.5560662", "0.55564296", "0.55561155", "0.5532598", "0.5489588", "0.54504323", "0.54378396", "0.5...
0.0
-1
get employee by id
@Override @Transactional public Employee getEmployeeByID(int employeeID) { Optional<Employee> empData = employeeRepository.findById(employeeID); return empData.get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic Employee getEmployee(int id) {\n\t\treturn employees.stream().filter(emp -> emp.getEmpId()==(id)).findFirst().get();\r\n\t}", "public Employee findEmployee(Long id);", "public Employee getEmployeeByID(int id) {\n\t\t\r\n\t\ttry {\r\n\t\t\tEmployee f = temp.queryForObject(\"Select * from ...
[ "0.86086214", "0.85512394", "0.8549764", "0.84169763", "0.83048487", "0.83011305", "0.82647115", "0.8263107", "0.8204168", "0.81955457", "0.81941897", "0.8164265", "0.81237817", "0.81236064", "0.8116296", "0.8113932", "0.8107287", "0.809597", "0.80562675", "0.8052791", "0.804...
0.7197161
98
update employee by id
@Override @Transactional public void updateEmp(int employeeID, Employee employee) { Optional<Employee> empData = employeeRepository.findById(employeeID); if(empData.isPresent()) { Employee emp = empData.get(); emp.setFirstName(employee.getFirstName()); emp.setLastName(employee.getLastName()); emp.setE...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void updateEmployee(long employeeId, Employee updateEmployee) {\n\t\t\r\n\t}", "public abstract void updateEmployee(int id, Employee emp) throws DatabaseExeption;", "@PutMapping(\"/updateEmployee/{id}\")\n\tpublic ResponseEntity<Employee> updateEmployee(@PathVariable Long id, @RequestBody...
[ "0.80955666", "0.80815214", "0.796134", "0.79336005", "0.79218996", "0.7919036", "0.784482", "0.7842039", "0.7773386", "0.77396435", "0.7729171", "0.77229476", "0.7681702", "0.76616937", "0.762941", "0.75956357", "0.75750667", "0.75279206", "0.7524372", "0.7510149", "0.750220...
0.7289456
28
delete employee by id
@Override public void deleteEmpByID(int employeeID) { employeeRepository.deleteById(employeeID); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void deleteEmployeeById(int id) {\n\t\t\n\t}", "public void deleteEmployee(Long id) {\n employeeRepository.deleteById(id);\n }", "@Override\r\n\tpublic void deleteEmployee(int id) {\n\t\ttry {\r\n\t DirectlyDatabase.update(PropertyManager.getProperty(\"db_employee_delete\")...
[ "0.8837166", "0.8720212", "0.8622953", "0.8616821", "0.8494361", "0.8474979", "0.84199214", "0.8366706", "0.83481956", "0.8315401", "0.8306215", "0.8273694", "0.8258912", "0.82516634", "0.8250484", "0.8231417", "0.81776434", "0.81551236", "0.8153424", "0.81365126", "0.8068093...
0.7433418
73
TODO Autogenerated method stub read in files from DIRECTORY
public static void main(String[] args) { File txtFiles = new File(DIRECTORY); TextReader reader = new TextReader(); // read words from each file for(File f : txtFiles.listFiles()) { System.out.println("Reading from: " + f.getName()); try { Scanner s = new Scanner(f); reader.readWords(s); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void getDirectoryContents() {\n\t File directory = Utilities.prepareDirectory(\"Filtering\");\n\t if(directory.exists()) {\n\t FilenameFilter filter = new FilenameFilter() {\n\t public boolean accept(File dir, String filename) {\n\t return filename.contains(\".pcm\") ...
[ "0.6341431", "0.60737014", "0.6072154", "0.592309", "0.58828056", "0.5814533", "0.5807407", "0.5806722", "0.5804307", "0.58017695", "0.57906914", "0.5788179", "0.577763", "0.57751393", "0.57717395", "0.5720293", "0.57141995", "0.5710712", "0.56606305", "0.5648825", "0.5648303...
0.0
-1
TODO Autogenerated method stub
@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); GLSurfaceView cubeGL = new GLSurfaceView(this); requestWindowFeature(Window.FEATURE_CUSTOM_TITLE); render = new OpenGL3DRenderer(this); cubeGL.setZOrderOnTop(true); cubeGL.setEGLConfigChooser(8, 8, 8, 8...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.66713095", "0.6567948", "0.652319", "0.648097", "0.64770466", "0.64586824", "0.64132667", "0.6376419", "0.62759", "0.62545097", "0.62371093", "0.62237984", "0.6201738", "0.619477", "0.619477", "0.61924416", "0.61872935", "0.6173417", "0.613289", "0.6127952", "0.6080854", ...
0.0
-1
if beginning character is before ending character for example beginning A ending D >>ABCD if beginning character is after ending character for example beginning D, ending A>>DCBA
public static void printAlphabetInRange(char beginning, char ending ){ if(beginning<ending){ System.out.println("we need to increment from " + beginning+" till "+ending); for (char i = beginning; i <=ending ; i++) { System.out.print(i+" "); } System.out...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract boolean isStarterChar(char c);", "public boolean mixStart(String str) {\n if (str.length() < 3) return false;\n return (str.substring(1,3).equals(\"ix\"));\n}", "public String startOz(String str) {\n String result = \"\";\n \n if (str.length() >= 1 && str.charAt(0)=='o') {\n result = re...
[ "0.61711496", "0.5852385", "0.5822357", "0.58060604", "0.5732902", "0.5712352", "0.56610763", "0.56505096", "0.5614374", "0.56021833", "0.55982894", "0.5551565", "0.55331266", "0.5518255", "0.5517471", "0.5463878", "0.5461288", "0.546012", "0.5427803", "0.5389526", "0.5385263...
0.5520232
13
printAtoZ create a method that has no parameter and print AZ in one line
public static void printAtoZ(){ for (char i = 'A'; i <= 'Z'; i++) { System.out.print(i + " "); } System.out.println(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String print();", "public void print(){\n System.out.println(\"(\"+a.getAbsis()+\"_a,\"+a.getOrdinat()+\"_a)\");\n System.out.println(\"(\"+b.getAbsis()+\"_b,\"+b.getOrdinat()+\"_b)\");\n System.out.println(\"(\"+c.getAbsis()+\"_b,\"+c.getOrdinat()+\"_c)\");\n }", "public static ...
[ "0.59672874", "0.59554493", "0.5746995", "0.5736258", "0.5667017", "0.5648505", "0.5608034", "0.55979025", "0.55966073", "0.5577973", "0.5577973", "0.5577973", "0.5577973", "0.5575206", "0.556547", "0.5564069", "0.5549883", "0.55432975", "0.55323935", "0.54847956", "0.5480065...
0.6749977
0
Remove a bunch of mr files from a directory. Will print a line mentioning the delete for each entry. Assumes standard naming scheme for entries as usual.
public static boolean removeMRFiles( String dir, ArrayList entries_todelete ) { for (Iterator i=entries_todelete.iterator(); i.hasNext();) { String entry_code = (String) i.next(); String fname = dir + File.separator + entry_code + ".mr"; File f = new File(fname); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static boolean removeMRFilesInteractively( String dir, ArrayList entries_todelete ) {\n \n// String reply = \"bogus\";\n boolean status;\n \n General.showOutput(\"Entries to delete: [\" + entries_todelete.size() + \"]\");\n General.showOutput(\"Entries to...
[ "0.6904569", "0.6298582", "0.61524844", "0.6036331", "0.58612734", "0.58301485", "0.55347544", "0.5473984", "0.54402566", "0.5438012", "0.5419862", "0.54151565", "0.5379606", "0.53553206", "0.53075516", "0.5292611", "0.52825284", "0.52797264", "0.52605766", "0.52464396", "0.5...
0.72239256
0
Remove a bunch of mr files from the database. Will print a line mentioning the delete for each entry. Assumes standard naming scheme for entries as usual meaning that the mrfiles should have the detail value set to: FILE_DETAIL_CLASSIFIED
public static boolean removeMRFilesFromDB( ArrayList entries_todelete ) { boolean status = sql_epiII.deleteMRFilesByPDBIdsByDetail( entries_todelete, SQL_Episode_II.FILE_DETAIL_CLASSIFIED ); if ( ! status ) { General.showError("in MRAnnotate.removeMRFilesFromDB found:"); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static boolean removeMRFilesInteractivelyFromDB( ArrayList entries_todelete ) {\n \n// String reply = \"bogus\";\n boolean status;\n \n General.showOutput(\"Entries to delete: [\" + entries_todelete.size() + \"]\");\n General.showOutput(\"Entries to delet...
[ "0.6837551", "0.6678123", "0.6480665", "0.63786113", "0.59105545", "0.588921", "0.58596396", "0.57717115", "0.57018614", "0.5667201", "0.5655033", "0.5568618", "0.55619884", "0.5533611", "0.552242", "0.5503438", "0.5497736", "0.549146", "0.54884857", "0.5473593", "0.543588", ...
0.67580724
1
Uses removeMRFiles but will first list the files to be deleted and will then ask for conformation.
public static boolean removeMRFilesInteractively( String dir, ArrayList entries_todelete ) { // String reply = "bogus"; boolean status; General.showOutput("Entries to delete: [" + entries_todelete.size() + "]"); General.showOutput("Entries to delete: " + entri...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static boolean removeMRFilesInteractivelyFromDB( ArrayList entries_todelete ) {\n \n// String reply = \"bogus\";\n boolean status;\n \n General.showOutput(\"Entries to delete: [\" + entries_todelete.size() + \"]\");\n General.showOutput(\"Entries to delet...
[ "0.6377288", "0.63531566", "0.6049497", "0.597395", "0.5945102", "0.5919864", "0.59126216", "0.5748056", "0.571043", "0.57100207", "0.56559867", "0.56547457", "0.56454474", "0.5640663", "0.5629563", "0.56154644", "0.5615269", "0.561321", "0.5607183", "0.5605126", "0.55934715"...
0.6539396
0
Will look for all mrfiles in the database that have the standard details: mrfile.details = SQL_Episode_II.FILE_DETAIL_CLASSIFIED
public static ArrayList getEntriesFromClassifiedMRFilesNewerThanDays( int max_days ) { ArrayList entries = sql_epiII.getPDBIdFromMRFileByDetailNewerThanDays( SQL_Episode_II.FILE_DETAIL_CLASSIFIED, max_days ); if (entries == null) { General.showError("getting entry c...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static ArrayList getEntriesFromClassifiedMRFiles() {\n \n ArrayList entries = sql_epiII.getPDBIdFromMRFileByDetail( SQL_Episode_II.FILE_DETAIL_CLASSIFIED );\n \n if (entries == null) {\n General.showError(\"getting entry codes from the db.\");\n return (entr...
[ "0.586193", "0.5650874", "0.5439893", "0.52184105", "0.51727515", "0.50775486", "0.50757295", "0.5037671", "0.49760124", "0.49760124", "0.49604475", "0.48777038", "0.4877627", "0.48600304", "0.48305312", "0.48153985", "0.47890744", "0.47831324", "0.4780414", "0.4745086", "0.4...
0.46474296
34