query
stringlengths
7
33.1k
document
stringlengths
7
335k
metadata
dict
negatives
listlengths
3
101
negative_scores
listlengths
3
101
document_score
stringlengths
3
10
document_rank
stringclasses
102 values
Test case number: 147 /Coverage entropy=0.8547993329795982
@Test(timeout = 4000) public void test147() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer("zO=t1k%z["); Token token0 = xPathLexer0.star(); assertEquals(20, token0.getTokenType()); assertEquals("z", token0.getTokenText()); Token token1 = xPathLexer0.minus(); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.72524536", "0.7177919", "0.6890989", "0.6833072", "0.68190247", "0.67792267", "0.67472136", "0.6739055", "0.6737109", "0.6736579", "0.6714047", "0.66928124", "0.66763383", "0.6662579", "0.6659063", "0.6643897", "0.66317666", "0.66249704", "0.6622878", "0.66179657", "0.6572...
0.0
-1
Test case number: 148 /Coverage entropy=0.7844482981733467
@Test(timeout = 4000) public void test148() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer(")o/f0*4=P~Q{S"); Token token0 = xPathLexer0.dollar(); assertEquals(26, token0.getTokenType()); assertEquals(")", token0.getTokenText()); Token token1 = xPathLexer0.at(); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.73640996", "0.72618055", "0.69347", "0.6933627", "0.69008845", "0.68682104", "0.68667793", "0.6846385", "0.6837784", "0.6827946", "0.6801714", "0.6795379", "0.6751121", "0.6750789", "0.67449164", "0.6731738", "0.6724537", "0.6705492", "0.6701608", "0.6676979", "0.6674966",...
0.0
-1
Test case number: 149 /Coverage entropy=0.4927983298381057
@Test(timeout = 4000) public void test149() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer("m6l-dKX`qghFq8(,{"); Token token0 = xPathLexer0.rightParen(); assertEquals(2, token0.getTokenType()); assertEquals("m", token0.getTokenText()); Token token1 = xPathLexer0.notE...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7263519", "0.7121534", "0.6879855", "0.6877601", "0.6799117", "0.67958903", "0.6785497", "0.6783237", "0.67624503", "0.6752073", "0.6743233", "0.673059", "0.66995794", "0.66900414", "0.66800195", "0.66523045", "0.66276854", "0.6624388", "0.6583263", "0.6580063", "0.6570603...
0.0
-1
Test case number: 150 /Coverage entropy=0.4511636006386335
@Test(timeout = 4000) public void test150() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer("4,"); Token token0 = xPathLexer0.leftParen(); assertEquals("4", token0.getTokenText()); assertEquals(1, token0.getTokenType()); Token token1 = xPathLexer0.nextToken(); a...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7153933", "0.69916266", "0.6938716", "0.68642926", "0.68125767", "0.6741422", "0.67112285", "0.66719806", "0.66376436", "0.6633991", "0.6582736", "0.65763295", "0.65478253", "0.65417933", "0.6506145", "0.6497757", "0.64872503", "0.64864457", "0.64772487", "0.64752376", "0....
0.0
-1
Test case number: 151 /Coverage entropy=1.4026765206128209
@Test(timeout = 4000) public void test151() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer("9M4i+yR.T"); Token token0 = xPathLexer0.number(); assertEquals("9", token0.getTokenText()); assertEquals(30, token0.getTokenType()); Token token1 = xPathLexer0.dollar(); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7099927", "0.7013053", "0.68384564", "0.6790065", "0.67298365", "0.6654438", "0.6651764", "0.6643092", "0.6641806", "0.66403323", "0.6618682", "0.66078067", "0.65902156", "0.65825456", "0.6553951", "0.65250754", "0.6518337", "0.6490539", "0.64778763", "0.64677215", "0.6451...
0.0
-1
Test case number: 152 /Coverage entropy=0.4089388914174921
@Test(timeout = 4000) public void test152() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer("*?^k*=?5o_,;~y"); Token token0 = xPathLexer0.nextToken(); assertEquals(20, token0.getTokenType()); assertEquals("*", token0.getTokenText()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.71300256", "0.71056587", "0.6803823", "0.6772896", "0.6768817", "0.6688507", "0.6679378", "0.6645095", "0.66389257", "0.66196114", "0.66150737", "0.66133946", "0.6610224", "0.6565376", "0.6558574", "0.6541818", "0.6522415", "0.65203243", "0.65048337", "0.6486942", "0.64790...
0.0
-1
Test case number: 153 /Coverage entropy=0.4089388914174921
@Test(timeout = 4000) public void test153() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer(") ("); Token token0 = xPathLexer0.nextToken(); assertEquals(")", token0.getTokenText()); assertEquals(2, token0.getTokenType()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7262307", "0.71282756", "0.6903715", "0.6865025", "0.6854876", "0.68194175", "0.6796121", "0.6761381", "0.6748059", "0.6735244", "0.6728147", "0.6712813", "0.6709836", "0.669659", "0.66590875", "0.6632344", "0.66284585", "0.6624851", "0.66204345", "0.65943503", "0.6591212"...
0.0
-1
Test case number: 154 /Coverage entropy=0.56217493659866
@Test(timeout = 4000) public void test154() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer("'=X_"); Token token0 = xPathLexer0.nextToken(); assertEquals((-1), token0.getTokenType()); assertEquals("", token0.getTokenText()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7250225", "0.71259886", "0.6829385", "0.6809697", "0.67997104", "0.67767525", "0.6757195", "0.6752136", "0.67510486", "0.67335814", "0.6693152", "0.66701764", "0.6668765", "0.6656198", "0.66514736", "0.66512287", "0.6641839", "0.66240054", "0.6622262", "0.6607724", "0.6580...
0.0
-1
Test case number: 155 /Coverage entropy=0.3955852454859713
@Test(timeout = 4000) public void test155() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer("&b/Xk]"); Token token0 = xPathLexer0.nextToken(); assertEquals("&b/Xk]", token0.getTokenText()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7311667", "0.7198613", "0.6957915", "0.6906774", "0.68919253", "0.6871355", "0.6864015", "0.6768932", "0.67682105", "0.67411685", "0.6740603", "0.67246234", "0.67194366", "0.67038", "0.66867226", "0.6684067", "0.6679947", "0.66598386", "0.6655817", "0.66389114", "0.6638269...
0.0
-1
Test case number: 156 /Coverage entropy=0.520034471866936
@Test(timeout = 4000) public void test156() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer("II%oBQL*c"); Token token0 = xPathLexer0.not(); assertEquals(23, token0.getTokenType()); assertEquals("I", token0.getTokenText()); Token token1 = xPathLexer0.star(); asse...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.735743", "0.72343326", "0.6924815", "0.68898654", "0.6865137", "0.6837514", "0.67807657", "0.67647946", "0.672382", "0.67092", "0.67056566", "0.6671312", "0.6652664", "0.66474205", "0.66201776", "0.6616296", "0.65979034", "0.6582126", "0.65577585", "0.65435356", "0.6515121...
0.0
-1
Test case number: 157 /Coverage entropy=0.4511636006386335
@Test(timeout = 4000) public void test157() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer("($mYG)Udli"); Token token0 = xPathLexer0.leftParen(); assertEquals(1, token0.getTokenType()); assertEquals("(", token0.getTokenText()); Token token1 = xPathLexer0.nextToken();...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.72317684", "0.71132976", "0.6850893", "0.68088436", "0.6790014", "0.6784015", "0.67782146", "0.6698287", "0.6691443", "0.66713107", "0.6665842", "0.66581655", "0.6652247", "0.6645828", "0.66250956", "0.6622499", "0.66170734", "0.66128385", "0.65731263", "0.6565696", "0.654...
0.0
-1
Test case number: 158 /Coverage entropy=0.3955852454859713
@Test(timeout = 4000) public void test158() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer("##W5H&+AQc"); Token token0 = xPathLexer0.nextToken(); assertEquals("##W5H&+AQc", token0.getTokenText()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.72515523", "0.71659464", "0.68336403", "0.6799409", "0.67919564", "0.6751879", "0.6745958", "0.6708831", "0.67085963", "0.6688977", "0.6670529", "0.6652685", "0.66480964", "0.66444737", "0.6642744", "0.6622085", "0.66124207", "0.65821195", "0.65741", "0.6573041", "0.655478...
0.0
-1
Test case number: 159 /Coverage entropy=0.6019654157279901
@Test(timeout = 4000) public void test159() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer("g\"K@1"); Token token0 = xPathLexer0.leftParen(); assertEquals("g", token0.getTokenText()); assertEquals(1, token0.getTokenType()); Token token1 = xPathLexer0.nextToken(); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7276082", "0.71545786", "0.68949574", "0.6831705", "0.6815185", "0.68049514", "0.67993015", "0.67152184", "0.6709943", "0.6705079", "0.6687793", "0.6678761", "0.6674228", "0.66392887", "0.663426", "0.6613756", "0.6609619", "0.66071755", "0.6562777", "0.6553656", "0.6523353...
0.0
-1
Test case number: 160 /Coverage entropy=1.0972630115546445
@Test(timeout = 4000) public void test160() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer("hN!SM~8ux(wB"); Token token0 = xPathLexer0.dollar(); assertEquals("h", token0.getTokenText()); xPathLexer0.not(); Token token1 = xPathLexer0.nextToken(); assertEquals(23...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7249441", "0.71351236", "0.70035756", "0.6905322", "0.6893986", "0.68380696", "0.67622054", "0.6755346", "0.66962934", "0.66360706", "0.6631935", "0.6627696", "0.6617612", "0.66014385", "0.66008574", "0.65913886", "0.65695024", "0.6565586", "0.6558434", "0.65327454", "0.65...
0.0
-1
Test case number: 161 /Coverage entropy=0.9057771742722761
@Test(timeout = 4000) public void test161() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer(") T/"); Token token0 = xPathLexer0.leftParen(); assertEquals(1, token0.getTokenType()); assertEquals(")", token0.getTokenText()); Token token1 = xPathLexer0.nextToken(); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7098471", "0.7070302", "0.684236", "0.67534447", "0.6721319", "0.6633905", "0.6617943", "0.6578553", "0.6572967", "0.6560965", "0.65542305", "0.6553085", "0.6531109", "0.65237105", "0.65176386", "0.6507705", "0.6499723", "0.64923894", "0.6482166", "0.6455073", "0.6451587",...
0.0
-1
Test case number: 162 /Coverage entropy=1.016593388618193
@Test(timeout = 4000) public void test162() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer("com.werken.saxpath.XPathLexer"); xPathLexer0.rightParen(); xPathLexer0.notEquals(); xPathLexer0.nextToken(); Token token0 = xPathLexer0.identifierOrOperatorName(); assertNull(t...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.71232456", "0.70340073", "0.68006504", "0.6781587", "0.6777578", "0.6691187", "0.6678713", "0.6671864", "0.6665043", "0.66317844", "0.6608502", "0.65922564", "0.65863895", "0.6578692", "0.65542614", "0.6553251", "0.65502393", "0.6548067", "0.65042067", "0.6498636", "0.6498...
0.0
-1
Test case number: 163 /Coverage entropy=1.4631071277275791
@Test(timeout = 4000) public void test163() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer("hN!SM~8ux(wB"); Token token0 = xPathLexer0.equals(); assertEquals(21, token0.getTokenType()); assertEquals("h", token0.getTokenText()); xPathLexer0.dollar(); xPathLexer0...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7280164", "0.71083844", "0.69036025", "0.6835393", "0.6817982", "0.6812575", "0.68027174", "0.6783326", "0.67792714", "0.6750651", "0.67402387", "0.67345", "0.67282766", "0.67050004", "0.67002475", "0.66880393", "0.66877854", "0.6679011", "0.6662117", "0.66535264", "0.6635...
0.0
-1
Test case number: 164 /Coverage entropy=1.6094379124341005
@Test(timeout = 4000) public void test164() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer(); Token token0 = xPathLexer0.leftBracket(); assertEquals(3, token0.getTokenType()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.7211772", "0.71468484", "0.6880992", "0.685696", "0.68530655", "0.6850684", "0.6809209", "0.67442083", "0.67412686", "0.6740612", "0.6718612", "0.67051446", "0.66798407", "0.66754824", "0.66531575", "0.6651482", "0.6651252", "0.66376424", "0.6633486", "0.6627184", "0.66242...
0.0
-1
Test case number: 165 /Coverage entropy=1.6094379124341005
@Test(timeout = 4000) public void test165() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer(); Token token0 = xPathLexer0.colon(); assertEquals(18, token0.getTokenType()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.72086763", "0.7094307", "0.6904085", "0.68941814", "0.6840513", "0.68243223", "0.6789177", "0.67844987", "0.6737753", "0.6724128", "0.67231756", "0.67181623", "0.66898227", "0.6660697", "0.6621089", "0.6612311", "0.6603494", "0.66016227", "0.6599712", "0.6583315", "0.65810...
0.0
-1
Test case number: 166 /Coverage entropy=1.532954812744937
@Test(timeout = 4000) public void test166() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer("com.werken.saxpath.XPathLexer"); Token token0 = xPathLexer0.comma(); xPathLexer0.setPreviousToken(token0); assertEquals(32, token0.getTokenType()); assertEquals("c", token0.getTokenT...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test126() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.totalCost();\n as...
[ "0.72404355", "0.7135598", "0.6840405", "0.67887956", "0.6782234", "0.67570126", "0.674781", "0.6674957", "0.66630924", "0.66588354", "0.6644085", "0.66389924", "0.66299754", "0.6627028", "0.66007125", "0.6589035", "0.6585493", "0.6584864", "0.65355986", "0.6534872", "0.65266...
0.0
-1
Remove the eldest element whenever size of cache exceeds the capacity
@Override protected boolean removeEldestEntry(final Map.Entry<K, V> eldest) { return size() > capacity; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void removeTailElement(){\n JavaBaseTask removed = items.remove(tail.getKey());\n System.out.println(\"element with index : \" + removed.getKey() + \"has been deleted doe to cache eviction\");\n tail = tail.previous;\n var headAu = head;\n while (headAu.next != null){\n ...
[ "0.70938015", "0.6849463", "0.6847799", "0.68332183", "0.6811478", "0.67611814", "0.6760296", "0.67172515", "0.67108697", "0.6701546", "0.6618436", "0.6604224", "0.6603511", "0.6597619", "0.659182", "0.6583328", "0.65401274", "0.65357345", "0.6529521", "0.6528165", "0.6527608...
0.6909088
1
Inflate the layout for this fragment
@Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View v = inflater.inflate(R.layout.fragment_edit, container, false); ((TextView)v.findViewById(R.id.editTitleTV)).setText(aTrip.tripName); name = v.fin...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_main_allinfo, container, false);\n }", "@Override\r\n\tpublic View onCreateView(LayoutInflater inflater, ViewGroup...
[ "0.6739604", "0.67235583", "0.6721706", "0.6698254", "0.6691869", "0.6687986", "0.66869223", "0.6684548", "0.66766286", "0.6674615", "0.66654444", "0.66654384", "0.6664403", "0.66596216", "0.6653321", "0.6647136", "0.66423255", "0.66388357", "0.6637491", "0.6634193", "0.66251...
0.0
-1
Returns the byte value of the AlertLevel
public byte getValue() { return value; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getAlertPriority()\n {\n return this.alert_priority;\n }", "public @Int8 byte getAudioReferenceLevel()\r\n\t\tthrows PropertyNotPresentException;", "int getSeverityValue();", "public int getLevel() {\n if ( air != null )\n return air.sampleRSSI(CC1000Radio....
[ "0.63386756", "0.6252164", "0.60404015", "0.5988219", "0.5864911", "0.5814926", "0.57778275", "0.57694036", "0.57694036", "0.5754248", "0.5751809", "0.5746563", "0.5736154", "0.5705829", "0.5688062", "0.56451976", "0.5637084", "0.56218326", "0.55264753", "0.5524936", "0.55217...
0.5318787
55
getter for name of file
public String getName() { return this.name; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getFileName();", "java.lang.String getFileName();", "java.lang.String getFileName();", "java.lang.String getFileName();", "java.lang.String getFileName();", "java.lang.String getFileName();", "java.lang.String getFileName();", "java.lang.String getFileName();", "java.lang.String ge...
[ "0.8347426", "0.8347426", "0.8347426", "0.8347426", "0.8347426", "0.8347426", "0.8347426", "0.8347426", "0.8347426", "0.818255", "0.818255", "0.8130659", "0.8130659", "0.8130659", "0.8130659", "0.8130659", "0.80610573", "0.8047513", "0.80466664", "0.80366975", "0.8010875", ...
0.0
-1
setter for 'name' attribute
public void setName(String name){ this.name = name; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setName(String name) { this.name = name; }", "public void setName(String name) { this.name = name; }", "public void setName(String name) { this.name = name; }", "public void setName(String name) { this.name = name; }", "public void setName(String value) {\n this.name = value;\n }", ...
[ "0.85441667", "0.85441667", "0.85441667", "0.85441667", "0.8492177", "0.8477952", "0.8475663", "0.8475663", "0.8475663", "0.8473573", "0.8473573", "0.84681803", "0.8462913", "0.84598964", "0.84595835", "0.8454894", "0.8439226", "0.8437096", "0.8431235", "0.8431235", "0.842933...
0.8387294
45
getter for date of creation of the file
public Date getDate() { return this.date; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Date getFileDate()\r\n {\r\n return dFileDate;\r\n }", "Date getDateCreated();", "Date getCreationDate();", "public Date getDateCreated();", "Date getCreatedDate();", "public Date getCreationDate();", "@Override\n protected String getCreationDate() {\n try {\n i...
[ "0.7865552", "0.7685837", "0.74867815", "0.74241036", "0.73866004", "0.73288554", "0.7294576", "0.7277829", "0.72703576", "0.72638696", "0.72254467", "0.72254467", "0.71966594", "0.71833265", "0.7117991", "0.71140176", "0.71140176", "0.71140176", "0.71092373", "0.7094874", "0...
0.0
-1
create random date between years 2017 2021
public Date createDate() { Timestamp maxDate = new Timestamp(2021 - 1900, 11, 31, 23, 59, 59, 0); Timestamp minDate = new Timestamp(2017 - 1900, 0, 1, 0, 0, 0, 0); long range = maxDate.getTime() - minDate.getTime(); long...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String randomDateGenerator() {\n\n\t\tLocalDate startDate = LocalDate.now();\n\n\t\tint year = startDate.getYear();\n\t\tint month = startDate.getMonthValue();\n\t\tint day = startDate.getDayOfMonth();\n\n\t\tLocalDate endDate = LocalDate.of(year + 1, month, day);\n\n\t\tlong randomDate = randBetween(startD...
[ "0.73799056", "0.7224866", "0.71951383", "0.7115827", "0.7068516", "0.6845781", "0.67870903", "0.665087", "0.65824616", "0.64709437", "0.63629556", "0.6248261", "0.6237894", "0.61976093", "0.61972976", "0.6144606", "0.60666335", "0.6046132", "0.600151", "0.58748263", "0.58406...
0.6701455
7
printing the system's tree starting from this item
public void printTree(SortingField field) { if(this instanceof File){ System.out.println(this.getName()); return; } ((Folder)this).sortList(field); //now the list is sorted according to the field given //printing the tree ((Folder) this).print...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void tree()\n\t{\n\t\tIterable<Position<FileElement>> toPrint = fileSystem.PreOrder();\n\t\tfor (Position<FileElement> p : toPrint)\n\t\t{\n\t\t\tint depth = fileSystem.getDepth(p);\n\t\t\tfor (int i = 0; i < depth; i++)\n\t\t\t{\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t\tSystem.out.println(p.getVa...
[ "0.79601", "0.7625566", "0.76090956", "0.7588721", "0.7565799", "0.75080013", "0.7506163", "0.7499062", "0.7424469", "0.73825777", "0.7259738", "0.7249141", "0.72465163", "0.722589", "0.7182922", "0.715494", "0.7106794", "0.70516336", "0.70458955", "0.7037417", "0.70266694", ...
0.0
-1
TODO Autogenerated method stub
@Override public int doEndTag() throws JspException { return 0; }
{ "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 Tag getParent() { 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
TODO Autogenerated method stub
@Override public void release() { }
{ "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 setPageContext(PageContext arg0) { this.pageContext = arg0; }
{ "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 setParent(Tag arg0) { }
{ "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
Creates the underlying database table.
public static void createTable(Database db, boolean ifNotExists) { String constraint = ifNotExists? "IF NOT EXISTS ": ""; db.execSQL("CREATE TABLE " + constraint + "\"STEP11_RESBEAN\" (" + // "\"_id\" INTEGER PRIMARY KEY ," + // 0: step11Id "\"CURRENT_STEP_IS_CHECKED\" IN...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "TABLE createTABLE();", "public void create(Connection db) throws SQLException {\n if (tableName == null) {\n throw new SQLException(\"Table Name not specified\");\n }\n\n Statement st = db.createStatement();\n\n if (dbType == DatabaseUtils.POSTGRESQL) {\n if (hasSequence()) {\n st.ex...
[ "0.791309", "0.77940214", "0.74362296", "0.73251724", "0.73218036", "0.7314123", "0.72937477", "0.726144", "0.7253623", "0.7152383", "0.7142117", "0.71279895", "0.7109381", "0.7107476", "0.7067047", "0.7065432", "0.70631945", "0.7028555", "0.70216703", "0.70106506", "0.700553...
0.0
-1
Drops the underlying database table.
public static void dropTable(Database db, boolean ifExists) { String sql = "DROP TABLE " + (ifExists ? "IF EXISTS " : "") + "\"STEP11_RESBEAN\""; db.execSQL(sql); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void dropTable();", "@Override\r\n public void dropTable() {\n if(tableIsExist(TABLE_NAME)){\r\n String sql = \"drop table \" + TABLE_NAME;\r\n database.execSQL(sql);\r\n }\r\n }", "public void wipeTable() {\n SqlStorage.wipeTable(db, TABLE_NAME);\n }"...
[ "0.7789895", "0.76284015", "0.7504201", "0.7461965", "0.73182327", "0.72954285", "0.72924113", "0.7281721", "0.72654843", "0.7200476", "0.71981245", "0.71693176", "0.7104181", "0.70931613", "0.70916253", "0.7038522", "0.6928525", "0.6885475", "0.6786595", "0.67825055", "0.677...
0.61344934
98
Overrides a super() Constructor
public CassandraDataException(Exception e){ super(e); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Constructor() {\r\n\t\t \r\n\t }", "public Constructor(){\n\t\t\n\t}", "protected abstract void construct();", "O() { super(null); }", "private Converter()\n\t{\n\t\tsuper();\n\t}", "defaultConstructor(){}", "public ConStructorInheritance(){\r\n\t\t\r\n\t\tSystem.out.println(\"Parent Class Constructor\...
[ "0.7632275", "0.75982296", "0.6997523", "0.68917924", "0.6854512", "0.6833264", "0.68258923", "0.6818785", "0.6797113", "0.677201", "0.6734806", "0.67339283", "0.6729345", "0.6695349", "0.6678139", "0.6658176", "0.6639094", "0.6638196", "0.6637527", "0.66310835", "0.661802", ...
0.0
-1
Overrides a super(String msg) Constructor
public CassandraDataException(String msg){ super(msg); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Message(){\n this(\"Not Specified\",\"Not Specified\");\n }", "public Message() {\n\t\tsuper();\n\t}", "public LCAmsg2 () { }", "public MyCustomException( String message )\n {\n\n\t// Why are we doing this??\n super( message );\n }", "public Message(){}", "public MyException() {\n...
[ "0.7548625", "0.7449528", "0.72464865", "0.7239589", "0.7206113", "0.7201222", "0.7195248", "0.71654105", "0.7055893", "0.70401675", "0.6934613", "0.6934613", "0.69238365", "0.691137", "0.691137", "0.68808854", "0.68057775", "0.6803878", "0.67933285", "0.6711807", "0.6684007"...
0.0
-1
Basic Constructor for FileReceiver
public FileReceiver(String filename) { _fileName = filename; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public fileServer() {\n }", "public FileServ() {\n\t\tsuper();\n\t}", "public FileObject() {\n\t}", "protected FileMessage(MessageWireType wireId) {\n super(wireId);\n }", "public LdifFile()\n {\n }", "public File() {\n }", "private FileManager() {}", "public Receiver(String file) {\...
[ "0.7339792", "0.7283728", "0.721841", "0.7119013", "0.7035699", "0.7029043", "0.6997149", "0.6932935", "0.69326025", "0.68347573", "0.6789298", "0.6752117", "0.6717071", "0.669017", "0.66658545", "0.6596185", "0.6585132", "0.6575003", "0.6566938", "0.64988995", "0.64985716", ...
0.8299434
0
Retrieves a String from the Resources
public String getString(int id) { return context.getResources().getString(id); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getResourceName();", "String getResource();", "private String getStringFromResource(String resourcePath) {\n String str = \"\";\n ClassLoader classloader = getClass().getClassLoader();\n if (classloader == null) {\n return str;\n }\n if (logger.isTraceEnable...
[ "0.73807293", "0.72941047", "0.71567196", "0.71270585", "0.7073078", "0.70643026", "0.7001403", "0.69953245", "0.6959725", "0.69559914", "0.69480765", "0.6935844", "0.6871656", "0.6864138", "0.6830891", "0.68085796", "0.680083", "0.67766833", "0.6755862", "0.6742986", "0.6742...
0.6956176
9
Retrieves a color as Integer from the Resources
public int getColor(int id) { return ContextCompat.getColor(context, id); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getColorInt () {\r\n return this.colorReturned;\r\n }", "public Integer getColor() {\n\t\treturn color;\n\t}", "public int getColorValue() {\r\n\t\treturn color;\r\n\t}", "public int getColor();", "public int getColor();", "@ColorInt\n public int getColor() {\n return mColo...
[ "0.7637121", "0.70607483", "0.70405614", "0.69255495", "0.69255495", "0.6897822", "0.6862999", "0.6860524", "0.68253446", "0.6797276", "0.6797276", "0.67731386", "0.6746452", "0.6725443", "0.67210466", "0.66924924", "0.6653618", "0.6645843", "0.6645843", "0.6645843", "0.66458...
0.0
-1
Created by lenovo on 2017/8/20.
public interface HallDao { Hall queryHallById(int hallId); boolean deleteById(int hallId); boolean addHall(Hall hall); int count(); List<Hall> findAll(@Param("offset")int offset, @Param("size")int size); boolean updateHall(Hall hall); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "private stendhal() {\n\t}", "private static void cajas() {\n\t\t\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpubli...
[ "0.59105635", "0.5841549", "0.56869626", "0.5598404", "0.55433136", "0.5533411", "0.5510873", "0.5510873", "0.5450131", "0.54134476", "0.5413194", "0.54033566", "0.5392615", "0.538776", "0.5378038", "0.5371619", "0.535515", "0.53543025", "0.53495955", "0.53463024", "0.5342878...
0.0
-1
check if moving player_cell by vector collides with any nearby cell or hostile pherome
private boolean collides(Cell player_cell, Point vector, Set<Cell> nearby_cells, Set<Pherome> nearby_pheromes) { Iterator<Cell> cell_it = nearby_cells.iterator(); Point destination = player_cell.getPosition().move(vector); while (cell_it.hasNext()) { Cell other = cell_it.next(); if ( destina...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean collides(Rectangle player) {\r\n return player.overlaps(boundsTop) || player.overlaps(boundsBot);\r\n }", "private void processPlayerCollision() {\n\t\t// This starts by converting the player vertices to global positions.\n\t\tVector3 playerGlobalPosition = player.getGlobalPositionVector...
[ "0.6774878", "0.67404544", "0.6619627", "0.6567287", "0.6499284", "0.647308", "0.64278", "0.6426571", "0.6389503", "0.638513", "0.6270162", "0.6264328", "0.6247132", "0.6204516", "0.61876816", "0.61493444", "0.6132956", "0.6116706", "0.60984534", "0.60719556", "0.6065575", ...
0.8126
0
convert an angle (in 2deg increments) to a vector with magnitude Cell.move_dist (max allowed movement distance)
private Point extractVectorFromAngle(int arg) { double theta = Math.toRadians( 2* (double)arg ); double dx = Cell.move_dist * Math.cos(theta); double dy = Cell.move_dist * Math.sin(theta); return new Point(dx, dy); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic Vector2 angleToVector(Vector2 outVector, float angle) {\n\t\treturn Constants.angleToVector(outVector, angle);\n\t}", "public static double convertAngle(double angle) {\n // Reuse convertDistance() for calculating correct angle\n return convertDistance(Math.PI * BASE_WIDTH * angle / 360...
[ "0.5840469", "0.57579994", "0.5729309", "0.55956465", "0.5591559", "0.5543021", "0.55079764", "0.54421216", "0.54390967", "0.5423474", "0.5414196", "0.54114634", "0.53775376", "0.53494126", "0.5324078", "0.5309863", "0.52913445", "0.5244293", "0.52210456", "0.52179027", "0.52...
0.60688627
0
/ class com.tencent.android.tpush.XGPushTextMessage.AnonymousClass1 / renamed from: a
public XGPushTextMessage createFromParcel(Parcel parcel) { return new XGPushTextMessage(parcel); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "AnonymousClass1() {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 0073 in method: android.telephony.SmsCbCmasInfo.1.<init>():void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.telephony.SmsCbCmasIn...
[ "0.6588048", "0.58940417", "0.58197784", "0.5769233", "0.5642725", "0.56208736", "0.56008565", "0.5495542", "0.5477696", "0.54442775", "0.5414954", "0.54115415", "0.54063946", "0.53430134", "0.5339142", "0.53220123", "0.5317197", "0.530497", "0.52561855", "0.52124214", "0.520...
0.0
-1
/ renamed from: a
public XGPushTextMessage[] newArray(int i) { return new XGPushTextMessage[i]; }
{ "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
TODO Autogenerated method stub
@Override public void update(Invoice invoice) { invoiceDao.update(invoice); }
{ "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 Invoice findByInvId(Integer invId) { return invoiceDao.findByInvId(invId); }
{ "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 int findPageCount(Invoice invoice) { return invoiceDao.findPageCount(invoice); }
{ "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<Invoice> findPageList(Pager pager) { return invoiceDao.findPageList(pager); }
{ "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
Called when the Custom View is assigned a size
@Override protected void onSizeChanged(int w, int h, int oldw, int oldh) { super.onSizeChanged(w, h, oldw, oldh); canvasBitmap = Bitmap.createBitmap(w, h, Bitmap.Config.ARGB_8888); drawCanvas = new Canvas(canvasBitmap); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void sizeChanged () {\n }", "public void configure(T aView) { aView.setMinSize(80,22); }", "public void configure(T aView) { aView.setMinSize(120,60); }", "public void configure(T aView) { aView.setMinSize(120,60); }", "public void configure(T aView) { aView.setMinSize(120,6...
[ "0.7545453", "0.7036929", "0.70200086", "0.70200086", "0.70200086", "0.70200086", "0.70200086", "0.70200086", "0.69936013", "0.6984243", "0.6984243", "0.69112027", "0.6850194", "0.6829609", "0.6826482", "0.68244004", "0.6812234", "0.6797711", "0.6795378", "0.6759823", "0.6755...
0.63530225
45
/ Se activa cuando el usuario oprime la pantalla para dibujar
@Override protected void onDraw(Canvas canvas) { if(getBackgroundBitmap() != null){ Bitmap bmp= getBackgroundBitmap(); bmp = cutBottom(bmp); canvas.drawBitmap(bmp, 0,0, canvasPaint); canvas.drawBitmap(canvasBitmap, 0, 0, canvasPaint); // canvas.dr...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void tener_Usuario_activo() {\n\t\t\t\tdesktop.<DomTextField>find(\"//BrowserApplication//BrowserWindow//input[@id='username']\").typeKeys(\"ocastro\");\n\t\t\t\tdesktop.<DomTextField>find(\"//BrowserApplication//BrowserWindow//input[@id='password']\").setText(\"bogota2016\");\n\t\t\t\tdesktop.<DomBu...
[ "0.69417596", "0.68795997", "0.67777246", "0.67285615", "0.66288275", "0.65561795", "0.6551121", "0.6547028", "0.64943194", "0.64188194", "0.63473934", "0.6312574", "0.62919664", "0.629017", "0.6277861", "0.62769157", "0.6267766", "0.6245163", "0.6235925", "0.62258095", "0.62...
0.0
-1
/ Corta la parte final de un Bitmap
private Bitmap cutBottom(Bitmap origialBitmap) { Bitmap cutBitmap = Bitmap.createBitmap(origialBitmap.getWidth(), origialBitmap.getHeight(), Bitmap.Config.ARGB_8888); Canvas canvas = new Canvas(cutBitmap); Rect srcRect = new Rect(0, 6*(origialBitmap.getHeight() / 7), origialBitm...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void finalize(){\r\n srcImage = null;\r\n sigmas = null;\r\n xDataRound = null;\r\n yDataRound = null;\r\n zDataRound = null;\r\n super.finalize();\r\n }", "@Override\r\n\t protected void onPostExecute(Bitmap outBitmap) {\r\n\t\t\tLog.d(\"asdf\", \"ONPOSTEXE\");\r\n\t\t\tRectF dest =...
[ "0.6636859", "0.66344273", "0.6484427", "0.6337527", "0.6265529", "0.62226343", "0.6212407", "0.6197243", "0.61912984", "0.6181983", "0.61803055", "0.6170256", "0.61667675", "0.6151636", "0.6130517", "0.60333884", "0.5998623", "0.59979975", "0.5969983", "0.5952862", "0.593747...
0.0
-1
set erase true or false
public void setErase(boolean isErase){ erase=isErase; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void erase();", "@Override\r\n\tpublic void erase() {\n\t\t\r\n\t}", "public void setErase(boolean isErase){\n erase=isErase;\n if(erase) drawPaint.setXfermode(new PorterDuffXfermode(PorterDuff.Mode.CLEAR));\n else drawPaint.setXfermode(null);\n }", "public void setItDelete(boolean it...
[ "0.7026254", "0.69154954", "0.66320837", "0.62373286", "0.60536367", "0.6019088", "0.5996638", "0.5965976", "0.591499", "0.5844495", "0.5719777", "0.56973064", "0.5640399", "0.56064135", "0.55978525", "0.55749273", "0.55697817", "0.55697817", "0.55697817", "0.55479884", "0.55...
0.8208191
0
Allows a user to buy a selected monster.
public void BuyMonster(Monster monster, MyUser user) { persistIt.init(); List<Monster> monsters = persistIt.searchShopMonsters(); boolean found = false; for (int i = 0; i < monsters.size(); i++) { if (monsters.get(i).getId() == monster.getId()) { found...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void use(AbstractPlayer p, AbstractMonster m) {\n //give player plated armor\n AbstractDungeon.actionManager.addToBottom( // 2.Gain plated armor\n new com.megacrit.cardcrawl.actions.common.ApplyPowerAction(AbstractDungeon.player, AbstractDungeon.player,\n ...
[ "0.6438439", "0.63795185", "0.63355803", "0.63236946", "0.6314407", "0.6280687", "0.62765753", "0.6233644", "0.62139815", "0.6211629", "0.6159573", "0.6146065", "0.6112023", "0.6101262", "0.6082223", "0.6068054", "0.6049506", "0.60384715", "0.6022494", "0.5962845", "0.5951313...
0.72310305
0
allows a user to list a monster in the shop to be sold.
public void SellMonster(Monster monster, MyUser user) { persistIt.init(); List<Monster> monsters = persistIt.searchMonsters(); boolean found = false; for (int i = 0; i < monsters.size(); i++) { if (monsters.get(i).getId() == monster.getId()) { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void seeSoldItem() {\n\t\tShip selectedShip = game.getSelectedShip();\n\t\tHashMap<Goods, ArrayList<String>> soldItems = selectedShip.getSoldItems();\n\t\tint index = 1;\n\t\tSystem.out.println(\"Items that has been sold: \");\n\t\tfor (HashMap.Entry<Goods, ArrayList<String>> set: soldItems.ent...
[ "0.6592652", "0.6298334", "0.6090953", "0.577383", "0.5730926", "0.56966686", "0.56472164", "0.56207806", "0.5608446", "0.5590984", "0.5572417", "0.556816", "0.5520154", "0.54994833", "0.54977626", "0.5467031", "0.5462603", "0.5458469", "0.5445058", "0.5442398", "0.54367757",...
0.62140495
2
Interface for handling the synchronized acces to the peerlist
public interface IPeerManager { /** * Add a new PeerEndpoint to the list of peers * * @param peer */ void addPeerEndpoint(PeerEndpoint peer); /** * Returns a current snapshot of all known peers * * @return An iterable list of all the peers */ Set<...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface LockManager {\r\n \r\n /**\r\n * Obtain lock on <code>obj</code> for specified <code>owner</code>.\r\n * Implementation should try to obtain lock few times within the\r\n * specified timeout.\r\n *\r\n * @param obj obj to lock, usually not full object but object's ID.\r\n...
[ "0.5532905", "0.5519291", "0.54837334", "0.53966093", "0.5375045", "0.5343855", "0.5340095", "0.5335833", "0.532401", "0.5318568", "0.5318096", "0.5308167", "0.52904284", "0.52871823", "0.5274671", "0.52733654", "0.5261845", "0.5244869", "0.52278745", "0.5220355", "0.52050465...
0.50928885
35
Add a new PeerEndpoint to the list of peers
void addPeerEndpoint(PeerEndpoint peer);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addEndpoint(Endpoint endpoint)\r\n {\r\n getEndpoints().add(endpoint);\r\n }", "void addPeer(Uuid peer) throws RemoteException;", "public void addPeerToList(WifiP2pDevice peer) {\n stopRefreshActionBar();\n int peer_index = -1;\n if ((peer_index = peers_.indexOf(pe...
[ "0.70091796", "0.69690025", "0.6654728", "0.6613", "0.651315", "0.6469135", "0.6330296", "0.618256", "0.61424285", "0.60185117", "0.60141724", "0.59294236", "0.58999103", "0.5882083", "0.58619857", "0.57888466", "0.5733799", "0.5702701", "0.5687436", "0.5618394", "0.5595418",...
0.83659595
0
Returns a current snapshot of all known peers
Set<String> getPeerSnapshot();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.util.List<lightpay.lnd.grpc.Peer> \n getPeersList();", "public List<PeerAddress> all() {\n final List<PeerAddress> all = new ArrayList<PeerAddress>();\n for (final Map<Number160, PeerStatistic> map : peerMapVerified) {\n synchronized (map) {\n for (PeerStatistic ...
[ "0.68049705", "0.6756027", "0.6741163", "0.6631198", "0.637228", "0.63521206", "0.6288082", "0.6252052", "0.6239515", "0.613738", "0.6092425", "0.60508907", "0.6042702", "0.6029146", "0.599169", "0.5919445", "0.5825117", "0.5778736", "0.57242554", "0.56476545", "0.56441855", ...
0.76515543
0
Returns the PeerEnpoint matching the key
PeerEndpoint getPeerEndpoint(String key);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Peer getPeer();", "MemberVdusKey getKey();", "public Friend getFriendByRefKey(String key);", "public ECP getPublicEphemeralKey(){return epk;}", "public ECPoint getPubKeyPoint() {\n return pub.get();\n }", "public ElectionTable.ElectionNode searchElection(String key){\n int chain=h...
[ "0.609284", "0.6024053", "0.5872246", "0.576781", "0.5704242", "0.56804353", "0.56765926", "0.5525089", "0.54471487", "0.5434741", "0.54340136", "0.54089713", "0.5399011", "0.53591603", "0.5335241", "0.5334005", "0.5322978", "0.5268727", "0.52684265", "0.52551925", "0.5251002...
0.7893648
0
Deletes the PeerEndpoint matching the provided key
void removePeerEndpoint(String key);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "PeerEndpoint getPeerEndpoint(String key);", "@Override\n public DeleteEndpointResult deleteEndpoint(DeleteEndpointRequest request) {\n request = beforeClientExecution(request);\n return executeDeleteEndpoint(request);\n }", "public void deleteKeySecretPair(String key) throws ClassicDatabase...
[ "0.66041535", "0.6444376", "0.6354361", "0.63278776", "0.59801894", "0.591942", "0.58949614", "0.58949614", "0.58791834", "0.5787619", "0.57804686", "0.5717265", "0.56788886", "0.5659161", "0.5630957", "0.56146735", "0.5582832", "0.55535054", "0.55499166", "0.5542869", "0.544...
0.8657245
0
Returns the number of currentlyn known peers
int getPeerCount();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getPeersCount();", "protected int numPeers() {\n\t\treturn peers.size();\n\t}", "private int getNumPeers() {\n String[] peerIdList = skylinkConnection.getPeerIdList();\n if (peerIdList == null) {\n return 0;\n }\n // The first Peer is the local Peer.\n return p...
[ "0.8257916", "0.7981629", "0.79548776", "0.76743907", "0.6941721", "0.6861988", "0.68188953", "0.6653898", "0.6619061", "0.6606551", "0.65877426", "0.65581775", "0.65381", "0.6521432", "0.6507633", "0.6507633", "0.64650965", "0.64050275", "0.6380731", "0.6372718", "0.6358309"...
0.80817336
1
liste des taches obligatoires
public abstract NSMutableArray<I_WorkFlowItem> tachesObligatoires();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ArrayList<String> mostraRegles(){\n ArrayList<String> tauleta = new ArrayList<>();\n String aux = reg.getAssignacions().get(0).getAntecedents().getRangs().get(0).getNom();\n for (int i=1; i<list.getAtribs().size(); i++){\n aux += \"\\t\" + list.getAtribs().get(i).getNom();\n ...
[ "0.64123774", "0.61387104", "0.6124171", "0.6010231", "0.59930575", "0.59310776", "0.5853572", "0.5796724", "0.576971", "0.57606906", "0.57529527", "0.5743079", "0.57257724", "0.57159126", "0.5704475", "0.56936383", "0.5690373", "0.56863344", "0.56610346", "0.56541705", "0.56...
0.0
-1
Liste des taches non acomplies
public NSMutableArray<I_WorkFlowItem> getTachesObligatoiresAbsentes() { NSMutableArray<I_WorkFlowItem> tachesObligatoiresAbsentes = new NSMutableArray<I_WorkFlowItem>(); for (int i = 0; i < tachesObligatoires().count(); i++) { I_WorkFlowItem tache = tachesObligatoires().objectAtIndex(i); if (!tachesFaites.co...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void obrniListu() {\n if (prvi != null && prvi.veza != null) {\n Element preth = null;\n Element tek = prvi;\n \n while (tek != null) {\n Element sled = tek.veza;\n \n tek.veza = preth;\n preth = tek;\n tek = sled;\n }\n prvi = preth;\n ...
[ "0.6298314", "0.6257816", "0.62178916", "0.6176124", "0.6114003", "0.60966575", "0.60720056", "0.5921576", "0.5908814", "0.59074473", "0.5903289", "0.5893433", "0.5831618", "0.5806894", "0.5803392", "0.57999486", "0.5789532", "0.577604", "0.57751006", "0.5768748", "0.57480913...
0.0
-1
Le message d'erreur survenu dans le workflow
public final String getMessageErreur() { String messageErreur = null; // il faut que toutes les taches obligatoires soient accomplies NSMutableArray<I_WorkFlowItem> tachesObligatoiresAbsentes = getTachesObligatoiresAbsentes(); if (tachesObligatoiresAbsentes.count() > 0) { messageErreur = "Tâches non effectu...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic String getMessage() {\n\t\treturn \"Failed\";\r\n\t}", "public void estiloError() {\r\n /**Bea y Jose**/\r\n\t}", "protected abstract String persistFailedMessage();", "@Override\n\tpublic void error(Message msg) {\n\n\t}", "public void fatalError(ValidationType type, String valida...
[ "0.68520427", "0.65538526", "0.6544836", "0.6494374", "0.64148456", "0.6398602", "0.6380447", "0.6355515", "0.6353701", "0.6277069", "0.626828", "0.62480897", "0.621581", "0.61993116", "0.6197641", "0.61353797", "0.61336017", "0.6131079", "0.61308366", "0.61154646", "0.610618...
0.6033379
39
Creates a new NakaRushton neuron panel.
public NakaRushtonRulePanel() { super(); tsUseAdaptation.addActionListener(this); this.add(tabbedPane); mainTab.addItem("Steepness", tfSteepness); mainTab.addItem("Semi-saturation constant", tfSemiSaturation); mainTab.addItem("Time constant", tfTimeConstant); mai...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private JPanel criarPainelNorte() {\n\n JPanel pNorte = new JPanel(new BorderLayout());\n\n pNorte.setBorder(PADDING_BORDER);\n\n JLabel lbl = new JLabel(\"Selecione o tipo de Utilizador:\", JLabel.CENTER);\n\n btnFae = criarRadioBtnFae();\n btnOrg = criarRadioBtnOrg();\n ...
[ "0.6117085", "0.59499365", "0.5913286", "0.5808381", "0.5802218", "0.57486624", "0.56774354", "0.56711227", "0.56624633", "0.56243044", "0.5613226", "0.56018525", "0.56002516", "0.55891323", "0.5526923", "0.54272926", "0.5419955", "0.5417645", "0.54029775", "0.53839874", "0.5...
0.6574453
0
Checks for using adaptation and enables or disables adaptation field accordingly.
private void checkUsingAdaptation() { if (tsUseAdaptation.isSelected()) { tfAdaptationTime.setEnabled(true); tfAdaptationParam.setEnabled(true); } else { tfAdaptationTime.setEnabled(false); tfAdaptationParam.setEnabled(false); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setAdjustMode(boolean adjust);", "private void actionChangedEstimatorSettingsManual ()\r\n\t{\r\n\t\tmainFormLink.getComponentPanelLeft().getCombobobxEstimatorBacteriaType().setEnabled(true);\r\n\t\tmainFormLink.getComponentPanelLeft().getComboboxEstimatorDrugType().setEnabled(true);\r\n\t}", "priv...
[ "0.60144454", "0.5934216", "0.5835168", "0.58014464", "0.5704971", "0.5538246", "0.53736013", "0.5337919", "0.5249182", "0.5246068", "0.5228189", "0.5224484", "0.5223841", "0.5179786", "0.5170263", "0.5167464", "0.51533115", "0.51509213", "0.5148834", "0.51479435", "0.5114928...
0.77565324
0
Populate fields with current data.
public void fillFieldValues(List<NeuronUpdateRule> ruleList) { NakaRushtonRule neuronRef = (NakaRushtonRule) ruleList.get(0); // (Below) Handle consistency of multiple selections // Handle Time Constant if (!NetworkUtils.isConsistent(ruleList, NakaRushtonRule.class, "g...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void populateFields() {\n\n if (mReportCursor == null) {\n return;\n }\n\n Cursor c = mReportCursor;\n mValueText.setText(c.getString(c.getColumnIndexOrThrow(ReportPeer.KEY_VALUE)));\n }", "private void populateFields() {\n\t\ttypeNameTF.setText(\"\");\n\t\tunits...
[ "0.7219631", "0.7202961", "0.68999475", "0.68231237", "0.6817776", "0.67070043", "0.6591886", "0.65847355", "0.65657157", "0.64612603", "0.6459767", "0.6418458", "0.6395232", "0.63832676", "0.63337344", "0.6231682", "0.61798894", "0.61374515", "0.6137227", "0.6122686", "0.610...
0.0
-1
Fill field values to default values for this synapse type.
public void fillDefaultValues() { checkUsingAdaptation(); tfSemiSaturation.setText(Double.toString(prototypeRule .getSemiSaturationConstant())); tfSteepness.setText(Double.toString(prototypeRule.getSteepness())); tfTimeConstant .setText(Double.toString(pro...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void initDefaultValues() {\n }", "public void setCreationDefaultValues()\n {\n this.setDescription(this.getPropertyID()); // Warning: will be lower-case\n this.setDataType(\"\"); // defaults to \"String\"\n this.setValue(\"\"); // clear value\n //super.setRuntimeDefaultVa...
[ "0.65342104", "0.65321416", "0.60072786", "0.60054153", "0.5963121", "0.59591967", "0.5957467", "0.5943501", "0.58869666", "0.5883584", "0.58720267", "0.58399224", "0.5825658", "0.57985073", "0.57780045", "0.57668144", "0.57352096", "0.57278645", "0.5717959", "0.5716443", "0....
0.65974116
0
Responds to actions performed.
public void actionPerformed(final ActionEvent e) { Object o = e.getSource(); if (o == tsUseAdaptation) { checkUsingAdaptation(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected Responder() {}", "@Override\n\tpublic void sendResponse() {\n\t\t\n\t}", "public boolean onRequestPerformed(E content);", "@Override\n\tpublic void sendResponse() {\n\n\t}", "@Override\r\n\tprotected void processRespond() {\n\r\n\t}", "@Override\r\n\tprotected void processRespond() {\n\r\n\t}",...
[ "0.65054804", "0.63470566", "0.633337", "0.6274462", "0.62693197", "0.62693197", "0.6074907", "0.60226506", "0.59374654", "0.59336185", "0.5924407", "0.592198", "0.58702874", "0.58210564", "0.5794496", "0.5778759", "0.5758759", "0.5755225", "0.57495147", "0.57475924", "0.5660...
0.0
-1
TODO Autogenerated method stub
@Override public void onClick(View v) { Intent intent = new Intent(MapActivity.this, GameActivity.class); startActivity(intent); }
{ "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
List musers= (List) msg.obj;
@Override public void handleMessage(Message msg) { for (User user:users) { LatLng point=new LatLng(user.getLatitude(),user.getLongitude()); //构建Marker图标 BitmapDescriptor bitmap = BitmapDescriptorFactory .fromResource(R.drawable...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.util.List<Res.Msg>\n getMsgList();", "java.util.List<Rsp.Msg>\n getMsgList();", "java.util.List<io.dstore.engine.Message> \n getMessageList();", "java.util.List<io.dstore.engine.Message> \n getMessageList();", "java.util.List<io.dstore.engine.Message> \n getMessa...
[ "0.7485407", "0.7275572", "0.710615", "0.710615", "0.710615", "0.710615", "0.710615", "0.70306087", "0.696225", "0.6645701", "0.6641104", "0.6630003", "0.661689", "0.6522401", "0.6504952", "0.63937485", "0.63937485", "0.63856506", "0.63856506", "0.63496727", "0.6288191", "0...
0.0
-1
TODO Autogenerated method stub
@Override public void onClick(View v) { switch (v.getId()) { case R.id.ivTitleBtnLeft: finish(); break; default: break; } }
{ "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) { JFrame app = new JFrame("标题"); app.setSize(200, 160); app.setLocation(20, 30); app.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); Container contentPane = app.getContentPane(); contentPane.setLayout(new GridLayout(2,1));//两行一列 contentPane.add(new JLabel("这是一个能响应关闭窗...
{ "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
Created by yaojinwei on 2016/9/24.
public interface SampleB { void operation1(); void operation2(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "private stendhal() {\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@O...
[ "0.6134529", "0.6128806", "0.59264886", "0.5893239", "0.5893239", "0.5892129", "0.58492404", "0.5841486", "0.58388156", "0.5796297", "0.57756025", "0.5750416", "0.5741895", "0.5715444", "0.5715444", "0.57125396", "0.57114136", "0.5694009", "0.567822", "0.56682706", "0.566756"...
0.0
-1
'p' is the probability of Perishable products occurring.
public Perishable(String name, String Type, int time, double p) { super(name, Type, time); isSpoilt = false; prob = p; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void testP() {\n System.out.println(\"p\");\n NegativeBinomialDistribution instance = new NegativeBinomialDistribution(3, 0.3);\n instance.rand();\n assertEquals(0.027, instance.p(0), 1E-7);\n assertEquals(0.0567, instance.p(1), 1E-7);\n assertEquals(0.07...
[ "0.70610946", "0.6932668", "0.6639456", "0.64622813", "0.63718957", "0.6363015", "0.6322338", "0.631421", "0.62992996", "0.6207893", "0.6155811", "0.608963", "0.6088819", "0.60801935", "0.60559434", "0.6054703", "0.60469127", "0.60140336", "0.6000339", "0.59968245", "0.598249...
0.62013745
10
/Se asocia la barra de acciones a la actividad
@Override public boolean onCreateOptionsMenu(Menu menu){ getMenuInflater().inflate(R.menu.menu, menu); //Recibe como parametro el menu donde se situan las acciones return true; //Para que la barra sea visible }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void accionUsuario() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initAcciones() {\r\n\t\tacciones.put(\"Buscar\", new AccionBuscarEvento());\r\n\t\tacciones.put(\"Consultar\", new AccionConsultarEvento());\r\n\t\tacciones.put(\"Agregar\", new AccionAgregarEvento());\r\n\t}", "private void Realiza...
[ "0.70700216", "0.6638406", "0.65755594", "0.65743655", "0.6460934", "0.6326957", "0.62976825", "0.616882", "0.61513984", "0.6064445", "0.60608363", "0.60337335", "0.601453", "0.59771925", "0.59703046", "0.591066", "0.5878186", "0.5855644", "0.582848", "0.5814425", "0.5811175"...
0.0
-1
/Sirve para gestionar los distintos elementos de la barra al pulsarlos
@Override public boolean onOptionsItemSelected (MenuItem item){ int id = item.getItemId(); switch (id){ case R.id.action_settings: return true; case R.id.action_share: return true; case R.id.action_delete: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void crearElementos() {\n\n\t\tRotonda rotonda1 = new Rotonda(new Posicion(400, 120), \"5 de octubre\");\n\t\tthis.getListaPuntos().add(rotonda1);\n\n\t\tCiudad esquel = new Ciudad(new Posicion(90, 180), \"Esquel\");\n\t\tthis.getListaPuntos().add(esquel);\n\n\t\tCiudad trelew = new Ciudad(new Posicion(450...
[ "0.67699015", "0.5944719", "0.59351", "0.591448", "0.5861123", "0.5743067", "0.57415104", "0.5734442", "0.5726188", "0.5713521", "0.56798184", "0.56789804", "0.567193", "0.5667032", "0.56658024", "0.56450504", "0.56286716", "0.5619968", "0.56132966", "0.56037116", "0.560116",...
0.0
-1
TODO Autogenerated method stub
@Override protected void onBackward(View backwardView) { super.onBackward(backwardView); }
{ "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 protected void onForward(View backwardView) { super.onForward(backwardView); Log.d("info", "submit"); String resultContent = info_et.getText().toString().trim(); int length = resultContent.length(); if (length > num) { Toast.makeText(getApplicationConte...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void onClick(View v) { super.onClick(v); }
{ "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
Next should return the values in the record set as an ImmutableList of Strings per row.
@Test public void testNext() throws SQLException, InputIterationException { // Setup ResultSet resultSet = twoLinesResultSetFixture.getTestData(); ResultSetIterator resultSetIterator = new ResultSetIterator(resultSet); // Check result List<Boolean> expectedNextValues = twoLinesResultSetFixture.ge...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<String> getRows();", "java.util.List<String>\n getRowsList();", "private List<String> nextRecord() {\n\t\t\t\t\tList<String> record = new LinkedList<String>();\n\t\t\t\t\twhile (lines.hasNext()) {\n\t\t\t\t\t\tString line = lines.next();\n\t\t\t\t\t\tif (line.startsWith(\"---\")) {\n\t\t\t\t...
[ "0.61018956", "0.6018842", "0.58440816", "0.5739572", "0.5722723", "0.56326264", "0.5618719", "0.5596644", "0.559059", "0.55692625", "0.55259556", "0.5490184", "0.5487836", "0.5482356", "0.5480136", "0.54517645", "0.54467785", "0.53786707", "0.5357351", "0.53213847", "0.52955...
0.0
-1
Next should return the correct rows and call next on the result set although hasNext has not been called.
@Test public void testNextWithoutHasNext() throws SQLException, InputIterationException { // Setup ResultSet resultSet = twoLinesResultSetFixture.getTestData(); ResultSetIterator resultSetIterator = new ResultSetIterator(resultSet); // Check result List<ImmutableList<String>> expectedRecords = tw...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void testNext() throws SQLException, InputIterationException {\n // Setup\n ResultSet resultSet = twoLinesResultSetFixture.getTestData();\n ResultSetIterator resultSetIterator = new ResultSetIterator(resultSet);\n\n // Check result\n List<Boolean> expectedNextValues = twoLinesResultS...
[ "0.7578709", "0.7411209", "0.7281617", "0.7180611", "0.7145648", "0.71192783", "0.7005123", "0.6891317", "0.688027", "0.67962164", "0.6710848", "0.6597061", "0.6534566", "0.6457845", "0.64444906", "0.6400192", "0.6362609", "0.6335474", "0.62895554", "0.6288407", "0.62838316",...
0.739575
2
Ad passed back in request filled callback, ad can now be show
@Override public void onRequestFilled(AdColonyInterstitial ad) { mAd = ad; notifyLoaded(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void onAdLoaded() {\n }", "@Override\n public void onAdLoaded() {\n }", "@Override\n public void onAdLoaded() {\n }", "@Override\n public void onAdLoaded() {\n }", "@Override\n public void ...
[ "0.68647414", "0.68647414", "0.68647414", "0.68647414", "0.68647414", "0.68647414", "0.68647414", "0.68647414", "0.6857893", "0.6833576", "0.67969733", "0.67968816", "0.6749417", "0.674301", "0.67343247", "0.67273706", "0.6727043", "0.6669089", "0.6648786", "0.6600452", "0.65...
0.6787796
12
Ad request was not filled
@Override public void onRequestNotFilled(AdColonyZone zone) { notifyFailed("no_fill"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void onAdError(BannerAd ad, String error) {\n Log.d(TAG, \"Something went wrong with the request: \" + error);\n }", "@Override\n public void onRequestFilled(AdColonyInterstitial ad) {\n mAd = ad;\n ...
[ "0.69066715", "0.68409884", "0.6650235", "0.6438838", "0.6415855", "0.6398263", "0.6343347", "0.6343347", "0.6343347", "0.6343347", "0.6343347", "0.6343347", "0.6343347", "0.6343347", "0.6330501", "0.63276595", "0.6309113", "0.6275098", "0.6275098", "0.62681484", "0.6244699",...
0.63213456
16
Ad opened, reset UI to reflect state change
@Override public void onOpened(AdColonyInterstitial ad) { notifyShown(); notifyStarted(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void onAdOpened() {\n mAdView.setVisibility(View.VISIBLE);\n }", "@Override\n public void onAdOpened() {\n }", "@Override\n public void onAdLoaded(Ad ad) {\n interstitialAd.show();\n enableButton();\n...
[ "0.7469309", "0.6760063", "0.66967946", "0.66471606", "0.66471606", "0.66471606", "0.66471606", "0.66471606", "0.66471606", "0.66471606", "0.66471606", "0.66471606", "0.66471606", "0.66471606", "0.66471606", "0.6635884", "0.66133744", "0.66133744", "0.66133744", "0.65572286", ...
0.7082112
1
Request a new ad if ad is expiring
@Override public void onExpiring(AdColonyInterstitial ad) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void requestNewBanner(){\n AdView mAdView = (AdView) findViewById(R.id.adView);\n AdRequest adRequest = new AdRequest.Builder().build();\n mAdView.loadAd(adRequest);\n }", "public void requestFreshAd() {\n // Get a message from AdMob to the developer here. Only run once an...
[ "0.60802615", "0.605365", "0.6011017", "0.5946901", "0.58731085", "0.5748228", "0.5609359", "0.5605023", "0.5573597", "0.55482215", "0.55308086", "0.54603344", "0.5455689", "0.5431944", "0.5320895", "0.52931935", "0.52749014", "0.52733445", "0.5262129", "0.52275574", "0.52263...
0.6777066
0
// P U B L I C M E T H O D S // // Stops the current drawing and stop listening for location updates.
public void stopDrawing() { LocationServices.FusedLocationApi.removeLocationUpdates(mGoogleApiClient, this); isDrawing = false; currentDrawing.endLine(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void onStop() {\n super.onStop();\n currentLocation.stopLocationUpdates();\n }", "public void onStop(){mainActivity.locationManager.removeUpdates(mainActivity.locationListener);}", "@Override\n public void stop() {\n\n if (mapView != null) {\n mapView.dispose();\...
[ "0.68505925", "0.65016574", "0.64983064", "0.63995", "0.63868237", "0.6382637", "0.637699", "0.6342784", "0.6333819", "0.6268988", "0.622597", "0.6207005", "0.6184872", "0.61659455", "0.6163041", "0.61191064", "0.6113971", "0.6093456", "0.6087361", "0.60842717", "0.6081077", ...
0.7788851
0
Starts drawing by firing a recurring location request.
public void startDrawing() { try { LocationRequest locationRequest = LocationRequest.create() .setInterval(10 * 1000) .setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY); LocationServices.FusedLocationApi.requestLocationUpdates(mGoogleApiClient, l...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void draw(Point location) {\n\t}", "private void drawMarker(Location location){\n LatLng currentPosition = new LatLng(location.getLatitude(),location.getLongitude());\r\n runlist.add(currentPosition);\r\n\r\n\r\n for(int i = 0; i<runlist.size();i++){\r\n\r\n\r\n\r\n Marker ...
[ "0.6507659", "0.5932017", "0.5756851", "0.57412565", "0.5712325", "0.5703726", "0.5661308", "0.56588346", "0.5645791", "0.5635242", "0.560195", "0.56013674", "0.5549109", "0.5533147", "0.5528568", "0.5515494", "0.549237", "0.5487931", "0.54862076", "0.5480886", "0.54774076", ...
0.7653291
0
Saves the current drawing
public File saveDrawing() { stopDrawing(); GeoJsonConverter converter = new GeoJsonConverter(); String string = converter.convertToGeoJson(currentDrawing.getAllLines()); File file = new File(context.getExternalFilesDir(null), "drawing.geojson"); try { FileOutputStrea...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void save() {\n graphicsEnvironmentImpl.save(canvas);\n }", "public void saveChangedDrawings() {\n for (Drawing drawing : _changedDrawings) {\n boolean success = DrawingFileHelper.saveDrawing(drawing,\n d...
[ "0.81234807", "0.73198324", "0.72943777", "0.7261387", "0.70646393", "0.6948476", "0.6836602", "0.68240225", "0.6730616", "0.67269135", "0.67232054", "0.66940635", "0.66684836", "0.6624689", "0.66237193", "0.66110283", "0.6599455", "0.6599455", "0.6599455", "0.6595439", "0.65...
0.65738124
21
Shares the current drawing by first ending and saving the drawing.
public void shareDrawing(ShareActionProvider shareActionProvider) { File savedFile = saveDrawing(); Intent intent = new Intent(Intent.ACTION_SEND); intent.setType("text/plain"); intent.putExtra(Intent.EXTRA_STREAM, savedFile.toURI()); shareActionProvider.setShareIntent(intent);...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void endDrawing() {\n\t\tp_view.getHolder().unlockCanvasAndPost(p_canvas);\n\t}", "public void endDrawing();", "public void endDrawing() {\r\n SelectionResult res = SelectionResult.getInstance();\r\n\r\n res.selection = selection;\r\n res.referenceY = selectedY;\r\n\r\n res.previewWidth = g...
[ "0.706325", "0.6551853", "0.6412317", "0.60550684", "0.6034179", "0.60210717", "0.5992373", "0.5963785", "0.59598124", "0.5921167", "0.5890936", "0.58782434", "0.5844372", "0.5843928", "0.58270913", "0.5821435", "0.5812461", "0.5797132", "0.57606393", "0.56873256", "0.5676600...
0.5529612
31
// O V E R R I D E S // // OnMapReadyCallback
@Override public void onMapReady(GoogleMap googleMap) { Log.v(TAG, "onMapReady"); mMap = googleMap; //Sets zoom and compass controls googleMap.getUiSettings().setZoomControlsEnabled(true); googleMap.getUiSettings().setCompassEnabled(true); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void onMapReady(GoogleMap googleMap) {\n }", "@Override\n public void onMapReady(GoogleMap googleMap) {\n\n }", "@Override\n public void onMapReady(GoogleMap googleMap) {\n mMap = googleMap;\n mMap.setOnMapLoadedCallback(new GoogleMap.OnMapLoadedCallback(...
[ "0.81774795", "0.79241747", "0.7747101", "0.75269824", "0.7507386", "0.7460945", "0.73819906", "0.7374647", "0.7355169", "0.73031086", "0.72758335", "0.7273501", "0.720639", "0.71822155", "0.71132326", "0.70686895", "0.70506954", "0.7050247", "0.7049796", "0.70420474", "0.704...
0.0
-1
// O V E R R I D E S // // GoogleApiClient.ConnectionCallbacks
@Override public void onConnected(@Nullable Bundle bundle) { Log.d(TAG, "onConnected"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void requestConnection() {\n getGoogleApiClient().connect();\n }", "@Override\n public void onConnectionSuspended(int cause) {\n Log.i(TAG, \"Connection suspended\");\n mGoogleApiClient.connect();\n }", "@Override\n public void onConnectionFailed(@NonNull ConnectionResult connectio...
[ "0.75434", "0.74924314", "0.7459524", "0.74551344", "0.74551344", "0.7420129", "0.7386695", "0.72920537", "0.7267825", "0.72076005", "0.7194066", "0.71619654", "0.7126597", "0.7018289", "0.6996751", "0.6973274", "0.6892749", "0.68924993", "0.68757445", "0.68574", "0.68114215"...
0.6076289
90
// O V E R R I D E S // // GoogleApiClient.OnConnectionFailedListener
@Override public void onConnectionFailed(@NonNull ConnectionResult connectionResult) {}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void onConnectionFailed(@NonNull ConnectionResult connectionResult) {\n Toast.makeText(getBaseContext(), R.string.google_api_client_connection_failed, Toast.LENGTH_LONG).show();\n googleApiClient.connect();\n }", "@Override\n public void onConnectionFailed(@NonNull Conne...
[ "0.8522695", "0.8200105", "0.8149074", "0.8043065", "0.8043065", "0.8043065", "0.8043065", "0.8043065", "0.8043065", "0.8043065", "0.8032225", "0.8019235", "0.7971078", "0.79073477", "0.79019636", "0.77212095", "0.77212095", "0.7665088", "0.75367326", "0.75092906", "0.7509290...
0.7479924
22
// O V E R R I D E S // // LocationServices
@Override public void onLocationChanged(Location location) { //Log.i(TAG, "New Location: " + location.getLatitude() + " " + location.getLongitude()); if (isDrawing) { //We are drawing so add a point and move the camera accordingly currentDrawing.addPoint(new LatLng(location.g...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void getLocationInfo() {\n startLocationService();\n }", "public interface LocationServiceManager {\n\t/**\n\t * Starts the location service.\n\t * \n\t * @return <code>true</code> if the service has been correctly started\n\t */\n\tpublic boolean startLocationService();\n\n\t/**\n\t * Stops the...
[ "0.7262458", "0.72139055", "0.71428394", "0.6867715", "0.68002", "0.6781138", "0.677272", "0.67611104", "0.6672063", "0.66306657", "0.66086835", "0.6558485", "0.6553653", "0.6548573", "0.6544104", "0.6544104", "0.6544104", "0.6544104", "0.65331566", "0.6455219", "0.6450149", ...
0.0
-1
Adds a point to the current line being drawn. If there is no line, a new line will be started.
public void addPoint(LatLng point, int color) { if (currentLine == null) { PolylineOptions options = new PolylineOptions() .add(point) .color(color); currentLine = mMap.addPolyline(options); } else { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addPoint(Point p) {\r\n line.add(p);\r\n }", "public void addPoint(Point point) {\n if (isValidStroke) {\n points.add(point);\n }\n }", "private Line addLine() {\n\t\t// Create a new line\n\t\tLine line = new Line(doily.settings.getPenScale(), \n\t\t\t\tdoily.setting...
[ "0.825258", "0.75722367", "0.72922266", "0.72675705", "0.71930903", "0.7088106", "0.7027765", "0.69834167", "0.6922987", "0.6907792", "0.6858893", "0.67814475", "0.67759424", "0.67748487", "0.6748734", "0.674028", "0.6711355", "0.6682244", "0.666978", "0.66671157", "0.6642768...
0.72323173
4
Ends the current line.
public void endLine() { if (currentLine != null) { lines.add(currentLine); currentLine = null; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tprotected void endOfLine() {\n\t}", "void endLine() {\n\t\tif (loaded != null && loaded.length() > 0) {\n\t\t\tlineContainer.set(loaded.toString());\n\t\t}\n\t\tloaded = new StringBuilder();\n\t}", "public void gotoEndOfLine()\r\n\t{\r\n\t\twhile (thisc != '\\n') {\r\n\t\t\tif (thisc == EOF) retur...
[ "0.7362983", "0.71960413", "0.6987103", "0.6906998", "0.67603457", "0.66917986", "0.6634737", "0.65601116", "0.6547506", "0.6525408", "0.6513794", "0.6494023", "0.64759994", "0.64632356", "0.6428428", "0.6312171", "0.62613136", "0.6230417", "0.6201641", "0.61830944", "0.61830...
0.7985793
0
Gets all the lines for this drawing.
public List<Polyline> getAllLines() { return lines; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ArrayList<Line> getLines() {\n return currentLocation.getLines();\n }", "@Override\n public Line[] getLines(){\n Line[] arrayOfLines = new Line[]{topLine, rightLine, bottomLine, leftLine}; //stores the array of lines that form the rectangle\n return arrayOfLines;\n }", "public st...
[ "0.7361523", "0.72751456", "0.72342175", "0.6973745", "0.68762356", "0.682404", "0.6660647", "0.6572586", "0.64806366", "0.6346652", "0.61706275", "0.5974667", "0.59616965", "0.59609604", "0.5954674", "0.5933543", "0.5895356", "0.5875328", "0.58361745", "0.581209", "0.580778"...
0.80240613
0
TODO Autogenerated method stub
public static void main(String[] args) { String []name = new String [10]; String []surname = new String[10]; int []score = new int[10]; Scanner sc =new Scanner(System.in); for(int i =0;i<score.length;i++){ System.out.print("Input name :"); name[i]=sc.nextLine(); System.out.print("Input surname...
{ "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
Comprobamos que las propiedades no sean nulas
@Test public void testNoNulos() { assertNotNull("Error: La bici es nula", bicicleta); assertNotNull("Error: La velocidad es nula", bicicleta.getVelocidad()); assertNotNull("Error: El espacio es nulo", bicicleta.getEspacioRecorrido()); assertNotNull("Error: El piñon actual es nulo", bicicleta.getPinhonactual())...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void nonRedefinissableParEnfant(){\n\n }", "public void noPropertyies() {\n\t\tproperties.clear();\r\n\t\tfor(int i = 0; i<groups.length; i++){\r\n\t\t\tgroups[i].clear();\r\n\t\t}\r\n\t}", "public boolean tengoPropiedades(){\n return this.propiedades.size() > 0;\n }", "public void ...
[ "0.6422391", "0.62390447", "0.6148829", "0.5999822", "0.59161496", "0.5874427", "0.5811832", "0.5737552", "0.56814945", "0.5615644", "0.5609205", "0.5584489", "0.55270517", "0.5519398", "0.55099785", "0.5486888", "0.54276854", "0.54220647", "0.54100096", "0.540613", "0.537319...
0.5391919
20
Comprobamos que los resultados son los esperados Se comprueban las variables esten correctas despues de dar una pedalada
@Test public void testResultadosEsperados() { bicicleta.darPedalada(utilidadesCiclista.getCadencia(), 75); //se comprueba que la velocidad sea la esperada double velocidadesperada = utilidadesBicicleta.velocidadDeBici(0, utilidadesCiclista.getCadencia(), 65, bicicleta.getRadio...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void colocarComentariosResultado()\r\n\t{\r\n\t\tresultadoprueba.colocarTextoComentarios(\"\");\r\n\t}", "public static void main(String[] args) {\n int numeros[] = {2, 3, 4, 2, 4, 5, 6, 2, 1, 2};\n //Creamos segundo arreglo con iguall tamaño que el arreglo nùmeros\n int cuadrados[] =...
[ "0.6496402", "0.60732967", "0.6056087", "0.6015024", "0.5964095", "0.59518313", "0.5936928", "0.5935865", "0.5932498", "0.59227145", "0.59102255", "0.5847438", "0.5840282", "0.58258367", "0.5808027", "0.57810843", "0.57621497", "0.57604545", "0.5749891", "0.5748201", "0.57396...
0.6663846
0