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
getPositiveRelation Return the positive relation (if any) between this value and the given variable. Throws if no matrix for this variable.
public Value getPositiveRelation( Variable inVar ) throws Exception { if (inVar == _var) return null; try { RelationMatrix mat = _var.getMatrixForVariable( inVar ); return mat.getPositiveRelation( this ); } catch (Exception ex) { throw ex; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getRelation( Value inValue )\n throws Exception\n {\n // identity relation\n if (this == inValue)\n return RelationMatrix.YES;\n\n // two values of the same variable are unrelated\n if (getVariable() == inValue.getVariable())\n return RelationM...
[ "0.6196339", "0.5309193", "0.5077936", "0.49756047", "0.4958083", "0.48614353", "0.4846465", "0.4812412", "0.48120475", "0.48096573", "0.47896838", "0.47852227", "0.47585458", "0.47450206", "0.47376782", "0.47152373", "0.46787882", "0.46343994", "0.46330193", "0.4595893", "0....
0.8114026
0
Tests add to see if integers are correctly added to the list.
@Test void testAdd() { SimpleList test = new SimpleList(); test.add(7); test.add(10); test.add(9); String output = test.toString(); assertEquals("9 10 7", output); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\r\n\tpublic void testAddIntE() {\r\n\t\tassertEquals(0, ll.size());\r\n\t\tassertTrue(ll.isEmpty());\r\n\r\n\t\t// valid additions\r\n\t\tll.add(0, t3);\r\n\t\tassertEquals(1, ll.size());\r\n\t\tll.add(0, t2);\r\n\t\tassertEquals(2, ll.size());\r\n\t\tll.add(2, t4);\r\n\t\tassertEquals(3, ll.size());\r\n\t\t...
[ "0.7556097", "0.73966527", "0.7326184", "0.71702075", "0.69685906", "0.68772924", "0.6731001", "0.67231935", "0.6640818", "0.65600216", "0.65442467", "0.6513612", "0.6486931", "0.64657384", "0.64345086", "0.64035934", "0.6390285", "0.6383845", "0.6381924", "0.6336357", "0.633...
0.0
-1
Tests add to see if integers aren't pushed off the list, but rather the list increases in size when count and list.length are the same value.
@Test void testAdd2() { SimpleList test = new SimpleList(); test.add(1); test.add(2); test.add(3); test.add(4); test.add(5); test.add(6); test.add(7); test.add(8); test.add(9); test.add(10); test.add(11); String output = test.toString(); assertEquals("11 10 9 8 7 6 5 4 3 2 1", output); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void checkAdd(int testSize) {\r\n\t\tSystem.out.println(\"Beginning checkAdd basic add test of size \" + testSize);\r\n\t\tSortedIntList list = new SortedIntList(false, testSize);\r\n\t\tRandom r = new Random();\r\n\t\tfor (int i = 0; i < testSize; i++) {\r\n\t\t\t// remember old list contents in cas...
[ "0.6755372", "0.6707596", "0.66161346", "0.64477783", "0.6214437", "0.6139026", "0.6120599", "0.6090117", "0.6013186", "0.59954685", "0.59414905", "0.5884042", "0.58537096", "0.58141553", "0.5792816", "0.57900655", "0.57776636", "0.576354", "0.5748056", "0.5727778", "0.571908...
0.0
-1
Tests remove to see if a value in the list is removed.
@Test void testRemove() { SimpleList test = new SimpleList(); test.add(7); test.add(10); test.add(9); test.remove(10); String output = test.toString(); assertEquals("9 7", output); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean remove(int val) {\n return list.remove(val);\n }", "@Override\n\tpublic boolean remove(Object value) {\n\t\tint index = indexOf(value);\n\n\t\tif (index == -1) {\n\t\t\treturn false;\n\t\t}\n\n\t\tremove(index);\n\t\treturn true;\n\t}", "@Override\n\tpublic boolean remove(Object value)...
[ "0.72021556", "0.718859", "0.71836466", "0.71535385", "0.71332747", "0.70013744", "0.6980181", "0.6969856", "0.6959792", "0.6921208", "0.6920875", "0.68566793", "0.6836001", "0.6808258", "0.67528325", "0.67103386", "0.6665895", "0.6625828", "0.6599917", "0.6592485", "0.659065...
0.6140071
83
Tests remove to see if a value not in the list is attempted to be removed decrements the count.
@Test void testRemove2() { SimpleList test = new SimpleList(); test.add(7); test.add(10); test.add(9); test.remove(1); String output = test.toString(); assertNotEquals("9 10", output); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public int remove() {\n isEmptyList();\n int result = first.value;\n first = first.next;\n first.previous = null;\n size--;\n return result;\n }", "public boolean removeCount()\n {\n count--;\n if (count <= 0)\n {...
[ "0.681361", "0.6675874", "0.66011643", "0.6449598", "0.6411286", "0.64090794", "0.6367945", "0.62566715", "0.6250924", "0.6235693", "0.62337565", "0.61234736", "0.6107565", "0.6086972", "0.60751665", "0.60724103", "0.60680324", "0.59845006", "0.5969997", "0.5961543", "0.59492...
0.0
-1
Tests remove to see if the length of the list is decreased by 25% after an element is removed (when the conditions are met)
@Test void testRemove3() { SimpleList test = new SimpleList(); test.add(7); test.add(10); test.add(9); test.remove(10); assertEquals(8, test.list.length); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void removeLargeValues(ArrayList<Integer> myList)\n {\n // sort list to make removing values easy\n Collections.sort(myList);\n\n while (myList.size() > 1)\n {\n if (myList.get(myList.size() - 1) > 21)\n myList.remove(myList.size() - 1);\n ...
[ "0.6089457", "0.606933", "0.6067021", "0.6019441", "0.600998", "0.59404814", "0.59110993", "0.5879492", "0.5806376", "0.57646894", "0.5759954", "0.5748746", "0.57205856", "0.571237", "0.56777453", "0.5663106", "0.5649019", "0.5620237", "0.5604647", "0.5604528", "0.5600944", ...
0.55665183
23
Tests remove to see if the length of the list is decreased after an element is removed (when the conditions aren't met)
@Test void testRemove4() { SimpleList test = new SimpleList(); test.add(7); test.add(10); test.add(9); test.remove(1); assertNotEquals(8, test.list.length); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public int remove() {\n isEmptyList();\n int result = first.value;\n first = first.next;\n first.previous = null;\n size--;\n return result;\n }", "@Override\n public boolean remove(final Object element) {\n for (int i = 0; i < size; i++) {\n ...
[ "0.65414864", "0.6497441", "0.645021", "0.6402999", "0.6395886", "0.63762283", "0.62967545", "0.61763704", "0.6122621", "0.6097991", "0.606905", "0.6061257", "0.60394", "0.6039058", "0.6029141", "0.6017245", "0.60034937", "0.6003052", "0.599834", "0.5959255", "0.5956547", "...
0.6077344
10
Tests remove to see if the length of the list may be decreased to less than one entry.
@Test void testRemove5() { SimpleList test = new SimpleList(); test.add(1); test.remove(1); test.add(1); test.remove(1); test.add(1); test.remove(1); test.add(1); test.remove(1); test.add(1); test.remove(1); test.add(1); test.remove(1); test.add(1); test.remove(1); test.add(1); test.remove(1); test.add(1); test.remove(1); test.add(1); test.remove(1); assertNotEquals(0, test.list.length); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void testRemove_Contains_Size_Overflow() {\n SegmentedOasisList<Integer> instance = new SegmentedOasisList<>(2, 2);\n instance.add(1);\n instance.add(1);\n instance.add(1);\n instance.add(1);\n instance.add(1);\n instance.add(1);\n\n instanc...
[ "0.6778885", "0.6653126", "0.65815693", "0.65339196", "0.64844203", "0.64618033", "0.64394224", "0.6416211", "0.633337", "0.6316388", "0.62936217", "0.6290601", "0.6287107", "0.6258052", "0.62340236", "0.62154406", "0.6192233", "0.6191541", "0.61761063", "0.6103491", "0.61000...
0.5941459
34
Tests count to see if the count is correct after adding elements to the list.
@Test void testCount() { SimpleList test = new SimpleList(); test.add(7); test.add(10); test.add(9); int output = test.count(); assertEquals(3, output); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void addToIncreaseCount() {\n testList.add(42);\n assertEquals(1, testList.count());\n }", "@Test\n public void addPastInitialCapacity() {\n for (int iteration = 0; iteration < 20; iteration++) {\n testList.add(42);\n }\n assertEquals(20, test...
[ "0.7133269", "0.70363283", "0.6839238", "0.6748397", "0.67045826", "0.66580766", "0.6615714", "0.6466357", "0.645703", "0.64291847", "0.6382717", "0.63514173", "0.63464516", "0.63426", "0.6258122", "0.6204918", "0.6191966", "0.6127758", "0.6091697", "0.60857767", "0.60730463"...
0.6544222
7
Tests count to see if the count could be more than 10.
@Test void testCount2() { SimpleList test = new SimpleList(); test.add(1); test.add(2); test.add(3); test.add(4); test.add(5); test.add(6); test.add(7); test.add(8); test.add(9); test.add(10); test.add(11); int output = test.count(); assertNotEquals(10, output); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean limitHit() {\r\n return (count >= maxCount);\r\n }", "public static boolean exceedsMaxCount() {\n final long maxTestCount = HostConfig.getMaxTestCount();\n return (maxTestCount > 0) && (mTestCount >= maxTestCount);\n }", "protected void checkThreshold(int count) thr...
[ "0.65338635", "0.6420471", "0.616629", "0.59840065", "0.5945698", "0.5939836", "0.5840989", "0.5840661", "0.58164364", "0.58147436", "0.573338", "0.5712491", "0.56362146", "0.5617981", "0.5610568", "0.55445826", "0.55085", "0.5484081", "0.5439996", "0.54346997", "0.5420233", ...
0.5392105
21
Tests toString to see if the string is empty when there are no elements in the list.
@Test void testToString() { SimpleList test = new SimpleList(); String output = test.toString(); assertEquals("", output); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean empty() {\n return s.isEmpty();\n }", "public boolean isEmpty() {\n return strings.isEmpty();\n }", "public boolean empty() {\n\t return s.isEmpty();\n\t}", "@Test\n\tpublic void NotExamtestListToString() {\n\t\t\n\t\tassertEquals(\"[a,b,c]\",listToString(list));\n\t\tas...
[ "0.7081276", "0.7066315", "0.7038177", "0.7012349", "0.69375455", "0.6873458", "0.68394226", "0.670487", "0.670487", "0.6632122", "0.6619872", "0.66047215", "0.6583343", "0.65815735", "0.65815735", "0.65815735", "0.65815735", "0.65815735", "0.65815735", "0.65815735", "0.65503...
0.6838496
7
Test toString to see if spaces are placed after elements.
@Test void testToString2() { SimpleList test = new SimpleList(); test.add(2); String output = test.toString(); assertNotEquals("2 ", output); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private boolean spaces() {\r\n return OPT(GO() && space() && spaces());\r\n }", "public static String addSpace(Object o)\r\n/* 100: */ {\r\n/* 101: 96 */ String s = o.toString().trim();\r\n/* 102: 97 */ if (s.isEmpty()) {\r\n/* 103: 98 */ return \"\";\r\n/* 104: */ }\r\n/* 105...
[ "0.65501636", "0.6416747", "0.6226361", "0.6122466", "0.5974794", "0.5903737", "0.58133435", "0.5748944", "0.57352835", "0.57004905", "0.56830597", "0.5647283", "0.56470764", "0.5641685", "0.5631643", "0.5619757", "0.56130934", "0.5597588", "0.5593995", "0.5581907", "0.556457...
0.49686384
91
Tests search to see if the location of an element in the list is correct.
@Test void testSearch() { SimpleList test = new SimpleList(); test.add(7); test.add(10); test.add(9); int output = test.search(10); assertEquals(1, output); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\r\n\tvoid testSearch2() {\r\n\t\tSimpleList test = new SimpleList();\r\n\t\ttest.add(7);\r\n\t\ttest.add(10);\r\n\t\ttest.add(9);\r\n\t\tint output = test.search(4);\r\n\t\tassertNotEquals(3, output);\r\n\t}", "boolean checkItem (List<Student> search, int item){\r\n // We use for loop to search\r\n ...
[ "0.7140621", "0.6700562", "0.6538853", "0.65114474", "0.64133996", "0.6344143", "0.6332507", "0.6295158", "0.6215325", "0.6207191", "0.6145843", "0.6145684", "0.61337435", "0.61103916", "0.60547847", "0.60303676", "0.60235906", "0.60069525", "0.59893405", "0.58945966", "0.588...
0.7470539
0
Tests search to see if the location of an element not present in the list outputs the count instead of 1.
@Test void testSearch2() { SimpleList test = new SimpleList(); test.add(7); test.add(10); test.add(9); int output = test.search(4); assertNotEquals(3, output); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\r\n\tvoid testSearch() {\r\n\t\tSimpleList test = new SimpleList();\r\n\t\ttest.add(7);\r\n\t\ttest.add(10);\r\n\t\ttest.add(9);\r\n\t\tint output = test.search(10);\r\n\t\tassertEquals(1, output);\r\n\t}", "static int missingNumber(int arr[], int size)\n {\n Arrays.sort(arr);\n int search...
[ "0.6188457", "0.59719956", "0.59207034", "0.58785385", "0.58744735", "0.5862708", "0.58261406", "0.5791325", "0.5755991", "0.56851196", "0.5680994", "0.5660758", "0.56562483", "0.5651207", "0.5619257", "0.5570286", "0.556704", "0.5564028", "0.5537499", "0.54938483", "0.549309...
0.62012196
0
Tests append to see if integers are correctly added to the end of the list.
@Test void testAppend() { SimpleList test = new SimpleList(); test.append(7); test.append(10); test.append(9); String output = test.toString(); assertEquals("7 10 9", output); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void testAppend(Tester t) {\n t.checkExpect(ints1.length(), 1);\n t.checkExpect(ints2.length(), 2);\n t.checkExpect(ints3.length(), 2);\n\n ints1.append(ints2);\n\n t.checkExpect(ints1.length(), 3);\n\n ints2.append(ints3);\n\n t.checkExpect(ints1.length(), 5);\n ...
[ "0.76499856", "0.6785407", "0.6603377", "0.64990306", "0.6385299", "0.61826736", "0.60886866", "0.6008874", "0.598397", "0.5957424", "0.5947468", "0.5913015", "0.5908372", "0.5906801", "0.5869007", "0.58681005", "0.5853975", "0.5815444", "0.58140147", "0.5801121", "0.5799166"...
0.6205874
5
Tests append to see if the list increases in size when count and list.length are the same value.
@Test void testAppend2() { SimpleList test = new SimpleList(); test.append(1); test.append(2); test.append(3); test.append(4); test.append(5); test.append(6); test.append(7); test.append(8); test.append(9); test.append(10); test.append(11); String output = test.toString(); assertEquals("1 2 3 4 5 6 7 8 9 10 11", output); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public boolean isFull(){\n return (count == size);\n \n }", "void testAppend(Tester t) {\n t.checkExpect(ints1.length(), 1);\n t.checkExpect(ints2.length(), 2);\n t.checkExpect(ints3.length(), 2);\n\n ints1.append(ints2);\n\n t.checkExpect(ints1.leng...
[ "0.6335923", "0.63120025", "0.6295299", "0.62900764", "0.6219732", "0.6166748", "0.6154142", "0.6124717", "0.61097795", "0.610819", "0.60875183", "0.60357314", "0.599029", "0.59835297", "0.59268516", "0.58613485", "0.58293736", "0.580926", "0.57509506", "0.57471174", "0.57411...
0.0
-1
Tests first to see if the first element is correctly returned.
@Test void testFirst() { SimpleList test = new SimpleList(); test.add(3); test.add(7); test.add(10); int output = test.first(); assertEquals(10, output); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean first() {\n initialize();\n return next();\n }", "public Object firstElement();", "public boolean isFirst() {\n\t\treturn first;\n\t}", "public E getFirst() {\r\n\t\t// element checks to see if the list is empty\r\n\t\treturn element();\r\n\t}", "public Object ge...
[ "0.7642023", "0.7308109", "0.71965134", "0.7031944", "0.6944708", "0.69238484", "0.6898601", "0.6864166", "0.6832858", "0.6800249", "0.6767116", "0.6767116", "0.67530864", "0.66948265", "0.66714746", "0.66691256", "0.66691256", "0.66641194", "0.66494596", "0.6640277", "0.6627...
0.73220295
1
Tests first to see if 1 is returned when there is no elements in the list.
@Test void testFirst2() { SimpleList test = new SimpleList(); int output = test.first(); assertEquals(-1, output); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int checkEmpty() {\n\t\treturn (slist.checkEmpty());\n\n\t}", "@Override\n public boolean isEmpty()\n {\n return list.size()<1;\n }", "@Override\n public boolean isEmpty() {\n if(first == null){ //if first element does not exist, the whole is empty\n return true;\n ...
[ "0.69617265", "0.6857921", "0.6699414", "0.66934705", "0.66031116", "0.6579737", "0.6549082", "0.6515224", "0.650307", "0.64405894", "0.6429577", "0.6370263", "0.63539064", "0.6335651", "0.6334737", "0.6320314", "0.63189924", "0.63189924", "0.6307634", "0.63033426", "0.629933...
0.0
-1
Tests last to see if the last element is correctly returned.
@Test void testLast() { SimpleList test = new SimpleList(); test.add(3); test.add(7); test.add(10); int output = test.last(); assertEquals(3, output); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean isLast() {\n return !hasNext();\n }", "@Test\r\n\tvoid testLast2() {\r\n\t\tSimpleList test = new SimpleList();\r\n\t\tint output = test.last();\r\n\t\tassertEquals(-1, output);\r\n\t}", "public boolean isLast() {\n\t\treturn last;\n\t}", "public boolean last() {\n boolean result...
[ "0.77328736", "0.7697624", "0.76199436", "0.7568739", "0.75422436", "0.7532612", "0.73994344", "0.7357941", "0.7256227", "0.7053312", "0.7009564", "0.69809914", "0.69528913", "0.6908101", "0.68972456", "0.68753695", "0.6853155", "0.6846034", "0.6774811", "0.6773778", "0.67697...
0.7901449
0
Tests last to see if 1 is returned when there is no elements in the list.
@Test void testLast2() { SimpleList test = new SimpleList(); int output = test.last(); assertEquals(-1, output); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private int lastNotNull() {\n\t\treturn (!this.checkEmpty()) ? findLast() : 0;\n\t}", "boolean isListRemainingEmpty();", "public boolean isLast() {\n\t\treturn (next == null);\n\t}", "boolean isLast() {\n return !hasNext();\n }", "@Override\n public boolean isEmpty()\n {\n return lis...
[ "0.7066071", "0.6884396", "0.6833435", "0.67863864", "0.6767931", "0.67395765", "0.6697079", "0.6658391", "0.6574124", "0.6523229", "0.6469002", "0.6446688", "0.6364103", "0.63366854", "0.6332677", "0.62949723", "0.624956", "0.6241375", "0.623158", "0.6224903", "0.6213674", ...
0.6459407
11
Tests size to see if the length of the list is correctly returned.
@Test void testSize() { SimpleList test = new SimpleList(); int output = test.size(); assertEquals(10, output); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\r\n\tpublic void testSize() {\r\n\t\tAssert.assertEquals(15, list.size());\r\n\t}", "private void testSize() {\n init();\n assertTrue(\"FListInteger.size(l0)\", FListInteger.size(l0) == 0);\n assertTrue(\"FListInteger.size(l1)\", FListInteger.size(l1) == 1);\n assertTrue(\"FList...
[ "0.7928932", "0.78463054", "0.7753675", "0.77002096", "0.7637176", "0.75081104", "0.72380775", "0.7116827", "0.70826614", "0.708259", "0.7041849", "0.7008428", "0.69534326", "0.6922657", "0.69147307", "0.6895915", "0.6863628", "0.6863628", "0.6863628", "0.6863628", "0.6852285...
0.7649702
4
Tests size to see if the length of the list after it is increased by 50% is correctly returned.
@Test void testSize2() { SimpleList test = new SimpleList(); test.append(1); test.append(2); test.append(3); test.append(4); test.append(5); test.append(6); test.append(7); test.append(8); test.append(9); test.append(10); test.append(11); int output = test.size(); assertEquals(15, output); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\r\n\tpublic void testSize() {\r\n\t\tAssert.assertEquals(15, list.size());\r\n\t}", "private void testSize() {\n System.out.println(\"------ TESTING: size() ----- \");\n System.out.println(\"Expected: \" +iSize);\n System.out.print(\"Returned: \");\n try{\n if(iTestLi...
[ "0.7502945", "0.7226264", "0.7081427", "0.69897044", "0.69475406", "0.6829275", "0.6735386", "0.67234325", "0.6650208", "0.6586059", "0.6511371", "0.6492583", "0.6473572", "0.644614", "0.6432428", "0.6428231", "0.63805866", "0.6360411", "0.63599527", "0.6331197", "0.63272375"...
0.7214631
2
Tests size to see if the length of the list after it is decreased by 25% is correctly returned.
@Test void testSize3() { SimpleList test = new SimpleList(); test.add(1); test.remove(1); int output = test.size(); assertEquals(8, output); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\r\n\tpublic void testSize() {\r\n\t\tAssert.assertEquals(15, list.size());\r\n\t}", "private boolean ifTooEmpty() {\n if (items.length <= 8) {\n return false;\n }\n float efficiency = (float) size / (float) items.length;\n return efficiency < 0.25;\n }", "@Test\r...
[ "0.68958807", "0.67249763", "0.67153615", "0.6612745", "0.65531665", "0.64263994", "0.6276606", "0.62584734", "0.62083364", "0.61766267", "0.61755943", "0.6088385", "0.6047234", "0.6038163", "0.6016266", "0.6001924", "0.59643257", "0.5947777", "0.5925063", "0.5893522", "0.587...
0.63045
6
These are variables, they are a place to store data. Syntax with assigned value: type identifier = value; Syntax without assigned value: type identifier1, identifier2, variableN. Identifiers are case sensitive, and they cannot be be keywords or reserved words.
public static void main(String args[]) { int eggs = 6; int baskets = 10; System.out.println("If you have \n" + eggs + " eggs per basket and \n" + baskets + " baskets, then \n" + "the total number of eggs " + eggs * baskets); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Variables createVariables();", "public void store(final String text, final String variableName);", "public Variable(String name) {\r\n\tthis.name = name;\r\n }", "Variable(String _var) {\n this._var = _var;\n }", "public Variable(String name){\n this.name = name;\n }", "public void setVa...
[ "0.66503733", "0.6584756", "0.65541726", "0.6538863", "0.6517357", "0.64144355", "0.63622063", "0.63242406", "0.62777346", "0.6269578", "0.6219821", "0.6219821", "0.62090856", "0.6181094", "0.6173467", "0.6168726", "0.6147826", "0.6135802", "0.6086995", "0.6081228", "0.607438...
0.0
-1
returns the ngram features of a given sentence
public ClassicCounter<String> getFeatures(String sentence, ClassicCounter<String> counter, int nMin, int nMax) { sentence = sentence.toLowerCase().replaceAll(" ", "_"); sentence = "_" + sentence + "_"; for (int j = nMin - 1; j < nMax; j++) { for (int i = 0; i < sentence.length() - j; i++) { if (j == 0 && sentence.substring(i, i + j + 1).equals("_")) continue; counter.incrementCount(sentence.substring(i, i + j + 1), 1); } } return counter; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Set<String> nGramGenerator(String sentence, int minGram, int maxGram, boolean unigrams) {\n Set<String> out = new HashSet();\n try {\n StringReader reader = new StringReader(sentence);\n StandardTokenizer source = new StandardTokenizer(LUCENE_VERSION, reader);\n TokenStream tokenStream ...
[ "0.6197381", "0.61388236", "0.5928616", "0.5713736", "0.5660161", "0.55787206", "0.5472417", "0.54303986", "0.5297187", "0.5271043", "0.5182939", "0.5170664", "0.51495504", "0.51093656", "0.5064755", "0.50534904", "0.5047576", "0.50445753", "0.503821", "0.50209934", "0.498793...
0.56718206
4
Creates an InputStream object wrapped around a DataFile object. This is a simple wrapper around a DataFile object. Any access on the underlying DataFile object while the input stream is in use will lead to undefined behaviour. Note that this is only intended as a short lived object for reading information from a DataFile.
public static InputStream asInputStream(DataFile df) { return new DFInputStream(df); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public DataInputStream openDataInputStream() throws IOException {\n return new DataInputStream(openInputStream());\n }", "public static DataInputStream asDataInputStream(DataFile df) {\n return new DataInputStream(asInputStream(df));\n }", "public InputStream asInputStream() {\n return new...
[ "0.6752073", "0.66671735", "0.65760267", "0.6481602", "0.64626336", "0.6447974", "0.6376468", "0.63401717", "0.6292125", "0.6269906", "0.625968", "0.6222981", "0.61958325", "0.6121683", "0.6100092", "0.6090618", "0.60679084", "0.60665464", "0.60557884", "0.6051543", "0.599734...
0.7237065
0
Creates an OutputStream object wrapped around a DataFile object. This is a simple wrapper around a DataFile object. Any access on the underlying DataFile object while the output stream is in use will lead to undefined behaviour. This object overwrites any information stored in the data file past the current position. Note that this is only intended as a short lived object for writing data to a DataFile.
public static OutputStream asOutputStream(DataFile df) { return new DFOutputStream(df); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public DataOutputStream openDataOutputStream() throws IOException {\n return new DataOutputStream(openOutputStream());\n }", "public OutputStream openOutputStream() throws IOException {\n return new FileOutputStream(this);\n }", "public static DataOutputStream asDataOutputStream(DataFile df) {\n ...
[ "0.67336977", "0.66168714", "0.6555197", "0.6499058", "0.6365964", "0.63351464", "0.6244302", "0.61699706", "0.5995766", "0.5976442", "0.5937978", "0.59337145", "0.5914038", "0.59117717", "0.58770186", "0.5875458", "0.57954633", "0.5791758", "0.57866645", "0.57295215", "0.559...
0.68118966
0
Creates and returns a DataInputStream object wrapped around a DataFile object. Any access on the underlying DataFile object while the input stream is in use will lead to undefined behaviour. Note that this is only intended as a short lived object for reading information from a DataFile.
public static DataInputStream asDataInputStream(DataFile df) { return new DataInputStream(asInputStream(df)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public DataInputStream openDataInputStream() throws IOException {\n return new DataInputStream(openInputStream());\n }", "public static InputStream asInputStream(DataFile df) {\n return new DFInputStream(df);\n }", "public DataInputStream openDataInputStream() throws IOException {\n\n\tthrow new ...
[ "0.72932583", "0.660055", "0.65285605", "0.64551795", "0.62848985", "0.61324817", "0.58884794", "0.58843344", "0.58286834", "0.58056974", "0.57712877", "0.5702827", "0.5635048", "0.5616626", "0.5575468", "0.5550842", "0.55350316", "0.5468091", "0.54581046", "0.54401606", "0.5...
0.70902854
1
Creates and returns a DataOutputStream object wrapped around a DataFile object. Any access on the underlying DataFile object while the output stream is in use will lead to undefined behaviour. This object overwrites any information stored in the data file past the current position. Note that this is only intended as a short lived object for writing data to a DataFile.
public static DataOutputStream asDataOutputStream(DataFile df) { return new DataOutputStream(asOutputStream(df)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public DataOutputStream openDataOutputStream() throws IOException {\n return new DataOutputStream(openOutputStream());\n }", "public DataOutputStream openDataOutputStream() throws IOException {\n\n\tthrow new IllegalArgumentException(\"Not supported\");\n }", "public static OutputStream asOutputSt...
[ "0.6999709", "0.6419771", "0.6325597", "0.62163496", "0.6139638", "0.59966844", "0.587339", "0.580876", "0.57892305", "0.5700104", "0.5683359", "0.5617777", "0.54965794", "0.5435493", "0.5425667", "0.541762", "0.5384565", "0.53655136", "0.5327232", "0.5325291", "0.5322838", ...
0.67462236
1
Returns an empty immutable DataFile implementation.
public static AddressableDataFile getEmptyImmutableDataFile() { return new EmptyDataFile(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public File() {\n\t\tthis.name = \"\";\n\t\tthis.data = \"\";\n\t\tthis.creationTime = 0;\n\t}", "public static FileData createEntity() {\n FileData fileData = Reflections.createObj(FileData.class, Lists.newArrayList(\n\t\t FileData.F_NAME\n\t\t,FileData.F_PATH\n\t\t,FileData.F_SIZE\n\t\t,FileData.F_TYPE\...
[ "0.67119277", "0.6257378", "0.6226163", "0.61326146", "0.6088047", "0.5942714", "0.5907928", "0.58554", "0.58357525", "0.571842", "0.5705113", "0.56867945", "0.56835663", "0.5675929", "0.5632647", "0.5607571", "0.5592334", "0.5592334", "0.5587823", "0.55870897", "0.55865794",...
0.85509324
0
private long change_count = 0;
SDDFOutputStream(DataFile df) { this.df = df; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public long count() {\n/* 154 */ return this.count;\n/* */ }", "long getLastChanged();", "@Override\n public int getNbChanges()\n {\n return nbChanges;\n }", "long getChangeset();", "public Long getChangeNum() {\n return changeNum;\n }", "@Override\n\tpublic int update...
[ "0.6859699", "0.66274583", "0.65787584", "0.65706575", "0.65205544", "0.65196025", "0.6491113", "0.64526165", "0.6414023", "0.63794476", "0.6362809", "0.63626343", "0.636229", "0.63499254", "0.6339035", "0.633786", "0.6311713", "0.62907964", "0.62622595", "0.6257404", "0.6221...
0.0
-1
Only write if either the position is at the end or the current value is different.
@Override public void write(int b) throws IOException { byte ib = (byte) b; long p = df.position(); // If not at the end yet, if (p < df.size()) { // Get the current value, byte cur_b = df.get(); // If the value we are inserting is different, if (cur_b != ib) { // Reposition and put the new value, df.position(p); df.put(ib); // ++change_count; } } // At the end so write the byte, else { df.put(ib); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private boolean checkNoDataAfterEnd(long pos) {\n if (!bytes.inside(pos, 4L))\n return true;\n if (pos <= bytes.writeLimit() - 4) {\n final int value = bytes.bytesStore().readVolatileInt(pos);\n if (value != 0) {\n String text;\n long pos...
[ "0.5915142", "0.5702846", "0.55076647", "0.54362667", "0.5390217", "0.53525", "0.53426206", "0.5334821", "0.5320361", "0.5314965", "0.5267663", "0.5228525", "0.52086735", "0.52055156", "0.5182384", "0.5159957", "0.51531225", "0.5148683", "0.5145509", "0.51446974", "0.5127417"...
0.5692517
2
If the size being copied is not zero, generate error
@Override public void copyFrom(DataFile from, long size) { if (size > 0) { throw emptyDataFileException(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void checkSize(){\n if (size == data.length){\n resize( 2 * data.length);\n }\n }", "private void checkAndModifySize() {\r\n if (size == data.length * LOAD_FACTOR) {\r\n resizeAndTransfer();\r\n }\r\n }", "protected void _checkInvalidCopy(Class<...
[ "0.63696986", "0.6155006", "0.5942964", "0.5916741", "0.5714102", "0.56868005", "0.5685506", "0.5614333", "0.56131077", "0.55167246", "0.54334867", "0.5422505", "0.5421179", "0.540624", "0.5397402", "0.53929806", "0.53893894", "0.5383991", "0.537804", "0.5370513", "0.5367696"...
0.65112716
0
If from is not empty, generate an error
@Override public void replicateFrom(DataFile from) { if (from.size() > 0) { throw emptyDataFileException(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void doInputValidation(String from, String subject, String content) {\n if (from == null) {\n throw new IllegalArgumentException(ERR_MSG_FROM_IS_NULL);\n } else if (\"\".equalsIgnoreCase(from.trim())) {\n throw new IllegalArgumentException(ERR_MSG_FROM_IS_EMPTY);\n ...
[ "0.58353806", "0.5613243", "0.55871385", "0.5486649", "0.5450926", "0.544806", "0.5309608", "0.5302514", "0.52804554", "0.5220108", "0.5210273", "0.519508", "0.5178799", "0.51774794", "0.5168221", "0.5166063", "0.5116574", "0.5098849", "0.50940293", "0.5067004", "0.5066865", ...
0.5868215
0
TODO Autogenerated method stub
public static void main(String[] args) { java.util.HashMap<Integer,String> h=new java.util.HashMap<Integer,String>(); //Keys,values h.put(1,"alla"); h.put(2, "gopal"); h.put(3, "Barathi"); h.put(4, "thirupathi"); h.put(5,""); h.put(6,""); h.put( null, "hello"); h.put( null, "hi"); //It will take only one null key and number null values h.replace(1, "alla","yeshwanth"); System.out.println(h); System.out.println(h.get(3)); System.out.println(h.replace(2, "gopal", "Gopalreddy")); Set s=h.entrySet(); Iterator i=s.iterator(); while(i.hasNext()) { Map.Entry m=(Map.Entry)i.next(); System.out.println(m.getKey()); //if you want seperately print keys System.out.println(m.getValue()); //If you want seperately print values } }
{ "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
The correct usage of the WebClient to automatically report metrics, so dont't construct the client manually like the following: WebClient client = WebClient.builder().build(); Even though this works fine for making HTTP calls, it won't get metrics from such instances outofthebox. Instead of creating WebClient instances from scratch (like above), inject an instance of WebClient.Builder and start from there. This builder instance is already configured to automatically report metrics. By the way, the same works for the RestTemplate, just use RestTemplateBuilder then. Given this preconfigured builder, it should be defined a WebClient bean for the whole application to add general timeouts. This is optional, and it is also possible to use WebClient.Builder directly within in classes.
@Bean // Inject this bean -> -at Qualifier("webClient") public WebClient webClient() { final TcpClient tcpClient = TcpClient.create() .option(ChannelOption.CONNECT_TIMEOUT_MILLIS, TIMEOUT) .doOnConnected(conn -> conn.addHandlerLast(new ReadTimeoutHandler(TIMEOUT)).addHandlerLast(new WriteTimeoutHandler(TIMEOUT))) .wiretap(true); // Helps logging, each request and response will be logged in full detail. @SuppressWarnings("deprecation") final ClientHttpConnector clientHttpConnector = new ReactorClientHttpConnector( HttpClient.from(tcpClient).keepAlive(true)); return webClientBuilder .baseUrl(this.consumerBaseUrl) .codecs(clientCodecConfigure -> clientCodecConfigure.defaultCodecs().enableLoggingRequestDetails(true)) .clientConnector(clientHttpConnector) // .codecs(clientConfigurer -> clientConfigurer.defaultCodecs().maxInMemorySize(TRANFER_SIZE * 1024 * 1024)) // is set in application.properties -> spring.codec.max-in-memory-size .defaultHeader(HttpHeaders.CONTENT_TYPE, MediaType.APPLICATION_JSON_VALUE) .defaultHeader(HttpHeaders.USER_AGENT, USER_AGENT) .filters(exchangeFilterFunctions -> { exchangeFilterFunctions.add(logRequest()); // exchangeFilterFunctions.add(logResponse()); }) .build(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private OkHttpClient createClient(){\n HttpLoggingInterceptor logging = new HttpLoggingInterceptor();\n logging.setLevel(HttpLoggingInterceptor.Level.BODY);\n return new OkHttpClient.Builder()\n .addInterceptor(logging)\n .readTimeout(30, TimeUnit.SECONDS)\n ...
[ "0.60076505", "0.5916625", "0.5844144", "0.5821863", "0.5816768", "0.5793351", "0.5688163", "0.56714976", "0.5608044", "0.55744797", "0.5560273", "0.55537426", "0.55385524", "0.55184877", "0.55173105", "0.5511929", "0.5509845", "0.5509152", "0.5502445", "0.54600537", "0.54600...
0.6563719
0
This bean configures the webclient for github access. NOTE: There two different webClient configurations in this class to differeniate
@Bean // Inject this bean -> -at Qualifier("githubWebClient") public WebClient githubWebClient() { final DefaultUriBuilderFactory defaultUriBuilderFactory = new DefaultUriBuilderFactory(this.githubBaseUrl); defaultUriBuilderFactory.setEncodingMode(DefaultUriBuilderFactory.EncodingMode.NONE); final TcpClient tcpClient = TcpClient.create() .option(ChannelOption.CONNECT_TIMEOUT_MILLIS, TIMEOUT) .doOnConnected(conn -> conn.addHandlerLast(new ReadTimeoutHandler(TIMEOUT)).addHandlerLast(new WriteTimeoutHandler(TIMEOUT))) .wiretap(true); // Helps logging, each request and response will be logged in full detail. @SuppressWarnings("deprecation") final ClientHttpConnector clientHttpConnector = new ReactorClientHttpConnector( HttpClient.from(tcpClient).keepAlive(true)); return webClientBuilder .uriBuilderFactory(defaultUriBuilderFactory) .baseUrl(this.githubBaseUrl) .codecs(clientCodecConfigure -> clientCodecConfigure.defaultCodecs().enableLoggingRequestDetails(true)) .clientConnector(clientHttpConnector).codecs(clientConfigurer -> clientConfigurer.defaultCodecs().maxInMemorySize(TRANFER_SIZE * 1024 * 1024)) .defaultHeader(HttpHeaders.CONTENT_TYPE, GITHUB_V3_MIME_TYPE) .defaultHeader(HttpHeaders.USER_AGENT, USER_AGENT) .filter(ExchangeFilterFunctions .basicAuthentication(/*appProperties.getGithub().getUsername(), appProperties.getGithub().getToken())*/"username", "password")) .filters(exchangeFilterFunctions -> { exchangeFilterFunctions.add(logRequest()); // exchangeFilterFunctions.add(logResponse()); }) .build(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public GithubClient() {\n// client = ClientBuilder.newClient();\n// userTarget = client.target(\"https://api.github.com/users/{username}\");\n// userRepoTarget = client.target(\"https://api.github.com/users/{username}/repos\");\n// releaseCountTarget = client.target(\"https://api.github...
[ "0.66716146", "0.62694657", "0.5855533", "0.5711169", "0.56443983", "0.5637216", "0.560258", "0.55931246", "0.55533326", "0.5307424", "0.52497923", "0.5203868", "0.5186141", "0.5179543", "0.51784724", "0.51605976", "0.51025915", "0.5099808", "0.5085769", "0.505818", "0.499971...
0.7953814
0
Test case for widgets sorted by color
@Test public void testShipment_Sorted_By_Color() { List<Widget> widgets = shipment.getWidgetsSortedByColor(); assertNotNull(widgets); assertTrue(widgets.size() == 10); Widget widget1 = (Widget) widgets.get(0); Widget widget2 = (Widget) widgets.get(1); assertTrue(widget1.getColor().compareTo(widget2.getColor()) <= 0); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void refreshColorPanel() {\n if (quickPaintAnnotationButton != null) {\r\n quickPaintAnnotationButton.refreshColorPanel();\r\n }\r\n\r\n colorFilterMenuItem.removeAll();\r\n // build colour submenu based on colour labels\r\n ButtonGroup filterColorMenuGroup = ne...
[ "0.59774685", "0.5946509", "0.5927032", "0.5873774", "0.5743092", "0.56488186", "0.5572051", "0.5493277", "0.5464067", "0.54624546", "0.5436536", "0.5429687", "0.5412256", "0.5365714", "0.53438336", "0.5328156", "0.53171545", "0.52887666", "0.5253024", "0.5240315", "0.5201591...
0.7906374
0
Test case for widgets sorted by date
@Test public void testShipment_Sorted_By_Date() { List<Widget> widgets = shipment.getWidgetsSortedByDate(); assertNotNull(widgets); assertTrue(widgets.size() == 10); Widget widget1 = (Widget) widgets.get(0); Widget widget2 = (Widget) widgets.get(1); assertTrue(widget1.getColor().compareTo(widget2.getColor()) <= 0); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(priority = 7)\n\tpublic void validateSortingByDate() {\n\t\tlog = Logger.getLogger(HeroImageProducttestscripts.class);\n\t\tLogReport.getlogger();\n\t\tlogger = extent.startTest(\"Validating the Sorting functionality\");\n\t\tHeroImageProductPageFlow.selectSortingDropdown(0, locator);\n\t\theroImg.validateDa...
[ "0.6846948", "0.6818551", "0.6798172", "0.6554841", "0.6516355", "0.64637035", "0.64198697", "0.62813157", "0.6252382", "0.6018829", "0.592178", "0.5904388", "0.5850065", "0.5772264", "0.57528174", "0.56819624", "0.56682837", "0.56550425", "0.5643247", "0.5622375", "0.5607528...
0.8155366
0
/ renamed from: a
private void m6903a() { SharedPreferences sharedPreferences = getSharedPreferences(C1848b.a().getClass().getName(), 0); this.f5647p = (double) Float.parseFloat(sharedPreferences.getString("beast.location.manager.lat", "0")); this.f5648q = (double) Float.parseFloat(sharedPreferences.getString("beast.location.manager.lon", "0")); if (this.f5647p == 0.0d && this.f5648q == 0.0d) { this.f5645n.a(getResources().getString(C1373R.string.str_locating_failed)); return; } this.f5646o = new C2219a(this); this.f5640i.clear(); m6904a(this.f5648q, this.f5647p, 300.0f, this.f5650s, this.f5651t, this.f5652u, this.f5653v, ""); }
{ "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
/ renamed from: a
public void m6914a(Location location) { if (location != null) { if (this.f5630B != null) { this.f5630B.cancel(); } this.f5638g.setEnabled(true); this.f5651t = "0,100"; this.f5656y.a(location); m6903a(); } }
{ "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
/ renamed from: b
private void m6906b() { LocationClientOption locationClientOption = new LocationClientOption(); locationClientOption.setOpenGps(true); locationClientOption.setPriority(1); locationClientOption.setCoorType("bd09ll"); locationClientOption.setScanSpan(5000); locationClientOption.setAddrType("all"); this.f5657z = new LocationClient(this); this.f5657z.registerLocationListener(this); this.f5657z.setLocOption(locationClientOption); this.f5657z.start(); this.f5657z.requestLocation(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void mo2508a(bxb bxb);", "@Override\n public void func_104112_b() {\n \n }", "@Override\n public void b() {\n }", "public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }", "@Override\n\tpublic void b2() {\n\t\t\n\t}", "v...
[ "0.64558864", "0.6283203", "0.6252635", "0.6250949", "0.6244743", "0.6216273", "0.6194491", "0.6193556", "0.61641675", "0.6140157", "0.60993093", "0.60974354", "0.6077849", "0.6001867", "0.5997364", "0.59737104", "0.59737104", "0.5905105", "0.5904295", "0.58908087", "0.588663...
0.0
-1
/ renamed from: a
private void m6904a(double d, double d2, float f, String str, String str2, String str3, String str4, String str5) { getAsyncTaskQueue().a(new CompetitionSectionActivity$5(this, d, d2, f, str, str2, str3, str4, str5), new Void[0]); }
{ "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
/ renamed from: a
public void m6913a(int i) { FragmentTransaction beginTransaction = this.f5639h.beginTransaction(); switch (i) { case 1: this.f5637f.setImageResource(C1373R.drawable.ic_section_location); if (this.f5645n != null) { beginTransaction.show(this.f5645n); } else { this.f5645n = new SectionListFragment(); beginTransaction.add((int) C1373R.id.activity_competition_section_content, this.f5645n); } this.f5654w.setVisibility(8); break; case 2: this.f5637f.setImageResource(C1373R.drawable.ic_section_search_list); this.f5654w.setVisibility(0); if (this.f5645n != null) { beginTransaction.hide(this.f5645n); break; } break; } beginTransaction.setTransition(8194).commitAllowingStateLoss(); this.f5637f.setEnabled(true); }
{ "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
Este metodo trata el mensaje que le llega.
public void onMessage(Message message) throws RuntimeException { try { if (logger.isDebugEnabled()) logger.debug("Begin:onMessage"); // Implementation if (message instanceof ObjectMessage) { if (logger.isDebugEnabled()) logger.debug("Transformo el mensaje"); ObjectMessage obj = (ObjectMessage) message; OdeVO ode = (OdeVO)obj.getObject(); if (logger.isDebugEnabled()) logger.debug("El ode es id ["+ode.getIdentificadorMEC()+"] MainFile ["+ode.getMainFile()+"]"); //Si todo ha ido bien hago la petición RMI pasando el Objeto if (logger.isDebugEnabled()) logger.debug("Solicitud RMI"); this.generateImage4Id(ode); if (logger.isDebugEnabled()) logger.debug("Fin Solicitud RMI"); } else { if (logger.isDebugEnabled()) logger.debug("No hay más mensajes que tratar"); } //session.close(); if (logger.isDebugEnabled()) logger.debug("End:onMessage"); } catch (Exception ex) { if (message != null) { logger.error("Se ha producido un error al leer el mensaje ["+message+"]", ex); } throw new RuntimeException(ex); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void getMessage() {\n\t\tSystem.out.println(\"getMessage() 출력...\");\r\n\t}", "public void getMessage() {\n\r\n\t}", "public void showMessage(){\n\t jsfMessageHelper.addInfo(\"Mesaj:\", (messageTxt==null?\"?\":messageTxt));\r\n\t}", "private void exibe_mensagem(String msg){\n ...
[ "0.68608916", "0.67257094", "0.66484857", "0.6617045", "0.6610327", "0.6541074", "0.65245765", "0.65101796", "0.6487141", "0.6434629", "0.6425706", "0.6417327", "0.6406147", "0.6397313", "0.6396743", "0.63957816", "0.63908195", "0.6376677", "0.6363846", "0.63559055", "0.63280...
0.0
-1
Este metodo genera la imagen
public void generateImage4Id(OdeVO ode) { try { if (logger.isDebugEnabled()) logger.debug("Begin:generateImage4Id"); if (logger.isDebugEnabled()) logger.debug("El ode es id ["+ode.getIdentificadorMEC()+"] MainFile ["+ode.getMainFile()+"] y el servidor es ["+ode.getServerOn()+"]"); //Si todo ha ido bien hago la petición RMI pasando el Objeto if (logger.isDebugEnabled()) logger.debug("Solicitud RMI"); this.getImgServer().getImageUrlForId(ode.getIdentificadorMEC(), ode.getMainFile(), ode.getServerOn()); if (logger.isDebugEnabled()) logger.debug("End:generateImage4Id"); } catch (Exception ex) { logger.error("Se ha producido un error al SOLICITAR rmi ["+ode.getIdentificadorMEC()+"]", ex); throw new CreateImageException("Se ha producido un error al SOLICITAR rmi ["+ode.getIdentificadorMEC()+"]",ex); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract Image gen();", "public void crearImagenes() {\n try {\n fondoJuego1 = new Imagenes(\"/fondoJuego1.png\",39,-150,-151);\n fondoJuego2 = new Imagenes(\"/fondoJuego2.png\",40,150,149);\n regresar = new Imagenes(\"/regresar.png\",43,90,80);\n highLig...
[ "0.7259481", "0.71274865", "0.68804866", "0.66702604", "0.65377086", "0.6488649", "0.64772546", "0.64402163", "0.6404241", "0.63580686", "0.6321347", "0.6283118", "0.6234735", "0.6195433", "0.61686593", "0.6119808", "0.611583", "0.61042535", "0.6077249", "0.6059996", "0.60422...
0.0
-1
Este metodo hace la llamada al servicio de publicacion
public void setSrvPublicacionService(es.pode.publicacion.negocio.servicios.SrvPublicacionService srvPublicacionService) { this.srvPublicacionService = srvPublicacionService; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "com.soa.SolicitarServicioDocument.SolicitarServicio getSolicitarServicio();", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "public void inicia() { \r\n\t\tventana=new VentanaMuestraServicios(this);\r\n\t\tventana.abre();\r\n\t}", "private WebServicesFabrica(){}", "public interface GPAdimWS {\n @...
[ "0.6505587", "0.63309026", "0.617812", "0.61716366", "0.60808754", "0.6029637", "0.601492", "0.60091007", "0.59587646", "0.5927493", "0.5894175", "0.58763987", "0.5853098", "0.5845525", "0.58277494", "0.5765692", "0.57619023", "0.57615405", "0.57590187", "0.5757114", "0.57440...
0.5544569
41
Este metodo hace la llamada al servicio de publicacion
protected es.pode.publicacion.negocio.servicios.SrvPublicacionService getSrvPublicacionService() { return this.srvPublicacionService; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "com.soa.SolicitarServicioDocument.SolicitarServicio getSolicitarServicio();", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "public void inicia() { \r\n\t\tventana=new VentanaMuestraServicios(this);\r\n\t\tventana.abre();\r\n\t}", "private WebServicesFabrica(){}", "public interface GPAdimWS {\n @...
[ "0.6505587", "0.63309026", "0.617812", "0.61716366", "0.60808754", "0.6029637", "0.601492", "0.60091007", "0.59587646", "0.5927493", "0.5894175", "0.58763987", "0.5853098", "0.5845525", "0.58277494", "0.5765692", "0.57619023", "0.57615405", "0.57590187", "0.5757114", "0.57440...
0.5678795
28
strange behavior in java you can have a method with the same name at the class name and looks like a constructor but it isn't, just good to know
public Product Product() { return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "ConstuctorOverloading(){\n\t\tSystem.out.println(\"I am non=argument constructor\");\n\t}", "public Method(String name, String desc) {\n/* 82 */ this.name = name;\n/* 83 */ this.desc = desc;\n/* */ }", "private void __sep__Constructors__() {}", "public Methods() {\n // what is this doi...
[ "0.7197139", "0.71602535", "0.7136738", "0.67031765", "0.6678143", "0.66612333", "0.6627675", "0.6581048", "0.64778775", "0.646625", "0.6446327", "0.63952863", "0.63817984", "0.63364416", "0.6271771", "0.6254073", "0.62288916", "0.6207343", "0.6194696", "0.6180944", "0.615712...
0.0
-1
change also the returned object, now it isn't needed the cast in class Main fix clone for category, I miss that at class
@Override public Product clone() throws CloneNotSupportedException { Product newObject = (Product)super.clone(); if(this.category != null) { try { newObject.category = ((Category) this.category.clone()); } catch (CloneNotSupportedException exc) { exc.printStackTrace(); } } if(this.price != null) { try { newObject.price = (this.price.clone()); } catch (CloneNotSupportedException exc) { exc.printStackTrace(); } } return newObject; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Object caseCategory(Category object) {\n\t\treturn null;\n\t}", "void restoreCategory(Category category);", "private Object getAnomizedCategory() {\r\n\tString categorie = (String) record.get(\"categorie\");\r\n\tif (categorie != null) {\r\n\t switch (categorie) {\r\n\t case \"AD\":\r\n\t case ...
[ "0.6046383", "0.5905387", "0.58876586", "0.5859505", "0.5703781", "0.56605136", "0.56101316", "0.56101316", "0.55655146", "0.55655146", "0.55655146", "0.5556593", "0.55067", "0.55061185", "0.55027866", "0.5483487", "0.54829", "0.54796207", "0.54603386", "0.54603386", "0.54521...
0.51263374
63
Sets a custom layout for the message GUI.
private void setCustomLayout(JScrollPane pane) { this.getContentPane().add(panel); GridBagConstraints messageConstraints = new GridBagConstraints(); messageConstraints.gridx = 0; messageConstraints.gridy = 0; messageConstraints.weightx = 1; messageConstraints.weighty = 1; messageConstraints.gridwidth = 3; messageConstraints.gridheight = 2; messageConstraints.insets = new Insets(10, 10, 10, 10); messageConstraints.fill = GridBagConstraints.BOTH; messageConstraints.anchor = GridBagConstraints.CENTER; panel.add(pane, messageConstraints); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void setUpLayout() {\n\n this.setLayout(new GridLayout(7, 1, 40, 37));\n this.setBackground(new Color(72, 0, 0));\n this.setBorder(BorderFactory.createEmptyBorder(8, 150, 8, 150));\n }", "private void setViewLayout() {\n\t\tthis.setBorder(new EmptyBorder(15, 15, 15, 15));\n\t\tthi...
[ "0.64957404", "0.649132", "0.64834034", "0.6294394", "0.62584704", "0.6107777", "0.60382855", "0.60034287", "0.5978452", "0.59781486", "0.5933648", "0.5867234", "0.5866872", "0.5852404", "0.583612", "0.5818025", "0.58163744", "0.5801203", "0.5759831", "0.5752373", "0.57490855...
0.6781361
0
Returns a closing action.
public static Action getCloseAction(AbstractMessage message) { return new AbstractAction() { @Override public void actionPerformed(ActionEvent actionEvent) { message.close(); } }; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void onCloseAction() {\n\n\t}", "CancelAction getCancelAction();", "public JButtonOperator btClose() {\n if (_btClose==null) {\n _btClose = new JButtonOperator(this, \"Close\"); // NOI18N\n }\n return _btClose;\n }", "private JButton createCloseButton() ...
[ "0.68388486", "0.6192441", "0.6104223", "0.6023181", "0.6015623", "0.59704536", "0.5961634", "0.5959496", "0.59420145", "0.5935243", "0.5906872", "0.58040404", "0.5783911", "0.5739256", "0.5736996", "0.5717957", "0.57017624", "0.56849605", "0.56731176", "0.5672739", "0.567131...
0.665759
1
Initialises and shows the Message GUI JFrame
public void createAndShowGUI() { setTitle(title); // Sets what to do when frame closes setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); setIconImage(new ImageIcon(ClassLoader.getSystemResource(ICON_PATH)).getImage()); //shows the frame pack(); setLocationRelativeTo(null); //centers frame setVisible(true); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void showMessage(){\r\n if(message == null) return;\r\n JOptionPane.showMessageDialog(new JFrame(), message);\r\n }", "public MainWindow() {\n initComponents();\n display.setText(starting_message);\n }", "private void initialize() {\n\t\tFrame = new JFrame();\n\t\tFrame.setT...
[ "0.7470818", "0.7445639", "0.73425865", "0.72792226", "0.71570444", "0.7126538", "0.7083402", "0.7059509", "0.70467055", "0.7031341", "0.69990677", "0.69822735", "0.69767404", "0.6973358", "0.6970388", "0.69531614", "0.69133", "0.69060534", "0.6898173", "0.6887972", "0.687956...
0.65357685
73
Creates new form Login
public Login() { initComponents(); // Centra la ventana this.setLocationRelativeTo(null); // Cambia el ícono de la ventana de Login this.setIconImage(new ImageIcon(getClass().getResource("/imagenes/login.png")).getImage()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public loginForm() {\n initComponents();\n \n }", "public static Result login(){\n String username= Form.form().bindFromRequest().get(\"username\");\n String password= Form.form().bindFromRequest().get(\"password\");\n String new_user= Form.form().bindFromRequest().get(\"n...
[ "0.7087889", "0.69521654", "0.68040574", "0.6786566", "0.6757266", "0.67409855", "0.6692699", "0.66887593", "0.66297597", "0.66144294", "0.6594864", "0.6585462", "0.6571206", "0.652989", "0.6512904", "0.6512904", "0.6512904", "0.6512904", "0.6512904", "0.6512904", "0.6512904"...
0.0
-1
Creates new form NewJFrame
public menu_utama() { initComponents(); this.setLocationRelativeTo(null); jPanel11.setVisible(false); jPanel11.setEnabled(false); getjam(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public NewJFrame() {\n Connect();\n initComponents();\n }", "public NewJFrame() {\n initComponents();\n \n }", "public NewJFrame() {\n initComponents();\n }", "public NewJFrame() {\n initComponents();\n }", "public NewJFrame() {\n initComponents...
[ "0.796484", "0.7945892", "0.7931828", "0.7931828", "0.7931828", "0.7931828", "0.7931828", "0.7931828", "0.7931828", "0.79161865", "0.78647804", "0.7763172", "0.76817715", "0.7648401", "0.75705475", "0.7474783", "0.7441117", "0.7441071", "0.7381736", "0.7241864", "0.7152069", ...
0.0
-1
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
@SuppressWarnings("unchecked") // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents private void initComponents() { jDialog1 = new javax.swing.JDialog(); jColorChooser1 = new javax.swing.JColorChooser(); jPanel1 = new javax.swing.JPanel(); jPanel4 = new javax.swing.JPanel(); jLabel1 = new javax.swing.JLabel(); jLabel2 = new javax.swing.JLabel(); jPanel5 = new javax.swing.JPanel(); jLabel3 = new javax.swing.JLabel(); jPanel6 = new javax.swing.JPanel(); jLabel5 = new javax.swing.JLabel(); jPanel7 = new javax.swing.JPanel(); jLabel6 = new javax.swing.JLabel(); jPanel8 = new javax.swing.JPanel(); jLabel7 = new javax.swing.JLabel(); jPanel3 = new javax.swing.JPanel(); jLabel4 = new javax.swing.JLabel(); jLabel8 = new javax.swing.JLabel(); jLabel9 = new javax.swing.JLabel(); lbl_tgl = new javax.swing.JLabel(); jLabel11 = new javax.swing.JLabel(); lbluser = new javax.swing.JLabel(); jPanel19 = new javax.swing.JPanel(); jPanel18 = new javax.swing.JPanel(); jLabel29 = new javax.swing.JLabel(); jLabel26 = new javax.swing.JLabel(); jPanel11 = new javax.swing.JPanel(); jPanel10 = new javax.swing.JPanel(); jLabel13 = new javax.swing.JLabel(); jLabel14 = new javax.swing.JLabel(); jPanel12 = new javax.swing.JPanel(); jLabel15 = new javax.swing.JLabel(); jLabel16 = new javax.swing.JLabel(); jPanel13 = new javax.swing.JPanel(); jLabel17 = new javax.swing.JLabel(); jLabel18 = new javax.swing.JLabel(); jPanel15 = new javax.swing.JPanel(); jLabel21 = new javax.swing.JLabel(); jLabel22 = new javax.swing.JLabel(); jPanel16 = new javax.swing.JPanel(); jLabel23 = new javax.swing.JLabel(); jLabel24 = new javax.swing.JLabel(); jPanel2 = new javax.swing.JPanel(); jPanel14 = new javax.swing.JPanel(); jLabel19 = new javax.swing.JLabel(); jLabel20 = new javax.swing.JLabel(); jPanel17 = new javax.swing.JPanel(); jLabel27 = new javax.swing.JLabel(); jLabel28 = new javax.swing.JLabel(); lbl_jam = new javax.swing.JLabel(); javax.swing.GroupLayout jDialog1Layout = new javax.swing.GroupLayout(jDialog1.getContentPane()); jDialog1.getContentPane().setLayout(jDialog1Layout); jDialog1Layout.setHorizontalGroup( jDialog1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGap(0, 400, Short.MAX_VALUE) .addGroup(jDialog1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jDialog1Layout.createSequentialGroup() .addGap(0, 0, Short.MAX_VALUE) .addComponent(jColorChooser1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(0, 0, Short.MAX_VALUE))) ); jDialog1Layout.setVerticalGroup( jDialog1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGap(0, 300, Short.MAX_VALUE) .addGroup(jDialog1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jDialog1Layout.createSequentialGroup() .addGap(0, 0, Short.MAX_VALUE) .addComponent(jColorChooser1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(0, 0, Short.MAX_VALUE))) ); setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); getContentPane().setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout()); jPanel1.setBackground(new java.awt.Color(255, 255, 0)); jPanel1.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseEntered(java.awt.event.MouseEvent evt) { jPanel1MouseEntered(evt); } }); jPanel4.setBackground(new java.awt.Color(255, 255, 0)); jPanel4.setBorder(javax.swing.BorderFactory.createEtchedBorder()); jPanel4.setForeground(new java.awt.Color(255, 255, 255)); jPanel4.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseEntered(java.awt.event.MouseEvent evt) { jPanel4MouseEntered(evt); } public void mouseExited(java.awt.event.MouseEvent evt) { jPanel4MouseExited(evt); } }); jLabel1.setFont(new java.awt.Font("Times New Roman", 1, 18)); // NOI18N jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/IconMenu/icons8-home-24.png"))); // NOI18N jLabel1.setText("Beranda"); jLabel2.setFont(new java.awt.Font("Times New Roman", 1, 18)); // NOI18N jLabel2.setText("Beranda"); javax.swing.GroupLayout jPanel4Layout = new javax.swing.GroupLayout(jPanel4); jPanel4.setLayout(jPanel4Layout); jPanel4Layout.setHorizontalGroup( jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel4Layout.createSequentialGroup() .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jLabel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) .addContainerGap()) ); jPanel4Layout.setVerticalGroup( jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel4Layout.createSequentialGroup() .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 27, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jLabel2) .addGap(7, 7, 7)) ); jPanel5.setBackground(new java.awt.Color(255, 255, 0)); jPanel5.setBorder(javax.swing.BorderFactory.createEtchedBorder()); jPanel5.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseEntered(java.awt.event.MouseEvent evt) { jPanel5MouseEntered(evt); } public void mouseExited(java.awt.event.MouseEvent evt) { jPanel5MouseExited(evt); } public void mousePressed(java.awt.event.MouseEvent evt) { jPanel5MousePressed(evt); } }); jLabel3.setFont(new java.awt.Font("Times New Roman", 1, 18)); // NOI18N jLabel3.setIcon(new javax.swing.ImageIcon(getClass().getResource("/IconMenu/icons8-user-24.png"))); // NOI18N jLabel3.setText("User"); javax.swing.GroupLayout jPanel5Layout = new javax.swing.GroupLayout(jPanel5); jPanel5.setLayout(jPanel5Layout); jPanel5Layout.setHorizontalGroup( jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel5Layout.createSequentialGroup() .addComponent(jLabel3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addContainerGap()) ); jPanel5Layout.setVerticalGroup( jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel3, javax.swing.GroupLayout.DEFAULT_SIZE, 29, Short.MAX_VALUE) ); jPanel6.setBackground(new java.awt.Color(255, 255, 0)); jPanel6.setBorder(javax.swing.BorderFactory.createEtchedBorder()); jPanel6.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseEntered(java.awt.event.MouseEvent evt) { jPanel6MouseEntered(evt); } public void mouseExited(java.awt.event.MouseEvent evt) { jPanel6MouseExited(evt); } }); jLabel5.setFont(new java.awt.Font("Times New Roman", 1, 18)); // NOI18N jLabel5.setIcon(new javax.swing.ImageIcon(getClass().getResource("/IconMenu/icons8-ticket-24.png"))); // NOI18N jLabel5.setText("Data Tiket"); javax.swing.GroupLayout jPanel6Layout = new javax.swing.GroupLayout(jPanel6); jPanel6.setLayout(jPanel6Layout); jPanel6Layout.setHorizontalGroup( jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel6Layout.createSequentialGroup() .addComponent(jLabel5, javax.swing.GroupLayout.PREFERRED_SIZE, 147, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(0, 0, Short.MAX_VALUE)) ); jPanel6Layout.setVerticalGroup( jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel6Layout.createSequentialGroup() .addComponent(jLabel5) .addGap(0, 6, Short.MAX_VALUE)) ); jPanel7.setBackground(new java.awt.Color(255, 255, 0)); jPanel7.setBorder(javax.swing.BorderFactory.createEtchedBorder()); jPanel7.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseEntered(java.awt.event.MouseEvent evt) { jPanel7MouseEntered(evt); } public void mouseExited(java.awt.event.MouseEvent evt) { jPanel7MouseExited(evt); } }); jLabel6.setFont(new java.awt.Font("Times New Roman", 1, 18)); // NOI18N jLabel6.setIcon(new javax.swing.ImageIcon(getClass().getResource("/IconMenu/icons8-money-24.png"))); // NOI18N jLabel6.setText("Transaksi"); javax.swing.GroupLayout jPanel7Layout = new javax.swing.GroupLayout(jPanel7); jPanel7.setLayout(jPanel7Layout); jPanel7Layout.setHorizontalGroup( jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel7Layout.createSequentialGroup() .addComponent(jLabel6, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addContainerGap()) ); jPanel7Layout.setVerticalGroup( jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel6, javax.swing.GroupLayout.DEFAULT_SIZE, 29, Short.MAX_VALUE) ); jPanel8.setBackground(new java.awt.Color(255, 255, 0)); jPanel8.setBorder(javax.swing.BorderFactory.createEtchedBorder()); jPanel8.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseEntered(java.awt.event.MouseEvent evt) { jPanel8MouseEntered(evt); } public void mouseExited(java.awt.event.MouseEvent evt) { jPanel8MouseExited(evt); } }); jLabel7.setFont(new java.awt.Font("Times New Roman", 1, 18)); // NOI18N jLabel7.setIcon(new javax.swing.ImageIcon(getClass().getResource("/IconMenu/icons8-business-report-24.png"))); // NOI18N jLabel7.setText("Laporan Tiket"); javax.swing.GroupLayout jPanel8Layout = new javax.swing.GroupLayout(jPanel8); jPanel8.setLayout(jPanel8Layout); jPanel8Layout.setHorizontalGroup( jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel8Layout.createSequentialGroup() .addComponent(jLabel7) .addGap(0, 0, Short.MAX_VALUE)) ); jPanel8Layout.setVerticalGroup( jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel8Layout.createSequentialGroup() .addComponent(jLabel7) .addGap(0, 11, Short.MAX_VALUE)) ); jPanel3.setBackground(new java.awt.Color(255, 255, 0)); jPanel3.setBorder(javax.swing.BorderFactory.createEtchedBorder()); jLabel4.setIcon(new javax.swing.ImageIcon(getClass().getResource("/IconMenu/icons8-user-24.png"))); // NOI18N jLabel8.setIcon(new javax.swing.ImageIcon(getClass().getResource("/IconMenu/icons8-calendar-24.png"))); // NOI18N jLabel9.setIcon(new javax.swing.ImageIcon(getClass().getResource("/IconMenu/icons8-clock-24.png"))); // NOI18N lbl_tgl.setFont(new java.awt.Font("Times New Roman", 1, 14)); // NOI18N lbl_tgl.setForeground(new java.awt.Color(255, 0, 0)); lbl_tgl.setText("Tanggal"); jLabel11.setFont(new java.awt.Font("Times New Roman", 1, 14)); // NOI18N jLabel11.setForeground(new java.awt.Color(255, 0, 0)); jLabel11.setText("Jam"); lbluser.setFont(new java.awt.Font("Times New Roman", 1, 14)); // NOI18N lbluser.setForeground(new java.awt.Color(255, 0, 0)); lbluser.setText("Sebagai"); javax.swing.GroupLayout jPanel3Layout = new javax.swing.GroupLayout(jPanel3); jPanel3.setLayout(jPanel3Layout); jPanel3Layout.setHorizontalGroup( jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel3Layout.createSequentialGroup() .addGap(19, 19, 19) .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel4) .addGroup(jPanel3Layout.createSequentialGroup() .addComponent(jLabel8) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addComponent(lbl_tgl)) .addGroup(jPanel3Layout.createSequentialGroup() .addComponent(jLabel9) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addComponent(jLabel11)) .addGroup(jPanel3Layout.createSequentialGroup() .addGap(34, 34, 34) .addComponent(lbluser))) .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) ); jPanel3Layout.setVerticalGroup( jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel3Layout.createSequentialGroup() .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) .addComponent(jLabel4, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(lbluser)) .addGap(11, 11, 11) .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) .addComponent(lbl_tgl, javax.swing.GroupLayout.PREFERRED_SIZE, 17, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel8)) .addGap(13, 13, 13) .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) .addComponent(jLabel9) .addComponent(jLabel11))) ); jPanel19.setBackground(new java.awt.Color(255, 255, 0)); jPanel18.setBackground(new java.awt.Color(255, 0, 0)); jPanel18.setBorder(javax.swing.BorderFactory.createEtchedBorder()); jPanel18.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout()); jLabel29.setIcon(new javax.swing.ImageIcon(getClass().getResource("/IconMenu/icons8-menu-24.png"))); // NOI18N jLabel29.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseEntered(java.awt.event.MouseEvent evt) { jLabel29MouseEntered(evt); } public void mouseExited(java.awt.event.MouseEvent evt) { jLabel29MouseExited(evt); } public void mousePressed(java.awt.event.MouseEvent evt) { jLabel29MousePressed(evt); } }); jPanel18.add(jLabel29, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 0, 50, 50)); jLabel26.setIcon(new javax.swing.ImageIcon(getClass().getResource("/IconMenu/icons8-menu-24.png"))); // NOI18N jLabel26.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseEntered(java.awt.event.MouseEvent evt) { jLabel26MouseEntered(evt); } public void mouseExited(java.awt.event.MouseEvent evt) { jLabel26MouseExited(evt); } public void mousePressed(java.awt.event.MouseEvent evt) { jLabel26MousePressed(evt); } }); jPanel18.add(jLabel26, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 10, 36, 35)); jPanel11.setBackground(new java.awt.Color(255, 255, 0)); jPanel11.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout()); jPanel10.setBackground(new java.awt.Color(255, 255, 0)); jPanel10.setBorder(javax.swing.BorderFactory.createEtchedBorder()); jPanel10.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseEntered(java.awt.event.MouseEvent evt) { jPanel10MouseEntered(evt); } public void mouseExited(java.awt.event.MouseEvent evt) { jPanel10MouseExited(evt); } public void mousePressed(java.awt.event.MouseEvent evt) { jPanel10MousePressed(evt); } }); jLabel13.setIcon(new javax.swing.ImageIcon(getClass().getResource("/IconMenu/icons8-photo-editor-24.png"))); // NOI18N jLabel14.setFont(new java.awt.Font("Times New Roman", 1, 14)); // NOI18N jLabel14.setText("Background"); jLabel14.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseEntered(java.awt.event.MouseEvent evt) { jLabel14MouseEntered(evt); } }); javax.swing.GroupLayout jPanel10Layout = new javax.swing.GroupLayout(jPanel10); jPanel10.setLayout(jPanel10Layout); jPanel10Layout.setHorizontalGroup( jPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel10Layout.createSequentialGroup() .addComponent(jLabel13) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(jLabel14) .addGap(0, 62, Short.MAX_VALUE)) ); jPanel10Layout.setVerticalGroup( jPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel13, javax.swing.GroupLayout.Alignment.TRAILING) .addComponent(jLabel14, javax.swing.GroupLayout.Alignment.TRAILING) ); jPanel11.add(jPanel10, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 170, -1)); jPanel12.setBackground(new java.awt.Color(255, 255, 0)); jPanel12.setBorder(javax.swing.BorderFactory.createEtchedBorder()); jPanel12.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseEntered(java.awt.event.MouseEvent evt) { jPanel12MouseEntered(evt); } public void mouseExited(java.awt.event.MouseEvent evt) { jPanel12MouseExited(evt); } }); jLabel15.setIcon(new javax.swing.ImageIcon(getClass().getResource("/IconMenu/icons8-about-24.png"))); // NOI18N jLabel16.setFont(new java.awt.Font("Times New Roman", 1, 14)); // NOI18N jLabel16.setText("About"); javax.swing.GroupLayout jPanel12Layout = new javax.swing.GroupLayout(jPanel12); jPanel12.setLayout(jPanel12Layout); jPanel12Layout.setHorizontalGroup( jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel12Layout.createSequentialGroup() .addComponent(jLabel15) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(jLabel16) .addGap(0, 99, Short.MAX_VALUE)) ); jPanel12Layout.setVerticalGroup( jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel15, javax.swing.GroupLayout.Alignment.TRAILING) .addComponent(jLabel16, javax.swing.GroupLayout.Alignment.TRAILING) ); jPanel11.add(jPanel12, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 30, 170, -1)); jPanel13.setBackground(new java.awt.Color(255, 255, 0)); jPanel13.setBorder(javax.swing.BorderFactory.createEtchedBorder()); jPanel13.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseEntered(java.awt.event.MouseEvent evt) { jPanel13MouseEntered(evt); } public void mouseExited(java.awt.event.MouseEvent evt) { jPanel13MouseExited(evt); } public void mousePressed(java.awt.event.MouseEvent evt) { jPanel13MousePressed(evt); } }); jLabel17.setIcon(new javax.swing.ImageIcon(getClass().getResource("/IconMenu/icons8-logout-rounded-down-24.png"))); // NOI18N jLabel18.setFont(new java.awt.Font("Times New Roman", 1, 14)); // NOI18N jLabel18.setText("Logout"); javax.swing.GroupLayout jPanel13Layout = new javax.swing.GroupLayout(jPanel13); jPanel13.setLayout(jPanel13Layout); jPanel13Layout.setHorizontalGroup( jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel13Layout.createSequentialGroup() .addComponent(jLabel17) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(jLabel18) .addGap(0, 93, Short.MAX_VALUE)) ); jPanel13Layout.setVerticalGroup( jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel17, javax.swing.GroupLayout.Alignment.TRAILING) .addComponent(jLabel18, javax.swing.GroupLayout.Alignment.TRAILING) ); jPanel11.add(jPanel13, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 60, 170, -1)); jPanel15.setBackground(new java.awt.Color(255, 255, 0)); jPanel15.setBorder(javax.swing.BorderFactory.createEtchedBorder()); jPanel15.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseEntered(java.awt.event.MouseEvent evt) { jPanel15MouseEntered(evt); } public void mouseExited(java.awt.event.MouseEvent evt) { jPanel15MouseExited(evt); } }); jLabel21.setIcon(new javax.swing.ImageIcon(getClass().getResource("/IconMenu/icons8-business-report-24.png"))); // NOI18N jLabel22.setFont(new java.awt.Font("Times New Roman", 1, 14)); // NOI18N jLabel22.setText("Backup and Restore"); javax.swing.GroupLayout jPanel15Layout = new javax.swing.GroupLayout(jPanel15); jPanel15.setLayout(jPanel15Layout); jPanel15Layout.setHorizontalGroup( jPanel15Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel15Layout.createSequentialGroup() .addComponent(jLabel21) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(jLabel22) .addGap(0, 12, Short.MAX_VALUE)) ); jPanel15Layout.setVerticalGroup( jPanel15Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel21, javax.swing.GroupLayout.Alignment.TRAILING) .addComponent(jLabel22, javax.swing.GroupLayout.Alignment.TRAILING) ); jPanel11.add(jPanel15, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 90, 170, -1)); jPanel16.setBackground(new java.awt.Color(255, 255, 0)); jPanel16.setBorder(javax.swing.BorderFactory.createEtchedBorder()); jPanel16.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseEntered(java.awt.event.MouseEvent evt) { jPanel16MouseEntered(evt); } public void mouseExited(java.awt.event.MouseEvent evt) { jPanel16MouseExited(evt); } public void mousePressed(java.awt.event.MouseEvent evt) { jPanel16MousePressed(evt); } }); jLabel23.setIcon(new javax.swing.ImageIcon(getClass().getResource("/IconMenu/icons8-exit-24.png"))); // NOI18N jLabel24.setFont(new java.awt.Font("Times New Roman", 1, 14)); // NOI18N jLabel24.setText("Keluar"); javax.swing.GroupLayout jPanel16Layout = new javax.swing.GroupLayout(jPanel16); jPanel16.setLayout(jPanel16Layout); jPanel16Layout.setHorizontalGroup( jPanel16Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel16Layout.createSequentialGroup() .addComponent(jLabel23) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(jLabel24) .addGap(0, 94, Short.MAX_VALUE)) ); jPanel16Layout.setVerticalGroup( jPanel16Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel23, javax.swing.GroupLayout.Alignment.TRAILING) .addComponent(jLabel24, javax.swing.GroupLayout.Alignment.TRAILING) ); jPanel11.add(jPanel16, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 120, 170, -1)); javax.swing.GroupLayout jPanel19Layout = new javax.swing.GroupLayout(jPanel19); jPanel19.setLayout(jPanel19Layout); jPanel19Layout.setHorizontalGroup( jPanel19Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel19Layout.createSequentialGroup() .addGroup(jPanel19Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jPanel11, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jPanel18, javax.swing.GroupLayout.PREFERRED_SIZE, 60, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(0, 0, Short.MAX_VALUE)) ); jPanel19Layout.setVerticalGroup( jPanel19Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel19Layout.createSequentialGroup() .addComponent(jPanel18, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 32, Short.MAX_VALUE) .addComponent(jPanel11, javax.swing.GroupLayout.PREFERRED_SIZE, 161, javax.swing.GroupLayout.PREFERRED_SIZE)) ); javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1); jPanel1.setLayout(jPanel1Layout); jPanel1Layout.setHorizontalGroup( jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jPanel4, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jPanel5, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jPanel6, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jPanel7, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jPanel8, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jPanel3, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addGroup(jPanel1Layout.createSequentialGroup() .addComponent(jPanel19, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(0, 0, Short.MAX_VALUE)) ); jPanel1Layout.setVerticalGroup( jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel1Layout.createSequentialGroup() .addComponent(jPanel19, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 9, Short.MAX_VALUE) .addComponent(jPanel4, javax.swing.GroupLayout.PREFERRED_SIZE, 45, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(jPanel5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(jPanel6, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(jPanel7, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(jPanel8, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(64, 64, 64) .addComponent(jPanel3, javax.swing.GroupLayout.PREFERRED_SIZE, 105, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap()) ); getContentPane().add(jPanel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, -1, 640)); jPanel2.setBackground(new java.awt.Color(255, 0, 0)); jPanel14.setBackground(new java.awt.Color(255, 0, 0)); jPanel14.setBorder(javax.swing.BorderFactory.createEtchedBorder()); jLabel19.setIcon(new javax.swing.ImageIcon(getClass().getResource("/IconMenu/icons8-photo-editor-24.png"))); // NOI18N jLabel20.setFont(new java.awt.Font("Times New Roman", 1, 14)); // NOI18N jLabel20.setText("Background"); javax.swing.GroupLayout jPanel14Layout = new javax.swing.GroupLayout(jPanel14); jPanel14.setLayout(jPanel14Layout); jPanel14Layout.setHorizontalGroup( jPanel14Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel14Layout.createSequentialGroup() .addComponent(jLabel19) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(jLabel20) .addGap(0, 0, Short.MAX_VALUE)) ); jPanel14Layout.setVerticalGroup( jPanel14Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel19, javax.swing.GroupLayout.Alignment.TRAILING) .addComponent(jLabel20, javax.swing.GroupLayout.Alignment.TRAILING) ); jPanel17.setBackground(new java.awt.Color(255, 255, 0)); jLabel27.setFont(new java.awt.Font("Times New Roman", 1, 36)); // NOI18N jLabel27.setText("DFD TICKET"); javax.swing.GroupLayout jPanel17Layout = new javax.swing.GroupLayout(jPanel17); jPanel17.setLayout(jPanel17Layout); jPanel17Layout.setHorizontalGroup( jPanel17Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel17Layout.createSequentialGroup() .addContainerGap(167, Short.MAX_VALUE) .addComponent(jLabel27) .addGap(171, 171, 171)) ); jPanel17Layout.setVerticalGroup( jPanel17Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel17Layout.createSequentialGroup() .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jLabel27) .addGap(33, 33, 33)) ); jLabel28.setBackground(new java.awt.Color(255, 255, 255)); jLabel28.setFont(new java.awt.Font("Times New Roman", 1, 36)); // NOI18N jLabel28.setForeground(new java.awt.Color(255, 255, 255)); jLabel28.setText("Jam"); lbl_jam.setFont(new java.awt.Font("Times New Roman", 1, 24)); // NOI18N lbl_jam.setForeground(new java.awt.Color(255, 255, 255)); lbl_jam.setText("Jam"); javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2); jPanel2.setLayout(jPanel2Layout); jPanel2Layout.setHorizontalGroup( jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel2Layout.createSequentialGroup() .addGap(461, 461, 461) .addComponent(jPanel14, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addGap(108, 108, 108)) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup() .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup() .addComponent(lbl_jam) .addGap(124, 124, 124)) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup() .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) .addComponent(jPanel17, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel28)) .addGap(89, 89, 89)))) ); jPanel2Layout.setVerticalGroup( jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel2Layout.createSequentialGroup() .addContainerGap() .addComponent(jPanel17, javax.swing.GroupLayout.PREFERRED_SIZE, 61, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(18, 18, 18) .addComponent(lbl_jam) .addGap(66, 66, 66) .addComponent(jLabel28) .addGap(151, 151, 151) .addComponent(jPanel14, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) ); getContentPane().add(jPanel2, new org.netbeans.lib.awtextra.AbsoluteConstraints(160, 0, 610, 140)); pack(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Form() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public frmRectangulo() {\n initComponents();\n }", "public form() {\n ...
[ "0.7320782", "0.72918797", "0.72918797", "0.72918797", "0.728645", "0.72498447", "0.7214492", "0.720934", "0.7197145", "0.71912014", "0.71852076", "0.7160113", "0.71487373", "0.70943654", "0.70820624", "0.7058153", "0.69883204", "0.6978216", "0.69558746", "0.6955715", "0.6945...
0.0
-1
abstract double executeOperation(int[] params);
@Override public double execute(Scanner scanner) { int[] params = new int[parameterCount]; for (int i = 0; i < parameterCount; i++) { System.out.println(operationName + " yapılacak " + i + ". değer : "); params[i] = scanner.nextInt(); } return op.exec(params); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface Operation {\n Double execute(Double[] numbers) throws InvalidCalcOpeartionException;\n}", "public abstract int execute();", "public abstract void runOperation();", "void execute(Integer num1, Integer num2);", "public abstract void operation();", "Double executeOperation(List<Double> o...
[ "0.7324094", "0.7140328", "0.70960295", "0.70941406", "0.70391375", "0.6948674", "0.69276005", "0.68431604", "0.6710576", "0.6710576", "0.6710576", "0.6709851", "0.67085385", "0.6687618", "0.66712683", "0.66642874", "0.6658173", "0.6650817", "0.66367084", "0.65765935", "0.655...
0.629185
33
/ On Context Item Selected
public boolean onContextItemSelected(MenuItem item) { switch (item.getItemId()){ case R.id.Postular: Toast.makeText(this, "Se registro la postulación con Exito.", Toast.LENGTH_LONG).show(); return true; case R.id.Compartir: Toast.makeText(this, "Se Compartio el Item.", Toast.LENGTH_LONG).show(); return true; default: return super.onContextItemSelected(item); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\t\tpublic void menuSelected(MenuItem selectedItem)\n\t\t\t{\n\n\t\t\t}", "@Override\n\t\t\tpublic void menuSelected(MenuItem selectedItem)\n\t\t\t{\n\n\t\t\t}", "@Override\r\n\tpublic void onMenuItemSelected(MenuItem item) {\n\r\n\t}", "@Override\r\n\tpublic void itemSelectedAtIndexPath(IndexPa...
[ "0.7432507", "0.7432507", "0.69927174", "0.69546133", "0.6936153", "0.69187397", "0.6877063", "0.6829736", "0.67870194", "0.6773402", "0.6754373", "0.6752979", "0.67299527", "0.67184097", "0.6713906", "0.67121786", "0.6711638", "0.66809726", "0.6673127", "0.66707814", "0.6664...
0.0
-1
/ On Activity Result
protected void onActivityResult(int requestCode, int resultCode, Intent data) { Trabajo newTrabajo = (Trabajo) data.getSerializableExtra("resultado"); if(newTrabajo.getId() != 0) { // Si NO es un Trabajo Nuevo Vacío, osea que no hayan Cancelado la operación Toast.makeText(getBaseContext(), "Nuevo Trabajo: " + newTrabajo.getDescripcion(), Toast.LENGTH_LONG).show(); // Insertamos en la Categoría correspondiente el Nuevo Trabajo Categoria.CATEGORIAS_MOCK[newTrabajo.getCategoria().getId()].addTrabajo(newTrabajo); // Incorporamos a la "listaTrabajos" el Nuevo Trabajo this.listaTotalTrabajos(); //Se notifica al adaptador de que el ArrayList que tiene asociado ha sufrido cambios (forzando asi a ir al metodo getView()) adaptador.notifyDataSetChanged(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void resultActivityCall(int requestCode, int resultCode, Intent data) {\n\n\t}", "@Override\n public void OnActivityResultReceived(int requestCode, int resultCode, Intent data) {\n\n }", "void onResult(int ret);", "@Override\n public void handleResult(Intent data) {\n }", "@...
[ "0.77573824", "0.7343534", "0.7337439", "0.7244938", "0.72207516", "0.7113396", "0.7104681", "0.70575523", "0.70344055", "0.70317537", "0.6900412", "0.68972474", "0.6894505", "0.6876606", "0.6842528", "0.6840255", "0.681003", "0.67998844", "0.6784706", "0.67723525", "0.676731...
0.0
-1
TODO Autogenerated method stub
@Override public Client addClient(Client c) { return dao.addClient(c); }
{ "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 Employe addEmploye(Employe e, Long codeSup) { return dao.addEmploye(e, codeSup); }
{ "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 Groupe addGroupe(Groupe g) { return dao.addGroupe(g); }
{ "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 addEmployeToGroupe(Long codeEmp, Long codeGroup) { dao.addEmployeToGroupe(codeEmp, codeGroup); }
{ "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 Compte addCompte(Compte cp, Long codeCli, Long codeEmp) { return dao.addCompte(cp, codeCli, codeEmp); }
{ "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 verser(double mt, String cpte, Long codeEmp) { dao.addOperation(new Versement(new Date(),mt), cpte, codeEmp); Compte cp=dao.consulterCompte(cpte); cp.setSolde(cp.getSolde()+mt); }
{ "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 retirer(double mt, String cpte, Long codeEmp) { dao.addOperation(new Retrait(new Date(),mt), cpte, codeEmp); Compte cp=dao.consulterCompte(cpte); cp.setSolde(cp.getSolde()-mt); }
{ "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 Compte consulterCompte(String codeCpte) { return dao.consulterCompte(codeCpte); }
{ "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 List<Operation> consulterOperations(String codeCpte, int position, int nbOperation) { return dao.consulterOperations(codeCpte,position,nbOperation); }
{ "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 Client consulterClient(Long codeClient) { return dao.consulterClient(codeClient); }
{ "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 List<Client> consulterClients(String mc) { return dao.consulterClients(mc); }
{ "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 List<Compte> getComptesByClient(Long codeCli) { return dao.getComptesByClient(codeCli); }
{ "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 List<Compte> getComptesByEmploye(Long codeEmp) { return dao.getComptesByEmploye(codeEmp); }
{ "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 List<Employe> getEmployes() { return dao.getEmployes(); }
{ "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 List<Groupe> getGroupes() { return dao.getGroupes(); }
{ "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 List<Employe> getEmployesByGroupe(Long codeGr) { return dao.getEmployesByGroupe(codeGr); }
{ "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 long getNombreOperation(String numCpte) { return dao.getNombreOperation(numCpte); }
{ "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
Checks if token signature is valid
public boolean isTokenValid() throws RSAEncryptedRSASignedJWTException{ if(decryptedSignedJWT == null) throw new RSAEncryptedRSASignedJWTException("JWT token has not been decrypted"); else return this.verifyToken(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static boolean ValidateTokenSignature(String token, PublicKey publicKey) {\n \tboolean verified=true;\n try {\n \tJwts.parser().setSigningKey(publicKey).parseClaimsJws(token);\n } catch (Exception e) {\n verified=false;\n }\n return verified;\n }", ...
[ "0.7674667", "0.7270654", "0.7078728", "0.70303357", "0.70303357", "0.6906787", "0.6895833", "0.6829305", "0.6705424", "0.66671616", "0.6652399", "0.66309166", "0.6611513", "0.6606179", "0.6586063", "0.6574711", "0.65285414", "0.6528527", "0.64886194", "0.64830834", "0.645251...
0.6495321
18
TODO Autogenerated method stub
public static void main(String[] args) { Inheritence a=new Inheritence(); country(); city(); age(); a.flower(); System.out.println(l); System.out.println(a.d); }
{ "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
Modified method to Add a new user User
@PostMapping(value="users/addNew") public RedirectView addNew(User user, RedirectAttributes redir) { userService.save(user); RedirectView redirectView= new RedirectView("/login",true); redir.addFlashAttribute("message", "You successfully registered! You can now login"); return redirectView; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addUser(User user) {\n\t\t\r\n\t}", "public void addUser(UserModel user);", "public void addUser(User user);", "void addUser(User user);", "void addUser(User user);", "@Override\r\n\tpublic void add(User user) {\n\r\n\t}", "public void addUser(User user){\r\n users.add(user);\r\n ...
[ "0.84158397", "0.8187643", "0.81219286", "0.803908", "0.803908", "0.7903495", "0.7873448", "0.7854214", "0.7774401", "0.7767639", "0.77561796", "0.7747109", "0.7679348", "0.76766044", "0.7670608", "0.7669315", "0.76646596", "0.7649591", "0.76490635", "0.7625281", "0.76249146"...
0.0
-1
TODO Autogenerated method stub
@Override public ComponentInfo doBeforeCompose(Page page, Component parent, ComponentInfo compInfo) { return compInfo; }
{ "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 doBeforeComposeChildren(Component comp) throws Exception { }
{ "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 boolean doCatch(Throwable ex) throws Exception { return false; }
{ "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 doFinally() throws Exception { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
public static void main(String[] args) throws Exception { int port = 12345; ServerSocket server = new ServerSocket(port); System.out.println("서버 준비 완료"); Socket socket = server.accept(); InputStreamReader isr = new InputStreamReader(socket.getInputStream()); BufferedReader in1 = new BufferedReader(isr); String str = in1.readLine(); System.out.println("클라이언트로부터 받은 메세지: " + str); in1.close(); socket.close(); }
{ "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
reloads the timetable corresponding to the selection on the basetab
public void reloadRoomTable() { // controller for table methods IntfCtrlGenericTables genericTablesController = new CtrlGenericTables(); // set the Semester label this.lblvaluesemester_.setText(ViewManager.getInstance() .getCoreBaseTab().getComboBoxSemesterFilter().getSelectedItem() .toString()); // get the room allocations from the temprary storage List<IntfRoomAllocation> roomAllocationList = this.roomAllocList_; // call the reload method genericTablesController.reloadTable(getStundenplanTable(), roomAllocationList, true, true); // Set the maximum size of the scroll pane (don't forget to add the // table header!) scrollPane_.setMaximumSize(new Dimension(32767, ((int) timetableTable_ .getPreferredSize().getHeight() + 26))); this.updateUI(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "synchronized void refresh() {\n\n\t\t// We must not call fireTableDataChanged, because that would clear the\n\t\t// selection in the task window\n\t\tfireTableRowsUpdated(0, size - 1);\n\n\t}", "private void reloadPlanTable() {\n\t\t\r\n\t}", "public void reloadTable() {\n\n this.removeAllData();// borr...
[ "0.6513488", "0.64472693", "0.6392832", "0.60559475", "0.6028924", "0.6002887", "0.59583706", "0.59414047", "0.5935725", "0.58747184", "0.58492696", "0.58483964", "0.5830103", "0.5829236", "0.58248264", "0.5820593", "0.58054346", "0.57861054", "0.5755069", "0.57488734", "0.57...
0.6510131
1
Export this object in ASCII format to the PrintWriter passed in.
public void exportTo(PrintWriter pw, Animator animator) { // 1. write out the info contained in the ancestor // note: this ends without a space super.exportTo(pw, animator); Put put = (Put) animator; // 2. write out the new cell content pw.print(" entering \""); pw.print(PTText.escapeText(put.getContent())); // 3. write out the cell number pw.print("\" into cell "); pw.print(put.getCell()); // 5. write out the used IDs int[] IDs = put.exportIDs(); pw.print(" using IDs "); pw.print(IDs[0]); pw.print(" "); pw.println(IDs[1]); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void writeOut(PrintWriter pw){}", "protected void print(Object s) throws IOException {\n out.write(Convert.escapeUnicode(s.toString()));\n }", "public void serialise(java.io.PrintWriter pw) \n throws IOException {\n serialise(new StreamResult(pw));\n }", "voi...
[ "0.6498954", "0.6365698", "0.6250648", "0.6213781", "0.6198134", "0.6194923", "0.60931265", "0.60774046", "0.6057223", "0.6055447", "0.60399306", "0.60012704", "0.597641", "0.5960437", "0.59601235", "0.590486", "0.58944774", "0.58765715", "0.58688444", "0.58635396", "0.578652...
0.610401
6
not public because only want to use between classes of this package
ForwardingCalendar(CalendarImplementation cal) { this.cal = cal; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private stendhal() {\n\t}", "private MetallicityUtils() {\n\t\t\n\t}", "private MApi() {}", "private Utils() {}", "private Utils() {}", "private Utils() {}", "private Utils() {}", "private Rekenhulp()\n\t{\n\t}", "private Util() { }", "private OMUtil() { }", "@Override\n protected void initial...
[ "0.67965955", "0.6347045", "0.6258892", "0.62586105", "0.62586105", "0.62586105", "0.62586105", "0.6235993", "0.6220103", "0.62184864", "0.6191768", "0.6191768", "0.6191768", "0.6191768", "0.6191768", "0.6191768", "0.61893284", "0.6141262", "0.6140419", "0.61390716", "0.61064...
0.0
-1
CalendarImplementation.compareTo() will be called
public int compareTo(Calendar anotherCalendar) { return cal.compareTo(anotherCalendar); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public int compareTo(Calendar anotherCalendar) {\n return compareDays(super.getCalendarImplementation().getFirstDayOfWeek(), anotherCalendar.getFirstDayOfWeek());\n }", "@Override\n public int compareTo(Date ARG) {\n if (year < ARG.year)\n {\n \treturn -1;\n ...
[ "0.7551932", "0.6861949", "0.6850458", "0.66452867", "0.6631275", "0.66200477", "0.66078675", "0.6607481", "0.64940494", "0.63661355", "0.63378316", "0.6326867", "0.624985", "0.62245655", "0.6188771", "0.6167802", "0.6112482", "0.6096473", "0.6086364", "0.60769695", "0.606909...
0.77296585
0
edited this method to use CalendarImplementation's first day
@Override public int compareTo(Calendar anotherCalendar) { return compareDays(super.getCalendarImplementation().getFirstDayOfWeek(), anotherCalendar.getFirstDayOfWeek()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private int getFirstRepresentingDay() {\n\t\tint firstRepresentingDay;\r\n\t\tGregorianCalendar myCalendar = new GregorianCalendar(year, month, 1);\r\n\r\n\t\tint daysofMonth = myCalendar.getActualMaximum(Calendar.DAY_OF_MONTH);\r\n\t\tint firstDayMonth = myCalendar.get(Calendar.DAY_OF_WEEK); // First day of month...
[ "0.7556063", "0.7251767", "0.6909655", "0.6894794", "0.6861407", "0.6836668", "0.67860687", "0.6781026", "0.6648341", "0.6642811", "0.66415125", "0.6641501", "0.66160166", "0.6576574", "0.65066546", "0.6500354", "0.6489571", "0.64837754", "0.6412144", "0.63992226", "0.6376809...
0.0
-1
Returns all reports on file
@RequestMapping(method = RequestMethod.GET, value = "/getReports") public List<Reports> getReports() { List<Reports> results = reportsRepository.getReportsByDate(); return results; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void getReportManually() {\n File reportDir = new File(KOOM.getInstance().getReportDir());\n for (File report : reportDir.listFiles()) {\n //Upload the report or do something else.\n }\n }", "public List<Report> downloadReports() {\n Instant now = Instant.now();\n...
[ "0.7416134", "0.68650347", "0.6748312", "0.6728715", "0.6502306", "0.6373689", "0.63414276", "0.6245501", "0.62184775", "0.618956", "0.61651504", "0.61561507", "0.6120524", "0.610771", "0.61034304", "0.610069", "0.60766184", "0.6068765", "0.6048423", "0.60435367", "0.60388803...
0.6536461
4
Allows the client to file a report and adds it to the Reports database
@RequestMapping(method = RequestMethod.POST, value = "/fileReport") public void addReport(@RequestBody Map<String, Object> reportSent) { logger.info(reportSent.toString()); String filedby = reportSent.get("filedby").toString(); String lot = reportSent.get("lot").toString(); Integer spot = Integer.parseInt(reportSent.get("spot").toString()); String description = reportSent.get("description").toString(); Long filetime = Long.parseLong(reportSent.get("filetime").toString()); logger.info(filedby); logger.info(lot); logger.info(Integer.toString(spot)); logger.info(description); logger.info(Long.toString(filetime)); reportsRepository.fileReport(filedby, lot, spot, description, filetime); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void createReport(Report report);", "boolean createReport(String lang, String reportId, String fileName, Object... params) throws Exception;", "public void saveReport() {\n\t\ttry {\n\t\t\tPrintWriter out = new PrintWriter(new FileOutputStream(reportFile));\n\t\t\tout.println(record.reportToString());\n\t\t\to...
[ "0.7024761", "0.6915207", "0.6902684", "0.6691447", "0.665297", "0.6581216", "0.65385133", "0.6474397", "0.6455939", "0.63588446", "0.63359934", "0.6288866", "0.61286634", "0.61085343", "0.61007255", "0.60999644", "0.608886", "0.6050964", "0.60467327", "0.60415685", "0.601795...
0.6633486
5
Deletes a report from the database
@RequestMapping(method = RequestMethod.POST, value = "/deleteReport") public String deleteReport(String rid) { logger.info(rid); Integer id = Integer.parseInt(rid); reportsRepository.deleteById(id); return "deleted"; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void deleteReport(ReportBase report)\r\n throws PersistenceException;", "public void delete(IncomingReport incoming_report) throws DAOException;", "public void delete(MrReport report) {\n getSession().delete(report);\n }", "private void deleteReport(int reportID){\n\t\ttry {\n\t\t...
[ "0.81656355", "0.79651487", "0.7756696", "0.77455944", "0.7636574", "0.7491414", "0.73111147", "0.725545", "0.71437776", "0.6717792", "0.66974366", "0.6679742", "0.66360956", "0.648282", "0.64096135", "0.6405842", "0.6332411", "0.6295557", "0.62950736", "0.6244971", "0.619152...
0.6847649
9
TODO Autogenerated method stub
public List<IDocument> getDocumentsByStateUsingBatch(State state,int batchSize) { 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
Nadpisanie nie jest istotnoe
private void check_this_minute() { controlNow = false; for (DTimeStamp dayControl : plan) { if (dayControl.point == clockTime.point) { controlNow = true; break; } } for (DTimeStamp simControl : extra) { if (simControl.equals(clockTime)) { controlNow = true; break; } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\r\n public void elCerdoNoSePuedeAtender() {\n }", "public void carroNoAgregado(){\n System.out.println(\"No hay un parqueo para su automovil\");\n }", "@Test\n public void testExistenceTestuJedneOsoby() {\n osBeznyMuz = new Osoba(120, 150, Barva.MODRA);\n testJedneOsoby(osBeznyMuz,...
[ "0.6469296", "0.6395747", "0.63509315", "0.63096076", "0.6161424", "0.61466175", "0.60852623", "0.6061914", "0.6033656", "0.60188633", "0.6017863", "0.5967346", "0.5959663", "0.5942029", "0.59110826", "0.59083974", "0.58646345", "0.5846248", "0.5840364", "0.5837766", "0.58330...
0.0
-1
we can Add component to the applet here ...Jpanel TableModel jm = TableModel();
public void run() { JTable jt = new JTable(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addTableGui() {\n\t\tDefaultTableModel mTableModel = new DefaultTableModel();\r\n\t\tmTable = new JTable(mTableModel);\r\n\r\n\t\tmTableModel.addColumn(\"MSSV\");\r\n\t\tmTableModel.addColumn(\"HoTen\");\r\n\t\tmTableModel.addColumn(\"GioiTinh\");\r\n\t\tmTableModel.addColumn(\"NTNS\");\r\n\t\tJScrollP...
[ "0.74767596", "0.67169845", "0.6630129", "0.6606609", "0.658609", "0.65552175", "0.6550344", "0.652707", "0.6513561", "0.64685214", "0.6464395", "0.6457056", "0.64218545", "0.64139944", "0.64090884", "0.6398223", "0.63719773", "0.6371713", "0.6370712", "0.63498175", "0.629940...
0.0
-1
Called when this applet is loaded into the browser.
public void init() { Thread appThread = new Thread() { public void run() { try { SwingUtilities.invokeAndWait(doHelloWorld); } catch (Exception e) { e.printStackTrace(); } System.out.println("Finished on " + Thread.currentThread()); } }; appThread.start(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void initApplet() {\n\t}", "public void init(){\n System.out.println(\"SampleApplet.init() executed\");\r\n }", "public void onLoad()\n\t{\n\t\tJLog.info(\" --- INIT --- \");\n\t\t\n\t}", "public void onLoad() {\n\t}", "public void init()\r\n\t{\r\n\t\tStaticAppletData.setCo...
[ "0.7586219", "0.72204506", "0.65040505", "0.64790004", "0.6465468", "0.6353129", "0.627752", "0.6269934", "0.62341654", "0.6186274", "0.60648155", "0.6032404", "0.6023071", "0.59597945", "0.59555507", "0.5886076", "0.58603865", "0.58566606", "0.58094025", "0.5784329", "0.5772...
0.0
-1
When an object implementing interface Runnable is used to create a thread, starting the thread causes the object's run method to be called in that separately executing thread. The general contract of the method run is that it may take any action whatsoever.
@Override public void run() { send(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface Startable extends Runnable {\n \n /**\n * Waits until the thread this object is running in is finished before returning.\n */\n public void join();\n \n /**\n * Checks whether the component is done with its work.\n * @return <code>true</code> if the component is fini...
[ "0.7048037", "0.6961284", "0.68868715", "0.67365074", "0.6644096", "0.6579968", "0.6518229", "0.64970374", "0.64966977", "0.64670104", "0.64468443", "0.644141", "0.6393757", "0.6389001", "0.6380501", "0.6375309", "0.63678", "0.63678", "0.63678", "0.63678", "0.63678", "0.635...
0.0
-1
Auto generated method signature
public nl.mcl.services.ScheduleTreatmentResponse scheduleTreatment( nl.mcl.services.ScheduleTreatment scheduleTreatment0) { // TODO : fill this with the necessary business logic throw new java.lang.UnsupportedOperationException( "Please implement " + this.getClass().getName() + "#scheduleTreatment"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public String kind() {\n return \"@param\";\n }", "default String getSignature() {\n StringBuilder sb = new StringBuilder();\n sb.append(getName());\n sb.append(\"(\");\n for (int i = 0; i < getNumberOfParams(); i++) {\n if (i != 0) {\n ...
[ "0.64947695", "0.6414132", "0.6405299", "0.63355136", "0.63266826", "0.6287902", "0.6237657", "0.6183305", "0.6183305", "0.60943216", "0.6066301", "0.60621434", "0.60615", "0.6049231", "0.60128224", "0.6008845", "0.60006756", "0.5995903", "0.5953102", "0.5950571", "0.59489554...
0.0
-1
if it is final photo, reset count
@Override public void onClick(View v) { if (current_photo < petPhotoUrlList.size()-1) { current_photo++; imageView.setImageBitmap(photoList[current_photo]); } else{ current_photo=0; imageView.setImageBitmap(photoList[current_photo]); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void updateRecordCurrentImageCount(final Record record) {\n String recordPath = getPathForRecord(record);\n File recordFolder = new File(recordPath);\n if (recordFolder.exists()) {\n File[] recordFiles = recordFolder.listFiles();\n record.photoCount = recordFiles !...
[ "0.67025197", "0.6518826", "0.62462723", "0.6239675", "0.62175316", "0.61943084", "0.6144409", "0.6084961", "0.5951919", "0.5892202", "0.585516", "0.57616836", "0.5686907", "0.5672365", "0.56653297", "0.5660176", "0.5651581", "0.5640786", "0.5618219", "0.55983543", "0.5575923...
0.5559256
23
click and show Shelter Page
public void showShelter(View view) throws IOException{ Intent goShelter = new Intent(this,ShelterInfoActivity.class); goShelter.putExtra("shelterId",shelterId); startActivity(goShelter); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "HtmlPage clickSiteName();", "private void inspectShelterAt(Point p)\n {\n // Ignore clicks outside the actual grid of shelters\n int col = (int) p.getX();\n if ( col < 0 ) return;\n if ( col >= shelters.getGridWidth() ) return;\n \n int row = (int) p.getY();\n ...
[ "0.6435237", "0.6348112", "0.6337979", "0.6264716", "0.62377983", "0.61731166", "0.6155511", "0.614923", "0.6125071", "0.6087474", "0.6013777", "0.60093653", "0.5995835", "0.59732896", "0.5944517", "0.593676", "0.59268093", "0.5909564", "0.59018064", "0.58960754", "0.58694893...
0.7152884
0