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
nodeToken > groupGraphPattern > GroupGraphPattern()
@Override public R visit(OptionalGraphPattern n, A argu) { R _ret = null; n.nodeToken.accept(this, argu); n.groupGraphPattern.accept(this, argu); return _ret; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public R visit(GraphGraphPattern n, A argu) {\n R _ret = null;\n n.nodeToken.accept(this, argu);\n n.varOrIRIref.accept(this, argu);\n n.groupGraphPattern.accept(this, argu);\n return _ret;\n }", "private GraphPattern translateToGP(){\r\n\r\n\t\t//Generate the...
[ "0.6275479", "0.6125395", "0.59886926", "0.58359665", "0.5825332", "0.57662743", "0.5744721", "0.5641847", "0.5610012", "0.55528426", "0.5527838", "0.54922825", "0.5421525", "0.54188645", "0.53663176", "0.53626263", "0.53380096", "0.533456", "0.53298354", "0.5327045", "0.5324...
0.61757165
1
nodeToken > varOrIRIref > VarOrIRIref() groupGraphPattern > GroupGraphPattern()
@Override public R visit(GraphGraphPattern n, A argu) { R _ret = null; n.nodeToken.accept(this, argu); n.varOrIRIref.accept(this, argu); n.groupGraphPattern.accept(this, argu); return _ret; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public R visit(OptionalGraphPattern n, A argu) {\n R _ret = null;\n n.nodeToken.accept(this, argu);\n n.groupGraphPattern.accept(this, argu);\n return _ret;\n }", "@Override\n public R visit(GroupOrUnionGraphPattern n, A argu) {\n R _ret = null;\n n....
[ "0.64475507", "0.5839819", "0.570901", "0.55439186", "0.5357252", "0.52352715", "0.51607496", "0.51520747", "0.49921533", "0.49526307", "0.49525937", "0.4949245", "0.49392578", "0.49353483", "0.49336183", "0.48997384", "0.48800915", "0.4868388", "0.48658913", "0.4857106", "0....
0.7301588
0
groupGraphPattern > GroupGraphPattern() nodeListOptional > ( GroupGraphPattern() )
@Override public R visit(GroupOrUnionGraphPattern n, A argu) { R _ret = null; n.groupGraphPattern.accept(this, argu); n.nodeListOptional.accept(this, argu); return _ret; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public R visit(OptionalGraphPattern n, A argu) {\n R _ret = null;\n n.nodeToken.accept(this, argu);\n n.groupGraphPattern.accept(this, argu);\n return _ret;\n }", "public abstract Multigraph buildMatchedGraph();", "final public void GroupOrUnionGraphPattern(Exp sta...
[ "0.6131746", "0.61203146", "0.57729405", "0.57059026", "0.5673607", "0.56123716", "0.5574372", "0.551384", "0.54712886", "0.54488915", "0.5439074", "0.5404794", "0.53979206", "0.537479", "0.53696954", "0.53276384", "0.52755845", "0.52346295", "0.52258337", "0.5194557", "0.518...
0.6369063
0
nodeToken > constraint > Constraint()
@Override public R visit(Filter n, A argu) { R _ret = null; n.nodeToken.accept(this, argu); n.constraint.accept(this, argu); return _ret; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Constraint createConstraint();", "Constraint createConstraint();", "public LinearConstraint() {\n\n }", "public interface ConstraintContext {\n Optional<TraversalConstraint> getConstraint();\n}", "public interface Constraint extends TOSCAObject<Constraint> {\n\n\tpublic String name();\n\n\tpublic def...
[ "0.7548013", "0.7548013", "0.6912372", "0.67854965", "0.6755768", "0.6680271", "0.65143585", "0.6477224", "0.6464619", "0.63862574", "0.6379681", "0.6333999", "0.6314726", "0.6299011", "0.62573135", "0.6249956", "0.62243134", "0.6147509", "0.61422926", "0.60595477", "0.602716...
0.0
-1
nodeChoice > BrackettedExpression() | BuiltInCall() | FunctionCall()
@Override public R visit(Constraint n, A argu) { R _ret = null; n.nodeChoice.accept(this, argu); return _ret; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public R visit(BuiltInCall n, A argu) {\n R _ret = null;\n n.nodeChoice.accept(this, argu);\n return _ret;\n }", "@Override\n\tpublic void visit(Parenthesis arg0) {\n\t\t\n\t}", "@Override\n\tpublic void visit(Parenthesis arg0) {\n\n\t}", "@Test\n\tpublic void testFunct...
[ "0.62382555", "0.5991723", "0.59462065", "0.58890575", "0.5772083", "0.56805104", "0.5565346", "0.5545417", "0.5543708", "0.5535041", "0.5529495", "0.5517331", "0.54393274", "0.5410729", "0.54097474", "0.54041004", "0.53803796", "0.5376977", "0.5370564", "0.53485876", "0.5313...
0.0
-1
iRIref > IRIref() argList > ArgList()
@Override public R visit(FunctionCall n, A argu) { R _ret = null; n.iRIref.accept(this, argu); n.argList.accept(this, argu); return _ret; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "ArgList createArgList();", "public interface IArgsParser {\r\n\tvoid parse(String [] aParams, Iterable<IArgument> args);\r\n}", "@Override\n protected ReferenceArgumentCollection makeReferenceArgumentCollection() {\n return new ReferenceArgumentCollection() {\n @Argument(doc = \"The refere...
[ "0.6343275", "0.59175324", "0.5827993", "0.58095396", "0.58095396", "0.57263994", "0.5703816", "0.5657584", "0.56129277", "0.5602904", "0.5597225", "0.55903566", "0.55896145", "0.55379343", "0.5531941", "0.5509359", "0.5484994", "0.54655725", "0.5458392", "0.54496145", "0.543...
0.62094444
1
nodeChoice > ( | "(" Expression() ( "," Expression() ) ")" )
@Override public R visit(ArgList n, A argu) { R _ret = null; n.nodeChoice.accept(this, argu); return _ret; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public TreeNode parse() {\n TreeNode first = ArithmeticSubexpression.getAdditive(environment).parse();\n if (first == null) return null;\n\n // Try to parse something starting with an operator.\n List<Wrapper> wrappers = RightSideSubexpression.createKleene(\n e...
[ "0.59950525", "0.586711", "0.58274895", "0.58071643", "0.5764216", "0.57434016", "0.56643635", "0.5619925", "0.5601928", "0.55924374", "0.5560622", "0.55581486", "0.5499428", "0.549818", "0.5488596", "0.5488579", "0.5475318", "0.54713184", "0.543465", "0.5404063", "0.5399985"...
0.53660053
23
triplesSameSubject > TriplesSameSubject() nodeOptional > ( "." ( ConstructTriples() )? )?
@Override public R visit(ConstructTriples n, A argu) { R _ret = null; n.triplesSameSubject.accept(this, argu); n.nodeOptional.accept(this, argu); return _ret; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "final public void TriplesSameSubject(Exp stack) throws ParseException {\n Expression expression1;\n if (jj_2_12(2)) {\n expression1 = VarOrTerm(stack);\n stack = PropertyListNotEmpty(expression1, stack);\n } else {\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {...
[ "0.7054789", "0.59252185", "0.5772184", "0.54657614", "0.5337264", "0.5247815", "0.5226493", "0.50893825", "0.5033531", "0.4967331", "0.4962811", "0.49607673", "0.49362203", "0.48850462", "0.48384976", "0.48360163", "0.4799535", "0.47849008", "0.4774306", "0.47395092", "0.473...
0.6177179
1
nodeChoice > VarOrTerm() PropertyListNotEmpty() | TriplesNode() PropertyList()
@Override public R visit(TriplesSameSubject n, A argu) { R _ret = null; n.nodeChoice.accept(this, argu); return _ret; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public R visit(TriplesNode n, A argu) {\n R _ret = null;\n n.nodeChoice.accept(this, argu);\n return _ret;\n }", "@Override\n public R visit(VarOrTerm n, A argu) {\n R _ret = null;\n n.nodeChoice.accept(this, argu);\n return _ret;\n }", "@Overri...
[ "0.57503194", "0.57047504", "0.56047285", "0.53528965", "0.5191475", "0.51872236", "0.5168723", "0.5164177", "0.51545495", "0.51341885", "0.50922173", "0.5091356", "0.50261843", "0.50260776", "0.5008985", "0.49942893", "0.4991269", "0.49554196", "0.4936207", "0.49360576", "0....
0.49459165
18
verb > Verb() objectList > ObjectList() nodeListOptional > ( ";" ( Verb() ObjectList() )? )
@Override public R visit(PropertyListNotEmpty n, A argu) { R _ret = null; n.verb.accept(this, argu); n.objectList.accept(this, argu); n.nodeListOptional.accept(this, argu); return _ret; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public R visit(ObjectList n, A argu) {\n R _ret = null;\n n.sparqlObject.accept(this, argu);\n n.nodeListOptional.accept(this, argu);\n return _ret;\n }", "void list()\n\t{\n\t\toperation.list();\n\t\t\n\t}", "public List<VerbPhrase> getVpList(){\n\t\tSet<NounPhras...
[ "0.6403963", "0.59190166", "0.5565275", "0.5462888", "0.5370237", "0.53321147", "0.53094935", "0.5309432", "0.5286782", "0.524496", "0.52356565", "0.52356565", "0.51852274", "0.517189", "0.51581144", "0.5128077", "0.5097811", "0.5087064", "0.50823194", "0.50616527", "0.505994...
0.6450136
0
nodeOptional > ( PropertyListNotEmpty() )?
@Override public R visit(PropertyList n, A argu) { R _ret = null; n.nodeOptional.accept(this, argu); return _ret; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public R visit(BlankNodePropertyList n, A argu) {\n R _ret = null;\n n.nodeToken.accept(this, argu);\n n.propertyListNotEmpty.accept(this, argu);\n n.nodeToken1.accept(this, argu);\n return _ret;\n }", "@Override\n public R visit(PropertyListNotEmpty n, A a...
[ "0.6866105", "0.6769174", "0.63216823", "0.6079299", "0.5974657", "0.5824687", "0.57529074", "0.57270604", "0.571617", "0.56690717", "0.5552488", "0.55203104", "0.5515559", "0.5498157", "0.54733986", "0.5431542", "0.5392547", "0.539074", "0.5370368", "0.5365007", "0.5332178",...
0.70819056
0
sparqlObject > SparqlObject() nodeListOptional > ( "," SparqlObject() )
@Override public R visit(ObjectList n, A argu) { R _ret = null; n.sparqlObject.accept(this, argu); n.nodeListOptional.accept(this, argu); return _ret; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public R visit(SparqlCollection n, A argu) {\n R _ret = null;\n n.nodeToken.accept(this, argu);\n n.nodeList.accept(this, argu);\n n.nodeToken1.accept(this, argu);\n return _ret;\n }", "Object executeQuery(String sparqlQuery);", "@Override\n public R visi...
[ "0.52232784", "0.5220416", "0.51501495", "0.5072992", "0.50687975", "0.5048789", "0.5027577", "0.5011158", "0.49300796", "0.48764405", "0.4781857", "0.47703806", "0.47451028", "0.47213924", "0.47100052", "0.46780038", "0.46149352", "0.46116084", "0.46105298", "0.457549", "0.4...
0.67879766
0
nodeChoice > VarOrIRIref() | | PutativeLiteral()
@Override public R visit(Verb n, A argu) { R _ret = null; n.nodeChoice.accept(this, argu); return _ret; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public R visit(RDFLiteral n, A argu) {\n R _ret = null;\n n.sparqlString.accept(this, argu);\n n.nodeOptional.accept(this, argu);\n return _ret;\n }", "@Override\n public R visit(VarOrIRIref n, A argu) {\n R _ret = null;\n n.nodeChoice.accept(this, a...
[ "0.66867334", "0.6443409", "0.6260124", "0.61788255", "0.6071785", "0.59938645", "0.598193", "0.598193", "0.591656", "0.58352953", "0.58352953", "0.5747221", "0.56763506", "0.5616454", "0.5616454", "0.5484703", "0.5455359", "0.54303426", "0.5426206", "0.54179215", "0.5397074"...
0.5102992
33
nodeChoice > SparqlCollection() | BlankNodePropertyList()
@Override public R visit(TriplesNode n, A argu) { R _ret = null; n.nodeChoice.accept(this, argu); return _ret; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public R visit(SparqlCollection n, A argu) {\n R _ret = null;\n n.nodeToken.accept(this, argu);\n n.nodeList.accept(this, argu);\n n.nodeToken1.accept(this, argu);\n return _ret;\n }", "@Override\n public R visit(SparqlString n, A argu) {\n R _ret = ...
[ "0.5910771", "0.5883152", "0.58456194", "0.54372865", "0.52645427", "0.5232322", "0.5211149", "0.5194085", "0.50845325", "0.50834864", "0.5060521", "0.5056826", "0.4982826", "0.49734253", "0.4953459", "0.4939612", "0.4930455", "0.4928883", "0.49222317", "0.49094066", "0.49035...
0.49746278
13
nodeToken > "[" propertyListNotEmpty > PropertyListNotEmpty() nodeToken1 > "]"
@Override public R visit(BlankNodePropertyList n, A argu) { R _ret = null; n.nodeToken.accept(this, argu); n.propertyListNotEmpty.accept(this, argu); n.nodeToken1.accept(this, argu); return _ret; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public R visit(PropertyListNotEmpty n, A argu) {\n R _ret = null;\n n.verb.accept(this, argu);\n n.objectList.accept(this, argu);\n n.nodeListOptional.accept(this, argu);\n return _ret;\n }", "PropertyArray(PropertyTokener x) throws PropertyException {\n ...
[ "0.5818374", "0.5554676", "0.54346263", "0.5424242", "0.53623027", "0.53427273", "0.5333316", "0.5333213", "0.5261432", "0.5168012", "0.5152339", "0.5123552", "0.51157874", "0.5096278", "0.50566775", "0.5008538", "0.50029135", "0.49879575", "0.49650946", "0.49604377", "0.4960...
0.7006142
0
nodeToken > "(" nodeList > ( GraphNode() )+ nodeToken1 > ")"
@Override public R visit(SparqlCollection n, A argu) { R _ret = null; n.nodeToken.accept(this, argu); n.nodeList.accept(this, argu); n.nodeToken1.accept(this, argu); return _ret; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void token(TokenNode node);", "final public Expression GraphNode(Exp stack) throws ParseException {\n Expression expression1;\n if (jj_2_17(2)) {\n expression1 = VarOrTerm(stack);\n } else {\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\n case ATLIST:\n ca...
[ "0.5982065", "0.58998126", "0.5749511", "0.56624144", "0.5649949", "0.5641048", "0.56129897", "0.55802685", "0.55712783", "0.55605775", "0.5554297", "0.5549892", "0.5545928", "0.5462336", "0.54541534", "0.5450838", "0.5436839", "0.54253715", "0.54253715", "0.5401969", "0.5384...
0.5220522
26
nodeChoice > VarOrTerm() | TriplesNode()
@Override public R visit(GraphNode n, A argu) { R _ret = null; n.nodeChoice.accept(this, argu); return _ret; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public R visit(TriplesNode n, A argu) {\n R _ret = null;\n n.nodeChoice.accept(this, argu);\n return _ret;\n }", "@Override\n public R visit(VarOrTerm n, A argu) {\n R _ret = null;\n n.nodeChoice.accept(this, argu);\n return _ret;\n }", "@Overri...
[ "0.6518998", "0.6508247", "0.62671924", "0.59975463", "0.5975809", "0.58634216", "0.5651675", "0.55788684", "0.5520687", "0.5463794", "0.53789", "0.5372494", "0.53483254", "0.5323706", "0.530652", "0.52661824", "0.52596927", "0.5245186", "0.52387977", "0.52243966", "0.5175155...
0.51569647
21
nodeChoice > Var() | GraphTerm()
@Override public R visit(VarOrTerm n, A argu) { R _ret = null; n.nodeChoice.accept(this, argu); return _ret; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public R visit(GraphTerm n, A argu) {\n R _ret = null;\n n.nodeChoice.accept(this, argu);\n return _ret;\n }", "Node getVariable();", "@Override\n public R visit(VarOrIRIref n, A argu) {\n R _ret = null;\n n.nodeChoice.accept(this, argu);\n return ...
[ "0.67866313", "0.63098234", "0.6130192", "0.6073599", "0.58267164", "0.5615821", "0.55954397", "0.5567327", "0.5533106", "0.5487391", "0.54217494", "0.5413759", "0.53995734", "0.5375659", "0.5374031", "0.5352851", "0.52989227", "0.5296608", "0.5289653", "0.52802163", "0.52660...
0.68267906
0
nodeChoice > Var() | IRIref()
@Override public R visit(VarOrIRIref n, A argu) { R _ret = null; n.nodeChoice.accept(this, argu); return _ret; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public R visit(VarOrTerm n, A argu) {\n R _ret = null;\n n.nodeChoice.accept(this, argu);\n return _ret;\n }", "Node getVariable();", "public interface IInstanceVariable extends INameNode {\n}", "@Override\n public R visit(IRIref n, A argu) {\n R _ret = null;\...
[ "0.6850314", "0.68221253", "0.6730645", "0.63431036", "0.6205877", "0.6130948", "0.60096854", "0.59937453", "0.5969359", "0.5868959", "0.58227897", "0.5809543", "0.57936484", "0.57629454", "0.5721647", "0.56741214", "0.5600324", "0.558336", "0.55809444", "0.5568778", "0.55609...
0.7345787
0
nodeChoice > IRIref() | RDFLiteral() | NumericLiteral() | BooleanLiteral() | BlankNode() | PutativeLiteral() |
@Override public R visit(GraphTerm n, A argu) { R _ret = null; n.nodeChoice.accept(this, argu); return _ret; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public R visit(SparqlString n, A argu) {\n R _ret = null;\n n.nodeChoice.accept(this, argu);\n return _ret;\n }", "@Override\n public R visit(IRIref n, A argu) {\n R _ret = null;\n n.nodeChoice.accept(this, argu);\n return _ret;\n }", "@Override...
[ "0.63685596", "0.6293061", "0.5943037", "0.57806545", "0.57594216", "0.5745159", "0.5706604", "0.56381875", "0.55581677", "0.55541056", "0.55229694", "0.54909897", "0.54875517", "0.54665494", "0.54018545", "0.5377006", "0.5376154", "0.53739935", "0.53117865", "0.5310838", "0....
0.5924301
3
conditionalAndExpression > ConditionalAndExpression() nodeListOptional > ( "||" ConditionalAndExpression() )
@Override public R visit(ConditionalOrExpression n, A argu) { R _ret = null; n.conditionalAndExpression.accept(this, argu); n.nodeListOptional.accept(this, argu); return _ret; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public R visit(ConditionalAndExpression n, A argu) {\n R _ret = null;\n n.valueLogical.accept(this, argu);\n n.nodeListOptional.accept(this, argu);\n return _ret;\n }", "public Object visitLogicalAndExpression(GNode n) {\n if (dostring) {\n Object a = dispa...
[ "0.6800889", "0.6768137", "0.6612689", "0.6597664", "0.64571774", "0.64370054", "0.64112836", "0.63948596", "0.6367354", "0.6225632", "0.6214581", "0.61953276", "0.61859643", "0.61576265", "0.6144686", "0.6099754", "0.6061134", "0.60534465", "0.60509133", "0.60256225", "0.601...
0.69192433
0
valueLogical > ValueLogical() nodeListOptional > ( "&&" ValueLogical() )
@Override public R visit(ConditionalAndExpression n, A argu) { R _ret = null; n.valueLogical.accept(this, argu); n.nodeListOptional.accept(this, argu); return _ret; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private Term parseLogicalAnd(final boolean required) throws ParseException {\n Term t1 = parseComparison(required);\n while (t1 != null) {\n /*int tt =*/ _tokenizer.next();\n if (isSpecial(\"&&\") || isKeyword(\"and\")) {\n Term t2 = parseComparison(true);\n ...
[ "0.66954964", "0.656978", "0.6517392", "0.64110696", "0.634499", "0.62283474", "0.59780467", "0.5954035", "0.59320086", "0.5847466", "0.584661", "0.58328694", "0.58308744", "0.5824579", "0.58235735", "0.5743064", "0.57213986", "0.5689895", "0.56844974", "0.56515014", "0.56461...
0.62752753
5
numericExpression > NumericExpression() nodeOptional > ( "=" NumericExpression() | "!=" NumericExpression() | "" NumericExpression() | "=" NumericExpression() )?
@Override public R visit(RelationalExpression n, A argu) { R _ret = null; n.numericExpression.accept(this, argu); n.nodeOptional.accept(this, argu); return _ret; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "NumericExpression createNumericExpression();", "double parseExpression() {\n double x = parseTerm();\n for (;;) {\n if (eat('+')) x += parseTerm(); // addition\n else if (eat('-')) x -= parseTerm(); // subtraction\n else ...
[ "0.6433068", "0.57247895", "0.57247895", "0.5638152", "0.55892116", "0.5517103", "0.55157197", "0.5462079", "0.5452465", "0.5396892", "0.5392058", "0.53712887", "0.5338029", "0.5327225", "0.5299592", "0.5297588", "0.5295807", "0.5288402", "0.5258376", "0.52489567", "0.5225006...
0.6014844
1
multiplicativeExpression > MultiplicativeExpression() nodeListOptional > ( "+" MultiplicativeExpression() | "" MultiplicativeExpression() | NumericLiteralPositive() | NumericLiteralNegative() )
@Override public R visit(AdditiveExpression n, A argu) { R _ret = null; n.multiplicativeExpression.accept(this, argu); n.nodeListOptional.accept(this, argu); return _ret; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Object visitMultiplicativeExpression(GNode n) {\n Object a, b, result;\n String op;\n \n nonboolean = true;\n \n dostring = true;\n \n a = dispatch(n.getGeneric(0));\n b = dispatch(n.getGeneric(2));\n op = n.getString(1);\n \n dostring = false;\n \n if (a ...
[ "0.69905883", "0.6644127", "0.6536651", "0.6434283", "0.6372252", "0.6317578", "0.6233715", "0.6169937", "0.61376375", "0.61155045", "0.60835147", "0.60828793", "0.60378426", "0.6036608", "0.6018694", "0.6011898", "0.5921065", "0.5915232", "0.5903461", "0.5874056", "0.5848136...
0.59440607
16
unaryExpression > UnaryExpression() nodeListOptional > ( "" UnaryExpression() | "/" UnaryExpression() )
@Override public R visit(MultiplicativeExpression n, A argu) { R _ret = null; n.unaryExpression.accept(this, argu); n.nodeListOptional.accept(this, argu); return _ret; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test001() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"hN!SM~8ux(wB\");\n xPathLexer0.dollar();\n xPathLexer0.not();\n xPathLexer0.nextToken();\n xPathLexer0.leftParen();\n xPathLexer0.whitespace();\n xPathLexer0.plus();\n ...
[ "0.6298912", "0.6174534", "0.61610514", "0.61066353", "0.6066107", "0.59209037", "0.58460045", "0.5838517", "0.5766054", "0.5759358", "0.575921", "0.5739439", "0.57281214", "0.5717116", "0.56817883", "0.5671641", "0.56491566", "0.558552", "0.55602354", "0.55420655", "0.553599...
0.0
-1
nodeChoice > ( "!" PrimaryExpression() | "+" PrimaryExpression() | "" PrimaryExpression() | PrimaryExpression() )
@Override public R visit(UnaryExpression n, A argu) { R _ret = null; n.nodeChoice.accept(this, argu); return _ret; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void defaultOperatorsEvaluteTrueTest() throws Exception {\n\n assertThat(getNode(\"1 == 1\", \"expr\").render(null), is((Object)true));\n assertThat(getNode(\"1 != 2\", \"expr\").render(null), is((Object)true));\n assertThat(getNode(\"1 <> 2\", \"expr\").render(null), is((Obj...
[ "0.6129654", "0.5890019", "0.58862567", "0.58641195", "0.5828073", "0.574639", "0.56994724", "0.5691317", "0.56897384", "0.56568617", "0.56481975", "0.56476045", "0.5638474", "0.56294626", "0.5612991", "0.5591969", "0.54826075", "0.54657036", "0.54316336", "0.5414404", "0.537...
0.57446593
6
nodeChoice > BrackettedExpression() | BuiltInCall() | IRIrefOrFunction() | RDFLiteral() | NumericLiteral() | BooleanLiteral() | Var()
@Override public R visit(PrimaryExpression n, A argu) { R _ret = null; n.nodeChoice.accept(this, argu); return _ret; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public R visit(SparqlString n, A argu) {\n R _ret = null;\n n.nodeChoice.accept(this, argu);\n return _ret;\n }", "@Override\n public R visit(VarOrIRIref n, A argu) {\n R _ret = null;\n n.nodeChoice.accept(this, argu);\n return _ret;\n }", "@Ove...
[ "0.6157492", "0.61251247", "0.6037306", "0.6019784", "0.5884004", "0.5827076", "0.5815682", "0.5766316", "0.5711225", "0.5600473", "0.5528702", "0.552458", "0.5448065", "0.54472476", "0.54340845", "0.541214", "0.53763485", "0.535506", "0.52882695", "0.5278321", "0.52590024", ...
0.58171093
6
nodeToken > "(" expression > Expression() nodeToken1 > ")"
@Override public R visit(BrackettedExpression n, A argu) { R _ret = null; n.nodeToken.accept(this, argu); n.expression.accept(this, argu); n.nodeToken1.accept(this, argu); return _ret; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public TreeNode parse() {\n TreeNode first = ArithmeticSubexpression.getAdditive(environment).parse();\n if (first == null) return null;\n\n // Try to parse something starting with an operator.\n List<Wrapper> wrappers = RightSideSubexpression.createKleene(\n e...
[ "0.68043953", "0.6790426", "0.67814445", "0.669376", "0.66689414", "0.66416913", "0.6584209", "0.6511857", "0.64884615", "0.64810336", "0.64332014", "0.6379273", "0.6351789", "0.63039017", "0.6272045", "0.6262201", "0.62378716", "0.6222648", "0.6206705", "0.61971533", "0.6187...
0.6074708
27
nodeChoice > ( "(" Expression() ")" | "(" Expression() ")" | "(" Expression() "," Expression() ")" | "(" Expression() ")" | "(" Var() ")" | "(" Expression() "," Expression() ")" | "(" Expression() ")" | "(" Expression() ")" | "(" Expression() ")" | "(" Expression() ")" | RegexExpression() )
@Override public R visit(BuiltInCall n, A argu) { R _ret = null; n.nodeChoice.accept(this, argu); return _ret; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public R visit(PrimaryExpression n, A argu) {\n R _ret = null;\n n.nodeChoice.accept(this, argu);\n return _ret;\n }", "@Override\n public R visit(SparqlString n, A argu) {\n R _ret = null;\n n.nodeChoice.accept(this, argu);\n return _ret;\n }", ...
[ "0.6147068", "0.61435986", "0.60234594", "0.5958757", "0.58473474", "0.5821135", "0.58146894", "0.57876676", "0.5760967", "0.5704279", "0.5702726", "0.5700981", "0.5691921", "0.56553656", "0.559495", "0.55700386", "0.55203825", "0.55162984", "0.5508685", "0.5477042", "0.54640...
0.5613564
14
nodeToken > nodeToken1 > "(" expression > Expression() nodeToken2 > "," expression1 > Expression() nodeOptional > ( "," Expression() )? nodeToken3 > ")"
@Override public R visit(RegexExpression n, A argu) { R _ret = null; n.nodeToken.accept(this, argu); n.nodeToken1.accept(this, argu); n.expression.accept(this, argu); n.nodeToken2.accept(this, argu); n.expression1.accept(this, argu); n.nodeOptional.accept(this...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test153() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\") (\");\n Token token0 = xPathLexer0.nextToken();\n assertEquals(\")\", token0.getTokenText());\n assertEquals(2, token0.getTokenType());\n }", "@Test(timeout = 4000)\n public voi...
[ "0.6177007", "0.6073211", "0.6042479", "0.60340565", "0.601666", "0.6008348", "0.59428793", "0.5905072", "0.5890552", "0.5851688", "0.5806145", "0.5800216", "0.5703586", "0.56871974", "0.5661608", "0.565716", "0.56402266", "0.5639536", "0.5614409", "0.5608312", "0.55870444", ...
0.5588872
20
iRIref > IRIref() nodeOptional > ( ArgList() )?
@Override public R visit(IRIrefOrFunction n, A argu) { R _ret = null; n.iRIref.accept(this, argu); n.nodeOptional.accept(this, argu); return _ret; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public R visit(FunctionCall n, A argu) {\n R _ret = null;\n n.iRIref.accept(this, argu);\n n.argList.accept(this, argu);\n return _ret;\n }", "@Override\n public R visit(IRIref n, A argu) {\n R _ret = null;\n n.nodeChoice.accept(this, argu);\n ...
[ "0.60783976", "0.5912319", "0.577626", "0.56815004", "0.55670434", "0.5378821", "0.5377468", "0.5358081", "0.53294677", "0.5311725", "0.5304943", "0.5298459", "0.52873266", "0.5285282", "0.5283964", "0.52577657", "0.5239141", "0.51960886", "0.51757634", "0.5173925", "0.511062...
0.7112018
0
sparqlString > SparqlString() nodeOptional > ( | ( "^^" IRIref() ) )?
@Override public R visit(RDFLiteral n, A argu) { R _ret = null; n.sparqlString.accept(this, argu); n.nodeOptional.accept(this, argu); return _ret; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public R visit(SparqlString n, A argu) {\n R _ret = null;\n n.nodeChoice.accept(this, argu);\n return _ret;\n }", "Object executeQuery(String sparqlQuery);", "@Test\n public void example13 () throws Exception {\n Map<String, Stmt> inputs = example2setup();\n ...
[ "0.58847755", "0.5596863", "0.55121094", "0.5352262", "0.52856004", "0.5162227", "0.50985205", "0.5091518", "0.5090989", "0.4995014", "0.49817374", "0.49713218", "0.49673155", "0.49390456", "0.49109447", "0.489816", "0.48915637", "0.4881067", "0.48809826", "0.48769897", "0.47...
0.70059276
0
nodeChoice > ( NumericLiteralUnsigned() | NumericLiteralPositive() | NumericLiteralNegative() )
@Override public R visit(NumericLiteral n, A argu) { R _ret = null; n.nodeChoice.accept(this, argu); return _ret; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public R visit(NumericLiteralUnsigned n, A argu) {\n R _ret = null;\n n.nodeChoice.accept(this, argu);\n return _ret;\n }", "@Override\n public R visit(NumericLiteralPositive n, A argu) {\n R _ret = null;\n n.nodeChoice.accept(this, argu);\n return _...
[ "0.7026294", "0.68931806", "0.67666477", "0.5632341", "0.5616909", "0.5392834", "0.5352559", "0.52461845", "0.52391154", "0.5207629", "0.51698077", "0.51338655", "0.5099979", "0.50840056", "0.50652117", "0.50424355", "0.50263757", "0.5022331", "0.49961746", "0.4996095", "0.49...
0.69053316
1
nodeChoice > | |
@Override public R visit(NumericLiteralUnsigned n, A argu) { R _ret = null; n.nodeChoice.accept(this, argu); return _ret; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract String getSelectedNode();", "@Override\n public R visit(GraphTerm n, A argu) {\n R _ret = null;\n n.nodeChoice.accept(this, argu);\n return _ret;\n }", "MCTS.State select(MCTS.State node);", "public String getElement()\n {\n return nodeChoice;\n }", "@Ove...
[ "0.6062672", "0.60158914", "0.5818231", "0.5777264", "0.57514405", "0.5734164", "0.5717383", "0.56470317", "0.55657256", "0.55207723", "0.547398", "0.5461568", "0.5445403", "0.5441304", "0.54352444", "0.5432536", "0.5428564", "0.5393862", "0.5393451", "0.5350399", "0.5332976"...
0.47497615
86
nodeChoice > | |
@Override public R visit(NumericLiteralPositive n, A argu) { R _ret = null; n.nodeChoice.accept(this, argu); return _ret; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract String getSelectedNode();", "@Override\n public R visit(GraphTerm n, A argu) {\n R _ret = null;\n n.nodeChoice.accept(this, argu);\n return _ret;\n }", "MCTS.State select(MCTS.State node);", "public String getElement()\n {\n return nodeChoice;\n }", "@Ove...
[ "0.606517", "0.6016567", "0.5818587", "0.5779216", "0.5752279", "0.5734503", "0.57177913", "0.56474525", "0.556613", "0.5523029", "0.54761255", "0.5462575", "0.54456306", "0.54434323", "0.5435408", "0.54317594", "0.5429003", "0.5395436", "0.5394908", "0.53527576", "0.5332484"...
0.0
-1
nodeChoice > | |
@Override public R visit(NumericLiteralNegative n, A argu) { R _ret = null; n.nodeChoice.accept(this, argu); return _ret; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract String getSelectedNode();", "@Override\n public R visit(GraphTerm n, A argu) {\n R _ret = null;\n n.nodeChoice.accept(this, argu);\n return _ret;\n }", "MCTS.State select(MCTS.State node);", "public String getElement()\n {\n return nodeChoice;\n }", "@Ove...
[ "0.6062672", "0.60158914", "0.5818231", "0.5777264", "0.57514405", "0.5734164", "0.5717383", "0.56470317", "0.55657256", "0.55207723", "0.547398", "0.5461568", "0.5445403", "0.5441304", "0.54352444", "0.5432536", "0.5428564", "0.5393862", "0.5393451", "0.5350399", "0.5332976"...
0.0
-1
nodeChoice > | | |
@Override public R visit(SparqlString n, A argu) { R _ret = null; n.nodeChoice.accept(this, argu); return _ret; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract String getSelectedNode();", "@Override\n public R visit(GraphTerm n, A argu) {\n R _ret = null;\n n.nodeChoice.accept(this, argu);\n return _ret;\n }", "public String getElement()\n {\n return nodeChoice;\n }", "@Override\n public R visit(GraphNode n, A ...
[ "0.6324758", "0.6159298", "0.59504753", "0.5940442", "0.58827907", "0.5857384", "0.5776145", "0.5766443", "0.57437086", "0.5717373", "0.5659561", "0.5621774", "0.55920595", "0.54967266", "0.549277", "0.5481693", "0.54752845", "0.5414181", "0.539548", "0.5387095", "0.5385793",...
0.5489167
15
nodeChoice > | PrefixedName()
@Override public R visit(IRIref n, A argu) { R _ret = null; n.nodeChoice.accept(this, argu); return _ret; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract String toName(Object inNode);", "public String getPrefix() { return \"linknode\"; }", "EPREFIX_TYPE getName();", "private String node(String name) { return prefix + \"AST\" + name + \"Node\"; }", "String getNodeName();", "public String getUnprefixedNodeName(Node node) {\n if (n...
[ "0.69554275", "0.68156326", "0.670158", "0.65966755", "0.6508045", "0.6371361", "0.62639415", "0.6164813", "0.6164813", "0.6164813", "0.6164813", "0.6124598", "0.61235255", "0.61235255", "0.6110582", "0.60484326", "0.6044702", "0.6004497", "0.5913019", "0.58930415", "0.588438...
0.0
-1
prologue > Prologue() nodeList > ( "[" Rule() "]" )+
@Override public R visit(SparqlSpin n, A argu) { R _ret = null; n.prologue.accept(this, argu); n.nodeList.accept(this, argu); return _ret; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void explore(RuleContext ctx) {\n if (ctx.getChildCount() != 1) {\n String ruleName = Python3Parser.ruleNames[ctx.getRuleIndex()];\n astRepresenation.append(ruleName);\n astRepresenation.append(\": \");\n astRepresenation.append(ctx.getText());\n ...
[ "0.5813386", "0.5702719", "0.5466256", "0.5465004", "0.54257923", "0.5424313", "0.53438026", "0.53296894", "0.5325606", "0.53042644", "0.52811927", "0.5258028", "0.52292687", "0.521862", "0.51758856", "0.5173164", "0.5157507", "0.51414806", "0.5133692", "0.51289934", "0.51172...
0.4965141
33
consequent > Consequent() nodeToken > antecedent > Antecedent()
@Override public R visit(Rule n, A argu) { R _ret = null; n.consequent.accept(this, argu); n.nodeToken.accept(this, argu); n.antecedent.accept(this, argu); return _ret; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void generateAntecedent(Element element, Set<SWRLAtom> antecedent) throws Exception {\n String name = element.getAttribute(\"name\");\n name = TextUtil.formatName(name);\n String operator = element.getAttribute(\"operator\");\n String value = element.getAttribute(\"value\");\n ...
[ "0.6020388", "0.5623062", "0.56167233", "0.56034166", "0.53453225", "0.52787834", "0.5261499", "0.5121528", "0.51037335", "0.5088288", "0.50713533", "0.5015555", "0.5002107", "0.49883723", "0.4981641", "0.4975128", "0.49512547", "0.49472323", "0.492188", "0.49176598", "0.4913...
0.6479711
0
nodeChoice > RuleConstructClause() | RuleModifyClause()
@Override public R visit(Consequent n, A argu) { R _ret = null; n.nodeChoice.accept(this, argu); return _ret; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "StatementRule createStatementRule();", "GeneralClause createGeneralClause();", "AlgNode routeDml( LogicalModify node, Statement statement );", "@Test\n public void testAndOrRules() throws Exception {\n final PackageDescr pkg = ((PackageDescr) (parseResource(\"compilationUnit\", \"and_or_rule.drl\")...
[ "0.61957157", "0.5812389", "0.5770992", "0.5706526", "0.5684158", "0.5639862", "0.5621451", "0.5606578", "0.5574794", "0.556243", "0.55023164", "0.55023164", "0.55023164", "0.5433376", "0.5300048", "0.52658767", "0.52586997", "0.5254068", "0.52268124", "0.51487464", "0.512626...
0.0
-1
nodeToken > constructTemplate > ConstructTemplate() nodeListOptional > ( DatasetClause() )
@Override public R visit(RuleConstructClause n, A argu) { R _ret = null; n.nodeToken.accept(this, argu); n.constructTemplate.accept(this, argu); n.nodeListOptional.accept(this, argu); return _ret; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public R visit(DatasetClause n, A argu) {\n R _ret = null;\n n.nodeToken.accept(this, argu);\n n.nodeChoice.accept(this, argu);\n return _ret;\n }", "private ASTQuery() {\r\n dataset = Dataset.create();\r\n }", "DataParamNode DataParamNode(Token t, St...
[ "0.61144876", "0.5616347", "0.5593895", "0.5336267", "0.526116", "0.514501", "0.5141245", "0.51362693", "0.5071993", "0.5058724", "0.5037888", "0.50035614", "0.49435714", "0.49386525", "0.49151355", "0.49051154", "0.48746613", "0.48633805", "0.48627394", "0.48624533", "0.4851...
0.46350345
41
nodeToken > deleteClause > DeleteClause() nodeOptional > ( InsertClause() )?
@Override public R visit(RuleModifyClause n, A argu) { R _ret = null; n.nodeToken.accept(this, argu); n.deleteClause.accept(this, argu); n.nodeOptional.accept(this, argu); return _ret; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void parseDelete(StatementTree sTree) {\r\n\r\n\t}", "int insertSelective(Ttoken record);", "final public void DeleteInsertWhere() throws ParseException {\n Exp exp; Composite upd, ope; Constant uri; Values values;\n upd = Composite.create(Update.COMPOSITE);\n switc...
[ "0.64252985", "0.60370827", "0.59013873", "0.57570636", "0.5706544", "0.566646", "0.561048", "0.5588244", "0.5546958", "0.55218494", "0.55182576", "0.54805183", "0.5475787", "0.5473062", "0.54380447", "0.5434788", "0.54258615", "0.54238343", "0.5396336", "0.53880805", "0.5383...
0.58009696
3
triplesSameSubject > TriplesSameSubject() nodeOptional > ( "." ( DeleteTriples() )? )?
@Override public R visit(DeleteTriples n, A argu) { R _ret = null; n.triplesSameSubject.accept(this, argu); n.nodeOptional.accept(this, argu); return _ret; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "final public void TriplesSameSubject(Exp stack) throws ParseException {\n Expression expression1;\n if (jj_2_12(2)) {\n expression1 = VarOrTerm(stack);\n stack = PropertyListNotEmpty(expression1, stack);\n } else {\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {...
[ "0.5870331", "0.5851736", "0.56046706", "0.5548366", "0.5440706", "0.5421932", "0.5415297", "0.5411564", "0.5408086", "0.54054284", "0.5385963", "0.5371851", "0.5370458", "0.5358094", "0.5286938", "0.52818346", "0.52721864", "0.5260496", "0.51597625", "0.51587886", "0.5151197...
0.6365664
0
triplesSameSubject > TriplesSameSubject() nodeOptional > ( "." ( InsertTriples() )? )?
@Override public R visit(InsertTriples n, A argu) { R _ret = null; n.triplesSameSubject.accept(this, argu); n.nodeOptional.accept(this, argu); return _ret; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "final public void TriplesSameSubject(Exp stack) throws ParseException {\n Expression expression1;\n if (jj_2_12(2)) {\n expression1 = VarOrTerm(stack);\n stack = PropertyListNotEmpty(expression1, stack);\n } else {\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {...
[ "0.66566336", "0.62623626", "0.5634799", "0.5561885", "0.5546721", "0.54128236", "0.5392418", "0.53646433", "0.5310201", "0.51689875", "0.5114945", "0.5072681", "0.5007982", "0.500671", "0.50061846", "0.49972934", "0.49677965", "0.49344185", "0.49315575", "0.49236938", "0.491...
0.58502287
2
whereClause > WhereClause() solutionModifier > SolutionModifier()
@Override public R visit(Antecedent n, A argu) { R _ret = null; n.whereClause.accept(this, argu); n.solutionModifier.accept(this, argu); return _ret; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public QbWhere where();", "String getWhereClause();", "GeneralClause createGeneralClause();", "protected void applyWhere(SQL sql, MaterialTypeExample example, boolean includeExamplePhrase) {\r\n if (example == null) {\r\n return;\r\n }\r\n \r\n String parmPhrase1;\r\n ...
[ "0.63097155", "0.6147727", "0.5807044", "0.56697", "0.5639103", "0.5596217", "0.55839896", "0.55307895", "0.551278", "0.5498659", "0.5486953", "0.5474359", "0.5473774", "0.5472899", "0.5457598", "0.5436036", "0.54284215", "0.5427362", "0.54259205", "0.53648025", "0.5355079", ...
0.6802641
0
nodeToken > nodeToken1 > "(" expression > Expression() nodeToken2 > var > Var() nodeToken3 > ")"
@Override public R visit(Bind n, A argu) { R _ret = null; n.nodeToken.accept(this, argu); n.nodeToken1.accept(this, argu); n.expression.accept(this, argu); n.nodeToken2.accept(this, argu); n.var.accept(this, argu); n.nodeToken3.accept(this, argu); retu...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void visit(Parenthesis arg0) {\n\t\t\n\t}", "@Override\r\n\tpublic boolean visit(VariableDeclarationFragment node) {\r\n//\t\toperator(node);\r\n\t\treturn true;\r\n\t}", "@Test(timeout = 4000)\n public void test135() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"d>...
[ "0.6203774", "0.61496", "0.61413896", "0.61411417", "0.61392367", "0.6138627", "0.61036795", "0.6098537", "0.6055641", "0.60496694", "0.59900326", "0.5987944", "0.5981362", "0.59678173", "0.596039", "0.59592193", "0.5954958", "0.59241855", "0.58619595", "0.5825888", "0.582105...
0.6037544
10
Created by Pooholah on 2017/5/14.
public interface IDownListener extends IHttpListener { /** * 这里和{@link IHttpService#setHttpListener(IHttpListener)}方法相对, * 因为只需网络请求json的时候,只需IHttpService持有引用IHttpListener引用, * 而现在下载模块中, * IHttpListener也需要持有IHttpService引用,因为后期需要控制暂停下载 * * @param httpService */ void setHttpServi...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "private stendhal() {\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "private voi...
[ "0.60464865", "0.5889273", "0.5725004", "0.5702868", "0.56368476", "0.56368476", "0.56270003", "0.5591439", "0.55788213", "0.552071", "0.55146825", "0.551236", "0.55112445", "0.5483477", "0.54674256", "0.54664505", "0.5463652", "0.5460591", "0.5455268", "0.54537624", "0.54490...
0.0
-1
Argument GET_URL added for test purpose.
static String sendGET(String GET_URL) throws IOException, JSONException { // Check URL is valid or not. if (isValidURL(GET_URL)) { try { URL obj = new URL(GET_URL); HttpURLConnection con = (HttpURLConnection) obj.openConnection(); con.setRequestMethod("GET"); con.setRequestProperty("User-Agent", ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void urlTest() {\n // TODO: test url\n }", "public abstract RestURL getURL();", "String getRequestURL();", "@Override\npublic void get(String url) {\n\t\n}", "public abstract String getURL();", "private String getURL() {\n\t\t// TODO : Generate URL\n\t\treturn null;\n\t}", "...
[ "0.68145573", "0.6750552", "0.6742725", "0.66809046", "0.65587795", "0.6500504", "0.64970905", "0.64477724", "0.6413562", "0.6399203", "0.6361063", "0.6359137", "0.6336229", "0.63357604", "0.62822825", "0.62796897", "0.6274809", "0.62664545", "0.6235636", "0.6231466", "0.6226...
0.58296144
69
Get specific field from response string.
private static String getList(String responseString) throws JSONException { JSONObject array = new JSONObject(responseString); return array.getString("url"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getField1123();", "public String getField(String field) throws RemoteException;", "public java.lang.Object get(int field$) {\n switch (field$) {\n case 0: return allowedByRobotsTXT;\n case 1: return Operation;\n case 2: return URL;\n case 3: return Exception;\n case 4: return...
[ "0.6428528", "0.6392302", "0.62486666", "0.62076616", "0.6136424", "0.610276", "0.60872513", "0.60762763", "0.606973", "0.6055856", "0.6008272", "0.60058093", "0.59982455", "0.5983788", "0.5974753", "0.5971868", "0.5970622", "0.5970044", "0.5955176", "0.5955016", "0.595266", ...
0.0
-1
Argument POST_URL added for test purpose.
static String sendPOST(String POST_URL) throws IOException { // Check URL is valid or not. if (isValidURL(POST_URL)) { try { //Initial connection URL obj = new URL(POST_URL); HttpURLConnection con = (HttpURLConnection) obj.openConnection(); con.setRequestMethod("POST"); con.setRequestProperty...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setPostUrl(String postUrl) {\r\n\t\tthis.postUrl = postUrl;\r\n\t}", "String postRequest(String url);", "public String getPostUrl() {\r\n\t\treturn postUrl;\r\n\t}", "public void setPostURL(String postURL) throws IllegalArgumentException {\n\t\tif (postURL == null) {\n\t\t\tthrow new IllegalArgum...
[ "0.6439835", "0.63851166", "0.6285272", "0.6275892", "0.6211784", "0.6053665", "0.60156846", "0.5997759", "0.59902054", "0.5971027", "0.5962683", "0.5952749", "0.5921427", "0.5898376", "0.58724356", "0.58671755", "0.58593726", "0.58435625", "0.5768631", "0.57517946", "0.57495...
0.5524939
34
deptSetPids(department); String a = getCurrentUserId(request);
@RequestMapping("/add") @ResponseBody public JSONObject addDepart(HttpServletRequest request , HttpServletResponse response, Map<String,Object>map){ JSONObject jo = new JSONObject(); try { // department.setSort(departmentService.max()); boolean index = departmentSe...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void assign (int departmentId, AssignEmployeeRequest empList);", "public int getDepartmentId() {\n return departmentId;\n }", "public Integer getDepartmentid() {\n return departmentid;\n }", "public Integer getDepartmentid() {\n return departmentid;\n }", "public String getDep...
[ "0.6249148", "0.62472117", "0.6219292", "0.6219292", "0.6175886", "0.6036689", "0.6036689", "0.5996165", "0.5991897", "0.5991897", "0.5984512", "0.59798235", "0.59798235", "0.59773004", "0.59656924", "0.5964449", "0.59336287", "0.59208846", "0.59205407", "0.59205407", "0.5920...
0.0
-1
TODO Autogenerated method stub
private long getUnsigned(byte b) { if(b>=0) return b; return 256+b; }
{ "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
jhipsterneedleentityaddfield JHipster will add fields here
public Long getId() { return id; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void addField(\n JavaSymbolName propertyName,\n JavaType propertyType,\n String columnName,\n String columnType,\n JavaType className,\n boolean id,\n boolean oneToOne, boolean oneToMany, boolean manyToOne, boolean manyToMany, String mapp...
[ "0.6276061", "0.6148875", "0.5844675", "0.5741845", "0.5558612", "0.5473992", "0.546377", "0.5459497", "0.5440748", "0.5436863", "0.5422006", "0.539207", "0.539035", "0.5388527", "0.5387396", "0.53417933", "0.53314424", "0.5328257", "0.5311626", "0.53010166", "0.52939516", ...
0.0
-1
jhipsterneedleentityaddgetterssetters JHipster will add getters and setters here
@Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof RisqueResiduel)) { return false; } return id != null && id.equals(((RisqueResiduel) o).id); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface CommonEntityMethod extends ToJson,GetFieldValue,SetFieldValue{\n}", "static void setPropertiesFromGetters(TableEntity entity, ClientLogger logger) {\n Class<?> myClass = entity.getClass();\n\n // Do nothing if the entity is actually a `TableEntity` rather than a subclass\n i...
[ "0.6292659", "0.6071854", "0.5625209", "0.557131", "0.55427444", "0.5501527", "0.5471344", "0.5432428", "0.54194385", "0.5379607", "0.5354896", "0.53309226", "0.5316765", "0.5293123", "0.52816546", "0.5280453", "0.5273637", "0.52729714", "0.52660954", "0.5252347", "0.5250309"...
0.0
-1
TODO Autogenerated method stub
@Override public void openChest() { }
{ "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 closeChest() { }
{ "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
if want to whitelist a specific item only, do here.
@Override public boolean isItemValidForSlot(int i, ItemStack itemstack) { return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setWhitelistEnabled(Boolean whitelistEnabled) {\n this.whitelistEnabled = whitelistEnabled;\n }", "public boolean canAttackWithItem() {\n/* 253 */ return false;\n/* */ }", "public boolean canAttackWithItem() {\n/* 215 */ return false;\n/* */ }", "public boolean isAll...
[ "0.6248016", "0.61343664", "0.6074197", "0.5848661", "0.5835259", "0.57836336", "0.57803637", "0.57701963", "0.5719005", "0.5564393", "0.5556818", "0.5552652", "0.54830515", "0.5479773", "0.5462622", "0.54556733", "0.5449016", "0.5438992", "0.5432249", "0.5416979", "0.5404217...
0.0
-1
Patient fPatient = hm.getFirstPatient(); System.out.println("Patient name: " + fPatient.getName());
private void launch() { boolean running = true; while (running) { System.out.println("What would you like to do?"); System.out.println("1 - Add a new patient file"); System.out.println("2 - Delete an existing patient file"); System.out.println("0 - Exit"); System.out.println("\n >...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "PatientInfo getPatientInfo(int patientId);", "public String getPatientName()\n {\n return patientName;\n }", "@SystemAPI\n\tPatient getPatient();", "Reference getPatient();", "public String getPatientName(){\n\t\treturn patientName;\n\t}", "public String getPatientName() {\n return pa...
[ "0.70880944", "0.69417834", "0.6829831", "0.6791768", "0.67163694", "0.6635807", "0.65408605", "0.65408605", "0.64878803", "0.6304059", "0.62835336", "0.62827206", "0.6269275", "0.62626475", "0.6260565", "0.6244528", "0.62435263", "0.6221778", "0.6200935", "0.61970365", "0.61...
0.0
-1
Initializes relevant computation for a whole view model.
public static boolean initRelevantForWholeModel(View view, boolean computeDependencies) { boolean relevantChange = false; // filer settings which has their's feature filtered // check features in LeafGroup List<EFeature> featuresInView = view.getSharedFeatures(); for (EFeature feature : featuresInVie...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void initView() {\n\t\t view.initView(model);\t \n\t }", "public void init() {\n\t\tdropViewCollections();\n\t\tbuildViewCollections();\n\t\tthis.populateViewCollections();\n\t}", "private void viewInit() {\n }", "private void initialize() {\n\t\tinitializeModel();\n\t\tinitializeBoundary();\n\t\ti...
[ "0.71200514", "0.6960321", "0.69212323", "0.6821628", "0.680424", "0.67914146", "0.6788955", "0.6683592", "0.65921926", "0.6548479", "0.6512675", "0.6507513", "0.64668953", "0.6447552", "0.64376754", "0.6436183", "0.6434798", "0.6418612", "0.63958406", "0.63832647", "0.635849...
0.0
-1
/ Codificar un correo electronico
public static String getEmailEncoded(String email){ String preKey = email.replace("_","__"); return preKey.replace(".","_"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getCorreo() {return correo;}", "public String getCorreo() {\r\n return correo;\r\n }", "public String getCorreo() {\n return correo;\n }", "public void setCorreo(String correo){\r\n this.correo = correo;\r\n }", "public void setCorreo(String correo) {this.correo ...
[ "0.6703171", "0.66235495", "0.6572727", "0.6411123", "0.6289444", "0.6217416", "0.6205857", "0.6196471", "0.61691374", "0.6120717", "0.61115324", "0.6075646", "0.6029657", "0.5973239", "0.5954414", "0.58896965", "0.58681405", "0.5815309", "0.57912654", "0.5786788", "0.5768779...
0.0
-1
Sends a message to the given player ID, on the given space.
private void sendMessage(Space jSpace, int playerID, String msg) throws InterruptedException { sendHeader(jSpace, playerID, ServerCommands.message); jSpace.put(playerID, msg); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void sendMessage(String msg) {\n\t\tplayer.sendMessage(msg);\n\t}", "private void sendHeader(Space jSpace, int playerID, ServerCommands cmd) throws InterruptedException {\n\t\tjSpace.put(cmd, playerID);\n\t}", "private void sendMessage(CommandSender p, String msg) {\n\t\tif (p instanceof Player) {\n\t\t...
[ "0.64297837", "0.6275708", "0.6105716", "0.60553765", "0.6013428", "0.5978224", "0.59272176", "0.5903295", "0.58749866", "0.5844726", "0.58334124", "0.58275163", "0.58146095", "0.5810678", "0.57528526", "0.5744694", "0.5734996", "0.57296956", "0.5727574", "0.57228863", "0.571...
0.7517715
0
Sends the standard header for communication with the client. Sends the ServerCommand to the player on the jSpace
private void sendHeader(Space jSpace, int playerID, ServerCommands cmd) throws InterruptedException { jSpace.put(cmd, playerID); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void sendCommandToClient(ServerCommand serverCommand) {\r\n \t\tCollection<RoMClient> clientsToSend = this.clients.getClients();\r\n \r\n \t\tthis.sendCommandToClient(clientsToSend, serverCommand);\r\n \t}", "public void send(String command)\n {\n if (connected) { \n writer.println(co...
[ "0.6556827", "0.6451441", "0.63403267", "0.6333824", "0.61351997", "0.61240035", "0.61009264", "0.6080469", "0.6036666", "0.6031068", "0.5923978", "0.59131396", "0.5799459", "0.5703287", "0.56866693", "0.56866395", "0.5675292", "0.5645296", "0.5619239", "0.5602498", "0.560020...
0.7317011
0
here you can get the extras you passed in when creating the alarm
public void onReceive(Context context, Intent intent) { Bundle extras = intent.getExtras(); String flags = extras != null ? extras.getString(REMINDER_BUNDLE) : "nothing returned"; if (Lullabye.debug) Log.d(tag,"alarm received "+flags+" intent "+intent); if (flags.equals("alarm")) { if (Lullabye.deb...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Alarm_Msg(Context context, Bundle extras){\n /*AlarmManager alarmMgr =\n (AlarmManager)context.getSystemService(Context.ALARM_SERVICE);\n Intent intent = new Intent(context, Alarm_Msg.class);\n intent.putExtra(REMINDER_BUNDLE, extras);\n PendingIntent pendingIntent...
[ "0.68789536", "0.6454668", "0.62533337", "0.62268937", "0.6175574", "0.60304993", "0.59979236", "0.59830445", "0.5910246", "0.58280444", "0.5818592", "0.5787539", "0.5757142", "0.5753588", "0.574286", "0.5734379", "0.5698514", "0.5674794", "0.5670967", "0.56584257", "0.565478...
0.59400785
8
/ When I send a GET request to REST API URL Then HTTP Status Code should be 200 And Response format should be "application/json" And "employee_name" should be "Ashton Cox" And "employee_salary" should be 86000 And "employee_age" should be 66 And "status" should be "success" And "message" should be "Successfully! Record...
@Test public void getPractice() { //1.Step: Set Endpoint by using pathParam() or queryParam() spec04.pathParams("employee", "employee", "id", 3); //2.Step: Store expected data by using Pojo Data data = new Data(3, "Ashton Cox", 86000, 66, ""); PojoPractice03 expectedData = new PojoPractice03...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n //1. adim URL i olusturmak\n public void get01(){\n spec03.pathParam(\"employeePath\",\"employees\");\n\n // 2. adim test datalarini olusturmak\n\n // 3. adim Request olusturma\n Response response = given().\n spec(spec03).\n when().\n ...
[ "0.7399467", "0.7350815", "0.7120112", "0.7023286", "0.69951046", "0.6981241", "0.6949683", "0.69256926", "0.6873746", "0.6786718", "0.6677579", "0.66737133", "0.6616488", "0.65414256", "0.65169555", "0.651464", "0.6493486", "0.6489301", "0.6456364", "0.6441954", "0.6437493",...
0.7246649
2
Adds the specified string to this set if it is not already present. More formally, adds the specified string s to this set if the set contains no element s2 such that s.equals(s2). If this set already contains the element, the call leaves the set unchanged and returns false.
boolean add(String s, int depth) { // First case: we are at the end of the string and this is the correct node if(depth >= s.length() || (s.charAt(depth) == character.get()) && depth == s.length() - 1) { AtomicBoolean result = absent; absent.set(false); return result.get(); } // Second case: t...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean add(String s) {\n\t\tif (s != \"\") return start.get().add(s, 0);\n\t\tAtomicBoolean result = emptyAbsent;\n\t\temptyAbsent.set(false);\n\t\treturn result.get();\n\t}", "public boolean addString(String string) {\r\n\t\tboolean added = false;\r\n\t\tif (string != null && !string.trim().equals(\"\")...
[ "0.71908844", "0.7039032", "0.6625445", "0.6563639", "0.65617925", "0.6416976", "0.63023007", "0.6254019", "0.6158007", "0.6104158", "0.60371405", "0.60277474", "0.6025304", "0.60070294", "0.59781986", "0.59480494", "0.58977646", "0.58891636", "0.58848125", "0.58830404", "0.5...
0.52109694
69
Adds the specified string to this set if it is not already present. More formally, adds the specified string s to this set if the set contains no element s2 such that s.equals(s2). If this set already contains the element, the call leaves the set unchanged and returns false.
public boolean add(String s) { if (s != "") return start.get().add(s, 0); AtomicBoolean result = emptyAbsent; emptyAbsent.set(false); return result.get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean addString(String string) {\r\n\t\tboolean added = false;\r\n\t\tif (string != null && !string.trim().equals(\"\")) {\r\n\t\t\tif (this.strings == null) {\r\n\t\t\t\tthis.strings = new HashSet<String>();\r\n\t\t\t}\r\n\t\t\tString stringTrimmedLowercase = string.trim().toLowerCase();\r\n\t\t\tadded =...
[ "0.7037065", "0.6623844", "0.6562001", "0.6559328", "0.64150095", "0.62998223", "0.6251928", "0.6157978", "0.61029726", "0.60342866", "0.60255235", "0.6023788", "0.60057694", "0.59776765", "0.59468985", "0.5897853", "0.5888279", "0.5883316", "0.5880542", "0.58181673", "0.5810...
0.71894795
0
Returns a sequence that creates an object of type compatible with the given class. Wraps the object in a list, and returns the list. CURRENTLY, will return a sequence (i.e. a nonempty list) only if cls is an array.
public static SimpleList<Sequence> createSequence(ComponentManager components, ConcreteType type) { final int MAX_LENGTH = 7; if (!type.isArray()) { return new ArrayListSimpleList<Sequence>(); } ConcreteArrayType arrayType = (ConcreteArrayType) type; ConcreteType elementType = arrayType.getElementType()...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@SuppressWarnings(\"unchecked\")\n protected static <V> V[] toVarArgs(List<V> list, Class<V> cls) {\n return list != null ? list.toArray((V[]) Array.newInstance(cls, list.size())) : (V[]) null;\n }", "public static List m149887a(Class cls) {\n if (cls == null) {\n return null;\n }\n...
[ "0.6127863", "0.6109539", "0.6076781", "0.59497607", "0.5882027", "0.58503264", "0.58241993", "0.5707163", "0.5651926", "0.56194353", "0.5595795", "0.55236906", "0.5499144", "0.54679185", "0.5420846", "0.53340805", "0.5308286", "0.5274605", "0.5227735", "0.52228725", "0.52153...
0.4809414
57
Creates a sequence that builds an array of the given element type using sequences from the given list of candidates.
private static Sequence createAnArray(SimpleList<Sequence> candidates, ConcreteType elementType, int length) { int totStatements = 0; List<Sequence> inputSequences = new ArrayList<>(); List<Integer> variables = new ArrayList<>(); for (int i = 0; i < length; i++) { Sequence inputSeq = candidates.get(Randomnes...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static SimpleList<Sequence> createSequence(ComponentManager components, ConcreteType type) {\n\n\t\tfinal int MAX_LENGTH = 7;\n\n\t\tif (!type.isArray()) {\n\t\t\treturn new ArrayListSimpleList<Sequence>();\n\t\t}\n\n\t\tConcreteArrayType arrayType = (ConcreteArrayType) type;\n\t\tConcreteType elementType =...
[ "0.57560486", "0.55131423", "0.5456273", "0.51600665", "0.51433945", "0.49546978", "0.48682642", "0.48068622", "0.48053443", "0.4797916", "0.4782492", "0.47670463", "0.47522965", "0.4736261", "0.46714914", "0.46450067", "0.46068034", "0.45895132", "0.4588369", "0.45728445", "...
0.7294399
0
Starts up the internal Agenda Object. Disables unwanted inbuilt functions of agenda. Adds the agenda Control into the scene.
private void initAgenda() { agenda = new Agenda(); appointmentGroup = new Agenda.AppointmentGroupImpl().withStyleClass(STYLE_CLASS); // this actionCallBack is called when the user double clicks on an appointment in the display // Opens a dialog containing the details of the clicked even...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Agenda() {\n initComponents();\n \n Deshabilitar();\n LlenarTabla();\n \n }", "public void start() {\n enableEvents = true;\n reset();\n }", "@Override\r\n\t public void onCreate() {\n\t super.onCreate();\r\n\t ACRA.init(this);\r\n\t aaw.start();...
[ "0.6713311", "0.6416886", "0.63242686", "0.6003997", "0.5967144", "0.5872118", "0.58718956", "0.5863063", "0.58628964", "0.58309925", "0.58243805", "0.57841235", "0.57671326", "0.575263", "0.5706128", "0.5702656", "0.56742084", "0.56670594", "0.56528467", "0.56528467", "0.565...
0.69854105
0
Creates a new window to display root. CalendarDisplay will block until the new window is closed.
private void displayPopUp(Parent root) { Scene scene = new Scene(root, 300, 200); Stage stage = new Stage(); stage.initModality(Modality.APPLICATION_MODAL); stage.setScene(scene); stage.showAndWait(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void createWindow();", "private static void createWindow(){\n try{\n\n displayMode = new DisplayMode(1600 ,900);\n Display.setDisplayMode(displayMode);\n\n /*\n Display.setDisplayMode(getDisplayMode(1920 ,1080,false));\n if(displayMode.isFullscreenCap...
[ "0.6779705", "0.6636302", "0.66037875", "0.6576167", "0.6341376", "0.63357604", "0.62942344", "0.62607324", "0.6127108", "0.60546356", "0.603192", "0.6016436", "0.6014654", "0.59515655", "0.58923984", "0.5867363", "0.58568835", "0.58364844", "0.5817632", "0.581173", "0.580844...
0.57966393
22
Sync the list of CalendarEvents to the calendar display.
private void setConnections(ObservableList<CalendarEvent> calendarEventList) { // populate the calendar // setting the appointment group applies the correct CSS to it calendarEventList.forEach((calendarEvent -> calendarEvent.setAppointmentGroup(appointmentGroup))); agenda.appointments()....
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void refresh(){\n\t\tlong d = calendar.getDate();\n\t\tDate todayDate = new Date(d);\n\t\tdateText.setText(\"Events for \" + todayDate);\n\t\tArrayList<String> events = new ArrayList<String>();\n\t\t\n\t\tfor (int i =0; i < 5; i++){\n\t\t\tevents.add(\"Sample event \" + i + \" for \" + todayDate);\n\t\t}\n\...
[ "0.61922646", "0.6084261", "0.5930331", "0.58071715", "0.57671237", "0.5715787", "0.5703122", "0.5697259", "0.5692788", "0.5645479", "0.56288356", "0.5598522", "0.5584245", "0.5568958", "0.5552112", "0.5535976", "0.5515396", "0.55134803", "0.5496196", "0.5490261", "0.5472444"...
0.6387455
0
Forward changes in calendar event list to agenda
private void forwardChanges(ListChangeListener.Change<? extends CalendarEvent> c) { while (c.next()) { if (c.wasRemoved()) { for (CalendarEvent removedEvent : c.getRemoved()) { agenda.appointments().remove(removedEvent); } } ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void onAddToCalendarSuccess() {\r\n database.eventDao().update(event);\r\n updateSpeedDialActionItems();\r\n showToast(getString(R.string.event_calendar_add_event_sucess), Toast.LENGTH_LONG);\r\n }", "private void setConnections(ObservableList<CalendarEvent> calendarEventList) {\n...
[ "0.62929523", "0.6137652", "0.6068539", "0.59975815", "0.59485304", "0.5872978", "0.5867717", "0.5856448", "0.5818997", "0.57963544", "0.5749044", "0.5685999", "0.56818336", "0.56785995", "0.5669453", "0.5658427", "0.5653476", "0.56494683", "0.5608642", "0.5600747", "0.560035...
0.7407343
0
Set up the controls for interacting with the calendar display. The calendarDisplay must be in focus.
private void setControls() { calendarDisplayBox.addEventFilter(KEY_PRESSED, event -> { switch (event.getCode()) { case LEFT: logger.info("LEFT arrow Pressed."); displayPreviousWeek(); indicateCalendarDisplayTimeChanged(); br...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void init() {\n initComponents();\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n ...
[ "0.71137154", "0.69997793", "0.68698996", "0.6507251", "0.6420985", "0.6392001", "0.6205943", "0.61548394", "0.6139449", "0.61219305", "0.6097189", "0.60959834", "0.60470366", "0.6043299", "0.6031358", "0.6017501", "0.6017046", "0.60127914", "0.5997345", "0.59463865", "0.5915...
0.7284454
0
Raises event to event center of change in display time Depends on the current date, not on the first date displayed in the calendar
private void indicateCalendarDisplayTimeChanged() { raise(new CalendarDisplayTimeChangedEvent(currentDateTime)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t/**\n\t * Defines the look of the day view grid (the division of hours and events throughout the day) \n\t * @param c GregorianCalendar holding the year to be drawn\n\t * @param d the data model holding event information \n\t * @param g2 the graphics package\n\t * @param container the container that w...
[ "0.6046173", "0.6017573", "0.57252747", "0.5688353", "0.56569946", "0.56533706", "0.56050706", "0.5583139", "0.55766815", "0.556679", "0.55519897", "0.5538187", "0.5514028", "0.54778874", "0.5475867", "0.5460604", "0.54474115", "0.543266", "0.542551", "0.5420546", "0.54078656...
0.68017083
0
Calendar will display the period containing the specified LocalDateTime
@Subscribe private void handleJumpToDateTimeEvent(JumpToDateTimeEvent event) { logger.info(LogsCenter.getEventHandlingLogMessage(event)); setDisplayedDateTime(event.targetLocalDateTime); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setDateTime(java.util.Calendar param) {\n this.localDateTime = param;\n }", "public LocalDateTime getEndDate();", "List<Employee> findByJoiningDateBetween(LocalDateTime localDateTime, LocalDateTime localDateTime2);", "public LocalDateTime getStartDate();", "public boolean isDu...
[ "0.56207466", "0.54947585", "0.5480223", "0.54785436", "0.5129203", "0.51247096", "0.5090213", "0.50780153", "0.5037491", "0.502847", "0.5018185", "0.5001471", "0.49851692", "0.4981285", "0.49671954", "0.4955905", "0.49499452", "0.49277878", "0.49125066", "0.4903787", "0.4891...
0.0
-1
Calendar will display the period containing the selected CalendarEvent
@Subscribe private void handleCalendarPanelSelectionChangedEvent(CalendarPanelSelectionChangedEvent event) { logger.info(LogsCenter.getEventHandlingLogMessage(event)); setDisplayedDateTime(event.newSelection.getStartLocalDateTime()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void main(String[] args) {\n\n CalendarEvent b = new CalendarEvent(\"assignment2\",29,11,2014,\"14:00\",\"20:00\",\"Test1\");\n\n CalendarEvent c = new CalendarEvent(\"assignment3\",27,2,2010,\"2:00\",\"20:00\",\"Test2\");\n\n CalendarEvent d = new CalendarEvent(\"assignment4\",1...
[ "0.60074204", "0.5673788", "0.55928934", "0.55902594", "0.55418026", "0.5539534", "0.55014396", "0.5480131", "0.54572207", "0.5445291", "0.5424458", "0.54184043", "0.541226", "0.5406487", "0.5403668", "0.53828967", "0.53827435", "0.5376739", "0.5376739", "0.53763634", "0.5367...
0.5140424
51
Navigate by setting agenda's displayed DateTime.
public void displayNextWeek() { setDisplayedDateTime(currentDateTime.plusWeeks(1)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void actualDateSwitchAction() {\n\t\tdateToDisplay = Utils.removeTime(Calendar.getInstance().getTime());\n\t\tshowAnimalList(dateToDisplay);\n\t\tanimalsListPanel.switchToToday();\n\t}", "public void agendaView(Date f, Date t, GregorianCalendar c) {\n\t\tselectedView.printAgendaView(f, t, c);\n\t}", "@S...
[ "0.6111081", "0.60264856", "0.59550864", "0.5737722", "0.5734638", "0.5698471", "0.56556284", "0.56413686", "0.55570686", "0.5480796", "0.5433956", "0.54095715", "0.5404924", "0.53970003", "0.53902286", "0.53791773", "0.53752434", "0.5365051", "0.53267276", "0.5325854", "0.53...
0.0
-1
For internal use only.
public FormPropertiesImpl(final HeterogMap<String> properties) { if (properties == null) throw new IllegalArgumentException("formProperties cannot be null, only empty"); this.properties = HeterogCollections.unmodifiableMap(properties); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void mo51373a() {\n }", "@Override\n public void perish() {\n \n }", "private stendhal() {\n\t}", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n prote...
[ "0.60378414", "0.5818718", "0.5799973", "0.57847553", "0.57847553", "0.57847553", "0.57847553", "0.57847553", "0.57847553", "0.5729892", "0.57269335", "0.57215136", "0.5706206", "0.5684756", "0.5680844", "0.5680031", "0.56061506", "0.5588196", "0.5588196", "0.55726135", "0.55...
0.0
-1
/ compiled from: RetryScheduler
public interface b { void a(DownloadInfo downloadInfo, long j, boolean z, int i); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void doRetry();", "public _cls_cs_retries0() {\r\n}", "boolean allowRetry(int retry, long startTimeOfExecution);", "protected abstract void scheduler_init();", "public interface RetryCallback {\n void retry();\n}", "int getSleepBeforeRetry();", "public interface RxSchedulerProvider {\n\n\n Schedu...
[ "0.64505726", "0.621131", "0.6209611", "0.6141387", "0.6137476", "0.60252994", "0.6023833", "0.5968432", "0.5948564", "0.588991", "0.58733916", "0.5820209", "0.5810589", "0.57407784", "0.5738108", "0.5729408", "0.5729408", "0.5729408", "0.572242", "0.572242", "0.572242", "0...
0.0
-1
/ access modifiers changed from: private
public void a(int i2, boolean z) { if (this.g > 0) { long currentTimeMillis = System.currentTimeMillis(); synchronized (this) { if (!z) { if (currentTimeMillis - this.f < 10000) { return; } } ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private stendhal() {\n\t}", "@Override\n protected void prot() {\n }", "private Rekenhulp()\n\t{\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void func_104...
[ "0.70451087", "0.66481936", "0.66338545", "0.6534467", "0.6533057", "0.63756114", "0.6368523", "0.63063055", "0.6244554", "0.62261415", "0.62046665", "0.61776316", "0.6142759", "0.6131381", "0.6131381", "0.61274433", "0.610919", "0.610797", "0.60792845", "0.6062989", "0.60593...
0.0
-1
/ access modifiers changed from: private
public void a(int i2, int i3, boolean z) { a aVar; boolean z2; p reserveWifiStatusListener; boolean z3; Context context = this.b; if (context != null) { synchronized (this.d) { aVar = this.d.get(i2); if (aVar != null) { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private stendhal() {\n\t}", "@Override\n protected void prot() {\n }", "private Rekenhulp()\n\t{\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void func_104...
[ "0.70451087", "0.66481936", "0.66338545", "0.6534467", "0.6533057", "0.63756114", "0.6368523", "0.63063055", "0.6244554", "0.62261415", "0.62046665", "0.61776316", "0.6142759", "0.6131381", "0.6131381", "0.61274433", "0.610919", "0.610797", "0.60792845", "0.6062989", "0.60593...
0.0
-1
/ access modifiers changed from: private
public int g() { try { if (this.h == null) { this.h = (ConnectivityManager) this.b.getApplicationContext().getSystemService("connectivity"); } NetworkInfo activeNetworkInfo = this.h.getActiveNetworkInfo(); if (activeNetworkInfo != null) { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private stendhal() {\n\t}", "@Override\n protected void prot() {\n }", "private Rekenhulp()\n\t{\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void func_104...
[ "0.7044735", "0.66479045", "0.6633232", "0.65343255", "0.65324754", "0.63757193", "0.6367789", "0.63065237", "0.6244171", "0.622592", "0.62049985", "0.61766696", "0.614237", "0.6130815", "0.6130815", "0.6127483", "0.6108821", "0.61083317", "0.607937", "0.60626495", "0.6058102...
0.0
-1
TODO Autogenerated method stub
@Override public String toString() { return label; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
Create a list that keeps the enabled transitions.
public static List<Instance<Transition>> getEnabledTransitions(List<Instance<Transition>> TransitionList, HighLevelSimulator simulator ) throws Exception { List<Instance<Transition>> EnabledTransitions = new ArrayList<Instance<Transition>>(); // Check if every transition is enabled. If it is, add to the Enab...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void setTransitionsList () {\n for (int i = 0; i < dfaStates.size(); i++) {\n List<State> currStateList = dfaStates.get(i);\n int currStateListID = dfaStatesWithNumbering.get(currStateList);\n State initialState = new State(currStateListID, true);\n\n Hash...
[ "0.65255344", "0.60637754", "0.60257447", "0.59787804", "0.59224415", "0.58395123", "0.5789896", "0.5623439", "0.5611274", "0.5491049", "0.53897125", "0.5383709", "0.5383157", "0.5375075", "0.5359357", "0.532815", "0.52747166", "0.5259304", "0.52557534", "0.52172023", "0.5216...
0.65106237
1
This method is currently not used and needs to be refactored.
public static List<Instance<Transition>> GetFireableTransitions(List<Instance<Transition>> TransitionList, HighLevelSimulator simulator) throws Exception { // Get the enabled transitions List<Instance<Transition>> EnabledTransitions = getEnabledTransitions(TransitionList, simulator); // Create list that ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tprotected void interr() {\n\t}", "@Override\n public void func_104112_b() {\n \n }", "private stendhal() {\n\t}", "@Override\n protected void initialize() {\n }", "...
[ "0.57449126", "0.57356226", "0.56334263", "0.5491364", "0.53382736", "0.53221375", "0.53221375", "0.53221375", "0.53221375", "0.53221375", "0.53221375", "0.5296962", "0.5288827", "0.52848834", "0.52369237", "0.52335393", "0.52229536", "0.5212404", "0.51888674", "0.5176437", "...
0.0
-1
Find a place by its name.
public static Instance<PlaceNode> findPlaceByName(String name, List<Instance<PlaceNode>> allPlaces) { for (Instance<PlaceNode> p : allPlaces) { if (p.toString().equals(name)) { return p; } } throw new java.lang.Error("No place with this name could be found."); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private Place getPlace(String identifierPlace) {\n\t\tPlace place = null;\n\t\tfor(Place p: places ){\n\t\t\tif(p.getName().equals(identifierPlace)){\n\t\t\t\tplace = p;\n\t\t\t}\n\t\t}\n\t\treturn place;\n\t}", "Object find(String name);", "@Override\n\tpublic Place find(Place obj) {\n\t\treturn null;\n\t}", ...
[ "0.71423227", "0.67562336", "0.6499911", "0.6348563", "0.618066", "0.6135879", "0.61156976", "0.6115066", "0.61135304", "0.6056822", "0.60437286", "0.6017785", "0.6000121", "0.59950036", "0.5986863", "0.5961182", "0.59559196", "0.5942112", "0.5925631", "0.585176", "0.58390224...
0.7274818
0
Find a transition by its name.
public static Instance<Transition> findTransitionByName(String name, List<Instance<Transition>> allTransitions) { for (Instance<Transition> t : allTransitions) { if (t.toString().equals(name)) { return t; } } throw new java.lang.Error("No transition with this name could be found."); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static Transition searchByName(String name, gov.nasa.arc.l2tools.DataObject object) {\n\treturn (Transition)object.searchByName(Transition.class,name);\n}", "private Transition findTransitionByNameAndEvent(PetriNet sourcePN,\n\t\t\tString name, String event) {\n\t\tTransition noTransition = null;\n\t\t// ...
[ "0.7668824", "0.7316231", "0.62535155", "0.6228848", "0.5978314", "0.593294", "0.59175146", "0.584442", "0.5815203", "0.57967156", "0.5764938", "0.5756016", "0.5737839", "0.5687741", "0.56577855", "0.55871266", "0.55689985", "0.5551039", "0.551732", "0.54705566", "0.54630727"...
0.7433518
1
TODO Autogenerated method stub
public void display() { System.out.println("This program calculates simpleinterest"); calculateinterest(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
the collection can be modified from code outside of the getter and setter//
public void setColumns(List<String> columns){ this.columns=columns; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected abstract Collection createCollection();", "public void setCollection(ArrayList<Fonds> collection){\r\n this.collection = collection;\r\n }", "protected List getList() {\n/* 88 */ return (List)getCollection();\n/* */ }", "protected Collection<V> newCollection() {\r\n \treturn...
[ "0.65576696", "0.65506095", "0.65418094", "0.65335566", "0.65318495", "0.6515595", "0.6489444", "0.64642715", "0.64464384", "0.64343166", "0.63451535", "0.63277084", "0.6314361", "0.62466365", "0.62351453", "0.62140524", "0.6186228", "0.61770844", "0.6149636", "0.6149567", "0...
0.0
-1
The client side stub for the RPC service.
@RemoteServiceRelativePath("retrieveQuest") public interface QuestRetrieverService extends RemoteService { ArrayList<QuestEntity> retrieveQuests(); QuestEntity retrieveAQuest(long questId); String addDummyQuest();//For testing delete later }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Stub createStub();", "IMember getServerStub();", "public interface RpcClient {\r\n\r\n\t/**\r\n\t * Initializes this RpcClient\r\n\t */\r\n\tpublic void initialize();\r\n\t\r\n\t/**\r\n\t * Sends the specified object and waits for a response message (or) the specified timeout to occur. Keeps the connection ope...
[ "0.6761841", "0.66981655", "0.6557841", "0.6322378", "0.6141004", "0.6139931", "0.613958", "0.6134983", "0.607242", "0.6024622", "0.6014603", "0.5957268", "0.59519225", "0.5934069", "0.5934069", "0.5934069", "0.58885646", "0.5852263", "0.58356446", "0.5830561", "0.582439", ...
0.0
-1
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
@SuppressWarnings("unchecked") // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents private void initComponents() { buttonGroup1 = new javax.swing.ButtonGroup(); jRadioButtonMenuItem1 = new javax.swing.JRadioButtonMenuItem(); jRadioButtonMenuItem2 = ...
{ "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.73208135", "0.7291972", "0.7291972", "0.7291972", "0.7287118", "0.72494483", "0.7214677", "0.72086734", "0.7197058", "0.71912485", "0.7185818", "0.71596724", "0.71489036", "0.7094215", "0.7082007", "0.70579666", "0.6988024", "0.6978225", "0.6955616", "0.6955434", "0.694586...
0.0
-1
End of variables declaration//GENEND:variables
private void teaInfoAddActionPerformed(ActionEvent evt) throws SQLException, Exception {//添加老师新信息 //throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. String teaID = this.teaIDText.getText(); String teaName = this.teaNa...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void lavar() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}", "public void mo38117a() {\n }", "@Override\r\n\tpublic void initVariables() {\n\t\t\r\n\t}", "private void assignment() {\n\n\t\t\t}", "private void kk12() {\n\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\n pu...
[ "0.6359434", "0.6280371", "0.61868024", "0.6094568", "0.60925734", "0.6071678", "0.6052686", "0.60522056", "0.6003249", "0.59887564", "0.59705925", "0.59680873", "0.5967989", "0.5965816", "0.5962006", "0.5942372", "0.5909877", "0.5896588", "0.5891321", "0.5882983", "0.5881482...
0.0
-1
throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
private void resetTeaInfo() { this.teaIDText.setText(""); this.teaNameText.setText(""); this.teaCollegeText.setText(""); this.teaDepartmentText.setText(""); this.teaPhoneText.setText(""); this.teaInterestText.setText(""); this.teaManRadioButton.setSelected(true); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void habilitar() {\n throw new UnsupportedOperationException(\"Not supported yet.\"); //To change body of generated methods, choose Tools | Templates.\n }", "@Override\r\n\t\tpublic void action()\r\n\t\t{\r\n// throw new UnsupportedOperationException(\"Not supported yet.\");\r\n\t\t}...
[ "0.7744652", "0.73749053", "0.6966527", "0.6909395", "0.67964953", "0.6773559", "0.6771067", "0.6654384", "0.66389716", "0.6624263", "0.6609339", "0.6609339", "0.65914184", "0.6586954", "0.6555998", "0.6499744", "0.6462636", "0.64495736", "0.64296776", "0.6419897", "0.6382666...
0.0
-1
Properties object is created
public static void main(String args[]) throws IOException { Properties property = new Properties(); OutputStream out = null; BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); System.out.println("Enter your id:"); int id = Integer.parseInt(br.readLine()); System.out.println("Enter ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Properties(){\n\n }", "public void setupProperties() {\n // left empty for subclass to override\n }", "public TestProperties() {\n\t\tthis.testProperties = new Properties();\n\t}", "Property createProperty();", "public void initProperties() {\n propAssetClass = addProperty(As...
[ "0.72977835", "0.7218928", "0.7061623", "0.6792072", "0.6721098", "0.6720539", "0.67103094", "0.6706953", "0.66700774", "0.66696393", "0.66588145", "0.66326755", "0.65839636", "0.6572565", "0.6566686", "0.65655696", "0.65621984", "0.6559209", "0.6558311", "0.6554002", "0.6527...
0.0
-1
Lists all win turns matching the given predicate
public List<Integer> getWinTurns(Predicate<GameResult> filter) { return results.stream() .filter(filter) .map(GameResult::getEndTurn) .distinct() .sorted() .collect(Collectors.toList()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Collection<I_GameState> getRepeatStates(final BiPredicate<I_GameState, I_GameState> predicate);", "List genCaps() {\n\tList ret = new ArrayList();\n\n\tif (side == LIGHT) {\n\tlong moves = ((pawnBits[LIGHT] & 0x00fefefefefefefeL) >> 9)\n\t& pieceBits[DARK];\n\twhile (moves != 0) {\n\tint theMove = getLBit(moves)...
[ "0.5512035", "0.49490735", "0.49323037", "0.4866966", "0.48111832", "0.4804688", "0.47745532", "0.47217745", "0.4717708", "0.46385965", "0.46298826", "0.46177444", "0.4617444", "0.4613992", "0.46086136", "0.46046305", "0.459061", "0.45891994", "0.45715937", "0.45632327", "0.4...
0.7118682
0
Counts the number of game results matching the given predicate
public long count(Predicate<GameResult> filter) { return results.stream() .filter(filter) .mapToInt(GameResult::getCount) .sum(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getResultsCount();", "int getResultsCount();", "int findCount();", "public int numMatches();", "public int count(T instance, M matchCondition);", "int getNumberOfResults();", "int countByExample(ScheduleCriteria example);", "Object countTAlgmntBussRules(SearchFilter<TAlgmntBussRule> searchFilter)...
[ "0.66376555", "0.66376555", "0.66050357", "0.6571496", "0.65405685", "0.6425797", "0.6235993", "0.6214105", "0.62072235", "0.6194532", "0.61670285", "0.61660683", "0.6165504", "0.6156255", "0.6151075", "0.612462", "0.61178243", "0.611141", "0.6067006", "0.60612375", "0.605704...
0.7703466
0
Computes average win turn among game results matching the given predicate
public Average getAverageWinTurn(Predicate<GameResult> filter) { long sum = results.stream() .filter(filter) .mapToLong(result -> result.getEndTurn() * result.getCount()) .sum(); long count = count(filter); double avg = (dou...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void calculateAverage() {\n\n if (turn == 1) {\n p1.setTotalScore(p1.getTotalScore() + turnScore);\n\n p1.setTotalDarts(p1.getTotalDarts() + 1);\n\n float p1Average = p1.getTotalScore() / p1.getTotalDarts();\n p1.setAverage(p1Average);\n\n } else if ...
[ "0.6315689", "0.6079832", "0.593474", "0.5844353", "0.58284974", "0.57730424", "0.5708726", "0.5637383", "0.55643934", "0.5517709", "0.55023086", "0.54433507", "0.54214543", "0.5416134", "0.5401831", "0.53984964", "0.53979", "0.53696144", "0.53611493", "0.53167194", "0.530746...
0.77807194
0
Lists all mulligans taken matching the given predicate
public List<Integer> getMulligans(Predicate<GameResult> filter) { return results.stream() .filter(filter) .map(GameResult::getMulligans) .distinct() .sorted() .collect(Collectors.toList()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private List<Card> chooseMulligan() {\n return this.b.getPlayer(this.b.getLocalteam()).getHand().stream()\n .filter(c -> c.finalStats.get(Stat.COST) > 3 && c.finalStats.get(Stat.SPELLBOOSTABLE) == 0)\n .collect(Collectors.toList());\n }", "static List<List<Card>> multiply(...
[ "0.51886815", "0.51469195", "0.4920031", "0.48541135", "0.47195193", "0.47003505", "0.4658819", "0.46122587", "0.45782688", "0.45628703", "0.45313787", "0.45245007", "0.44865876", "0.4480718", "0.44715896", "0.44583276", "0.44466063", "0.44011787", "0.43765354", "0.43585148", ...
0.7164455
0
return String.format("%.1f%% (%d/%d)", (100f (float) count / (float) total), count, total);
public String toString() { return String.format("%.1f%%", getPercentage()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private float getPercentage(int count, int total) {\n return ((float) count / total) * 100;\n }", "@Override\n public String toString() {\n return 100 * current / total + \"%\";\n }", "java.lang.String getPercentage();", "public String percentageProgress(float goalSavings, float currGo...
[ "0.8208374", "0.7572909", "0.7214683", "0.7116265", "0.6838256", "0.6830796", "0.67271173", "0.66598505", "0.6656756", "0.66394365", "0.66030616", "0.6597638", "0.6586087", "0.65624154", "0.65504366", "0.6519044", "0.6463219", "0.64484143", "0.6432634", "0.63296473", "0.63141...
0.6981174
4