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
Checks if incoming relations with a given arc XRI exist in this context node.
public boolean containsIncomingRelations(XDI3Segment arcXri);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean containsRelations(XDI3Segment arcXri);", "public boolean containsRelation(XDI3Segment arcXri, XDI3Segment targetContextNodeXri);", "public boolean containsIncomingRelations();", "public boolean containsContextNode(XDI3SubSegment arcXri);", "public ReadOnlyIterator<Relation> getIncomingRelati...
[ "0.7892508", "0.7361911", "0.7260262", "0.7145072", "0.63830096", "0.6168331", "0.5998213", "0.589095", "0.58516985", "0.5818875", "0.57990944", "0.57906926", "0.57643664", "0.5742053", "0.5736783", "0.5514904", "0.5494981", "0.5487596", "0.54252887", "0.5416638", "0.54072994...
0.8313619
0
Checks if this context node has one or more incoming relations.
public boolean containsIncomingRelations();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean isSetFurtherRelations();", "private boolean getRelationsValid()\n {\n \n return __relationsValid;\n }", "boolean hasRelation();", "public boolean containsRelations();", "public boolean hasRelationships() {\n if (properties == null) {\n return false;\n }\...
[ "0.66272646", "0.6465166", "0.6425334", "0.6419096", "0.5849872", "0.57691133", "0.569737", "0.56899154", "0.5688501", "0.56334484", "0.5609328", "0.555192", "0.5521681", "0.5474895", "0.5464224", "0.54572505", "0.54311514", "0.54114354", "0.5394118", "0.5394118", "0.53587407...
0.7866758
0
Deletes the relation with a given arc XRI from this context node.
public void delRelation(XDI3Segment arcXri, XDI3Segment targetContextNodeXri);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void delRelations(XDI3Segment arcXri);", "public void delContextNode(XDI3SubSegment arcXri);", "void removeRelation(IViewRelation relation);", "public Relation getDeepRelation(XDI3Segment contextNodeXri, XDI3Segment arcXri);", "public Relation getRelation(XDI3Segment arcXri);", "public void delRel...
[ "0.78608036", "0.732733", "0.61012554", "0.6089695", "0.60252714", "0.5997278", "0.5891447", "0.58840775", "0.58655995", "0.5829498", "0.57945526", "0.5766629", "0.575908", "0.56455266", "0.5569154", "0.553672", "0.5455667", "0.53479356", "0.5335346", "0.5327268", "0.5309573"...
0.80090976
0
Deletes the relation with a given arc XRI from this context node.
public void delRelations(XDI3Segment arcXri);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void delRelation(XDI3Segment arcXri, XDI3Segment targetContextNodeXri);", "public void delContextNode(XDI3SubSegment arcXri);", "void removeRelation(IViewRelation relation);", "public Relation getDeepRelation(XDI3Segment contextNodeXri, XDI3Segment arcXri);", "public Relation getRelation(XDI3Segment...
[ "0.80090976", "0.732733", "0.61012554", "0.6089695", "0.60252714", "0.5997278", "0.5891447", "0.58840775", "0.58655995", "0.5829498", "0.57945526", "0.5766629", "0.575908", "0.56455266", "0.5569154", "0.553672", "0.5455667", "0.53479356", "0.5335346", "0.5327268", "0.5309573"...
0.78608036
1
Deletes all relations from this context node.
public void delRelations();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void deleteAllRelatedContext(String contextMetaDataId);", "public void delIncomingRelations();", "public void delContextNodes();", "void unsetFurtherRelations();", "private void deleteConnections() {\n for (int i = 0; !this.sourceConnections.isEmpty(); ) {\n LinkElement wire = (LinkElemen...
[ "0.6740234", "0.6701871", "0.6521005", "0.641742", "0.6150043", "0.6027688", "0.59885746", "0.5941361", "0.5919559", "0.59184545", "0.58694446", "0.5844481", "0.5831304", "0.5793803", "0.57935274", "0.5790772", "0.5716021", "0.57056665", "0.56964386", "0.56662005", "0.5666200...
0.6784138
0
Deletes the incoming relations of this context node.
public void delIncomingRelations();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void delRelations();", "public void delContextNodes();", "void unsetFurtherRelations();", "void deleteAllRelatedContext(String contextMetaDataId);", "private void deleteConnections() {\n for (int i = 0; !this.sourceConnections.isEmpty(); ) {\n LinkElement wire = (LinkElement) this....
[ "0.67689997", "0.6554389", "0.64754915", "0.6280351", "0.6260766", "0.5924835", "0.57367605", "0.56541324", "0.5607448", "0.5601047", "0.5598439", "0.55487126", "0.54725444", "0.5457279", "0.53442204", "0.5334809", "0.53088856", "0.52663195", "0.5233808", "0.5193253", "0.5166...
0.78378457
0
Returns the number of relations of this context node.
public long getRelationCount(XDI3Segment arcXri);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getRelationsCount() {\n return relationsCount;\n }", "public long getRelationCount();", "public long getAllRelationCount();", "public long getContextNodeCount();", "public long getAllContextNodeCount();", "public int nodesCount() {\n return nodes.size();\n }", "@Override\...
[ "0.8237291", "0.8036087", "0.75942594", "0.71935517", "0.6840333", "0.67313325", "0.6709952", "0.67082417", "0.6552434", "0.6514986", "0.6514986", "0.65121424", "0.64883846", "0.6433495", "0.63927394", "0.6371386", "0.6370786", "0.6368249", "0.6352073", "0.63518584", "0.63486...
0.607553
67
Returns the number of relations of this context node.
public long getRelationCount();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getRelationsCount() {\n return relationsCount;\n }", "public long getAllRelationCount();", "public long getContextNodeCount();", "public long getAllContextNodeCount();", "public int nodesCount() {\n return nodes.size();\n }", "@Override\n\tpublic int getNodeRelationNum() {\...
[ "0.8237291", "0.75942594", "0.71935517", "0.6840333", "0.67313325", "0.6709952", "0.67082417", "0.6552434", "0.6514986", "0.6514986", "0.65121424", "0.64883846", "0.6433495", "0.63927394", "0.6371386", "0.6370786", "0.6368249", "0.6352073", "0.63518584", "0.63486415", "0.6328...
0.8036087
1
Returns the number of all relations of this context node.
public long getAllRelationCount();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getRelationsCount() {\n return relationsCount;\n }", "public long getRelationCount();", "public long getAllContextNodeCount();", "public long getContextNodeCount();", "public int nodesCount() {\n return nodes.size();\n }", "public int getNodeCount() {\n return node_.si...
[ "0.8027783", "0.79892945", "0.7226787", "0.7067723", "0.64783996", "0.641528", "0.6369943", "0.6306568", "0.62957716", "0.6269466", "0.62559414", "0.6244688", "0.62243056", "0.62069947", "0.62008256", "0.6185467", "0.61774254", "0.61715025", "0.61715025", "0.6170317", "0.6159...
0.8087671
0
/ Methods related to literals of this context node Creates a new literal and adds it to this context node, or returns an existing literal.
public Literal setLiteral(Object literalData);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Literal createLiteral();", "Literal createLiteral();", "Rule Literal() {\n // Push 1 LiteralNode onto the value stack\n return Sequence(\n FirstOf(\n SingleQuotedLiteral(),\n DoubleQuotedLiteral()),\n actions.pushLiteralN...
[ "0.7620388", "0.7620388", "0.71436054", "0.68565845", "0.68565845", "0.68364805", "0.67342526", "0.6633973", "0.6605016", "0.6547948", "0.6506737", "0.64343655", "0.6320486", "0.6320016", "0.6309499", "0.6309499", "0.6270169", "0.62504345", "0.6234691", "0.6217066", "0.620610...
0.6566414
9
Creates a new literal and adds it to this context node, or returns an existing literal.
public Literal setLiteralString(String literalData);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Literal createLiteral();", "Literal createLiteral();", "public synchronized Literal createLiteral(String str) {\n\n // check whether we have it in the registry\n Literal r = (Literal)lmap.get(str);\n if(r == null) {\n r = new LiteralImpl(/*getUnusedNodeID(),*/ str);\n lmap.put(str, r);\n ...
[ "0.7280011", "0.7280011", "0.6801992", "0.6597194", "0.64570284", "0.6305418", "0.6262116", "0.6262116", "0.62204325", "0.6133999", "0.61082745", "0.60980034", "0.6059029", "0.60288405", "0.59883124", "0.5982587", "0.597742", "0.5884399", "0.58263284", "0.5798411", "0.5752419...
0.614907
9
Creates a new literal and adds it to this context node, or returns an existing literal.
public Literal setLiteralNumber(Double literalData);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Literal createLiteral();", "Literal createLiteral();", "public synchronized Literal createLiteral(String str) {\n\n // check whether we have it in the registry\n Literal r = (Literal)lmap.get(str);\n if(r == null) {\n r = new LiteralImpl(/*getUnusedNodeID(),*/ str);\n lmap.put(str, r);\n ...
[ "0.7280011", "0.7280011", "0.6801992", "0.6597194", "0.64570284", "0.6305418", "0.6262116", "0.6262116", "0.62204325", "0.614907", "0.6133999", "0.61082745", "0.60980034", "0.6059029", "0.60288405", "0.59883124", "0.5982587", "0.597742", "0.5884399", "0.58263284", "0.5798411"...
0.0
-1
Creates a new literal and adds it to this context node, or returns an existing literal.
public Literal setLiteralBoolean(Boolean literalData);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Literal createLiteral();", "Literal createLiteral();", "public synchronized Literal createLiteral(String str) {\n\n // check whether we have it in the registry\n Literal r = (Literal)lmap.get(str);\n if(r == null) {\n r = new LiteralImpl(/*getUnusedNodeID(),*/ str);\n lmap.put(str, r);\n ...
[ "0.7280011", "0.7280011", "0.6801992", "0.6597194", "0.64570284", "0.6305418", "0.6262116", "0.6262116", "0.62204325", "0.614907", "0.6133999", "0.61082745", "0.60980034", "0.6059029", "0.60288405", "0.59883124", "0.5982587", "0.597742", "0.5884399", "0.58263284", "0.5798411"...
0.0
-1
Deep version of ContextNode.setLiteral(Object), operates at a context node further down in the graph.
public Literal setDeepLiteral(XDI3Segment contextNodeXri, Object literalData);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Literal setDeepLiteralString(XDI3Segment contextNodeXri, String literalData);", "public Literal setLiteral(Object literalData);", "public Literal setDeepLiteralNumber(XDI3Segment contextNodeXri, Double literalData);", "public Literal setDeepLiteralBoolean(XDI3Segment contextNodeXri, Boolean literalDat...
[ "0.75826335", "0.6990548", "0.6693421", "0.6623419", "0.6434933", "0.6284504", "0.6153213", "0.59874636", "0.58849466", "0.5880858", "0.587348", "0.58632874", "0.58520913", "0.56813455", "0.5663752", "0.552343", "0.54306847", "0.53507495", "0.53157705", "0.5289095", "0.523594...
0.82289684
0
Deep version of ContextNode.setLiteralString(String), operates at a context node further down in the graph.
public Literal setDeepLiteralString(XDI3Segment contextNodeXri, String literalData);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Literal setDeepLiteral(XDI3Segment contextNodeXri, Object literalData);", "public Literal setLiteralString(String literalData);", "public Literal getDeepLiteralString(XDI3Segment contextNodeXri, String literalData);", "public Literal setDeepLiteralBoolean(XDI3Segment contextNodeXri, Boolean literalDat...
[ "0.7351532", "0.70076615", "0.6209621", "0.58913743", "0.58625335", "0.57971305", "0.57041067", "0.5666057", "0.55056375", "0.5481278", "0.53687507", "0.53618926", "0.53239363", "0.53201216", "0.5317806", "0.5307949", "0.52669996", "0.5255779", "0.52514887", "0.5238457", "0.5...
0.81236976
0
Deep version of ContextNode.setLiteralNumber(Double), operates at a context node further down in the graph.
public Literal setDeepLiteralNumber(XDI3Segment contextNodeXri, Double literalData);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Literal setLiteralNumber(Double literalData);", "public Literal getDeepLiteralNumber(XDI3Segment contextNodeXri, Double literalData);", "@Override\n\tpublic void visit(DoubleLiteral n) {\n\t\t\n\t}", "public Literal setDeepLiteral(XDI3Segment contextNodeXri, Object literalData);", "public Literal ge...
[ "0.74295926", "0.6672654", "0.614584", "0.60395", "0.6027359", "0.5691256", "0.5635927", "0.5439125", "0.53249955", "0.53053933", "0.52834016", "0.52652764", "0.5252583", "0.52354336", "0.5147637", "0.507635", "0.50609785", "0.5049388", "0.50467557", "0.5030401", "0.50101024"...
0.8093292
0
Deep version of ContextNode.setLiteralBoolean(Boolean), operates at a context node further down in the graph.
public Literal setDeepLiteralBoolean(XDI3Segment contextNodeXri, Boolean literalData);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Literal setLiteralBoolean(Boolean literalData);", "public Literal getDeepLiteralBoolean(XDI3Segment contextNodeXri, Boolean literalData);", "BooleanLiteralExp createBooleanLiteralExp();", "public void setValue(Boolean newLiteralValue) {\n\t\tsuper.setLiteralValue(newLiteralValue);\n\t}", "public voi...
[ "0.72866714", "0.7033933", "0.64551437", "0.6405174", "0.63468194", "0.6342284", "0.62699133", "0.6208066", "0.6103224", "0.60298216", "0.59870833", "0.59261906", "0.59173167", "0.5884902", "0.5872404", "0.5842286", "0.58112824", "0.58008796", "0.57587594", "0.5737098", "0.57...
0.8110656
0
Returns the literal of this context node.
public Literal getLiteral(Object literalData);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Literal getLiteral();", "public Literal getLiteral();", "String getLiteral();", "String getLiteral();", "@Override\n\tpublic Literal getLiteral() {\n\t\treturn heldObj.getLiteral();\n\t}", "@Override\n public String toString()\n {\n return literal;\n }", "@Override\n public String toStrin...
[ "0.7708065", "0.7708065", "0.76402664", "0.76402664", "0.72250056", "0.70973915", "0.70973915", "0.70973915", "0.70973915", "0.7054911", "0.7054911", "0.7054911", "0.7054911", "0.7054911", "0.7054911", "0.70431715", "0.7030316", "0.7030316", "0.7030316", "0.7030316", "0.70303...
0.66503763
53
Returns the literal of this context node.
public Literal getLiteralString(String literalData);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Literal getLiteral();", "public Literal getLiteral();", "String getLiteral();", "String getLiteral();", "@Override\n\tpublic Literal getLiteral() {\n\t\treturn heldObj.getLiteral();\n\t}", "@Override\n public String toString()\n {\n return literal;\n }", "@Override\n public String toStrin...
[ "0.7708065", "0.7708065", "0.76402664", "0.76402664", "0.72250056", "0.70973915", "0.70973915", "0.70973915", "0.70973915", "0.7054911", "0.7054911", "0.7054911", "0.7054911", "0.7054911", "0.7054911", "0.70431715", "0.7030316", "0.7030316", "0.7030316", "0.7030316", "0.70303...
0.6802397
46
Returns the literal of this context node.
public Literal getLiteralNumber(Double literalData);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Literal getLiteral();", "public Literal getLiteral();", "String getLiteral();", "String getLiteral();", "@Override\n\tpublic Literal getLiteral() {\n\t\treturn heldObj.getLiteral();\n\t}", "@Override\n public String toString()\n {\n return literal;\n }", "@Override\n public String toStrin...
[ "0.7708065", "0.7708065", "0.76402664", "0.76402664", "0.72250056", "0.70973915", "0.70973915", "0.70973915", "0.70973915", "0.7054911", "0.7054911", "0.7054911", "0.7054911", "0.7054911", "0.7054911", "0.70431715", "0.7030316", "0.7030316", "0.7030316", "0.7030316", "0.70303...
0.0
-1
Returns the literal of this context node.
public Literal getLiteralBoolean(Boolean literalData);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Literal getLiteral();", "public Literal getLiteral();", "String getLiteral();", "String getLiteral();", "@Override\n\tpublic Literal getLiteral() {\n\t\treturn heldObj.getLiteral();\n\t}", "@Override\n public String toString()\n {\n return literal;\n }", "@Override\n public String toStrin...
[ "0.7708065", "0.7708065", "0.76402664", "0.76402664", "0.72250056", "0.70973915", "0.70973915", "0.70973915", "0.70973915", "0.7054911", "0.7054911", "0.7054911", "0.7054911", "0.7054911", "0.7054911", "0.70431715", "0.7030316", "0.7030316", "0.7030316", "0.7030316", "0.70303...
0.5535293
81
Deep version of ContextNode.getLiteral(Object), operates at a context node further down in the graph.
public Literal getDeepLiteral(XDI3Segment contextNodeXri, Object literalData);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Literal getDeepLiteral(XDI3Segment contextNodeXri);", "public Literal getDeepLiteralString(XDI3Segment contextNodeXri, String literalData);", "public Literal setDeepLiteral(XDI3Segment contextNodeXri, Object literalData);", "public Literal getLiteral(Object literalData);", "public Literal setDeepLit...
[ "0.82345796", "0.773923", "0.707451", "0.6837835", "0.6762278", "0.6621265", "0.6621265", "0.6579365", "0.6338521", "0.6338521", "0.62001204", "0.6102201", "0.60684717", "0.59066385", "0.56904006", "0.5629714", "0.5555782", "0.5504732", "0.5504732", "0.55021983", "0.5498036",...
0.82080454
1
Deep version of ContextNode.getLiteralString(String), operates at a context node further down in the graph.
public Literal getDeepLiteralString(XDI3Segment contextNodeXri, String literalData);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Literal getDeepLiteral(XDI3Segment contextNodeXri);", "public Literal setDeepLiteralString(XDI3Segment contextNodeXri, String literalData);", "public Literal getDeepLiteral(XDI3Segment contextNodeXri, Object literalData);", "public Literal getLiteralString(String literalData);", "String getLiteral()...
[ "0.74312735", "0.7176124", "0.71084815", "0.6773337", "0.6649573", "0.6649573", "0.61695826", "0.5799019", "0.5799019", "0.5787025", "0.5590231", "0.554382", "0.5517649", "0.5478091", "0.5434575", "0.542318", "0.540982", "0.53976625", "0.53776103", "0.53331363", "0.53075385",...
0.8066527
0
Deep version of ContextNode.getLiteraNumber(Double), operates at a context node further down in the graph.
public Literal getDeepLiteralNumber(XDI3Segment contextNodeXri, Double literalData);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getLnt() {\n return lnt;\n }", "public Literal setDeepLiteralNumber(XDI3Segment contextNodeXri, Double literalData);", "public double getL() {\n return l;\n }", "float getLte();", "Integer getNLNDreu();", "public long getNumerator();", "public Literal getLiteralNumber(...
[ "0.5483985", "0.548255", "0.5438622", "0.5362996", "0.5333524", "0.52735806", "0.52690846", "0.51676", "0.51474047", "0.51358336", "0.5128503", "0.5097069", "0.5084193", "0.49887058", "0.49697548", "0.49499223", "0.4945345", "0.49294403", "0.49037355", "0.48946154", "0.489461...
0.64307666
0
Deep version of ContextNode.getLiteralBoolean(Boolean), operates at a context node further down in the graph.
public Literal getDeepLiteralBoolean(XDI3Segment contextNodeXri, Boolean literalData);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Literal setDeepLiteralBoolean(XDI3Segment contextNodeXri, Boolean literalData);", "public Literal getLiteralBoolean(Boolean literalData);", "BooleanLiteralExp createBooleanLiteralExp();", "@Override\n\tpublic String visitBoolExpr(BoolExprContext ctx) {\n\t\tint childrenNo=ctx.children.size();\n\t\tif ...
[ "0.72486275", "0.7174703", "0.6468631", "0.63147396", "0.6275575", "0.62654847", "0.6246388", "0.61388046", "0.61192286", "0.61129713", "0.6056932", "0.6028783", "0.5968083", "0.5968083", "0.5956478", "0.5859994", "0.585331", "0.585331", "0.58526546", "0.5842012", "0.5825403"...
0.8085687
0
Returns the literal of this context node.
public Literal getLiteral();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getLiteral();", "String getLiteral();", "@Override\n\tpublic Literal getLiteral() {\n\t\treturn heldObj.getLiteral();\n\t}", "@Override\n public String toString()\n {\n return literal;\n }", "@Override\n public String toString()\n {\n return literal;\n }", "@Override\n public String t...
[ "0.76402664", "0.76402664", "0.72250056", "0.70973915", "0.70973915", "0.70973915", "0.70973915", "0.7054911", "0.7054911", "0.7054911", "0.7054911", "0.7054911", "0.7054911", "0.70431715", "0.7030316", "0.7030316", "0.7030316", "0.7030316", "0.7030316", "0.7030316", "0.70303...
0.7708065
1
Deep version of ContextNode.getLiteral(), operates at a context node further down in the graph.
public Literal getDeepLiteral(XDI3Segment contextNodeXri);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Literal getDeepLiteral(XDI3Segment contextNodeXri, Object literalData);", "public Literal getDeepLiteralString(XDI3Segment contextNodeXri, String literalData);", "public Literal setDeepLiteral(XDI3Segment contextNodeXri, Object literalData);", "public Literal setDeepLiteralString(XDI3Segment contextNo...
[ "0.81445843", "0.78251714", "0.72549075", "0.7025501", "0.68022346", "0.68022346", "0.66136813", "0.6592453", "0.6519185", "0.6519185", "0.6331171", "0.61927813", "0.6158533", "0.6094315", "0.5876042", "0.5876042", "0.5859102", "0.57922345", "0.5664286", "0.5642799", "0.55818...
0.82573867
0
Returns all literals of this context node.
public ReadOnlyIterator<Literal> getAllLiterals();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static List<String> literals() {\n return literals;\n }", "public static java.util.Collection literals()\n {\n final java.util.Collection<String> literals = new java.util.ArrayList<String>(values().length);\n for (int i = 0; i < values().length; i++)\n {\n lite...
[ "0.80052817", "0.72360045", "0.67832404", "0.6445866", "0.6426803", "0.6426803", "0.61573386", "0.6076669", "0.6058633", "0.6058633", "0.6058633", "0.6058633", "0.6058633", "0.6058633", "0.60414994", "0.60414994", "0.60414994", "0.60414994", "0.60414994", "0.60414994", "0.604...
0.76965857
1
Checks if this context node has a literal with the given data.
public boolean containsLiteral(Object literalData);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean containsLiteralString(String literalData);", "public boolean containsLiteral();", "@Override\n\tpublic boolean hasLiteral() {\n\t\treturn heldObj.hasLiteral();\n\t}", "public final boolean hasLiteralValue ()\r\n {\r\n return _value.isLiteral();\r\n }", "public boolean isLiteral()\...
[ "0.771378", "0.7198654", "0.70760536", "0.6790972", "0.67071444", "0.6402308", "0.63939613", "0.62828475", "0.6234028", "0.6229122", "0.61168545", "0.60340434", "0.6004724", "0.59919745", "0.59638906", "0.59598017", "0.5957673", "0.5948584", "0.59459686", "0.5934854", "0.5839...
0.82117414
0
Checks if this context node has a literal with the given data.
public boolean containsLiteralString(String literalData);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean containsLiteral(Object literalData);", "public boolean containsLiteral();", "@Override\n\tpublic boolean hasLiteral() {\n\t\treturn heldObj.hasLiteral();\n\t}", "public final boolean hasLiteralValue ()\r\n {\r\n return _value.isLiteral();\r\n }", "public boolean isLiteral()\n {...
[ "0.8212482", "0.71998304", "0.70774347", "0.67934024", "0.67096525", "0.64050883", "0.6394083", "0.6282472", "0.62352365", "0.6231275", "0.6117694", "0.6035325", "0.6006685", "0.59932613", "0.596524", "0.5960145", "0.5958227", "0.59505165", "0.5947986", "0.5936868", "0.584039...
0.7714249
1
Checks if this context node has a literal with the given data.
public boolean containsLiteralNumber(Double literalData);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean containsLiteral(Object literalData);", "public boolean containsLiteralString(String literalData);", "public boolean containsLiteral();", "@Override\n\tpublic boolean hasLiteral() {\n\t\treturn heldObj.hasLiteral();\n\t}", "public final boolean hasLiteralValue ()\r\n {\r\n return _val...
[ "0.82117414", "0.771378", "0.7198654", "0.70760536", "0.6790972", "0.67071444", "0.6402308", "0.63939613", "0.62828475", "0.6229122", "0.61168545", "0.60340434", "0.6004724", "0.59919745", "0.59638906", "0.59598017", "0.5957673", "0.5948584", "0.59459686", "0.5934854", "0.583...
0.6234028
9
Checks if this context node has a literal with the given data.
public boolean containsLiteralBoolean(Boolean literalData);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean containsLiteral(Object literalData);", "public boolean containsLiteralString(String literalData);", "public boolean containsLiteral();", "@Override\n\tpublic boolean hasLiteral() {\n\t\treturn heldObj.hasLiteral();\n\t}", "public final boolean hasLiteralValue ()\r\n {\r\n return _val...
[ "0.82117414", "0.771378", "0.7198654", "0.70760536", "0.6790972", "0.67071444", "0.6402308", "0.63939613", "0.6234028", "0.6229122", "0.61168545", "0.60340434", "0.6004724", "0.59919745", "0.59638906", "0.59598017", "0.5957673", "0.5948584", "0.59459686", "0.5934854", "0.5839...
0.62828475
8
Checks if this context node has a literal.
public boolean containsLiteral();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic boolean hasLiteral() {\n\t\treturn heldObj.hasLiteral();\n\t}", "public boolean isLiteral()\n {\n return this.literal;\n }", "public final boolean hasLiteralValue ()\r\n {\r\n return _value.isLiteral();\r\n }", "public boolean isLiteral() {\n return false;\n...
[ "0.78364426", "0.77650744", "0.7686514", "0.7479363", "0.7205838", "0.6826435", "0.6636163", "0.66064715", "0.65652823", "0.6556751", "0.6493177", "0.648682", "0.63859206", "0.63347524", "0.63106", "0.63101095", "0.6264129", "0.6247226", "0.6213125", "0.61923516", "0.6144807"...
0.7682632
3
Deletes the literal from this context node.
public void delLiteral();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void removeStatement(Resource subject, URI predicate, String literal,\r\n\t\t\tURI datatypeURI) throws ModelRuntimeException;", "void removeStatement(Resource subject, URI predicate, String literal,\r\n\t\t\tString languageTag) throws ModelRuntimeException;", "void removeStatement(String subjectURIString, URI ...
[ "0.65074056", "0.6408707", "0.62732625", "0.62641823", "0.57756966", "0.57161736", "0.5633428", "0.56325495", "0.5379106", "0.5262813", "0.52511185", "0.52289", "0.5222745", "0.51370317", "0.5131258", "0.5095713", "0.50636286", "0.504238", "0.50291914", "0.49966732", "0.49887...
0.7952671
0
Returns the number of all literals of this context node.
public long getAllLiteralCount();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public long getAllContextNodeCount();", "public long getContextNodeCount();", "private int numberOfConstants() {\n return (int) Stream.of(this.template.split(\"\\\\.\"))\n .filter(s -> !s.equals(\"*\")).count();\n }", "public static List<String> literals() {\n return l...
[ "0.62408644", "0.6053397", "0.592649", "0.5906338", "0.5851868", "0.5778379", "0.57697034", "0.5708682", "0.56993425", "0.5607873", "0.56025803", "0.5596815", "0.5576516", "0.5500206", "0.5488639", "0.54880583", "0.5486543", "0.5439475", "0.54317874", "0.5396973", "0.5389277"...
0.84914726
0
/ Methods related to statements Gets the statement that represents this context node.
public ContextNodeStatement getStatement();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getStatement()\n {\n return _statement;\n }", "public String getStatement() {\r\n\t\treturn statement;\r\n\t}", "public String getStatement();", "public String getStatement(){\n return this.statement;\n }", "public Stmt getStmt() {\n return this.stmt;\n }", "private...
[ "0.73633385", "0.73225033", "0.72156596", "0.7187794", "0.6687081", "0.6570015", "0.65202284", "0.65202284", "0.65202284", "0.65074176", "0.65074176", "0.65074176", "0.63880473", "0.62890947", "0.6278235", "0.62619525", "0.62519616", "0.6198375", "0.6161214", "0.6150409", "0....
0.8580231
0
Gets all statements rooted in this context node.
public ReadOnlyIterator<Statement> getAllStatements();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<Statement> getStatements() {\n\t\treturn new ArrayList<Statement>(statements);\n\t}", "public ContextNodeStatement getStatement();", "public List<Stmt> getStmts() {\n return getStmtList();\n }", "@Override\r\n public List<Node> getChildren() {\r\n List<Node> children = new Arr...
[ "0.70309705", "0.6753051", "0.6553843", "0.61162835", "0.60447735", "0.5860317", "0.5839562", "0.5827541", "0.5817343", "0.5746009", "0.57400775", "0.5675015", "0.56490844", "0.56303245", "0.5576081", "0.5541934", "0.54425347", "0.54186964", "0.5380282", "0.5289066", "0.52543...
0.66694945
2
Returns the number of all statements rooted in this context node.
public long getAllStatementCount();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getStatementCount() {\n return this.statementCount;\n }", "public long getAllContextNodeCount();", "private int getStatementCount(OntModel ontModel) {\n int count = 0;\n for (Iterator it = ontModel.listStatements(); it.hasNext(); it.next()) {\n count++;\n ...
[ "0.6983328", "0.67985165", "0.67648906", "0.6706925", "0.66862774", "0.66577613", "0.6335719", "0.623858", "0.6133661", "0.60468185", "0.60345703", "0.6014095", "0.6014095", "0.5995226", "0.5963352", "0.5963352", "0.596058", "0.5948851", "0.5948851", "0.5939463", "0.59229416"...
0.73882735
0
ehrd > ecampus ??? ???..
public static String encodeAscii(String in, String key) { String m = "", ts = ""; String result = ""; int tmp; for (int i = 0; i < in.length(); i++) { tmp = (int) (in.charAt(i) + key .charAt((key.length() % (i + 1) == 0) ? 0 ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getEACCode();", "void emi(){\n\t\tSystem.out.println(\"This is HomeLoan EMi\");\n\t}", "public String getActiveOutput()\n\t{\n\t\treturn \"hdb\";\n\t}", "@Override\n\tpublic String gettenMonHoc() {\n\t\treturn \"Lâp trình front-end\";\n\t}", "@Override\n public String getToolDescription() {\n ...
[ "0.54173577", "0.5345571", "0.53254", "0.53034985", "0.5260292", "0.52500516", "0.5224998", "0.5196221", "0.5175621", "0.5145978", "0.5091851", "0.50631493", "0.5037795", "0.50340366", "0.5025039", "0.5013713", "0.5012287", "0.49841422", "0.4964755", "0.4958332", "0.4952992",...
0.0
-1
ecampus > ehrd ??? ???..
public static String decodeAscii(String in, String key) { String ts = "", result = "", m = ""; char tmp = 0; for (int i = 0; i < in.length(); i += 3) { ts = in.substring(i, i + 3); tmp = (char) (Integer.parseInt(ts) - 288 - (i / 3)); m += String.valu...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static double hpToEz(double hp) {\n return 1.015 + Math.cos(Math.toRadians(89.038 + hp));\n }", "int getEvd();", "public String getDPHeft(){\n\t\treturn this.m_sDPHeft;\n\t}", "long getTimeBoltHBoltE();", "bdm mo1784a(akh akh);", "public String elegir();", "double kalkuliereZeit();", ...
[ "0.5725963", "0.5570672", "0.5568251", "0.5385161", "0.5370696", "0.5362597", "0.5361831", "0.53129286", "0.5292672", "0.525853", "0.52199453", "0.5210583", "0.51822096", "0.51740134", "0.51630634", "0.5149741", "0.5135041", "0.5112076", "0.510657", "0.51006895", "0.5096111",...
0.0
-1
ArrayList registro = new ArrayList();
public ArrayList consultaID(){ ArrayList<Object> iduser = new ArrayList<Object>(); sSQL = "SELECT usuario.idusuario from usuario where usuario.idtipo_user='3'"; try { Statement st = cn.createStatement(); ResultSet rs = st.executeQuery(sSQL); while (rs.next(...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ArrayList<DataRestaurante> listarRestaurantes();", "public ArrayList<Libro> recuperaTodos();", "List<Vehiculo>listar();", "public List listar() {\n ArrayList<Empleado> lista = new ArrayList<>();\r\n String sql = \"SELECT * FROM empleado\";\r\n \r\n try {\r\n con = cn.getConexion();\r\...
[ "0.70292926", "0.6927427", "0.69139725", "0.6867404", "0.6866522", "0.68589705", "0.6795704", "0.67852134", "0.6769258", "0.67657816", "0.6717419", "0.6710876", "0.670784", "0.66297704", "0.6624517", "0.66199243", "0.6612457", "0.6601901", "0.6594047", "0.6593827", "0.6556342...
0.6411551
32
Load a document into a repository.
public void load() throws SparqlException { load(getLoadFilePath()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "SingleDocumentModel loadDocument(Path path);", "void process(Document document, Repository repository) throws Exception;", "public static Document loadDocument( String path ) {\n\t\treturn loadDocument(path, true);\n\t}", "Document getDocument(Long documentID) throws EntityNotFoundException;", "IDocument g...
[ "0.74071574", "0.6474036", "0.62835115", "0.60254383", "0.5979142", "0.58878076", "0.5785575", "0.5671702", "0.5660928", "0.56228673", "0.5554363", "0.5537678", "0.5471873", "0.5465076", "0.54404825", "0.5403599", "0.54016113", "0.5384646", "0.5369164", "0.5348653", "0.529691...
0.0
-1
TODO Autogenerated method stub
private String getBaseUri() { return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
Provisionally autocreates an account in the given accounts ledger for the triggering balance change. Returns the amount deducted from the balance change as an autocreation charge; or a failure code. IMPORTANT: If this change was to be part of a zerosum balance change list, then after those changes are applied atomicall...
public Pair<ResponseCodeEnum, Long> create( final BalanceChange change, final Timestamp timestamp, final Store store, final EntityAddressSequencer ids, final MirrorEvmContractAliases mirrorEvmContractAliases) { if (change.isForToken() && !evmProperties...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void apply(Map<Integer, Account> accounts) {\n Account account = accounts.get(accountNumber);\n if (account == null) {\n throw new ViolatedConstraintException(\n \"Tried to withdraw from non-existent account \" + accountNumber\n );\n }\n\n // Make sure the account i...
[ "0.59237176", "0.5888456", "0.57925135", "0.57232225", "0.5544353", "0.55064034", "0.5438155", "0.54208636", "0.5418375", "0.5378756", "0.5361989", "0.535326", "0.5343717", "0.53334314", "0.53166956", "0.53000957", "0.5292374", "0.52884114", "0.5286058", "0.5270393", "0.52684...
0.0
-1
an AccountID is already accounted for in the fee estimator, so we just need to pass a stub ECDSA key in the synthetic crypto update body
private long getLazyCreationFinalizationFee( final Store store, Timestamp timestamp, final MirrorEvmContractAliases mirrorEvmContractAliases) { final var updateTxnBody = CryptoUpdateTransactionBody.newBuilder().setKey(Key.newBuilder().setECDSASecp256K1(ByteString.EMPTY)); ret...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "OpenSSLKey mo134201a();", "com.icare.eai.schema.om.evSORequest.EvSORequestDocument.EvSORequest.Key addNewKey();", "public static void main(String[] args) throws IcbcApiException {\n\t\tUiIcbcClient client = new UiIcbcClient(APP_ID,IcbcConstants.SIGN_TYPE_RSA,\n\t\t\t\t\"MIICdwIBADANBgkqhkiG9w0BAQEFAASCAmEwggJd...
[ "0.5571418", "0.55115765", "0.5426299", "0.5410751", "0.5409245", "0.5361034", "0.53551924", "0.53390795", "0.53185546", "0.5287236", "0.5267397", "0.5263618", "0.5259591", "0.5253772", "0.519056", "0.5136772", "0.51186275", "0.5089686", "0.5062899", "0.50473267", "0.5032327"...
0.0
-1
Get the total number of successfully classified vectors.
public static int getSuccessNumber(ClassificationLogger logger) { int classifiedTrue = 0; for(LogEntry entry: logger.getData()) { if(entry.result.equals(entry.target)) { classifiedTrue++; } } return classifiedTrue; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public double getNumberOfCorrectlyClassified() {\n\t\treturn numberOfTruePositives + numberOfTrueNegatives;\n\t}", "public double getNumberOfIncorrectClassified() {\n\t\treturn numberOfFalsePositives + numberOfFalseNegatives;\n\t}", "public int getTotalInfected() {\n\t\treturn _nTotalInfected;\n\t}", "privat...
[ "0.7197923", "0.6957535", "0.6678728", "0.6640911", "0.6630001", "0.6630001", "0.6613039", "0.64427006", "0.6435996", "0.6392451", "0.63192654", "0.6311362", "0.63037455", "0.630149", "0.6288709", "0.62671274", "0.62418467", "0.62035304", "0.6170399", "0.61682034", "0.6162430...
0.0
-1
Get the success rate neglecting coclass errors.
public static double getSuccessRate(ClassificationLogger logger) { return (double)getSuccessNumber(logger) / logger.getData().size(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public float classError() { return _errors / (float) _rows; }", "public Long get_cachenonparameterizedinvalidationrequestsrate() throws Exception {\n\t\treturn this.cachenonparameterizedinvalidationrequestsrate;\n\t}", "public Long get_cacherevalidationmissrate() throws Exception {\n\t\treturn this.cacherevali...
[ "0.68149287", "0.61115175", "0.60036606", "0.591794", "0.5901227", "0.58194673", "0.5784595", "0.5783002", "0.57761246", "0.5633411", "0.56217235", "0.56005627", "0.55907905", "0.5588567", "0.55818754", "0.5569504", "0.55529505", "0.5531208", "0.55275124", "0.55050224", "0.54...
0.0
-1
Add A New Task
@Test public void test_case1() throws Exception { String dataOne = "{\"taskId\":\"12881\",\"taskHolderName\":\"Joey Tribianni\",\"taskDate\":\"01/04/2021\",\"taskName\":\"Spring Test Case Addition\",\"taskStatus\":\"Completed\"}"; mockMvc.perform(MockMvcRequestBuilders.post("/saveTask") .contentType(Me...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void addTask(Task task);", "public void add(Task task){ this.tasks.add(task);}", "String addTask(Task task);", "void add(final Task task);", "@Override\n\tpublic void addTask(Task task) {\n\t\t\n\t}", "public void add(Task task)\n {\n this.tasks.add(task);\n }", "public void add(final Task ta...
[ "0.86202246", "0.858954", "0.83809215", "0.8355833", "0.8271668", "0.82389176", "0.8210897", "0.81143546", "0.79880995", "0.7984423", "0.7978885", "0.79765105", "0.79765105", "0.79765105", "0.79529804", "0.78738785", "0.7863518", "0.7854198", "0.77960414", "0.77929014", "0.77...
0.0
-1
Get A Task By Name
@Test public void test_case3() throws Exception { mockMvc.perform(MockMvcRequestBuilders.get("/getTask") .param("name","Joey Tribianni") .contentType(MediaType.APPLICATION_JSON) .accept(MediaType.APPLICATION_JSON)) .andExpect(status().isOk()) .andExpect(jsonPath("$[0].taskName").v...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected Task getTaskNamed(String name) throws InvalidKeyException {\n return task.getTaskNamed(name);\n }", "String getTaskName();", "String getTaskName();", "public Task getTask(Integer tid);", "public String getTaskName();", "public Task getTask(String stateName) throws ProcessManagerExcept...
[ "0.7618288", "0.7611392", "0.7611392", "0.75319904", "0.7466209", "0.72118956", "0.71026284", "0.6959542", "0.6920041", "0.68765146", "0.6860848", "0.6849389", "0.68464583", "0.6821094", "0.6814878", "0.6805033", "0.6783906", "0.67743856", "0.67743856", "0.67743856", "0.67743...
0.0
-1
/ 1 = no errors found 0 = invalid username 1 = invalid name 2 = invalid password 3 = invalid email address
public RegistrationHelper(String u, String n, String e, String p, String p2) { errorCode = -1; // -1 will be the flag for no error user = u; name = n; email = e; password = p; password2 = p2; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private boolean checkUserInformation(String name,String userName,String email,String password)\n {\n\n if(userName.isEmpty())\n {\n eUserName.setError(\"empty field\");\n return false;\n }\n\n if(name.i...
[ "0.68148476", "0.67693", "0.67323995", "0.6690142", "0.6665642", "0.6656823", "0.65727675", "0.6538821", "0.6535667", "0.6512209", "0.6473817", "0.64666057", "0.6444157", "0.6439063", "0.6414502", "0.6378522", "0.63024175", "0.6298881", "0.62723404", "0.6268058", "0.62635", ...
0.0
-1
merge 2 sorted arrays into 1
static int[] merge(int[] a, int[] b) { int m = a.length, n = b.length; int[] res = new int[m + n]; int i = 0, j = 0, k = 0; while (i < m || j < n) { if (i == m) res[k++] = b[j++]; else if (j == n) res[k++] = a[i++]; else if (a[i] < b[j]) res[k++] = a[i++]; else res[k++] = b[j++]; }...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static int[] merge( int[] a, int[] b )\n {\n int[] retList = new int[a.length + b.length];\n\t int aPos = 0, bPos = 0;\n\t for(int x = 0; x < retList.length; x ++) {\n\t\t if(aPos < a.length && bPos < b.length) {\n\t\t\t if(a[aPos] < b[bPos]) {\n\t\t\t\t retList[x] = a[aPos];\n\t\t\t\t aPos ++;...
[ "0.7825725", "0.7762353", "0.7720846", "0.76802456", "0.7667059", "0.7545063", "0.74966127", "0.7483874", "0.74353385", "0.7427708", "0.73142445", "0.7311158", "0.7265565", "0.7251785", "0.7229969", "0.7208748", "0.7188028", "0.71806026", "0.71679175", "0.7162042", "0.7159391...
0.7799433
1
Get The Untransformed Point.
public void resize(Point p, ShapeArea area) { p = GMath.rotatePointCounterClockwise(p, getCenterPoint(), rotatedAngle); // Resize Frame Rectangle resizedFrame = new Rectangle(frame); area.resizeBounds(p, resizedFrame); // Correct Location if(GSystem.correction) { area.correctLocation(frame, resizedF...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Point2D.Double getTLPoint(){\n\t\treturn new Point2D.Double(xCoord - width/2, yCoord - height/2);\n\t}", "public SbVec3f\ngetObjectPoint() {\n\treturn getObjectPoint(null);\n}", "public Vector3f getPoint(float t) {\r\n\t\tVector3f point = new Vector3f();\r\n\t\tpoint.scaleAdd(t, mDirection, mOrigin);\r\...
[ "0.6786425", "0.66462636", "0.66025513", "0.6542811", "0.6533203", "0.6472074", "0.64680666", "0.64680666", "0.6451465", "0.64191777", "0.64053994", "0.63290924", "0.62562346", "0.6255454", "0.62223166", "0.6218735", "0.6213409", "0.6202755", "0.619766", "0.61958396", "0.6195...
0.0
-1
Get The Certain Point Corresponding To The Anchor
protected void setCoordinate(GAnchor anchor, Rectangle bounds) { Point areaPoint = anchor.getAreaPoint(bounds); // Correct Location areaPoint.translate(-ANCHOR_WIDTH / 2, -ANCHOR_HEIGHT / 2); // Set Frame Of Anchor anchor.setFrame(areaPoint.getX(), areaPoint.getY(), ANCHOR_WIDTH, ANCHOR_HEIGHT); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getAnchorOffset();", "public abstract Vector getAnchorPoint(Rectangle selectionBox);", "public FullPositionVector getAnchorPoint()\n {\n\treturn this.anchorPoint;\n }", "public PointF getPositionAnchor()\n {\n return positionAnchor;\n }", "@Basic\n\tpublic Items getAnchor(int poin...
[ "0.7469123", "0.743962", "0.7402134", "0.7370347", "0.688711", "0.6861718", "0.6850516", "0.680766", "0.6759888", "0.6759888", "0.6707755", "0.66567755", "0.6569912", "0.64527273", "0.64527273", "0.64508915", "0.6385416", "0.63743967", "0.6302282", "0.6284199", "0.6276818", ...
0.0
-1
Get the string of the stack trace of a exception object.
public static String getStackTrace(final Throwable lThrowable) { final StringWriter sw = new StringWriter(); final PrintWriter pw = new PrintWriter(sw, true); lThrowable.printStackTrace(pw); return sw.getBuffer().toString(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static String getStackTrace() {\n Exception e = new Exception();\n return getStackTrace(e);\n }", "public static String stackTrace(Exception exception) {\n\t\tStringWriter writer = new StringWriter();\n\t\tPrintWriter printWriter = new PrintWriter(writer);\n\t\texception.printStackTrace(p...
[ "0.7804841", "0.77820754", "0.77234614", "0.75585955", "0.7538264", "0.7505663", "0.75007814", "0.73511755", "0.7337515", "0.7296292", "0.72904396", "0.71944016", "0.7184724", "0.71348387", "0.7102474", "0.7094346", "0.7059206", "0.7044255", "0.70363796", "0.6959009", "0.6952...
0.6202062
44
Write stack trace on sdcard.
public static void writeError(Throwable JError, String JFilePath) { /* try { String JSdcardPath = JFilePath; if(JFilePath == null) { JSdcardPath = FILE_ROOT + ".Error/"; } mkdirs(FILE_ROOT); mkdirs(JSdcardPath); int JTotalError = new File(JSdcardPath).listFiles().length; String JNewFil...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private String saveCrashInfo2File(Throwable throwable) {\n StringBuffer stringBuffer = new StringBuffer();\n Iterator iterator = this.infos.entrySet().iterator();\n do {\n if (!iterator.hasNext()) break;\n Map.Entry entry = (Map.Entry)iterator.next();\n String ...
[ "0.6367142", "0.6145914", "0.6081119", "0.5916772", "0.579222", "0.56423444", "0.5561324", "0.5559914", "0.551817", "0.55047756", "0.5500524", "0.54876155", "0.5392245", "0.53506273", "0.53430206", "0.5302428", "0.52658653", "0.5238781", "0.5221882", "0.5213033", "0.51862276"...
0.57291186
5
Get date and time.
public static String getDateAndTime() { Calendar JCalendar = Calendar.getInstance(); String JMonth = JCalendar.getDisplayName(Calendar.MONTH, Calendar.SHORT, Locale.UK); String JDate = JCalendar.getDisplayName(Calendar.DATE, Calendar.LONG, Locale.UK); String JHour = JCalendar.getDisplayN...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getTimeAndDate() {\n\t\t\tDateFormat dateFormat = new SimpleDateFormat(\"dd MMM hh:mm\");\n\t\t\tCalendar cal = Calendar.getInstance();\n\t\t\tString dateAndTime = dateFormat.format(cal.getTime());\n\t\t\treturn dateAndTime;\n\t\t}", "public static String getDateTime() {\n\t\treturn new SimpleDateF...
[ "0.7635593", "0.7432296", "0.74263656", "0.7421002", "0.74104774", "0.7391359", "0.7361424", "0.73460096", "0.7320157", "0.7320157", "0.7257073", "0.72489864", "0.7216616", "0.7189569", "0.7154701", "0.71519005", "0.7124707", "0.70954967", "0.7095325", "0.7070501", "0.7043022...
0.7518358
1
Write a object on sdcard file system.
public static synchronized boolean writeObject(Object lModel, String lPath, String lName) { /* final File suspend_f = new File(lPath, lName); FileOutputStream fos = null; ObjectOutputStream oos = null; boolean keep = true; try { fos = new FileOutputSt...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void writeToFile(String filename, Object object) {\n try {\n FileOutputStream fileOutputStream = openFileOutput(filename, MODE_PRIVATE);\n ObjectOutputStream objectOutputStream = new ObjectOutputStream(fileOutputStream);\n objectOutputStream.writeObject(object);\n ...
[ "0.6807126", "0.6580877", "0.6516647", "0.64395833", "0.6403488", "0.6370895", "0.6300576", "0.62701946", "0.6261244", "0.61473376", "0.61440194", "0.6088687", "0.6001566", "0.59993684", "0.59517986", "0.59314126", "0.58620226", "0.5858929", "0.5844519", "0.5806525", "0.57788...
0.0
-1
Use the ABI as the hash
@Nullable private HashCode hashClassBytes(byte[] classBytes) { ClassReader reader = new ClassReader(classBytes); return extractor.extractApiClassFrom(reader) .map(Hashing::hashBytes) .orElse(null); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getHash();", "String getHash();", "String getHash();", "public abstract int getHash();", "java.lang.String getManifestHashAlgorithm();", "com.google.protobuf.ByteString getHash();", "com.google.protobuf.ByteString getHash();", "private void getHashKey(){\n try {\n PackageInfo in...
[ "0.68081313", "0.67320764", "0.67320764", "0.6728447", "0.6663389", "0.6539514", "0.6539514", "0.65348893", "0.64857143", "0.64723194", "0.64629537", "0.6403313", "0.63849795", "0.63765717", "0.6352656", "0.62755585", "0.62630093", "0.62354755", "0.6234616", "0.6154707", "0.6...
0.0
-1
TODO Autogenerated method stub
public static int crearCarpeta(String ruta_completa) { File f=new File(ruta_completa); int codigo=0; if(f.isDirectory()) { codigo=4; } else { try { boolean creado=f.mkdir(); if (creado) { codigo=0; } else { codigo=1; } } ca...
{ "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: Create a Controller for this Model and move this method out
public static List<UserTransactionHistory> jsonArrayToList(JSONArray jsonArray) { List<UserTransactionHistory> transactions = new ArrayList<>(); for(int i = 0; i < jsonArray.length(); i++) { JSONObject json = jsonArray.getJSONObject(i); String ticketNr = json.keys().next(); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Model getModel () { return _model; }", "Build_Model() {\n\n }", "private Model(){}", "ModelData getModel();", "public ModelAccessException() {\n\t\tsuper();\n\n\t}", "public FindOnModelObjectOK() {\r\n\t\tsuper();\r\n\t}", "private IModel<String> createCurrentEmailModel() {\n return Mo...
[ "0.605292", "0.5781405", "0.576776", "0.5765534", "0.5758815", "0.5734475", "0.5712859", "0.56928015", "0.5665055", "0.5620802", "0.56206685", "0.56206685", "0.56206685", "0.56119055", "0.5610735", "0.5610735", "0.5610735", "0.5610735", "0.5610735", "0.5610735", "0.5610735", ...
0.0
-1
/ formatting to be implemented
public String getFormattedDate() { return transactionDate.toString(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected abstract String format();", "void format();", "@VTID(8)\r\n java.lang.String format();", "@Override\n\tprotected String formatted(Walue _) {\n\t\treturn \"\";\n\t}", "private void formatSystem() {}", "private FormatUtilities() {}", "public void formatPrint() {\n\t\tSystem.out.printf(\"%8d ...
[ "0.8146607", "0.78743225", "0.7290564", "0.71897113", "0.7057939", "0.68618506", "0.67700946", "0.6719758", "0.666965", "0.66594386", "0.6576514", "0.6547126", "0.65133905", "0.6499164", "0.6499164", "0.6499164", "0.6495108", "0.6480645", "0.6477213", "0.64725506", "0.6453541...
0.0
-1
overriding toString so that it returns values with brackets and commas
@Override public String toString() { return "[" + getStart() + ", " + getEnd() + "]"; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String toString(){\r\n\t\tString theString= \"\";\r\n\t\t\r\n\t\t//loop through and add values to the string\r\n\t\tfor (int i = 0; i < this.data.length; i++)\r\n\t\t{\r\n\t\t\ttheString = theString + this.data[i];\r\n\t\t\tif (i != this.data.length - 1)\r\n\t\t\t{\r\n\t\t\t\ttheString = theString + \", \";...
[ "0.80287117", "0.7994901", "0.793971", "0.79021823", "0.78574276", "0.7772666", "0.7721089", "0.77185476", "0.76892054", "0.7612781", "0.7536172", "0.75231564", "0.75061274", "0.7500365", "0.74774426", "0.7464977", "0.74504864", "0.74421316", "0.7439598", "0.743421", "0.74222...
0.0
-1
////////////////////////////////////////////////// AFFICHAGE ////////////////////////////////////////////////// Affiche le contenu de l'index.
@Override public void print() { //TODO méthode à compléter (TP1-ex11) for (IndexEntry indexEntry : data) { if(indexEntry ==null){ continue; } System.out.println(indexEntry.toString()); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@VTID(10)\n int getIndex();", "public long index() {\n return manager.compactIndex();\n }", "String indexFormat();", "public abstract long getIndex();", "public int index();", "int index();", "public int getIndex() {\n\t\treturn 0;\n\t}", "public void onIndexUpdate();", "int getIndex();", "i...
[ "0.6341699", "0.61551005", "0.6072551", "0.60231465", "0.60187405", "0.5983059", "0.5967116", "0.5959564", "0.59282744", "0.59282744", "0.59282744", "0.59282744", "0.59282744", "0.59282744", "0.59282744", "0.59282744", "0.59282744", "0.59282744", "0.59282744", "0.59282744", "...
0.0
-1
Creates a new ThrowUnitImpl object.
public ThrowUnitImpl(Context context, Unit parentActUnit, RActivity act, long branchId) { super(context, parentActUnit, act, branchId); RThrow throwAct = (RThrow) mAct; QName faultName = throwAct.getRFaultName(); RVariable faultVariable = ((RVariableElement) throwAct).getRVariab...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private UnitFactory() {\n\t}", "public UnitP(UnitP unitP, ErrorTypes errorType)\n {\n \tthis(unitP, errorType, ExceptionHandlingTypes.NeverTriggerException);\n }", "@SuppressWarnings(\"unused\")\n private CreateOrUpdateUnitResult() {\n }", "public UnitP\n (\n ParseInfo parseInfo, Str...
[ "0.6110204", "0.5945781", "0.59025544", "0.552597", "0.5435928", "0.52945495", "0.525872", "0.52481866", "0.52426934", "0.523546", "0.5224728", "0.5217705", "0.51970464", "0.51865315", "0.51462805", "0.5131918", "0.5067011", "0.5054549", "0.5046253", "0.50416774", "0.50157297...
0.5318236
5
/ For a complete java tutorial course, please visit our Free Java Tutorial website above. We will be adding new lessons to that website weekly. For a list of selected real estate properties in New York City for sale and rental... please visit our AS Properties NYC website. New properties are updated daily.
public static void main(String[] args) { // example using 3 individual integer variables int a0, a1, a2; int a3, a4, a5; int a6, a7, a8, a9; // assign a value to each individual variable a0 = 0; a1 = 1; a2 = 2; a3 = 3; a4 = 4; a5 = 5; a6 = 6; a7 = 7; a8 = 8; a9 = 9; ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void main(String[] args) {\n Course AbstractAdvancedJavaSuperClass = new AdvancedJavaCourse(\"AdvancedJava\", \"-003\");\r\n Course AbstractJavaSuperClass = new IntroJavaCourse(\"IntroJava\", \"-002\");\r\n Course AbstractProgramClass = new IntroToProgrammingCourse(\"Intro\", \"-001\");\r\n\...
[ "0.61367404", "0.5999909", "0.5893098", "0.5660956", "0.55802643", "0.5565714", "0.5508803", "0.5493427", "0.54861146", "0.5436444", "0.53877336", "0.53767675", "0.53729725", "0.5365215", "0.53497964", "0.53446686", "0.53383183", "0.53336287", "0.5330527", "0.53304636", "0.53...
0.0
-1
a partir del wallet, y la cantidad que queremos recargar, recargamos su saldo
public static void recargarWallet(Wallet w, int recarga) { boolean realizada = true; Connection conexion = null; try { conexion = Conexion.getConnection(); if (conexion.getAutoCommit()) { conexion.setAutoCommit(false); } //actualiz...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String transaction_pay(int reservationId) {\r\n\t\ttry {\r\n\t\t\tif (username == null){\r\n\t\t\t\treturn \"Cannot pay, not logged in\\n\";\r\n\t\t\t}\r\n\t\t\tbeginTransaction();\r\n\t\t\t\r\n\t\t\t//query for the user balance \r\n\t\t\tcheckBalanceStatement.clearParameters();\r\n\t\t\tcheckBalanceStateme...
[ "0.6405931", "0.640578", "0.63618416", "0.59574026", "0.5926053", "0.5924279", "0.58853686", "0.58324414", "0.57951766", "0.579391", "0.5789929", "0.57632786", "0.5732991", "0.5725204", "0.57199407", "0.57088685", "0.57044494", "0.5696616", "0.5660851", "0.5628154", "0.561558...
0.7377191
0
el siguiente devuelve, a partir de un string en formato "ddMMyyyy", el objeto de tipo sql.date
public static Date getFecha(String strfecha) { SimpleDateFormat sdf = new SimpleDateFormat("dd-MM-yyyy"); Date fechaSQL = null; try { java.util.Date fechaJAVA = sdf.parse(strfecha); fechaSQL = new Date(fechaJAVA.getTime()); } catch (ParseException ex) { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private Date stringToSQLDate(String fecha){\n\t\t\n\t\t\n\t\tint ano=Integer.parseInt(fecha.substring(0,4));\n\t\tint mes =Integer.parseInt(fecha.substring(5,7));\n\t\tint dia =Integer.parseInt( fecha.substring(8));\n\t\t\n\t\t@SuppressWarnings(\"deprecation\")\n\t\tDate tmp = new Date(ano-1900,mes-1,dia);\n\t\t\n...
[ "0.7129373", "0.7052482", "0.67643726", "0.6761892", "0.6607405", "0.6547029", "0.63980037", "0.6353663", "0.63529354", "0.6303759", "0.6291069", "0.6273529", "0.6239848", "0.621088", "0.6197725", "0.61633474", "0.6063832", "0.6053643", "0.6053338", "0.6036022", "0.60287917",...
0.626706
12
Updates the clock's display using the current timestamp.
public void refresh() { TimeStampApp ts = this.getCurrentTime(); String period = "am"; if (ts.getHour() > 12 || ts.getHour() == 0) { period = "pm"; ts.setHour(ts.getHour()%13 + 1); } TicTac(ts.getHour() + period + ":" + ts.getMinute() + " " + ts.getSecond() + "s"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void updateClock() {\n if (!this.mDemoMode) {\n this.mCalendar.setTimeInMillis(System.currentTimeMillis());\n setText(getSmallTime());\n setContentDescription(this.mContentDescriptionFormat.format(this.mCalendar.getTime()));\n }\n }", "public void update()...
[ "0.7734884", "0.76800776", "0.73441684", "0.72849923", "0.7188341", "0.7087009", "0.7077623", "0.7062559", "0.6988883", "0.6921236", "0.6909951", "0.69044816", "0.68905985", "0.6888805", "0.68360955", "0.6826721", "0.6802793", "0.6797358", "0.67738974", "0.6752052", "0.672376...
0.6905581
11
Converts the DTO for Perspective into a JPA entity.
public static Perspective toJPA(PerspectiveDTO perspectiveDTO, boolean lazyFetching) { Perspective perspective = new Perspective(); perspective.setId(perspectiveDTO.getId()); perspective.setCode(perspectiveDTO.getCode()); perspective.setDescription(perspectiveDTO.getDescription()); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static Perspective toJPA(PerspectiveDTO perspectiveDTO) {\n return toJPA(perspectiveDTO, false);\n }", "public abstract P toEntity();", "E toEntity(V dto);", "public abstract T convertToEntity(D dto);", "public Representante toEntity(RepresentanteDTO dto) {\n return toEntity(dto, Re...
[ "0.73742646", "0.7248979", "0.6941605", "0.67832875", "0.6638275", "0.6596404", "0.6555948", "0.6549195", "0.6540548", "0.639045", "0.63776463", "0.63585967", "0.63513285", "0.6325072", "0.6323852", "0.6309541", "0.62307304", "0.61772543", "0.6176908", "0.6165015", "0.612982"...
0.7312183
1
Converts the DTO for Perspective into a JPA entity. A reference to the organization will be added to the entity.
public static Perspective toJPA(PerspectiveDTO perspectiveDTO) { return toJPA(perspectiveDTO, false); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static Perspective toJPA(PerspectiveDTO perspectiveDTO, boolean lazyFetching) {\n Perspective perspective = new Perspective();\n\n perspective.setId(perspectiveDTO.getId());\n perspective.setCode(perspectiveDTO.getCode());\n perspective.setDescription(perspectiveDTO.getDescriptio...
[ "0.6984177", "0.63728803", "0.6189921", "0.6146757", "0.60745823", "0.5995254", "0.5981433", "0.5841283", "0.58180255", "0.5798428", "0.57583094", "0.57548547", "0.5672117", "0.5637746", "0.56302696", "0.5626894", "0.56257015", "0.559597", "0.55767226", "0.5560679", "0.551537...
0.677904
1
Converts the DTO for Perspective into a Neo4J entity.
public static ro.teamnet.ou.domain.neo.Perspective toNeo(PerspectiveDTO perspectiveDTO) { if (perspectiveDTO.getOrganization() == null || perspectiveDTO.getOuTreeRoot() == null) { return null; } ro.teamnet.ou.domain.neo.Perspective perspective = new ro.teamnet.ou.domain.neo.Perspecti...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract P toEntity();", "public static Perspective toJPA(PerspectiveDTO perspectiveDTO, boolean lazyFetching) {\n Perspective perspective = new Perspective();\n\n perspective.setId(perspectiveDTO.getId());\n perspective.setCode(perspectiveDTO.getCode());\n perspective.setDescr...
[ "0.71401006", "0.6790228", "0.6758525", "0.67492884", "0.67003995", "0.65153587", "0.64117455", "0.64029586", "0.6387999", "0.63043696", "0.62349993", "0.6214505", "0.6201145", "0.61423194", "0.6083872", "0.6043977", "0.6034935", "0.5998656", "0.5966041", "0.59379774", "0.591...
0.6856615
1
Converts the JPA entity for Perspective into a DTO.
public static PerspectiveDTO toDTO(Perspective perspective, boolean lazyFetching) { PerspectiveDTO perspectiveDTO = new PerspectiveDTO(); perspectiveDTO.setId(perspective.getId()); perspectiveDTO.setCode(perspective.getCode()); perspectiveDTO.setDescription(perspective.getDescription())...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "V toDto(E entity);", "D mapToDTO(E entity);", "public static Perspective toJPA(PerspectiveDTO perspectiveDTO, boolean lazyFetching) {\n Perspective perspective = new Perspective();\n\n perspective.setId(perspectiveDTO.getId());\n perspective.setCode(perspectiveDTO.getCode());\n pers...
[ "0.7395953", "0.72533315", "0.70808864", "0.70622134", "0.7015357", "0.700693", "0.6913589", "0.67861545", "0.6735504", "0.65471643", "0.65093863", "0.6506788", "0.6493206", "0.6394273", "0.63863355", "0.6358119", "0.63263303", "0.63192713", "0.6313489", "0.61627555", "0.6158...
0.70405006
4
Converts the JPA entity for Perspective into a DTO. A reference to the organization will be added to the DTO.
public static PerspectiveDTO toDTO(Perspective perspective) { return toDTO(perspective, false); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static Perspective toJPA(PerspectiveDTO perspectiveDTO, boolean lazyFetching) {\n Perspective perspective = new Perspective();\n\n perspective.setId(perspectiveDTO.getId());\n perspective.setCode(perspectiveDTO.getCode());\n perspective.setDescription(perspectiveDTO.getDescriptio...
[ "0.6907389", "0.67953485", "0.66817766", "0.66641146", "0.66224843", "0.62639076", "0.6185705", "0.613906", "0.61039835", "0.60866475", "0.60705304", "0.59682494", "0.59662867", "0.59552133", "0.5954572", "0.5953796", "0.59361386", "0.5901686", "0.5851733", "0.5846089", "0.57...
0.6640765
4
A convenience method to create a CheetahSigninActivity
public static void startActivity(Context context) { context.startActivity(new Intent(context, CheetahSigninActivity.class)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void createSignInIntent() {\n List<AuthUI.IdpConfig> providers = Arrays.asList(\n new AuthUI.IdpConfig.EmailBuilder().build()\n );\n\n startActivityForResult(AuthUI.getInstance()\n .createSignInIntentBuilder()\n .setAvailableProviders(provide...
[ "0.6331275", "0.59645325", "0.5892286", "0.58624065", "0.5848462", "0.579797", "0.57525057", "0.566405", "0.5627032", "0.5529184", "0.5504815", "0.54759884", "0.5451298", "0.5417262", "0.53575736", "0.53307635", "0.52799207", "0.525424", "0.522956", "0.5218828", "0.5202886", ...
0.60498935
1
The browser process must be started here because this activity may be started from the recent apps list and it relies on other activities and the native library to be loaded.
@Override protected void onCreate(Bundle savedInstanceState) { try { ChromeBrowserInitializer.getInstance(this).handleSynchronousStartup(); } catch (ProcessInitException e) { Log.e(TAG, "Failed to start browser process.", e); // Since the library failed to initial...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n @SuppressFBWarnings(\"DM_EXIT\")\n protected void initializeBrowserProcess() {\n try {\n LibraryLoader.get(LibraryProcessType.PROCESS_BROWSER)\n .ensureInitialized(getApplicationContext());\n } catch (ProcessInitException e) {\n Log.e(TAG, \"...
[ "0.7180586", "0.698038", "0.67345166", "0.6280773", "0.61465144", "0.5992294", "0.5904077", "0.5902786", "0.5862238", "0.58424485", "0.5827798", "0.5808959", "0.5786485", "0.57791877", "0.5725129", "0.5723522", "0.5721517", "0.5686342", "0.5676671", "0.5672618", "0.56685567",...
0.5744077
14
TODO Autogenerated method stub
@Override public void showByteWrite(ByteBuffer data) { }
{ "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
a method that executes a command
public CommandPack executeCommandClient(String s) throws NullPointerException, NoSuchElementException { int index = s.indexOf(' '); String commandName; String keyWords; if (index > -1) { commandName = s.substring(0, index); keyWords = s.substring(index + 1); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract void doCommand(String command);", "void excuteCommand(Command commandToExecute, String [] params);", "<T extends Command> T execute(T command);", "@Override\r\n public void execute(Command command) {\n\r\n }", "CommandResult execute();", "public State execute(int command, State stat...
[ "0.81173235", "0.7739652", "0.7680653", "0.7649322", "0.76026106", "0.7574411", "0.75430256", "0.7530002", "0.7517432", "0.7496357", "0.74705297", "0.743326", "0.74178356", "0.741611", "0.73416954", "0.73407143", "0.7317095", "0.7307262", "0.7300022", "0.7295395", "0.727855",...
0.0
-1
The interface represents a 3d cubed thing.
public interface BoundedObject { public BoundedCube getBounds(); public static class BoundedCube implements Comparable<BoundedCube> { public long lx, ty, iz = 0; public long rx, by, oz = 0; public BoundedCube() { super(); } public BoundedCube(long lx, long ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface Model3D extends Model {\n public double getZ_Size();\n}", "@Override\n\tpublic boolean is3D() {\n\t\treturn true;\n\t}", "@LargeTest\n public void testColorCube3DIntrinsic() {\n TestAction ta = new TestAction(TestName.COLOR_CUBE_3D_INTRINSIC);\n runTest(ta, TestName.COLOR_C...
[ "0.6651475", "0.6549999", "0.6427716", "0.6372251", "0.6312113", "0.6221499", "0.6180282", "0.6148957", "0.61110765", "0.6077943", "0.59997606", "0.5966903", "0.59367913", "0.5936319", "0.5931314", "0.59176564", "0.591196", "0.5898893", "0.5895837", "0.58821505", "0.586639", ...
0.0
-1
TODO Autogenerated method stub
public static void main(String[] args) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
public static void main(String[] args) { }
{ "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
Outputs receiptOutput using JOptionPane
@Override public final void outputTransaction(String receiptOutput) { JOptionPane.showMessageDialog(null, receiptOutput, EZ, JOptionPane.PLAIN_MESSAGE, icon); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void printReceipt() {\n Alert alert = new Alert(Alert.AlertType.CONFIRMATION,\"Would you like a receipt?\",ButtonType.YES,ButtonType.NO);\n Optional<ButtonType> result = alert.showAndWait();\n if (result.get() == ButtonType.YES) {\n try {\n String element = \"\...
[ "0.7016235", "0.6750144", "0.6419348", "0.63744664", "0.6306219", "0.6295408", "0.62455535", "0.6226167", "0.6088348", "0.6013834", "0.5941073", "0.589926", "0.586969", "0.58254653", "0.57797253", "0.5772015", "0.5752488", "0.57368124", "0.5720005", "0.5681849", "0.56810635",...
0.79530364
0
Take a Source??? For example, a method to use for error message. When creating the key
public abstract Key<?> toKeyNullableQualifier(Type type, Annotation qualifier);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public NodeKey createNodeKeyWithSource( String sourceName );", "public WaterPrintKey(WaterPrintKey source) {\n if (source.KeyVersion != null) {\n this.KeyVersion = new String(source.KeyVersion);\n }\n if (source.KeyContent != null) {\n this.KeyContent = new String(sourc...
[ "0.67231244", "0.6243609", "0.6155317", "0.60466504", "0.59118026", "0.58025306", "0.57933396", "0.5753658", "0.571326", "0.56550765", "0.56236166", "0.56181735", "0.56056774", "0.5552002", "0.5545294", "0.54784787", "0.54749876", "0.544192", "0.53386754", "0.53340226", "0.53...
0.0
-1
Converts the type to a type literal.
public abstract TypeLiteral<?> toTypeLiteral(Type type);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "TypeLiteralExp createTypeLiteralExp();", "Type createType();", "Type createType();", "Type createType();", "Type type();", "Type type();", "public Type type(String name);", "DatatypeType createDatatypeType();", "public TypeLiteralElements getTypeLiteralAccess() {\r\n\t\treturn pTypeLiteral;\r\n\t}"...
[ "0.7319443", "0.61900246", "0.61900246", "0.61900246", "0.6103735", "0.6103735", "0.605382", "0.60456467", "0.60340625", "0.60268545", "0.5782908", "0.5782908", "0.5782908", "0.5782908", "0.5782908", "0.5782908", "0.5782908", "0.5782908", "0.5782908", "0.5782908", "0.5782908"...
0.8544373
0
Beschriftung des Panes wird geladen
public String getText() { int i = tp.indexOfTabComponent(TabButtonComponent.this); if (i != -1) { return tp.getTitleAt(i); } return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public telaE() {\n initComponents();\n panDel.setVisible(false);\n }", "public void inhabilitaPanel() {\n\n\t\t//comboNombreCarta.setEnabled(false);\n\t\tjScrollPane1.setEnabled(false);\n\t\tjScrollPane1.getVerticalScrollBar().setEnabled(false);\n\t\tjScrollPane1.getHorizontalScrollBar().setEnab...
[ "0.68265057", "0.6644726", "0.66352767", "0.6488971", "0.63816756", "0.6231908", "0.62154686", "0.6193862", "0.61895066", "0.6160461", "0.61406964", "0.61151296", "0.6068816", "0.60530925", "0.60468143", "0.60460246", "0.6031202", "0.60273933", "0.60268795", "0.6000847", "0.5...
0.0
-1
/Result result = new Result(); new GeometricalSequence().prove(63,result); System.out.println(result.getResultNum()+":"+result.getWhiteNum()); double v = Math.pow(2, 63) 1L; System.out.println(v);
public static void main(String[] args) { ArrayList list = new ArrayList(); new GeometricalSequence().listFactorization(10,list); System.out.println(list); // new GeometricalSequence().listReward(10,list); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "float getHotwordPower();", "public int mo36g() {\n return 8;\n }", "public int getPower(String genEle);", "float getSpecialProb();", "public int mo36g() {\n return 2;\n }", "public int mo3384v() {\n return 0;\n }", "@Test(timeout = 4000)\n public void test126() throws Th...
[ "0.643613", "0.6321559", "0.6291615", "0.6278997", "0.62564427", "0.61921346", "0.6192082", "0.6187103", "0.6145839", "0.6130317", "0.6123479", "0.61023813", "0.6102154", "0.6084053", "0.606943", "0.6049929", "0.60411775", "0.6012869", "0.6007705", "0.60023874", "0.59938806",...
0.0
-1
This is where the draft logic will go
public void run(){ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void updateDraftInfo(Draft draft) {\n // add necessary code here ********\n }", "public void gameDraft(){\n this.displayMessage(\"Starting the draft phase for player: \" + this.getCurrentPlayer());\n\n currentPlayer.bonusTroops();//Calculates the number of troops to be distributed\...
[ "0.7036829", "0.6521168", "0.64400244", "0.6388343", "0.6151912", "0.60391176", "0.60158986", "0.580197", "0.57902247", "0.57648194", "0.574898", "0.5714158", "0.5545146", "0.5485787", "0.54771394", "0.54728943", "0.54232466", "0.53073835", "0.5302199", "0.5280262", "0.524980...
0.0
-1
When creating an ActionButton this method is overriden to provide the specific behaviour in response to specific events.
protected void handleEvent(MouseEvent ev) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void setButtonAction() {\n\t}", "private void createJButtonActionPerformed( ActionEvent event )\r\n {\r\n \r\n }", "@Override\n\tpublic String eventType() {\n\t\treturn \"ButtonEvent\";\n\t}", "public void actionPerformed( ActionEvent event )\r\n {\r\n cr...
[ "0.7409731", "0.6637407", "0.6513264", "0.6487912", "0.64794594", "0.64042175", "0.6364828", "0.6305866", "0.6293855", "0.6249972", "0.62283456", "0.6227501", "0.6206599", "0.6199348", "0.6179543", "0.61729825", "0.6163503", "0.6133076", "0.6119519", "0.6110316", "0.6102795",...
0.0
-1
By default the keyevent is just to say the button has been clicked A button may still override this method in order to deal with more key events
protected void handleKeyEvent(KeyEvent ev) { //System.out.println("Got key event: "+this.getClass().getName()+" - "+ev+" "+ev.getKeyChar()+" "+ev.getExtendedKeyCode()); if (getStatus() != DefaultActionButton.INACTIVE) { for (char key : shortcutKey) { //System.out.println("sck "+key); if (ev.getKeyChar()=...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void button1KeyPressed(KeyEvent e) {\n }", "@Override\n public final void actionPerformed(ActionEvent e) {\n if (!isKeyPressed) {\n isKeyPressed = true;\n keyPressed();\n }\n }", "public void keyPressed(KeyEvent e) {\n \n }", "public void...
[ "0.81381106", "0.781465", "0.77618647", "0.77618647", "0.77618647", "0.7732133", "0.76990664", "0.769368", "0.76780295", "0.76342547", "0.7633792", "0.7631607", "0.7629947", "0.7629947", "0.7629947", "0.76259726", "0.7620204", "0.76179934", "0.76179934", "0.76179934", "0.7617...
0.0
-1
TODO Service call for user info to populate userlist.
public void populateUserListFromDatabase() { List<com.expensetracker.model.User> modelUserList = null; Logger.logMessage("UserManager.populateUserListFromDatabase() : Populating user list cache.."); try { modelUserList = Service.getService().getUserList(); List<User> list = ConvertUtil.modelToPojo(modelUser...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void getUserList() {\n\t\tmyDatabaseHandler db = new myDatabaseHandler();\n\t\tStatement statement = db.getStatement();\n\t\t// db.createUserTable(statement);\n\t\tuserList = new ArrayList();\n\t\tsearchedUserList = new ArrayList();\n\t\tsearchedUserList = db.getUserList(statement);\n\t\tuserList = db.ge...
[ "0.77523905", "0.76354754", "0.7459575", "0.7436781", "0.7375411", "0.72596717", "0.72462183", "0.72291803", "0.72226274", "0.7219862", "0.7217451", "0.71573377", "0.7154819", "0.71148586", "0.70887923", "0.70882326", "0.70634127", "0.704955", "0.7024685", "0.70222497", "0.70...
0.7216176
11
TODO Autogenerated method stub
private void populateUserMap(List<User> list) { for (User user : list) { userMap.put(user.getUserName(), 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
TODO Autogenerated method stub
public boolean authenticateUser(String username, String password) { boolean isAuthenticated = false; boolean db_error = true; Logger.logMessage("UserManager.authenticateUser(..) : authenticate user " + username); if (DatabaseUtil.checkDatabaseConnection() == Constants.DATABASE_CONNECTION_SUCCESS) { isAut...
{ "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
preload, after a (10 minute) delay
public void preloadNewVersion() { Timer timer = new Timer() { public void run() { if (iframe != null) { RootPanel.getBodyElement().removeChild(iframe.getElement()); } String currentURL = Window.Location.getHref(); iframe = new Frame(currentURL); iframe.setWidt...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void waitWhileLoading()\r\n {\r\n while (isLoading())\r\n ThreadUtil.sleep(10);\r\n }", "public void run() {\n\t\t\t \t \n\t\t\t \t test.load2();\n\t\t\t \t //System.out.println(\"heart beat report\"+System.currentTimeMillis());\n\t\t\t }", "protected void...
[ "0.6324195", "0.60568976", "0.60213315", "0.6016202", "0.59906787", "0.59414214", "0.5858985", "0.5832182", "0.5794075", "0.57620555", "0.5725036", "0.5694081", "0.56782824", "0.5653517", "0.56503063", "0.5647722", "0.56394064", "0.55415094", "0.5516278", "0.55085295", "0.549...
0.59471273
5
Handle action bar item clicks here. The action bar will automatically handle clicks on the Home/Up button, so long as you specify a parent activity in AndroidManifest.xml.
@Override public boolean onOptionsItemSelected(MenuItem item) { onBackPressed(); return super.onOptionsItemSelected(item); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public boolean onOptionsItemSelected(MenuItem item) { Handle action bar item clicks here. The action bar will\n // automatically handle clicks on the Home/Up button, so long\n // as you specify a parent activity in AndroidManifest.xml.\n\n //\n // HANDLE BACK BUTTON\n ...
[ "0.79042155", "0.7806028", "0.77664185", "0.77272826", "0.7631844", "0.7621488", "0.75845605", "0.753064", "0.7487905", "0.74575514", "0.74575514", "0.74386317", "0.7421903", "0.7403247", "0.7391723", "0.7386928", "0.73795277", "0.73705643", "0.73629", "0.7356027", "0.7345714...
0.7154283
54
region Getter and Setter
public boolean isSuccess() { return mSuccess; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void get() {}", "@Override\r\n\tpublic void get() {\n\t\t\r\n\t}", "@Override\n String get();", "String setValue();", "public byte[] get(){\n return this.value;\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "protected abstract Set method_1559();", "public...
[ "0.6810121", "0.67143255", "0.65178734", "0.6450686", "0.64296734", "0.63963836", "0.63644356", "0.6352574", "0.634984", "0.6347754", "0.6345057", "0.6339859", "0.6339859", "0.6334802", "0.63230073", "0.6301606", "0.62994635", "0.62987447", "0.62909853", "0.62895113", "0.6264...
0.0
-1
Implement table header tool tips.
protected JTableHeader createDefaultTableHeader() { return new JTableHeader(columnModel) { public String getToolTipText(MouseEvent e) { java.awt.Point p = e.getPoint(); int index = columnModel.getColumnIndexAtX(p.x); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected JTableHeader createDefaultTableHeader()\n {\n return new JTableHeader(columnModel)\n {\n /**\n * Serial version UID variable for the inner class.\n */\n public static final long serialVersionUID = 111222333444555601L;\n\n ...
[ "0.7689239", "0.7366864", "0.7309182", "0.7204159", "0.690876", "0.6879556", "0.68530047", "0.6747649", "0.67460775", "0.65592104", "0.65533584", "0.6537663", "0.6486346", "0.64677036", "0.63849616", "0.6344843", "0.6343959", "0.6340891", "0.6330012", "0.62800825", "0.6246747...
0.7669895
1
Creates new form jframe
public TamanhoInternalFrameTest() { initComponents(); setExtendedState(java.awt.Frame.MAXIMIZED_BOTH); // iniciar com tela full }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public NewJFrame() {\n initComponents();\n IniciarTabla();\n \n \n // ingreso al githup \n \n }", "public NewJFrame() {\n initComponents();\n \n }", "public NewJFrame() {\n Connect();\n initComponents();\n }", "public NewJFrame() {...
[ "0.7603222", "0.7590172", "0.7587888", "0.7486626", "0.74862105", "0.74862105", "0.74862105", "0.74862105", "0.74862105", "0.74862105", "0.74862105", "0.7405801", "0.7394483", "0.7351868", "0.7347334", "0.72702134", "0.7268809", "0.72669405", "0.72156525", "0.7179185", "0.714...
0.0
-1
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
@SuppressWarnings("unchecked") // <editor-fold defaultstate="collapsed" desc="Generated Code"> private void initComponents() { jDesktopPane = new javax.swing.JDesktopPane(); jMenuBar1 = new javax.swing.JMenuBar(); jMenu1 = new javax.swing.JMenu(); jMenuItem1 = new javax...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Form() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public frmRectangulo() {\n initComponents();\n }", "public form() {\n ...
[ "0.7322098", "0.7292275", "0.7292275", "0.7292275", "0.72872275", "0.72507876", "0.7214814", "0.7209056", "0.7197325", "0.71918863", "0.71856284", "0.7160448", "0.7148918", "0.7094831", "0.70820963", "0.70585436", "0.6988433", "0.6978755", "0.69569016", "0.6955245", "0.694635...
0.0
-1
Creates new form internalFrame
public internalFrame() { initComponents(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void createInternalFrame() {\n\t\tJInternalFrame frame = new JInternalFrame();\n\t\tframe.setVisible(true);\n\t\tframe.setClosable(true);\n\t\tframe.setResizable(true);\n\t\tframe.setFocusable(true);\n\t\tframe.setSize(new Dimension(300, 200));\n\t\tframe.setLocation(100, 100);\n\t\tdesktop.add(frame);\n...
[ "0.8132934", "0.8043873", "0.7840703", "0.7751887", "0.7424457", "0.74108493", "0.7294387", "0.71023005", "0.68796384", "0.68770784", "0.6875683", "0.68381053", "0.6795447", "0.6785671", "0.6754345", "0.6660839", "0.6652262", "0.66510767", "0.6638625", "0.65959567", "0.659207...
0.74662983
4
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
@SuppressWarnings("unchecked") // <editor-fold defaultstate="collapsed" desc="Generated Code"> private void initComponents() { jButton1 = new javax.swing.JButton(); jButton2 = new javax.swing.JButton(); jButton3 = new javax.swing.JButton(); jText...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Form() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public frmRectangulo() {\n initComponents();\n }", "public form() {\n ...
[ "0.73185146", "0.7290127", "0.7290127", "0.7290127", "0.7285798", "0.7247533", "0.7214021", "0.720785", "0.71952385", "0.71891224", "0.7184117", "0.7158779", "0.7147133", "0.70921415", "0.70792264", "0.7055538", "0.6986984", "0.6976409", "0.6955238", "0.69525516", "0.69452786...
0.0
-1
Update the spinner list and set selected value.
public void setAdapterAndValue(Object selectedItem, List<Item> items) { this.setSpinnerAdapter(items); this.setValue(selectedItem); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setSelection(T t) {\n\t\tspinner.setSelection(adapter.getPosition(t));\n\t}", "private void updateSpinner() {\n ArrayAdapter<CharSequence> adaptador = new ArrayAdapter(getContext(), android.R.layout.simple_spinner_item,nombresEnComboBox);\n spinner.setAdapter(adaptador);\n //guar...
[ "0.702709", "0.6985958", "0.6853614", "0.677778", "0.6590194", "0.6589197", "0.6474047", "0.645382", "0.6437318", "0.64294255", "0.6427922", "0.6398296", "0.630643", "0.62679595", "0.62542087", "0.62481374", "0.62138647", "0.62073225", "0.6197484", "0.61618507", "0.61586475",...
0.6651551
4