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
Choose the group in which the letter does not appear at all.
public Boolean categoryWithoutGuess(char guess) { CharSequence seqChar = new StringBuilder(1).append(guess); Boolean containsChar = false; for (Map.Entry<String, Set<String>> entry1 : wordsLeft.entrySet()) { String tester = entry1.getKey(); if (!tester.contains(seqChar)) { containsChar = true; possibleCategoryWithoutGuess = tester; } } return containsChar; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract String getDefaultGroup();", "java.lang.String getGroup();", "default String getGroup() {\n return null;\n }", "@Override\n public boolean isGroup() {\n return false;\n }", "public int getGroup(char letter);", "public boolean setLightForGroupingUnassigned() {\n Log....
[ "0.6093408", "0.60427636", "0.59502935", "0.58239794", "0.57269436", "0.56529886", "0.5618296", "0.5394805", "0.532322", "0.5320384", "0.5288007", "0.523887", "0.5236928", "0.52296484", "0.5206237", "0.5184797", "0.51761115", "0.51484716", "0.513386", "0.5106623", "0.50976634...
0.5096929
21
finds guess withrightmost guess, does tester 1 have a more rightmost guess?
public String rightmostGuess(char guess) { String tester2 = ""; String rightMostGuess = ""; for (Map.Entry<String, Set<String>> entry1 : wordsLeft.entrySet()) { //for testing word String tester = entry1.getKey(); for (Map.Entry<String, Set<String>> entry : wordsLeft.entrySet()) { //for word to test agasint tester2 = entry.getKey(); for (int i = tester.length(); i > 0; i--) { //to interate through chars of each word try { char compare1 = tester.charAt(i - 1); char compare2 = tester2.charAt(i - 1); if (compare2 == guess && compare1 == '-') { rightMostGuess = tester2; break; } if (compare2 == '-' && compare1 == guess) { rightMostGuess = tester; break; } } catch (Exception ex) { System.out.println("here"); } } } } return rightMostGuess; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void tryGuess(int guess) {\n int guessAssert = guesser.assertGuess(guess);\n switch (guessAssert) {\n case 0:\n guesser.madeGuess();\n System.out.println(\"Too low. Guess again: \");\n break;\n case 1:\n guesser...
[ "0.6417335", "0.6387839", "0.6338577", "0.6296816", "0.62788653", "0.6253509", "0.6218323", "0.62075746", "0.6191702", "0.61057824", "0.6089506", "0.6083443", "0.6069047", "0.6061082", "0.60390574", "0.59910494", "0.59822524", "0.59481066", "0.5935913", "0.58740115", "0.58558...
0.689722
0
tally up number of guesses
public int guessCount(String tester, char guess) { StringBuilder r = new StringBuilder(tester); int guessCount = 0; for (int i = 0; i < tester.length(); i++) { if (r.charAt(i) == guess) { guessCount++; } } return guessCount; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static int guessing() {\n\t\t\n\t\tSystem.out.println(\"Guess a number between 1 and 100, you have 5 trials: \");\n\t\t\n\t\tint trials = 5;\n\t\tScanner input = new Scanner(System.in);\n\t\t\n\t\t//set a random number as the number to be guessed\n\t\tint num = (int)(100 * Math.random()) + 1;\n\t\tint poin...
[ "0.70477784", "0.66046935", "0.64927995", "0.63918424", "0.6113939", "0.6049123", "0.6018039", "0.6012162", "0.5998862", "0.59364593", "0.58731675", "0.58454704", "0.58283573", "0.5790062", "0.57801837", "0.5779441", "0.5748587", "0.57435936", "0.5714134", "0.5659138", "0.565...
0.5457614
55
Reorders the action sequence queue, presumably to explore the most interesting action sequences first.
public interface ActionSequencePrioritizer { /** * Given the current action sequence deque, returns a new one that has * the "most interesting" sequences at the top of the deque. * Note that there is no requirement that the resulting action sequence * deque contains exactly the same elements as the given one. So you * can also use this interface for filtering out (or even adding in new) * action sequences. * * @param actionSequences the action sequences to examine. * @return the action sequences you want to run going forward. */ ActionSequenceQueue prioritize(ActionSequenceQueue actionSequences); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "ActionSequenceQueue prioritize(ActionSequenceQueue actionSequences);", "public void swapEventQueues ()\r\n {\n myNextEventQueue.addAll(0, myCurrentEventQueue);\r\n myCurrentEventQueue.clear();\r\n\r\n LinkedList<IFiredEvent> temp = myCurrentEventQueue;\r\n\r\n myCurrentEventQueue =...
[ "0.7011788", "0.5916189", "0.5759197", "0.555722", "0.5552515", "0.5492171", "0.5434178", "0.5409177", "0.53885084", "0.53845793", "0.5378345", "0.5350243", "0.5336967", "0.52873254", "0.52751315", "0.5255823", "0.5238144", "0.5203841", "0.5194587", "0.5194175", "0.5188333", ...
0.62718284
1
Given the current action sequence deque, returns a new one that has the "most interesting" sequences at the top of the deque. Note that there is no requirement that the resulting action sequence deque contains exactly the same elements as the given one. So you can also use this interface for filtering out (or even adding in new) action sequences.
ActionSequenceQueue prioritize(ActionSequenceQueue actionSequences);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface ActionSequencePrioritizer {\n\n /**\n * Given the current action sequence deque, returns a new one that has\n * the \"most interesting\" sequences at the top of the deque.\n * Note that there is no requirement that the resulting action sequence\n * deque contains exactly the same elements...
[ "0.67140406", "0.5160916", "0.5106746", "0.49228486", "0.48896378", "0.4849831", "0.48485392", "0.4838689", "0.48334008", "0.48243955", "0.48130372", "0.4808508", "0.47968206", "0.47569105", "0.47554216", "0.47483894", "0.46548894", "0.46389076", "0.4636616", "0.46170104", "0...
0.540546
1
the reference hook of the spawn point (usually previous map) Primary constructor. Requires the width in tiles of the map, the height in tiles of the map, the logical width/height of map tiles, a Boolean grid of passable/impassable tiles, and a String grid of reference hooks attached to logical map tiles.
Map(int width, int height, long tileWidth, Boolean[][] clip, String[][] hooks) { this.width = width; this.height = height; this.tileWidth = tileWidth; this.clip = clip; this.hooks = hooks; hookCurrent = "default_map"; hookSpawn = "spawn"; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public MiniMap(Grid grid) {\n\t\tcurrent = this;\n\t\timg = new PImage(grid.cols, grid.rows);\n\t\tint x = Rogue.stage.width - WIDTH;\n\t\tthis.grid = grid;\n\t\tthis.pos = new Int2D(x, 0);\n\t\tbg = createBG();\n\t\tupdate();\n\t\tignoreDiscovered = Registry.getBoolean(\"game.clear_minimap\");\n\t}", "public Gr...
[ "0.6257365", "0.60038745", "0.57730967", "0.574065", "0.5637944", "0.5585538", "0.5579779", "0.5576887", "0.5574816", "0.55732644", "0.5556998", "0.5548277", "0.5541945", "0.55042446", "0.5493597", "0.54719895", "0.5470132", "0.54697907", "0.54652166", "0.5457382", "0.5456778...
0.635835
0
Get the width of the map in tiles.
int getWidth() { return width; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getWidth() {\n return getTileWidth() * getWidthInTiles();\n }", "public static Integer getMapWidth() {\n\t\treturn MAPWIDTH;\n\t}", "public int getActualWidthInTiles() {\n return getWidth() / getActualTileWidth();\n }", "public static int getMapWidth() {\r\n\t\treturn 7;\r\n\t}", "public...
[ "0.84149176", "0.8175846", "0.81419605", "0.7841482", "0.76608384", "0.7657652", "0.76119745", "0.7541802", "0.75096965", "0.73633206", "0.73255914", "0.7267583", "0.7202413", "0.7061046", "0.70416856", "0.7032515", "0.6954688", "0.6896274", "0.6892199", "0.6884975", "0.68767...
0.0
-1
Get the height of the map in tiles.
int getHeight() { return height; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getHeight() {\n return getTileHeight() * getHeightInTiles();\n }", "public static Integer getMapHeight() {\n\t\treturn MAPHEIGHT;\n\t}", "public int getActualHeightInTiles() {\n return getHeight() / getActualTileHeight();\n }", "public static int getMapHeight() {\r\n\t\treturn 7;\r\n\t}", ...
[ "0.83480877", "0.8221704", "0.79586047", "0.7777566", "0.7689865", "0.7622195", "0.7598038", "0.74940497", "0.7414376", "0.7163611", "0.7133213", "0.70829064", "0.6971552", "0.6969707", "0.696723", "0.69576746", "0.69576746", "0.695059", "0.69499904", "0.6946955", "0.6946955"...
0.0
-1
Get the logical width/height of a map tile.
long getTileWidth() { return tileWidth; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getTileSize();", "public Vector2i getTileSize() {\n return new Vector2i(getTileWidth(), getTileHeight());\n }", "public int getTileSize() {\r\n\t\treturn this.tileSize;\r\n\t}", "public static int getTileSize(){\n\t\treturn tileDim;\n\t}", "public int getActualTileHeight() {\n return 32;\n }", ...
[ "0.76466537", "0.74906754", "0.74746805", "0.73810774", "0.7333481", "0.73176897", "0.72590566", "0.7235907", "0.7161863", "0.7127342", "0.71186477", "0.7102776", "0.70512515", "0.70146996", "0.6954826", "0.69011784", "0.68964887", "0.68900514", "0.68593717", "0.6825618", "0....
0.70173335
13
Get the grid of passable (clip true) and impassable (clip false) tiles.
Boolean[][] getClip() { return clip; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean hasGrid();", "@Override\n public Tile[][] getGrid() { return grid; }", "public IImage createCheckerboard() {\n List<List<Pixel>> grid = new ArrayList<>();\n for (int i = 0; i < this.height; i++) {\n List<Pixel> row;\n // alternating between making rows starting with black or white ti...
[ "0.611782", "0.60651803", "0.5915533", "0.58614486", "0.5772863", "0.57516944", "0.57348984", "0.5683961", "0.5645355", "0.5637256", "0.5596443", "0.5563297", "0.5557892", "0.5547274", "0.55144083", "0.55141836", "0.55119705", "0.5500461", "0.5457296", "0.54548264", "0.544263...
0.54554206
19
Update the grid of passable (clip true) and impassable (clip false) tiles.
void setClip(Boolean[][] clip) { this.clip = clip; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void updateBoard() {\r\n\t\tfor(int i = 0, k = 0; i < board.getWidth(); i+=3) {\r\n\t\t\tfor(int j = 0; j < board.getHeight(); j+=3) {\r\n\t\t\t\t//Check that there are pieces to display\r\n\t\t\t\tif(k < bag.size()) {\r\n\t\t\t\t\tboard.setTile(bag.get(k), i, j);\r\n\t\t\t\t\tk++;\r\n\t\t\t\t}\r\n\t\t\t\te...
[ "0.6370312", "0.63431406", "0.61560196", "0.60257494", "0.5960856", "0.5946089", "0.5935622", "0.5892965", "0.5870116", "0.58459944", "0.581478", "0.5805666", "0.5805396", "0.5771669", "0.57648635", "0.57513124", "0.57408935", "0.57404983", "0.57308924", "0.5688181", "0.56752...
0.5607818
22
Get the grid of reference hooks in the map.
String[][] getHooks() { return hooks; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Collection<Feature> getReference();", "com.ctrip.ferriswheel.proto.v1.Grid getGrid();", "public org.openxmlformats.schemas.drawingml.x2006.main.CTColorMapping getClrMap()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.openxmlformats.schemas.drawingml.x2006.m...
[ "0.5872547", "0.5662727", "0.5612596", "0.55962664", "0.55479884", "0.5532105", "0.5492023", "0.54756886", "0.5468173", "0.54500824", "0.5399968", "0.53319305", "0.53058594", "0.5249037", "0.5213874", "0.5208864", "0.5199429", "0.5192492", "0.5191996", "0.5181288", "0.5171946...
0.5222338
14
Update the grid of reference hooks in the map.
void setHooks(String[][] hooks) { this.hooks = hooks; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void updateMapGrid() {\n char[][] map = controller.getPopulatedMap();\n\t if (mapGrid == null) {\n mapGrid = new MapGrid(map.length, map[0].length, ICON_SIZE);\n }\n mapGrid.insertCharMap(map);\n }", "private void updateColorMap() {\n //if (colorMap == null) {\...
[ "0.6254218", "0.5920852", "0.5815845", "0.57859445", "0.5774726", "0.5762361", "0.56980544", "0.56667465", "0.56643856", "0.56537825", "0.55855864", "0.55789506", "0.5565453", "0.55387866", "0.5535775", "0.55297244", "0.55235493", "0.5494156", "0.54850954", "0.54778427", "0.5...
0.0
-1
Get the reference hook for the currently loaded map.
String getHookCurrent() { return hookCurrent; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public GoogleMap getMapRef() {\n return mMap;\n }", "@Override\n\tpublic HookTracker getHookTracker() {\n\t\treturn hookTracker;\n\t}", "public org.openxmlformats.schemas.drawingml.x2006.main.CTColorMapping getClrMap()\n {\n synchronized (monitor())\n {\n check_orphaned();...
[ "0.61266905", "0.57808983", "0.5693434", "0.5631485", "0.5631485", "0.55458283", "0.550685", "0.5497297", "0.54698354", "0.5442209", "0.5439287", "0.5436279", "0.54025793", "0.54025793", "0.5373534", "0.5361256", "0.5361256", "0.535085", "0.53462183", "0.53085685", "0.5280634...
0.6091963
1
Set the reference hook for the currently loaded map.
void setHookCurrent(String hookCurrent) { this.hookCurrent = hookCurrent; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setReference(Reference ref)\n {\n this.ref = ref;\n }", "public void setReference (SoftReference ref)\r\n {\r\n _reference = ref;\r\n }", "private void setReference(String ref) {\n Set<String> allRefs = getAllReferenceNames();\n if (!allRefs.contains(ref) && allRefs.cont...
[ "0.6392707", "0.62024987", "0.59582007", "0.59047467", "0.5876259", "0.5871901", "0.5864253", "0.58626246", "0.5859656", "0.5844909", "0.58195275", "0.58010465", "0.5723719", "0.56207573", "0.5611308", "0.560136", "0.55995184", "0.5596146", "0.55925554", "0.5559597", "0.55497...
0.5565769
19
Get the reference hook for the player spawn location.
String getHookSpawn() { return hookSpawn; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Location getSpawnLocation() {\n return this.spawnLocation;\n }", "public static GuidoLocationListener getReference(){\r\n\t\tif(instance == null)\r\n\t\t\tinstance = new GuidoLocationListener();\r\n\t\treturn instance;\r\n\t}", "public Location getBedSpawnLocation ( ) {\n\t\treturn extract ( h...
[ "0.61049366", "0.5934519", "0.5925307", "0.5780737", "0.5740701", "0.57249045", "0.56791514", "0.5671083", "0.5643034", "0.5623267", "0.5576446", "0.55707043", "0.5532148", "0.5503925", "0.5500314", "0.54341686", "0.54303885", "0.54153717", "0.5402799", "0.540151", "0.5400183...
0.69962406
0
Set the reference hook for the player spawn location.
void setHookSpawn(String hookSpawn) { this.hookSpawn = hookSpawn; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setSpawnLocation(Location spawnLocation) {\n this.spawnLocation = spawnLocation;\n }", "public void setReference(final String newLocation) {\n reference = gameMap.convertNameToReference(newLocation);\n }", "public default void setSpawnPosition(SpellData data, LivingEntity caster...
[ "0.62871855", "0.602849", "0.6018211", "0.5951335", "0.5897272", "0.56104505", "0.55897874", "0.5584194", "0.5536016", "0.5503343", "0.5480259", "0.5464289", "0.54553956", "0.54533684", "0.54483396", "0.54019266", "0.5370947", "0.53709453", "0.535518", "0.5349202", "0.5346612...
0.69137824
0
Register to receive cron taskrelated events
@Before public void initialize() throws Exception { cronTaskEventListenerRegistry.addListener(this); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void cronScheduledProcesses();", "@Override\n public void configureTasks( ScheduledTaskRegistrar registrar ) {\n registrar.setScheduler( rhizomeScheduler() );\n }", "void configureTasks(ScheduledTaskRegistrar taskRegistrar);", "private void registerGlobalEvents() {\n\t\tsubmit(new CycleEvent());...
[ "0.6625096", "0.64156425", "0.6228363", "0.61375695", "0.6071778", "0.5956429", "0.5929046", "0.5858109", "0.5803164", "0.579932", "0.573701", "0.56370574", "0.56297725", "0.5628302", "0.55998623", "0.55983764", "0.55860144", "0.556733", "0.5554194", "0.55536157", "0.55453485...
0.6143813
3
Unregister to receive cron taskrelated events
@After public void tearDown() throws Exception { cronTaskEventListenerRegistry.removeListener(this); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void unsetSchedule();", "public void unregister()\n\t{\n\t\tcancelPrevRegisterTask();\n\n\t\tpushRegistrar.unregisterPW(mContext);\n\t}", "public void unregisterNotify( Notify notify );", "private void deregisterBroadcastReceiver(){\n activity.unregisterReceiver(hceNotificationsReceiver);\n }", "...
[ "0.6472517", "0.64100665", "0.63834363", "0.6315546", "0.6296995", "0.6197221", "0.6157089", "0.615491", "0.6145148", "0.61274135", "0.6122259", "0.6116148", "0.6110234", "0.609422", "0.60596675", "0.60553336", "0.6052502", "0.6049628", "0.603616", "0.6031757", "0.60053235", ...
0.710841
0
Find user by name.
public void testFindUserByName() throws Exception { createUser("testFindUserByName"); // try to find existed user User u = uHandler.findUserByName("demo"); assertNotNull(u); assertEquals("demo@localhost", u.getEmail()); assertEquals("Demo", u.getFirstName()); assertEquals("exo", u.getLastName()); assertEquals("demo", u.getUserName()); assertTrue(u.isEnabled()); // try to find a non existing user. We are supposed to get "null" instead of Exception. try { assertNull(uHandler.findUserByName("not-existed-user")); } catch (Exception e) { fail("Exception should not be thrown"); } try { assertNull(uHandler.findUserByName("not-existed-user", UserStatus.ENABLED)); } catch (Exception e) { fail("Exception should not be thrown"); } try { assertNull(uHandler.findUserByName("not-existed-user", UserStatus.DISABLED)); } catch (Exception e) { fail("Exception should not be thrown"); } try { assertNull(uHandler.findUserByName("not-existed-user", UserStatus.BOTH)); } catch (Exception e) { fail("Exception should not be thrown"); } assertNotNull(uHandler.findUserByName("testFindUserByName")); assertTrue(uHandler.findUserByName("testFindUserByName").isEnabled()); assertNotNull(uHandler.findUserByName("testFindUserByName", UserStatus.ENABLED)); assertTrue(uHandler.findUserByName("testFindUserByName", UserStatus.ENABLED).isEnabled()); assertNotNull(uHandler.findUserByName("testFindUserByName", UserStatus.BOTH)); assertTrue(uHandler.findUserByName("testFindUserByName", UserStatus.BOTH).isEnabled()); boolean unsupportedOperation = false; try { // Disable the user testFindUserByName uHandler.setEnabled("testFindUserByName", false, true); // We should not find the user testFindUserByName anymore from the normal method assertNull(uHandler.findUserByName("testFindUserByName")); assertNull(uHandler.findUserByName("testFindUserByName", UserStatus.ENABLED)); // We should find it using the method that includes the disabled user account assertNotNull(uHandler.findUserByName("testFindUserByName", UserStatus.BOTH)); assertFalse(uHandler.findUserByName("testFindUserByName", UserStatus.BOTH).isEnabled()); // We should find it using the method that queries only the disabled user account assertNotNull(uHandler.findUserByName("testFindUserByName", UserStatus.DISABLED)); assertFalse(uHandler.findUserByName("testFindUserByName", UserStatus.DISABLED).isEnabled()); // Enable the user testFindUserByName uHandler.setEnabled("testFindUserByName", true, true); // We should find it again whatever the value of the parameter status assertNotNull(uHandler.findUserByName("testFindUserByName")); assertTrue(uHandler.findUserByName("testFindUserByName").isEnabled()); assertNotNull(uHandler.findUserByName("testFindUserByName", UserStatus.ENABLED)); assertTrue(uHandler.findUserByName("testFindUserByName", UserStatus.ENABLED).isEnabled()); assertNotNull(uHandler.findUserByName("testFindUserByName", UserStatus.BOTH)); assertTrue(uHandler.findUserByName("testFindUserByName", UserStatus.BOTH).isEnabled()); // We should not find the user using the method that queries only the disabled user account assertNull(uHandler.findUserByName("testFindUserByName", UserStatus.DISABLED)); } catch (UnsupportedOperationException e) { // This operation can be unsupported unsupportedOperation = true; } // Remove the user testFindUserByName uHandler.removeUser("testFindUserByName", true); // try to find a user that doesn't exist anymore. We are supposed to get "null" instead of Exception. try { assertNull(uHandler.findUserByName("testFindUserByName")); } catch (Exception e) { fail("Exception should not be thrown"); } try { assertNull(uHandler.findUserByName("testFindUserByName", UserStatus.ENABLED)); } catch (Exception e) { fail("Exception should not be thrown"); } try { assertNull(uHandler.findUserByName("testFindUserByName", UserStatus.DISABLED)); } catch (Exception e) { fail("Exception should not be thrown"); } try { assertNull(uHandler.findUserByName("testFindUserByName", UserStatus.BOTH)); } catch (Exception e) { fail("Exception should not be thrown"); } // Check the listener's counters assertEquals(1, listener.preSaveNew); assertEquals(1, listener.postSaveNew); assertEquals(0, listener.preSave); assertEquals(0, listener.postSave); assertEquals(unsupportedOperation ? 0 : 2, listener.preSetEnabled); assertEquals(unsupportedOperation ? 0 : 2, listener.postSetEnabled); assertEquals(1, listener.preDelete); assertEquals(1, listener.postDelete); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic Userinfo findbyname(String name) {\n\t\treturn userDAO.searchUserByName(name);\r\n\t}", "public User findUser(String name) {\n\t\treturn null;\r\n\t}", "public boolean findUserBYName(String name);", "User findUserByName(String name);", "public User findUser(String name) {\n\n\t\ttry {...
[ "0.8312892", "0.8175205", "0.79805106", "0.79206675", "0.78635937", "0.7734993", "0.77008307", "0.7526246", "0.73934835", "0.73817086", "0.7370508", "0.7337516", "0.7333749", "0.73328555", "0.7302784", "0.72908604", "0.7265139", "0.72473603", "0.7221934", "0.7211778", "0.7199...
0.0
-1
Find users by query.
public void testFindUsersByQuery() throws Exception { createUser("tolik"); uHandler.authenticate("tolik", "pwdADDSomeSaltToBeCompliantWithSomeIS00"); Query query = new Query(); query.setEmail("email@test"); // try to find user by email assertSizeEquals(1, uHandler.findUsersByQuery(query), UserStatus.ENABLED); assertSizeEquals(1, uHandler.findUsersByQuery(query, UserStatus.ENABLED), UserStatus.ENABLED); assertSizeEquals(1, uHandler.findUsersByQuery(query, UserStatus.BOTH), UserStatus.BOTH); // try to find user by name with mask query = new Query(); query.setUserName("*tolik*"); assertSizeEquals(1, uHandler.findUsersByQuery(query)); // try to find user by name with mask query = new Query(); query.setUserName("tol*"); assertSizeEquals(1, uHandler.findUsersByQuery(query)); // try to find user by name with mask query = new Query(); query.setUserName("*lik"); assertSizeEquals(1, uHandler.findUsersByQuery(query)); // try to find user by name explicitly query = new Query(); query.setUserName("tolik"); assertSizeEquals(1, uHandler.findUsersByQuery(query)); // try to find user by part of name without mask query = new Query(); query.setUserName("tol"); assertSizeEquals(1, uHandler.findUsersByQuery(query)); // try to find user by fist and last names query = new Query(); query.setFirstName("first"); query.setLastName("last"); assertSizeEquals(1, uHandler.findUsersByQuery(query)); String skipCISearchTests = System.getProperty("orgservice.test.configuration.skipCISearchTests"); if (!"true".equals(skipCISearchTests)) { // try to find user by name explicitly, case insensitive search query = new Query(); query.setUserName("Tolik"); assertSizeEquals(1, uHandler.findUsersByQuery(query)); // try to find user by fist and last names, case insensitive search query = new Query(); query.setFirstName("fiRst"); query.setLastName("lasT"); assertSizeEquals(1, uHandler.findUsersByQuery(query)); } String skipDateTests = System.getProperty("orgservice.test.configuration.skipDateTests"); if (!"true".equals(skipDateTests)) { // try to find user by login date Calendar calc = Calendar.getInstance(); calc.set(Calendar.YEAR, calc.get(Calendar.YEAR) - 1); query = new Query(); query.setFromLoginDate(calc.getTime()); query.setUserName("tolik"); assertSizeEquals(1, uHandler.findUsersByQuery(query)); calc = Calendar.getInstance(); calc.set(Calendar.YEAR, calc.get(Calendar.YEAR) + 1); query = new Query(); query.setFromLoginDate(calc.getTime()); assertSizeEquals(0, uHandler.findUsersByQuery(query)); calc = Calendar.getInstance(); calc.set(Calendar.YEAR, calc.get(Calendar.YEAR) - 1); query = new Query(); query.setToLoginDate(calc.getTime()); assertSizeEquals(0, uHandler.findUsersByQuery(query)); calc = Calendar.getInstance(); calc.set(Calendar.YEAR, calc.get(Calendar.YEAR) + 1); query = new Query(); query.setToLoginDate(calc.getTime()); query.setUserName("tolik"); assertSizeEquals(1, uHandler.findUsersByQuery(query)); } createUser("rolik"); createUser("bolik"); createUser("volik"); query = new Query(); query.setUserName("olik"); ListAccess<User> users = uHandler.findUsersByQuery(query); assertSizeEquals(4, users, UserStatus.ENABLED); assertSizeEquals(4, uHandler.findUsersByQuery(query, UserStatus.ENABLED), UserStatus.ENABLED); assertSizeEquals(4, uHandler.findUsersByQuery(query, UserStatus.BOTH), UserStatus.BOTH); User[] allPage = users.load(0, 4); User[] page1 = users.load(0, 2); User[] page2 = users.load(2, 2); assertEquals(allPage[0].getUserName(), page1[0].getUserName()); assertEquals(allPage[1].getUserName(), page1[1].getUserName()); assertEquals(allPage[2].getUserName(), page2[0].getUserName()); assertEquals(allPage[3].getUserName(), page2[1].getUserName()); try { users.load(0, 0); } catch (Exception e) { fail("Exception is not expected"); } // try to load more than exist try { users.load(0, 5); fail("Exception is expected"); } catch (Exception e) { } // try to load more than exist try { users.load(1, 4); fail("Exception is expected"); } catch (Exception e) { } boolean unsupportedOperation = false; try { // Disable the user tolik uHandler.setEnabled("tolik", false, true); assertSizeEquals(3, uHandler.findUsersByQuery(query), UserStatus.ENABLED); assertSizeEquals(3, uHandler.findUsersByQuery(query, UserStatus.ENABLED), UserStatus.ENABLED); assertSizeEquals(1, uHandler.findUsersByQuery(query, UserStatus.DISABLED), UserStatus.DISABLED); assertSizeEquals(4, uHandler.findUsersByQuery(query, UserStatus.BOTH), UserStatus.BOTH); // Enable the user tolik uHandler.setEnabled("tolik", true, true); assertSizeEquals(4, uHandler.findUsersByQuery(query), UserStatus.ENABLED); assertSizeEquals(4, uHandler.findUsersByQuery(query, UserStatus.ENABLED), UserStatus.ENABLED); assertSizeEquals(0, uHandler.findUsersByQuery(query, UserStatus.DISABLED), UserStatus.DISABLED); assertSizeEquals(4, uHandler.findUsersByQuery(query, UserStatus.BOTH), UserStatus.BOTH); } catch (UnsupportedOperationException e) { // This operation can be unsupported unsupportedOperation = true; } // Remove the user tolik uHandler.removeUser("tolik", true); assertSizeEquals(3, uHandler.findUsersByQuery(query), UserStatus.ENABLED); assertSizeEquals(3, uHandler.findUsersByQuery(query, UserStatus.ENABLED), UserStatus.ENABLED); assertSizeEquals(3, uHandler.findUsersByQuery(query, UserStatus.BOTH), UserStatus.BOTH); // Check the listener's counters assertEquals(4, listener.preSaveNew); assertEquals(4, listener.postSaveNew); assertEquals(0, listener.preSave); assertEquals(0, listener.postSave); assertEquals(unsupportedOperation ? 0 : 2, listener.preSetEnabled); assertEquals(unsupportedOperation ? 0 : 2, listener.postSetEnabled); assertEquals(1, listener.preDelete); assertEquals(1, listener.postDelete); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<User> getSpecificUsers(String searchQuery) {\n logger.info(\"Currently in method 'getSpecificUsers()'.\");\n Database database = Database.getInstance();\n Connection connection = null;\n List<User> specificUsers = new ArrayList<User>();\n String sql = \"SELECT * FROM ...
[ "0.7148348", "0.69363874", "0.6898959", "0.6811202", "0.6771789", "0.6738733", "0.67361915", "0.67357737", "0.6615577", "0.66020244", "0.6587098", "0.6551689", "0.6517731", "0.65057117", "0.65044105", "0.6488273", "0.648715", "0.6454647", "0.6447074", "0.6420191", "0.6406891"...
0.60977596
57
Get users page list.
public void testGetUserPageList() throws Exception { assertSizeEquals(4, uHandler.getUserPageList(10).getAll()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Set<String> getUsers(String page);", "java.util.List<com.heroiclabs.nakama.api.User> \n getUsersList();", "public List getAllUsers();", "public String[] listUsers();", "List<User> getUsers();", "List<User> getUsers();", "public PageList<User> getUserPageList(User user, int pageSize, int pageNum) t...
[ "0.79016215", "0.71782905", "0.7170519", "0.7151275", "0.71246445", "0.71246445", "0.7100039", "0.7094626", "0.7084122", "0.70198816", "0.69978726", "0.6925326", "0.6895307", "0.6883552", "0.6860672", "0.6847481", "0.6839595", "0.683806", "0.6835012", "0.6804207", "0.67996013...
0.67349714
30
Created by fbalicchia on 15/03/2018.
public interface SerializableFunction2<T1,U,R> extends BiFunction<T1,U,R>, Serializable { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "private stendhal() {\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "public final void mo51373a() {\n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\r\n\t...
[ "0.61424077", "0.57892984", "0.5742806", "0.5742806", "0.5721538", "0.5683025", "0.56799704", "0.5644296", "0.5625383", "0.5592852", "0.55504704", "0.55131334", "0.55020344", "0.54943115", "0.5487252", "0.5483718", "0.5477325", "0.5477325", "0.5477325", "0.5477325", "0.547732...
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.room_event_view, 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
Appends a SQL script header to the passed script.
public void append(DataModel dataModel, SQLScript script, UserInformation userInfos, DBExecMode dbmode) { for (String s : this.create(dataModel, userInfos, dbmode)) { script.addExtendingStatement(s); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void insertHeader(StringBuilder sb) {\n String id = \"ID\";\n String name = \"Name\";\n String objects = \"Objects collected\";\n sb.append(id);\n insertSpacing(sb, id);\n sb.append(name);\n insertSpacing(sb, name);\n sb.append(objects);\n inse...
[ "0.5472439", "0.5409786", "0.523873", "0.51224595", "0.5116158", "0.5090327", "0.50523466", "0.5000585", "0.49721226", "0.4970006", "0.48748896", "0.48658407", "0.48564655", "0.48351377", "0.47908664", "0.47906283", "0.4787794", "0.4784296", "0.4781527", "0.4778099", "0.47636...
0.0
-1
Returns a SQL script header to the passed script.
public String[] create(DataModel dataModel, UserInformation userInfos, DBExecMode dbmode) { List<String> script = new LinkedList<String>(); script.add("/*********************************************************************"); script.add(" *"); script.add(" * Archimedes update script"); script.add(" *"); script.add(" * Schema: " + dataModel.getName()); script.add(" * Version: " + dataModel.getVersion()); script.add(" * Created at: " + new PTimestamp()); script.add(" * Created by: " + userInfos.getUserName() + " (" + userInfos.getUserToken() + ")"); script.add(" * Created for: " + userInfos.getVendorName()); script.add(" *"); script.add(" * DBMS: " + dbmode.toToken()); script.add(" *"); script.add(" *"); script.add(" * THIS SCRIPT IS GENERATED!!!"); script.add(" *"); script.add(" * Do not change manually!"); script.add(" *"); script.add(" *"); script.add(" ********************************************************************/"); script.add(""); script.add(""); return script.toArray(new String[0]); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static String getPostScriptHeaderContent() throws AlgorithmExecutionException { \t\r\n\t\tInputStream inStream = null;\r\n \tBufferedReader input = null;\r\n \tString line;\r\n \tString psHeaderContentinString = \"\";\r\n \r\n \ttry {\r\n URLConnection connection = PostScriptOp...
[ "0.61047584", "0.5610562", "0.5610444", "0.5609597", "0.55905145", "0.5412034", "0.5366467", "0.5351235", "0.53410363", "0.53275335", "0.5279621", "0.5265948", "0.5207564", "0.5095998", "0.5012046", "0.49844915", "0.4975761", "0.49179783", "0.49073154", "0.4904284", "0.489178...
0.0
-1
Returns a SQL script header to the passed script.
public String createAsString(DataModel dataModel, UserInformation userInfos, DBExecMode dbmode) { String script = new String(); for (String s : this.create(dataModel, userInfos, dbmode)) { script += s + "\n"; } return script; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static String getPostScriptHeaderContent() throws AlgorithmExecutionException { \t\r\n\t\tInputStream inStream = null;\r\n \tBufferedReader input = null;\r\n \tString line;\r\n \tString psHeaderContentinString = \"\";\r\n \r\n \ttry {\r\n URLConnection connection = PostScriptOp...
[ "0.61047584", "0.5610562", "0.5610444", "0.5609597", "0.55905145", "0.5412034", "0.5366467", "0.5351235", "0.53410363", "0.53275335", "0.5279621", "0.5265948", "0.5207564", "0.5095998", "0.5012046", "0.49844915", "0.4975761", "0.49179783", "0.49073154", "0.4904284", "0.489178...
0.0
-1
if your exception object have a message then to string method show it
public static void main(String[] args) { System.out.println(3+5*9-7); int i1 = 1; int i2 = 1; if(i1 == i2){ System.out.println("equal"); } List<String> stringList = new ArrayList<String>(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String toString ()\n {\n if (exception != null) {\n return exception.toString();\n } else {\n return super.toString();\n }\n }", "@Override\r\n\tpublic String toString() {\n\t\treturn \"Exception is..\" + msg;\r\n\t}", "String getException();", "String getException();", ...
[ "0.7649154", "0.7607391", "0.7020797", "0.7020797", "0.7009241", "0.7009241", "0.7009241", "0.7009241", "0.7009241", "0.7009241", "0.7009241", "0.7009241", "0.7009241", "0.7009241", "0.7009241", "0.7009241", "0.7009241", "0.7009241", "0.7009241", "0.7009241", "0.7009241", "...
0.0
-1
Created by Yusiry Davids on 11/22/2015.
public interface ForumService { List<Forum> getForums(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "private stendhal() {\n\t}", "public final void mo51373a() {\n }", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpubl...
[ "0.61597997", "0.61070496", "0.5962618", "0.59556943", "0.5936194", "0.59345067", "0.59345067", "0.5924046", "0.5860253", "0.58478475", "0.5802541", "0.57480013", "0.57416123", "0.5713371", "0.5704502", "0.57012767", "0.56950885", "0.567625", "0.5672942", "0.567074", "0.56707...
0.0
-1
Constructor Create attribute panel
public NumberAttributePanel(JSONInheritance json_inheritance) { super(json_inheritance); GridBagLayout gridBagLayout = (GridBagLayout) getLayout(); gridBagLayout.columnWeights = new double[] { 1.0 }; value_text_field = new JTextField(); GridBagConstraints gbc_value_text_field = new GridBagConstraints(); gbc_value_text_field.insets = new Insets(0, 0, 5, 5); gbc_value_text_field.fill = GridBagConstraints.HORIZONTAL; gbc_value_text_field.gridx = 0; gbc_value_text_field.gridy = 1; add(value_text_field, gbc_value_text_field); value_text_field.setColumns(10); value_text_field.setText(json_inheritance.getValue().toString()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void createAttributeChoices(Panel panel) {\n panel.add(new Label(\"Fill\"));\n fFillColor = createColorChoice(\"FillColor\");\n panel.add(fFillColor);\n\n //panel.add(new Label(\"Text\"));\n //fTextColor = createColorChoice(\"TextColor\");\n //panel.add(fTextColo...
[ "0.6777882", "0.65227264", "0.64300185", "0.64210045", "0.6324121", "0.6227406", "0.6221354", "0.62095857", "0.6174803", "0.61173826", "0.6097121", "0.6090106", "0.6090106", "0.60636544", "0.601074", "0.59893477", "0.5941723", "0.5938813", "0.5935953", "0.58706474", "0.583269...
0.0
-1
package primarily for test without refactoring all gateways getUpdatesFromHost
public Map<String, String> processOrders(ICsvOrderImporter inCsvOrderImporter) throws JSchException, SftpException, IOException { Map<String, String> filesProcessed = new HashMap<>(); ChannelSftp sftp = connect(); try { ArrayList<String> filesToImport = retrieveImportFileList(sftp); // process all regular files found if(filesToImport.size() == 0) { LOGGER.info("No files to process at {}",getConfiguration().getUrl()); } else { int total = filesToImport.size(); for(int ix = 0; ix < total; ix++ ) { String filename = filesToImport.get(ix); filesProcessed.put(filename, null); try { Optional<String> finalPath = processImportFile(sftp, inCsvOrderImporter, filename); if (finalPath.isPresent()) { filesProcessed.put(filename, finalPath.get()); } } catch(Exception e) { LOGGER.warn("Unexpected exception processing file {} in gateway {}", filename, this.toSftpChannelDebug(), e); } } } } finally { disconnect(); } return filesProcessed; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "DescribeServiceUpdatesResult describeServiceUpdates(DescribeServiceUpdatesRequest describeServiceUpdatesRequest);", "com.google.search.now.wire.feed.mockserver.MockServerProto.MockUpdate getMockUpdates(int index);", "java.util.List<com.google.search.now.wire.feed.mockserver.MockServerProto.MockUpdate> \n ...
[ "0.6192746", "0.60384536", "0.5888089", "0.5816343", "0.5785483", "0.5674194", "0.56474954", "0.5623177", "0.5623177", "0.554742", "0.5530399", "0.5489239", "0.5419249", "0.53729194", "0.5365691", "0.5362588", "0.5356596", "0.53418285", "0.53339803", "0.5314434", "0.527405", ...
0.0
-1
no args constructor for serialization
public String getName() { return name; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ObjectSerializationEncoder() {\n // Do nothing\n }", "MyEncodeableWithoutPublicNoArgConstructor() {}", "public Data() {}", "public CompactSerializable() {\n }", "public JsonFactory() { this(null); }", "@SuppressWarnings(\"unused\")\n public NoConstructor() {\n // Empty...
[ "0.75557977", "0.7178319", "0.6964459", "0.68985397", "0.6721738", "0.67018247", "0.66894865", "0.66690964", "0.66690964", "0.66651887", "0.6650659", "0.6645531", "0.6638823", "0.66158664", "0.6614593", "0.6518377", "0.65138596", "0.63699484", "0.63674283", "0.63548154", "0.6...
0.0
-1
Set the numeric input value x for this input.
public void setInput(double x) { if(domain.contains(x)) this.x = x; else throw new BadParameterException("The input value "+x+" was rejected " + "as it is outside of the domain for this input: " + "["+domain.getLeft()+", "+domain.getRight()+"]."); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setX(double x){\n this.x = x;\n }", "public void setX(double x){\n this.x = x;\n }", "public void setX(double x) {\n this.x = x;\r\n }", "public void setX(double x)\n {\n this.x = x;\n }", "public void setX(Double x);", "public void setX(double x) {\...
[ "0.7868946", "0.7868946", "0.7826045", "0.778541", "0.7759126", "0.7735238", "0.7735238", "0.7735238", "0.77039564", "0.7571548", "0.7529001", "0.74654657", "0.74005723", "0.73933023", "0.73908246", "0.73882556", "0.7373774", "0.7250674", "0.7238429", "0.71897894", "0.7157818...
0.7376896
16
the first character can be a digit according to RFC 5321, but this would make difficult to decide if the source is a tag or the first digit of an IPv4 address literal. So assume that it starts with a letter. As of 201103 the only valid tag is IPv6, so this assumption is valid.
private AddressLiteralTagToken.Kind scanToken() throws ParseException { if (ALPHA.isSatisfiedBy(currentChar)) { scanStandardizedTag(); return Kind.STANDARDIZED_TAG; } else if (CharClasses.DIGIT.isSatisfiedBy(currentChar)) { return Kind.DIGIT; } else { throw currentCharToken.syntaxException("The first digit of an " + "IPv4 address, or an address type tag, like 'IPv6'"); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static IPV4Address parseAddress(String source)\n {\n if(source == null || source.length() <= 0){\n return new IPV4Address();\n }\n\n source = source.trim();\n\n int[] octs = new int[4];\n\n Scanner parse = new Scanner(source);\n parse.useDelimiter(\".\...
[ "0.5902394", "0.57218856", "0.55977464", "0.5593047", "0.5413684", "0.53468573", "0.5273739", "0.50858665", "0.503476", "0.50322574", "0.49463928", "0.49302143", "0.4908113", "0.48991242", "0.4896771", "0.48561528", "0.4829755", "0.48208305", "0.48121414", "0.48053515", "0.48...
0.635218
0
Unreads lookahead data from the underlying character scanner.
public void finish() { charScanner.pushBack(currentCharToken); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void yyreset(java.io.Reader reader) {\n zzReader = reader;\n zzAtBOL = true;\n zzAtEOF = false;\n zzEOFDone = false;\n zzEndRead = zzStartRead = 0;\n zzCurrentPos = zzMarkedPos = 0;\n zzFinalHighSurrogate = 0;\n yyline = yychar = yycolumn = 0;\n zzLexicalState = YYINITIAL;...
[ "0.5657794", "0.5657794", "0.5657794", "0.5657794", "0.5657794", "0.5657794", "0.5657794", "0.5657794", "0.5657794", "0.5657794", "0.5657794", "0.5657794", "0.5657794", "0.5657794", "0.5657794", "0.5649852", "0.56304944", "0.56267494", "0.56267494", "0.5609325", "0.5549667", ...
0.4784076
46
will be perform before "SUPER_ADMIN" group annotated test method
@BeforeGroups(groups = "SUPER_ADMIN") protected void loginSuperAdmin() throws Exception { login("spravce@eos.cz", "spravce"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void testAdminPerm() {\n }", "protected void runBeforeTest() {}", "@BeforeGroup\n public void beforeGroup() {\n }", "@BeforeGroups(groups = { \"NewUser\" }, value = { \"NewUser\" })\n public void preNewUser(ITestContext itc) {\n System.out.println(\"BEFOREGROUPS perfroming pre ...
[ "0.7036304", "0.69865316", "0.68863636", "0.660305", "0.65646756", "0.655682", "0.6536767", "0.6512943", "0.6499304", "0.63981336", "0.63858557", "0.6374804", "0.6374804", "0.6336953", "0.6336768", "0.6336768", "0.6307391", "0.6300979", "0.62943566", "0.62943566", "0.6284866"...
0.67577314
3
will be perform before "REGION_ADMIN" group annotated test method
@BeforeGroups(groups = "REGION_ADMIN") protected void loginRegionAdmin() throws Exception { login("region@eos.cz", "region"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void regionTest() {\n // TODO: test region\n }", "@BeforeGroup\n public void beforeGroup() {\n }", "protected void runBeforeTest() {}", "@Test\n public void testAdminPerm() {\n }", "@Before\n public void postSetUpPerTest(){\n\n }", "@Override\n public void...
[ "0.672076", "0.66696435", "0.6520484", "0.6296436", "0.6209714", "0.6200862", "0.6200862", "0.6194664", "0.61797816", "0.61797816", "0.6169753", "0.6158418", "0.6145157", "0.6136282", "0.6136282", "0.6108553", "0.6096198", "0.60901433", "0.60901433", "0.60901433", "0.60901433...
0.6859155
0
will be perform before "OFFICER" group annotated test method
@BeforeGroups(groups = "OFFICER") protected void loginOfficer() throws Exception { login("officer@eos.cz", "officer"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void runBeforeTest() {}", "@BeforeGroup\n public void beforeGroup() {\n }", "@BeforeSuite\r\n\t\tpublic void BeforeSute()\r\n\t\t{\r\n\t\t\tSystem.out.println(\"Before suite\");\r\n\t\t}", "@Before\n public void beforeTest(){\n\n\n }", "@BeforeTest\n\tpublic void beforeTest() throws E...
[ "0.7322957", "0.72108066", "0.7135226", "0.70447034", "0.698751", "0.68595254", "0.68595254", "0.68560183", "0.6846234", "0.68422496", "0.68195444", "0.680136", "0.67969483", "0.6785352", "0.6785352", "0.67768013", "0.6764424", "0.6677755", "0.66284513", "0.66284513", "0.6628...
0.0
-1
will be perform after group annotated test method
@AfterGroups(groups = {"SUPER_ADMIN", "REGION_ADMIN", "OFFICER"}) protected void logout() throws Exception { final SecurityClient securityClient = SecurityClientFactory.getSecurityClient(); securityClient.logout(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@AfterGroup\n public void afterGroup() {\n }", "protected void runAfterTest() {}", "@Test\n public void groupTest() {\n // TODO: test group\n }", "@AfterTest\n\tpublic void afterTest() {\n\t}", "@After\r\n @CallSuper\r\n public void afterTest() {\n }", "@AfterGroups({\"regression\",...
[ "0.76677734", "0.7519378", "0.7418057", "0.7359383", "0.732594", "0.7280078", "0.71571976", "0.71244216", "0.70398986", "0.70398986", "0.6975666", "0.69742006", "0.69742006", "0.6921333", "0.69042635", "0.6871387", "0.6749229", "0.670441", "0.6699775", "0.6667586", "0.6652629...
0.0
-1
will perform programmatic login
protected void login(String username, String password) throws Exception { final SecurityClient securityClient = SecurityClientFactory.getSecurityClient(); securityClient.setSimple(username, password); securityClient.login(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void login() {\n\t\t\r\n\t}", "protected synchronized void login() {\n\t\tauthenticate();\n\t}", "public static void Login() \r\n\t{\n\t\t\r\n\t}", "@Override\r\n\tpublic void login() {\n\t\t\r\n\t}", "protected Response login() {\n return login(\"\");\n }", "public void loginAsUser()...
[ "0.8043367", "0.7596414", "0.75531995", "0.75041544", "0.7485275", "0.74088126", "0.7398476", "0.73276836", "0.728338", "0.72737056", "0.7246838", "0.72325814", "0.7230279", "0.72183645", "0.72176385", "0.7215455", "0.71932054", "0.71911407", "0.7185866", "0.7175486", "0.7173...
0.0
-1
This will retrieve a list of NICs associated with the load balancer.
public Nics getAllNics(String dataCenterId, String serverId) throws RestClientException, IOException { return client.get(getUrlBase().concat("datacenters").concat("/").concat(dataCenterId).concat("/") .concat(parentResource).concat("/").concat(serverId).concat("/") .concat(resource).concat(depth), null, Nics.class); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.util.List<com.google.cloud.compute.v1.NetworkInterface> getNetworkInterfacesList();", "Collection<NetworkInterface> getAllNetworkInterfaces();", "com.google.cloud.compute.v1.NetworkInterface getNetworkInterfaces(int index);", "public List<NetworkInterfaceInner> networkInterfaces() {\n return this...
[ "0.69039226", "0.6852903", "0.6328831", "0.61842537", "0.6015412", "0.60055625", "0.5933271", "0.5871189", "0.5785605", "0.56518525", "0.56054974", "0.55514836", "0.5483186", "0.538101", "0.5348297", "0.5324614", "0.5309316", "0.5094483", "0.50876933", "0.50108707", "0.499247...
0.47247872
33
Retrieves the attributes of a given load balanced NIC.
public com.profitbricks.rest.domain.Nic getNic(String dataCenterId, String serverId, String nicId) throws RestClientException, IOException { return client.get(getUrlBase().concat("datacenters").concat("/").concat(dataCenterId).concat("/") .concat(parentResource).concat("/").concat(serverId).concat("/") .concat(resource).concat("/").concat(nicId).concat(depth), null, com.profitbricks.rest.domain.Nic.class); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "IAttributes getAttributes();", "Map<String, IAttribute> getConnectedAttributes();", "@GET\r\n\t@Path(\"/imageattribs\")\r\n\t@Produces(MediaType.APPLICATION_JSON)\r\n\tpublic ImageAttribute getAttribute() {\r\n\t\tString directoryPath = ROOT_PATH_ON_MAC + \"/\" + AuxiliaryHelper.loadServerProperties().getPrope...
[ "0.6103077", "0.58984077", "0.57942736", "0.5683113", "0.56820345", "0.5601647", "0.5597521", "0.5596425", "0.5596425", "0.5596425", "0.55582297", "0.54244053", "0.53923637", "0.53923637", "0.53846204", "0.5290073", "0.5274112", "0.52579415", "0.52546096", "0.5237813", "0.517...
0.48599365
73
Adds a NIC to the target server.
public com.profitbricks.rest.domain.Nic createNic(String dataCenterId, String serverId, com.profitbricks.rest.domain.Nic nic) throws RestClientException, IOException, NoSuchMethodException, IllegalAccessException, IllegalArgumentException, InvocationTargetException { return client.create(getUrlBase().concat("datacenters").concat("/").concat(dataCenterId).concat("/") .concat(parentResource).concat("/").concat(serverId).concat("/") .concat(resource), nic, com.profitbricks.rest.domain.Nic.class, 202); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addNetworkCopy(String serverId){\n synchronized (networkCopiesLock){\n this.networkCopies.add(serverId);\n }\n }", "@Override\n\tpublic void addServer(String arg0, int arg1) throws IOException {\n\n\t}", "@Override\n\tpublic void addServer(String arg0, int arg1, int arg2...
[ "0.5626741", "0.5321626", "0.52761805", "0.52587473", "0.5233492", "0.521483", "0.5209162", "0.5103981", "0.50871456", "0.5077882", "0.5055407", "0.49966994", "0.4925444", "0.4809175", "0.47409597", "0.47353745", "0.4727283", "0.46980798", "0.46942642", "0.46890166", "0.46465...
0.56181204
1
You can update in full or partially various attributes on the NIC.
public com.profitbricks.rest.domain.Nic updateNic(String dataCenterId, String serverId, String nicId, Object nic) throws RestClientException, IOException, NoSuchMethodException, IllegalAccessException, IllegalArgumentException, InvocationTargetException { return client.update(getUrlBase().concat("datacenters").concat("/").concat(dataCenterId).concat("/") .concat(parentResource).concat("/").concat(serverId).concat("/") .concat(resource).concat("/").concat(nicId), nic, com.profitbricks.rest.domain.Nic.class, 202); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n void update() throws WriteFailedException {\n Config newData = new ConfigBuilder().addAugmentation(NiPfIfCiscoAug.class,\n new NiPfIfCiscoAugBuilder()\n .setInputServicePolicy(\"input-pol1\")\n .build())\n .build();\n\n ...
[ "0.6247652", "0.59613496", "0.5690667", "0.56513554", "0.5622704", "0.5621799", "0.5553001", "0.5546712", "0.54425204", "0.53318644", "0.52063936", "0.52005255", "0.51898885", "0.51825756", "0.5160438", "0.514567", "0.51072663", "0.50464886", "0.5033747", "0.4984657", "0.4961...
0.5078357
17
Deletes the specified NIC.
public void deleteNic(String dataCenterId, String serverId, String nicId) throws RestClientException, IOException { client.delete(getUrlBase().concat("datacenters").concat("/").concat(dataCenterId).concat("/") .concat(parentResource).concat("/").concat(serverId).concat("/") .concat(resource).concat("/").concat(nicId), 202); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@DELETE\n @Path(\"{id}\")\n @Consumes(MediaType.APPLICATION_JSON)\n @Produces(MediaType.APPLICATION_JSON)\n public Response deleteNetwork(@PathParam(\"id\") String id) {\n log.trace(String.format(MESSAGE, \"DELETE \" + id));\n\n if (!haService.isActive()\n && !DEFAULT_ACTIV...
[ "0.5790451", "0.5551845", "0.55508405", "0.5414362", "0.52112603", "0.5115862", "0.50343555", "0.49663812", "0.48898938", "0.47923005", "0.4785112", "0.4762777", "0.47539878", "0.47326735", "0.4726606", "0.47091472", "0.47032377", "0.46951655", "0.4664714", "0.46586764", "0.4...
0.630558
0
This will associate a NIC to a Load Balancer, enabling the NIC to participate in loadbalancing.
public com.profitbricks.rest.domain.Nic assignNicToLoadBalancer(String dataCenterId, String loadBalancerId, String nicId) throws RestClientException, IOException, NoSuchMethodException, IllegalAccessException, IllegalArgumentException, InvocationTargetException { PBObject payload = new PBObject(); payload.setId(nicId); return client.create(getUrlBase().concat("datacenters").concat("/").concat(dataCenterId).concat("/").concat("loadbalancers").concat("/").concat(loadBalancerId).concat("/"). concat("balancednics"), payload, com.profitbricks.rest.domain.Nic.class, 202); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addVMinterfPair(String intrfcLabel, String ipAddress) {\n\r\n this.intrfces.add(new VMinterface(intrfcLabel, ipAddress));\r\n }", "void setInterfaceIpAddress(Ip4Address interfaceIpAddress);", "@Test(timeout = 10000L)\n public void testSetLoadBalancerInformation() throws Exception {\n ...
[ "0.48808724", "0.48753268", "0.48263222", "0.46644863", "0.46563327", "0.46422583", "0.46122593", "0.45419636", "0.45028847", "0.44644126", "0.44566223", "0.44356802", "0.43851888", "0.43667892", "0.43623972", "0.43508345", "0.43301678", "0.4313267", "0.42923093", "0.42856798",...
0.6636744
0
Removes the association of a NIC with a load balancer.
public void unassignNicFromLoadBalancer(String dataCenterId, String loadBalancerId, String nicId) throws RestClientException, IOException { client.delete(getUrlBase().concat("datacenters").concat("/").concat(dataCenterId).concat("/").concat("loadbalancers").concat("/").concat(loadBalancerId).concat("/"). concat("balancednics").concat("/").concat(nicId), 202); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void destroySubnetAddress() {\n\t\t// remove bridge for this subnet\n\t\tif (destroyBridgeOnHost() == 0) {\n\t\t\t//TODO error handling?\n\t\t}\n\t\t\n\t\t// remove this from controller\n\t\tcontroller.deregisterSubnetAddrFromController(this);\n\t}", "public void removeNetwork(long id) throws ApplicationE...
[ "0.579853", "0.5433913", "0.5272463", "0.5159038", "0.51513666", "0.5117464", "0.51155764", "0.5110782", "0.5036123", "0.50255954", "0.5011185", "0.4995332", "0.49915415", "0.49877992", "0.4937311", "0.49332213", "0.4895137", "0.48675364", "0.4858141", "0.48311666", "0.481654...
0.68839854
0
This will retrieve a list of NICs associated with the load balancer.
public Nics getAllBalancedNics(String dataCenterId, String loadBalancerId) throws RestClientException, IOException { return client.get(getUrlBase().concat("datacenters").concat("/").concat(dataCenterId).concat("/").concat("loadbalancers").concat("/").concat(loadBalancerId).concat("/"). concat("balancednics").concat(depth), null, Nics.class); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.util.List<com.google.cloud.compute.v1.NetworkInterface> getNetworkInterfacesList();", "Collection<NetworkInterface> getAllNetworkInterfaces();", "com.google.cloud.compute.v1.NetworkInterface getNetworkInterfaces(int index);", "public List<NetworkInterfaceInner> networkInterfaces() {\n return this...
[ "0.69040143", "0.6853467", "0.6329145", "0.6184388", "0.6015394", "0.60061496", "0.58710307", "0.5786434", "0.56542337", "0.5606346", "0.55525285", "0.54836106", "0.5381298", "0.53482366", "0.53236765", "0.5309303", "0.50952977", "0.50865775", "0.50119483", "0.4995332", "0.49...
0.59334075
6
Retrieves the attributes of a given load balanced NIC.
public com.profitbricks.rest.domain.Nic getBalancedNic(String dataCenterId, String loadBalancerId, String serverId, String nicId) throws RestClientException, IOException { return client.get(getUrlBase().concat("datacenters").concat("/").concat(dataCenterId).concat("/").concat("loadbalancers").concat("/").concat(loadBalancerId).concat("/"). concat("balancednics").concat("/").concat(nicId).concat(depth), null, com.profitbricks.rest.domain.Nic.class); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "IAttributes getAttributes();", "Map<String, IAttribute> getConnectedAttributes();", "@GET\r\n\t@Path(\"/imageattribs\")\r\n\t@Produces(MediaType.APPLICATION_JSON)\r\n\tpublic ImageAttribute getAttribute() {\r\n\t\tString directoryPath = ROOT_PATH_ON_MAC + \"/\" + AuxiliaryHelper.loadServerProperties().getPrope...
[ "0.6102586", "0.58991647", "0.579341", "0.5682768", "0.56803924", "0.55964255", "0.5595187", "0.5595187", "0.5595187", "0.5557663", "0.54234624", "0.5391285", "0.5391285", "0.5383824", "0.52900505", "0.5274679", "0.52569884", "0.52543515", "0.5239318", "0.51774484", "0.517346...
0.5603019
5
TODO Autogenerated method stub
public Employee getEmployeeDetailById(int id) { return dao.getEmployeeDetailById(id); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
public List<Employee> getAllEmployeeDetail() { return dao.getAllEmployeeDetail(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
public boolean createEmployeeInfo(Employee employee) { return dao.createEmployeeInfo(employee); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
public boolean deleteEmployeeDetail(int id) { return dao.deleteEmployeeDetail(id); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
public boolean updateEmployeeDetail(Employee employee) { return dao.updateEmployeeDetail(employee); }
{ "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
name of the lane Deprecated Constructor
public Lane() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Lightning() {\n super(\"Death Lightning\", 2);\n }", "private ExampleVersion() {\n throw new UnsupportedOperationException(\"Illegal constructor call.\");\n }", "public Method(String name, String desc) {\n/* 82 */ this.name = name;\n/* 83 */ this.desc = desc;\n/* */ }...
[ "0.58503133", "0.5786354", "0.5776928", "0.57717943", "0.57654417", "0.57375485", "0.57347494", "0.5727774", "0.5677712", "0.5646076", "0.5606195", "0.5590316", "0.5561346", "0.5553355", "0.5535905", "0.5533446", "0.55185187", "0.55062354", "0.55027914", "0.549507", "0.549006...
0.5267766
53
Create a lane which name is the same as its id
public Lane(String id) { m_id = id; m_name = id; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void registerLane(Lane lane) {\r\n lanes.add(lane);\r\n }", "org.landxml.schema.landXML11.LanesDocument.Lanes addNewLanes();", "public void setLane(int l) {\r\n\t\tlane = l;\r\n\t}", "void createLabelToken( String name, int id );", "void nodeCreate( long id );", "void create(Team team);"...
[ "0.6051113", "0.54825944", "0.5463696", "0.54566526", "0.5439644", "0.54248875", "0.53970957", "0.5372717", "0.535361", "0.5314309", "0.528793", "0.52842253", "0.52251107", "0.5194624", "0.51617587", "0.5151524", "0.51158243", "0.5112317", "0.5094949", "0.5089762", "0.5082089...
0.5993724
1
Convert the lane into XPDL format String
public String toXPDL() { return "\t\t\t\t<xpdl:Lane Id=\"" + m_id + "\" Name=\"" + m_name + "\"/>"; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String export() {\r\n\t\tString result = String.format(\"LaneData\\tlaneID:\\t%d\", getID());\r\n\r\n\t\tfor (Integer laneID : getUpLaneIDs())\t\t\t\t\r\n\t\t\tresult += String.format(\"\\tup:\\t%d\", laneID); \r\n\t\tfor (Integer laneID : getDownLaneIDs())\r\n\t\t\tresult += String.format(\"\\tdown:\\t%d\"...
[ "0.6118267", "0.5807767", "0.5508812", "0.5376438", "0.52492917", "0.52482224", "0.5219618", "0.51805425", "0.5178427", "0.5133578", "0.5102842", "0.5094916", "0.5084879", "0.5064408", "0.50468946", "0.50441426", "0.50227326", "0.50205165", "0.5015917", "0.4992992", "0.498626...
0.7470521
0
This function is the main function.
public static void main(final String[] args) { // input System.out.println("Vehicles!\n"); System.out.println("Not instantiating abstract Vehicle class\n"); Scanner truckInput = new Scanner(System.in); System.out.print("What is the color of the truck: "); try { String truckColour = truckInput.nextLine(); System.out.print("Accelerate by: "); int truckAccelerate = truckInput.nextInt(); System.out.print("Brake by: "); int truckBrake = truckInput.nextInt(); System.out.print("How much air is provided: "); int amountOfAir = truckInput.nextInt(); System.out.print("What is the plate number: "); String plateNumber = truckInput.next(); System.out.print("What is the brand: "); String brand = truckInput.next(); // try to instantiate abstract class // Vehicle myVehicle = new Vehicle("White"); // call object Truck truck = new Truck(truckColour, brand); // pass the states in truck.acceleration(truckAccelerate); truck.brake(truckBrake); truck.setPlateNumber(plateNumber); // print the changed state System.out.println("\nTruck after:"); truck.printVehicleInfo(); System.out.println("Amount of air: " + truck.provideAir(amountOfAir)); System.out.println("Plate number: " + truck.getPlateNumber()); System.out.println("Brand: " + truck.getBrand() + "\n"); System.out.println("--------------------------"); // input System.out.println(); Scanner bikeInput = new Scanner(System.in); System.out.print("What is the color of the bike: "); String bikeColour = bikeInput.nextLine(); System.out.print("Accelerate by: "); int bikeAccelerate = bikeInput.nextInt(); System.out.print("Brake by: "); int bikeBrake = bikeInput.nextInt(); System.out.print("Bike's gear: "); int bikeGear = bikeInput.nextInt(); System.out.print("Bike's tire size: "); int bikeTireSize = bikeInput.nextInt(); System.out.println("Ring the bell!"); // call object Bike bike = new Bike(bikeColour, bikeGear, bikeTireSize); // pass the states in bike.acceleration(bikeAccelerate); bike.brake(bikeBrake); // current state System.out.println("\nBike after: "); bike.printVehicleInfo(); System.out.println("Cadence: " + bike.getCadence()); System.out.println("Gear: " + bike.getGear()); System.out.println("Tire size: " + bike.getTireSize()); System.out.println(bike.ringBell()); // get the number of tires of the truck and the bike System.out.println("\n# of tires of a truck: " + truck.nOfTires()); System.out.println("# of tires of a bike: " + bike.nOfTires()); } catch (Exception err) { System.out.println("\nPlease enter an integer"); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void main() {\n \n }", "public static void main(String args[]) throws Exception\n {\n \n \n \n }", "public static void main(String[]args) {\n\t\n\t\t\n\n}", "public static void main()\n\t{\n\t}", "public static void main(String[] args)\r\t{", "public static voi...
[ "0.775976", "0.7575223", "0.75165486", "0.7481834", "0.74528766", "0.74460876", "0.73535746", "0.7319316", "0.7312853", "0.7258788", "0.7258788", "0.7258788", "0.7258788", "0.7258788", "0.7258788", "0.7247764", "0.7246071", "0.72459865", "0.72459865", "0.72304296", "0.7230130...
0.0
-1
198. House Robber You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping you from robbing each of them is that adjacent houses have security system connected and it will automatically contact the police if two adjacent houses were broken into on the same night. Given a list of nonnegative integers representing the amount of money of each house, determine the maximum amount of money you can rob tonight without alerting the police. Credits:
public int rob1(int[] nums) { int n = nums.length; if(n == 0) return 0; if(n == 1) return nums[0]; int max = nums[0]; for(int i = 1; i < n; i++){ int local = Math.max(nums[i - 1], nums[i] + (i > 1 ? nums[i - 2] : 0)); nums[i] = local; max = Math.max(local, max); } return max; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static int maxMoneyLooted(int[] houses) {\n int n = houses.length;\n int dp[] = new int[n];\n if(n==0)\n return 0;\n dp[0] = houses[0];\n dp[1]= Math.max(houses[0], houses[1]);\n for(int i =2; i<n ; i++)\n {\n dp[i] = Math.max(houses[i] ...
[ "0.77231413", "0.7220972", "0.6396927", "0.63830745", "0.6335097", "0.6118086", "0.60416126", "0.60204756", "0.59964454", "0.5966733", "0.5935517", "0.59027874", "0.5901665", "0.5893838", "0.58744466", "0.58638924", "0.5860997", "0.585851", "0.58502567", "0.5824964", "0.58227...
0.5802061
23
213. House Robber II Note: This is an extension of House Robber. After robbing those houses on that street, the thief has found himself a new place for his thievery so that he will not get too much attention. This time, all houses at this place are arranged in a circle. That means the first house is the neighbor of the last one. Meanwhile, the security system for these houses remain the same as for those in the previous street. Given a list of nonnegative integers representing the amount of money of each house, determine the maximum amount of money you can rob tonight without alerting the police.
public int rob2(int[] nums) { if(nums.length == 0) return 0; if(nums.length == 1) return nums[0]; return Math.max(max(nums, 0, nums.length - 2), max(nums, 1, nums.length - 1)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static int maxMoneyLooted(int[] houses) {\n int n = houses.length;\n int dp[] = new int[n];\n if(n==0)\n return 0;\n dp[0] = houses[0];\n dp[1]= Math.max(houses[0], houses[1]);\n for(int i =2; i<n ; i++)\n {\n dp[i] = Math.max(houses[i] ...
[ "0.796617", "0.74900085", "0.6646799", "0.6186362", "0.6183252", "0.6170285", "0.6163386", "0.61130637", "0.6043373", "0.6036917", "0.603486", "0.5932622", "0.5931789", "0.5927203", "0.5917686", "0.58632064", "0.58459055", "0.5838723", "0.5829229", "0.57896096", "0.575467", ...
0.0
-1
Convenience method to keep the route definition more concise/compact
private void processor(PriceEvent e) { store.append(Price.fromEvent(e)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Route getRoute();", "Route route(String path);", "public interface Route {\n boolean match(AreaPath path);\n\n Map<String, Object> getParameterValues();\n\n /**\n * target action path\n */\n ActionPath getActionPath();\n\n /**\n * target action processor\n */\n String g...
[ "0.6891416", "0.67887765", "0.66212165", "0.64386296", "0.61754644", "0.5954392", "0.59221524", "0.59016055", "0.58243096", "0.58239883", "0.58177364", "0.5772292", "0.5665876", "0.56535506", "0.5649211", "0.5611838", "0.56109923", "0.5604532", "0.55929387", "0.5592232", "0.5...
0.0
-1
/ Computing Event ============= The below code is the example to pass a Computing event to the AdGyde SDK. This event is used to get SubCategory counting as per weightage of the SubCategory Multiple values Can be passed for getting the computed values When user passes multiple values, the console shows the computed values of each value relatively NOTE : Creating the Computing Event on Console with Event ID, Parameter is Compulsory
public void onAdvertismentClicked1() { HashMap<String, String> params = new HashMap<String, String>(); // Passing a computing event is a little complex // First the Sub-Category needs to be specified in a Parameter + Value combination // Then the Weightage of the Value needs to be specified in a Value + Weightage Combination // In below Example 30%off is a Sub-Category and 1 is the Weightage of the same params.put("ParameterName", "30%off"); params.put("30%off", "1"); // Event is triggered with EventId and Parameters prepared above, the same are passed in this function AdGyde.onComputingEvent("Sale", params); Toast.makeText(this, "Computing event Ad1 clicked", Toast.LENGTH_SHORT).show(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract void trackEvent(@NotNull String eventCategory,\n @NotNull String eventAction,\n @Nullable String eventLabel,\n @Nullable Integer eventValue);", "int countByExample(EventDetail eventDetail);", "pub...
[ "0.5281836", "0.5066688", "0.4829885", "0.47749072", "0.47419512", "0.4677388", "0.4623161", "0.45877698", "0.4587255", "0.45800894", "0.45318472", "0.4516292", "0.45158187", "0.4514046", "0.4512834", "0.44929233", "0.44887874", "0.44851032", "0.44579053", "0.4456468", "0.445...
0.6126809
0
/ FIN des Fonctions d'aptitude du Guerrier donner le type du perso
String getType() { return "Athlete"; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Guerrier(Joueur joueur){\n\t\tsuper(joueur);\n\t\tsetNom(\"Hans\");\n\t\tsetType(\"Guerrier\");\n\t\tsetObjetInventaire(\"Epee\");\n\t\tif(joueur.getEquipe())\n\t\t\tsetId(9);\n\t\telse\n\t\t\tsetId(14);\n\t}", "@Override\n\tpublic void readGerant(Gerant g) {\n\t\t\n\t}", "@Override\r\n\tpublic void sav...
[ "0.5923196", "0.56835747", "0.5574162", "0.5540654", "0.5424192", "0.5351337", "0.53497195", "0.53484964", "0.5334418", "0.53269553", "0.5294592", "0.52930796", "0.5274038", "0.5265407", "0.5254943", "0.52545613", "0.52528614", "0.5228465", "0.5219623", "0.52114636", "0.52089...
0.0
-1
Initialize the contents of the frame.
private void initialize() { textField.setColumns(10); frame = new JFrame(); frame.setBounds(200, 200, 500, 300); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); frame.getContentPane().setLayout(null); JLabel lblNewLabel = new JLabel("Restraunt Name: Login Page"); lblNewLabel.setBounds(165, 16, 262, 16); frame.getContentPane().add(lblNewLabel); JLabel usernameTxt = new JLabel("Username:"); usernameTxt.setBounds(112, 91, 81, 16); frame.getContentPane().add(usernameTxt); JLabel passwordTxt = new JLabel("Password:"); passwordTxt.setBounds(112, 145, 81, 21); frame.getContentPane().add(passwordTxt); usernameEntry = new JTextField(); usernameEntry.setBounds(182, 83, 195, 32); frame.getContentPane().add(usernameEntry); usernameEntry.setColumns(10); JButton loginButton = new JButton("Login"); loginButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { String username = usernameEntry.getText(); String password = passwordEntry.getText(); if(username.contains("mahmed76") && password.contains("chiefddot")) { usernameEntry.setText(null); passwordEntry.setText(null); } else { JOptionPane.showMessageDialog(null, "Invalid username or password", "Please retry", JOptionPane.ERROR_MESSAGE); usernameEntry.setText(null); passwordEntry.setText(null); } } }); loginButton.setBounds(6, 213, 117, 29); frame.getContentPane().add(loginButton); JButton clearButton = new JButton("Clear"); clearButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { usernameEntry.setText(null); passwordEntry.setText(null); } }); clearButton.setBounds(182, 213, 117, 29); frame.getContentPane().add(clearButton); JButton exitButton = new JButton("Exit"); exitButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { frame = new JFrame("Exit"); if (JOptionPane.showConfirmDialog(frame, "Are you sure you want to exit?", "Login Page", JOptionPane.YES_NO_OPTION)== JOptionPane.YES_NO_OPTION) { System.exit(0); } } }); exitButton.setBounds(352, 213, 131, 32); frame.getContentPane().add(exitButton); passwordEntry = new JPasswordField(); passwordEntry.setBounds(182, 142, 213, 26); frame.getContentPane().add(passwordEntry); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public BreukFrame() {\n super();\n initialize();\n }", "public MainFrame() {\n\t\tsuper();\n\t\tinitialize();\n\t}", "private void initialize() {\n\t\tthis.setSize(211, 449);\n\t\tthis.setContentPane(getJContentPane());\n\t\tthis.setTitle(\"JFrame\");\n\t}", "public SiscobanFrame() {\r\n\t\tsuper();\r...
[ "0.77704835", "0.75652915", "0.7442664", "0.7369101", "0.7366378", "0.7358479", "0.73146075", "0.73096764", "0.72987294", "0.72978777", "0.7278321", "0.72729623", "0.7269468", "0.7269468", "0.7215727", "0.7180792", "0.71682984", "0.7140954", "0.7140953", "0.7126852", "0.71079...
0.0
-1
Creates new form AssignPatient
public AssignPatient() { initComponents(); this.getContentPane().setBackground(Color.WHITE); connex=connect.accessdb(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@POST\n @Path(\"patients\")\n @Consumes(MediaType.APPLICATION_JSON)\n @Produces(\"application/json\")\n public Patient newPatient(Patient pat){\n serv.editPatient(pat);\n return pat;\n }", "private void onAddPatient() {\n\t\tGuiManager.openFrame(GuiManager.FRAME_ADD_PATIENT);\n\t}", ...
[ "0.60222995", "0.6006569", "0.5971706", "0.5967069", "0.59329826", "0.5857506", "0.5842039", "0.5822919", "0.5814141", "0.5803734", "0.5763332", "0.5751431", "0.5733738", "0.57237685", "0.5697751", "0.56947345", "0.5689059", "0.5676721", "0.5673428", "0.5666093", "0.564258", ...
0.59289354
5
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
@SuppressWarnings("unchecked") // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents private void initComponents() { jLabel1 = new javax.swing.JLabel(); jLabel2 = new javax.swing.JLabel(); jLabel3 = new javax.swing.JLabel(); jLabel4 = new javax.swing.JLabel(); tPatient = new javax.swing.JTextField(); tRoom = new javax.swing.JTextField(); tNurse = new javax.swing.JTextField(); tDoctor = new javax.swing.JTextField(); bSubmit = new javax.swing.JButton(); bReset = new javax.swing.JButton(); jLabel5 = new javax.swing.JLabel(); jScrollPane1 = new javax.swing.JScrollPane(); tNotes = new javax.swing.JTextArea(); setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE); jLabel1.setText("Patient"); jLabel2.setText("Room"); jLabel3.setText("Nurse"); jLabel4.setText("Doctor"); tNurse.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { tNurseActionPerformed(evt); } }); bSubmit.setText("Submit"); bSubmit.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { bSubmitActionPerformed(evt); } }); bReset.setText("Reset"); bReset.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { bResetActionPerformed(evt); } }); jLabel5.setText("Notes"); tNotes.setColumns(20); tNotes.setRows(5); jScrollPane1.setViewportView(tNotes); javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane()); getContentPane().setLayout(layout); layout.setHorizontalGroup( layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createSequentialGroup() .addGap(126, 126, 126) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createSequentialGroup() .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel1) .addComponent(jLabel2) .addComponent(jLabel3)) .addGap(18, 18, 18) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) .addComponent(tPatient) .addComponent(tRoom) .addComponent(tNurse, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE))) .addGroup(layout.createSequentialGroup() .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel4) .addComponent(jLabel5)) .addGap(18, 18, 18) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(tDoctor, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE))) .addGroup(layout.createSequentialGroup() .addComponent(bSubmit) .addGap(117, 117, 117) .addComponent(bReset))) .addContainerGap(145, Short.MAX_VALUE)) ); layout.setVerticalGroup( layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createSequentialGroup() .addContainerGap(53, Short.MAX_VALUE) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel1) .addComponent(tPatient, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel2) .addComponent(tRoom, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(18, 18, 18) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel3) .addComponent(tNurse, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(18, 18, 18) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel4) .addComponent(tDoctor, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(18, 18, 18) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel5) .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(36, 36, 36) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(bSubmit) .addComponent(bReset)) .addGap(35, 35, 35)) ); pack(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Form() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public frmRectangulo() {\n initComponents();\n }", "public form() {\n ...
[ "0.73191524", "0.7290383", "0.7290383", "0.7290383", "0.7286656", "0.72480965", "0.72141695", "0.72080517", "0.7195647", "0.7190378", "0.71841127", "0.71591616", "0.71478844", "0.7093131", "0.70816", "0.70577854", "0.6987355", "0.69769996", "0.69551086", "0.69545007", "0.6945...
0.0
-1
Defining default noargs constructor
Classroom() {}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "defaultConstructor(){}", "void DefaultConstructor(){}", "DefaultConstructor(int a){}", "ConstuctorOverloading(){\n\t\tSystem.out.println(\"I am non=argument constructor\");\n\t}", "@SuppressWarnings(\"unused\")\n public NoConstructor() {\n // Empty\n }", "TypesOfConstructor(){\n ...
[ "0.8328981", "0.8232856", "0.7375068", "0.73114306", "0.72781444", "0.6953542", "0.68505615", "0.68006253", "0.6787795", "0.67650276", "0.6748915", "0.6720822", "0.6611872", "0.6602239", "0.6601239", "0.6553197", "0.6357967", "0.6323432", "0.6320552", "0.6313202", "0.62995374...
0.0
-1
Variable to check for available space in students array
public boolean add(Student aStudent) { boolean check = false; // If array is full, stop inserting more Student objects in array if (pointer >= size) { System.out.println("\nSorry: classroom is full."); return check; } // If student's has gpa is not between 0 and 4, or name is not given, do not insert Student object in array else if (aStudent.getName().trim().isEmpty() || aStudent.getGPA() < 0 || aStudent.getGPA() > 4) { System.out.println("\nSorry: Name has no characters or gpa is not between 0 & 4."); pointer++; return check; } // If student gpa is between 0 and 4, and there is place in array, insert new Student object else { students[pointer] = aStudent; pointer++; check = true; return check; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean hasEnoughStudents() {\n if (this.students.size() >= minStudents) {\n return true;\n } else return false;\n }", "public static void accessingBeyondCapacity() {\n\t\tint[] studentAges = { 10, 12, 15 };\n\t\t\n\t\tSystem.out.println(\"element at index 3 : \" + studentAges[...
[ "0.64731616", "0.62763387", "0.6028496", "0.5957891", "0.5814662", "0.58028877", "0.567263", "0.56482565", "0.5637047", "0.56191117", "0.5574924", "0.5516631", "0.55093104", "0.54821455", "0.54698294", "0.54637027", "0.543439", "0.543439", "0.543439", "0.543439", "0.543439", ...
0.55215985
11
Display details of student for Student object at position in Student array
public Student getStudent(int position) { // Throw exception if position points to cell outside array if (position < 0 || position >= size) { //throw new IndexOutOfBoundsException("null"); return null; } else { return students[position]; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void show(Student[] student){\n for(int i=0;i<student.length;i++){\n System.out.printf(\"First Name: %s Last Name: %s Gender: %s Student ID: %d GPA: %,.2f Department: %s Midterm Grade: %d Final Grade: %d %n\",student[i].getFirstName(),student[i].getLastName(),student[i].getGender(),...
[ "0.75907063", "0.7363643", "0.71930885", "0.70137084", "0.69431657", "0.6771435", "0.67707485", "0.67663944", "0.67036545", "0.66928726", "0.6692128", "0.6680101", "0.6672611", "0.6627054", "0.65865195", "0.65751815", "0.64998543", "0.63933665", "0.6389977", "0.63674533", "0....
0.60277075
38
Created by PengWX on 2019/4/23.
public interface IRolePermissionService { List<RolePermission> selectRolePermissionByRoleIds(List<Long> roleIds); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "private stendhal() {\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r...
[ "0.61221826", "0.5998977", "0.5762184", "0.57497853", "0.574242", "0.5733438", "0.5733438", "0.56654465", "0.5651557", "0.5601321", "0.5600702", "0.55896145", "0.5576369", "0.5569781", "0.5569279", "0.55614173", "0.5555792", "0.5555322", "0.5541166", "0.5519141", "0.5518082",...
0.0
-1
amount of times the exercise is performed EFFECTS: creates a exercise with name, sets and reps
public Exercise(String name, int sets, int reps) { this.name = name; this.sets = sets; this.reps = reps; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Exercise(String name,int sets,int reps){\n setName(name);\n setReps(reps);\n setSets(sets);\n }", "public Exercise(String name) {\n\t\tthis.name = name;\n\t\tsetList = new ArrayList<Set>();\n\t\trepsGoal = -1;\n\t\tweightGoal = -1;\n\t\trest = -1;\n\t\texerciseInstance = false;\n\t...
[ "0.7105145", "0.6336987", "0.59226525", "0.55203366", "0.5364708", "0.53631777", "0.531812", "0.5292418", "0.5258188", "0.524501", "0.523536", "0.52194124", "0.5177578", "0.51775265", "0.5172122", "0.51629883", "0.51541466", "0.51535827", "0.5150157", "0.5109504", "0.50901324...
0.7362926
0
we can't be create abstract class's object abs_c_a o=new abs_c_a(); o.fun();
public static void main(String[] args) { abs_c_b obj=new abs_c_b(); obj.fun(); obj.fun1(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract C mo29734a();", "abc createabc();", "public abstract B zzjo();", "public abstract void mo102899a();", "public static void main(String[] args) {\n\n A obj = new A(){\n void fun1() {\n System.out.println(\"Anonumous Overidden method \");\n }\n ...
[ "0.62672055", "0.61001235", "0.6099539", "0.59949243", "0.5983231", "0.5972743", "0.5953665", "0.5859444", "0.58337504", "0.5762877", "0.57422364", "0.57421404", "0.5702014", "0.5678995", "0.5619356", "0.55967855", "0.55952436", "0.55514926", "0.55503404", "0.55486995", "0.55...
0.63447857
0
Interface for class that provides name for method parameters.
public interface NameFactory { /** * Returns a unique (descriptive?) parameter name for the specified * type. * * @param sig - signature of the declaring method * @param n - the parameter number whose name we want. * @return a made up name for the n'th parameter */ public String getParameterName(Signature sig, int n); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface Named {\r\n public void setNameParameter(String o);\r\n public String getNameParameter();\r\n}", "public interface ParameterNameDiscoverer {\n\n\t/**\n\t * Return parameter names for a method, or {@code null} if they cannot be determined.\n\t * <p>Individual entries in the array may be {@cod...
[ "0.69504136", "0.65725577", "0.6522553", "0.63537014", "0.6232523", "0.62293696", "0.62291837", "0.62134004", "0.6202442", "0.6192671", "0.6184329", "0.6167941", "0.61286485", "0.6066478", "0.6066478", "0.6066478", "0.6066478", "0.6065685", "0.6004743", "0.596639", "0.5959024...
0.73034686
0
Returns a unique (descriptive?) parameter name for the specified type.
public String getParameterName(Signature sig, int n);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getTypeName()\n {\n return getArgumentTypeName(type);\n }", "public interface NameFactory\n{\n /**\n * Returns a unique (descriptive?) parameter name for the specified\n * type.\n *\n * @param sig - signature of the declaring method\n * @param n - the parameter number wh...
[ "0.6798415", "0.6736016", "0.65995026", "0.65375453", "0.6288065", "0.6283707", "0.6259065", "0.62327015", "0.62086964", "0.61534536", "0.6095905", "0.6095905", "0.6085492", "0.60844916", "0.60829777", "0.6078431", "0.60621667", "0.605868", "0.59516585", "0.59305835", "0.5927...
0.5767503
30
TODO Autogenerated method stub
@Override public void validaDatos() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void validaDatos() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void validaDatos() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void validaDatos() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void validaDatos() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void validaDatos() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void validaDatos() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void validaDatos() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void validaDatos() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void validaDatos() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void validaDatos() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void validaDatos() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void validaDatos() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void validaDatos() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void validaDatos() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void validaDatos() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void validaDatos() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void validaDatos() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void validaDatos() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void validaDatos() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void validaDatos() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void validaDatos() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void validaDatos() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void validaDatos() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void validaDatos() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void validaDatos() { }
{ "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