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
TODO Autogenerated method stub
public ActionForward deleteNSR(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) { String nsrwjbm=request.getParameter("nsrwjbm"); String sql="delete from skq_nsrxx where nsrwjbm='"+nsrwjbm+"'"; Query.updateField(sql); sql="delete from skq_jqxx where nsrwj...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
public ActionForward updateJqcsh(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) { String jqbh=request.getParameter("jqbh"); String sql="update skq_jqxx set cshsj=null where jqbh='"+jqbh+"'"; Query.updateField(sql); String nsrwjbm = request.getParameter(...
{ "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
/ Access modifiers changed, original: final
public final IConfCallBack fT(boolean z) { IConfCallBack iConfCallBack; AppMethodBeat.i(135484); ab.i("MicroMsg.OpenVoice.OpenVoiceNativeCallbackMgr", "hy: trigger validate callback %b", Boolean.valueOf(z)); synchronized (this) { if (z) { try { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void func_104112_b() {\n \n }", "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "private void m50366E() {\n }", "public final void mo51373a() {\n }", "@Override\n boolean isFinal() {\n return false;\n }", "@Ov...
[ "0.6830196", "0.6692951", "0.6536437", "0.65216404", "0.6512161", "0.6459532", "0.64544636", "0.6443396", "0.64093846", "0.6392295", "0.6350895", "0.63426644", "0.6327568", "0.63140607", "0.6310025", "0.62988853", "0.6227509", "0.6218424", "0.6198849", "0.6182894", "0.6181486...
0.0
-1
/ Access modifiers changed, original: final
public final <ConvertedDataType, OutParamType> void a(int i, a<ConvertedDataType, OutParamType> aVar) { int i2 = 1; AppMethodBeat.i(135485); ab.i("MicroMsg.OpenVoice.OpenVoiceNativeCallbackMgr", "hy: registering event id: %d", Integer.valueOf(i)); synchronized (this) { try { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void func_104112_b() {\n \n }", "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "private void m50366E() {\n }", "public final void mo51373a() {\n }", "@Override\n boolean isFinal() {\n return false;\n }", "@Ov...
[ "0.6830196", "0.6692951", "0.6536437", "0.65216404", "0.6512161", "0.6459532", "0.64544636", "0.6443396", "0.64093846", "0.6392295", "0.6350895", "0.63426644", "0.6327568", "0.63140607", "0.6310025", "0.62988853", "0.6227509", "0.6218424", "0.6198849", "0.6182894", "0.6181486...
0.0
-1
/ Access modifiers changed, original: final
public final <ConvertedDataType, OutParamType> void b(int i, a<ConvertedDataType, OutParamType> aVar) { AppMethodBeat.i(135486); synchronized (this) { try { HashSet hashSet = (HashSet) this.kzG.get(i); if (hashSet != null) { hashSet.remove(...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void func_104112_b() {\n \n }", "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "private void m50366E() {\n }", "public final void mo51373a() {\n }", "@Override\n boolean isFinal() {\n return false;\n }", "@Ov...
[ "0.6830196", "0.6692951", "0.6536437", "0.65216404", "0.6512161", "0.6459532", "0.64544636", "0.6443396", "0.64093846", "0.6392295", "0.6350895", "0.63426644", "0.6327568", "0.63140607", "0.6310025", "0.62988853", "0.6227509", "0.6218424", "0.6198849", "0.6182894", "0.6181486...
0.0
-1
Returns an entry representing a file.
private static Entry<String, Item> entry(String fileName) { Entry<String, Item> entry = new Entry<String, Item>(); entry.setKey(fileName); entry.setData(item(fileName)); return entry; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "com.google.devtools.kythe.proto.Analysis.FileInfo getEntry(int index);", "public FileSystemEntry getEntry(String path);", "public com.google.devtools.kythe.proto.Analysis.FileInfo getEntry(int index) {\n return entry_.get(index);\n }", "public static File getResourceAsFile(String fileEntry) {\n\t...
[ "0.70490414", "0.6888856", "0.6740384", "0.67177665", "0.669207", "0.6641869", "0.65760094", "0.6514864", "0.6488469", "0.6398952", "0.63219446", "0.63219446", "0.62322897", "0.62322897", "0.62273157", "0.62273157", "0.6177575", "0.613464", "0.60855025", "0.6083338", "0.60187...
0.6756535
2
Returns an item representing a file.
private static Item item(String fileName) { Item item = new Item(); item.setTitle(fileName); item.setLink("/files/" + fileName); return item; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public File getFileValue();", "FileObject getFile();", "FileObject getFile();", "@SuppressWarnings(\"unchecked\")\r\n\tpublic static Item loadItem(String filename)\r\n\t{\r\n\t\ttry\r\n\t\t{\r\n\t\t\tObjectInputStream ois = new ObjectInputStream(new FileInputStream(new File(filename)));\r\n\t\t\tItem item = ...
[ "0.6760518", "0.6654276", "0.6654276", "0.66073513", "0.655517", "0.65524024", "0.65524024", "0.64748347", "0.6469455", "0.6455137", "0.64011204", "0.64011204", "0.6390183", "0.6390183", "0.63823396", "0.6382238", "0.6381305", "0.6380967", "0.6378059", "0.635114", "0.6349823"...
0.6965909
0
end BackgroundCalculator constructor longrunning code to be run in a worker thread
public Long doInBackground() { return nthFib = fibonacci(n); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void backgroundExecution() {\n // This moves the time consuming operation to a child thread.\n Thread thread=new Thread(null, doBackgroundThreadProcessing, \"Background\");\n thread.start();\n }", "private void backgroundThreadProcessing() {\n // [ ... Time consuming operat...
[ "0.7019079", "0.6346188", "0.63210243", "0.6020826", "0.60123837", "0.59896594", "0.59825265", "0.59437", "0.5901068", "0.5870266", "0.58495164", "0.5836906", "0.58228874", "0.57722455", "0.5763904", "0.5753168", "0.5746212", "0.5745955", "0.57076114", "0.56930727", "0.568977...
0.0
-1
end method doInBackground code to run on the event dispatch thread when doInBackground returns
protected void done() { try { // get the result of doInBackground and display it resultJLabel.setText(get().toString()); } // end try catch (InterruptedException ex) { resultJLabel.setText("Interrupted while waiting for results."); } // end catch catch (ExecutionException ex) { resultJLabel.setTex...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void inTheEndOfDoInBackground(NetworkResponse networkResponse);", "public void done() {\n AppMethodBeat.i(98166);\n try {\n AsyncTask.this.a(get());\n AppMethodBeat.o(98166);\n } catch (InterruptedException e) {\n AppMethodBeat.o(98166...
[ "0.73957205", "0.71651", "0.7130023", "0.69280803", "0.68507403", "0.68076926", "0.6782351", "0.67763925", "0.6748097", "0.6748097", "0.6748097", "0.66901445", "0.6678825", "0.66716295", "0.6648056", "0.6604644", "0.6604644", "0.6604644", "0.6598062", "0.65039444", "0.6462269...
0.6482699
20
end method done recursive method fibonacci; calculates nth Fibonacci number
public long fibonacci(long number) { if (number == 0 || number == 1) return number; else return fibonacci(number - 1) + fibonacci(number - 2); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private int fib(int n) {\n int retVal = 0;\n if (n == 1) {\n retVal = 1;\n } else if (n == 2) {\n retVal = 1;\n } else {\n \n int nextfib = fib(n-2) + fib(n-1);\n retVal = nextfib;\n }\n \n return retVal;\n ...
[ "0.8337849", "0.8209489", "0.820584", "0.8199181", "0.8108092", "0.8090069", "0.8016463", "0.7987688", "0.79551893", "0.79234016", "0.7894567", "0.78799474", "0.78696287", "0.785294", "0.7850303", "0.78157115", "0.7808083", "0.780405", "0.78039527", "0.77880305", "0.776307", ...
0.7282791
50
Method returning collection of all pets in the shelter
public Collection<VirtualPet> pets() { return shelterPets.values(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ArrayList<Pets> getPets(){\n DataBase db = new DataBase(context);\n initPets(db);\n return db.getPets();\n }", "@Override\n public Set<Shelf> getShelves() {\n return new HashSet<>(shelves);\n }", "private void getPets(){\r\n\t\tfor(Player p : players){\r\n\t\t\tArray...
[ "0.72755563", "0.68008137", "0.6542245", "0.64477736", "0.643795", "0.6216908", "0.62093306", "0.6206319", "0.60223055", "0.59701663", "0.58953035", "0.5894967", "0.58665556", "0.57812065", "0.5780335", "0.57605594", "0.57520735", "0.5721973", "0.57144433", "0.5681336", "0.56...
0.81314313
0
Method adding pets to the map
public void addPet(VirtualPet pet) { shelterPets.put(pet.name, pet); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addPets(PetPOJO pet) {\n pets.add(pet);\n }", "private void addItems() {\n int random3 = 0;\n for (int i = 0; i < MAP_LENGTH; i++) {\n for (int j = 0; j < MAP_LENGTH; j++) {\n random3 = (int)(Math.round(Math.random()*9));\n if (tileMap[...
[ "0.6854547", "0.60421586", "0.5932515", "0.59151375", "0.5746991", "0.5702226", "0.5679873", "0.56660837", "0.5557358", "0.554989", "0.55432075", "0.5536594", "0.55199325", "0.55008465", "0.54825705", "0.54342365", "0.54192454", "0.5389388", "0.5338427", "0.53305113", "0.5322...
0.60918444
1
Method to feed all pets. For each VirtualPet in the map, run the feedPet method.
public void feedAll() { for (VirtualPet p : shelterPets.values()) { p.feedPet(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void waterAll() {\n\t\tfor (VirtualPet p : shelterPets.values()) {\n\t\t\tp.waterPet();\n\t\t}\n\t}", "private void getPets(){\r\n\t\tfor(Player p : players){\r\n\t\t\tArrayList<Pet> currentpets = new ArrayList<>();\r\n\r\n\t\t\tSystem.out.println(\"How many pets for \" + p.getName() + \": \");\r\n\t\t\ti...
[ "0.67006326", "0.6465785", "0.59821874", "0.5924035", "0.5886352", "0.55672145", "0.555406", "0.5544652", "0.55412483", "0.55299324", "0.54539853", "0.5426748", "0.5390861", "0.5360224", "0.5293082", "0.5189544", "0.51452947", "0.51431143", "0.508353", "0.5051524", "0.5012831...
0.85756296
0
Method to water all pets
public void waterAll() { for (VirtualPet p : shelterPets.values()) { p.waterPet(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void feedAll() {\n\t\tfor (VirtualPet p : shelterPets.values()) {\n\t\t\tp.feedPet();\n\t\t}\n\t}", "private void pump_water() {\n\t\t\r\n\t}", "static boolean tryWaterTree() throws GameActionException{\n\t\tTreeInfo[] trees = rc.senseNearbyTrees(-1, rc.getTeam());\n\t\tfor (TreeInfo t : trees){\n\t\t\t...
[ "0.6951547", "0.64733183", "0.6149492", "0.6027157", "0.60043734", "0.59187365", "0.58388615", "0.5681043", "0.56788844", "0.5621992", "0.5608779", "0.5605844", "0.5603313", "0.5583677", "0.5527346", "0.5516074", "0.54766136", "0.54710704", "0.5453234", "0.54381955", "0.54315...
0.86994416
0
Method to clean all pets
public void cleanAll() { for (VirtualPet p : shelterPets.values()) { p.cleanPet(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void clean();", "public void clean();", "public void clean();", "public void clean();", "static void wipeLocations(){\n\t \tfor (int i= 0; i < places.length; i++){\n\t\t\t\tfor (int j = 0; j < places[i].items.size(); j++)\n\t\t\t\t\tplaces[i].items.clear();\n\t\t\t\tfor (int k = 0; k < places[i]....
[ "0.6468332", "0.6468332", "0.6468332", "0.6468332", "0.6430603", "0.63895", "0.63769794", "0.6346967", "0.6312898", "0.62493783", "0.62405616", "0.6204552", "0.6188561", "0.6188561", "0.6188561", "0.6176706", "0.614048", "0.60833085", "0.60702527", "0.60702527", "0.604772", ...
0.8375389
0
Method to return a pet from the map by name
public VirtualPet getPet(String name) { return shelterPets.get(name); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Pet getPet(String name) {\n\t\treturn getPet(name, false);\n\t}", "public Pet getPet(String name, boolean ignoreNew) {\n\t\tname = name.toLowerCase();\n\t\tfor (Pet pet : getPetsInternal()) {\n\t\t\tif (!ignoreNew || !pet.isNew()) {\n\t\t\t\tString compName = pet.getName();\n\t\t\t\tcompName = compName.to...
[ "0.7365927", "0.67472434", "0.6573583", "0.6558933", "0.626462", "0.626296", "0.62069625", "0.61547893", "0.61196375", "0.60532176", "0.601913", "0.5994881", "0.59440154", "0.5930266", "0.5907225", "0.58924747", "0.58644605", "0.58548456", "0.5840418", "0.58280617", "0.581937...
0.74036527
0
Method to play with one pet
public void playOne(VirtualPet player) { player.playPet(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void play(Player p){\r\n\t\tSystem.out.println(\"What pet would you like to play with?\");\r\n\t\tint c = 1;\r\n\t\tArrayList<Toy> toys = p.getToys();\r\n\r\n\t\tfor(Pet pet : p.getPets()){\r\n\t\t\tSystem.out.println(c + \". \" + pet.getPetname());\r\n\t\t\tc++;\r\n\t\t}\r\n\t\tint selectedpetindex = getN...
[ "0.7828707", "0.7100256", "0.67849207", "0.65981257", "0.659701", "0.65338445", "0.645682", "0.64463466", "0.64013714", "0.6369291", "0.6329505", "0.62987596", "0.6296989", "0.6290096", "0.6248129", "0.6242046", "0.6226588", "0.6214629", "0.61987895", "0.61863774", "0.6182286...
0.7575393
1
Method to adopt a pet
public void adoptPet(String removedPet) { shelterPets.remove(removedPet); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n\tpublic void testAdoptionOfAShelterPet() {\n\t\tVirtualPetShelter testPetShelter = new VirtualPetShelter(); \n\t\ttestPetShelter.addPet(\"Rusty\", new VirtualPet(\"Rusty\", \"He doesn't get hungry, he's Dead!\", 0, 0, 0));\n\t\ttestPetShelter.addPet(\"Grazer\", new VirtualPet(\"Grazer\", \"She cant leave.....
[ "0.706861", "0.68448573", "0.6732431", "0.6728354", "0.6559374", "0.651646", "0.63397235", "0.6292373", "0.6242487", "0.61305237", "0.6059782", "0.60574406", "0.60391724", "0.6033726", "0.60250795", "0.6012292", "0.59814954", "0.59678", "0.59673196", "0.5963243", "0.5946774",...
0.5983569
16
Have to set it to true so you can your the OnCreateOptionsMenu() function
@Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { setHasOptionsMenu(true); rootView = inflater.inflate(R.layout.link_list, container, false); activity = getActivity(); // Find a reference to th...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\t\n\t\t \n return true;\n\t}", "@Override\r\n public boolean onCreateOptionsMenu(Menu menu) {\n\r\n return true;\r\n }", "@Override\npublic boolean onCreateOptionsMenu(Menu menu) {\n return true;\n }", "@Overri...
[ "0.8536829", "0.85315305", "0.8531289", "0.85166323", "0.85166323", "0.85166323", "0.85166323", "0.85166323", "0.85166323", "0.8511543", "0.8488834", "0.8486182", "0.8478717", "0.8472849", "0.84274346", "0.84274346", "0.84274346", "0.84274346", "0.84274346", "0.84274346", "0....
0.0
-1
Hide loading indicator because the data has been loaded
@Override public void onLoadFinished(Loader<List<Link>> loader, List<Link> links) { View loadingIndicator = rootView.findViewById(R.id.loading_indicator); loadingIndicator.setVisibility(View.GONE); // Set empty state text to display "No links found." emptyStateTextView.setText(R.str...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void hideLoading()\n {\n relLoadingPanel.setVisibility(View.GONE);\n ViewHelper.setViewGroupEnabled(scrMainContainer, true);\n }", "private void showLoading() {\n mRecycleView.setVisibility(View.INVISIBLE);\n /* Finally, show the loading indicator */\n mLoadingInd...
[ "0.7811368", "0.7792105", "0.7745711", "0.7680877", "0.7665593", "0.76342726", "0.7508345", "0.742704", "0.7419868", "0.72494", "0.7188237", "0.7112717", "0.7106117", "0.70980805", "0.7097986", "0.7097623", "0.70571107", "0.70479405", "0.70278245", "0.69912", "0.69730306", ...
0.0
-1
Loader reset, so we can clear out our existing data. adapter2.clear();
@Override public void onLoaderReset(Loader<List<Link>> loader) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void onLoaderReset(Loader<List<Book>> loader) {\n mAdapter.clear();\n }", "@Override\n public void onLoaderReset(Loader<ArrayList<Book>> loader) {\n adapter.clear();\n Log.i(LOG_TAG,\"onLoaderReset\");\n }", "@Override\n public void onLoaderReset(Loade...
[ "0.82650405", "0.8167838", "0.8161345", "0.8090242", "0.80745745", "0.806551", "0.806374", "0.8055596", "0.8043748", "0.8007334", "0.78237194", "0.7807075", "0.7792245", "0.7764343", "0.7719886", "0.77111274", "0.7704299", "0.7699102", "0.7674117", "0.76670814", "0.76530284",...
0.68285483
54
Get the cursor, positioned to the corresponding row in the result set
@Override public void onItemClick(AdapterView<?> listView, View view, int position, long id) { Cursor cursor = (Cursor) listView.getItemAtPosition(position); String email = cursor.getString(cursor.getColumnIndexOrT...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract long getCursor();", "public int getCursor() { return curs; }", "@Nullable\n\tprotected abstract T readCursor(ResultSet rs, int currentRow) throws SQLException;", "public int getCurrentRowNumber() throws SQLException {\n/* 174 */ return this.currentPositionInEntireResult + 1;\n/* */ ...
[ "0.7476776", "0.73659617", "0.7129292", "0.6982205", "0.68917495", "0.6825945", "0.6775825", "0.6769757", "0.6629953", "0.6587987", "0.6539544", "0.6498297", "0.6470159", "0.6437232", "0.64214367", "0.63793766", "0.6363279", "0.6356981", "0.63544303", "0.6333752", "0.6304166"...
0.0
-1
Create the two player objects
public static void main(String[] args) { Player player1 = new Player(); Player player2 = new Player(); //Create the scanner object for input Scanner input = new Scanner(System.in); while(true) { //Let player 1 shoot their shot player1.Shoot(); if(player1.getPlayerBucket()==false) { /...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void createPlayers() {\n\tGlobal.camera_player1 = new Camera(new OrthographicCamera());\n\tGlobal.camera_player2 = new Camera(new OrthographicCamera());\n\tGlobal.camera_ui = new OrthographicCamera();\n\tGlobal.player1 = new Plane(Global.player1_respawn.x,\n\t\tGlobal.player1_respawn.y, 0, new Planetype(Pl...
[ "0.7872644", "0.742941", "0.73970073", "0.7233177", "0.7158484", "0.71360606", "0.7115959", "0.7114443", "0.69507736", "0.6940266", "0.6779417", "0.6685085", "0.6613023", "0.6600601", "0.6577804", "0.6526712", "0.6524847", "0.65007657", "0.64842784", "0.64539635", "0.644562",...
0.0
-1
This method was generated by MyBatis Generator. This method corresponds to the database table account
int deleteByPrimaryKey(String id);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@SqlQuery(\"select * from account\")\r\n public List<accountDB> get();", "@Query(\"select a from Account a\")\n List<Account> getAllAccount();", "public BankAccount findAccountById(int currentBankID) throws SQLException;", "Account selectByPrimaryKey(Long accountid);", "public void createAccountTable...
[ "0.66119426", "0.62071675", "0.6161898", "0.613387", "0.6078687", "0.6062299", "0.6017875", "0.6015458", "0.59938693", "0.5983831", "0.59764045", "0.5954496", "0.5941056", "0.5915", "0.5907664", "0.5882835", "0.5857446", "0.5845746", "0.58445644", "0.5825568", "0.58070624", ...
0.0
-1
This method was generated by MyBatis Generator. This method corresponds to the database table account
int insert(Account record);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@SqlQuery(\"select * from account\")\r\n public List<accountDB> get();", "@Query(\"select a from Account a\")\n List<Account> getAllAccount();", "public BankAccount findAccountById(int currentBankID) throws SQLException;", "Account selectByPrimaryKey(Long accountid);", "public void createAccountTable...
[ "0.6612246", "0.6207615", "0.6163707", "0.61339647", "0.6075847", "0.60627675", "0.6018527", "0.60154366", "0.59935486", "0.5984616", "0.59767735", "0.5954365", "0.5941535", "0.5916868", "0.59099877", "0.58843684", "0.5858682", "0.58463085", "0.58451885", "0.58255434", "0.580...
0.0
-1
This method was generated by MyBatis Generator. This method corresponds to the database table account
int insertSelective(Account record);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@SqlQuery(\"select * from account\")\r\n public List<accountDB> get();", "@Query(\"select a from Account a\")\n List<Account> getAllAccount();", "public BankAccount findAccountById(int currentBankID) throws SQLException;", "Account selectByPrimaryKey(Long accountid);", "public void createAccountTable...
[ "0.66119426", "0.62071675", "0.6161898", "0.613387", "0.6078687", "0.6062299", "0.6017875", "0.6015458", "0.59938693", "0.5983831", "0.59764045", "0.5954496", "0.5941056", "0.5915", "0.5907664", "0.5882835", "0.5857446", "0.5845746", "0.58445644", "0.5825568", "0.58070624", ...
0.0
-1
This method was generated by MyBatis Generator. This method corresponds to the database table account
Account selectByPrimaryKey(String id);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@SqlQuery(\"select * from account\")\r\n public List<accountDB> get();", "@Query(\"select a from Account a\")\n List<Account> getAllAccount();", "public BankAccount findAccountById(int currentBankID) throws SQLException;", "Account selectByPrimaryKey(Long accountid);", "public void createAccountTable...
[ "0.6611813", "0.6207485", "0.61638474", "0.6133445", "0.60778236", "0.6062583", "0.60182166", "0.6015758", "0.5994378", "0.5983749", "0.59765923", "0.59561926", "0.5940864", "0.5916388", "0.59102565", "0.58845484", "0.58584654", "0.5846061", "0.58254087", "0.58078426", "0.580...
0.58442533
18
This method was generated by MyBatis Generator. This method corresponds to the database table account
int updateByPrimaryKeySelective(Account record);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@SqlQuery(\"select * from account\")\r\n public List<accountDB> get();", "@Query(\"select a from Account a\")\n List<Account> getAllAccount();", "public BankAccount findAccountById(int currentBankID) throws SQLException;", "Account selectByPrimaryKey(Long accountid);", "public void createAccountTable...
[ "0.66119426", "0.62071675", "0.6161898", "0.613387", "0.6078687", "0.6062299", "0.6017875", "0.6015458", "0.59938693", "0.5983831", "0.59764045", "0.5954496", "0.5941056", "0.5915", "0.5907664", "0.5882835", "0.5857446", "0.5845746", "0.58445644", "0.5825568", "0.58070624", ...
0.0
-1
This method was generated by MyBatis Generator. This method corresponds to the database table account
int updateByPrimaryKey(Account record);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@SqlQuery(\"select * from account\")\r\n public List<accountDB> get();", "@Query(\"select a from Account a\")\n List<Account> getAllAccount();", "public BankAccount findAccountById(int currentBankID) throws SQLException;", "Account selectByPrimaryKey(Long accountid);", "public void createAccountTable...
[ "0.6612246", "0.6207615", "0.6163707", "0.61339647", "0.6075847", "0.60627675", "0.6018527", "0.60154366", "0.59935486", "0.5984616", "0.59767735", "0.5954365", "0.5941535", "0.5916868", "0.59099877", "0.58843684", "0.5858682", "0.58463085", "0.58451885", "0.58255434", "0.580...
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.my, menu); return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n \tMenuInflater inflater = getMenuInflater();\n \tinflater.inflate(R.menu.main_activity_actions, menu);\n \treturn super.onCreateOptionsMenu(menu);\n }", "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {...
[ "0.7246102", "0.7201358", "0.7194834", "0.7176498", "0.71066517", "0.7039537", "0.7037961", "0.70112145", "0.70094734", "0.69807225", "0.6944953", "0.69389373", "0.6933199", "0.6916928", "0.6916928", "0.6891486", "0.68831646", "0.68754137", "0.68745375", "0.68621665", "0.6862...
0.0
-1
Handle action bar item clicks here. The action bar will automatically handle clicks on the Home/Up button, so long as you specify a parent activity in AndroidManifest.xml.
@Override public boolean onOptionsItemSelected(MenuItem item) { int id = item.getItemId(); return id == R.id.action_settings || super.onOptionsItemSelected(item); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public boolean onOptionsItemSelected(MenuItem item) { Handle action bar item clicks here. The action bar will\n // automatically handle clicks on the Home/Up button, so long\n // as you specify a parent activity in AndroidManifest.xml.\n\n //\n // HANDLE BACK BUTTON\n ...
[ "0.79042757", "0.7805287", "0.7766401", "0.7727273", "0.7631789", "0.76227075", "0.75850916", "0.75309587", "0.74881005", "0.74574566", "0.74574566", "0.7438689", "0.74217546", "0.7403555", "0.73919356", "0.738709", "0.7379311", "0.73706394", "0.73631936", "0.7356187", "0.734...
0.0
-1
builds ShoppingListChangeTextLineItemQuantityAction without checking for non null required values
public ShoppingListChangeTextLineItemQuantityAction buildUnchecked() { return new ShoppingListChangeTextLineItemQuantityActionImpl(textLineItemId, quantity); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ChangeCustomLineItemQuantityChange buildUnchecked() {\n return new ChangeCustomLineItemQuantityChangeImpl(change, previousValue, nextValue, customLineItem,\n customLineItemId);\n }", "public static ChangeCustomLineItemQuantityChangeBuilder of() {\n return new ChangeCustomLineIt...
[ "0.61142504", "0.6084739", "0.57324", "0.56872076", "0.5642042", "0.56193227", "0.5585558", "0.54905415", "0.5458863", "0.545663", "0.545663", "0.545663", "0.54056555", "0.5394057", "0.53103447", "0.5285915", "0.5281566", "0.5281566", "0.52678144", "0.52578", "0.5235126", "...
0.7500634
0
The constructor for this class
public PorController() { window = utils.getWindow(); storageLocation = null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Constructor() {\r\n\t\t \r\n\t }", "public Constructor(){\n\t\t\n\t}", "public PSRelation()\n {\n }", "public CyanSus() {\n\n }", "public Chick() {\n\t}", "public Coche() {\n super();\n }", "private Instantiation(){}", "public Chauffeur() {\r\n\t}", "public Lanceur() {\n\t}", "public Orb...
[ "0.8594242", "0.8276221", "0.7473248", "0.74486613", "0.7281836", "0.7248455", "0.72395784", "0.71978307", "0.71883607", "0.7187296", "0.71820605", "0.7179505", "0.7157305", "0.71564496", "0.7153138", "0.714791", "0.71356666", "0.7119485", "0.7094403", "0.7087575", "0.7067098...
0.0
-1
Unbinds the elements before closing
@PreDestroy public void onClose() { progSpin.progressProperty().unbind(); progLabel.textProperty().unbind(); processButton.disableProperty().unbind(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void close() {\n unbind();\n }", "@Override\n\tpublic void close() {\n\t\tsuper.close();\n\t\t\n\t\tbnetMap.clear();\n\t\titemIds.clear();\n\t}", "@Override\n public void close()\n throws XMLStreamException\n {\n /* 19-Jul-2004, TSa: Hmmh. Let's actually close all s...
[ "0.60976046", "0.6003477", "0.5995002", "0.59613454", "0.592442", "0.5918397", "0.585557", "0.57862973", "0.5780644", "0.57526124", "0.5742161", "0.5663252", "0.56582266", "0.56573653", "0.5639651", "0.5615545", "0.559141", "0.55850893", "0.55720985", "0.55605376", "0.5543040...
0.0
-1
Interaction IkanSungutGanda kepada pengunjung.
@Override public void interact() { System.out.print("Halo aku ikan di bawah laut dalam lho, aku punya lampu supaya aku" + "bisa tetap melihat di kegelapan"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void atakuj() {\n\n System.out.println(\"to metoda atakuj z klasy Potwor \");\n\n }", "public void tampilKarakterA(){\r\n System.out.println(\"Saya mempunyai kaki empat \");\r\n }", "public static void Latihan() {\n Model.Garis();\n System.out.println(Model.subTitel[0]);\...
[ "0.6920435", "0.6865736", "0.670859", "0.65081793", "0.65047437", "0.64887017", "0.644254", "0.64141494", "0.6371254", "0.6350112", "0.6310088", "0.6268243", "0.62184334", "0.61971545", "0.61747134", "0.6170515", "0.6167078", "0.6129937", "0.61268884", "0.61260825", "0.610775...
0.677621
2
Memperoleh type makanan animal.
@Override public String getFoodType() { return foodType; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Animal(String tipo){\n\t\tthis.tipo = tipo;\n\t}", "AnimalSpecific(String category,String name,String type){\n\t\tsuper(category);\n\t\tanimalName = name;\n\t\tanimalType = type;\n\t}", "@Override\n\tpublic void tipoAnimal() {\n\t\tSystem.out.println(super.getNome() + \" é um gato.\");\n\t}", "public ...
[ "0.68862194", "0.654674", "0.6392628", "0.6147439", "0.61240554", "0.60426897", "0.5988034", "0.59876406", "0.59216326", "0.5912158", "0.590305", "0.589225", "0.5830597", "0.5799959", "0.5799866", "0.5762998", "0.5751882", "0.5746571", "0.5682306", "0.5680697", "0.5657774", ...
0.0
-1
Memperoleh nama kelas dari animal.
@Override public String getClassName() { return kelas; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public java.lang.CharSequence getNamaHari() {\n return nama_hari;\n }", "public java.lang.CharSequence getNamaHari() {\n return nama_hari;\n }", "public String getName() {\r\n return this.animalName;\r\n }", "@Override\n\tString getName(){\n\t\treturn animalName;\n\t}", "public String...
[ "0.6880144", "0.6839428", "0.65597457", "0.65386814", "0.64093995", "0.6338146", "0.6319623", "0.6256478", "0.62450653", "0.62409896", "0.6229689", "0.6190589", "0.6190589", "0.6165672", "0.6150967", "0.61246836", "0.6121311", "0.6102131", "0.604814", "0.60325164", "0.6025445...
0.0
-1
Memperoleh deskripsi animal .
@Override public String getDeskripsi() { return deskripsi; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void eisagwgiFarmakou() {\n\t\t// Elegxw o arithmos twn farmakwn na mhn ypervei ton megisto dynato\n\t\tif(numOfMedicine < 100)\n\t\t{\n\t\t\tSystem.out.println();\t\n\t\t\tmedicine[numOfMedicine] = new Farmako();\t\n\t\t\tmedicine[numOfMedicine].setCode(rnd.nextInt(1000000)); // To sistima dinei automata t...
[ "0.656895", "0.64282036", "0.64277166", "0.62242275", "0.6149798", "0.6065559", "0.60100263", "0.5995625", "0.59518987", "0.5896573", "0.58898944", "0.5888327", "0.587441", "0.58568335", "0.5847389", "0.58282757", "0.582727", "0.58256894", "0.5816978", "0.5815326", "0.5800808...
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.main, 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.724863", "0.7203384", "0.7197011", "0.71784776", "0.71090055", "0.7040796", "0.7039464", "0.7013998", "0.70109546", "0.6982435", "0.6946134", "0.6939684", "0.6935636", "0.69193685", "0.69193685", "0.6892893", "0.6884914", "0.68768066", "0.68763", "0.68635243", "0.68635243"...
0.0
-1
Handle action bar item clicks here. The action bar will automatically handle clicks on the Home/Up button, so long as you specify a parent activity in AndroidManifest.xml.
@Override public boolean onOptionsItemSelected(MenuItem item) { int id = item.getItemId(); if (id == R.id.action_settings) { return true; } return super.onOptionsItemSelected(item); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public boolean onOptionsItemSelected(MenuItem item) { Handle action bar item clicks here. The action bar will\n // automatically handle clicks on the Home/Up button, so long\n // as you specify a parent activity in AndroidManifest.xml.\n\n //\n // HANDLE BACK BUTTON\n ...
[ "0.7904669", "0.78062934", "0.77666116", "0.7727495", "0.7631956", "0.7622029", "0.75855523", "0.7530999", "0.7488249", "0.74583405", "0.74583405", "0.74391454", "0.742199", "0.7403733", "0.73921114", "0.7387281", "0.73795027", "0.73708874", "0.7363864", "0.7356251", "0.73459...
0.0
-1
Handle the collision of the moving entity to the same tile as the other entity.
@Override public final void handleCollision(final E movingEntity, final Entity otherEntity, final T game) throws CollisionException { if(movingEntity == null) { throw new IllegalArgumentException("mov...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected abstract boolean doHandleCollision(E movingEntity,\n Entity otherEntity,\n T game)\n throws CollisionException;", "public void applyEntityCollision(Entity entityIn) {\n }", "public void checkColli...
[ "0.7087368", "0.70210147", "0.6938246", "0.68742514", "0.6804212", "0.6796987", "0.67244864", "0.6716356", "0.6707067", "0.66994613", "0.6684086", "0.6637005", "0.6514469", "0.6483918", "0.64596504", "0.6414707", "0.64145863", "0.6387329", "0.6378986", "0.637575", "0.6369136"...
0.65876704
12
Handle the collision of the moving entity to the same tile as the other entity.
protected abstract boolean doHandleCollision(E movingEntity, Entity otherEntity, T game) throws CollisionException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void applyEntityCollision(Entity entityIn) {\n }", "public void checkCollisionTile(Entity entity) {\n\t\t\tint entityLeftX = entity.worldX + entity.collisionArea.x;\n\t\t\tint entityRightX = entity.worldX + entity.collisionArea.x + entity.collisionArea.width;\n\t\t\tint entityUpY = entity.worldY + entit...
[ "0.7020985", "0.69406503", "0.68742925", "0.68042487", "0.67974997", "0.67253286", "0.67171746", "0.67078626", "0.66995543", "0.6684196", "0.66383195", "0.65878993", "0.65140784", "0.6484398", "0.645947", "0.64150816", "0.6414879", "0.63880914", "0.63785154", "0.6375487", "0....
0.7087406
0
Creates an Uri for the MovieDb call
private static URL buildFinalMovieDbURL(String urlString){ Uri movieDbBuiltUri = Uri.parse(urlString).buildUpon() .appendQueryParameter(APIKEY_PARAM, BuildConfig.MOVIE_DB_API_KEY) .build(); //Now creates an URL based on the created Uri URL finalMovieDbURL = null;...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static URL buildMovieDbUrl(String apiMethod)\n {\n Uri builtUri = Uri.parse(API_BASE).buildUpon().appendEncodedPath(apiMethod)\n .appendQueryParameter(\"api_key\", API_KEY).build();\n URL url = null;\n try {\n url = new URL(builtUri.toString());\n } ...
[ "0.65852576", "0.6394486", "0.6247847", "0.5965436", "0.59498066", "0.59438163", "0.591794", "0.5864067", "0.5832224", "0.58097947", "0.57968056", "0.57968056", "0.5727077", "0.5719105", "0.5660976", "0.5605765", "0.5570352", "0.55636555", "0.5548898", "0.55197614", "0.548335...
0.64136845
1
This decides how the result will be sorted.
public static URL buildMovieDbQueryURL(@MovieDisplayMode int displayMode) { String chosenURLBasedOnSortBy = ""; switch (displayMode) { case MovieDisplayMode.MOST_POPULAR: chosenURLBasedOnSortBy = MOVIEDB_API_MOSTPOPULAR_URL; break; case MovieDispl...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String doSort();", "public void sortCompetitors(){\n\t\t}", "public void sort() {\n }", "public void radixSorting() {\n\t\t\n\t}", "boolean isSortResult();", "public void sortMatches();", "protected void sort() {\n\n\t\tCollections.sort(this.myRRList);\n\t}", "@Override\r\n\tpublic void add...
[ "0.69436914", "0.67913437", "0.66259193", "0.65364516", "0.6513741", "0.6477468", "0.6457756", "0.6433925", "0.6408935", "0.63749254", "0.6327839", "0.632598", "0.6283207", "0.6271487", "0.625368", "0.62495345", "0.6244339", "0.6239953", "0.6211557", "0.62010515", "0.61625403...
0.0
-1
This method returns the entire result from the HTTP response.
public static String getResponseFromHttpUrl(URL url) throws IOException { HttpURLConnection urlConnection = (HttpURLConnection) url.openConnection(); try { InputStream in = urlConnection.getInputStream(); Scanner scanner = new Scanner(in); scanner.useDelimiter("\\A")...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getResponse();", "private static String paseResponse(HttpResponse response) {\n\t\tHttpEntity entity = response.getEntity();\n\t\t\n//\t\tlog.info(\"response status: \" + response.getStatusLine());\n\t\tString charset = EntityUtils.getContentCharSet(entity);\n//\t\tlog.info(charset);\n\t\t\n\t\t...
[ "0.6983338", "0.6791096", "0.6661941", "0.6621642", "0.65974313", "0.6528623", "0.6512443", "0.65030444", "0.65030444", "0.65030444", "0.65030444", "0.65030444", "0.6462374", "0.64320314", "0.64027375", "0.6311549", "0.6288311", "0.6270195", "0.625211", "0.6236235", "0.622964...
0.0
-1
TODO Autogenerated method stub
public static void main(String[] args) { int[] a = {22, 99, 55, 11}; quickSort(a, 0, a.length); for(int i=0; i<a.length; i++) { System.out.println(a[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
Responses to Hyperlink activation.
public void hyperlinkUpdate(HyperlinkEvent e) { if (e.getEventType() == HyperlinkEvent.EventType.ACTIVATED) { JEditorPane pane = (JEditorPane) e.getSource(); if (e instanceof HTMLFrameHyperlinkEvent) { HTMLFrameHyperlinkEvent evt = (HTMLFrameHyperlinkEvent)e; ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void generateEnquireLink();", "public boolean get_hyperlink_policy(){\n\t\treturn(this.activate_hyperlinks);\n\t}", "public java.lang.CharSequence getResponseLink() {\n return ResponseLink;\n }", "@RequestMapping(value = \"/link\", method = RequestMethod.GET)\n\tString link() {\n\t\ttry {\n\t\...
[ "0.5999804", "0.5926349", "0.58076197", "0.5802432", "0.5793948", "0.5582", "0.5378127", "0.5351467", "0.5345517", "0.5339925", "0.53251594", "0.52951753", "0.525595", "0.5251838", "0.52501655", "0.5247585", "0.5228779", "0.5139181", "0.51095027", "0.50988346", "0.50908476", ...
0.0
-1
Transform NULL into null
@Deprecated public static Object stripNULL(Object obj) { if (obj == null) { throw new NullPointerException(); } if (Null.getInstance().equals(obj)) { return null; } return obj; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static Value makeNull() {\n return theNull;\n }", "public static String nullConv(String value){\r\n\t\tif(value==null){\r\n\t\t\treturn \"\";\r\n\t\t}\r\n\t\treturn value;\r\n\t}", "T getNullValue();", "T getNullRepresentation();", "@Override\n public void setNull() {\n\n }", "publ...
[ "0.66155255", "0.66039646", "0.6560832", "0.65444607", "0.6531873", "0.64744604", "0.6466645", "0.64547867", "0.64364827", "0.64358705", "0.64044064", "0.64021677", "0.6394832", "0.63531405", "0.63307863", "0.63307863", "0.6327014", "0.6321561", "0.626368", "0.6250756", "0.62...
0.6498029
5
DB Connection User Name
public static String getConnUserID(Connection con) throws StoreException { PreparedStatement pstmt = null; ResultSet rset = null; String user_id = ""; try{ pstmt = con.prepareStatement("SELECT SYS.LOGIN_USER() AS USER_ID FROM DUAL"); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getDatabaseUser();", "public String getDbuser() {\n return dbuser;\n }", "public String getSystemUser()\n\t{\n\t\treturn \"postgres\";\n\t}", "@Nullable\n public String getConnectionUser()\n {\n return connectionUser;\n }", "public String getDbUsername() {\n\t\tretur...
[ "0.7536898", "0.7467594", "0.7463256", "0.7360898", "0.73490417", "0.7298496", "0.7233303", "0.7058619", "0.6964407", "0.6891239", "0.6841809", "0.6774567", "0.6553957", "0.64654195", "0.6456551", "0.63357574", "0.6331973", "0.6313346", "0.61644137", "0.6159527", "0.6159527",...
0.62424695
18
An array list with the content of this directory (files and subdirectories) is returned. The returned list may not be changed, only read access is allowed.
@Override public ArrayList<FileSystemItem> getContent() { return this.content; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String[] list() {\n String[] list = _file.list();\n if (list == null) {\n return null;\n }\n for (int i = list.length; i-- > 0; ) {\n if (new File(_file, list[i]).isDirectory() && !list[i].endsWith(\"/\")) {\n list[i] += \"/\";\n }\...
[ "0.7702846", "0.7694536", "0.73921317", "0.72335714", "0.7211358", "0.7156556", "0.71263915", "0.70879745", "0.7070341", "0.7053125", "0.70284116", "0.7023265", "0.70083314", "0.7004772", "0.69725746", "0.6950842", "0.6949251", "0.6903742", "0.68989056", "0.68755114", "0.6808...
0.66970074
29
Adds a new subdirectory to this directory. If the directory to add is already part of another directory structure, it is removed from there.
public void add(Directory subDir) { this.content.add(subDir); if(subDir.getParent() != null) { subDir.getParent().content.remove(subDir); } subDir.setParent(this); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addSubdirectory(Directory newdir) {\n\t\tgetSubdirectories().add(newdir);\n\t}", "public void addDirectory(FileDiffDirectory directory) {\n \t\tthis.directories.add(directory);\n \t}", "public void addDirectory(String name, IDirectory parent) {\r\n Directory newDir = new Directory(name, (Directo...
[ "0.7459737", "0.64573956", "0.62575656", "0.5972372", "0.59246993", "0.5766962", "0.57590497", "0.57459104", "0.5670931", "0.56675196", "0.5498871", "0.5413537", "0.53499955", "0.5276423", "0.5269503", "0.5237418", "0.5218724", "0.5201779", "0.51728636", "0.5171647", "0.51568...
0.6854222
1
Adds a new file to this directory. If the file to add is already part of another directory structure, it is removed from there.
public void add(File file) { this.content.add(file); if(file.getParent() != null) { file.getParent().content.remove(file); } file.setParent(this); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void add(File file) {\n\t\tfiles.add(file);\n\t}", "public void addFile(final String file);", "public void addFile(FileDiffFile file) {\n \t\tfiles.add(file);\n \t}", "@NonNull\n\t\tBuilder addFile(@NonNull Path path);", "public void add(File file) throws IOException {\n File realFile = new F...
[ "0.6799137", "0.6797032", "0.67912877", "0.65286833", "0.64468104", "0.6435256", "0.64177495", "0.63768965", "0.6354318", "0.63310266", "0.6283291", "0.6280769", "0.6252403", "0.6217508", "0.6195538", "0.61251193", "0.6059756", "0.60383856", "0.60329247", "0.59875196", "0.598...
0.65905756
3
Returns the number of files in this directory. Does not count number of files in the subdirectories.
@Override public int getNumberOfFiles() { Iterator<FileSystemItem> it = this.content.iterator(); int numberOfFiles = 0; while (it.hasNext()) { if(it.next().isDirectory() == false) { numberOfFiles++; } } return numberOfFiles; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getFilesCount() {\n if (filesBuilder_ == null) {\n return files_.size();\n } else {\n return filesBuilder_.getCount();\n }\n }", "public int getFilesCount() throws YAPI_Exception\n {\n return get_fi...
[ "0.8117568", "0.79767823", "0.7959521", "0.7959521", "0.7938496", "0.7920695", "0.7790128", "0.75985587", "0.7578393", "0.75378263", "0.75056666", "0.745222", "0.7312453", "0.72741765", "0.7214869", "0.7211877", "0.71780854", "0.717377", "0.71692395", "0.71386296", "0.7111491...
0.832644
0
Returns 0 since directories have no size.
@Override public int getSize() { return 0; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int size() {\r\n\t\tthis.size= 0;\r\n\t\tfor (DirectoryComponent item : DirectoryList){\r\n\t\t\tthis.size += item.size();\r\n\t\t}\r\n\t\treturn this.size;\r\n\t}", "private long directorySize(String name) {\n\t\tFile directory = new File(name);\n\t\tif (!directory.exists())\n\t\t\treturn 0;\n\t\tif (dir...
[ "0.7072073", "0.7038606", "0.69399256", "0.68159246", "0.6616993", "0.65904903", "0.652321", "0.64891803", "0.64891803", "0.6480281", "0.64327013", "0.6385472", "0.6337543", "0.63349515", "0.6313879", "0.6309945", "0.6303166", "0.6279628", "0.62789863", "0.62721217", "0.62696...
0.0
-1
/ Hash Map Create a Hash Map of String pairs add the follow values map.put("ONE","AAA"); map.put("TWO","BBB"); map.put("THREE","CCC"); map.put("FOUR","DDD"); map.put("FIVE","EEE"); print the key and values pairs using loop Remove below from Map "ONE" "FOUR" Print key and values pairs using loop OUTPUT HashMap Before Re...
public static void main(String[] args) { Map<String, String> map = new HashMap<>(); map.put("ONE","AAA"); map.put("TWO","BBB"); map.put("THREE","CCC"); map.put("FOUR","DDD"); map.put("FIVE","EEE"); System.out.println("HashMap Before Remove :"); Iterator<Entry<String, String>> it = map.entrySet().i...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void main(String[] args) {\n\n HashMap<String, String> hashMap2 = new HashMap<String, String>();\n hashMap2.put(\"bobbyJoe1996\", \"FluffyPonies\");\n hashMap2.put(\"helloKittyFan21\", \"AloeVera?\");\n hashMap2.put(\"coolguyswag\", \"password123\");\n\n System.out.println(hashMap2);\n...
[ "0.65896344", "0.6539731", "0.6472757", "0.64550257", "0.6414942", "0.6304779", "0.6194089", "0.61918265", "0.61849684", "0.61692786", "0.61598366", "0.6158675", "0.6158669", "0.6147333", "0.6139546", "0.6133526", "0.6037993", "0.60084337", "0.5970552", "0.592203", "0.5921879...
0.73722756
0
wrap around ParameterListener which raises a ParameterEvent
public void addListener(Listener listener) { Listener wrapper = new ParameterListenerWrapper(this, listener); for (Button b : radioButton) { b.addListener(SWT.Selection, wrapper); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void registerIParameterViewListener(IParameterViewListener listener) {\n _listeners.add(listener);\n }", "public void parameterDisconnected(ParameterDisconnectedEvent event) {\n }", "interface NoParametersListener {\n\tvoid execute();\n}", "public interface Listener<P exten...
[ "0.7117306", "0.6416401", "0.6413717", "0.6373483", "0.63570213", "0.6298873", "0.62492335", "0.622708", "0.6181321", "0.6071583", "0.5998802", "0.5933692", "0.5932591", "0.5912339", "0.5902136", "0.58586246", "0.5847581", "0.58106625", "0.5805451", "0.58046865", "0.5797619",...
0.580387
20
Inflate the menu; this adds items to the action bar if it is present.
@Override public boolean onCreateOptionsMenu(Menu menu) { return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n \tMenuInflater inflater = getMenuInflater();\n \tinflater.inflate(R.menu.main_activity_actions, menu);\n \treturn super.onCreateOptionsMenu(menu);\n }", "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {...
[ "0.72473437", "0.7202402", "0.71960324", "0.7177793", "0.7108265", "0.7040525", "0.70388484", "0.70126176", "0.70101976", "0.6981143", "0.69461405", "0.694", "0.69346833", "0.69183874", "0.69183874", "0.6891571", "0.6884306", "0.68758994", "0.687534", "0.68627334", "0.6862733...
0.0
-1
Lasershot 13x37 (width x height) /////////////////////////
private void shootLaser() { for(int i = 0; i<lasers.size(); i++) { if(lasers.get(i).getLayoutY() > -lasers.get(i).getBoundsInParent().getHeight() ) { //-37 wenn unterhalb des windows lasers.get(i).relocate(lasers.get(i).getLayoutX(), lasers.get(i).getLayoutY() - 3); //um 3 pixel nach oben bewegen } els...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void generateKlausur(int width, int height, int[] pixels) {\n\t\tfor (int y=0; y<height; y++) {\n\t\t\t// Schleife ueber die x-Werte\n\t\t\tfor (int x=0; x<width; x++) {\n\t\t\t\tint pos = y*width + x; // Arrayposition bestimmen\n\t\t\t\tint r=255*(width-1-x)/(width-1);\n\t\t\t\tint g=255*y/(height-1);\n\t...
[ "0.6417507", "0.57589453", "0.5690522", "0.56811005", "0.5623774", "0.56142783", "0.55995584", "0.55870175", "0.55786365", "0.55520576", "0.5526456", "0.5517668", "0.5499597", "0.5498508", "0.5495123", "0.54620856", "0.54592764", "0.5446553", "0.5426358", "0.54262435", "0.541...
0.0
-1
player vs brown Meteor
private void collision() { for(int i = 0; i < brownMeteors.length; i++) { if( distance(brownMeteors[i].getLayoutX() + ENTITIES_SIZE/2, brownMeteors[i].getLayoutY() - ENTITIES_SIZE/2, player.getLayoutX() + ENTITIES_SIZE/2, player.getLayoutY() - ENTITIES_SIZE/2) <= ENTITIES_SIZE) { setNewElementPosition(br...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Player getCurrentPlayer();", "Player getCurrentPlayer();", "Player getPlayer();", "Player getDormantPlayer();", "BPlayer getPlayer(Player player);", "protected Player getPlayer() { return player; }", "Player currentPlayer();", "@Override\n public void landedOn(Player player) {}", "Player createP...
[ "0.676993", "0.676993", "0.6739606", "0.66821676", "0.6640213", "0.6589297", "0.6569083", "0.6547545", "0.65255815", "0.6501808", "0.644881", "0.644881", "0.6432065", "0.6337774", "0.6328057", "0.6295971", "0.62552947", "0.6141513", "0.6135072", "0.61223245", "0.6099933", "...
0.0
-1
Create an empty list of String objects HashSet colors = new HashSet(); LinkedHashSet colors = new LinkedHashSet();
public static void main(String[] args) { TreeSet<String> colors = new TreeSet<String>(); System.out.printf("Initial size = %d\n", colors.size()); // Add elements to the set (in this case String objects) colors.add("Red"); colors.add("Green"); colors.add("Blue"); colors.add("Blue"); Sys...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public SetTest()\r\n {\r\n List< String > list = Arrays.asList( colors );\r\n System.out.printf( \"ArrayList: %s\\n\", list );\r\n printNonDuplicates( list );\r\n }", "public SetTest()\r\n\t{\r\n\t\tList< String > list = Arrays.asList( colors );\r\n\t\tSystem.out.printf( \"ArrayList: %s\\n\", ...
[ "0.7541255", "0.74100065", "0.6552918", "0.6501312", "0.64681625", "0.6448501", "0.64100707", "0.63919663", "0.6358987", "0.6260158", "0.61634624", "0.6162443", "0.61463946", "0.612157", "0.61072135", "0.6095918", "0.6051816", "0.6044916", "0.60364604", "0.6030263", "0.602836...
0.59823656
21
Test to see if sentinels are in the list, and that removing items not in the list works. Copy this file and write additional tests as well! NOTE: This means your implementation must have sentinel nodes, with minimum and maximum values at the beginning and end respectively.
public void run() { // Child threads start here to begin testing-- tests are below // We suggest writing a series of zero-sum tests, // i.e. lists should be empty between tests. // The interimBarr enforces this. try { containsOnEmptyListTest(); interimBarr.await(); sentinelsInEmptyListTest(); p...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void testRemoveAll_Not_Empty_Overflow() {\n SegmentedOasisList<Integer> instance = new SegmentedOasisList<>(2, 2);\n instance.add(3);\n instance.add(2);\n instance.add(3);\n instance.add(2);\n instance.add(3);\n instance.add(1);\n instance.a...
[ "0.5720395", "0.57140225", "0.55764174", "0.55759233", "0.5495599", "0.5415558", "0.53647834", "0.5351662", "0.5284001", "0.5267843", "0.52497077", "0.5241449", "0.52354676", "0.5233724", "0.5197976", "0.51852244", "0.50998163", "0.5084645", "0.5062653", "0.50584346", "0.5052...
0.0
-1
Gets the icon descriptor.
public static IIconDescriptor getIconDescriptor() { if (iconDescriptor == null) iconDescriptor = new NodeIconDescriptor("parameter-report"); //$NON-NLS-1$ return iconDescriptor; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static IIconDescriptor getIconDescriptor() {\n\t\tif (iconDescriptor == null)\n\t\t\ticonDescriptor = new NodeIconDescriptor(\"dataAdapters\"); //$NON-NLS-1$\n\t\treturn iconDescriptor;\n\t}", "public ImageDescriptor getIcon();", "public String getIcon() {\n return icon;\n }", "public String...
[ "0.81128603", "0.8085548", "0.7980067", "0.7980067", "0.7980067", "0.7980067", "0.79379094", "0.7897252", "0.7853982", "0.7853982", "0.7825744", "0.78004336", "0.7793424", "0.7793424", "0.7765124", "0.7736915", "0.7736915", "0.7672993", "0.7672993", "0.76714903", "0.7624512",...
0.80146515
2
Instantiates a new m parameter system.
public MParameterSystem() { super(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "SystemParamModel createSystemParamModel();", "MatrixParameter createMatrixParameter();", "public System(String implClassName, Params param) {\n\t\tSimLogger.log(Level.INFO, \"New System Created.\");\n\t\tthis.param = param;\n\t\tthis.param.system = this;\n\t\ttry {\n\t\t\tClass implClass = Class.forName(implCl...
[ "0.6596964", "0.62775075", "0.62095386", "0.61748576", "0.59461874", "0.59139264", "0.58826023", "0.5874628", "0.58517665", "0.57482255", "0.57482255", "0.57482255", "0.569543", "0.56345415", "0.56336236", "0.55971897", "0.5578524", "0.556755", "0.5553467", "0.5542369", "0.55...
0.767972
0
Instantiates a new m parameter system.
public MParameterSystem(ANode parent, JRDesignParameter jrParameter, int newIndex) { super(parent, newIndex); setValue(jrParameter); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public MParameterSystem() {\n\t\tsuper();\n\t}", "SystemParamModel createSystemParamModel();", "MatrixParameter createMatrixParameter();", "public System(String implClassName, Params param) {\n\t\tSimLogger.log(Level.INFO, \"New System Created.\");\n\t\tthis.param = param;\n\t\tthis.param.system = this;\n\t\...
[ "0.767972", "0.6596964", "0.62775075", "0.62095386", "0.61748576", "0.59461874", "0.59139264", "0.58826023", "0.5874628", "0.58517665", "0.57482255", "0.57482255", "0.57482255", "0.569543", "0.56345415", "0.56336236", "0.55971897", "0.5578524", "0.556755", "0.5553467", "0.554...
0.0
-1
Creates the property descriptors.
@Override public void createPropertyDescriptors(List<IPropertyDescriptor> desc) { validator = new ParameterNameValidator(); validator.setTargetNode(this); JSSValidatedTextPropertyDescriptor nameD = new JSSValidatedTextPropertyDescriptor(JRDesignParameter.PROPERTY_NAME, Messages.common_name, validator); nam...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public PropertyDescriptor[] getPropertyDescriptors() {\n return getPdescriptor();\n }", "private void addProperties() {\n\t\tfor (PropertyGenerator pg : this.getPropertyGenerators()) {\n\t\t\tpg.generate();\n\t\t\tthis.enqueuePropertyTypeIfNeeded(pg);\n\t\t\tthis.addToSubBindingsIfNeeded...
[ "0.64916843", "0.6370317", "0.63369066", "0.62886256", "0.6228032", "0.615435", "0.6134669", "0.6093812", "0.590407", "0.58867276", "0.58739257", "0.58152956", "0.5806781", "0.5755382", "0.5721542", "0.5719501", "0.5707856", "0.56941044", "0.56458235", "0.5639245", "0.5627969...
0.57663643
13
Creates the jr parameter.
public static JRDesignParameter createJRParameter(JRDesignDataset jrDataset) { JRDesignParameter jrDesignParameter = new JRDesignParameter(); jrDesignParameter.setSystemDefined(true); jrDesignParameter.setName(ModelUtils.getDefaultName(jrDataset.getParametersMap(), "Parameter")); //$NON-NLS-1$ return jrDesignPa...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "JRParameter createJRParameter();", "Param createParam();", "Param createParam();", "Param createParam();", "Parameter createParameter();", "public JParameterRecord() {\n super(JParameter.PARAMETER);\n }", "PARAM createPARAM();", "private ConfigurationObject createParamReference(int num, Str...
[ "0.76741475", "0.58768165", "0.58768165", "0.58768165", "0.58140826", "0.5608513", "0.5411809", "0.53524137", "0.5323511", "0.5290171", "0.5182306", "0.51300263", "0.51282865", "0.5092471", "0.5079053", "0.4990795", "0.4969788", "0.49628475", "0.49561423", "0.4955516", "0.493...
0.6812517
1
Test of setFila method, of class Asiento.
@Test public void testSetFila() { System.out.println("setFila"); try { asientoTested.setFila('A'); } catch (IllegalArgumentException e) { fail("Caracter 'A' deberia ser valido"); } try { asientoTested.setFila('a'); } catch (IllegalA...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setFila(int fila) {\r\n\t\tthis.fila = fila;\r\n\t}", "@Test\r\n public void testSetFuncaoSecundaria() {\r\n System.out.println(\"setFuncaoSecundaria\");\r\n FuncaoIntegrante funcaoSecundaria = null;\r\n Integrante instance = new Integrante();\r\n instance.setFuncaoSecu...
[ "0.7426121", "0.6825713", "0.66691786", "0.65226144", "0.64980775", "0.64818347", "0.64737976", "0.64666915", "0.6390476", "0.6361321", "0.63435715", "0.632536", "0.6292852", "0.62194616", "0.62139034", "0.6213397", "0.621191", "0.61813504", "0.61646456", "0.6157884", "0.6116...
0.7861053
0
Test of setNumero method, of class Asiento.
@Test public void testSetNumero() { System.out.println("setNumero"); try { asientoTested.setNumero(0); fail(); } catch (IllegalArgumentException e) { assertTrue("0 no es un valor valido", true); } try { asientoTested.setNumero(-...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setNumero(int numero) { this.numero = numero; }", "public void setNumero(int numero)\r\n/* 195: */ {\r\n/* 196:206 */ this.numero = numero;\r\n/* 197: */ }", "public void setNumero(int numero) {\n this.dado1 = numero;\n }", "public void setNumero(int numero) {\n\t\tthis.nu...
[ "0.7302857", "0.7136741", "0.6980688", "0.68794996", "0.68794996", "0.68311334", "0.6803143", "0.6722796", "0.6673083", "0.6663627", "0.65541416", "0.6547152", "0.65382725", "0.6439635", "0.63969064", "0.63904846", "0.638284", "0.6377692", "0.6364901", "0.6350316", "0.6333231...
0.79542655
0
/ RULESET CONTAINS RULES WITH THE SAME PRECONDITION. WHEN CREATED, A UNIQUE ID IS GENERATED BY ATOMIC INTEGER. WHEN CREATED, TOTALPROB = 1, IT IS WHEN ADDING RULES TO RULESETS THAT THE PROB IS CALCULATED.
public RuleSet (RuleList rulelist, SensorList sList) { this.references = new ArrayList(); this.rulelist = rulelist; this.totalProb = -1.0; this.id = counter.incrementAndGet(); this.indexesOfPrec = new ArrayList(); this.precedences = new ArrayList (); this...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "IRuleset add(IRuleset rule);", "StatementRule createStatementRule();", "Rule createRule();", "Rule createRule();", "Rule createRule();", "@Override\n\tprotected boolean rulesGeneration() {\n\t\tGlobal.logger.finer(\"--------------------- S101 rulesGeneration() ----------------- \");\n\t\t//Global.logger...
[ "0.61042315", "0.60545963", "0.5770894", "0.5770894", "0.5770894", "0.5722579", "0.5709911", "0.5643319", "0.5614909", "0.56124735", "0.5582043", "0.5504872", "0.5471132", "0.54673016", "0.54473954", "0.5444323", "0.5428705", "0.5370524", "0.5353227", "0.53356504", "0.5311823...
0.5883627
2
BUILDS A RULESET FROM TWO RULESETS, IN ORDER TO MEASURE THE ERROR, AND SET PRECEDENCE FROM ONE OVER ANOTHER
public RuleSet (RuleSet RS1, RuleSet RS2, SensorList sList, SensorMap sMap, RuleMap rMap) { // CREATING COMBINATION RULESET FROM RS1 & RS2 this.references = new ArrayList(); this.sList = sList; this.rulelist = RS1.rulelist; this.totalProb = 0.0; this.id ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\r\n\tpublic void testRuleSets2() throws Exception{\r\n\t\t\r\n\t\tAssert.assertEquals(0L, testAdminCon.size());\r\n\t\ttestAdminCon.add(micah, lname, micahlname, dirgraph1);\r\n\t\ttestAdminCon.add(micah, fname, micahfname, dirgraph1);\r\n\t\ttestAdminCon.add(micah, developPrototypeOf, semantics, dirgraph1);...
[ "0.57174206", "0.54141134", "0.5374719", "0.53349215", "0.52286065", "0.521769", "0.5151397", "0.5120674", "0.50771695", "0.50573367", "0.5056563", "0.5030197", "0.5008285", "0.500487", "0.49922222", "0.49789876", "0.49435818", "0.49398714", "0.4907807", "0.49055427", "0.4895...
0.618017
0
Returns true if RS1 precedes over RS2, false otherwise
public boolean precedingOver (RuleSet RS1, RuleSet RS2) { return (this.getError(RS1) < this.getError(RS2)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected boolean connects(R r1, R r2) {\n\t\t\treturn getPreviousOrSame(getLower(r1)).compareTo(getUpper(r2)) <= 0 ||\n\t\t\t\tgetPreviousOrSame(getLower(r2)).compareTo(getUpper(r1)) <= 0;\n\t\t}", "@Override\r\n\tprotected boolean prerequisites() {\n\t\treturn _player1.getClient().getPlayer().getWrappedObject(...
[ "0.63905185", "0.5965537", "0.584294", "0.56329584", "0.55249304", "0.54951024", "0.54951024", "0.54951024", "0.54951024", "0.54951024", "0.54951024", "0.54951024", "0.54951024", "0.54951024", "0.54951024", "0.54951024", "0.54951024", "0.54951024", "0.54951024", "0.54951024", ...
0.7691146
0
Returns the Precursor of a Rule using IDS
public Sensor getPrecursorWithID () { return this.rulelist.getRuleByID(this.references.get(0)).precondition; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final Rule getPredecessor() {\n //ELM: in again\n//\t\treturn null; // TODO by m.zopf: because of performance reasons return here just null\n return m_pred;\n }", "public Rule findById(int id);", "public TerminalRule getIDRule() {\r\n\t\treturn gaXtype.getIDRule();\r\n\t}", "public Te...
[ "0.58228177", "0.5663042", "0.5526704", "0.548656", "0.548656", "0.54214156", "0.53992605", "0.53992605", "0.53992605", "0.53992605", "0.5368109", "0.5368109", "0.5368109", "0.5368109", "0.5368109", "0.5368109", "0.5368109", "0.5368109", "0.5368109", "0.5368109", "0.5368109",...
0.72480285
0
Returns the Precursor Occurrencies of a Rule using IDS
public int getPrecursorOccurrencies () { return this.rulelist.getRuleByID(this.references.get(0)).prec_occurrencies; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Sensor getPrecursorWithID () {\n \n return this.rulelist.getRuleByID(this.references.get(0)).precondition;\n }", "private int[] getLHSIntFromString(String token) {\n\n if (token == null) {\n return null;\n }\n\n if (token.length() < 1) {\n return...
[ "0.59696263", "0.51412696", "0.5075532", "0.49838728", "0.47736067", "0.4730029", "0.4669552", "0.46513253", "0.46307248", "0.46094882", "0.46094882", "0.45484382", "0.45482704", "0.4541019", "0.45358884", "0.4534004", "0.45303652", "0.45220634", "0.448613", "0.44736665", "0....
0.6921308
0
Returns the NonWildcarded Indexes of the Successor
public ArrayList <Integer> detectNonWildcardedSpots () { ArrayList <Integer> res = new ArrayList (); for (int i = 0; i < this.getSuccessor().size(); i++) { if (this.getSuccessor().getToken(i).isNotWildcard()) res.add(i); } ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "IndexList[] successors() {\r\n SortedMap<String,Integer> labelMap = new TreeMap<String,Integer>(); \r\n for (int i = 0; i < code.length; i++) {\r\n\tInst c = code[i];\r\n\tif (c instanceof LabelDec)\r\n\t labelMap.put(((LabelDec) c).name, i);\r\n }\r\n IndexList[] allSuccs = new IndexList[code...
[ "0.53855497", "0.5142132", "0.50601053", "0.49610332", "0.49430382", "0.4901847", "0.48974395", "0.48475328", "0.48215237", "0.4799894", "0.47780514", "0.4776627", "0.47713885", "0.47217366", "0.4702517", "0.4693043", "0.46911767", "0.46793345", "0.4675234", "0.46602663", "0....
0.70365983
0
MORE DETAILED WAY TO PRINT A RULESET, PRINTING RULES CONTENT INSTEAD OF IDS
public void printRules () { System.out.println("PRINTING RULESET ID : " + this.id + " (" + this.size() + ") entries."); for (int i = 0; i < this.size(); i++) { System.out.println("Rule " + (i+1) + " (ID " + references.get(i) + ") : " + this.rulelist.getRuleByID(referenc...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void printRules_RVLR () {\n \n System.out.println(\"PRINTING RULESET ID : \" + this.id + \" (\" + this.size() + \") entries.\");\n for (int i = 0; i < this.size(); i++) {\n \n System.out.println(\"Rule \" + (i+1) + \" (ID \" + references.get(i) + \") : \" + this.ru...
[ "0.7344764", "0.67101175", "0.65835136", "0.6488875", "0.64422226", "0.6358614", "0.62953854", "0.6250387", "0.61348426", "0.6072847", "0.5884622", "0.5845393", "0.5748547", "0.5728641", "0.5684805", "0.56599516", "0.56507814", "0.5650241", "0.55987227", "0.5596144", "0.55791...
0.7970195
0
MORE DETAILED WAY TO PRINT A RULESET, PRINTING RULES CONTENT INSTEAD OF IDS
public void printRules_RVLR () { System.out.println("PRINTING RULESET ID : " + this.id + " (" + this.size() + ") entries."); for (int i = 0; i < this.size(); i++) { System.out.println("Rule " + (i+1) + " (ID " + references.get(i) + ") : " + this.rulelist.getRuleByID(ref...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void printRules () {\n \n System.out.println(\"PRINTING RULESET ID : \" + this.id + \" (\" + this.size() + \") entries.\");\n for (int i = 0; i < this.size(); i++) {\n \n System.out.println(\"Rule \" + (i+1) + \" (ID \" + references.get(i) + \") : \" + this.rulelis...
[ "0.7971216", "0.6709356", "0.65834534", "0.64890873", "0.6442348", "0.635963", "0.6296129", "0.62509173", "0.6134726", "0.6072441", "0.58845973", "0.5846637", "0.57487524", "0.5728359", "0.56843287", "0.56602126", "0.5651356", "0.56500286", "0.559971", "0.55962145", "0.558015...
0.7345546
1
CHECKS IF A RULESET IS CONFLICTING WITH ANOTHER ONE BY CHECKING SUCCESSORS OUTPUT
public boolean isConflicting (RuleSet ruleset) { if (this.id == ruleset.id) return false; if (!this.getPrecursorWithID().sensorMatch(ruleset.getPrecursorWithID())) return false; for (int i = 0; i < this.getSuccessor().size(); i++) { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public RuleSet (RuleSet RS1, RuleSet RS2, SensorList sList, SensorMap sMap, RuleMap rMap) {\n \n // CREATING COMBINATION RULESET FROM RS1 & RS2\n \n this.references = new ArrayList();\n this.sList = sList;\n this.rulelist = RS1.rulelist;\n this.totalProb = 0.0;\n ...
[ "0.57421935", "0.5466818", "0.51219285", "0.5101567", "0.50992817", "0.5084423", "0.50754935", "0.50307655", "0.5018059", "0.4998896", "0.49974403", "0.49916843", "0.49912545", "0.49699068", "0.495366", "0.49506783", "0.49108955", "0.48914382", "0.48881078", "0.48816288", "0....
0.6434098
0
MERGING SENSORS FROM RULESETS IN ORDER TO GET ALL THE POSSIBLE COMBINATIONS. NO CLEANING OR PRUNING IS DONE HERE, WHICH MEANS SOME "IMPOSSIBLE" RULES CAN OCCUR.
public SensorList outputsFromRuleSets (RuleSet ruleset2) { SensorList res = new SensorList (); for (int i = 0; i < this.size(); i++) { for (int j = 0; j < ruleset2.size(); j++) { Sensor a = this.getSuccessor(i).merge(rules...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public RuleSet (RuleSet RS1, RuleSet RS2, SensorList sList, SensorMap sMap, RuleMap rMap) {\n \n // CREATING COMBINATION RULESET FROM RS1 & RS2\n \n this.references = new ArrayList();\n this.sList = sList;\n this.rulelist = RS1.rulelist;\n this.totalProb = 0.0;\n ...
[ "0.59921604", "0.58472663", "0.5517825", "0.55141264", "0.524053", "0.5119651", "0.5106547", "0.51036495", "0.50536203", "0.5031655", "0.5002519", "0.49978924", "0.49929923", "0.49842864", "0.49828908", "0.4953697", "0.49397847", "0.4928824", "0.49094138", "0.4905482", "0.490...
0.48574224
24
GETS PROBS OF THE OUTPUTSTATES
public ArrayList <Double> outputsProbFromRuleSets (RuleSet ruleset2) { ArrayList <Double> res = new ArrayList <> (); double a; for (int i = 0; i < this.size(); i++) { for (int j = 0; j < ruleset2.size(); j++) { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract String[] exportState();", "String[] getAllStatus() {\n String[] toReturn = new String[allStates.length];\n for (int i = 0; i < toReturn.length; i++) {\n toReturn[i] = context.getString(allStates[i]);\n }\n return toReturn;\n }", ...
[ "0.65103406", "0.63771415", "0.63446903", "0.63029075", "0.626349", "0.62411493", "0.6155745", "0.6133104", "0.61260873", "0.61148244", "0.60730284", "0.6038631", "0.59931135", "0.59931135", "0.59931135", "0.5977737", "0.5965277", "0.5933096", "0.5916084", "0.58965635", "0.58...
0.0
-1
CONSOLIDATES A RULESET BY ADDING MISSING RULES, IN ORDER TO GET A "COMPLETE" RULESET, I.E. WITH A TOTAL PROB OF 1. THIS PROCESS TOOK A HUGE TIME, WITH A BIT OF OPTIMIZATION WE DRASTICALLY REDUCED THE EXECUTUION THE TIME NEEDED
public int consolidate (RuleList closedList, RuleMap rMap) { int steps = 0; boolean insert; // IF THE RULESET IS ALREADY COMPLETE, NO NEED TO FIND RULES if (this.totalProb < 0.999) { //System.out.println("Incomplete RuleSet : " ); this.printRules(); for (...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void pruneRules_cbaLike() {\n LOGGER.info(\"STARTED Postpruning\");\n //HashMap<ExtendRule,Integer> ruleErrors = new HashMap();\n //HashMap<ExtendRule,AttributeValue> ruleDefClass = new HashMap();\n ArrayList<ExtendRule> rulesToRemove = new ArrayList(); \n int total...
[ "0.6821413", "0.6723344", "0.6339163", "0.6105376", "0.6063929", "0.6014645", "0.6008075", "0.5997898", "0.59496284", "0.5858526", "0.5782401", "0.57792515", "0.56654966", "0.5657176", "0.5651366", "0.56240153", "0.55996233", "0.55950654", "0.5507722", "0.5440441", "0.5371213...
0.608175
4
Using HashMaps, we are able to quicly determine where both Rules occur at the same time
public ArrayList <Integer> getIntersection (RuleSet RS) { ArrayList <Integer> a = new ArrayList (); HashSet<Integer> map1 = new HashSet<>(this.indexesOfPrec); HashSet<Integer> map2 = new HashSet<>(RS.indexesOfPrec); map1.retainAll(map2); a.addAll(map1); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public HashMap<String,ArrayList<Rule_in_State>> get_rules_of_next_state() throws Exception;", "public HashMap<String,Rule> get_rules_to_action() throws Exception;", "private void getSensorConditions(List<RuleInstance> rules,Set<Condition> conds)\n{\n for (int i = 0; i < rules.size(); ++i) {\n RuleInstan...
[ "0.59342545", "0.5877266", "0.56002945", "0.55734205", "0.5393138", "0.5378225", "0.5367721", "0.533089", "0.5275694", "0.52560943", "0.52553725", "0.52535254", "0.5235766", "0.5231981", "0.5218112", "0.5205849", "0.5190658", "0.5164987", "0.51313883", "0.5122781", "0.5117981...
0.0
-1
Chooses a Rule PseudoRandomly according to Probabilities of the RuleSet
public Rule chooseRandomRule () { double a = Math.random(); double c = 0.0; for (int i = 0; i < this.size(); i++) { c = c + this.getRule(i).getProb(); if (c > a) { return this.getRule(i)...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static int getRandomTask() {\n double p = rand.nextDouble(); // required probs given in Question\n for (int i = 0; i < 6; i++) {\n if (p <= prob[i])\n return i;\n }\n return 1;\n }", "public Integer randomDecision(List<Integer> options) {\...
[ "0.6056332", "0.6040098", "0.6003508", "0.58705956", "0.5811023", "0.5670237", "0.5627615", "0.5541947", "0.5520074", "0.5507753", "0.54864067", "0.5449122", "0.5446578", "0.5444883", "0.5416543", "0.53840435", "0.53786385", "0.5353573", "0.5346338", "0.533098", "0.53300714",...
0.80272484
0
Performance: O(n^2) huge improvement from bottom up
private int recursiveTopDown(int[] price, int n) { if( n== 0) return 0; int ans = Integer.MIN_VALUE; for (int i = 0; i < n; i++) { ans = Math.max(ans, price[i] + recursiveTopDown(price, n - 1 - i)); } return ans; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static int f2(int N) { \n int x = 0; //O(1)\n for(int i = 0; i < N; i++) // O(n)\n // O(n)`\n for(int j = 0; j < i; j++) \n x++;\n return x;\n }", "public static int f1(int N) {\n int x = 0; //O(1)\n for(int i = 0; i < N; i++...
[ "0.6397375", "0.6032711", "0.59074223", "0.58721197", "0.5737443", "0.5708127", "0.5682559", "0.56552225", "0.5555733", "0.5530476", "0.5509694", "0.55035025", "0.54906183", "0.54689556", "0.5446971", "0.5420055", "0.5398729", "0.5388546", "0.53633225", "0.53554726", "0.53491...
0.0
-1
Overwrite to provide additional run listeners.
protected List<RunListener> getRunListeners() { return Collections.emptyList(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void installListeners() {\n\n\t}", "protected void installListeners() {\n\t}", "protected void installListeners() {\n }", "protected void installListeners() {\n }", "public static OnRun onRun( Runnable run )\n\t{\n\t\treturn new OnRun( run );\n\t}", "private void subscribeListeners(RunNot...
[ "0.6430104", "0.64063257", "0.63996875", "0.63996875", "0.62847483", "0.61822826", "0.61008537", "0.6097541", "0.59878016", "0.59152764", "0.5854814", "0.58217025", "0.5800272", "0.57991976", "0.5787636", "0.57734555", "0.5760845", "0.57590497", "0.57438236", "0.57274806", "0...
0.64127815
1
AssumptionViolatedException might not be Serializable. Recreate with only String message.
@Override public void testAssumptionFailure(Failure failure) { exception = new AssumptionViolatedException(failure.getException().getMessage()); exception.setStackTrace(failure.getException().getStackTrace()); ; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public SerializationException(String msg) {\n super(msg);\n }", "public void testSerializeAndDeserializeWithoutCause() {\n Exception e = new RuntimeException(\"My message\");\n RemoteTestResult original = new RemoteTestResult();\n original.setException(e);\n\n RemoteTestResult recreated = R...
[ "0.6149701", "0.6139584", "0.5974221", "0.58620715", "0.58490586", "0.5845879", "0.57081175", "0.5706244", "0.5585667", "0.55542135", "0.5547817", "0.5547697", "0.5523698", "0.55142665", "0.5477055", "0.5460545", "0.5404352", "0.5390197", "0.5381805", "0.5299063", "0.5290893"...
0.50793177
49
The persistence interface for the vcms discussion service. Caching information and settings can be found in portal.properties
@ProviderType public interface VcmsDiscussionPersistence extends BasePersistence<VcmsDiscussion> { /* * NOTE FOR DEVELOPERS: * * Never modify or reference this interface directly. Always use {@link VcmsDiscussionUtil} to access the vcms discussion persistence. Modify <code>service.xml</code> and rerun ServiceBui...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static PersistenceSession getPersistenceSession() {\n return NakedObjectsContext.getPersistenceSession();\n }", "public interface FAQCommentPersistence extends BasePersistence<FAQComment> {\n\t/*\n\t * NOTE FOR DEVELOPERS:\n\t *\n\t * Never modify or reference this interface directly. Always us...
[ "0.5868032", "0.5823404", "0.58056575", "0.57748187", "0.5688005", "0.5681629", "0.5677971", "0.5599643", "0.54987735", "0.54672205", "0.54074496", "0.5370242", "0.5341375", "0.5340563", "0.53223467", "0.53114444", "0.5291204", "0.52525944", "0.52449805", "0.5236293", "0.5208...
0.6670947
0
Returns the first vcms discussion in the ordered set where groupId = &63; and language = &63;.
public VcmsDiscussion findByP_L_First(long groupId, java.lang.String language, com.liferay.portal.kernel.util.OrderByComparator<VcmsDiscussion> orderByComparator) throws NoSuchVcmsDiscussionException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public VcmsDiscussion fetchByP_L_First(long groupId,\n\t\tjava.lang.String language,\n\t\tcom.liferay.portal.kernel.util.OrderByComparator<VcmsDiscussion> orderByComparator);", "public VcmsDiscussion fetchByP_L_A_First(long groupId,\n\t\tjava.lang.String language, boolean approved,\n\t\tcom.liferay.portal.kernel...
[ "0.74729955", "0.6777574", "0.6649137", "0.6317011", "0.5970771", "0.5955934", "0.5943212", "0.56807804", "0.5617141", "0.54884374", "0.5403034", "0.5380492", "0.51589006", "0.5120856", "0.5104998", "0.50992054", "0.50923246", "0.50864965", "0.50722593", "0.5061062", "0.50534...
0.6660041
2
Returns the first vcms discussion in the ordered set where groupId = &63; and language = &63;.
public VcmsDiscussion fetchByP_L_First(long groupId, java.lang.String language, com.liferay.portal.kernel.util.OrderByComparator<VcmsDiscussion> orderByComparator);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public VcmsDiscussion fetchByP_L_A_First(long groupId,\n\t\tjava.lang.String language, boolean approved,\n\t\tcom.liferay.portal.kernel.util.OrderByComparator<VcmsDiscussion> orderByComparator);", "public VcmsDiscussion findByP_L_First(long groupId,\n\t\tjava.lang.String language,\n\t\tcom.liferay.portal.kernel....
[ "0.67777336", "0.66608405", "0.66493523", "0.63167363", "0.5970455", "0.5955855", "0.59437406", "0.5682333", "0.56175613", "0.5489075", "0.5402377", "0.5382854", "0.51594985", "0.51226634", "0.5106177", "0.5100906", "0.5093806", "0.5086978", "0.50731224", "0.5062356", "0.5052...
0.7474326
0
Returns the last vcms discussion in the ordered set where groupId = &63; and language = &63;.
public VcmsDiscussion findByP_L_Last(long groupId, java.lang.String language, com.liferay.portal.kernel.util.OrderByComparator<VcmsDiscussion> orderByComparator) throws NoSuchVcmsDiscussionException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public VcmsDiscussion fetchByP_L_Last(long groupId,\n\t\tjava.lang.String language,\n\t\tcom.liferay.portal.kernel.util.OrderByComparator<VcmsDiscussion> orderByComparator);", "public VcmsDiscussion fetchByP_L_A_Last(long groupId,\n\t\tjava.lang.String language, boolean approved,\n\t\tcom.liferay.portal.kernel.u...
[ "0.76008576", "0.690934", "0.66849923", "0.6673733", "0.6197268", "0.6113038", "0.6015725", "0.5998334", "0.58338434", "0.57845706", "0.5654286", "0.54830766", "0.5477937", "0.5469446", "0.5443228", "0.5329137", "0.5326838", "0.5287719", "0.5244319", "0.51678634", "0.51259035...
0.7012264
1
Returns the last vcms discussion in the ordered set where groupId = &63; and language = &63;.
public VcmsDiscussion fetchByP_L_Last(long groupId, java.lang.String language, com.liferay.portal.kernel.util.OrderByComparator<VcmsDiscussion> orderByComparator);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public VcmsDiscussion findByP_L_Last(long groupId,\n\t\tjava.lang.String language,\n\t\tcom.liferay.portal.kernel.util.OrderByComparator<VcmsDiscussion> orderByComparator)\n\t\tthrows NoSuchVcmsDiscussionException;", "public VcmsDiscussion fetchByP_L_A_Last(long groupId,\n\t\tjava.lang.String language, boolean a...
[ "0.70089996", "0.69058233", "0.66818154", "0.6669801", "0.61937654", "0.6111845", "0.6016883", "0.5997126", "0.58295894", "0.5781562", "0.5653145", "0.54840785", "0.54793894", "0.54679847", "0.54433405", "0.53275096", "0.5326538", "0.52882636", "0.5242512", "0.516866", "0.512...
0.7597763
0
Returns the vcms discussions before and after the current vcms discussion in the ordered set where groupId = &63; and language = &63;.
public VcmsDiscussion[] findByP_L_PrevAndNext( java.lang.String discussionId, long groupId, java.lang.String language, com.liferay.portal.kernel.util.OrderByComparator<VcmsDiscussion> orderByComparator) throws NoSuchVcmsDiscussionException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public VcmsDiscussion[] findByP_L_A_PrevAndNext(\n\t\tjava.lang.String discussionId, long groupId, java.lang.String language,\n\t\tboolean approved,\n\t\tcom.liferay.portal.kernel.util.OrderByComparator<VcmsDiscussion> orderByComparator)\n\t\tthrows NoSuchVcmsDiscussionException;", "public VcmsDiscussion[] findB...
[ "0.5837049", "0.55833936", "0.51579684", "0.47870705", "0.4576741", "0.45374787", "0.45238394", "0.45136428", "0.4498538", "0.44418082", "0.4436031", "0.44188622", "0.44145185", "0.44116604", "0.43798175", "0.43408492", "0.43329176", "0.43131033", "0.43072218", "0.42551786", ...
0.6054716
0
Removes all the vcms discussions where groupId = &63; and language = &63; from the database.
public void removeByP_L(long groupId, java.lang.String language);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void removeByG_L(long groupId, String language) {\n\t\tfor (VcmsPortion vcmsPortion : findByG_L(groupId, language,\n\t\t\t\tQueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {\n\t\t\tremove(vcmsPortion);\n\t\t}\n\t}", "List<PreparedStatement> getClearDiscussionStatements(String forumId, String dis...
[ "0.6366828", "0.5833098", "0.5575406", "0.5570593", "0.55532116", "0.54802626", "0.5401879", "0.53811496", "0.52827346", "0.52611285", "0.5200092", "0.519329", "0.51831037", "0.51536137", "0.51422167", "0.5141993", "0.5125791", "0.51007366", "0.50587183", "0.5031905", "0.4988...
0.6442235
0
Returns the number of vcms discussions where groupId = &63; and language = &63;.
public int countByP_L(long groupId, java.lang.String language);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic int countByG_L(long groupId, String language) {\n\t\tFinderPath finderPath = FINDER_PATH_COUNT_BY_G_L;\n\n\t\tObject[] finderArgs = new Object[] { groupId, language };\n\n\t\tLong count = (Long)finderCache.getResult(finderPath, finderArgs, this);\n\n\t\tif (count == null) {\n\t\t\tStringBundler...
[ "0.6594806", "0.58827376", "0.5809463", "0.569055", "0.56871986", "0.564342", "0.5630189", "0.55585766", "0.55202377", "0.547579", "0.53944254", "0.53921324", "0.5348118", "0.53322333", "0.5308541", "0.5277534", "0.5254087", "0.52396387", "0.52391493", "0.5237844", "0.5215915...
0.70097
0
Returns all the vcms discussions where groupId = &63; and language = &63; and approved = &63;.
public java.util.List<VcmsDiscussion> findByP_L_A(long groupId, java.lang.String language, boolean approved);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public java.util.List<VcmsDiscussion> findByA_P_L_A(\n\t\tjava.lang.String articleId, long groupId, java.lang.String language,\n\t\tboolean approved);", "public java.util.List<VcmsDiscussion> findAll();", "public VcmsDiscussion[] findByP_L_A_PrevAndNext(\n\t\tjava.lang.String discussionId, long groupId, java.l...
[ "0.7402557", "0.68313456", "0.63267726", "0.63245136", "0.61102796", "0.6013817", "0.5909691", "0.59083265", "0.5832018", "0.5820892", "0.5681827", "0.5561284", "0.5549984", "0.55261815", "0.54880804", "0.5484125", "0.53506124", "0.5272533", "0.5267685", "0.51490426", "0.5148...
0.77024
0
Returns the first vcms discussion in the ordered set where groupId = &63; and language = &63; and approved = &63;.
public VcmsDiscussion findByP_L_A_First(long groupId, java.lang.String language, boolean approved, com.liferay.portal.kernel.util.OrderByComparator<VcmsDiscussion> orderByComparator) throws NoSuchVcmsDiscussionException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public VcmsDiscussion fetchByP_L_A_First(long groupId,\n\t\tjava.lang.String language, boolean approved,\n\t\tcom.liferay.portal.kernel.util.OrderByComparator<VcmsDiscussion> orderByComparator);", "public VcmsDiscussion fetchByA_P_L_A_First(java.lang.String articleId,\n\t\tlong groupId, java.lang.String language...
[ "0.7380542", "0.7303113", "0.65610886", "0.64194584", "0.626574", "0.58180726", "0.56833684", "0.56552786", "0.5607976", "0.56062096", "0.5539121", "0.5462502", "0.54387164", "0.52743906", "0.51806754", "0.51434916", "0.5101429", "0.506175", "0.5027977", "0.5009888", "0.49267...
0.6741095
2
Returns the first vcms discussion in the ordered set where groupId = &63; and language = &63; and approved = &63;.
public VcmsDiscussion fetchByP_L_A_First(long groupId, java.lang.String language, boolean approved, com.liferay.portal.kernel.util.OrderByComparator<VcmsDiscussion> orderByComparator);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public VcmsDiscussion fetchByA_P_L_A_First(java.lang.String articleId,\n\t\tlong groupId, java.lang.String language, boolean approved,\n\t\tcom.liferay.portal.kernel.util.OrderByComparator<VcmsDiscussion> orderByComparator);", "public VcmsDiscussion findByP_L_A_First(long groupId,\n\t\tjava.lang.String language,...
[ "0.73017436", "0.67399967", "0.6561489", "0.6418318", "0.6263505", "0.5815773", "0.5683985", "0.5653426", "0.56069016", "0.56055516", "0.5536542", "0.54600704", "0.54358405", "0.52722424", "0.517866", "0.51455384", "0.5103907", "0.50600773", "0.50263083", "0.5006872", "0.4926...
0.73792624
0
Returns the last vcms discussion in the ordered set where groupId = &63; and language = &63; and approved = &63;.
public VcmsDiscussion findByP_L_A_Last(long groupId, java.lang.String language, boolean approved, com.liferay.portal.kernel.util.OrderByComparator<VcmsDiscussion> orderByComparator) throws NoSuchVcmsDiscussionException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public VcmsDiscussion fetchByP_L_A_Last(long groupId,\n\t\tjava.lang.String language, boolean approved,\n\t\tcom.liferay.portal.kernel.util.OrderByComparator<VcmsDiscussion> orderByComparator);", "public VcmsDiscussion fetchByA_P_L_A_Last(java.lang.String articleId,\n\t\tlong groupId, java.lang.String language, ...
[ "0.72954094", "0.71157956", "0.6597389", "0.65061396", "0.5971215", "0.59634787", "0.57899857", "0.56355387", "0.559832", "0.55518675", "0.5516449", "0.54916775", "0.54468185", "0.53514814", "0.531288", "0.5296355", "0.52620906", "0.52292717", "0.52020717", "0.51989627", "0.5...
0.6957036
2
Returns the last vcms discussion in the ordered set where groupId = &63; and language = &63; and approved = &63;.
public VcmsDiscussion fetchByP_L_A_Last(long groupId, java.lang.String language, boolean approved, com.liferay.portal.kernel.util.OrderByComparator<VcmsDiscussion> orderByComparator);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public VcmsDiscussion fetchByA_P_L_A_Last(java.lang.String articleId,\n\t\tlong groupId, java.lang.String language, boolean approved,\n\t\tcom.liferay.portal.kernel.util.OrderByComparator<VcmsDiscussion> orderByComparator);", "public VcmsDiscussion findByP_L_A_Last(long groupId,\n\t\tjava.lang.String language, b...
[ "0.7117132", "0.69598985", "0.6600663", "0.65086514", "0.5975381", "0.5962823", "0.57901615", "0.5638043", "0.5599053", "0.5551962", "0.55169475", "0.5492458", "0.5447715", "0.5351293", "0.5313204", "0.52988046", "0.52622616", "0.5229973", "0.5204", "0.5198807", "0.5181827", ...
0.729715
0
Returns the vcms discussions before and after the current vcms discussion in the ordered set where groupId = &63; and language = &63; and approved = &63;.
public VcmsDiscussion[] findByP_L_A_PrevAndNext( java.lang.String discussionId, long groupId, java.lang.String language, boolean approved, com.liferay.portal.kernel.util.OrderByComparator<VcmsDiscussion> orderByComparator) throws NoSuchVcmsDiscussionException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public VcmsDiscussion[] findByA_P_L_A_PrevAndNext(\n\t\tjava.lang.String discussionId, java.lang.String articleId,\n\t\tlong groupId, java.lang.String language, boolean approved,\n\t\tcom.liferay.portal.kernel.util.OrderByComparator<VcmsDiscussion> orderByComparator)\n\t\tthrows NoSuchVcmsDiscussionException;", ...
[ "0.5898702", "0.55235964", "0.53060085", "0.49514484", "0.48307386", "0.47303516", "0.46101397", "0.46043992", "0.45958385", "0.45619607", "0.45211262", "0.44431564", "0.43751532", "0.43095148", "0.4307674", "0.42577022", "0.42500186", "0.42357233", "0.42312482", "0.42055112", ...
0.61037505
0
Removes all the vcms discussions where groupId = &63; and language = &63; and approved = &63; from the database.
public void removeByP_L_A(long groupId, java.lang.String language, boolean approved);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "List<PreparedStatement> getClearDiscussionStatements(String forumId, String discussionId, Connection conn) throws Exception;", "public java.util.List<VcmsDiscussion> findByP_L_A(long groupId,\n\t\tjava.lang.String language, boolean approved);", "void deleteAllChallenges();", "List<PreparedStatement> getDelet...
[ "0.5976117", "0.59398454", "0.5702802", "0.5612138", "0.55797976", "0.5424439", "0.53835535", "0.53120387", "0.52822524", "0.5280089", "0.52700937", "0.5239791", "0.516732", "0.51341945", "0.50252295", "0.5006359", "0.5004524", "0.4966716", "0.4948241", "0.49446207", "0.49417...
0.55246276
5