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
Test case number: 128 / 1 covered goal: Goal 1. wheel.components.Component.tbody()Lwheel/components/Component;: rootBranch
@Test public void test128() throws Throwable { ErrorPage errorPage0 = new ErrorPage(); // Undeclared exception! try { Component component0 = errorPage0.tbody(); fail("Expecting exception: RuntimeException"); } catch(RuntimeException e) { // // Tbody c...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void testBranch() throws Exception {\n IProject project = createProject(\"testBranch\", new String[] { \"changed.txt\", \"deleted.txt\", \"folder1/\", \"folder1/a.txt\", \"folder1/b.txt\", \"folder1/subfolder1/c.txt\" });\n \n branch(asResourceMapping(new IResource[] { project }, IResource....
[ "0.6208545", "0.5901591", "0.5644998", "0.56291497", "0.5563991", "0.5551657", "0.55421686", "0.55346143", "0.55178577", "0.5514977", "0.5514742", "0.5509526", "0.55034226", "0.54987717", "0.54931617", "0.5491813", "0.54778934", "0.5469936", "0.5467126", "0.546382", "0.544798...
0.0
-1
Test case number: 129 / 2 covered goals: Goal 1. wheel.components.Component.getAttributes()Ljava/util/Map;: rootBranch Goal 2. wheel.components.Component.dl()Lwheel/components/Component;: rootBranch
@Test public void test129() throws Throwable { XmlEntityRef xmlEntityRef0 = new XmlEntityRef("convert"); Map<String, String> map0 = xmlEntityRef0.getAttributes(); // Undeclared exception! try { Component component0 = xmlEntityRef0.dl(); fail("Expecting exception: NullPointerE...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void test43() {\n //$NON-NLS-1$\n deployBundles(\"test43\");\n IApiBaseline before = getBeforeState();\n IApiBaseline after = getAfterState();\n IApiComponent beforeApiComponent = before.getApiComponent(BUNDLE_NAME);\n //$NON-NLS-1$\n assertNotNull(\"no api c...
[ "0.5754767", "0.5735408", "0.57282084", "0.57225287", "0.5701946", "0.5698556", "0.5678843", "0.56672055", "0.563154", "0.5619082", "0.56165045", "0.561429", "0.55688244", "0.5567011", "0.5563603", "0.55606115", "0.555721", "0.5529183", "0.5528041", "0.55101687", "0.55072135"...
0.54609126
24
Test case number: 130 / 2 covered goals: Goal 1. wheel.components.Component.address()Lwheel/components/Component;: rootBranch Goal 2. wheel.components.Component.(Ljava/lang/String;)V: I10 Branch 1 IFNULL L61 true
@Test public void test130() throws Throwable { XmlEntityRef xmlEntityRef0 = new XmlEntityRef((String) null); // Undeclared exception! try { Component component0 = xmlEntityRef0.address(); fail("Expecting exception: NullPointerException"); } catch(NullPointerException e...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(expected = NullPointerException.class)\n public void Test11() {\n component = new DamageEffectComponent(EffectEnum.DAMAGE_BUFF, 3, 40);\n DamageEffectComponent another = null;\n // Then test the method\n assertTrue(component.equals(another));\n }", "@Test(timeout = 4000)\n...
[ "0.57991844", "0.57851726", "0.5753892", "0.5746402", "0.5637338", "0.5596846", "0.55288064", "0.5520573", "0.54694974", "0.54436064", "0.5406528", "0.540247", "0.53990656", "0.5359064", "0.535465", "0.5317071", "0.5308105", "0.5306641", "0.52828425", "0.5280588", "0.5275294"...
0.5943912
0
Test case number: 131 / 3 covered goals: Goal 1. wheel.components.Component.legend()Lwheel/components/Component;: rootBranch Goal 2. wheel.components.Component.blockquote()Lwheel/components/Component;: rootBranch Goal 3. wheel.components.Component._getRenderHints()Ljava/util/List;: I7 Branch 41 IFNONNULL L310 true
@Test public void test131() throws Throwable { ErrorPage errorPage0 = new ErrorPage(); Block block0 = (Block)errorPage0.legend(); Block block1 = (Block)errorPage0.blockquote(); Label label0 = (Label)errorPage0.del((Object) block1); assertEquals("wheel_ErrorPage", errorPage0.getComponen...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void tests(Component comp){\n \n // LOG ONLY -/\n if(debugLog) System.err.println(LOG_CAPTION+\" - <tests(Component)> - ======= Tested component=\"+comp.getClass().getName());\n \n \n testContainer(comp);\n \n /* H1 -> Hack for JLabels - JLabel isn't ...
[ "0.63409466", "0.6150732", "0.5971033", "0.5965719", "0.5944606", "0.591192", "0.5904478", "0.58941346", "0.5873642", "0.5871805", "0.58215666", "0.5814603", "0.5806531", "0.5777232", "0.5770686", "0.57298577", "0.5696911", "0.56931496", "0.56721073", "0.5667182", "0.5651962"...
0.0
-1
Test case number: 132 / 1 covered goal: Goal 1. wheel.components.Component.getPage()Lwheel/components/StandaloneComponent;: I19 Branch 67 IFNE L1754 false
@Test public void test132() throws Throwable { Hidden hidden0 = new Hidden((Component) null, "Col componet can be added only to a TableBlock.", "Col componet can be added only to a TableBlock."); Double double0 = new Double(0.0); Text text0 = null; try { text0 = new Text(hidden0, dou...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test191() throws Throwable {\n ErrorPage errorPage0 = new ErrorPage();\n StandaloneComponent standaloneComponent0 = errorPage0._getTopLevelComponent(true);\n assertEquals(\"wheel_ErrorPage\", standaloneComponent0.getComponentId());\n }", "@Test(timeout = 400...
[ "0.68044573", "0.67139846", "0.62823033", "0.6263231", "0.62498105", "0.6241702", "0.6176084", "0.6119797", "0.60886407", "0.6054099", "0.60285914", "0.602312", "0.6010708", "0.6008978", "0.59893054", "0.59865487", "0.5969642", "0.59679925", "0.59643894", "0.59576535", "0.594...
0.0
-1
Test case number: 133 / 2 covered goals: Goal 1. wheel.components.Component.dd(Ljava/lang/Object;)Lwheel/components/Component;: rootBranch Goal 2. wheel.components.Component._getChildren()Ljava/util/List;: I7 Branch 36 IFNONNULL L275 true
@Test public void test133() throws Throwable { ErrorPage errorPage0 = new ErrorPage(); Label label0 = (Label)errorPage0.dd((Object) errorPage0); assertTrue(label0._isGeneratedId()); List<Component> list0 = errorPage0._getChildren(); assertEquals("wheel_ErrorPage", errorPage0.get...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void testComponent() {\n System.out.println(\"**** component ****\");\n int v = 7;\n ConnectedComponentsDepthSearch instance = new ConnectedComponentsDepthSearch(g);\n int expResult = 1;\n int result = instance.component(v);\n assertEquals(expResult, resu...
[ "0.6193537", "0.5912097", "0.5889917", "0.58569837", "0.58448416", "0.5821841", "0.5810563", "0.580967", "0.5793402", "0.5724825", "0.5705378", "0.5700016", "0.56955034", "0.56813323", "0.56693274", "0.56533295", "0.5652703", "0.5639811", "0.563365", "0.5632002", "0.5628465",...
0.58478135
4
Test case number: 134 / 1 covered goal: Goal 1. wheel.components.Component.object()Lwheel/components/Component;: rootBranch
@Test public void test134() throws Throwable { ErrorPage errorPage0 = new ErrorPage(); Block block0 = (Block)errorPage0.object(); assertEquals("wheel_ErrorPage", errorPage0.getComponentId()); assertTrue(block0._isGeneratedId()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void testBranch() throws Exception {\n IProject project = createProject(\"testBranch\", new String[] { \"changed.txt\", \"deleted.txt\", \"folder1/\", \"folder1/a.txt\", \"folder1/b.txt\", \"folder1/subfolder1/c.txt\" });\n \n branch(asResourceMapping(new IResource[] { project }, IResource....
[ "0.6182998", "0.5916801", "0.5871422", "0.5808686", "0.5800844", "0.5746268", "0.57278925", "0.56578463", "0.55816126", "0.5561419", "0.5557759", "0.55372995", "0.5501334", "0.5461312", "0.54530084", "0.53980225", "0.53776103", "0.5370563", "0.5349487", "0.53402025", "0.53383...
0.0
-1
Test case number: 135 / 1 covered goal: Goal 1. wheel.components.Component.rawText(Ljava/lang/Object;)Lwheel/components/Component;: rootBranch
@Test public void test135() throws Throwable { ErrorPage errorPage0 = new ErrorPage(); Text text0 = (Text)errorPage0.rawText((Object) "Col component can e added onlG to a TableBlock."); assertTrue(text0._isGeneratedId()); assertTrue(text0.isCdata()); assertEquals("wheel_ErrorPage", err...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test101() throws Throwable {\n ErrorPage errorPage0 = new ErrorPage();\n Checkbox checkbox0 = new Checkbox(errorPage0, \"l$m>`KG'f|W8s|}/G\", \"Tfoot component can be added only to a Table.\");\n Object[] objectArray0 = new Object[8];\n // Undeclared excep...
[ "0.53173584", "0.5252135", "0.52457464", "0.5244394", "0.5199614", "0.5161202", "0.51323825", "0.51085365", "0.5089181", "0.5026229", "0.5022625", "0.50177175", "0.5010464", "0.5005768", "0.49984974", "0.49778587", "0.49624047", "0.49599355", "0.4958168", "0.49559465", "0.494...
0.5297728
1
Test case number: 136 / 2 covered goals: Goal 1. wheel.components.Component.radioGroup(Ljava/lang/String;Lwheel/components/ISelectModel;Lwheel/components/ElExpression;)Lwheel/components/FormElement;: rootBranch Goal 2. wheel.components.Component.selectModel()Lwheel/util/DynamicSelectModel;: rootBranch
@Test public void test136() throws Throwable { ErrorPage errorPage0 = new ErrorPage(); DynamicSelectModel dynamicSelectModel0 = errorPage0.selectModel(); ElExpression elExpression0 = errorPage0.el("4~?^"); // Undeclared exception! try { FormElement formElement0 = errorPage0.rad...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test083() throws Throwable {\n XmlEntityRef xmlEntityRef0 = new XmlEntityRef(\"u\");\n DynamicSelectModel dynamicSelectModel0 = new DynamicSelectModel();\n ElExpression elExpression0 = new ElExpression(\"u\");\n // Undeclared exception!\n try { \n ...
[ "0.7159714", "0.6742768", "0.6741564", "0.63654673", "0.61365783", "0.60285246", "0.6026459", "0.5957154", "0.59418166", "0.5939283", "0.5891791", "0.5853031", "0.5811023", "0.5808853", "0.58017296", "0.5794892", "0.5794604", "0.57684726", "0.57684726", "0.5763784", "0.576075...
0.6666429
3
Test case number: 137 / 3 covered goals: Goal 1. wheel.components.Component.h6(Ljava/lang/Object;)Lwheel/components/Component;: rootBranch Goal 2. wheel.components.Component.label()Lwheel/components/Component;: rootBranch Goal 3. wheel.components.Component.thead()Lwheel/components/Component;: rootBranch
@Test public void test137() throws Throwable { ErrorPage errorPage0 = new ErrorPage(); Table table0 = new Table(errorPage0, (String) null); TableBlock tableBlock0 = table0.thead(); WordLemmaTag wordLemmaTag0 = new WordLemmaTag(); Block block0 = (Block)table0.label(); Tag tag0 = n...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void tests(Component comp){\n \n // LOG ONLY -/\n if(debugLog) System.err.println(LOG_CAPTION+\" - <tests(Component)> - ======= Tested component=\"+comp.getClass().getName());\n \n \n testContainer(comp);\n \n /* H1 -> Hack for JLabels - JLabel isn't ...
[ "0.588241", "0.57362086", "0.57291126", "0.57138693", "0.5696812", "0.5692695", "0.56807065", "0.5668219", "0.56253105", "0.56247294", "0.5602597", "0.5598579", "0.559179", "0.55794615", "0.5565564", "0.555564", "0.5547215", "0.55345684", "0.5527737", "0.5522677", "0.54995614...
0.52945435
60
Test case number: 138 / 2 covered goals: Goal 1. wheel.components.Component._getTopLevelComponent(Z)Lwheel/components/StandaloneComponent;: I12 Branch 63 IFEQ L1731 true Goal 2. wheel.components.Component._getTopLevelComponent(Z)Lwheel/components/StandaloneComponent;: I29 Branch 64 IFNULL L1736 true
@Test public void test138() throws Throwable { ErrorPage errorPage0 = new ErrorPage(); // Undeclared exception! try { ErrorPage errorPage1 = (ErrorPage)errorPage0._getTopLevelComponent(false); fail("Expecting exception: RuntimeException"); } catch(RuntimeException e) {...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test181() throws Throwable {\n Hidden hidden0 = new Hidden((Component) null, \"(vLoO6y2\\\"Vht&{{\", \"(vLoO6y2\\\"Vht&{{\");\n // Undeclared exception!\n try { \n hidden0._wrapComponentId(\"(vLoO6y2\\\"Vht&{{\");\n fail(\"Expecting exception: Run...
[ "0.63408065", "0.6257353", "0.61891204", "0.612983", "0.6061417", "0.60068136", "0.5968842", "0.5951644", "0.5828819", "0.57573414", "0.5733069", "0.5726464", "0.5724022", "0.5708341", "0.56766057", "0.5654735", "0.564454", "0.5633769", "0.55897063", "0.55209255", "0.54925716...
0.0
-1
Test case number: 139 / 11 covered goals: Goal 1. wheel.components.Component.dd()Lwheel/components/Component;: rootBranch Goal 2. wheel.components.Component.text(Ljava/lang/Object;)Lwheel/components/Component;: rootBranch Goal 3. wheel.components.Component.(Ljava/lang/String;)V: I16 Branch 2 IFNE L61 true Goal 4. wheel...
@Test public void test139() throws Throwable { XmlEntityRef xmlEntityRef0 = new XmlEntityRef("e"); assertEquals("e", xmlEntityRef0.getComponentId()); ErrorPage errorPage0 = new ErrorPage(); NumberInput numberInput0 = new NumberInput(errorPage0, "e", "e", "e"); Text text0 = (Text...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n @Tag(\"slow\")\n @Tag(\"unstable\")\n public void testCYCLE() {\n CuteNetlibCase.doTest(\"CYCLE.SIF\", \"1234567890\", \"1234567890\", NumberContext.of(7, 4));\n }", "public void test642_smartLifting4() {\n \n runConformTest(\n new String[] {\n\t\t\"T642sl4Main.j...
[ "0.61981964", "0.59841245", "0.5853102", "0.57809895", "0.576183", "0.57377595", "0.5700036", "0.5696761", "0.5690289", "0.5680972", "0.5566022", "0.5565571", "0.5556833", "0.5549712", "0.55447674", "0.55254674", "0.54934615", "0.54157794", "0.538672", "0.5375525", "0.5366731...
0.0
-1
Test case number: 140 / 9 covered goals: Goal 1. wheel.components.Component.h2(Ljava/lang/Object;)Lwheel/components/Component;: rootBranch Goal 2. wheel.components.Component.el(Ljava/lang/String;)Lwheel/components/ElExpression;: rootBranch Goal 3. wheel.components.Component.h3(Ljava/lang/Object;)Lwheel/components/Compo...
@Test public void test140() throws Throwable { ErrorPage errorPage0 = new ErrorPage(); Label label0 = (Label)errorPage0.address((Object) errorPage0); Form form0 = label0._getVisibleForm(false); Checkbox checkbox0 = new Checkbox(errorPage0, "Unspported type gien Hor dateFormt. Supported types...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test121() throws Throwable {\n ErrorPage errorPage0 = new ErrorPage();\n Checkbox checkbox0 = new Checkbox(errorPage0, \"S\", \"\\bd8<X\");\n TextArea textArea0 = new TextArea(checkbox0, \"HD17N:Bzj:S\", \"=P+hF^\");\n Table table0 = new Table(textArea0, \...
[ "0.6399221", "0.63968825", "0.63722724", "0.6305399", "0.6301614", "0.62760895", "0.6170975", "0.616687", "0.610135", "0.6089189", "0.60886943", "0.6078678", "0.60570806", "0.6009825", "0.600731", "0.60038507", "0.59980124", "0.5997404", "0.5966891", "0.59614754", "0.5933532"...
0.5798848
29
Test case number: 141 / 8 covered goals: Goal 1. wheel.components.Component.submit(Ljava/lang/String;)Lwheel/components/FormElement;: rootBranch Goal 2. wheel.components.Component.wBlock(Ljava/lang/CharSequence;)Lwheel/components/Component;: rootBranch Goal 3. wheel.components.Component.(Lwheel/components/Component;Lja...
@Test public void test141() throws Throwable { ErrorPage errorPage0 = new ErrorPage(); TableRow tableRow0 = new TableRow(errorPage0); Block block0 = (Block)tableRow0.td(); // Undeclared exception! try { FormElement formElement0 = block0.submit("&5E<"); fail("Expecting e...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test140() throws Throwable {\n ErrorPage errorPage0 = new ErrorPage();\n Submit submit0 = new Submit(errorPage0, \"+4lypJ[6^A\", \"+4lypJ[6^A\");\n // Undeclared exception!\n try { \n submit0.form(\"+4lypJ[6^A\");\n fail(\"Expecting exception...
[ "0.65367115", "0.6477898", "0.64497703", "0.642069", "0.629892", "0.62179506", "0.6112077", "0.6106361", "0.6082231", "0.60809654", "0.60791403", "0.6042271", "0.602188", "0.5987527", "0.59532034", "0.59523004", "0.59367174", "0.59246045", "0.5909211", "0.5902479", "0.5896386...
0.56012607
51
Test case number: 142 / 2 covered goals: Goal 1. wheel.components.Component.em()Lwheel/components/Component;: rootBranch Goal 2. wheel.components.Component.renderHint(Ljava/lang/CharSequence;)Lwheel/components/Component;: I7 Branch 11 IFNONNULL L139 true
@Test public void test142() throws Throwable { ErrorPage errorPage0 = new ErrorPage(); Block block0 = (Block)errorPage0.em(); Block block1 = (Block)block0.renderHint((CharSequence) "V\"i%{rPYE$"); assertEquals("wheel_ErrorPage", errorPage0.getComponentId()); assertTrue(block0._isGenera...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test080() throws Throwable {\n XmlEntityRef xmlEntityRef0 = new XmlEntityRef(\"java.lang.String@0000000005\");\n ElExpression elExpression0 = new ElExpression(\"java.lang.String@0000000005\");\n Submit submit0 = new Submit(xmlEntityRef0, \"button\", \",DH3:A>}/...
[ "0.63782585", "0.5991416", "0.5915654", "0.5889002", "0.58875215", "0.5883463", "0.573349", "0.5729204", "0.56681365", "0.56528693", "0.5646239", "0.5594995", "0.55858916", "0.5574353", "0.5566652", "0.55469316", "0.5504575", "0.549986", "0.54730827", "0.5446083", "0.54448", ...
0.5619095
11
Test case number: 143 / 20 covered goals: Goal 1. wheel.components.Component._getXhtmlAttributes()Ljava/util/Map;: rootBranch Goal 2. wheel.components.Component.table()Lwheel/components/Component;: rootBranch Goal 3. wheel.components.Component.(Lwheel/components/Component;Ljava/lang/String;)V: I15 Branch 3 IFNULL L84 t...
@Test public void test143() throws Throwable { ErrorPage errorPage0 = new ErrorPage(); Table table0 = (Table)errorPage0.table(); Table table1 = new Table(errorPage0, "(P"); TableBlock tableBlock0 = table1.thead(); Any any0 = tableBlock0.col(); TableRow tableRow0 = tableBlock0.tr(...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test121() throws Throwable {\n ErrorPage errorPage0 = new ErrorPage();\n Checkbox checkbox0 = new Checkbox(errorPage0, \"S\", \"\\bd8<X\");\n TextArea textArea0 = new TextArea(checkbox0, \"HD17N:Bzj:S\", \"=P+hF^\");\n Table table0 = new Table(textArea0, \...
[ "0.61182505", "0.6073497", "0.59631133", "0.5946714", "0.59179425", "0.58793557", "0.5864864", "0.5859599", "0.58551943", "0.57760835", "0.5755454", "0.57485706", "0.57443124", "0.5716573", "0.5713216", "0.57010436", "0.5670417", "0.5599614", "0.5589987", "0.5569543", "0.5532...
0.0
-1
Test case number: 144 / 6 covered goals: Goal 1. wheel.components.Component.li(Ljava/lang/Object;)Lwheel/components/Component;: rootBranch Goal 2. wheel.components.Component.(Lwheel/components/Component;Ljava/lang/String;)V: I15 Branch 3 IFNULL L84 false Goal 3. wheel.components.Component.(Lwheel/components/Component;L...
@Test public void test144() throws Throwable { ErrorPage errorPage0 = new ErrorPage(); CategoryWordTagFactory categoryWordTagFactory0 = new CategoryWordTagFactory(); CategoryWordTag categoryWordTag0 = (CategoryWordTag)categoryWordTagFactory0.newLabel("", 4152); LabeledWord labeledWord0 = new...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n @Tag(\"slow\")\n @Tag(\"unstable\")\n public void testCYCLE() {\n CuteNetlibCase.doTest(\"CYCLE.SIF\", \"1234567890\", \"1234567890\", NumberContext.of(7, 4));\n }", "private void tests(Component comp){\n \n // LOG ONLY -/\n if(debugLog) System.err.println(LOG_CAPT...
[ "0.6107178", "0.58599806", "0.58349323", "0.5735806", "0.56648433", "0.56249607", "0.5622292", "0.56047434", "0.5569964", "0.55028284", "0.5490636", "0.5457465", "0.5454317", "0.54521537", "0.54506505", "0.5431962", "0.5428846", "0.5427256", "0.5388475", "0.53814983", "0.5372...
0.0
-1
Test case number: 145 / 33 covered goals: Goal 1. wheel.components.Component.(Lwheel/components/Component;)V: rootBranch Goal 2. wheel.components.Component._setGeneratedId(Z)V: rootBranch Goal 3. wheel.components.Component.add(Lwheel/components/Component;)Lwheel/components/Component;: rootBranch Goal 4. wheel.component...
@Test public void test145() throws Throwable { ErrorPage errorPage0 = new ErrorPage(); Block block0 = (Block)errorPage0.strike(); assertTrue(block0._isGeneratedId()); assertEquals("wheel_ErrorPage", errorPage0.getComponentId()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test181() throws Throwable {\n Hidden hidden0 = new Hidden((Component) null, \"(vLoO6y2\\\"Vht&{{\", \"(vLoO6y2\\\"Vht&{{\");\n // Undeclared exception!\n try { \n hidden0._wrapComponentId(\"(vLoO6y2\\\"Vht&{{\");\n fail(\"Expecting exception: Run...
[ "0.59609455", "0.5959911", "0.5932126", "0.5860053", "0.5839301", "0.58366877", "0.58292395", "0.58183056", "0.57725286", "0.575249", "0.5746517", "0.5725008", "0.57227737", "0.5716646", "0.5605264", "0.5603564", "0.5587568", "0.55758566", "0.55634326", "0.55443364", "0.55276...
0.0
-1
Spring security will see this message.
@RequestMapping(value = "/login", method = RequestMethod.GET) public ModelAndView login(@RequestParam(value = "error", required = false) String error, @RequestParam(value = "logout", required = false) String logout) { ModelAndView m = new ModelAndView(); if (error != null) {...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tprotected void configMsgSucessoErro(HttpServletRequest request) {\n\t\t\r\n\t}", "public AuthenticationInterceptor() {\r\n super(Phase.RECEIVE);\r\n }", "@Override\n public void onGranted() {\n }", "@RequestMapping(method = RequestMethod.GET)\n public String loadProfileP...
[ "0.5790188", "0.56791806", "0.55914944", "0.5588036", "0.5574635", "0.5560034", "0.55236065", "0.5519873", "0.5519619", "0.5519619", "0.55059934", "0.55056196", "0.5459114", "0.54440707", "0.5433918", "0.54318184", "0.5417996", "0.540595", "0.5387029", "0.53686", "0.53662944"...
0.0
-1
first element of array chosen as pivot
private int partition(MyNode[] arr, int lo, int hi) { MyNode pivot = arr[lo]; int left = lo + 1; int right = hi; transitions.add(colorNode(arr, PIVOT_COLOR, lo)); while (true) { while ((left <= right) && arr[left].getValue() < pivot.getValue()) { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tprotected T pickPivot(T[] array, int start, int end) {\n\t\treturn array[start];\n\t}", "int indexOfPivotElement(T[] arr, int first, int last, Comparator<? super T> comp);", "public static int findPivot(int[] arr) {\n\t int low=0;\n\t int high=arr.length-1;\n\t while(low<high)\n\t {\n\...
[ "0.7383263", "0.6577835", "0.6550538", "0.6520641", "0.6473654", "0.6399306", "0.62405145", "0.61453855", "0.607379", "0.6073569", "0.6072851", "0.6054433", "0.60201365", "0.59008586", "0.588716", "0.58467025", "0.57948005", "0.577231", "0.57395273", "0.57176876", "0.5714815"...
0.51994574
72
TODO Autogenerated method stub
public static void main(String[] args) { AdressePostale a = new AdressePostale(5,"des Maréchaux",44100,"Nantes"); AdressePostale b = new AdressePostale(85,"d'Antrain",35700,"Rennes"); //a.nbDepartement =102; //System.out.println(a.nbDepartement); System.out.println(AdressePostale.nbDepartemen...
{ "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
Method to return a constraint given an attribute key passed in or to throw an exception.
@Nonnull public <T, X extends Throwable> T getPropertyOrThrow(@Nonnull final PlannerConstraint<T> attribute, @Nonnull final Supplier<? extends X> exceptionSupplier) throws X { if (containsAttribute(attribute)) { return attribute.narrowConstraint(attributeToConstraintMap.get(attribute).property);...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Constraint createConstraint();", "Constraint createConstraint();", "public static ConstraintImpl parse(String key, Object value) {\n\t\tConstraintImpl attributeConstraint = null;\n\t\tif (key != null && key.toLowerCase().startsWith(Attribute.SERVICE_CONSTRAINT) || key.toLowerCase().startsWith(Attribute.OPERATI...
[ "0.62004894", "0.62004894", "0.5775249", "0.5405614", "0.5385973", "0.5368022", "0.5333616", "0.52976835", "0.5292443", "0.5191177", "0.516743", "0.51606095", "0.5111432", "0.51036584", "0.50519615", "0.50519615", "0.50271314", "0.50268346", "0.49776232", "0.49710122", "0.496...
0.50739676
14
Method to be called when exploration of a group is started.
public void startExploration() { watermarkGoalTick = currentTick; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void startVisit(Group group);", "@Override\n public void onGroupExpand(int groupPosition) {\n }", "@Override\n public void onGroupExpand(int groupPosition) {\n\n }", "@Override\n public void onGroupExpand(int groupPosition) {\n }", "...
[ "0.6688709", "0.6184387", "0.6169235", "0.6163192", "0.6163192", "0.6151266", "0.6138814", "0.59989405", "0.5933389", "0.5893418", "0.582662", "0.58031327", "0.57908475", "0.5777101", "0.57608694", "0.5707672", "0.5680979", "0.5677382", "0.567641", "0.5650112", "0.56178397", ...
0.5946303
8
Method to be called when exploration of a group is completed.
public void commitExploration() { watermarkCommittedTick = watermarkGoalTick; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void finished(){\n if (doFilterUpdate) {\n //runFilterUpdates();\n }\n \n double groupTotalTimeSecs = (System.currentTimeMillis() - (double) groupStartTime) / 1000;\n log.info(\"Job \"+id+\" finished \" /*+ parsedType*/ + \" after \"\n + groupT...
[ "0.63021475", "0.6273994", "0.6270406", "0.6270406", "0.62370145", "0.62337875", "0.6228392", "0.61917335", "0.61858106", "0.61517525", "0.6011198", "0.60092026", "0.5970286", "0.59679306", "0.59679306", "0.59679306", "0.5897651", "0.5882835", "0.5848428", "0.58326864", "0.58...
0.0
-1
Act do whatever the BadNPC wants to do. This method is called whenever the 'Act' or 'Run' button gets pressed in the environment.
public void act() { // Add your action code here. }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void act() \r\n {\r\n key();\r\n win();\r\n fall();\r\n lunch();\r\n }", "private void act() {\n\t\tmyAction.embodiment();\n\t}", "public void act() \n {\n moveEnemy();\n checkHealth();\n attacked();\n }", "public void act() \n {\n ...
[ "0.7378537", "0.7227085", "0.7197787", "0.7168755", "0.7061229", "0.69703704", "0.6965961", "0.69484895", "0.69310164", "0.69109803", "0.6868979", "0.68664837", "0.6830393", "0.6771184", "0.6765679", "0.67634153", "0.67563677", "0.67359996", "0.67259365", "0.67002904", "0.669...
0.6501183
46
Creates new form TelaCadastroMensalidade
public TelaCadastroPlano() { initComponents(); campoNome.setDocument(new CaixaAlta()); setLocationRelativeTo(null); preencheTabela(); campoCodigo.setText(Integer.toString(fachada.proximoCodigo())); setModalidades(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public creacionempresa() {\n initComponents();\n mostrardatos();\n }", "public String nuevo() {\n\n\t\tLOG.info(\"Submitado formulario, accion nuevo\");\n\t\tString view = \"/alumno/form\";\n\n\t\t// las validaciones son correctas, por lo cual los datos del formulario estan en\n\t\t// el atribut...
[ "0.7149855", "0.6709122", "0.6583732", "0.6548521", "0.6527179", "0.6493898", "0.648295", "0.64671123", "0.6467029", "0.64300764", "0.6421217", "0.64108765", "0.63978034", "0.63831306", "0.6369944", "0.6364189", "0.6360232", "0.63601154", "0.63499165", "0.6342476", "0.6239067...
0.0
-1
TODO: what else to do to reset exchange?
public static void reset(ServerWebExchange exchange) { Set<String> addedHeaders = exchange.getAttributeOrDefault(CLIENT_RESPONSE_HEADER_NAMES, Collections.emptySet()); addedHeaders.forEach(header -> exchange.getResponse().getHeaders().remove(header)); removeAlreadyRouted(exchange); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void unsetExchange();", "protected void reset() {\n\t\tresetChannel();\n\t\tthis.connection = null;\n\t}", "@Override\n public void reset() {\n setSubject(null);\n }", "public void setExchange(Exchange exchange) {\r\n this.exchange = exchange;\r\n }", "@Override\n\t\t\tpublic IAMQPEx...
[ "0.7343604", "0.6796017", "0.64605623", "0.64149565", "0.63307977", "0.63307977", "0.6224683", "0.6180606", "0.61471033", "0.6141168", "0.6127332", "0.61229324", "0.6118258", "0.6111886", "0.60941166", "0.6054791", "0.6033465", "0.6026988", "0.6024188", "0.60154635", "0.60060...
0.6126508
11
One place to handle forwarding using DispatcherHandler. Allows for common code to be reused.
public static Mono<Void> handle(DispatcherHandler handler, ServerWebExchange exchange) { // remove attributes that may disrupt the forwarded request exchange.getAttributes().remove(GATEWAY_PREDICATE_PATH_CONTAINER_ATTR); return handler.handle(exchange); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface ActionDispatcher {\n\n /**\n * Dispatches the provided action to a proper handler that is responsible for handling of that action.\n * <p/> To may dispatch the incomming action a proper handler needs to be bound\n * to the {@link com.clouway.gad.dispatch.ActionHandlerRepository} to may the ...
[ "0.614798", "0.58895683", "0.58179146", "0.5727858", "0.55563396", "0.55008847", "0.544901", "0.5432945", "0.53989285", "0.5375004", "0.5334119", "0.52816826", "0.52787024", "0.5264677", "0.52097845", "0.5207772", "0.520629", "0.52009976", "0.51713943", "0.51543117", "0.51523...
0.67603093
0
weka requires an ArrayList, but we can't guarantee that GAE stores the list as an ArrayList, so convert back if necessary
private ArrayList<Attribute> getAttributes() { if (attributes != null && attributes instanceof ArrayList) return ((ArrayList<Attribute>) attributes); else { ArrayList<Attribute> tmp = new ArrayList<Attribute>(); if (attributes != null) tmp.addAll(attributes); attributes = tmp; return tmp; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@SuppressWarnings(\"unchecked\")\n public void testListToArray() throws Exception\n {\n List<PSKeyword> sourceList = new ArrayList<PSKeyword>();\n sourceList.add(createKeyword(\"1\"));\n sourceList.add(createKeyword(\"2\"));\n \n List<PSKeyword> targetList = roundTripListConversion(\n ...
[ "0.58970076", "0.5758715", "0.5677181", "0.56346196", "0.56260896", "0.55396295", "0.55105615", "0.5509035", "0.54816204", "0.54444784", "0.5432297", "0.53918606", "0.5383404", "0.5368902", "0.536181", "0.5360714", "0.53344643", "0.5313775", "0.5310118", "0.5308858", "0.53032...
0.48901832
92
/ access modifiers changed from: protected
public void onActive() { super.onActive(); this.f5335l.registerOnSharedPreferenceChangeListener(this); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override...
[ "0.7375736", "0.7042321", "0.6922649", "0.6909494", "0.68470824", "0.6830288", "0.68062353", "0.6583185", "0.6539446", "0.65011257", "0.64917654", "0.64917654", "0.64733833", "0.6438831", "0.64330196", "0.64330196", "0.64295477", "0.6426414", "0.6420484", "0.64083177", "0.640...
0.0
-1
/ access modifiers changed from: protected
public void onInactive() { super.onInactive(); this.f5335l.unregisterOnSharedPreferenceChangeListener(this); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override...
[ "0.7375736", "0.7042321", "0.6922649", "0.6909494", "0.68470824", "0.6830288", "0.68062353", "0.6583185", "0.6539446", "0.65011257", "0.64917654", "0.64917654", "0.64733833", "0.6438831", "0.64330196", "0.64330196", "0.64295477", "0.6426414", "0.6420484", "0.64083177", "0.640...
0.0
-1
/ renamed from: a
private SharedPreferences m4028a() { SharedPreferences sharedPreferences; synchronized (Preferences.class) { if (this.f5334b == null) { this.f5334b = this.f5333a.getSharedPreferences("androidx.work.util.preferences", 0); } sharedPreferences = this.f533...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
Inflate the layout for this fragment
@Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { view = inflater.inflate(R.layout.departure_fragment, container, false); // Set manager favoriteManager = new FavoriteManager(Objects.requireNonNull(getA...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_main_allinfo, container, false);\n }", "@Override\r\n\tpublic View onCreateView(LayoutInflater inflater, ViewGroup...
[ "0.6739604", "0.67235583", "0.6721706", "0.6698254", "0.6691869", "0.6687986", "0.66869223", "0.6684548", "0.66766286", "0.6674615", "0.66654444", "0.66654384", "0.6664403", "0.66596216", "0.6653321", "0.6647136", "0.66423255", "0.66388357", "0.6637491", "0.6634193", "0.66251...
0.0
-1
This method will save the instance before turning the phone to different layout
@Override public void onSaveInstanceState(@NonNull Bundle outState) { super.onSaveInstanceState(outState); if(departureListItems != null){ outState.putSerializable(SAVED_INSTANCE_DEPARTURES, new ArrayList<>(departureListItems)); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void saveLayoutToPref() {\n Editor edit = getSharedPreferences(Constants.PREF_NAME_LAYOUTS, 0).edit();\n edit.clear();\n for (int i = 0; i < 4; i++) {\n LayoutItem layoutItem = (LayoutItem) this.mLayoutItems.get(i);\n if (layoutItem.getViewNum() > 0) {\n ...
[ "0.6805499", "0.67110366", "0.65826887", "0.65826887", "0.65604514", "0.65604514", "0.65604514", "0.65604514", "0.65604514", "0.65604514", "0.65604514", "0.64332783", "0.64317775", "0.6385431", "0.6338142", "0.63228714", "0.6297123", "0.62931293", "0.62325466", "0.6231417", "...
0.0
-1
This method will set a new adpater to the recycler view
public void setAdapter(List<DepartureListItem> list) { // Save list in class departureListItems = list; // Add to recycler view final DepartureAdapter adapter = new DepartureAdapter(); adapter.setDepartureList(list); // Set Onclick listener adapter.setOnItemClic...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void setDataInRecyclerView(){\n KorisniciAdapter adapter = new KorisniciAdapter(this, korisniciList);\n recyclerView.setAdapter(adapter); // set the Adapter to RecyclerView\n }", "private void setRecyclerAdapter() {\n if (mRecyclerAdapter == null) {\n mRecyclerAdapter =...
[ "0.6932251", "0.661491", "0.6597468", "0.65734786", "0.65723395", "0.6560139", "0.65372056", "0.6476713", "0.6473348", "0.64724976", "0.64558214", "0.6453768", "0.64307344", "0.6413231", "0.63810056", "0.637723", "0.63552797", "0.63155395", "0.6267422", "0.6262402", "0.625924...
0.0
-1
Constructs an empty LockLayer.
public LockLayer() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "LockManager() {\n }", "public Lock() {\r\n }", "public LCMultiblockPacket() {\n\t}", "ManagementLockObject create();", "public LockCondilock() {\n this(newDefaultLock());\n }", "static Lock createLock() {\n return new /*Prio*/Lock();\n }", "public static Locks create() {\n\t\tString...
[ "0.66147846", "0.64909405", "0.5904677", "0.5901332", "0.5890259", "0.5857895", "0.56845576", "0.5672526", "0.56631494", "0.5605174", "0.55768615", "0.55157757", "0.5512408", "0.5500098", "0.54443586", "0.5442654", "0.54108244", "0.539208", "0.5366366", "0.53375715", "0.53358...
0.843801
0
Created by chenxz on 2017/11/30.
public interface IPresenter { /** * 做一些初始化操作 */ void onStart(); /** * 在框架中会默认调用 */ void onDestroy(); }
{ "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 bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "private sta...
[ "0.6089621", "0.59830517", "0.5821479", "0.5797404", "0.57762533", "0.57762533", "0.5739262", "0.5716353", "0.56938946", "0.5662461", "0.56599814", "0.56314594", "0.5626152", "0.5617408", "0.5586114", "0.5582148", "0.5577916", "0.55775607", "0.5576218", "0.55757546", "0.55736...
0.0
-1
Object necessary for the excel file creation
@Override public void saveMatch(JTable homeTable, JTable guestTable,String homeName,String guestName, String path) { fileWorkbook = new XSSFWorkbook(); fileSheet = fileWorkbook.createSheet(); int countRow = 1; TreeMap<String, List<String>> homeTeamData = new TreeMap<>(); TreeMap<S...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void exportXLS() {\n\t\t// Create a Workbook\n\t\tWorkbook workbook = new HSSFWorkbook(); // new HSSFWorkbook() for\n\t\t\t\t\t\t\t\t\t\t\t\t// generating `.xls` file\n\n\t\t/*\n\t\t * CreationHelper helps us create instances of various things like DataFormat,\n\t\t * Hyperlink, RichTextString etc, in a for...
[ "0.7320275", "0.71448475", "0.69436014", "0.6851732", "0.6698775", "0.669828", "0.6669096", "0.6652014", "0.66205436", "0.66083556", "0.65789557", "0.64956695", "0.64627343", "0.6460239", "0.64542717", "0.64347035", "0.64313346", "0.6428982", "0.6423539", "0.64158714", "0.639...
0.0
-1
TODO: Autogenerated Javadoc The Interface ExamPackageService.
public interface ExamPackageService { /** * Gets the list. * * @param username the username * @return the list */ List<ExamPackage> getList(String username); /** * Gets the list. * * @return the list */ List<ExamPackage> getList(); /** * Gets the page by username. * * @param username ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "ExamPackage getExamPackage(int examPackageID);", "ExploitationPackage getExploitationPackage();", "EisPackage getEisPackage();", "public interface Package extends Container {\n\n /**\n * Returns all top-level--non-recursive-- {@link Package}s contained under this package. allows the\n * \n * @return t...
[ "0.62724704", "0.6081286", "0.5979436", "0.5681234", "0.5651179", "0.5628688", "0.55847496", "0.55673826", "0.555233", "0.5518564", "0.5517053", "0.54979914", "0.5477203", "0.5476786", "0.5470249", "0.5429922", "0.54115975", "0.5400161", "0.53835917", "0.5355932", "0.53224903...
0.74190366
0
Gets the page by username.
Page<ExamPackage> getPageByUsername(String username, int pageNo, int pageSize, Sort sort);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "User browseUserByUsername(String username);", "Page<ExamPackage> getPageByUsername(String username, int pageNo, int pageSize);", "public User getSpecificUser(String username);", "public User get(String username);", "User getByUsername(String username);", "User getUserByUsername(String username);", "Use...
[ "0.68722063", "0.6675116", "0.6475271", "0.6310821", "0.6247416", "0.61501557", "0.61501557", "0.61501557", "0.6128318", "0.60873044", "0.60735977", "0.60675156", "0.6061612", "0.5962675", "0.5907988", "0.59059507", "0.59042996", "0.59024763", "0.58740896", "0.58547103", "0.5...
0.6249568
4
Gets the list present.
List<ExamPackage> getListPresent();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public DOCKSList getList() {\r\n return localList;\r\n }", "public final List getList()\n {\n return this.list;\n }", "public List getList();", "public java.util.List getList() {\n\t\treturn list;\n\t}", "edu.usfca.cs.dfs.StorageMessages.List getList();", "@VTID(38)\n bool...
[ "0.7366528", "0.72662234", "0.71981037", "0.71577", "0.7129716", "0.7048945", "0.69611233", "0.6943621", "0.6943621", "0.6863867", "0.6860701", "0.6813661", "0.6793195", "0.6765647", "0.66914934", "0.667646", "0.66718364", "0.6624266", "0.66219825", "0.6600696", "0.65632063",...
0.6397727
36
Gets the list exercise.
List<ExamPackage> getListExercise();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ArrayList<Ejercicio> getExercises (){\r\n\t\t\r\n\t\treturn daoEjercicio.getExerciseList();\r\n\t\t\r\n\t}", "public ExersiceList(List<String> exerciseList) {\n this.exersiceList = exerciseList;\n }", "public List<ExerciseWorkout> getExercises() {\n if (exercises == null) {\n ...
[ "0.7148692", "0.6704166", "0.65210235", "0.6473117", "0.6462617", "0.63727015", "0.63403535", "0.62069196", "0.607908", "0.5915579", "0.59064674", "0.5876228", "0.58740216", "0.58707875", "0.58364826", "0.58018726", "0.57824236", "0.57420546", "0.5709267", "0.5689162", "0.567...
0.72027963
0
Gets the list incoming start.
List<ExamPackage> getListIsComing();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private List<Request> getStartRequest () {\n String startUrl = \"http://www.yidianzixun.com/home/q/news_list_for_channel?channel_id=sc4&cstart=20&cend=30&infinite=true&refresh=1&__from__=pc&multi=5&appid=web_yidian\";\n List<Request> list = new ArrayList<>();\n list.add(new Request(startUrl).p...
[ "0.6694036", "0.655216", "0.65405726", "0.6520212", "0.64896417", "0.6482012", "0.64767516", "0.6466846", "0.6416643", "0.6410089", "0.63905287", "0.6371769", "0.62824136", "0.6262417", "0.62222916", "0.6220281", "0.6204768", "0.6192848", "0.61413366", "0.607753", "0.60684365...
0.0
-1
Gets the list expired.
List<ExamPackage> getListExpired();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<Batch> generateExpiredList() throws Exception {\n\t\tList<Batch> res = new ArrayList<>();\n\t\tLocalDate date = LocalDate.now(); // get time\n\t\tfor (Batch batch : getPDList()) { // get batch\n\t\t\tif (date.isAfter(batch.getExpirationDate())) { // if batch expired\n\t\t\t\tif (batch.hasNotification()...
[ "0.6636566", "0.66293794", "0.6571806", "0.6537464", "0.6379822", "0.63042694", "0.6282764", "0.62529504", "0.6125077", "0.6125077", "0.606517", "0.6043369", "0.5986298", "0.59762686", "0.59467286", "0.58914816", "0.587549", "0.5857579", "0.585144", "0.5814587", "0.5800366", ...
0.73746955
0
Gets the exam package.
ExamPackage getExamPackage(int examPackageID);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getPackage();", "io.deniffel.dsl.useCase.useCase.Package getPackage();", "MystPackage getMystPackage();", "public PackageNode getPackage();", "EisPackage getEisPackage();", "LecturePackage getLecturePackage();", "AsrtPackage getAsrtPackage();", "ExploitationPackage getExploitationPac...
[ "0.6417532", "0.6381101", "0.6362469", "0.61493254", "0.6108834", "0.61005706", "0.60315156", "0.6022868", "0.59404564", "0.58547354", "0.5852891", "0.5809929", "0.58013135", "0.5798473", "0.57149994", "0.5699369", "0.56767225", "0.5670023", "0.5652247", "0.56440145", "0.5643...
0.7745897
0
Checks if this exam package is present.
boolean isPresent(ExamPackage examPackage);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean hasPackageName();", "public boolean isSetPackagename() {\n return this.packagename != null;\n }", "public boolean checkSetup(){\n return checkSetup(folderName);\n }", "public boolean isPackage()\n {\n ensureLoaded();\n return m_flags.isPackage();\n }", "public bo...
[ "0.7198834", "0.68948454", "0.6858529", "0.6535404", "0.65321296", "0.6450569", "0.63856554", "0.63856554", "0.6327317", "0.63079137", "0.622811", "0.6173079", "0.6121626", "0.6092345", "0.6091335", "0.60390383", "0.60156435", "0.5980985", "0.5975459", "0.5931812", "0.5902502...
0.7338943
0
Search list by title.
Page<ExamPackage> searchListByTitle(String examPackageTitlte,int categoryID, int pageNo, int pageSize,Sort sort);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<Entry> getByTitle(String title) {\n List<Entry> matches = new ArrayList<>();\n for (Entry l : litRegister) {\n\n if (l.getTitle().contains(title)) {\n matches.add(l);\n }\n }\n return matches;\n }", "public DocumentListFeed exactTitl...
[ "0.7701026", "0.7461639", "0.73974466", "0.7337629", "0.7228908", "0.7174473", "0.7169266", "0.70935017", "0.70767695", "0.7042934", "0.6995164", "0.69357836", "0.68849665", "0.68766797", "0.6862911", "0.68563557", "0.6853349", "0.6850901", "0.67845744", "0.6761153", "0.67286...
0.5955413
62
Search list by fullname author, if categoryID <0 then ignore compare categoryID.
Page<ExamPackage> searchListByFullnameAuthor(String fullname, int categoryID, int pageNo, int pageSiz,Sort sort);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic List<Literature> searchCategory(String category) {\n\t\treturn null;\n\t}", "private static void queryBooksByAuthor(){\n\t\tSystem.out.println(\"===Query Books By Author===\");\n\t\tScanner string_input = new Scanner(System.in);\n\t\t\n\t\tSystem.out.println(\"Enter First Name of Author to Qu...
[ "0.6015688", "0.57905626", "0.5454505", "0.5454376", "0.5406043", "0.53232026", "0.52921844", "0.52824396", "0.5278816", "0.5270181", "0.5249307", "0.5183619", "0.5178277", "0.5174261", "0.5173855", "0.5160241", "0.5141541", "0.51414216", "0.51266193", "0.5117712", "0.5100686...
0.54524195
4
Search list by username author, if categoryID <0 then ignore compare categoryID.
Page<ExamPackage> searchListByUsernameAuthor(String username, int categoryID, int pageNo, int pageSize,Sort sort);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void filter(String text) {\n List<UserModel> filterdNames = new ArrayList<>();\n\n //looping through existing elements\n for (UserModel item : userModels) {\n //if the existing elements contains the search input\n if (item.getFirstName().toLowerCase().contains(tex...
[ "0.54730815", "0.5469055", "0.5428313", "0.53705496", "0.5280725", "0.5260056", "0.5248132", "0.52323186", "0.5227381", "0.5216707", "0.51967716", "0.5153996", "0.5148887", "0.5133347", "0.51153463", "0.5113731", "0.50980633", "0.509163", "0.5090213", "0.5067048", "0.5047627"...
0.5868279
0
Search list have sort.
Page<ExamPackage> searchList(int pageNo, int pageSize, Sort sort);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@VTID(28)\n boolean getSortUsingCustomLists();", "Results sortResults(FilterSpecifier.ListBy listBy, SortSpecifier sortspec) throws SearchServiceException;", "@Override\r\n\tpublic void addSort() {\n\t\t\r\n\t}", "void compareSearch();", "@Override\n public void sortCurrentList(FileSortHelper sort) {\n...
[ "0.693831", "0.66686374", "0.6429753", "0.6366075", "0.63601756", "0.6294615", "0.6294015", "0.62869316", "0.62522614", "0.6226733", "0.6224826", "0.6220599", "0.6220594", "0.6208493", "0.620332", "0.62023705", "0.617695", "0.6140553", "0.61360973", "0.6106719", "0.6098499", ...
0.58559173
39
Gets the page by username.
Page<ExamPackage> getPageByUsername(String username, int pageNo, int pageSize);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "User browseUserByUsername(String username);", "public User getSpecificUser(String username);", "public User get(String username);", "Page<ExamPackage> getPageByUsername(String username, int pageNo, int pageSize, Sort sort);", "User getByUsername(String username);", "User getUserByUsername(String username...
[ "0.68722063", "0.6475271", "0.6310821", "0.6249568", "0.6247416", "0.61501557", "0.61501557", "0.61501557", "0.6128318", "0.60873044", "0.60735977", "0.60675156", "0.6061612", "0.5962675", "0.5907988", "0.59059507", "0.59042996", "0.59024763", "0.58740896", "0.58547103", "0.5...
0.6675116
1
Gets the total do exam time.
long getTotalDoExamTime();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getTotalTime();", "public String getTotalTime() {\r\n if (recipe != null) {\r\n return readableTime(recipe.getCookTime() + recipe.getPrepTime());\r\n } else {\r\n return \"\";\r\n }\r\n }", "public int totalTime()\n {\n return departureTime - arri...
[ "0.67527455", "0.6741841", "0.660893", "0.65612316", "0.65277225", "0.6392036", "0.6322359", "0.6313644", "0.6307915", "0.6305356", "0.6274217", "0.6258574", "0.6242784", "0.62345976", "0.6218899", "0.6218899", "0.62138814", "0.6209151", "0.61843127", "0.6153775", "0.61509776...
0.83622265
0
TODO Autogenerated method stub
@Override public List<InfraestructuraPo> findInfraestructuraPo() { return null; }
{ "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
Test unitaire fait maison
public static void main(String[] args) { try { File image = new File("petite_image.png"); ImageSerializer serializer = new ImageSerializerBase64Impl(); // Sérialization String encodedImage = (String) serializer.serialize(image); System.out.println(spl...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void testCarregarTrimestre() {\n }", "@Test\r\n public void elCerdoNoSePuedeAtender() {\n }", "@Test\n public void testCarregarUex() {\n }", "@Test\n\tvoid testLectureChaineCaracteres() {\n\t}", "@Test\n public void proximaSequencia(){\n\n }", "@Test\r\n\tpublic voi...
[ "0.77053267", "0.77014226", "0.7508941", "0.74927574", "0.7472315", "0.73954016", "0.73471385", "0.7320864", "0.72846633", "0.72726226", "0.7206626", "0.720311", "0.7192313", "0.7160975", "0.7132965", "0.7127512", "0.7095025", "0.70921093", "0.70750135", "0.7044247", "0.70207...
0.0
-1
Converts as security identifier to a string
@Override public void serialize( SecurityIdentifier value, JsonGenerator gen, SerializerProvider serializers ) throws IOException, JsonProcessingException { gen.writeString( value.toString() ); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getSecId();", "OctetString getSecurityName();", "public String getSecId() {\n Object ref = secId_;\n if (!(ref instanceof String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n if (b...
[ "0.7404745", "0.6955773", "0.681116", "0.6803482", "0.66718036", "0.66718036", "0.66718036", "0.66718036", "0.66718036", "0.66718036", "0.66718036", "0.65415376", "0.6479818", "0.6447678", "0.6443124", "0.6443124", "0.6443124", "0.6384623", "0.6383951", "0.63375247", "0.63201...
0.5767482
91
Converts the input String to a security identifier
@Override public SecurityIdentifier deserialize( JsonParser p, DeserializationContext ctxt ) throws IOException, JsonProcessingException { final JsonNode node = p.getCodec().readTree( p ); final String value = node.asText(); if( StringUtils.isBlank( value ) ) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getSecId();", "public Identification getIdentificationByUID(String identificationUID) throws InvalidFormatException;", "protected Identifier toIdentifier(String stringForm, MetadataBuildingContext buildingContext) {\n\t\treturn buildingContext.getMetadataCollector()\n\t\t\t\t.getDatabase()\n\t\t\t\t.get...
[ "0.651345", "0.6253282", "0.62142026", "0.61222595", "0.61222595", "0.61222595", "0.61222595", "0.61222595", "0.61222595", "0.61222595", "0.6004146", "0.59007543", "0.58815205", "0.5873745", "0.5764165", "0.5748429", "0.5734758", "0.57144356", "0.5701353", "0.56945604", "0.56...
0.0
-1
TODO Autogenerated method stub
@Override public void onClick(View v) { new DatePickerDialog(AddTripActivity.this, date, myCalendar .get(Calendar.YEAR), myCalendar.get(Calendar.MONTH), myCalendar.get(Calendar.DAY_OF_MONTH)).show(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void onClick(View v) { Calendar mcurrentTime = Calendar.getInstance(); int hour = mcurrentTime.get(Calendar.HOUR_OF_DAY); int minute = mcurrentTime.get(Calendar.MINUTE); TimePickerDialog mTimePicker; mTimePicke...
{ "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
check if all the necessary data was given
private void attemptTripAddition(){ String tripName=mTripName.getText().toString(); String meetingPlace=mMeetingPlace.getText().toString(); String date= mDate.getText().toString(); String time = mTime.getText().toString(); String duration= mDuration.getText().toString(); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void validateData() {\n }", "@Override\n\tpublic boolean checkData() {\n\t\treturn false;\n\t}", "protected boolean isValidData() {\n return true;\n }", "@Override\n\tprotected boolean checkDataStructure(Data data) throws ImportitException {\n\t\tdata.setDatabase(39);\n\t\tdata.setGroup(...
[ "0.71697074", "0.69952536", "0.6965194", "0.69450134", "0.6932618", "0.681109", "0.6643321", "0.6628314", "0.6627816", "0.6615243", "0.6610708", "0.65777266", "0.65661556", "0.6562051", "0.65046555", "0.64923704", "0.64923704", "0.64923704", "0.64923704", "0.64923704", "0.649...
0.0
-1
onClick return to the admin home page
public void back(View v){ Intent intent = new Intent(AddTripActivity.this,AdminMainActivity.class); finish(); startActivity(intent); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void AdminLink(){\n\t\tAdminLink.click();\n\t}", "@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tIntent i = new Intent(HomeScreen.this, AddAdminScreen.class);\n\t\t\t startActivity(i);\n\t\t\t}", "@Override\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t\tIntent intent = new Intent();\n\t\t\...
[ "0.70638376", "0.7062225", "0.68707305", "0.67475486", "0.6711677", "0.6709835", "0.6674355", "0.6612685", "0.6596102", "0.6504375", "0.6487947", "0.6443567", "0.63747334", "0.6360384", "0.6335854", "0.62989986", "0.62962776", "0.6283961", "0.62691957", "0.6256656", "0.625070...
0.0
-1
checks if the date entered is valid date
private boolean dateValidation(String userDate){ SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy"); sdf.setLenient(false); try { //if not valid, it will throw ParseException Date date = sdf.parse(userDate); System.out.println(date); } catch ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private boolean isValidDate(String date){\n Date inputDate = new Date(date);\n boolean isValid = false;\n\n if (inputDate.isValid()) {\n isValid = true;\n }else{\n generalTextArea.appendText(date + \" is not a valid date!\\n\");\n }\n return isValid;...
[ "0.7786809", "0.76449066", "0.7634368", "0.76217306", "0.76091856", "0.7514934", "0.74955946", "0.74903405", "0.7451254", "0.7448335", "0.7395512", "0.73883027", "0.73216754", "0.7318199", "0.72695607", "0.7256621", "0.7228949", "0.7220959", "0.72062016", "0.72040975", "0.720...
0.7618522
4
checks if the time entered is valid time between 00:00 23:59
private boolean timeValidation(String time){ if(! time.matches("(?:[0-1][0-9]|2[0-4]):[0-5]\\d")){ return false; } return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private boolean checkValidTime(String inputTime) {\n int hour = Integer.parseInt(inputTime.substring(0,2));\n int minute = Integer.parseInt(inputTime.substring(2,4));\n \n if ((hour >= 0 && hour <= 23) && (minute >= 0 && minute <= 59)) {\n return true;\n } else {\n return false;\n }\n ...
[ "0.77837515", "0.73854536", "0.7343176", "0.7245396", "0.7235615", "0.70813555", "0.6972054", "0.68792886", "0.68725044", "0.6871085", "0.68372226", "0.6823636", "0.68014836", "0.6588369", "0.6544294", "0.6527028", "0.6514473", "0.638433", "0.6302203", "0.63003916", "0.625744...
0.7425559
1
checks if the duration is valid number and doe't not
private boolean durationValidation(int duration){ return duration < 300 && duration >10; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static boolean isValidDuration(String duratonString) throws NumberFormatException {\n double duration = Double.parseDouble(duratonString);\n return duration > 0 && duration < 24;\n }", "@Test\n\tvoid testCheckDuration2() {\n\t\tassertFalse(DataChecker.checkDuration(Duration.ofMinutes(-11...
[ "0.75974715", "0.7069917", "0.6978973", "0.69685125", "0.69477063", "0.688017", "0.6738233", "0.65259844", "0.6471043", "0.6471043", "0.6471043", "0.62425846", "0.6221755", "0.61800134", "0.61468834", "0.61410886", "0.6135595", "0.61054265", "0.60737276", "0.60674375", "0.606...
0.819953
0
generic error message box;
private void showErrorDialog(String message){ new AlertDialog.Builder(this) .setTitle("Error") .setMessage(message) .setPositiveButton(android.R.string.ok,null) .setIcon(android.R.drawable.ic_dialog_alert) .show(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void errorBox(String title, String message);", "void showError(String message);", "void showError(String message);", "void showError(String errorMessage);", "public void showError(String errorMessage);", "public abstract void showErrorBox(Throwable error);", "void displayErrorMessage(String message);",...
[ "0.864834", "0.7774945", "0.7774945", "0.76522267", "0.75827086", "0.75272274", "0.74487513", "0.74315095", "0.7356542", "0.73309743", "0.7236631", "0.72306126", "0.72000265", "0.7185264", "0.71692914", "0.70692384", "0.7041779", "0.70340675", "0.70171946", "0.7014509", "0.70...
0.0
-1
TODO Autogenerated method stub
@Override public void onDateSet(DatePicker view, int year, int monthOfYear, int dayOfMonth) { myCalendar.set(Calendar.YEAR, year); myCalendar.set(Calendar.MONTH, monthOfYear); myCalendar.set(Calendar.DAY_OF_MONTH, dayOfMonth); updateL...
{ "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
Constructores Constructor que inicializa la clase direccion con los siguientes parametros
public Direccion (String calle, int numero, String piso, String ciudad) { this.calle=calle; this.numero=numero; this.piso=piso; this.ciudad=ciudad; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Constructor(){\n\t\t\n\t}", "public Principal() {\n initComponents();\n empresaControlador = new EmpresaControlador();\n clienteControlador = new ClienteControlador();\n vehiculoControlador = new VehiculoControlador();\n servicioControlador = new ServicioControlador();\n...
[ "0.7137054", "0.688082", "0.6841467", "0.6708821", "0.6695064", "0.668985", "0.6678993", "0.66457534", "0.6640016", "0.6633991", "0.6618109", "0.6601883", "0.6579851", "0.6552446", "0.6486261", "0.64082444", "0.6407236", "0.63764447", "0.6359464", "0.63508713", "0.63426554", ...
0.0
-1
= new JTextField("no filter"); create a new instance of XslTree The nodes will not be automaticaly duplicated even if the schema specify that more than one element of this type is mandatory
public XsdTreePanelImpl(XsdTreeStructImpl xsdTree, JTextPane messagePane) { super(xsdTree, BorderLayout.EAST); MouseListener mouseListener = new TreeMouseAdapter(); xsdTree.tree.addMouseListener(mouseListener); JScrollPane scrollpane = new JScrollPane(messagePane); scrollpane.setMaximumSize(new Dimension(Sh...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private NodeRecordFilter makeNodeNameFilterHandler() {\n\t\tfinal WindowReference windowReference = _mainWindowReference;\n\t\t\n\t\tfinal JTextField nodeFilterField = (JTextField)windowReference.getView( \"NodeFilterField\" );\n\t\tfinal NodeRecordNameFilter nameFilter = new NodeRecordNameFilter();\n\t\t\n\t\tfin...
[ "0.54665965", "0.5357799", "0.5334371", "0.5287188", "0.5220867", "0.51273876", "0.5035459", "0.500527", "0.49875122", "0.4965712", "0.49392888", "0.4928447", "0.4910379", "0.4903515", "0.48860344", "0.48699808", "0.48692155", "0.48678544", "0.48213416", "0.48053473", "0.4803...
0.0
-1
create a button panel that includes buttons for loading the schema and the document, to select and unselect a node, get informations about the node, choose a separator for the flat file and print the flat file
public Box getButtonPanel() { Box buttonsPanel = new Box(BoxLayout.Y_AXIS); buttonsPanel.setAlignmentX(Component.CENTER_ALIGNMENT); Box treeBox = new Box(BoxLayout.Y_AXIS); treeBox.setBorder(new TitledBorder("Schema")); Box associationBox = new Box(BoxLayout.Y_AXIS); associationBox.setBorder(new TitledBor...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void actionPerformed(ActionEvent e) {\n\t\t\n\t\t final JFileChooser sorceXmFileChooser;\t\t\n\t\t \n\t if (e.getSource() instanceof JButton) \n\t {\t \t \n\t // The user want choose a source XML file\n\t if (e.getActionCommand().equals(\"Find\")) \n\t {\n\t ...
[ "0.5990854", "0.5976518", "0.5965123", "0.59308213", "0.5888041", "0.58871955", "0.58726007", "0.58715415", "0.58694196", "0.58438224", "0.5836089", "0.58355945", "0.5798532", "0.5748558", "0.5739257", "0.5719579", "0.5708142", "0.5703943", "0.56894135", "0.56715506", "0.5661...
0.6708788
0
Set the cell renderer with the local renderer
public void setCellRenderer() { xsdTree.tree.setCellRenderer(new XslTreeRenderer()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface UseAsRenderer\r\n {\r\n \tpublic TableCellEditor useAsRenderer();\r\n }", "public void setRenderer(Renderer renderer)\n\t{\n\t\tgetObject().setRenderer(renderer);\n\t\treturn;\n\t}", "public void setRenderer(TreeTableCellRenderer treeTableCellRenderer) {\n checkAccessThread();...
[ "0.679043", "0.6727794", "0.6626598", "0.65818274", "0.6549773", "0.63981503", "0.6365713", "0.6180228", "0.61443675", "0.61443675", "0.61156076", "0.60443646", "0.6029039", "0.59762913", "0.5915071", "0.5806801", "0.57802665", "0.5779098", "0.5772907", "0.57000345", "0.56870...
0.64287305
5
Open a frame to choose an XML document and load it.
public void loadDocument() { try { String defaultDirectory = Utils.lastVisitedDirectory; if (Utils.lastVisitedDocumentDirectory != null) defaultDirectory = Utils.lastVisitedDocumentDirectory; JFileChooser fileChooser = new JFileChooser(defaultDirectory); int returnVal = fileChooser.showOpenDialog(new...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void open(){\n\t\ttry {\n\t\t\tdocFactory = DocumentBuilderFactory.newInstance();\n\t\t\tdocBuilder = docFactory.newDocumentBuilder();\n\t\t\tdoc = docBuilder.parse(ManipXML.class.getResourceAsStream(path));\n\t\t\t\n\t\t} catch (ParserConfigurationException e) {\n\t\t\te.printStackTrace();\n\t\t} catch (SA...
[ "0.62610114", "0.58213264", "0.57379514", "0.5723877", "0.5642067", "0.5634179", "0.5621864", "0.5620036", "0.5572449", "0.55242795", "0.54448384", "0.5433622", "0.54313546", "0.5426488", "0.541309", "0.5409481", "0.53703076", "0.5363601", "0.53504425", "0.53286207", "0.53126...
0.6903096
0
/ JADX INFO: super call moved to the top of the method (can break code semantics)
public y1(z1 z1Var, Object obj) { super(1); this.a = z1Var; this.b = obj; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void method_6349() {\r\n super.method_6349();\r\n }", "public void method_1449() {\r\n super.method_1449();\r\n }", "public void method_1449() {\r\n super.method_1449();\r\n }", "public void method_1449() {\r\n super.method_1449();\r\n }", "protected void method_3848() {\...
[ "0.7415376", "0.7120564", "0.7120564", "0.7120564", "0.71153504", "0.70223135", "0.7006699", "0.6959695", "0.69354844", "0.68295795", "0.6789057", "0.6759874", "0.6727165", "0.6727165", "0.6680012", "0.6670413", "0.6636899", "0.66286534", "0.6619911", "0.6605483", "0.6603786"...
0.0
-1
Spring Data repository for the CancelledOrderLine entity.
@SuppressWarnings("unused") @Repository public interface CancelledOrderLineRepository extends JpaRepository<CancelledOrderLine, Long> { Set<CancelledOrderLine> findByCancellationRequest_OrderId(String orderId); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void cancel(Order order) {\n Optional<OrderEntity> orderEntity = orderRepository.findById(order.getId());\n\n if(orderEntity.isPresent()){\n orderEntity.get().setOrder_state(\"CANCELLED\");\n orderRepository.save(orderEntity.get());\n }\n }", "@Repository\npublic interface...
[ "0.58123606", "0.5464437", "0.53669006", "0.53571993", "0.534024", "0.5322581", "0.52971697", "0.524036", "0.5207743", "0.51732075", "0.5125517", "0.5118041", "0.5106218", "0.5099904", "0.5022966", "0.50186604", "0.49971497", "0.49633673", "0.49436548", "0.49434763", "0.49392...
0.7720283
0
Test to create a exception with a message attached
@Test public void testActiveTenantException(){ ActiveTenantException exception = new ActiveTenantException("message"); assertEquals("message",exception.getMessage()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void testConstructorWithMessage()\n {\n final LoaderException e = new LoaderException(\"Custom message\");\n assertEquals(\"Custom message\", e.getMessage());\n }", "OOPExpectedException expectMessage(String msg);", "public void testConstructorWithMessage() {\r\n Re...
[ "0.7388049", "0.7373727", "0.7307974", "0.730031", "0.71813715", "0.70143145", "0.69997823", "0.697753", "0.69738543", "0.6888121", "0.6875333", "0.6826064", "0.68152344", "0.6759706", "0.6732889", "0.6730585", "0.6715937", "0.67050993", "0.6661532", "0.66353947", "0.6622821"...
0.68624175
11
/ acceso y modificacion
public void setDireccion(String unaDireccion) { direccion = unaDireccion; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void actualizar();", "public void actualizar() {\n\n\t}", "private void modi() { \n try {\n cvo.getId_cliente();\n cvo.setNombre_cliente(vista.txtNombre.getText());\n cvo.setApellido_cliente(vista.txtApellido.getText());\n cvo.setDireccio...
[ "0.6336693", "0.6222339", "0.6207045", "0.6165074", "0.60790765", "0.6038234", "0.6022637", "0.6008517", "0.5997137", "0.59579635", "0.595179", "0.595179", "0.5950496", "0.5928681", "0.5910158", "0.58918196", "0.587527", "0.5873363", "0.5872978", "0.58660334", "0.58505076", ...
0.0
-1
devuelve cantidad de elementos
public int cantidadGastos() { return this.devolverTodosGastos().size(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "long getNombreElements();", "public int getNumberOfElements();", "Long getNumberOfElement();", "public Long getElementCount();", "public abstract Integer getNumberOfElements();", "public Integer cantidadCompras(){\n\t\t// Implementar\n\t\treturn this.compras.size();\n\t}", "public Integer cantidadPerso...
[ "0.7149487", "0.70068336", "0.6946869", "0.68684465", "0.6782307", "0.67307734", "0.66765535", "0.6637525", "0.662524", "0.6620935", "0.6556522", "0.65153563", "0.6506953", "0.6499069", "0.64833593", "0.6445888", "0.64429545", "0.6428254", "0.64231807", "0.64136565", "0.64129...
0.65361214
11
Created by shaoxuhang on 20/11/28.
public interface UserBusinessServiceI { List<TBasicCompany> queryCompany(String companyCode); List<TBasicUser> queryUserinfo(String usercode); List<TBasicDepartment> queryloginDepartmentinfo(String departmentCode); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "private stendhal() {\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n public void func_104112_b() {\n \n ...
[ "0.6040148", "0.6006369", "0.5912357", "0.5902628", "0.5797892", "0.5791578", "0.5789779", "0.5789779", "0.576143", "0.5748512", "0.5724795", "0.57003963", "0.5699057", "0.56892455", "0.5666701", "0.5666701", "0.5666701", "0.5666701", "0.5666701", "0.56655926", "0.56634986", ...
0.0
-1
Main Update Function. Steps the state machine forward through one iteration.
public void update(){ // update curState based on inputs // Perform state-transition actions switch(curState) { ${nextstatecases} default: reset(); break; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void update() {\n if (_isRunning) {\n //System.out.println(\"update()#\" + _aiOwner.getName() + \"#\" + AIServiceProvider.getInstance().getDeltaTime());\n _states.get(_currentStateHandler).update(AIServiceProvider.getInstance().getDeltaTime());\n }\n }", "public stat...
[ "0.7042803", "0.699057", "0.68269736", "0.6761664", "0.6738193", "0.6719263", "0.66348326", "0.65541846", "0.6541215", "0.65139645", "0.64985055", "0.64545006", "0.6430291", "0.6420687", "0.63975066", "0.63975066", "0.63975066", "0.63975066", "0.63934654", "0.63718873", "0.63...
0.791944
0
assign outputs based on curState
switch(curState) { ${stateoutputcases} default: break; //no action taken }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void nextState() {\n int x;\n int y;\n y = st3;\n x = (st0 & MASK) ^ st1 ^ st2;\n x ^= (x << SH0);\n y ^= (y >>> SH0) ^ x;\n st0 = st1;\n st1 = st2;\n st2 = x ^ (y << SH1);\n st3 = y;\n st1 ^= parameter.getMat1(y);\n st2 ^=...
[ "0.6382273", "0.63268995", "0.6222951", "0.61518127", "0.6060057", "0.60557526", "0.5989883", "0.5886844", "0.58840305", "0.58330303", "0.57966447", "0.5767449", "0.5667872", "0.56129813", "0.5606138", "0.5584448", "0.5561185", "0.5551621", "0.5549354", "0.55474967", "0.55467...
0.5216753
43
RETURN IF THE FORMAT IS DIFFERENT
public static LocalDate formatDate(String value, int year) throws ParseException { if(!value.contains("/")) return null; String[] values = value.split("/"); String month = (values[0].length() == 1 ? "0" + values[0] : values[0]); String date = (values[1].length() == 1 ? "0" + values[1] : values[1]); String...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean hasFormat() {\r\n return hasFormat;\r\n }", "boolean supportsFormat(UUID formatid);", "Object getFormat();", "public boolean isFormat() {\n\t\treturn isFormat;\n\t}", "private static String checkFormat(String date){\r\n\t\tif(date.length()==0) return \"\";\r\n\t\tint dateCh...
[ "0.64285916", "0.63625854", "0.6337497", "0.61697394", "0.6143985", "0.59756845", "0.59756845", "0.59756845", "0.59395754", "0.5891107", "0.58599937", "0.5836082", "0.58015615", "0.5738163", "0.5730528", "0.5722965", "0.5719864", "0.57151663", "0.5695564", "0.56537837", "0.56...
0.0
-1
els.get(1).getElementsByTag("td").get(1).text() June 11, 2010
public static Long getDateFromFormat(String dateFormat) { LocalDate finalDate = null; String date = cleanUpCommas(dateFormat.substring(dateFormat.indexOf("Release Date: ") + new String("Release Date: ").length())); String[] dateAsArray = date.split(" "); if(dateAsArray != null && dateAsArray.length == 3) { S...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getTextInNextTD() throws ParseException {\n return getTextInNextElement(\"td\");\n }", "public String getItemStockdate(){\n\t\t\tString elemVal = \"In Stock\";\n\t\t\t String temp = driver.findElement(productStockDate).getText();\n\t if (!elemVal.equals(null))\n\t \t elemVa...
[ "0.5924712", "0.588086", "0.58219075", "0.5573956", "0.55659115", "0.55486333", "0.54831254", "0.53958654", "0.5353027", "0.53059435", "0.52961236", "0.52823263", "0.5281087", "0.526441", "0.52224886", "0.5193599", "0.51916826", "0.51839435", "0.51670474", "0.515856", "0.5149...
0.0
-1
Generated from IDL interface "Current".
public interface CurrentOperations extends org.omg.CORBA.CurrentOperations { /* constants */ /* operations */ org.omg.CORBA.Any get_slot(int id) throws org.omg.PortableInterceptor.InvalidSlot; void set_slot(int id, org.omg.CORBA.Any data) throws org.omg.PortableInterceptor.InvalidSlot; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getCurrent()\n {\n return current.toString();\n }", "public double getCurrent( )\n {\n // Implemented by student.\n }", "@Override\r\n\tpublic long getCurrent() {\n\t\treturn 0;\r\n\t}", "public Object getCurrentObject()\r\n\t{\r\n\t\tif (newState != null)\r\n\t\t{\r\n\t\t...
[ "0.69943416", "0.694966", "0.68228406", "0.6793937", "0.67926997", "0.6711825", "0.66990954", "0.6684647", "0.6658541", "0.66070503", "0.6580749", "0.6579139", "0.65365815", "0.6473735", "0.6452785", "0.6430348", "0.6429036", "0.6428327", "0.6404771", "0.6393788", "0.62678444...
0.69299006
2
/ constants / operations
org.omg.CORBA.Any get_slot(int id) throws org.omg.PortableInterceptor.InvalidSlot;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface Constants {\n\tpublic interface Paths { \n\t\tfinal String ELASTIC_PUSH_CONTROLLER_PATH = \"/elastic\" ; \n\t\tfinal String SAVE_TRANSACTION = \"/save\"; \n\t\tfinal String SAVE_TARGETS = \"/saveTargets\";\n\t\tfinal String SAVE_FEEDBACK = \"/saveFeedback\"; \n\t\tfinal String SAVE_FEEDBACK_RESPON...
[ "0.6715078", "0.66940224", "0.6625195", "0.6594926", "0.6582409", "0.6444666", "0.64097846", "0.6374039", "0.63308847", "0.63269454", "0.6321148", "0.6319333", "0.6292387", "0.6291372", "0.62789196", "0.62789196", "0.6270664", "0.62614596", "0.6256107", "0.6243374", "0.623630...
0.0
-1
The constructor of ButtonPanel create and adds three JButtons to itself, used for travelling between the three different views.
ButtonPanel() { setLayout(new GridLayout(0,3)); setPreferredSize(new Dimension(1000,100)); setVisible(true); setMaximumSize(new Dimension(1000,250)); reservationButton = new JButton("Reservation View"); bookingButton = new JButton("Booking View"); searchButton = n...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public JButtonsPanel() {\r\n setBorder(BorderFactory.createEtchedBorder(Color.GREEN, new Color(148, 145, 140)));\r\n\r\n jOpen.setText(BTN_OPEN);\r\n jOpen.setToolTipText(MSG_OPEN);\r\n jOpen.setBounds(new Rectangle(BTN_LEFT, BTN_VSPACE, BTN_WIDTH, BTN_HEIGHT));\r\n add(jOpen);\r...
[ "0.76739067", "0.7524645", "0.73897475", "0.732881", "0.7243716", "0.7155153", "0.71301705", "0.7077988", "0.7042701", "0.70415914", "0.6933422", "0.6922732", "0.6920382", "0.6899369", "0.6891373", "0.68887615", "0.6865797", "0.6851294", "0.6849932", "0.6847889", "0.6803175",...
0.7293628
4
This method returns an object of the type JButton whenever it is called.
public JButton getReservationButton() { return reservationButton; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private JButton getJButton() {\n\t\tif (jButton == null) {\n\t\t\tjButton = new JButton();\n\t\t\tjButton.setBounds(new Rectangle(57, 80, 34, 45));\n\t\t}\n\t\treturn jButton;\n\t}", "private JButton getJButton() {\r\n\t\tif (jButton == null) {\r\n\t\t\tjButton = new JButton();\r\n\t\t\tjButton.setBounds(new Rec...
[ "0.8273549", "0.8225487", "0.7878168", "0.754756", "0.75312436", "0.74337494", "0.73498636", "0.7272775", "0.7237992", "0.72243017", "0.7205523", "0.71851826", "0.71773255", "0.7147077", "0.7145333", "0.71432066", "0.7127623", "0.711597", "0.71033174", "0.7096497", "0.7069812...
0.0
-1
This method returns an object of the type JButton whenever it is called.
public JButton getSearchButton() { return searchButton; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private JButton getJButton() {\n\t\tif (jButton == null) {\n\t\t\tjButton = new JButton();\n\t\t\tjButton.setBounds(new Rectangle(57, 80, 34, 45));\n\t\t}\n\t\treturn jButton;\n\t}", "private JButton getJButton() {\r\n\t\tif (jButton == null) {\r\n\t\t\tjButton = new JButton();\r\n\t\t\tjButton.setBounds(new Rec...
[ "0.8273549", "0.8225487", "0.7878168", "0.754756", "0.75312436", "0.74337494", "0.73498636", "0.7272775", "0.7237992", "0.72243017", "0.7205523", "0.71851826", "0.71773255", "0.7147077", "0.7145333", "0.71432066", "0.7127623", "0.711597", "0.71033174", "0.7096497", "0.7069812...
0.0
-1
This method returns an object of the type JButton whenever it is called.
public JButton getBookingViewButton() { return bookingButton; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private JButton getJButton() {\n\t\tif (jButton == null) {\n\t\t\tjButton = new JButton();\n\t\t\tjButton.setBounds(new Rectangle(57, 80, 34, 45));\n\t\t}\n\t\treturn jButton;\n\t}", "private JButton getJButton() {\r\n\t\tif (jButton == null) {\r\n\t\t\tjButton = new JButton();\r\n\t\t\tjButton.setBounds(new Rec...
[ "0.8273549", "0.8225487", "0.7878168", "0.754756", "0.75312436", "0.74337494", "0.73498636", "0.7272775", "0.7237992", "0.72243017", "0.7205523", "0.71851826", "0.71773255", "0.7147077", "0.7145333", "0.71432066", "0.7127623", "0.711597", "0.71033174", "0.7096497", "0.7069812...
0.0
-1
// Step 1 : login to deviceConnect with test user. //
public final void testScript() throws InterruptedException, IOException { // Step 1 : login to deviceConnect with test user. //*************************************************************// strstepDescription = "Login to deviceConnect with valid user."; strexpectedResult = "User should be...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(priority = 0, groups = \"test\")\r\n\tpublic void TestLogin()\r\n\t{\r\n\t\t// Step-1] Login using adminX credentials.\r\n\t login.AdminXLogin();\r\n\t extent.log(LogStatus.INFO, \"LoggedIn successfully.\");\r\n\t wait.until(ExpectedConditions.elementToBeClickable(By.linkText(\"PRODUCT\")));\r\n\t ...
[ "0.70881146", "0.6820694", "0.6783085", "0.67297", "0.6670173", "0.6669421", "0.6642673", "0.6614531", "0.66132355", "0.65879834", "0.6585524", "0.65241736", "0.65209144", "0.6519674", "0.6509164", "0.64809346", "0.64532757", "0.6444973", "0.64330167", "0.64152664", "0.639491...
0.0
-1
static ReadMes receiver = new ReadMes(socket);
public SendMsg(SSLSocket socket) { this.socket = socket; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void onReceive(Object msg) throws Exception {\n }", "private SocketMessage() {\n initFields();\n }", "void onMessageRead(byte[] data);", "private static Socket getSocket() \n{\n return socket; \n }", "private void sendReceiveRes(){\n\t}", "@Override\n public void...
[ "0.6857722", "0.66791916", "0.65751344", "0.6574187", "0.6521767", "0.6490551", "0.64600736", "0.6369816", "0.6315075", "0.62727237", "0.6268372", "0.624995", "0.6245599", "0.61977935", "0.6196449", "0.61944807", "0.6148106", "0.61447144", "0.61147857", "0.6110968", "0.609141...
0.0
-1
/interrupr a thread to release the keyboard /
public static void inter() throws InterruptedException { // Thread.currentThread().sleep(3000); stop = true; // Thread.currentThread().sleep( 3000 ); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void keyReleased() {\n ticker.stop();\n }", "public void stopThread(){\r\n\t\tthis.p.destroy();\r\n\t\ttry {\r\n\t\t\tinput.close();\r\n\t\t} catch (IOException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\tthis.stop();\r\n\t}", "private void ki...
[ "0.6490731", "0.61944646", "0.6184607", "0.6129372", "0.6044861", "0.60124207", "0.5988393", "0.5986667", "0.5981274", "0.5948846", "0.5876569", "0.58611166", "0.58597696", "0.5845521", "0.5794572", "0.5788558", "0.5753363", "0.57460326", "0.57403016", "0.5731937", "0.5710828...
0.0
-1
TODO Autogenerated method stub
@Override public void onCreate(SQLiteDatabase db) { db.execSQL("CREATE TABLE " + favoritesTable + " (" + colID + " INTEGER PRIMARY KEY AUTOINCREMENT , " + colMovieID + " Text , " + colPosterPath + " TEXT , " + colTitle + " TEXT , " + colPlot + " TEXT , " + colRating + " TEXT , " + colRelease + " TEXT)"); ...
{ "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 onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { db.execSQL("DROP TABLE IF EXISTS "+favoritesTable); onCreate(db); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
Create a score board for the final result.
public ScoreBoard(String title, String prefix, String goal, int Dist) { GreenfootImage image = new GreenfootImage(WIDTH, HEIGHT); image.setColor(new Color(0, 0, 0, 160)); image.fillRect(0, 0, WIDTH, HEIGHT); image.setColor(new Color(255, 255, 255, 100)); image.fillRect(5, 5, ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void testScoreboardCaseFour () throws Exception {\n \n // RunID TeamID Prob Time Result\n \n String [] runsData = {\n\n \"1,1,A,1,No\", //20\n \"2,1,A,3,Yes\", //3 (first yes counts Minutes only)\n \"3,1,A,5,No\", //20\n ...
[ "0.6524361", "0.6511059", "0.64595133", "0.64316535", "0.6371521", "0.63640094", "0.6276132", "0.6207808", "0.6157693", "0.61150795", "0.6085399", "0.60659903", "0.60340536", "0.5970587", "0.59695125", "0.5915771", "0.5914905", "0.5902681", "0.5877875", "0.5846048", "0.583976...
0.0
-1
Rafraichit l'affichage de la grille.
public void paintComponent(Graphics g){ try { Image[] img = new Image[3]; for(int y = 0; y<3; y++) img[y] = ImageIO.read(new File("Images/case"+y+".png")); Image IMGgagne = ImageIO.read(new File("Images/gagne.png")); Image IMGperdu = ImageIO.read(new File("Images/perdu.png")); Image[] numero...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Grille() {\n this.grille = new HashSet<>();\n\t\tscore=0;\n }", "Groepen maakGroepsindeling(Groepen aanwezigheidsGroepen);", "Gruppo getGruppo();", "public int getTailleGrille() {\n\t\treturn this.tailleGrille;\r\n\t}", "public int getGrado() {\n\t\treturn grado;\n\t}", "public void affi...
[ "0.67070794", "0.6464055", "0.61905926", "0.6189941", "0.61041224", "0.6066849", "0.6025135", "0.60165524", "0.59601796", "0.59512204", "0.5923258", "0.5898202", "0.5865344", "0.58630186", "0.5859613", "0.5852557", "0.5841003", "0.58228195", "0.58067155", "0.5770196", "0.5737...
0.0
-1
Affiche l'image de fin si le joueur a perdu.
public void setPerdu() { this.perdu = true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void actualizarImagen() {\n\t\tentidadGrafica.actualizarImagen(this.valor);\n\t}", "void imFinished();", "private void aumentarPilha() {\n this.pilhaMovimentos++;\n }", "public void borra() {\n dib.borra();\n dib.dibujaImagen(limiteX-60,limiteY-60,\"tierra.png\");\n dib....
[ "0.61413276", "0.60658395", "0.60117847", "0.5971246", "0.5867946", "0.5854949", "0.5791364", "0.5748429", "0.56811714", "0.56693375", "0.5653349", "0.5609115", "0.5585905", "0.5496076", "0.54789484", "0.5478709", "0.5471366", "0.5447634", "0.5440726", "0.54350746", "0.542647...
0.0
-1
Efface les images de fin de partie.
public void reinitAff() { this.gagne = false; this.perdu = false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void imFinished();", "public void actualizarImagen() {\n\t\tentidadGrafica.actualizarImagen(this.valor);\n\t}", "void clearDataAndProceed() {\n\t\tclearData();\n\t\tfileCounter++;\n\t\tif (fileCounter >= fileNames.size()){\n\t\t\tSystem.exit(0);\n\t\t\tSystem.out.println(\"Images over\");\n\t\t}\n\t\tloadImage...
[ "0.64793307", "0.6288951", "0.6269882", "0.6097646", "0.6078814", "0.6023862", "0.6002497", "0.5986956", "0.59631807", "0.5931487", "0.59084994", "0.5895252", "0.5866557", "0.58528185", "0.58306766", "0.5818557", "0.5817613", "0.57943106", "0.5792997", "0.57835793", "0.577520...
0.0
-1
Get the current system time for the current frame
public static long getTime() { return System.nanoTime(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public long getCurrentSystemTime() {\n return getSystemTime() - startSystemTimeNano;\n }", "private long getSystemTime() {\n ThreadMXBean bean = ManagementFactory.getThreadMXBean();\n return bean.isCurrentThreadCpuTimeSupported() ? (bean.getCurrentThreadCpuTime() - bean.getCurrentThreadUs...
[ "0.8014613", "0.7533406", "0.74533963", "0.74512106", "0.74438864", "0.7422253", "0.73824406", "0.73757523", "0.7359779", "0.7355677", "0.7338108", "0.7329037", "0.73255336", "0.73029697", "0.7253189", "0.72356725", "0.7188871", "0.71737117", "0.71621627", "0.71295106", "0.71...
0.66608894
52
Get the delta (time between this frame and the last)
public static float getDelta() { return (currentTime - lastTime) * DAMPING; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void calculateDelta() {\n // 60 fps <=> delta ~ 0.016f\n //\n long curTime = SystemClock.elapsedRealtimeNanos();\n delta = (curTime - lastTime) / 1_000_000_000.0f;\n lastTime = curTime;\n }", "public int delta()\r\n\t{\r\n\t\treturn smooth ? (resolution / fps) : dur...
[ "0.7515626", "0.74887204", "0.70657915", "0.705724", "0.7048888", "0.6965389", "0.69295657", "0.6874936", "0.6872168", "0.6865146", "0.6847774", "0.6831851", "0.6831474", "0.6825856", "0.68111646", "0.6710018", "0.6699747", "0.66649973", "0.6633689", "0.6618227", "0.65554607"...
0.80215824
0
Remove the damping from the delta for the timestep.
public static float getDeltaMillis() { long t = (long)(getDelta()/DAMPING); return TimeUnit.MILLISECONDS.convert(t, TimeUnit.NANOSECONDS); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void decelerate(int delta) {\n if(x_velocity > 0){\n x_velocity -= decelerationSpeed * delta;\n if(x_velocity < 0)\n x_velocity = 0;\n }else if(x_velocity < 0){\n x_velocity += decelerationSpeed * delta;\n if(x_velocity > 0)\n ...
[ "0.5953769", "0.571768", "0.56780046", "0.56453943", "0.5606506", "0.54686713", "0.5381137", "0.5356373", "0.5356373", "0.5356373", "0.5351977", "0.53480726", "0.531242", "0.5271777", "0.5255692", "0.52101475", "0.52010363", "0.5197807", "0.51677674", "0.51605934", "0.5152935...
0.0
-1
Update the time values for the new frame
public static void update() { lastTime = currentTime; currentTime = getTime(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void updateTime() {\n timer.update();\n frametime = timer.getTimePerFrame();\n }", "private void switchTimeBase()\n {\n currentFrame.size = 0L;\n currentFrame.completeTimeMs = -1L;\n currentFrame.timestamp = -1L;\n prevFrame.copy(currentFrame);\n }", "...
[ "0.7850178", "0.7075475", "0.7019475", "0.6978745", "0.671345", "0.6689346", "0.6601673", "0.65576935", "0.6505972", "0.6505474", "0.64760476", "0.6441327", "0.62935346", "0.6292134", "0.6266966", "0.62533146", "0.6251943", "0.6215276", "0.620487", "0.6177193", "0.61770123", ...
0.69230336
4
Initialise the time object
public static void init() { currentTime = getTime(); lastTime = getTime(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@SuppressWarnings(\"deprecation\")\n private void initTime() {\n //Time time = new Time(System.currentTimeMillis());\n time = new Date().getTime();\n }", "protected Time() {\n\t}", "public Time() {\n this(System.currentTimeMillis());\n }", "private TimeUtil() {}", "public Time...
[ "0.76724327", "0.76196206", "0.7429292", "0.7314855", "0.7270807", "0.72528565", "0.72294277", "0.7139515", "0.7084866", "0.70160735", "0.70012754", "0.6985288", "0.68870896", "0.68727434", "0.68637866", "0.6856198", "0.6854752", "0.6833212", "0.68156123", "0.673122", "0.6727...
0.77380186
0