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
private final String SYSTEM_ID = "sys_id";
public WallpapersPreviewAdapter(Context context) { super(context, ThemeWallpaperBaseAdapter.DATACHANGE_TYPE_WALLPAPER); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getSystemID()\n/* */ {\n/* 1299 */ return this.systemID;\n/* */ }", "int getSysID();", "public String getSystemId();", "public String getSystemId() {\n // TODO Auto-generated method stub\n return null;\n }", "public String getSystemId() { return this.systemI...
[ "0.77823097", "0.7592835", "0.7492786", "0.7341246", "0.7192818", "0.71200264", "0.71200264", "0.7019461", "0.6881622", "0.68704355", "0.68055505", "0.6802886", "0.6802262", "0.6800087", "0.6778867", "0.6642326", "0.65957445", "0.65617913", "0.65293926", "0.6479922", "0.63729...
0.0
-1
Constructs a Token will null text.
public Token() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private Token () { }", "@Override\r\n\tpublic Token createToken() {\n\t\tToken token = new Token();\r\n\t\treturn token;\r\n\t}", "public Token() {\n }", "public Token() {\n this.clitic = \"none\";\n }", "public Token newToken() {\r\n\t\tString value = UUID.randomUUID().toString();\r\n\t\tretu...
[ "0.7480406", "0.7395141", "0.7358577", "0.72942513", "0.6938433", "0.6673813", "0.65083134", "0.6389287", "0.6369", "0.6358758", "0.6343562", "0.6331443", "0.62676305", "0.6238067", "0.62348205", "0.6216149", "0.6195568", "0.61934274", "0.6179133", "0.61665934", "0.6143391", ...
0.72987336
3
Constructs a Token with null text and start & end offsets.
public Token(int start, int end) { startOffset = start; endOffset = end; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Token(String text, int start, int end) {\n termText = text;\n startOffset = start;\n endOffset = end;\n }", "public Token(String text, int start, int end, int flags) {\n termText = text;\n startOffset = start;\n endOffset = end;\n this.flags = flags;\n }", "public Token(int start,...
[ "0.6704183", "0.6584024", "0.6529618", "0.6469613", "0.6464761", "0.62516415", "0.6185708", "0.6155076", "0.61403346", "0.6104455", "0.60398954", "0.60269564", "0.5929311", "0.57524365", "0.57490015", "0.56919384", "0.5617411", "0.56122845", "0.5589181", "0.55654013", "0.5545...
0.67595005
0
Constructs a Token with null text and start & end offsets plus the Token type.
public Token(int start, int end, String typ) { startOffset = start; endOffset = end; type = typ; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Token(String text, int start, int end, String typ) {\n termText = text;\n startOffset = start;\n endOffset = end;\n type = typ;\n }", "private Token createToken(\n String type, String val, int start, int end) {\n return new Token(type, val, start, end);\n }", "public Token(String tex...
[ "0.71060973", "0.70166254", "0.67474174", "0.6670236", "0.66480464", "0.66295356", "0.6585864", "0.647147", "0.6465761", "0.63792086", "0.6326742", "0.6283614", "0.62412256", "0.6162848", "0.6108619", "0.5931231", "0.5926707", "0.58951974", "0.58923906", "0.5878034", "0.58544...
0.731765
0
Constructs a Token with null text and start & end offsets plus the Token type.
public Token(int start, int end, int flags){ startOffset = start; endOffset = end; this.flags = flags; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Token(int start, int end, String typ) {\n startOffset = start;\n endOffset = end;\n type = typ;\n }", "public Token(String text, int start, int end, String typ) {\n termText = text;\n startOffset = start;\n endOffset = end;\n type = typ;\n }", "private Token createToken(\n Stri...
[ "0.73149997", "0.7103405", "0.7013195", "0.67458117", "0.6668556", "0.66460335", "0.6584466", "0.64680254", "0.6463818", "0.63781244", "0.6325554", "0.6281098", "0.62374705", "0.61613363", "0.61086816", "0.59309816", "0.5924403", "0.5893639", "0.5891966", "0.58796006", "0.585...
0.6628297
6
Constructs a Token with the given term text, and start & end offsets. The type defaults to "word." NOTE: for better indexing speed you should instead use the char[] termBuffer methods to set the term text.
public Token(String text, int start, int end) { termText = text; startOffset = start; endOffset = end; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Token(String text, int start, int end, String typ) {\n termText = text;\n startOffset = start;\n endOffset = end;\n type = typ;\n }", "public Token(String text, int start, int end, int flags) {\n termText = text;\n startOffset = start;\n endOffset = end;\n this.flags = flags;\n }...
[ "0.80816525", "0.7263781", "0.7089128", "0.69994044", "0.61734027", "0.6164655", "0.60794884", "0.6029235", "0.5991199", "0.5980423", "0.5913732", "0.59059703", "0.58396006", "0.58141065", "0.57752246", "0.5744346", "0.57161814", "0.5696067", "0.5685154", "0.56746113", "0.566...
0.76121134
1
Constructs a Token with the given text, start and end offsets, & type. NOTE: for better indexing speed you should instead use the char[] termBuffer methods to set the term text.
public Token(String text, int start, int end, String typ) { termText = text; startOffset = start; endOffset = end; type = typ; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Token(String text, int start, int end) {\n termText = text;\n startOffset = start;\n endOffset = end;\n }", "public Token(String text, int start, int end, int flags) {\n termText = text;\n startOffset = start;\n endOffset = end;\n this.flags = flags;\n }", "private Token createTok...
[ "0.7862147", "0.7690103", "0.7584119", "0.74259746", "0.6415723", "0.63828576", "0.6295933", "0.61477536", "0.6046796", "0.6001108", "0.5919364", "0.58720785", "0.58587486", "0.58274066", "0.5802376", "0.58006185", "0.5782386", "0.5777628", "0.5733865", "0.57092875", "0.57076...
0.8349793
0
Constructs a Token with the given text, start and end offsets, & type. NOTE: for better indexing speed you should instead use the char[] termBuffer methods to set the term text.
public Token(String text, int start, int end, int flags) { termText = text; startOffset = start; endOffset = end; this.flags = flags; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Token(String text, int start, int end, String typ) {\n termText = text;\n startOffset = start;\n endOffset = end;\n type = typ;\n }", "public Token(String text, int start, int end) {\n termText = text;\n startOffset = start;\n endOffset = end;\n }", "private Token createToken(\n ...
[ "0.83501464", "0.7862959", "0.7585196", "0.74269384", "0.6417432", "0.6381718", "0.62975186", "0.6146807", "0.6046451", "0.60026896", "0.5920133", "0.58713907", "0.5859559", "0.5826473", "0.58031696", "0.57996905", "0.57814467", "0.5779242", "0.5733222", "0.5709018", "0.57078...
0.76910216
2
Returns the position increment of this Token.
public int getPositionIncrement() { return positionIncrement; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getIncrement() {\n \tcheckWidget();\n \treturn increment;\n }", "public Integer getIncrement() {\n return increment;\n }", "public double getIncrement() {\n return increment;\n }", "public final long getAndIncrement() {\n\t\treturn value++;\n\t}", "public int valueAndIn...
[ "0.7024213", "0.7008241", "0.6800475", "0.6744003", "0.67429113", "0.6701479", "0.6567715", "0.63443696", "0.633953", "0.63154733", "0.626521", "0.61845636", "0.61822194", "0.61660767", "0.61569273", "0.61413425", "0.6133486", "0.6111115", "0.61086875", "0.6085623", "0.601537...
0.78758943
0
Sets the Token's term text. NOTE: for better indexing speed you should instead use the char[] termBuffer methods to set the term text.
public void setTermText(String text) { termText = text; termBuffer = null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getTermText() {\n return termText;\n }", "public void setTerm(Expression term) {\n this.term = term;\n }", "public void setTerm(String value) {\r\n setAttributeInternal(TERM, value);\r\n }", "public Token setText(java.lang.String text) {\n this.text = text;\n retur...
[ "0.6751961", "0.66692305", "0.65492916", "0.6464226", "0.61836344", "0.6101775", "0.6022481", "0.5943541", "0.5883462", "0.58166736", "0.5802558", "0.57893854", "0.57685363", "0.5692213", "0.56451154", "0.560427", "0.5602311", "0.5592857", "0.559174", "0.55705726", "0.5560548...
0.8120283
0
Grows the termBuffer to at least size newSize.
public char[] resizeTermBuffer(int newSize) { initTermBuffer(); if (newSize > termBuffer.length) { int size = termBuffer.length; while(size < newSize) size *= 2; char[] newBuffer = new char[size]; System.arraycopy(termBuffer, 0, newBuffer, 0, termBuffer.length); termBuffer ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final char[] resizeBuffer(int newSize) { \n\t\tif (mTermBuffer.length < newSize){\n\t\t\t// Not big enough; create a new array with slight\n\t\t\t// over allocation and preserve content\n\t\t\tfinal char[] newCharBuffer = new char[ArrayUtil.oversize(newSize, JvmUtil.NUM_BYTES_CHAR)];\n\t System.array...
[ "0.70681685", "0.63041997", "0.6188244", "0.61560154", "0.60131186", "0.5992106", "0.5985854", "0.5980105", "0.5969063", "0.5837725", "0.58220387", "0.58148026", "0.5777577", "0.5760877", "0.575007", "0.56721437", "0.56658906", "0.56627023", "0.5657834", "0.5655973", "0.56229...
0.76207715
0
TODO: once we remove the deprecated termText() method and switch entirely to char[] termBuffer we don't need to use this method anymore
private void initTermBuffer() { if (termBuffer == null) { if (termText == null) { termBuffer = new char[MIN_BUFFER_SIZE]; termLength = 0; } else { int length = termText.length(); if (length < MIN_BUFFER_SIZE) length = MIN_BUFFER_SIZE; termBuffer = new char[length]...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getTermText() {\n return termText;\n }", "public void setTermText(String text) {\n termText = text;\n termBuffer = null;\n }", "Term getTerm();", "final void getText(CharTermAttribute t) {\n t.copyBuffer(zzBuffer, zzStartRead, zzMarkedPos - zzStartRead);\n }", "public final voi...
[ "0.7188804", "0.71297544", "0.65904105", "0.65184", "0.6501999", "0.6448507", "0.60842437", "0.60034466", "0.5967106", "0.59633094", "0.5933624", "0.5932512", "0.58814496", "0.57813495", "0.57607555", "0.5757109", "0.5706645", "0.5694669", "0.56840813", "0.56681204", "0.55702...
0.7666112
0
Return number of valid characters (length of the term) in the termBuffer array.
public final int termLength() { initTermBuffer(); return termLength; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int NumTerms() throws Z3Exception\n {\n return Native.getPatternNumTerms(Context().nCtx(), NativeObject());\n }", "public int cardinality() {\n\t\tint counter = 0;\n\t\tfinal EWAHIterator i =\n\t\t\t\tnew EWAHIterator(this.buffer, this.actualsizeinwords);\n\t\twhile (i.hasNext()) {\n\t\t\tRun...
[ "0.6402262", "0.60651803", "0.6022684", "0.5927777", "0.5896006", "0.58613783", "0.58367693", "0.58339643", "0.5829051", "0.5829051", "0.58175385", "0.58054334", "0.5785482", "0.57714444", "0.5733785", "0.57281154", "0.5692463", "0.56891614", "0.5635798", "0.5596823", "0.5567...
0.7301077
0
Set number of valid characters (length of the term) in the termBuffer array.
public final void setTermLength(int length) { initTermBuffer(); termLength = length; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void initTermBuffer() {\n if (termBuffer == null) {\n if (termText == null) {\n termBuffer = new char[MIN_BUFFER_SIZE];\n termLength = 0;\n } else {\n int length = termText.length();\n if (length < MIN_BUFFER_SIZE) length = MIN_BUFFER_SIZE;\n termBuffer = new...
[ "0.68680423", "0.60821563", "0.58900625", "0.57958037", "0.5657767", "0.55801135", "0.54932463", "0.54521525", "0.5444534", "0.53823125", "0.5368096", "0.53417706", "0.52830285", "0.524764", "0.52269375", "0.52190423", "0.5209838", "0.5163078", "0.51606345", "0.5148389", "0.5...
0.6765992
1
Returns this Token's starting offset, the position of the first character corresponding to this token in the source text. Note that the difference between endOffset() and startOffset() may not be equal to termText.length(), as the term text may have been altered by a stemmer or some other filter.
public final int startOffset() { return startOffset; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getAllTextStartOffset ()\n {\n\n return this.getStart ();\n\n }", "public int startOffset();", "public int getStartOffset() {\n return startOffset;\n }", "public int getStartOffset() {\n return startPosition.getOffset();\n }", "@Override\r\n \tpublic final int ...
[ "0.6519522", "0.62928563", "0.62545764", "0.6243811", "0.60358524", "0.60351115", "0.6019271", "0.5937898", "0.5921387", "0.58561665", "0.5849028", "0.58319575", "0.5791628", "0.5750512", "0.57356477", "0.5714565", "0.56794065", "0.5678382", "0.5636074", "0.55858177", "0.5579...
0.63648486
1
Set the starting offset.
public void setStartOffset(int offset) { this.startOffset = offset; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setStartOffset(String offset) {\n\t\ttry {\n\t\t\tstartOffset = Integer.parseInt(offset);\n\t\t} catch (Exception e) {\n\t\t\tstartOffset = 0;\n\t\t}\n\t}", "public void setBeginOffset(Integer beginOffset) {\n this.beginOffset = beginOffset;\n }", "void setStartAt(final Long startAt);", ...
[ "0.7633839", "0.7553084", "0.7152485", "0.71105343", "0.7072988", "0.7015703", "0.6943312", "0.6917141", "0.6891429", "0.68728596", "0.6867138", "0.68660897", "0.67953175", "0.67514604", "0.67410266", "0.67406845", "0.6686887", "0.6659351", "0.66490746", "0.66490746", "0.6649...
0.7794761
0
Returns this Token's ending offset, one greater than the position of the last character corresponding to this token in the source text.
public final int endOffset() { return endOffset; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getEndOffset() {\n return endPosition.getOffset();\n }", "public int getEnd() {\n switch(getType()) {\n case Insertion:\n case SNP:\n case InterDup:\n case TandemDup:\n case TransDup:\n return pos;\n ...
[ "0.7439983", "0.7264983", "0.7069667", "0.7044292", "0.6975856", "0.689498", "0.6885871", "0.68297696", "0.68078667", "0.67775494", "0.67684567", "0.67271954", "0.66834646", "0.6542965", "0.64835554", "0.6480962", "0.6473538", "0.6465165", "0.645303", "0.6437233", "0.64276123...
0.6723657
12
Set the ending offset.
public void setEndOffset(int offset) { this.endOffset = offset; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Builder setEndPosition(int value) {\n bitField0_ |= 0x00000010;\n endPosition_ = value;\n onChanged();\n return this;\n }", "public void setEnd(int end)\n {\n this.end = end;\n this.endSpecified = true;\n }", "public void setEnd(int end) {\r\n this.end...
[ "0.69733155", "0.69335425", "0.6837937", "0.6658919", "0.6647501", "0.6566976", "0.65144926", "0.6462459", "0.6439602", "0.63919944", "0.6378021", "0.6363684", "0.6283147", "0.6268792", "0.6245646", "0.6221246", "0.62072825", "0.61890894", "0.61828446", "0.616999", "0.6160583...
0.658212
5
Returns this Token's lexical type. Defaults to "word".
public final String type() { return type; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getTokenType() {\n return tokenType;\n }", "public TYPE tokenType(){\n\n return currentTokenType;\n }", "public TokenType TokenType(){\r\n\t\tif (isSymbol) {\r\n\t\t\treturn TokenType.SYMBOL;\r\n\t\t} else if (tokenizer.ttype==StreamTokenizer.TT_WORD)\r\n\t\t{\r\n\t\t\tif (keywor...
[ "0.70785713", "0.70146096", "0.69720006", "0.6853819", "0.680938", "0.6746402", "0.6733328", "0.66579735", "0.65223104", "0.6521391", "0.6346936", "0.631427", "0.6306029", "0.6292697", "0.62224334", "0.61612725", "0.61044234", "0.6067606", "0.604115", "0.6030146", "0.6030146"...
0.0
-1
Set the lexical type.
public final void setType(String type) { this.type = type; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setType (String typ) {\n type = typ;\n }", "public void setType(String t) {\n\ttype = t;\n }", "public void set_type(String t)\n {\n type =t;\n }", "public void setType (String type) { n.setAttribute(ATTNAMECOMMONPREFIX + ATTNAMESUFFIX_TYPE , type); }", "public void se...
[ "0.6811714", "0.6651721", "0.6647193", "0.64754975", "0.6474201", "0.6463743", "0.64633536", "0.6439649", "0.643868", "0.6414535", "0.64073694", "0.640728", "0.6315202", "0.6315202", "0.6315202", "0.6309733", "0.63095963", "0.63095963", "0.6303422", "0.6297165", "0.6296679", ...
0.60211426
39
Returns this Token's payload.
public Payload getPayload() { return this.payload; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Object getPayload() {\n return payload;\n }", "public byte[] getPayload() {\n return mPayload;\n }", "public String getPayload() {\n return payload;\n }", "public byte[] getPayload() {\r\n return Utilities.copyOf(payload);\r\n }", "protected final Object getPayload(...
[ "0.77206725", "0.76469344", "0.76445174", "0.7614183", "0.75865847", "0.75811505", "0.75811505", "0.75768644", "0.75768644", "0.7553433", "0.7545498", "0.75371265", "0.75371265", "0.75347203", "0.75289017", "0.73831636", "0.7242032", "0.7242032", "0.71135664", "0.7086417", "0...
0.72855765
16
Sets this Token's payload.
public void setPayload(Payload payload) { this.payload = payload; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setPayload(String payload);", "public void setPayload(String payload) {\n this.payload = payload;\n }", "public void setPayload(String payload) {\n this.payload = payload;\n }", "public void setPayload(java.lang.CharSequence value) {\n this.payload = value;\n }", "public final...
[ "0.69877076", "0.67885476", "0.67158556", "0.65170765", "0.6408876", "0.6390158", "0.6374726", "0.62208754", "0.6215143", "0.59938985", "0.5982166", "0.59236646", "0.58169794", "0.5730351", "0.57249975", "0.5715464", "0.5715464", "0.5699985", "0.5691918", "0.56869537", "0.566...
0.7119891
0
Resets the term text, payload, flags, and positionIncrement to default. Other fields such as startOffset, endOffset and the token type are not reset since they are normally overwritten by the tokenizer.
public void clear() { payload = null; // Leave termBuffer to allow re-use termLength = 0; termText = null; positionIncrement = 1; flags = 0; // startOffset = endOffset = 0; // type = DEFAULT_TYPE; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void reset() {\r\n\t\tnextTokenPos = 0;\r\n\t}", "public Value.Builder clearTerm() {\n term = null;\n fieldSetFlags()[14] = false;\n return this;\n }", "public void setTermText(String text) {\n termText = text;\n termBuffer = null;\n }", "public void reset() {\n started...
[ "0.666743", "0.6479999", "0.6112847", "0.6089473", "0.60221106", "0.6011665", "0.59959245", "0.59941095", "0.59448767", "0.5922856", "0.5922262", "0.59177655", "0.5910446", "0.5882993", "0.5868467", "0.5848924", "0.5794426", "0.57569265", "0.57473797", "0.57187265", "0.571689...
0.75901365
0
The code in this method will be executed when the electronic button is clicked on.
@Override public void onClick(View view) { // Create a new intent to open the {@link Electronic} Intent electronicIntent = new Intent(getApplicationContext(), Electronic.class); // Start the new activity startActivity(electronicIntent); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void designBtnActionPerformed(ActionEvent evt) {\n }", "private void devBtnActionPerformed(ActionEvent evt) {\n }", "private void Button_RecipricalActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_Button_RecipricalActionPerformed\n // TODO add your handling code here:\n ...
[ "0.6952447", "0.68931305", "0.67931336", "0.6790297", "0.6751529", "0.67493325", "0.6743961", "0.67357373", "0.67330414", "0.670563", "0.670563", "0.670563", "0.670563", "0.6700295", "0.6659139", "0.66524863", "0.6647898", "0.6647898", "0.6647898", "0.663279", "0.66108525", ...
0.0
-1
The code in this method will be executed when the rap button is clicked on.
@Override public void onClick(View view) { // Create a new intent to open the {@link Rap} Intent rapIntent = new Intent(getApplicationContext(), Rap.class); // Start the new activity startActivity(rapIntent); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tprotected void OnClick() {\n\t\t\n\t}", "public void ipcallButtonPressed() {\n\t\tdialButtonPressed(true) ;\n\t}", "@Override\n public void onClick(View arg0) {\n\n // get selected radio button from radioGroup\n int selectedId = RadioType.getCheckedRadioBu...
[ "0.68141675", "0.66978574", "0.66511256", "0.65738475", "0.65738475", "0.65593034", "0.6550998", "0.64991826", "0.647925", "0.6443531", "0.6425274", "0.6413144", "0.64019394", "0.6388084", "0.6382239", "0.6381051", "0.63763404", "0.63720953", "0.63560253", "0.6355315", "0.634...
0.66381437
3
The code in this method will be executed when the classical button is clicked on.
@Override public void onClick(View view) { // Create a new intent to open the {@link Classical} Intent classicalIntent = new Intent(getApplicationContext(), Classical.class); // Start the new activity startActivity(classicalIntent); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void buttonClicked();", "@Override\n\tprotected void OnClick() {\n\t\t\n\t}", "public void buttonClicked() {\n mSanitizorGame.buttonClicked();\n }", "public void settingBtnClick() {\n\t}", "public void clickonFullyAutomaticFrontLoad() {\n\t\t\n\t}", "public void btn_LearningActivity() {\...
[ "0.73973346", "0.73167634", "0.7239421", "0.6997184", "0.69819653", "0.69799083", "0.68737966", "0.6845141", "0.68198633", "0.68001217", "0.6786472", "0.6747244", "0.6745729", "0.6745729", "0.6745729", "0.6745729", "0.6745729", "0.6745729", "0.6745729", "0.6745729", "0.674572...
0.0
-1
=================================================================================== Nested Relation =============== With nested relation columns to select clause. WHITE_COMPOUND_PK by my REF_FIRST_ID, REF_SECOND_ID, named 'whiteCompoundPk'.
public void withWhiteCompoundPk() { _query.xdoNss(() -> _query.queryWhiteCompoundPk()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n \tpublic void whereClauseIndirectPointingRelation() {\n \t\tnode23.addJoin(new PointingRelation(node42, NAME));\n \t\tcheckWhereCondition(\n //\t\t\t\tjoin(\"=\", \"_rank23.component_ref\", \"_rank42.component_ref\"),\n \t\t\t\tjoin(\"=\", \"_component23.type\", \"'p'\"),\n \t\t\t\tjoin(\"=\", \"_component...
[ "0.5079839", "0.50336415", "0.49054432", "0.48862258", "0.48647267", "0.48513916", "0.48158002", "0.48044574", "0.48003963", "0.47463775", "0.47217208", "0.4715345", "0.46992153", "0.46851844", "0.46816623", "0.46782663", "0.46434763", "0.46406215", "0.46290207", "0.46112287", ...
0.5948417
0
Returning array that contains all the number of neighbourhood frames
public ArrayList<Integer> neighNumbers() { ArrayList<Integer> neighNumbers = new ArrayList<Integer>(); if(isValid(this.frame-10)) { neighNumbers.add(this.frame-10); } if(isValid(this.frame+10)) { neighNumbers.add(this.frame+10); } //Right edge if(this.frame % 10 == 0) { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private int getNeighbours(Container[][][] buffer) {\n int neighbours = 0;\n if (indexPosition.x + 1 < buffer.length && buffer[(int) indexPosition.x + 1][(int) indexPosition.y][(int) indexPosition.z] != null) {\n neighbours++;\n }\n if (indexPosition.x - 1 >= 0 && buffer[(int)...
[ "0.67195195", "0.6573042", "0.6535236", "0.6500869", "0.64436007", "0.6391755", "0.63866913", "0.6358658", "0.6303811", "0.6276243", "0.6239206", "0.6234917", "0.6198366", "0.61945957", "0.61905295", "0.61755687", "0.6153684", "0.6080364", "0.60651314", "0.60628784", "0.60545...
0.59290636
34
TODO Autogenerated method stub
public void showemplist() throws Exception { Log.info("*******started execution of showemplist() in TC_hrms_102***********"); Actions action = new Actions(g.driver); action.moveToElement(g.driver.findElement(By.linkText("PIM"))).perform(); Thread.sleep(3000); //clicking on addemployee submenu link g.dri...
{ "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 UserVO login(LoginUserVO user) { return login.login(user); }
{ "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
Add an optional teaser for the full blog post.
public Builder addVenue(final String venue) { mVenue = venue; return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public String getTeaserTitle() {\n String tt = super.getTeaserTitle();\n if (isBlank(tt)) {\n tt = getTitle();\n }\n return tt;\n }", "public void createPost( BlogPost post );", "public void testBlogEntryHasNoTags() throws Exception {\n blogEntry.setExcerpt(\"Excerpt - here is...
[ "0.5418374", "0.50326115", "0.4997713", "0.48962063", "0.48472434", "0.48325503", "0.47510615", "0.47105205", "0.46962205", "0.46864337", "0.46715242", "0.46114212", "0.45768368", "0.45641947", "0.4539211", "0.450113", "0.44930825", "0.44828424", "0.44536364", "0.44178343", "...
0.0
-1
Add an optional author of the blog post.
public Builder addSetListData(final String val) { mSetListData = val; return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addAuthor(Author author){\n authors.add(author);\n }", "Builder addAuthor(String value);", "@Override\n public void author_()\n {\n }", "public void setAuthor(String author) {\r\n this.author = author;\r\n }", "public void setAuthor(String author) {\n this.au...
[ "0.6716141", "0.6594967", "0.64020467", "0.6339998", "0.6325308", "0.6325308", "0.6325308", "0.6325308", "0.6325308", "0.6312927", "0.63080084", "0.62614214", "0.6248108", "0.62477565", "0.62465006", "0.62465006", "0.62465006", "0.62465006", "0.6228062", "0.6227684", "0.62262...
0.0
-1
Just sets the title to display error
private void displayErrorTitle(){ progressTitle.setText(getResources().getString(R.string.error_title)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void showError(String text, String title){\n JOptionPane.showMessageDialog(this,\n text, title, JOptionPane.ERROR_MESSAGE);\n }", "void errorBox(String title, String message);", "void showError(String errorMessage);", "public void showError(String errorMessage);", "public v...
[ "0.7655359", "0.7500265", "0.7471299", "0.7455117", "0.74432606", "0.7370641", "0.7370641", "0.73362106", "0.7313459", "0.7280699", "0.7256932", "0.7139119", "0.7125428", "0.7104826", "0.7096476", "0.70076865", "0.7001706", "0.69966215", "0.69918394", "0.6969401", "0.69193685...
0.8007975
0
Called whenever the user clicks on the 'next' button. This button will only be visible when the database loading procedure is done, OR if there was an error in it.
@OnClick(R.id.nextButton) public void onNext(View view){ Intent intent = new Intent(getApplicationContext(), SettingActivity.class); intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); startActivity(intent); overridePendingTransition(R.anim.slide_in_right, R.anim.slide_out_left); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void nextButtonClicked()\r\n {\n manager = sond.getManager();\r\n String insertSearchDelete = sond.getInsertSearchDelete();\r\n AnimatorThread animThread = model.getThread();\r\n\r\n // falls der Thread pausiert ist, wird er beim betätigen des\r\n // next-Buttons aufgew...
[ "0.7038883", "0.6922434", "0.689707", "0.68315554", "0.6653732", "0.6619436", "0.6574927", "0.65516734", "0.6550316", "0.6545493", "0.6543971", "0.6463447", "0.6451723", "0.6435895", "0.64338696", "0.6433657", "0.6359712", "0.6342502", "0.6274445", "0.6267691", "0.6235855", ...
0.61626196
25
Processes requests for both HTTP GET and POST methods.
protected void processRequest(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { response.setContentType("text/html;charset=UTF-8"); PrintWriter out = response.getWriter(); HttpSession session = request.getSession(); RequestDispat...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void doPost(final HttpServletRequest req, final HttpServletResponse resp) throws ServletException, IOException {\n final String method = req.getParameter(METHOD);\n if (GET.equals(method)) {\n doGet(req, resp);\n } else {\n resp.setStatus(HttpServletResponse.SC_METHOD_NOT_...
[ "0.7004024", "0.66585696", "0.66031146", "0.6510023", "0.6447109", "0.64421695", "0.64405906", "0.64321136", "0.6428049", "0.6424289", "0.6424289", "0.6419742", "0.6419742", "0.6419742", "0.6418235", "0.64143145", "0.64143145", "0.6400266", "0.63939095", "0.63939095", "0.6392...
0.0
-1
Handles the HTTP POST method.
@Override protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { processRequest(request, response); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void doPost(Request request, Response response) {\n\n\t}", "@Override\n protected void doPost(HttpServletRequest req, HttpServletResponse resp) {\n }", "public void doPost( )\n {\n \n }", "@Override\n public String getMethod() {\n return \"POST\";\n ...
[ "0.73289514", "0.71383566", "0.7116213", "0.7105215", "0.7100045", "0.70236707", "0.7016248", "0.6964149", "0.6889435", "0.6784954", "0.67733276", "0.67482096", "0.66677034", "0.6558593", "0.65582114", "0.6525548", "0.652552", "0.652552", "0.652552", "0.65229493", "0.6520197"...
0.0
-1
Returns a short description of the servlet.
@Override public String getServletInfo() { return "Short description"; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getServletInfo()\n {\n return \"Short description\";\n }", "public String getServletInfo() {\n return \"Short description\";\n }", "public String getServletInfo() {\n return \"Short description\";\n }", "public String getServletInfo() {\n return \"Short d...
[ "0.87634975", "0.8732279", "0.8732279", "0.8732279", "0.8732279", "0.8732279", "0.8732279", "0.8732279", "0.8732279", "0.8732279", "0.8732279", "0.8699131", "0.8699131", "0.8699131", "0.8699131", "0.8699131", "0.8699131", "0.8531295", "0.8531295", "0.85282224", "0.85282224", ...
0.0
-1
Inflate the menu; this adds items to the action bar if it is present.
@Override public boolean onCreateOptionsMenu(Menu menu) { getMenuInflater().inflate(R.menu.shared_preferences, menu); return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n \tMenuInflater inflater = getMenuInflater();\n \tinflater.inflate(R.menu.main_activity_actions, menu);\n \treturn super.onCreateOptionsMenu(menu);\n }", "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {...
[ "0.72473437", "0.7202402", "0.71960324", "0.7177793", "0.7108265", "0.7040525", "0.70388484", "0.70126176", "0.70101976", "0.6981143", "0.69461405", "0.694", "0.69346833", "0.69183874", "0.69183874", "0.6891571", "0.6884306", "0.68758994", "0.687534", "0.68627334", "0.6862733...
0.0
-1
Returns an attribute option combo filter SQL clause. The filter enforces that only attribute option combinations which the given user has access to are returned.
private String getAttributeOptionComboClause(User user) { return "and dv.attributeoptioncomboid not in (" + "select distinct(cocco.categoryoptioncomboid) " + "from categoryoptioncombos_categoryoptions as cocco " + // Get inaccessible category options "where cocco.categoryopti...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean hqlFilterAttrDefsWhereClause(GrouperSession grouperSession, \r\n Subject subject, HqlQuery hqlQuery, StringBuilder hqlTables, StringBuilder hqlWhereClause, \r\n String attrDefColumn, Set<Privilege> privInSet);", "public boolean hqlFilterAttributeDefsWithPrivWhereClause(GrouperSession gro...
[ "0.5450786", "0.5402853", "0.5183553", "0.516302", "0.51151", "0.5025721", "0.49961275", "0.49758866", "0.48653954", "0.48314163", "0.46962717", "0.4615482", "0.45735383", "0.45501718", "0.45494217", "0.45262936", "0.45192894", "0.45065638", "0.45002365", "0.4495172", "0.4458...
0.7751861
0
method name is the default bean name
@Bean(name = "bean") //name=" " to change the bean name public Address addressBean() { return new Address(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void setBeanName(String name) {\n System.out.println(\"## setBeanName(name) My bean Name is : \" + name);\n }", "private String getName() {\n return method.getName();\n }", "public String getBeanName() {\r\n\t\treturn beanName;\r\n\t}", "@Nullable\n protecte...
[ "0.6896814", "0.6727101", "0.665212", "0.66060525", "0.6540071", "0.6491603", "0.6443222", "0.64150447", "0.62217957", "0.6060468", "0.59690756", "0.59690756", "0.59690756", "0.59690756", "0.59448695", "0.5925564", "0.59199774", "0.5859038", "0.58577955", "0.58441716", "0.584...
0.54073083
86
TODO Autogenerated method stub
@Override protected void executeClass() throws BusClassException { Attribute attEmpresas = this.getCurrentEntity().getAttribute("P5_DOCUNI_EMPRESA_FACTURA"); PossibleValue posMautibla = new PossibleValue("Mautibla", "Mautibla"); PossibleValue posGroove = new PossibleValue("Groove", "Groove"); attEm...
{ "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
Reads in the key the player uses and uses the cases accordingly to call to the command to execute. After every key press the GUI is updated.
@Override public void keyPressed(KeyEvent e) { char entered = e.getKeyChar(); switch (entered) { case 'w': move.execute(entered); break; case 's': move.execute(entered); break; case 'a': move.execute(entered); break; case 'd': move.execute(entered); break; cas...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void interactWithKeyboard() {\n renderMenu();\n Interaction interact = null;\n // open from the menu\n boolean wait = true;\n while (wait) {\n if (!StdDraw.hasNextKeyTyped()) {\n continue;\n }\n String c = (\"\" + StdDraw.n...
[ "0.70942", "0.7032393", "0.6958665", "0.68592066", "0.6764382", "0.67056656", "0.6664124", "0.6617836", "0.6572767", "0.65677214", "0.6549831", "0.65407085", "0.6507311", "0.6500244", "0.6492643", "0.64894795", "0.64796835", "0.6469169", "0.64594734", "0.6456274", "0.64111924...
0.6093637
51
TODO Autogenerated method stub
@Override public void keyTyped(KeyEvent e) { }
{ "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
Allows us to set the game value
public void setGame(Game g) { game = g; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setGame() {\n }", "public abstract void setGame(Gyges game);", "void setValue(int value);", "protected void setGame(Game game) {\n this.game = game;\n }", "public abstract void setValue(int value);", "void setGame (Game game) {\n this.game = game;\n }", "@Override\r\n\tp...
[ "0.73703146", "0.7056565", "0.6775924", "0.6711422", "0.66510105", "0.6619039", "0.66149855", "0.66045386", "0.66031337", "0.66015744", "0.6467609", "0.64144415", "0.63796335", "0.63569164", "0.6335826", "0.6334324", "0.63194764", "0.63044554", "0.6296731", "0.62939423", "0.6...
0.6565173
10
TODO Autogenerated method stub
@Override public IBinder onBind(Intent intent) { return mBinder; }
{ "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
This example implementation walks a local file structure to find the most recently modified files. Other implementations might include making a network call to query a server. Create a cursor with the requested projection, or the default projection.
@Override public Cursor queryRecentDocuments(String rootId, String[] projection) throws FileNotFoundException { final MatrixCursor result = new MatrixCursor(resolveDocumentProjection(projection)); final File parent = getFileForDocId(rootId); // Create a queue to...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private String getLatestCursor(DbxClientV2 dbxClient, String path) throws DbxApiException, DbxException {\n\t\tListFolderGetLatestCursorResult result = dbxClient.files().listFolderGetLatestCursorBuilder(path).withIncludeDeleted(true).withIncludeMediaInfo(false).withRecursive(true).start();\n\t\treturn result.getCu...
[ "0.5991246", "0.5794781", "0.5593675", "0.5554237", "0.5521201", "0.5362047", "0.52883637", "0.5154795", "0.5136413", "0.5124804", "0.49856737", "0.49538445", "0.49151725", "0.4908675", "0.48771912", "0.48769677", "0.4861241", "0.48146483", "0.4805397", "0.48002845", "0.47837...
0.6906055
0
baseService Created by Kaven Date: 2018/4/8 Desc:
public interface BaseService<T> extends IService<T> { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ServiceCompte() {\n\t\tsuper();\n\t}", "@Override\n\t\tpublic String buildBasicService() {\n\t\t\treturn bulidService();\n\t\t}", "Service(){\r\n\t\tserviceName =\"x\";\r\n\t\tserviceID = 0;\r\n\t\tserviceFee = 0.0;\r\n\t\tserviceDescrp = \"zztop\";\r\n\t}", "public void service_INIT(){\n }", "publ...
[ "0.7065707", "0.70271564", "0.6938156", "0.67664325", "0.669646", "0.6696009", "0.65916246", "0.65631884", "0.6523322", "0.65119475", "0.65093714", "0.6501267", "0.6488179", "0.64590496", "0.6457741", "0.64560765", "0.6455531", "0.6442479", "0.64398724", "0.6407424", "0.63946...
0.0
-1
Read file from disk
private void sendFile(String fileName) throws IOException { // Read file from disk // fileReader = new MyFileReader(); byte[] data = fileReader.readFile(fileName); // // Send binary data over the TCP/IP socket connection // for (byte i : data) { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void fileRead(String path)\n\t{\n\t\ttry\n\t\t{\n\t\t\t// create file\n\t\t\tFile file = new File(path);\n\t\t\tFileInputStream fileStream = new FileInputStream(file);\n\t\t\t\n\t\t\t// data read\n\t\t\tthis.dataContent = new byte[(int)file.length()];\n\t\t\tint ret = fileStream.read(this.dataContent, 0, (...
[ "0.7357184", "0.7223615", "0.70080876", "0.68734014", "0.68200046", "0.6767003", "0.6746653", "0.668473", "0.6682133", "0.6624877", "0.6602188", "0.6593068", "0.65699357", "0.6544122", "0.6512398", "0.6506322", "0.6506322", "0.6489248", "0.64884394", "0.6470192", "0.64198506"...
0.0
-1
Requires 3 arguments: 1: TCP/IP server host name or IP address 2: TCP/IP server port number 3: Absolute path and file name of file to send
public static void main(String[] args) throws Exception { MyClientSocketBinary client = new MyClientSocketBinary( InetAddress.getByName(args[0]), Integer.parseInt(args[1])); System.out.println("\r\nConnected to Server: " + client.socket.getInetAddress()); //client...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void sendFile(String fileName, String hostName, int port) throws IOException;", "void receiveFile(String fileName, int port) throws IOException;", "private void sendFile(String fileName) throws IOException {\n // Read file from disk\n //\n fileReader = new MyFileReader();\n byte[] d...
[ "0.8607076", "0.7408851", "0.7039256", "0.69442755", "0.6844009", "0.6842311", "0.68077654", "0.6806221", "0.6791842", "0.6622448", "0.6528182", "0.6454231", "0.64149606", "0.63932884", "0.63881224", "0.6313902", "0.6276623", "0.6261669", "0.62283766", "0.6210177", "0.6147958...
0.6398177
13
Create statistics model instance from build run with all necessary information.
private BuildDetailWithCounts createBuildDetailWithCounts(BuildRun build) { final Map<String, ModuleBuildCounts> moduleBuildCountsMap = new HashMap<>(); computeCountsForBuild(build, moduleBuildCountsMap); final List<ModuleBuildCounts> counts = new ArrayList<>(moduleBuildCountsMap.values()); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void buildModel() {\n }", "public static void _generateStatistics() {\n\t\ttry {\n\t\t\t// Setup info\n\t\t\tPrintStream stats = new PrintStream(new File (_statLogFileName + \".txt\"));\n\n\t\t\tScanner scan = new Scanner(new File(_logFileName+\".txt\"));\n\t\t\twhile (scan.hasNext(SETUP.toString())) {...
[ "0.57339364", "0.56044495", "0.55904055", "0.5548144", "0.5495323", "0.545094", "0.5449034", "0.54428595", "0.54262364", "0.5337082", "0.53321487", "0.532598", "0.53239894", "0.5251657", "0.52477807", "0.5244941", "0.51783204", "0.51385355", "0.5102334", "0.5100698", "0.50703...
0.6064732
0
TODO Autogenerated method stub
@Override public NewsVO findByPrimaryKey(String news_id) { NewsVO newsVO = null; Connection con = null; PreparedStatement pstmt = null; ResultSet rs = null; try { Class.forName(driver); con = DriverManager.getConnection(url, userid, passwd); pstmt = con.prepareStatement(GET_ONE_STMT); pstmt.se...
{ "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<NewsVO> getAll() { List<NewsVO> list = new ArrayList<NewsVO>(); NewsVO newsVO = null; Connection con = null; PreparedStatement pstmt = null; ResultSet rs = null; try { Class.forName(driver); con = DriverManager.getConnection(url, userid, passwd); pstmt = con.prepareStateme...
{ "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 command is initially scheduled.
@Override public void initialize() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void beginSchedule(){\n\t\tDivaApp.getInstance().submitScheduledTask(new RandomUpdater(this), RandomUpdater.DELAY, RandomUpdater.PERIOD);\n\t}", "@Override\n protected void initialize() {\n System.out.println(\"CargoWheelSuckOrSpitCommand init\");\n _timer.reset();\n _timer.start();\n }", "@...
[ "0.694831", "0.6869797", "0.6774711", "0.67235124", "0.66945976", "0.66753703", "0.6657486", "0.66475713", "0.6604096", "0.6577765", "0.6561175", "0.6482039", "0.64754146", "0.644672", "0.6402472", "0.6344543", "0.6339042", "0.6322262", "0.63140696", "0.62958276", "0.62720674...
0.0
-1
Called every time the scheduler runs while the command is scheduled.
@Override public void execute() { //double sliderValue = -1.0 * m_xbox.getRawAxis(3); //sliderValue = (sliderValue /2) + 0.5; double joyForward = m_xbox.getRawAxis(Constants.OI.yAxis); double joyTurn = m_xbox.getRawAxis(Constants.OI.xAxis); // System.out.println("Y axis: " + joyForward); // Sy...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void periodic() {\n // This method will be called once per scheduler run\n }", "@Override\n public void autonomousPeriodic() {\n \n Scheduler.getInstance().run();\n \n }", "@Override\n public void autonomousPeriodic() {\n Scheduler.getInstance().run();\n }", "@...
[ "0.7795588", "0.7556595", "0.7483744", "0.7466229", "0.73808366", "0.7376631", "0.7343765", "0.73368347", "0.73189235", "0.73189235", "0.73189235", "0.73189235", "0.7271756", "0.7271756", "0.7271756", "0.7271756", "0.7271756", "0.7271756", "0.724292", "0.7233699", "0.7198446"...
0.0
-1
Called once the command ends or is interrupted.
@Override public void end(boolean interrupted) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void endCommand();", "@Override\n protected void end() {\n System.out.println(\"elevator down command ended\");\n }", "@Override\n public void end(boolean interrupted) {}", "@Override\n public void end(boolean interrupted) {}", "@Override\n public void end(boolean interrupted) {}", "@Overr...
[ "0.7605449", "0.7176284", "0.7074365", "0.7074365", "0.7074365", "0.7074365", "0.7039006", "0.7019191", "0.7019191", "0.7019191", "0.7019191", "0.7019191", "0.7019191", "0.7019191", "0.7019191", "0.7019191", "0.7019191", "0.7019191", "0.7019191", "0.7019191", "0.7019191", "...
0.69664836
36
Returns true when the command should end.
@Override public boolean isFinished() { return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract boolean shouldEnd();", "private Boolean quitCommand() {\n output.println(\"QUIT COMMAND\");\n return false;\n }", "protected boolean isFinished() {\r\n\t \treturn (timeSinceInitialized() > .25) && (Math.abs(RobotMap.armarm_talon.getClosedLoopError()) < ARM_END_COMMAND_DIFFER...
[ "0.75273657", "0.73602504", "0.73465896", "0.71294767", "0.7033159", "0.7012778", "0.700753", "0.6994238", "0.6931957", "0.6927545", "0.6915831", "0.68845886", "0.68594575", "0.68594575", "0.68594575", "0.6853999", "0.68532574", "0.6851464", "0.6851464", "0.6837983", "0.68260...
0.0
-1
TODO Autogenerated method stub
@Override public boolean validate() { 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 boolean test() { 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 Cmd cmd = new Cmd(); cmd.setName("TA0_KEY"); cmd.setCmd("/usr/local/bin/ibmcloud service keyshow ta0 user0"); cmd.setNr(4); cmd.setPath("/tmp");
public static void main(String[] args) throws FileNotFoundException { Path path = Paths.get("/opt/wks/ftwta/WebContent/res/IC_LI_CMD.json"); Cmd cmd = (Cmd) Tools.fromJSON(path.toFile(), new TypeReference<Cmd>(){}); System.out.println(Tools.toJSON(cmd)); try { // Map<String, Object> output = Tools.f...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getKinitCommandAsString() {\n //kinit nifi -kt /etc/security/keytabs/nifi.headless.keytab\n StringBuffer kInitCommand = new StringBuffer();\n return kInitCommand.append(kerberosKinitLocation)\n .append(\" \")\n .append(kerberosPrincipal)\n .append...
[ "0.62889016", "0.6051803", "0.5701296", "0.55705464", "0.5526377", "0.5398687", "0.53785336", "0.5369401", "0.5342174", "0.5328906", "0.52817965", "0.52282286", "0.52155936", "0.5215382", "0.5203443", "0.51933694", "0.51765716", "0.51658064", "0.51619947", "0.5161663", "0.515...
0.0
-1
Called while entering OVX mode in CMD
public void setOVXmode(int tenantId, int OVXmode) { this.log.info("Inside setOVXmode method; tenantid={}, mode={}", tenantId, OVXmode); OVXmodeMap.put(tenantId, OVXmode); mode = OVXmodeMap.get(tenantId); log.info("value stored in OVX mode map={}", mode); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void command() {\n\t\tSystem.out.println(\"CommandAttack Process\");\r\n\t}", "protected void executeVmCommand() {\n }", "@Override\r\n\tpublic void keyPressedAction(GlobalKeyEvent event) {\n\t\tSystem.out.println(event.getVirtualKeyCode()+\"press\");\r\n\t\t// TODO OCR\r\n\t\tif (Scop...
[ "0.57465947", "0.56478107", "0.5536538", "0.55219823", "0.5464551", "0.54617757", "0.54501975", "0.544341", "0.5436066", "0.53999925", "0.53771096", "0.536829", "0.5360957", "0.53417736", "0.5335701", "0.5288373", "0.5283925", "0.52634615", "0.52615845", "0.5260534", "0.52237...
0.5306144
15
TODO Autogenerated method stub
public static void main(String[] args) { Scanner teclado=new Scanner(System.in); String frase=""; int i=1; do{ System.out.println("Introduce la frase: "); frase=teclado.nextLine(); }while(frase.length()>80); //Max. 80 carácteres do{ //imprimo desde 0 a i System.out.println(fras...
{ "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
System.out.println("reversed string " + str);
public static String reverseWithStaticMethod(String str) { return new StringBuilder(str).reverse().toString(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void reverse(string str) \n{ \n for (int i=str.length()-1; i>=0; i--) \n cout << str[i]; \n}", "public static void main(String[] args) {\n \n String str1 = \"hello, return olleh\";\n \n System.out.println( \"ReverseString ans: \" + reverseStr(str1)); \n \n }", "pub...
[ "0.7940594", "0.7914659", "0.7825707", "0.7700964", "0.7633934", "0.76179826", "0.75998056", "0.75932944", "0.7494215", "0.7461473", "0.74497867", "0.7439163", "0.7382751", "0.7382024", "0.7361432", "0.7322273", "0.73019254", "0.72876287", "0.72853434", "0.72658414", "0.72645...
0.6639107
64
Returns the shared instance
public static BundleContext getContext() { return context; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Shared shared();", "public T getInstance() {\n return instance;\n }", "public static SingleObject getInstance(){\n return instance;\n }", "@Override\n public T getInstance() {\n return instance;\n }", "public static EnduserApi getSharedInstance() {\n if (EnduserApi.shared...
[ "0.7632382", "0.7592664", "0.7545918", "0.7495189", "0.74723595", "0.7447487", "0.7382395", "0.7339353", "0.7288101", "0.7265372", "0.7244134", "0.7227265", "0.7176469", "0.71117234", "0.70697963", "0.704939", "0.6979159", "0.6949296", "0.694791", "0.6945432", "0.6937742", ...
0.0
-1
Initialize the contents of the frame.
private void initialize() { frame = new JFrame(); frame.setBounds(200, 200, 500, 300); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); frame.getContentPane().setLayout(null); JLabel lblNewLabel = new JLabel("Airline_Reservation_System"); lblNewLabel.setFont(new Font("Arial Black", Font.P...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public BreukFrame() {\n super();\n initialize();\n }", "public MainFrame() {\n\t\tsuper();\n\t\tinitialize();\n\t}", "private void initialize() {\n\t\tthis.setSize(211, 449);\n\t\tthis.setContentPane(getJContentPane());\n\t\tthis.setTitle(\"JFrame\");\n\t}", "public SiscobanFrame() {\r\n\t\tsuper();\r...
[ "0.77704835", "0.75652915", "0.7442664", "0.7369101", "0.7366378", "0.7358479", "0.73146075", "0.73096764", "0.72987294", "0.72978777", "0.7278321", "0.72729623", "0.7269468", "0.7269468", "0.7215727", "0.7180792", "0.71682984", "0.7140954", "0.7140953", "0.7126852", "0.71079...
0.0
-1
ByteBuf bf= Unpooled.copiedBuffer("hello".getBytes()); ctx.writeAndFlush(new TankJoinMsg(2,3, Group.GOOD,Dir.DOWN,false, UUID.randomUUID()));
@Override public void channelActive(ChannelHandlerContext ctx) throws Exception { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public EchoClientHandler()\n {\n String data = \"hello zhang kylin \" ;\n firstMessage = Unpooled.buffer(2914) ;\n firstMessage.writeBytes(data.getBytes()) ;\n }", "public static void main(String[] args) {\n\t\tSystem.out.println(\"Hello\");\n\t\tByteBuf bb = Unpooled.buffer();\n\t\t\n...
[ "0.66393805", "0.6416308", "0.6395942", "0.6297845", "0.6258418", "0.6252253", "0.61587906", "0.6124228", "0.60615295", "0.595781", "0.594827", "0.5937317", "0.5927167", "0.58885336", "0.5823905", "0.5812819", "0.5786172", "0.57832146", "0.578018", "0.57645106", "0.57451177",...
0.52608675
78
Used for collecting data about vitals (memory, cpu, etc.) when a transaction is active.
@ApiStatus.Internal public interface ICollector { void setup(); void collect(final @NotNull PerformanceCollectionData performanceCollectionData); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private SensorData collectMemoryInfo() throws SigarException {\n \n if (LOG.isDebugEnabled()) {\n LOG.debug(\"Collecting Memory Utilization Information\");\n }\n SensorData data = new SensorData();\n \n Mem mem = sigar.getMem();\n \n data.add(Senso...
[ "0.5977158", "0.5621389", "0.5611818", "0.5426879", "0.5320323", "0.5279283", "0.52680254", "0.52382857", "0.5230239", "0.5189296", "0.51712644", "0.517035", "0.50738686", "0.5070415", "0.5069446", "0.50520885", "0.5034907", "0.5007671", "0.49975687", "0.4996916", "0.4995616"...
0.0
-1
Getter del controlador de la vista.
public ControllerRegister getCr() { return cr; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ConsultoresView getVista() {\n\t\treturn vista;\n\t}", "public Controleur getControleur() {\n\t\treturn controleur;\n\t}", "public NominaControlador getNominaControlador() {\n return nomina;\n }", "public static CtrlObras getInstancia() {\r\n return unicaInstancia;\r\n }", "publi...
[ "0.68009317", "0.67215323", "0.6657296", "0.6645805", "0.6612158", "0.6570934", "0.6531814", "0.6524863", "0.6474926", "0.63967127", "0.6390505", "0.6347653", "0.631316", "0.62964344", "0.6268372", "0.62391496", "0.62313414", "0.62246436", "0.6200649", "0.6197067", "0.618108"...
0.0
-1
Metode que actualitza les grafiques de diasetmanames.
public void updateWindow() { MatchDAO ma = new MatchDAO(); ArrayList<User> u = ma.getTopFiveMostMatchedUsers(); view.updateWindow(ma.getLastMonthMatches(), ma.getLastWeekMatches(), ma.getLastDayMatches(), u); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private ApexCharts crearGraficagastosMesActual() {\n \tobtenerGastosDiariosMes();\n \t\n return ApexChartsBuilder.get()\n .withChart(ChartBuilder.get()\n .withType(Type.area)\n .withZoom(ZoomBuilder.get()\n .wi...
[ "0.61312634", "0.6114104", "0.603885", "0.60340756", "0.5906346", "0.5899672", "0.5851416", "0.58287174", "0.5699585", "0.56766856", "0.5652215", "0.5650832", "0.5634479", "0.5630941", "0.5618612", "0.5596362", "0.556166", "0.5546005", "0.5495739", "0.5470844", "0.5458256", ...
0.0
-1
TODO Autogenerated method stub
@Override public void onResume() { super.onResume(); updateUserAcount(); showMainBottom(); MobclickAgent.onPageStart("MyMainFragment"); }
{ "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
GET USER BY ID OR CREATE
@ApiMethod(name = "user.getOrCreate", path = "user/getOrCreate", httpMethod = HttpMethod.GET) public User getOrCreateUser( HttpServletRequest request, @Named("id") String id, @Nullable @Named("name") String name ) throws UnauthorizedException { Util.verifyClientKey(request); // f...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "User getUserById(int id);", "User getUser(Long id);", "User getUserById(Long id);", "User getUserById(Long id);", "public User getUserById(Long id) throws Exception;", "@Override\r\n\tpublic User getUserById(int id) {\n\t\treturn userMapper.selById(id);\r\n\t}", "public User getUser(Integer id)\n\t{\n\...
[ "0.7899673", "0.78777534", "0.77472377", "0.77472377", "0.7457936", "0.73470485", "0.73140407", "0.7312003", "0.73078233", "0.729448", "0.728994", "0.72625595", "0.7253129", "0.72451067", "0.7242964", "0.72419596", "0.72377753", "0.7220429", "0.72023255", "0.71993047", "0.719...
0.0
-1
ADD OR DELETE BOOKMARK
@ApiMethod(name = "user.update.bookmark", path = "user/update/bookmark", httpMethod = HttpMethod.PUT) public User addBookmark( HttpServletRequest request, @Named("id") String id, @Named("dealId") Long dealId, @Named("add") Boolean add ) throws NotFoundException, UnauthorizedException { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addMark (Mark mark)\r\n {\r\n marks.add(mark);\r\n }", "private void addMarkData(MarkData markData, MobileResponse mobileResponse) {\n //markData.saySomethingTextArea.getValue()\n ItemHolder itemHolder = mobileResponse.getItemHolder();\n GWT.log(\"adding itemholder \...
[ "0.6120059", "0.5895801", "0.5711287", "0.56351167", "0.54403985", "0.54019845", "0.5380113", "0.5376154", "0.53233594", "0.53220177", "0.5282545", "0.5280236", "0.52581495", "0.5200817", "0.51988125", "0.5190946", "0.5182007", "0.51815486", "0.5160247", "0.5117075", "0.51089...
0.0
-1
Constructor (parse the string and fill the hashmap)
public BodyParser(String body) { this._map = new HashMap<>(); for (String keyVal : body.split("&")) { String[] keyValArray = keyVal.split("="); if (keyValArray.length == 2) { this._map.put(keyValArray[0], keyValArray[1...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private HashMap parseMap(String localData){\n int localPointer = 0;\n HashMap temp = new HashMap();\n char c = localData.charAt(localPointer++);\n while (c != '}'){\n String entry = \"\";\n entry_loop :\n while (c != '}'){\n switch (c){\n ...
[ "0.6405455", "0.61295336", "0.60878783", "0.6060897", "0.5998621", "0.5866844", "0.58580464", "0.5837838", "0.5820203", "0.5819253", "0.5814641", "0.58038116", "0.58003193", "0.57767516", "0.5752659", "0.568636", "0.5656058", "0.56321216", "0.56170356", "0.5591652", "0.558029...
0.58787006
5
Return a string by the key "key"
public String get(String key) { return this._map.get(key); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getString(String key);", "String getString(String key);", "private String getString(String key) {\n return key;\r\n }", "String get(Integer key);", "public String getString(String key)\n {\n return getString(key, null);\n }", "final String get(String key) {\n return ...
[ "0.85143554", "0.8424409", "0.8303758", "0.75205195", "0.7473921", "0.7432816", "0.74128085", "0.7351963", "0.73495215", "0.725843", "0.7165077", "0.71633184", "0.7136558", "0.7130857", "0.71023506", "0.7008432", "0.7008432", "0.7008432", "0.7008432", "0.7008432", "0.7008432"...
0.66254306
56
The getter for the hashmap
public HashMap<String, String> getMap() { return _map; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String[] get()\n {\n return hashmap;\n }", "public HashMap<String, String> getHashMap() {\n\t\treturn this.hashMap;\n\t}", "public java.util.Map getMap()\n {\n return __m_Map;\n }", "public HashMap<String, Object> getHashMap() {\n return JsonSerializable.toMap(this.pro...
[ "0.7692518", "0.75371003", "0.71066076", "0.7033904", "0.7028141", "0.69072354", "0.68699497", "0.68427336", "0.68287283", "0.67129946", "0.66996485", "0.6678766", "0.6673351", "0.6664916", "0.6652811", "0.6645902", "0.66318095", "0.6626901", "0.6603383", "0.6580536", "0.6578...
0.7461898
2
Disposition for an attachment is used to write out the attachment headers excluding the ContentType header.
protected void sendDispositionHeader(OutputStream out) throws IOException { String dispositionHeader = createHeadersAsDisposition(); if ( AeUtil.notNullOrEmpty(dispositionHeader) ) out.write(EncodingUtil.getAsciiBytes(dispositionHeader)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public AttachmentBuilder disposition(String theDisposition) {\n \t\tthis.disposition = theDisposition;\n \t\treturn this;\n \t}", "String getContentDisposition();", "public String getContentDisposition() {\n return this.contentDisposition;\n }", "public String getContentDisposition() {\n ...
[ "0.7284899", "0.7232507", "0.70603424", "0.6980467", "0.69652957", "0.6822903", "0.67522436", "0.6719538", "0.6693921", "0.633064", "0.63267696", "0.6313625", "0.6195252", "0.5539163", "0.54132783", "0.53759396", "0.5344604", "0.5309453", "0.5303415", "0.5279587", "0.52558666...
0.7047772
3
Create headers as disposition, this is a bit tricky and in effect, extends the HttpClient multipart mechanism.
private String createHeadersAsDisposition() { StringBuffer buff = new StringBuffer(); boolean first = true; for (Iterator iterator = getHeaders().entrySet().iterator(); iterator.hasNext();) { Map.Entry header = (Map.Entry)iterator.next(); String hName = (String)header...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setContentDisposition\n (ContentDispositionHeader contentDispositionHeader) {\n this.setHeader( contentDispositionHeader);\n \n }", "String getContentDisposition();", "@Override\n public Map<String, String> getHeaders() throws AuthFailureError {\n ...
[ "0.6204145", "0.5843664", "0.57724315", "0.576777", "0.5673398", "0.5604109", "0.5295021", "0.5287984", "0.5283784", "0.52718556", "0.5267355", "0.52598536", "0.5170832", "0.515066", "0.50742346", "0.50573164", "0.50097394", "0.4894773", "0.4885394", "0.48811477", "0.48411867...
0.7184018
0
Convenience method to extract the Charset=... from a content type header. strips enclosing quotes, for example charset="utf8" and charset=utf8 both yield utf8
protected static String parseCharset(String aContentType) { if ( AeUtil.isNullOrEmpty(aContentType) ) return null; StringTokenizer outer = new StringTokenizer(aContentType, ";", false); //$NON-NLS-1$ StringTokenizer inner = null; String element = null; String charset =...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Optional<String> charset() {\n return body.contentType()\n .flatMap(\n h -> {\n String[] parts = SPLIT_CHARSET.split(h, 2);\n if (parts.length > 1) {\n String charset = parts[1];\n return Optional.of(charset.trim());\n ...
[ "0.68495625", "0.684764", "0.6826058", "0.68137664", "0.6788925", "0.64847094", "0.6444008", "0.6428893", "0.63593185", "0.62809604", "0.6175975", "0.60766435", "0.6031301", "0.59966373", "0.59722227", "0.5954671", "0.5877937", "0.58028084", "0.5771238", "0.57449967", "0.5683...
0.70109594
0
Construtor padrao da Janela. Define a fonte do visor como monospaced, cria os 4 botoes em um GridLayout, adicionando o tratadorDeMouse a eles; inicialmente, o botao de executar labirinto e desabilitado; adiciona a area de log na parte sul do BorderLayout da janela, restringindo sua edicao; adiciona uma JLabel que auxil...
public Janela() { visor.setFont(new Font("monospaced", Font.PLAIN, 12)); JPanel botoes = new JPanel(); JPanel novol = new JPanel(); //grid botoes botoes.setLayout(new GridLayout(1, 4)); //texto botoes String texto[] = {"Novo labirinto", "Abrir labirinto", "Salvar labirinto", "E...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public PanelJuego() {\r\n\t\tsetLayout(new GridLayout(3, 3, 20, 20));// Se crea una matriz 3x3 con un\r\n\t\t\t\t\t\t\t\t\t\t\t\t// espaciado tanto horizontal\r\n\t\t\t\t\t\t\t\t\t\t\t\t// como vertical.\r\n\t\tposicion = new JTextField[9];\r\n\t\tllenarPanel();\r\n\t\tsetBackground(Color.BLACK);// Se pinta el fon...
[ "0.6862804", "0.68022543", "0.6753098", "0.6673545", "0.6637148", "0.6579854", "0.6564857", "0.6460746", "0.6416894", "0.63979447", "0.6395394", "0.6360699", "0.6355244", "0.63389605", "0.63268423", "0.6309946", "0.629604", "0.6274446", "0.6264009", "0.62563014", "0.6247385",...
0.70682615
0
Abre um labirinto previamente criado a partir de um arquivo que deve ser selecionado, imprimindoo no visor. Habilita os botoes de salvar e executar labirinto, abrindo um selecionador de arquivo. Depois de selecionado pelo usuario, o conteudo do arquivo e impresso na tela e o lab e instanciado a partir dele.
private void btnAbrirLabirinto(){ botao[2].setEnabled(true); botao[3].setEnabled(true); log.setText("Log de erros"); info.setText(" "); JFileChooser arquivo = new JFileChooser(); arquivo.setCurrentDirectory(new File(System.getProperty("user.home"))); int result = arquivo.showOpenDialog(vis...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void btnSalvarLabirinto(){\n\t\t\tinfo.setText(\" \");\n botao[3].setEnabled(true);\n log.setText(\"Log de erros\");\n \n JFileChooser arquivo = new JFileChooser();\n\t\t\tarquivo.setDialogTitle(\"Salvar Arquivo\");\n int userSelection = arquivo.showSaveDialog(visor);\n\n FileWrite...
[ "0.6447047", "0.552751", "0.52150106", "0.51846343", "0.50933486", "0.5084806", "0.50732905", "0.5024617", "0.50168765", "0.5007771", "0.5000473", "0.49877328", "0.49435103", "0.49163505", "0.49128678", "0.4910142", "0.48618197", "0.48358425", "0.4828412", "0.4782984", "0.477...
0.627391
1
Permite salvar o labirinto escrito, valindandoo. Habilita o botao de execucao do labirinto, abrindo uma janela para selecionar a pasta a ser salvo o arquivo, copiando o conteudo do visor para o mesmo. Posteriormente, o lab e instanciado com esse conteudo e, caso houver alguma incongruencia com o labirinto a ser salvo, ...
private void btnSalvarLabirinto(){ info.setText(" "); botao[3].setEnabled(true); log.setText("Log de erros"); JFileChooser arquivo = new JFileChooser(); arquivo.setDialogTitle("Salvar Arquivo"); int userSelection = arquivo.showSaveDialog(visor); FileWriter salvar = null; Fil...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void salir(){\r\n\t\tif(Gestion.isModificado()){\r\n\t\t\tint opcion = JOptionPane.showOptionDialog(null, \"¿Desea guardar los cambios?\", \"Salir\", JOptionPane.YES_NO_CANCEL_OPTION, JOptionPane.QUESTION_MESSAGE, null,null, null);\r\n\t\t\tswitch(opcion){\r\n\t\t\tcase JOptionPane.YES_OPTION:\r\n\t\t\t\tg...
[ "0.61954784", "0.6070511", "0.59526414", "0.56642133", "0.5654073", "0.5592348", "0.55444235", "0.5499549", "0.5494415", "0.5448755", "0.54252344", "0.54159296", "0.5404716", "0.5389065", "0.5386918", "0.53792053", "0.53770965", "0.5370893", "0.5356226", "0.53539336", "0.5348...
0.74885076
0
Permite a execucao de um labirinto previamente salvo, informando se foi posivel encontrar a saida ou nao, exibindo o resultado no visor. O botao de salvar e bloqueado, nao permitindo salvar o labirinto resolvido. O lab que foi previamente instanciado e utilizado para chamar os metodos encontrarAdj e andadinha, que inic...
private void btnExecutarLabirinto(){ log.setText("Log de erros"); botao[2].setEnabled(false); try{ lab.encontrarAdj(); lab.andadinha(); info.setText(" "); visor.setText(lab.toString()); Pilha<Coordenada> caminho = lab.getCaminho(); Pilha<Coordenada> inv...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private boolean validaTerminalesLSSegunEmpresaLocal(int CodEmp,int CodLoc, int CodCot){\n boolean blnRes=true;\n java.sql.Statement stmLoc;\n java.sql.ResultSet rstLoc;\n java.sql.Connection conLoc;\n try{\n conLoc=DriverManager.getConnection(o...
[ "0.5413334", "0.5304227", "0.5209121", "0.51524234", "0.5148613", "0.5148613", "0.5121541", "0.51081073", "0.508293", "0.5058695", "0.5057897", "0.5027844", "0.50187194", "0.49770838", "0.49409384", "0.49402368", "0.49256942", "0.49078548", "0.49039114", "0.4901473", "0.48993...
0.58729243
0
Reimplementa o metodo actionPerformed, possibilitando executar os metodos correspondentes aos botoes selecionados. Ao clicar no botao, e verificado qual o texto correspondente que e exibido no visor, levando ao metodo que deve ser executado.
@Override public void actionPerformed(ActionEvent e) { String comando = e.getActionCommand(); if (comando == "Novo labirinto") this.btnNovoLabirinto(); else if (comando == "Abrir labirinto") this.btnAbrirLabirinto(); else if (comando == "Salvar labirinto") this.btnSa...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void actionPerformed(ActionEvent e) {\n\t\t// TODO Auto-generated method stub\n\t\tString comando = e.getActionCommand();\n\n\t\tif (comando.equals(\"addCurso\")) {\n\t\t\tinsertarCurso();\n\t\t} else if (comando.equals(\"addPeriodo\")) {\n\t\t\tcrearPeriodo();\n\t\t} else if (comando.equals(\"...
[ "0.64525104", "0.6408955", "0.6390721", "0.635776", "0.6250133", "0.62457967", "0.62207705", "0.6204593", "0.6204126", "0.6199917", "0.6197317", "0.61903", "0.6184923", "0.6180154", "0.61690867", "0.6165609", "0.6159741", "0.615972", "0.61519074", "0.61456794", "0.61346203", ...
0.67158645
0
private static FieldDAO[] fields;
public MySQLPersonDAO() throws DBConnectException { // alternativ hier Fehlerlogging + throw new DaoException // fields=new FieldDAO[9]; // fields= new FieldDAO[]{ // new FieldDAO("vorname", "Vorname", "vorname", String.class, false), // new FieldDAO("nachname", "Nachname", "nachname", String.class, false), // ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public DBField[] getFields()\n {\n // Note: this method is called frequently\n if (!this.fieldArrayReady) {\n // optimize access to field array\n synchronized (this.fieldMap) {\n if (!this.fieldArrayReady) { // test again inside lock\n this.f...
[ "0.6634263", "0.6368079", "0.62425566", "0.612297", "0.60019577", "0.5898161", "0.5798853", "0.5761995", "0.5713896", "0.5700604", "0.56943244", "0.5682266", "0.56413513", "0.5641327", "0.56041706", "0.55609125", "0.55599475", "0.5554058", "0.5540128", "0.5533762", "0.5501977...
0.0
-1
Created by Rainbow on 2014/11/18.
public interface GetPointsListener extends Listener { public void onGetPointsSucc(PointsInfo info); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "public void gored() {\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 tires() {\n\t\t\r\n\t}", "...
[ "0.6021043", "0.60017544", "0.5931357", "0.5920132", "0.5920132", "0.58412987", "0.5835909", "0.58331126", "0.58033454", "0.5797954", "0.5764726", "0.5758385", "0.5750166", "0.57246876", "0.57213914", "0.5712376", "0.5682438", "0.56712294", "0.5659546", "0.56576526", "0.56555...
0.0
-1
implicit type casting implicite type casting formula 1. byte > short > int > long > float > double 2. char > int > long > float > double
public static void main(String[] args) { char c = 'a'; System.out.println(c); byte b = 10; System.out.println(b); short s = b; System.out.println(s); int x = 'a'; System.out.println(x); long l = x; System.out.println(l); float f = l; System.out.println(f); double d = f; Sys...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void main(String[] args) {\n int a=10;\n byte b=(byte)a; //explicit casting\n System.out.println(b);\n\n double DecimalNumber=10.5;\n float FloatNumber=(float) DecimalNumber;\n System.out.println(FloatNumber);\n\n double DecimalNumber2=10.5;\n f...
[ "0.774528", "0.6765707", "0.65863967", "0.6474278", "0.6458816", "0.6433856", "0.635026", "0.6106376", "0.60460925", "0.603521", "0.6012515", "0.5980879", "0.5913652", "0.5907562", "0.5901823", "0.5876707", "0.57891333", "0.57863826", "0.577259", "0.5740372", "0.5738752", "...
0.0
-1
Construct an empty decorator over another accumulator
protected AccumulatorDecorator(Accumulator<V, R> decorated) { this.decorated = Objects.requireNonNull(decorated); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public long[] createAccumulator() {\n return new long[] {0};\n }", "@Override\n public StringBuilder createAccumulator() {\n return null;\n }", "ReduceType reduceInit();", "@Override\n public BinaryOperator<TradeAccumulator> combiner() {\n return (accum1, accum2) -...
[ "0.6046513", "0.6008752", "0.5496657", "0.53479123", "0.5292692", "0.5287632", "0.521669", "0.51364696", "0.5124478", "0.5086848", "0.50476044", "0.49981412", "0.49641374", "0.4960234", "0.49500754", "0.48381412", "0.47469893", "0.4698582", "0.4680078", "0.46758914", "0.46254...
0.6223976
0
Get the decorated accumulator.
protected Accumulator<V, R> getDecorated() { return decorated; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Measurement getAccumulation();", "@Override\n public BiConsumer<List<Integer>, Employee> accumulator() {\n return (resultList, employee) -> {\n if (resultList.isEmpty()) resultList.add(employee.getSalary());\n else {\n Integer currentTotal = resultList.get(0);\n ...
[ "0.59856665", "0.5978648", "0.59608054", "0.5927739", "0.58767533", "0.5861498", "0.55108327", "0.54129374", "0.5243591", "0.51455057", "0.5121073", "0.51005864", "0.50947285", "0.5070249", "0.4994251", "0.4981058", "0.49679703", "0.49662247", "0.49642545", "0.49318093", "0.4...
0.73101515
0
/ renamed from: com.google.android.gms.dynamic.a.a
private interface C0249a { void m352b(LifecycleDelegate lifecycleDelegate); int getState(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C0190d extends IInterface {\n\n /* renamed from: com.google.android.gms.dynamic.d$a */\n public static abstract class C0575a extends Binder implements C0190d {\n\n /* renamed from: com.google.android.gms.dynamic.d$a$a */\n private static class C0574a implements C0190d {\n ...
[ "0.6966182", "0.6905355", "0.64912343", "0.6007521", "0.5946914", "0.5923169", "0.58601224", "0.58149433", "0.58131665", "0.5761195", "0.57401663", "0.57130367", "0.5704652", "0.5636981", "0.55999035", "0.5568287", "0.5502828", "0.54919636", "0.5478875", "0.5464661", "0.54642...
0.0
-1
Setup an MServerSocket for testing.
@Before public void setUp() throws Exception { mss = new MServerSocket(LOCAL_PORT, 0, InetAddress.getByName(LOCALHOST)); System.out.println("MServerSocket created"); EchoServerThread accepterThread = new EchoServerThread(mss); accepterThread.start(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void initServerSocket()\n\t{\n\t\tboundPort = new InetSocketAddress(port);\n\t\ttry\n\t\t{\n\t\t\tserverSocket = new ServerSocket(port);\n\n\t\t\tif (serverSocket.isBound())\n\t\t\t{\n\t\t\t\tSystem.out.println(\"Server bound to data port \" + serverSocket.getLocalPort() + \" and is ready...\");\n\t\t\t}\n...
[ "0.7301637", "0.7218824", "0.70891166", "0.70839524", "0.6916302", "0.66862804", "0.66744053", "0.6532441", "0.6527286", "0.646755", "0.6421589", "0.64128435", "0.6376618", "0.6376449", "0.62874436", "0.6276567", "0.62707204", "0.6270637", "0.6139092", "0.6134119", "0.611401"...
0.7588061
0
Test a simple connection to a local IP without GNS resolution
@Test public void ipConnectionTest() { try { MSocket ms = new MSocket(InetAddress.getByName(LOCALHOST), LOCAL_PORT); InputStream is = ms.getInputStream(); OutputStream os = ms.getOutputStream(); echoTest(is, os, 54); echoTest(is, os, 45); ms.close(); } ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\r\n public void gnsConnectionTest()\r\n {\r\n try\r\n {\r\n MSocket ms = new MSocket(InetAddress.getByName(LOCALHOST), LOCAL_PORT);\r\n InputStream is = ms.getInputStream();\r\n OutputStream os = ms.getOutputStream();\r\n echoTest(is, os, 54);\r\n echoTest(is, os, 45);\r\n ...
[ "0.7491156", "0.6836329", "0.6530819", "0.64962035", "0.64613324", "0.64328074", "0.6397576", "0.63051665", "0.6158994", "0.6148263", "0.6144073", "0.61059916", "0.6097892", "0.6063352", "0.6058563", "0.60522324", "0.6025026", "0.5997287", "0.5972924", "0.5972274", "0.5965496...
0.7748679
0
Test a simple connection to a local IP without GNS resolution
@Test public void gnsConnectionTest() { try { MSocket ms = new MSocket(InetAddress.getByName(LOCALHOST), LOCAL_PORT); InputStream is = ms.getInputStream(); OutputStream os = ms.getOutputStream(); echoTest(is, os, 54); echoTest(is, os, 45); System.out.println("Cl...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\r\n public void ipConnectionTest()\r\n {\r\n try\r\n {\r\n MSocket ms = new MSocket(InetAddress.getByName(LOCALHOST), LOCAL_PORT);\r\n InputStream is = ms.getInputStream();\r\n OutputStream os = ms.getOutputStream();\r\n echoTest(is, os, 54);\r\n echoTest(is, os, 45);\r\n ...
[ "0.7748679", "0.6836329", "0.6530819", "0.64962035", "0.64613324", "0.64328074", "0.6397576", "0.63051665", "0.6158994", "0.6148263", "0.6144073", "0.61059916", "0.6097892", "0.6063352", "0.6058563", "0.60522324", "0.6025026", "0.5997287", "0.5972924", "0.5972274", "0.5965496...
0.7491156
1
System.out.println("Input files will be read from dir: "+ System.getenv("INPUTS_DIR")); String fileName = "cars.xml"; File carsFile = new File("input" + File.separator + fileName);//oggetto di tipo file,nome oggetto = chiamata al costruttore
public static void main(String[] args) { if (args.length !=0) { // get the file name String filePath = args [0]; File carsFile = new File(filePath); FileReader fileReader; try { fileReader = new FileReader(carsFile); System.out.println("Found file: "+carsFile.getAbsolutePath()); System...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void bukaXoxo(){\r\n FileInputStream xx = null;\r\n try {\r\n xx = new FileInputStream(\"xoxo.xml\");\r\n // harus diingat objek apa yang dahulu disimpan di file \r\n // program untuk membaca harus sinkron dengan program\r\n // yang dahulu digunakan untuk menyimpannya\r\...
[ "0.5898899", "0.58479875", "0.5778747", "0.5718375", "0.56947356", "0.5625917", "0.5612225", "0.55704236", "0.55547345", "0.5554477", "0.55307055", "0.5513429", "0.55124843", "0.5505926", "0.54888695", "0.54804784", "0.54740626", "0.5466103", "0.5454942", "0.54515386", "0.542...
0.52892107
43
load prepopulate data from database and configure camera around markers.
@Override public void onMapReady(GoogleMap googleMap) { firebaseLoadData(googleMap); //get user input data Intent intent = getIntent(); Double latitude = intent.getDoubleExtra("LATITUDE", 0); Double longitude = intent.getDoubleExtra("LONGITUDE", 0); String location =...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void loadData() {\n String[] animalsListRaw = loadStrings(\"data/animalList.csv\");\n //String[] animalsListRaw = loadStrings(\"data/mythical.creatures.csv\");\n String[] animalList = getList(animalsListRaw);\n SearchQuery newSearch = new SearchQuery(animalList); \n allMaps = newSearch.getMap();\n \n ...
[ "0.6471614", "0.63776994", "0.63505834", "0.634411", "0.6227262", "0.6130189", "0.61156404", "0.6081767", "0.6025516", "0.60186803", "0.5967029", "0.59167606", "0.5909689", "0.58611757", "0.58112174", "0.5790234", "0.5769646", "0.5752121", "0.57469094", "0.5743631", "0.571301...
0.0
-1
Get locality from latlon
@Override public void onMapLongClick(LatLng latLng) { String newLocation = null; Geocoder gcd = new Geocoder(getBaseContext(), Locale.getDefault()); List<Address> addresses = null; try { addresses = gcd.getFromLocation(latLn...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getLon();", "public String myLocation(double latitude, double longitude){\n String myCity = \"\";\n Geocoder geocoder = new Geocoder(getActivity(), Locale.getDefault());\n List<Address> addressList ;\n try{\n addressList = geocoder.getFromLocation(latitude,longit...
[ "0.68296903", "0.67504317", "0.66988707", "0.66988707", "0.65493786", "0.65483755", "0.65474737", "0.6528833", "0.65109783", "0.64213717", "0.6417757", "0.64083743", "0.64039075", "0.6378548", "0.6377984", "0.6377984", "0.635357", "0.63505983", "0.6304868", "0.6304713", "0.62...
0.0
-1
If FALSE, when the map should have the standard behavior (based on the android framework) When the marker is clicked, it wil focus / centralize on the specific point on the map and show the InfoWindow. IF TRUE, a new behavior needs to be specified in the source code. However, you are not required to change the behavior...
@Override public boolean onMarkerClick(Marker marker) { Log.i(LOG_MAP, "setOnMarkerClickListener"); return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public boolean onMarkerClick(Marker marker) {\n //Cuando se presiona un marker, se abre la ventana de info (default)\n marker.showInfoWindow();\n return true;\n }", "@Override\n public boolean onMarkerClick(Marker marker) {\n\n Integer markerId = markers.get(marker);\n ...
[ "0.75099814", "0.7370783", "0.7282009", "0.71623737", "0.71312726", "0.7097621", "0.70233035", "0.68100995", "0.6808826", "0.67910856", "0.6790015", "0.6783041", "0.66958755", "0.6684476", "0.6670351", "0.6655419", "0.664684", "0.660715", "0.6604268", "0.65970725", "0.6585530...
0.6426108
34
TODO Autogenerated method stub
@Override public void print(String str) { System.out.println(str); }
{ "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 run() { }
{ "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
Used for testing really all variables required (final)?
public static PhotonDoc create(long placeId, String osmType, long osmId, Map<String, String> nameMap) { return new PhotonDoc(placeId, osmType, osmId, "", "", nameMap, "", null, null, 0, 0, null, null, 0, 0); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void performSanityCheck()\n\t{\n\t\tif (variableNames != null && domainSizes != null\n\t\t\t\t&& propositionNames != null)\n\t\t{\n\t\t\tcheckStateSizes();\n\t\t\tcheckDomainSizes();\n\t\t}\n\t}", "public void testSingleVar() { assertValid(\"int a;\"); }", "private void assertAll() {\n\t\t\n\t}", "@T...
[ "0.6517706", "0.6341022", "0.6217356", "0.5994397", "0.5986369", "0.5953848", "0.5952945", "0.5926704", "0.59025294", "0.5869956", "0.5809358", "0.58005196", "0.5793785", "0.5777092", "0.57648855", "0.57558167", "0.57528394", "0.57478863", "0.5734916", "0.5730059", "0.5729787...
0.0
-1
Inflate the layout for this fragment
@Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { view = inflater.inflate(R.layout.fragment_calendar, container, false); mFirebaseAuth = FirebaseAuth.getInstance(); user = mFirebaseAuth.getCurrentUser()...
{ "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
TODO Autogenerated method stub
@Override public int getOrder() { return 1; }
{ "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