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 |
|---|---|---|---|---|---|---|
TODO Autogenerated method stub | public boolean onOptionsItemSelected(MenuItem item) {
switch (item.getItemId()) {
case android.R.id.home:
finish();
break;
}
return super.onOptionsItemSelected(item);
} | {
"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 by Ray 2017/4/26 10:41 | @FunctionalInterface
interface ConverterInterface<F, T> {
T convert(F from);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void create() {\n\t\t\n\t}",
"@Override\n\tpublic void create() {\n\t\t\n\t}",
"@Override\n\tpublic void create () {\n\n\t}",
"@Override\r\n\tpublic void create() {\n\t\t\r\n\t}",
"@Override\n\tpublic void create() {\n\n\t}",
"@Override\r\n\tpublic void create() {\n\r\n\t}",
"CreationData creati... | [
"0.6338923",
"0.61347616",
"0.61070496",
"0.6039532",
"0.6034627",
"0.5888104",
"0.58274126",
"0.57604533",
"0.5712153",
"0.567979",
"0.5612355",
"0.55166805",
"0.55100465",
"0.5489538",
"0.5459117",
"0.54576993",
"0.5450469",
"0.5446181",
"0.5445263",
"0.5441611",
"0.5440674... | 0.0 | -1 |
Lists all associations in ANY direction involving this node. | public ResultMap<Association> associations(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Iterable<Relationship> getRelationships();",
"public ResultMap<Association> associations(Direction direction);",
"public String[] listRelations();",
"@Override\n\t\tpublic Iterable<Relationship> getRelationships(Direction dir) {\n\t\t\treturn null;\n\t\t}",
"public ResultMap<Association> association... | [
"0.6218227",
"0.60467565",
"0.5997557",
"0.5976299",
"0.59309274",
"0.5885435",
"0.58569753",
"0.57011265",
"0.56947213",
"0.5690887",
"0.5689034",
"0.56851816",
"0.5683408",
"0.5659586",
"0.5540161",
"0.5532046",
"0.5466064",
"0.54624736",
"0.53807986",
"0.5379962",
"0.53551... | 0.56341577 | 14 |
Lists all associations in ANY direction involving this node. | public ResultMap<Association> associations(Pagination pagination); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Iterable<Relationship> getRelationships();",
"public ResultMap<Association> associations(Direction direction);",
"public String[] listRelations();",
"@Override\n\t\tpublic Iterable<Relationship> getRelationships(Direction dir) {\n\t\t\treturn null;\n\t\t}",
"public ResultMap<Association> association... | [
"0.6218227",
"0.60467565",
"0.5997557",
"0.5976299",
"0.59309274",
"0.5885435",
"0.58569753",
"0.57011265",
"0.56947213",
"0.5690887",
"0.5689034",
"0.56851816",
"0.5683408",
"0.5659586",
"0.56341577",
"0.5540161",
"0.5532046",
"0.5466064",
"0.54624736",
"0.53807986",
"0.5379... | 0.47937727 | 78 |
Lists all association in the given direction involving this node. | public ResultMap<Association> associations(Direction direction); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public ResultMap<Association> associations(Direction direction, Pagination pagination);",
"public ResultMap<Association> associations(QName associationTypeQName, Direction direction);",
"public ResultMap<Association> associations(QName associationTypeQName, Direction direction, Pagination pagination);",
"pub... | [
"0.6632533",
"0.63709265",
"0.6219078",
"0.5946928",
"0.57160693",
"0.548275",
"0.5469849",
"0.5452483",
"0.52800906",
"0.5277241",
"0.52501625",
"0.5197574",
"0.51634824",
"0.5148891",
"0.510993",
"0.5102283",
"0.50353193",
"0.5032512",
"0.5031535",
"0.50125825",
"0.4989336"... | 0.7029136 | 0 |
Lists all association in the given direction involving this node. | public ResultMap<Association> associations(Direction direction, Pagination pagination); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public ResultMap<Association> associations(Direction direction);",
"public ResultMap<Association> associations(QName associationTypeQName, Direction direction);",
"public ResultMap<Association> associations(QName associationTypeQName, Direction direction, Pagination pagination);",
"public String[] listRelati... | [
"0.7029136",
"0.63709265",
"0.6219078",
"0.5946928",
"0.57160693",
"0.548275",
"0.5469849",
"0.5452483",
"0.52800906",
"0.5277241",
"0.52501625",
"0.5197574",
"0.51634824",
"0.5148891",
"0.510993",
"0.5102283",
"0.50353193",
"0.5032512",
"0.5031535",
"0.50125825",
"0.4989336"... | 0.6632533 | 1 |
Lists all associations of the given type in ANY direction involving this node. | public ResultMap<Association> associations(QName associationTypeQName); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Iterable<Relationship> getRelationships( RelationshipType... type );",
"@Override\n\t\tpublic Iterable<Relationship> getRelationships(RelationshipType type, Direction dir) {\n\t\t\treturn null;\n\t\t}",
"public ResultMap<Association> associations(QName associationTypeQName, Direction direction, Paginati... | [
"0.638018",
"0.61812806",
"0.6180997",
"0.61630005",
"0.5823337",
"0.57973063",
"0.5764856",
"0.57460874",
"0.5735329",
"0.571927",
"0.5655329",
"0.555678",
"0.550904",
"0.54165953",
"0.5395916",
"0.53856534",
"0.534875",
"0.5341923",
"0.5273654",
"0.5202657",
"0.5199275",
... | 0.5868224 | 4 |
Lists all associations of the given type in ANY direction involving this node. | public ResultMap<Association> associations(QName associationTypeQName, Pagination pagination); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Iterable<Relationship> getRelationships( RelationshipType... type );",
"@Override\n\t\tpublic Iterable<Relationship> getRelationships(RelationshipType type, Direction dir) {\n\t\t\treturn null;\n\t\t}",
"public ResultMap<Association> associations(QName associationTypeQName, Direction direction, Paginati... | [
"0.638018",
"0.61812806",
"0.6180997",
"0.61630005",
"0.5868224",
"0.57973063",
"0.5764856",
"0.57460874",
"0.5735329",
"0.571927",
"0.5655329",
"0.555678",
"0.550904",
"0.54165953",
"0.5395916",
"0.53856534",
"0.534875",
"0.5341923",
"0.5273654",
"0.5202657",
"0.5199275",
... | 0.5823337 | 5 |
Lists all associations of the given type in the specified direction. | public ResultMap<Association> associations(QName associationTypeQName, Direction direction); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public ResultMap<Association> associations(Direction direction, Pagination pagination);",
"public ResultMap<Association> associations(QName associationTypeQName, Direction direction, Pagination pagination);",
"public ResultMap<Association> associations(Direction direction);",
"@SuppressWarnings(\"unchecked\"... | [
"0.6788116",
"0.6721154",
"0.67037433",
"0.6093164",
"0.60077375",
"0.59865767",
"0.5982036",
"0.58160067",
"0.5680049",
"0.5562686",
"0.5225437",
"0.52086383",
"0.51738894",
"0.51365566",
"0.5117956",
"0.50868237",
"0.5042217",
"0.50301284",
"0.49954253",
"0.49737027",
"0.49... | 0.6578889 | 3 |
Lists all associations of the given type in the specified direction. | public ResultMap<Association> associations(QName associationTypeQName, Direction direction, Pagination pagination); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public ResultMap<Association> associations(Direction direction, Pagination pagination);",
"public ResultMap<Association> associations(Direction direction);",
"public ResultMap<Association> associations(QName associationTypeQName, Direction direction);",
"@SuppressWarnings(\"unchecked\")\n public <T extend... | [
"0.6788116",
"0.67037433",
"0.6578889",
"0.6093164",
"0.60077375",
"0.59865767",
"0.5982036",
"0.58160067",
"0.5680049",
"0.5562686",
"0.5225437",
"0.52086383",
"0.51738894",
"0.51365566",
"0.5117956",
"0.50868237",
"0.5042217",
"0.50301284",
"0.49954253",
"0.49737027",
"0.49... | 0.6721154 | 1 |
Associates a target node to this source node. The direction is OUTGOING from this node to the specified node. | public Association associate(Node targetNode, QName associationTypeQName); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setEdge(int start, int target){\n\t\tthis.graph.elementAt(start).insert(target);\n\t}",
"void associate(SNode outputNode, SReferenceLink role, String targetModelRef, String targetNodeId);",
"public void addEdge(Node from, Node to);",
"public DNode getTo() { return targetnode; }",
"void setTarge... | [
"0.65337324",
"0.6222634",
"0.6206029",
"0.59899986",
"0.59632397",
"0.5916401",
"0.5788328",
"0.5672301",
"0.56524664",
"0.56475765",
"0.560566",
"0.5596044",
"0.5539708",
"0.5539632",
"0.54827034",
"0.546008",
"0.54444665",
"0.5417336",
"0.53274876",
"0.5249637",
"0.5240574... | 0.5652626 | 8 |
Associates a target node to this source node. The direction is OUTGOING from this node to the specified node. | public Association associate(Node targetNode, QName associationTypeQName, ObjectNode object); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setEdge(int start, int target){\n\t\tthis.graph.elementAt(start).insert(target);\n\t}",
"void associate(SNode outputNode, SReferenceLink role, String targetModelRef, String targetNodeId);",
"public void addEdge(Node from, Node to);",
"public DNode getTo() { return targetnode; }",
"void setTarge... | [
"0.65337324",
"0.6222634",
"0.6206029",
"0.59899986",
"0.59632397",
"0.5916401",
"0.5788328",
"0.5672301",
"0.5652626",
"0.56524664",
"0.560566",
"0.5596044",
"0.5539708",
"0.5539632",
"0.54827034",
"0.546008",
"0.54444665",
"0.5417336",
"0.53274876",
"0.5249637",
"0.52405745... | 0.56475765 | 10 |
Associates this node with another. | public Association associate(Node otherNode, QName associationTypeQName, Directionality directionality); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Association associate(Node otherNode, QName associationTypeQName, Directionality directionality, ObjectNode object);",
"public void setNext(Node<T> another)\n\t{\tthis.next = another; }",
"public void addEdge(String node1, String node2) {\n\r\n LinkedHashSet<String> adjacent = map.get(node1);\r\n... | [
"0.6203982",
"0.61994666",
"0.5902829",
"0.58843094",
"0.58841234",
"0.58771247",
"0.58259493",
"0.579315",
"0.5774213",
"0.5763421",
"0.57403153",
"0.5733767",
"0.57245606",
"0.5722157",
"0.5703052",
"0.5697963",
"0.569663",
"0.56863546",
"0.56459326",
"0.562731",
"0.5607841... | 0.6337147 | 0 |
Associates this node with another. | public Association associate(Node otherNode, QName associationTypeQName, Directionality directionality, ObjectNode object); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Association associate(Node otherNode, QName associationTypeQName, Directionality directionality);",
"public void setNext(Node<T> another)\n\t{\tthis.next = another; }",
"public void addEdge(String node1, String node2) {\n\r\n LinkedHashSet<String> adjacent = map.get(node1);\r\n// checking to see ... | [
"0.6337147",
"0.61994666",
"0.5902829",
"0.58843094",
"0.58841234",
"0.58771247",
"0.58259493",
"0.579315",
"0.5774213",
"0.5763421",
"0.57403153",
"0.5733767",
"0.57245606",
"0.5722157",
"0.5703052",
"0.5697963",
"0.569663",
"0.56863546",
"0.56459326",
"0.562731",
"0.5607841... | 0.6203982 | 1 |
Unassociates a target node from this node. | public void unassociate(Node targetNode, QName associationTypeQName); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void unassociate(Node otherNode, QName associationTypeQName, Directionality directionality);",
"void unsetTarget();",
"public void remTarget(){\n rem(DmpDMSAG.__target);\n }",
"public static void unregister(Object target) {\n/* 185 */ if (target != null) {\n/* 186 */ Iterator<Map.... | [
"0.7194897",
"0.6513736",
"0.623635",
"0.5951351",
"0.59116167",
"0.5871197",
"0.58129704",
"0.58129704",
"0.58077276",
"0.58019066",
"0.5795872",
"0.5674032",
"0.5622463",
"0.560995",
"0.5577574",
"0.5506455",
"0.5494292",
"0.5459683",
"0.5420239",
"0.5400465",
"0.53896034",... | 0.82269156 | 0 |
Unassociates this node from another node. | public void unassociate(Node otherNode, QName associationTypeQName, Directionality directionality); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void unassociate(Node targetNode, QName associationTypeQName);",
"public void unlinkUD()\n {\n this.U.D = this.D;\n this.D.U = this.U;\n }",
"public void unsetAddress()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_attrib... | [
"0.73847276",
"0.62400347",
"0.5999356",
"0.5975888",
"0.5888784",
"0.57292646",
"0.57292646",
"0.57018065",
"0.5653111",
"0.55782855",
"0.557749",
"0.55554044",
"0.55484354",
"0.5529957",
"0.5497266",
"0.54708725",
"0.53484124",
"0.5330068",
"0.5325555",
"0.5320311",
"0.5298... | 0.768472 | 0 |
Runs a traversal around this node using the given configuration. | public TraversalResults traverse(ObjectNode traverse); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected abstract void traverse();",
"public void execute() {\n if (commandArgument.length != 1) {\n System.out.println(\"tree: requires no user input\");\n }\n else {\n this.treeTraversal(userFileSystem.getRootDir(), 0);\n }\n }",
"private void traversal (\n TreeNodeVisitor visitor\... | [
"0.6238851",
"0.55654997",
"0.5549428",
"0.5348813",
"0.53218335",
"0.5319566",
"0.5314875",
"0.53020084",
"0.5265366",
"0.52290195",
"0.521458",
"0.52143764",
"0.51956433",
"0.5191064",
"0.51383317",
"0.5119911",
"0.51073027",
"0.5078866",
"0.50347257",
"0.5028996",
"0.50189... | 0.60916805 | 1 |
Moves the node to a configured target node | public void move(String targetNodeId, String targetPath); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void moveNode( int from, int to );",
"void moveTo(Node n);",
"void setTarget(Node target) {\n\t\tthis.target = target;\n\t}",
"public void moveTo(Node thisNode){\n \n //remove from current node\n currentNode.deleteAnt(this);\n \n currentNode = thisNode;\n \n /... | [
"0.6826382",
"0.67831135",
"0.6563551",
"0.65430856",
"0.6385753",
"0.6337306",
"0.61656934",
"0.60940003",
"0.60704374",
"0.6015886",
"0.5924085",
"0.582119",
"0.5802212",
"0.5747292",
"0.57465625",
"0.573047",
"0.57039773",
"0.57029945",
"0.5692283",
"0.5686044",
"0.568415"... | 0.7494998 | 0 |
Resolves the path for the node relative to the root directory. | public String resolvePath(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"Path getRootPath();",
"String rootPath();",
"private String relativize(String p) {\n return Paths.get(\"\").toAbsolutePath().relativize(Paths.get(p).toAbsolutePath()).toString();\n }",
"public String getRelativePath();",
"ResourceLocation resolve(String path);",
"String getRealPath(String path)... | [
"0.66011524",
"0.61882067",
"0.61458",
"0.5989522",
"0.5951572",
"0.5950652",
"0.5933792",
"0.5913339",
"0.58863884",
"0.58563954",
"0.5849218",
"0.58178437",
"0.5744535",
"0.57323194",
"0.5731877",
"0.57208806",
"0.5674541",
"0.56739867",
"0.5673676",
"0.5629395",
"0.5619784... | 0.7217126 | 0 |
Resolves all of the paths for the node. | public ObjectNode resolvePaths(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public List<Path> getAllPaths();",
"private void computeAllPaths()\n {\n for (Station src : this.graph.stations)\n {\n List<Station> visited = new ArrayList<Station>();\n computePathsForNode(src, null, null, visited);\n }\n Print.printTripList(this.tripList);\... | [
"0.6178853",
"0.61443347",
"0.5769459",
"0.5712002",
"0.568387",
"0.56614476",
"0.5583052",
"0.5524524",
"0.5515319",
"0.5511749",
"0.55094427",
"0.5477599",
"0.54677564",
"0.54500246",
"0.5425688",
"0.541952",
"0.53277564",
"0.53144556",
"0.52990645",
"0.52576584",
"0.524345... | 0.79873645 | 0 |
///////////////////////////////////////////////////////////////////////////////////////////////// MOUNTS ///////////////////////////////////////////////////////////////////////////////////////////////// Mounts this node. | public void mount(String mountKey); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void updateMount();",
"public static String mount() {\n\n String mount = stringValue(\"treefs.mount\");\n if(isNullOrEmpty(mount)) {\n // default home location\n mount = home() + File.separator + \"treefs-data\";\n } else {\n mount = home() + File.sepa... | [
"0.6582129",
"0.6524829",
"0.6324391",
"0.6161705",
"0.614672",
"0.6135112",
"0.61126494",
"0.6061921",
"0.5983659",
"0.59385693",
"0.57435954",
"0.5735523",
"0.56856483",
"0.55649996",
"0.54815036",
"0.5451726",
"0.54378575",
"0.5414238",
"0.53746367",
"0.5337811",
"0.529665... | 0.725417 | 0 |
///////////////////////////////////////////////////////////////////////////////////////////////// TRANSLATIONS ///////////////////////////////////////////////////////////////////////////////////////////////// Creates a new translation. | public Node createTranslation(String edition, Locale locale, ObjectNode object); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public ILoLoString translate() {\n return new MtLoLoString(); \n }",
"public Translation() {\n\n this(0, 0, 0);\n }",
"String translate(String text, String fromLanguage, String toLanguage) throws TranslationException;",
"public static Transform newTranslation(Vec3 tr){\n return newTransl... | [
"0.7011951",
"0.6988646",
"0.6728435",
"0.65473026",
"0.64595747",
"0.64545155",
"0.6450349",
"0.6411362",
"0.6299899",
"0.627542",
"0.61164886",
"0.61162966",
"0.6109161",
"0.6100611",
"0.60882777",
"0.6050935",
"0.6035464",
"0.603055",
"0.60020673",
"0.5991637",
"0.5990536"... | 0.62340474 | 10 |
Hands back the locales available for a given edition of translations for this master node. | public List<Locale> getTranslationLocales(String edition); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"Set<Locale> getManagedLocales();",
"void localizationChaneged();",
"public void setLocales(List<Locale> locales);",
"public void removeAllTranslations()\n\t{\n\t\tfor (int k = 0; k < this.xliffEditorWindow.getIOverallSegmentNumber(); k++)\n\t\t{\n\t\t\tthis.xliffEditorWindow.gotoSegment(k, true);\n\t\t\tint ... | [
"0.596987",
"0.538995",
"0.5323798",
"0.52464724",
"0.52359694",
"0.5217896",
"0.5155642",
"0.51368064",
"0.5132887",
"0.51152277",
"0.5114679",
"0.5003503",
"0.4954266",
"0.4920396",
"0.49045327",
"0.48802215",
"0.4853989",
"0.4811894",
"0.47836402",
"0.4779863",
"0.47795677... | 0.64647335 | 0 |
Reads a translation for the tip edition of the master node in the given locale. | public Node readTranslation(Locale locale); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Node readTranslation(String edition, Locale locale);",
"public final native ApplicationFormItemTexts getItemTexts(String locale) /*-{\n\t\tif(!(locale in this.i18n)){\n\t\t\tthis.i18n[locale] = {locale: locale, errorMessage : \"\", help : \"\", label : \"\", options : \"\"};\n\t\t}\n\t\treturn this.i18n[l... | [
"0.7129931",
"0.49503538",
"0.49345052",
"0.47884673",
"0.4733232",
"0.46722475",
"0.45958552",
"0.45779496",
"0.45370385",
"0.45059118",
"0.44995064",
"0.44876426",
"0.44634062",
"0.44513923",
"0.44268215",
"0.44257823",
"0.4400981",
"0.43976122",
"0.43852544",
"0.43805513",
... | 0.6952725 | 1 |
Reads a translation for the specified edition of the master node in the given locale. | public Node readTranslation(String edition, Locale locale); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Node readTranslation(Locale locale);",
"public List<Locale> getTranslationLocales(String edition);",
"public Node createTranslation(String edition, Locale locale, ObjectNode object);",
"@Test public void testReadGerman() throws Exception\n {\n File in = new File(MpxjTestData.filePath(\"sample.d... | [
"0.73244405",
"0.5658297",
"0.5409086",
"0.53053224",
"0.5033351",
"0.50011164",
"0.49706525",
"0.49361917",
"0.48538256",
"0.4819026",
"0.48011285",
"0.47963107",
"0.47790438",
"0.4760771",
"0.47364843",
"0.47340375",
"0.47050875",
"0.46545702",
"0.46498647",
"0.4632923",
"0... | 0.83420134 | 0 |
Queries and searches for nodes in the defined traversal space around this node. | public ResultMap<BaseNode> findNodes(ObjectNode query, String searchTerm, ObjectNode traverse); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public ResultMap<BaseNode> findNodes(ObjectNode query, String searchTerm, ObjectNode traverse, Pagination pagination);",
"void findSearchOrder() {\n boolean filled = false;\n for(int node: queryGraphNodes.keySet()) {\n\n vertexClass vc = queryGraphNodes.get(node);\n searchOrd... | [
"0.63065886",
"0.607858",
"0.5882619",
"0.58404535",
"0.57777566",
"0.57559574",
"0.57165104",
"0.5611067",
"0.5582475",
"0.55572724",
"0.5477449",
"0.54715395",
"0.5416255",
"0.5405247",
"0.53940433",
"0.537922",
"0.5369497",
"0.5362458",
"0.53499126",
"0.5290601",
"0.528791... | 0.63252354 | 0 |
Queries and searches for nodes in the defined traversal space around this node. | public ResultMap<BaseNode> findNodes(ObjectNode query, String searchTerm, ObjectNode traverse, Pagination pagination); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public ResultMap<BaseNode> findNodes(ObjectNode query, String searchTerm, ObjectNode traverse);",
"void findSearchOrder() {\n boolean filled = false;\n for(int node: queryGraphNodes.keySet()) {\n\n vertexClass vc = queryGraphNodes.get(node);\n searchOrderSeq.add(node);\n ... | [
"0.63252354",
"0.607858",
"0.5882619",
"0.58404535",
"0.57777566",
"0.57559574",
"0.57165104",
"0.5611067",
"0.5582475",
"0.55572724",
"0.5477449",
"0.54715395",
"0.5416255",
"0.5405247",
"0.53940433",
"0.537922",
"0.5369497",
"0.5362458",
"0.53499126",
"0.5290601",
"0.528791... | 0.63065886 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////////// CHILDREN /////////////////////////////////////////////////////////////////////////////////////////////////////// Retrieves the children of the current node. | public ResultMap<BaseNode> listChildren(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public List<TreeNode> getChildren ()\r\n {\r\n if (logger.isFineEnabled()) {\r\n logger.fine(\"getChildren of \" + this);\r\n }\r\n\r\n return children;\r\n }",
"public ArrayList<Node> getChildren() { return this.children; }",
"public ParseTree[] getChildren() {\n\t\tretur... | [
"0.79048866",
"0.78273416",
"0.78253317",
"0.7807524",
"0.77563685",
"0.77300733",
"0.77103263",
"0.76889175",
"0.7650009",
"0.76055855",
"0.7602463",
"0.7588135",
"0.75848895",
"0.75841993",
"0.7568873",
"0.755119",
"0.7421422",
"0.74042654",
"0.74015564",
"0.74006826",
"0.7... | 0.6971145 | 53 |
Retrieves the children of the current node. | public ResultMap<BaseNode> listChildren(Pagination pagination); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public ArrayList<Node> getChildren() { return this.children; }",
"public ArrayList<Node> getChildren() {\n return children;\n }",
"public List<Node> getChildren() {\r\n\t\t\tchildren.reset();\r\n\t\t\treturn children;\r\n\t\t}",
"public List<TreeNode> getChildren ()\r\n {\r\n if (logger.isFineE... | [
"0.7903932",
"0.7837095",
"0.78046125",
"0.7796283",
"0.7746974",
"0.7697029",
"0.7695432",
"0.76843286",
"0.7672235",
"0.7615417",
"0.7532991",
"0.75196946",
"0.75181675",
"0.7515683",
"0.74586135",
"0.7427699",
"0.74174005",
"0.7417363",
"0.73930544",
"0.7387371",
"0.738327... | 0.0 | -1 |
Retrieves the relatives of the current node. | public ResultMap<BaseNode> listRelatives(QName type, Direction direction); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public Set<String> getRelations() {\n if (cachedRelations != null) {\n return cachedRelations;\n }\n cachedRelations = new LinkedHashSet<String>();\n for (EventNode node : nodes) {\n cachedRelations.addAll(node.getNodeRelations());\n }\n ... | [
"0.6187571",
"0.60149145",
"0.59819996",
"0.59406435",
"0.590719",
"0.5901793",
"0.5890659",
"0.56968725",
"0.5662212",
"0.555871",
"0.5534978",
"0.54983234",
"0.5474473",
"0.54670197",
"0.54545784",
"0.5440949",
"0.54164207",
"0.53580534",
"0.53534454",
"0.53400266",
"0.5330... | 0.57226723 | 7 |
Retrieves the relatives of the current node. | public ResultMap<BaseNode> listRelatives(QName type, Direction direction, Pagination pagination); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public Set<String> getRelations() {\n if (cachedRelations != null) {\n return cachedRelations;\n }\n cachedRelations = new LinkedHashSet<String>();\n for (EventNode node : nodes) {\n cachedRelations.addAll(node.getNodeRelations());\n }\n ... | [
"0.6187571",
"0.60149145",
"0.59819996",
"0.59406435",
"0.590719",
"0.5901793",
"0.5890659",
"0.57226723",
"0.56968725",
"0.5662212",
"0.555871",
"0.5534978",
"0.54983234",
"0.5474473",
"0.54670197",
"0.54545784",
"0.5440949",
"0.54164207",
"0.53580534",
"0.53400266",
"0.5330... | 0.53534454 | 19 |
Queries the relatives of the current node. | public ResultMap<BaseNode> queryRelatives(QName type, Direction direction, ObjectNode query); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public ResultMap<BaseNode> queryRelatives(QName type, Direction direction, ObjectNode query, Pagination pagination);",
"@Override\n public List<GraphRelationship> getRelationships() {\n int localMax=1;\n Hashtable checkIfRelationExists = new Hashtable();\n List<GraphRelationship> relatons... | [
"0.5887247",
"0.57394534",
"0.5728796",
"0.5579056",
"0.549755",
"0.54659605",
"0.5443462",
"0.53579235",
"0.53268117",
"0.5244582",
"0.5241429",
"0.5239817",
"0.52395177",
"0.51969796",
"0.5196543",
"0.51941144",
"0.51826936",
"0.5143235",
"0.5127274",
"0.5121733",
"0.503166... | 0.61497074 | 0 |
Queries the relatives of the current node. | public ResultMap<BaseNode> queryRelatives(QName type, Direction direction, ObjectNode query, Pagination pagination); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public ResultMap<BaseNode> queryRelatives(QName type, Direction direction, ObjectNode query);",
"@Override\n public List<GraphRelationship> getRelationships() {\n int localMax=1;\n Hashtable checkIfRelationExists = new Hashtable();\n List<GraphRelationship> relatonships = new ArrayList<>(... | [
"0.61497074",
"0.57394534",
"0.5728796",
"0.5579056",
"0.549755",
"0.54659605",
"0.5443462",
"0.53579235",
"0.53268117",
"0.5244582",
"0.5241429",
"0.5239817",
"0.52395177",
"0.51969796",
"0.5196543",
"0.51941144",
"0.51826936",
"0.5143235",
"0.5127274",
"0.5121733",
"0.50316... | 0.5887247 | 1 |
Entry point for the mojo. | public void execute() throws MojoExecutionException, MojoFailureException {
if (super.isSkip()) {
logger.info("Skipping");
return;
}
Logger logger = LogManager.getLogger(FlowHookMojo.class);
try {
init();
if (buildOption == OPTIONS.none) {
logger.info("Skipping Flow Hooks (default action)");
return;
}
if (serverProfile.getEnvironment() == null) {
throw new MojoExecutionException(
"Apigee environment not found in profile");
}
List flowhooks = getEnvConfig(logger, "flowhooks");
if (flowhooks == null || flowhooks.size() == 0) {
logger.info("No flowhooks config found.");
return;
}
doUpdate(flowhooks);
} catch (MojoFailureException e) {
throw e;
} catch (RuntimeException e) {
throw e;
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void execute() throws MojoExecutionException {\n CodeGeneratorLoggerFactory.setLogger(getLog());\n\n // iff baseFolder is null or empty, reset it to the default value\n baseFolder = StringUtils.defaultIfEmpty(baseFolder, \"GUIData\");\n\n // create the helper with our config\n ... | [
"0.6562718",
"0.60384536",
"0.6031483",
"0.6017282",
"0.59296733",
"0.59253955",
"0.5914611",
"0.5911695",
"0.59031314",
"0.5884343",
"0.5877368",
"0.5854995",
"0.58409065",
"0.5838294",
"0.5838294",
"0.582287",
"0.5822801",
"0.58216155",
"0.5808245",
"0.57993615",
"0.5790760... | 0.0 | -1 |
Creates a new fragment | public static UserTimelineFragment newInstance(User currentUser) {
UserTimelineFragment fragmentInstance = new UserTimelineFragment();
Bundle args = new Bundle();
args.putParcelable("user", Parcels.wrap(currentUser));
fragmentInstance.setArguments(args);
return fragmentInstance;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void createFragment() {\n\n }",
"protected abstract Fragment createFragment();",
"@Override\n protected Fragment createFragment() {\n Intent intent = getIntent();\n\n long id = intent.getLongExtra(MovieDetailFragment.EXTRA_ID, -1);\n return MovieDetailFragment.newInstance(id);... | [
"0.7982095",
"0.77052474",
"0.7131568",
"0.6918422",
"0.67688",
"0.667016",
"0.661397",
"0.6596672",
"0.65879154",
"0.65843314",
"0.6541532",
"0.6532587",
"0.6470848",
"0.64341956",
"0.6425863",
"0.63767856",
"0.6372112",
"0.63612",
"0.63472253",
"0.6332344",
"0.63033754",
... | 0.0 | -1 |
send API request to get the timeline JSON and fill the recyclerview with the data retrieved by creating tweet objects | public void populateTimeline(long maxId, String screenName) {
//check connectivity:
if (Utilities.isNetworkAvailable(getContext()) && Utilities.isOnline()) {
twitterClient.getUserTimeline(new JsonHttpResponseHandler() {
@Override
public void onSuccess(int statusCode, Header[] headers, JSONArray response) {
// deserialize the response and create models
ArrayList<Tweet> tweetList = Tweet.fromJSONArray(response);
//load data into the view:
//store reference to current size
int currentSize = tweets.size();
//add retrieved tweets to existing list
tweets.addAll(tweetList);
//visually refresh the list
tweetsAdapter.notifyItemRangeInserted(currentSize, tweetList.size());
if (!tweetList.isEmpty()) {
updateIndex();
}
swipeContainer.setRefreshing(false);
}
@Override
public void onFailure(int statusCode, Header[] headers, Throwable throwable, JSONArray errorResponse) {
Toast.makeText(getContext(), "Error in request", Toast.LENGTH_SHORT).show();
}
@Override
public void onUserException(Throwable error) {
Toast.makeText(getContext(), R.string.on_user_exception, Toast.LENGTH_SHORT).show();
}
}, maxId, screenName);
} else {
Toast.makeText(getContext(), R.string.device_not_connected, Toast.LENGTH_SHORT).show();
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void populateTimeline() {\n long fetchMoreStart = tweets.size() > 0 ? tweets.get(tweets.size() - 1).getUid() : -1;\n client.getHomeTimeline(new JsonHttpResponseHandler() {\n // on success\n\n @Override\n public void onSuccess(int statusCode, Head... | [
"0.7685586",
"0.70374256",
"0.69974273",
"0.69411844",
"0.6720122",
"0.66540426",
"0.64123654",
"0.6407699",
"0.6252051",
"0.6143803",
"0.61143565",
"0.61110276",
"0.5991807",
"0.59833425",
"0.59723747",
"0.59306055",
"0.5929944",
"0.59299356",
"0.5923015",
"0.5912517",
"0.59... | 0.6841102 | 4 |
deserialize the response and create models | @Override
public void onSuccess(int statusCode, Header[] headers, JSONArray response) {
ArrayList<Tweet> tweetList = Tweet.fromJSONArray(response);
//load data into the view:
//store reference to current size
int currentSize = tweets.size();
//add retrieved tweets to existing list
tweets.addAll(tweetList);
//visually refresh the list
tweetsAdapter.notifyItemRangeInserted(currentSize, tweetList.size());
if (!tweetList.isEmpty()) {
updateIndex();
}
swipeContainer.setRefreshing(false);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private static ArrayList<Model> getModels(HttpResponse<String> response){\n\t\tArrayList<Model> models;\n\t\ttry {\n\t\t\tmodels = new ObjectMapper().readValue(response.body(), new TypeReference<ArrayList<Model>>(){});\n\t\t\treturn models;\n\t\t} catch (JsonMappingException e) {\n\t\t\te.printStackTrace();\n\t\t}... | [
"0.6507347",
"0.63260096",
"0.60340744",
"0.5919093",
"0.56191754",
"0.5616614",
"0.5609565",
"0.55994767",
"0.55739605",
"0.5546699",
"0.549987",
"0.549283",
"0.5406625",
"0.53873444",
"0.53642505",
"0.5348972",
"0.5298382",
"0.5253489",
"0.52261573",
"0.5210597",
"0.5203015... | 0.0 | -1 |
Triggered only when new data needs to be appended to the list of tweets | @Override
public void onLoadMore(long max_id, int totalItemsCount, RecyclerView view) {
if (currentUser == null) {
populateTimeline(index, null);
//getLocalTweets();
}
else{
populateTimeline(index, currentUser.getScreenName());
//getLocalTweets();
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void update(String tweet, Long tweetTime) {\n\tuserFeed.add(tweet);\n\tlastUpdateTime = tweetTime;\n }",
"@Override\n public void onTweetsFetched(List<Tweet> tweets) {\n finalTweetID = tweets.get(tweets.size() - 1).getId();\n twitterCallback.onTwe... | [
"0.7105188",
"0.7092096",
"0.65936005",
"0.6582989",
"0.65682644",
"0.656633",
"0.65339273",
"0.650018",
"0.6479049",
"0.64788246",
"0.64755905",
"0.6457802",
"0.6457234",
"0.6376492",
"0.63549626",
"0.6262185",
"0.6169221",
"0.61545354",
"0.6148153",
"0.6135464",
"0.6107158"... | 0.5246049 | 88 |
multiply: integar could be positive and negative. | public static int multiply(int number1, int number2){
int result = 0;
while(number2 != 0) {
result += number1; //it's okay if number1 <0; negative+negative = negative
if (number2 < 0){
number2 = number2 +1;
}else{
number2 = number2 +negate(1);
}
}
return result;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic int mul() {\n\t\treturn 0;\r\n\t}",
"@Override\n\tpublic double multiply(double in1, double in2) {\n\t\treturn 0;\n\t}",
"public void multiply() {\n\t\t\n\t}",
"@Override\r\n\tpublic int mul(int a,int b) {\n\t\treturn a*b;\r\n\t}",
"int multiply (int a, int b) {\n\t\t//let me do it in... | [
"0.74822485",
"0.7297449",
"0.7279941",
"0.7062884",
"0.70328945",
"0.7027334",
"0.6973533",
"0.69571805",
"0.6859214",
"0.684102",
"0.6837714",
"0.6787697",
"0.66942644",
"0.66263497",
"0.6621299",
"0.65977216",
"0.65912014",
"0.6589397",
"0.65842104",
"0.6558892",
"0.655655... | 0.6843315 | 9 |
String[] researchProjectItems = resourceRequest.getParameterValues("values"); | protected void addNodes(UploadPortletRequest uploadRequest, List<Map<String, Object>> fileParams) {
Map<String, Object> params = new HashMap<String, Object>();
params.put("type", ParamUtil.getString(uploadRequest, "type"));
params.put("projectType", ParamUtil.getString(uploadRequest, "projectType"));
params.put("projectName", ParamUtil.getString(uploadRequest, "projectName"));
params.put("supportUnit", ParamUtil.getString(uploadRequest, "supportUnit"));
params.put("projectLevel", ParamUtil.getString(uploadRequest, "projectLevel"));
params.put("charger", ParamUtil.getString(uploadRequest, "charger"));
params.put("assistant", ParamUtil.getString(uploadRequest, "assistant"));
params.put("projectFunding", ParamUtil.getDouble(uploadRequest, "projectFunding"));
params.put("delegatedDepartment", ParamUtil.getString(uploadRequest, "delegatedDepartment"));
// params.put("typeDesc", ParamUtil.getString(uploadRequest, "typeDesc"));
// params.put("attachmentName", fileParams.get("attachmentName"));
// params.put("attachmentId", fileParams.get("attachmentId"));
// ThemeDisplay themeDisplay = serviceContext.getThemeDisplay();
// String fileDownloadUrl = themeDisplay.getPortalURL()+"/c/document_library/get_file?uuid="+fileEntry.getUuid()+"&groupId="+themeDisplay.getScopeGroupId();
// params.put("attachmentURL", fileParams.get("attachmentURL"));
ResearchProjectService researchProjectService = BeanLocator.getResearchProjectService();
researchProjectService.addResearchProject(params, fileParams);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"String[] getParameterValues(String key);",
"public String[] getParaValues(String name) {\n\t\treturn request.getParameterValues(name);\n\t}",
"String [] getParameters();",
"public ArrayList<String> getParameterValues() { return this.params; }",
"public String[] getParameterValues(String name) {\n ... | [
"0.6590264",
"0.6372503",
"0.61774516",
"0.6173481",
"0.60183656",
"0.5843927",
"0.5797824",
"0.5792472",
"0.57416445",
"0.5728354",
"0.57072437",
"0.56235635",
"0.5574704",
"0.55136055",
"0.54942703",
"0.54850405",
"0.54764956",
"0.54761285",
"0.5467376",
"0.544727",
"0.5395... | 0.0 | -1 |
This method should not be overridden or the functionality of the wrapped listener will be lost. | public abstract void message(String channel, String message); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected Listener(){super();}",
"@Override\n\tprotected void setListener() {\n\n\t}",
"@Override\n\tprotected void setListener() {\n\n\t}",
"@Override\n\tpublic void getListener(){\n\t}",
"@Override\n\tpublic void setListener() {\n\n\t}",
"@Override\r\n\tpublic void setListener() {\n\r\n\t}",
"@Overri... | [
"0.736586",
"0.7339618",
"0.7339618",
"0.72917026",
"0.7164074",
"0.71572304",
"0.71572304",
"0.69736993",
"0.68884784",
"0.68781954",
"0.6847016",
"0.676274",
"0.6706639",
"0.6587759",
"0.6540599",
"0.65351236",
"0.6478547",
"0.64549005",
"0.64360887",
"0.64278954",
"0.64054... | 0.0 | -1 |
Called when a message is received on the channel to which this listener belongs. This method will automatically be called synchronously, even though the message is received asynchronously. | public abstract void messageReceived(String message); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void onMessage(String channel, String message) {\n responseMessage = message;\n onPostExecute(responseMessage);\n }",
"@Override\n\tpublic void onMessageRecieved(Message arg0) {\n\t\t\n\t}",
"void onMessage(String pattern, S... | [
"0.7120117",
"0.7043695",
"0.6866206",
"0.6761934",
"0.6758334",
"0.67134124",
"0.6679296",
"0.66542494",
"0.6628718",
"0.6501742",
"0.6486126",
"0.6475175",
"0.64686877",
"0.6448258",
"0.6432881",
"0.6432707",
"0.64123946",
"0.6392151",
"0.63842696",
"0.6374601",
"0.6354954"... | 0.6069122 | 63 |
Get the owning plugin of this listener. | public T getOwner() {
return owner;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public PluginComponent getPluginComponent()\n {\n return (PluginComponent) getSource();\n }",
"public String getPlugin() {\n\t\treturn adaptee.getPlugin();\n\t}",
"public Plugin getPlugin()\r\n\t{\r\n\t\treturn plugin;\r\n\t}",
"public static Plugin getPlugin() {\n return plugin;\n }",... | [
"0.65962726",
"0.64891255",
"0.6308121",
"0.6206372",
"0.62037164",
"0.61378837",
"0.5907379",
"0.58184236",
"0.57650805",
"0.5712294",
"0.5656661",
"0.5640082",
"0.5632696",
"0.5630574",
"0.55947214",
"0.55814415",
"0.55559",
"0.5535427",
"0.5516721",
"0.5484874",
"0.548484"... | 0.53427404 | 34 |
For internal use only. | protected void setOwner(T owner) {
this.owner = owner;
} | {
"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.6039394",
"0.5819891",
"0.5800887",
"0.5786374",
"0.5786374",
"0.5786374",
"0.5786374",
"0.5786374",
"0.5786374",
"0.57311296",
"0.5728458",
"0.57231486",
"0.57079804",
"0.5685481",
"0.5682218",
"0.5681374",
"0.56079394",
"0.55897665",
"0.55897665",
"0.5572959",
"0.555925"... | 0.0 | -1 |
Get the channel on which this listner is listening. | public String getChannel() {
return channel;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getChannel() {\r\n\t\treturn this.channel;\r\n\t}",
"public SocketChannel getChannel() {\n return channel;\n }",
"public String getChannel() {\r\n return channel;\r\n }",
"public String getChannel() {\n\t\treturn channel;\n\t}",
"public String getChannel() {\n\t\treturn ch... | [
"0.73655593",
"0.7356773",
"0.7321461",
"0.7314929",
"0.7314929",
"0.7263929",
"0.7235626",
"0.7194701",
"0.7184265",
"0.7178293",
"0.7136146",
"0.7109903",
"0.7038142",
"0.7030568",
"0.69805545",
"0.697366",
"0.69552886",
"0.6908409",
"0.6900794",
"0.68848443",
"0.6849488",
... | 0.73128134 | 5 |
Creates new form ExcluirFilme | public ExcluirFilme() {
initComponents();
setTitle("LocVideo");
AtualizarCombo();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String incluir() {\r\n\t\t// Valida acao.\r\n\t\tif (verificaAcao(\"incluir\")) {\r\n\t\t\ttry {\r\n\t\t\t\tif (usuarioDao.incluir( (Usuario) obterParametros())) {\r\n\t\t\t\t\tsetMensagemSucesso(\"Registro incluído com sucesso!\");\r\n\t\t\t\t}\r\n\t\t\t} catch (SQLException e) {\r\n\t\t\t\tsetMensagemErro... | [
"0.60604215",
"0.60001844",
"0.5930332",
"0.5926778",
"0.57319605",
"0.5640747",
"0.5639783",
"0.5637994",
"0.56121796",
"0.560887",
"0.5599968",
"0.55815685",
"0.5558009",
"0.5539196",
"0.5535156",
"0.5534684",
"0.55333924",
"0.55170107",
"0.5465296",
"0.54621136",
"0.544010... | 0.6858401 | 0 |
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() {
jInternalFrame1 = new javax.swing.JInternalFrame();
jPanel2 = new javax.swing.JPanel();
jLabel1 = new javax.swing.JLabel();
jLabel2 = new javax.swing.JLabel();
codFilme = new javax.swing.JTextField();
jCB_Titulo = new javax.swing.JComboBox<>();
btExcluir = new javax.swing.JButton();
btCancelar = new javax.swing.JButton();
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
setResizable(false);
jInternalFrame1.setVisible(true);
jPanel2.setBackground(java.awt.Color.white);
jLabel1.setFont(new java.awt.Font("Ubuntu", 1, 24)); // NOI18N
jLabel1.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
jLabel1.setText("Excluir Filme");
javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
jPanel2.setLayout(jPanel2Layout);
jPanel2Layout.setHorizontalGroup(
jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel2Layout.createSequentialGroup()
.addGap(193, 193, 193)
.addComponent(jLabel1)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel2Layout.setVerticalGroup(
jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup()
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jLabel1)
.addContainerGap())
);
jLabel2.setText("Titulo:");
jCB_Titulo.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jCB_TituloActionPerformed(evt);
}
});
btExcluir.setText("OK");
btExcluir.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
btExcluirActionPerformed(evt);
}
});
btCancelar.setText("Cancelar");
btCancelar.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
btCancelarActionPerformed(evt);
}
});
javax.swing.GroupLayout jInternalFrame1Layout = new javax.swing.GroupLayout(jInternalFrame1.getContentPane());
jInternalFrame1.getContentPane().setLayout(jInternalFrame1Layout);
jInternalFrame1Layout.setHorizontalGroup(
jInternalFrame1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addGroup(jInternalFrame1Layout.createSequentialGroup()
.addGap(30, 30, 30)
.addComponent(jLabel2)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(codFilme, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jCB_Titulo, javax.swing.GroupLayout.PREFERRED_SIZE, 364, javax.swing.GroupLayout.PREFERRED_SIZE)
.addContainerGap(48, Short.MAX_VALUE))
.addGroup(jInternalFrame1Layout.createSequentialGroup()
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(btExcluir, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(109, 109, 109)
.addComponent(btCancelar, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(112, 112, 112))
);
jInternalFrame1Layout.setVerticalGroup(
jInternalFrame1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jInternalFrame1Layout.createSequentialGroup()
.addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(37, 37, 37)
.addGroup(jInternalFrame1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabel2)
.addComponent(codFilme, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jCB_Titulo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 42, Short.MAX_VALUE)
.addGroup(jInternalFrame1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(btExcluir)
.addComponent(btCancelar))
.addGap(24, 24, 24))
);
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
getContentPane().setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jInternalFrame1)
);
layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jInternalFrame1)
);
pack();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Form() {\n initComponents();\n }",
"public MainForm() {\n initComponents();\n }",
"public MainForm() {\n initComponents();\n }",
"public MainForm() {\n initComponents();\n }",
"public frmRectangulo() {\n initComponents();\n }",
"public form() {\n ... | [
"0.73213893",
"0.72913563",
"0.72913563",
"0.72913563",
"0.7286415",
"0.724936",
"0.72132975",
"0.72076875",
"0.71963966",
"0.7190991",
"0.7184836",
"0.71593595",
"0.71489584",
"0.709429",
"0.7080468",
"0.70567",
"0.6987573",
"0.69780385",
"0.69556123",
"0.69538146",
"0.69455... | 0.0 | -1 |
GENFIRST:event_btCancelarActionPerformed TODO add your handling code here: | private void btCancelarActionPerformed(java.awt.event.ActionEvent evt) {
new Menu().setVisible(true);
this.dispose();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void btnCancelarActionPerformed(java.awt.event.ActionEvent evt) {\n }",
"private void jButton_CancelActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton_CancelActionPerformed\n // TODO add your handling code here:\n }",
"private void cancelar(java.awt.event.ActionEven... | [
"0.88583755",
"0.83269465",
"0.81295186",
"0.8077043",
"0.80206275",
"0.7899008",
"0.77187204",
"0.7687293",
"0.7642208",
"0.7601619",
"0.75922745",
"0.7554744",
"0.749591",
"0.7491561",
"0.7490338",
"0.7486557",
"0.7433201",
"0.74281126",
"0.7396558",
"0.7341504",
"0.7316636... | 0.74829066 | 17 |
Process a message (a condition has occurred). | private void
processMsg(Msg input) throws IOException {
assert Tracer.printConsoleLog("INFO Received " + input + " in state " + currentState);
Transition trans = transition[currentState.ordinal()][input.ordinal()];
if (trans != null) {
currentState = trans.execute(input);
}
assert Tracer.printConsoleLog("INFO New State: " + currentState);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void processMessage(String message);",
"@Override\n\tpublic void processMessage(Message message) {\n\t\t\n\t}",
"public void processMessage()\n {\n \tif(messageContents.getMessage().containsCommand())\n {\n \tCommand command = new Command(messageContents);\n CommandProcess... | [
"0.7605359",
"0.7074002",
"0.6848017",
"0.6670351",
"0.66499543",
"0.6637151",
"0.6617724",
"0.6421273",
"0.64161533",
"0.6380389",
"0.63759655",
"0.63648546",
"0.6316236",
"0.63152534",
"0.62874967",
"0.62403935",
"0.6229781",
"0.62067395",
"0.6200606",
"0.6157192",
"0.61383... | 0.57979774 | 60 |
Return a printable description of this expression. | public String toString() {
return name;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String toString() {\n return fullExpression;\n }",
"public String toString() {\n return m_expression;\n }",
"@Override\n public String toString() {\n return \"Expression\";\n }",
"@Override\n public String toString() {\n return \"(\" + getExpression1() + \" - \" + ... | [
"0.7778279",
"0.77736837",
"0.7621383",
"0.757964",
"0.757333",
"0.7444288",
"0.73780656",
"0.7364552",
"0.72362196",
"0.72098476",
"0.7183351",
"0.717937",
"0.7165265",
"0.7152196",
"0.71462005",
"0.7137925",
"0.7118039",
"0.7116978",
"0.71157295",
"0.71137124",
"0.7109843",... | 0.0 | -1 |
Gets the description value for this ProcessNode. | public java.lang.String getDescription() {
return description;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getNodeDescription() {\n return nodeDescription;\n }",
"public String getNodeDescription() {\n return nodeDescription;\n }",
"public java.lang.String getDescription() {\n return this._description;\n }",
"public java.lang.String getDescription() {\r\n return this._... | [
"0.7574264",
"0.75184995",
"0.7189942",
"0.7161531",
"0.7161531",
"0.7143902",
"0.71244854",
"0.71244854",
"0.71244854",
"0.71244854",
"0.71244854",
"0.7121728",
"0.7111678",
"0.70869094",
"0.7076688",
"0.7076688",
"0.7076688",
"0.7076688",
"0.70693326",
"0.7057117",
"0.70551... | 0.6992782 | 86 |
Sets the description value for this ProcessNode. | public void setDescription(java.lang.String description) {
this.description = description;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setDescription(final String description) {\n this.description = description;\n }",
"public void setDescription(final java.lang.String description) {\r\n this._description = description;\r\n }",
"public void setDescription(final java.lang.String description) {\r\n this._de... | [
"0.7144141",
"0.7127805",
"0.7127805",
"0.7114135",
"0.7112254",
"0.71092045",
"0.70988744",
"0.70988744",
"0.70988744",
"0.70988744",
"0.70988744",
"0.70988744",
"0.70988744",
"0.7090905",
"0.7090905",
"0.7090905",
"0.7090905",
"0.7090905",
"0.7090905",
"0.7090905",
"0.70909... | 0.0 | -1 |
Gets the developerName value for this ProcessNode. | public java.lang.String getDeveloperName() {
return developerName;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setDeveloperName(java.lang.String developerName) {\n this.developerName = developerName;\n }",
"public String getAssignedToDevName() {\n\t\treturn assignedToDevName;\n\t}",
"public String getDeveloperConnection()\n {\n return this.developerConnection;\n }",
"public String g... | [
"0.65016216",
"0.63170594",
"0.6251354",
"0.62507653",
"0.6047994",
"0.60437965",
"0.6032144",
"0.589676",
"0.5893967",
"0.5848604",
"0.5727309",
"0.57216465",
"0.5690949",
"0.56731427",
"0.5667019",
"0.56652504",
"0.56641114",
"0.5659267",
"0.56589603",
"0.55825007",
"0.5574... | 0.78391767 | 0 |
Sets the developerName value for this ProcessNode. | public void setDeveloperName(java.lang.String developerName) {
this.developerName = developerName;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public java.lang.String getDeveloperName() {\n return developerName;\n }",
"public void setDeveloperConnection( String developerConnection )\n {\n this.developerConnection = developerConnection;\n }",
"public Developer(String name) {\n this.name = name;\n }",
"private void se... | [
"0.64572287",
"0.6288503",
"0.6124154",
"0.5931514",
"0.58707",
"0.56678444",
"0.5572796",
"0.5550083",
"0.5540526",
"0.54860663",
"0.5450978",
"0.5297524",
"0.5217165",
"0.5195478",
"0.51813585",
"0.5169886",
"0.5136756",
"0.5134232",
"0.51038575",
"0.5085024",
"0.5066572",
... | 0.78950053 | 0 |
Gets the name value for this ProcessNode. | public java.lang.String getName() {
return name;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public final String name() {\n return node.getNodeName();\n }",
"public String name() {\n return BPMNode.getId();\n }",
"public static final String getProcessName() {\n\t\treturn NAME;\n\t}",
"public String getName()\n {\n \tif (_nodeVRL==null)\n \t\treturn null;\n \t\n re... | [
"0.7586288",
"0.75585973",
"0.73962337",
"0.722445",
"0.70413405",
"0.69665706",
"0.6905475",
"0.6869029",
"0.6839653",
"0.6839653",
"0.6839653",
"0.6828548",
"0.6749781",
"0.6748771",
"0.67323107",
"0.67196906",
"0.6701263",
"0.6701263",
"0.6691448",
"0.66857845",
"0.6685784... | 0.0 | -1 |
Sets the name value for this ProcessNode. | public void setName(java.lang.String name) {
this.name = name;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setName (String n) {\n name = n;\n }",
"public void setName(String n) {\r\n name = n;\r\n }",
"public void setName(String n) {\r\n\t\tthis.name = n;\r\n\t}",
"public void setName (String n){\n\t\tname = n;\n\t}",
"public void setName( String pName )\n {\n name = pName;\n... | [
"0.70873886",
"0.70824003",
"0.704426",
"0.6980579",
"0.6977469",
"0.69665784",
"0.6965625",
"0.69645184",
"0.69483334",
"0.6943009",
"0.6943009",
"0.6936603",
"0.6936603",
"0.6936603",
"0.6936603",
"0.6922862",
"0.6918489",
"0.6915446",
"0.6915446",
"0.69148254",
"0.6906019"... | 0.0 | -1 |
Gets the processDefinition value for this ProcessNode. | public com.sforce.soap.enterprise.sobject.ProcessDefinition getProcessDefinition() {
return processDefinition;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public java.lang.String getProcessDefinitionId() {\n return processDefinitionId;\n }",
"public Process getProcess() {\n\t\treturn process;\n\t}",
"public Process getProcess() {\n \t\treturn process;\n \t}",
"public final Process getProcess() {\n return process;\n }",
"public ProcessEngineConf... | [
"0.68316376",
"0.59792876",
"0.58592814",
"0.5738968",
"0.5729443",
"0.571589",
"0.5677943",
"0.56753063",
"0.566182",
"0.56146264",
"0.56032985",
"0.5598492",
"0.55701417",
"0.55701417",
"0.5557248",
"0.5537",
"0.547609",
"0.547609",
"0.5462827",
"0.5462827",
"0.5430573",
... | 0.7427203 | 0 |
Sets the processDefinition value for this ProcessNode. | public void setProcessDefinition(com.sforce.soap.enterprise.sobject.ProcessDefinition processDefinition) {
this.processDefinition = processDefinition;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setProcessDefinitionId(java.lang.String processDefinitionId) {\n this.processDefinitionId = processDefinitionId;\n }",
"public void setDefinition(Long Definition) {\n this.Definition = Definition;\n }",
"public void setDefinition(String definition){\n\t\tthis.definition = defini... | [
"0.62015396",
"0.5661969",
"0.56246644",
"0.5607462",
"0.5517951",
"0.55087644",
"0.54660875",
"0.5431129",
"0.5342098",
"0.5342098",
"0.5283705",
"0.5195292",
"0.51758826",
"0.51355284",
"0.50699896",
"0.49960968",
"0.49270907",
"0.4926318",
"0.49151012",
"0.49010092",
"0.48... | 0.767223 | 0 |
Gets the processDefinitionId value for this ProcessNode. | public java.lang.String getProcessDefinitionId() {
return processDefinitionId;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public java.lang.String getProcessId() {\n return processId;\n }",
"public java.lang.String getProcessId() {\n return processId;\n }",
"public java.lang.String getProcessId() {\n return processId;\n }",
"public java.lang.String getProcessId() {\n return processId;\n }",
"public Stri... | [
"0.6575073",
"0.6575073",
"0.6537762",
"0.6537762",
"0.6483581",
"0.63809204",
"0.61496854",
"0.608726",
"0.59396535",
"0.5834643",
"0.57613146",
"0.5726754",
"0.5686898",
"0.568102",
"0.5621542",
"0.5552186",
"0.548858",
"0.5475104",
"0.53391165",
"0.5270884",
"0.52625066",
... | 0.7917916 | 0 |
Sets the processDefinitionId value for this ProcessNode. | public void setProcessDefinitionId(java.lang.String processDefinitionId) {
this.processDefinitionId = processDefinitionId;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public java.lang.String getProcessDefinitionId() {\n return processDefinitionId;\n }",
"public com.opentext.bn.converters.avro.entity.DocumentEvent.Builder setProcessId(java.lang.String value) {\n validate(fields()[18], value);\n this.processId = value;\n fieldSetFlags()[18] = true;\n ... | [
"0.6267765",
"0.5521753",
"0.5495926",
"0.537234",
"0.5331964",
"0.52283937",
"0.51451856",
"0.5131406",
"0.49550948",
"0.47783116",
"0.47365052",
"0.470585",
"0.45232716",
"0.4484117",
"0.4474919",
"0.44410896",
"0.44077498",
"0.43700102",
"0.43362156",
"0.43113217",
"0.4311... | 0.7348121 | 0 |
Gets the systemModstamp value for this ProcessNode. | public java.util.Calendar getSystemModstamp() {
return systemModstamp;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public java.util.Calendar getSystemModstamp() {\r\n return systemModstamp;\r\n }",
"public void setSystemmodstamp( Date systemmodstamp )\n {\n this.systemmodstamp = systemmodstamp;\n }",
"public void setSystemModstamp(java.util.Calendar systemModstamp) {\n this.systemModstamp = sy... | [
"0.7826186",
"0.69233584",
"0.6667086",
"0.6667086",
"0.6655478",
"0.6421592",
"0.6224236",
"0.6179705",
"0.6050616",
"0.60381895",
"0.6004109",
"0.590019",
"0.57972115",
"0.57887584",
"0.57436746",
"0.5725222",
"0.56950545",
"0.5638129",
"0.56167",
"0.5609771",
"0.5603866",
... | 0.7801652 | 1 |
Sets the systemModstamp value for this ProcessNode. | public void setSystemModstamp(java.util.Calendar systemModstamp) {
this.systemModstamp = systemModstamp;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setSystemmodstamp( Date systemmodstamp )\n {\n this.systemmodstamp = systemmodstamp;\n }",
"public void setSystemModstamp(java.util.Calendar systemModstamp) {\r\n this.systemModstamp = systemModstamp;\r\n }",
"public java.util.Calendar getSystemModstamp() {\r\n return ... | [
"0.79560035",
"0.7857893",
"0.63330376",
"0.625422",
"0.625422",
"0.53767586",
"0.53218347",
"0.5273299",
"0.5192554",
"0.5184432",
"0.51016974",
"0.509647",
"0.50889695",
"0.50643307",
"0.49851835",
"0.49611285",
"0.49412924",
"0.49234447",
"0.48957905",
"0.4856959",
"0.4841... | 0.78539157 | 2 |
Return type metadata object | public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public MetadataType getType();",
"public MetadataType getType() {\n return type;\n }",
"public MilanoTypeMetadata.TypeMetadata getMetadata()\n {\n if (typeMetadata == null) {\n return null;\n }\n\n return typeMetadata;\n }",
"private Metadata getMetadata(RubyModule type)... | [
"0.7969707",
"0.7373198",
"0.7358018",
"0.7090138",
"0.67353225",
"0.67259765",
"0.66725683",
"0.65644145",
"0.6543223",
"0.6543223",
"0.6543223",
"0.6543223",
"0.6543223",
"0.6543223",
"0.6543223",
"0.6543223",
"0.6543223",
"0.6543223",
"0.6543223",
"0.6543223",
"0.6543223",... | 0.0 | -1 |
Enable GZIP for all responses | private static void addGzipHeader(Request request, Response response) {
response.header("Content-Encoding", "gzip");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void serviceGZipCompressed(Connection conn) \n throws IOException {\n conn.getResponse().setContentType(getContnentType().getMimeType());\n conn.getResponse().setHeader(\"Content-Encoding\", \"gzip\");\n conn.getOutputStream().write(gzipContent);\n }",
"public GZIPResponseWrapp... | [
"0.62026393",
"0.58151174",
"0.5541762",
"0.55320036",
"0.55098826",
"0.54740906",
"0.5448065",
"0.54272014",
"0.5386366",
"0.5249178",
"0.5217499",
"0.51541156",
"0.508796",
"0.50792354",
"0.50452375",
"0.50431097",
"0.50389016",
"0.5010047",
"0.49979502",
"0.498002",
"0.495... | 0.687269 | 0 |
The of an imported certificate to replace. To import a new certificate, omit this field. | public void setCertificateArn(String certificateArn) {
this.certificateArn = certificateArn;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"String getCertificate();",
"public Integer getCertificateNo() {\n return certificateNo;\n }",
"public String getCertification() {\n return certification;\n }",
"public X509Certificate getCertificate()\n {\n return this.cert;\n }",
"public byte[] certificate() {\n return this... | [
"0.60847044",
"0.57916415",
"0.5727809",
"0.570002",
"0.5670382",
"0.5603803",
"0.5503465",
"0.54309475",
"0.5404611",
"0.5400938",
"0.53454286",
"0.5334178",
"0.5326601",
"0.53257227",
"0.53188026",
"0.5267571",
"0.52511436",
"0.5243296",
"0.52303946",
"0.5230085",
"0.522937... | 0.0 | -1 |
The of an imported certificate to replace. To import a new certificate, omit this field. | public String getCertificateArn() {
return this.certificateArn;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"String getCertificate();",
"public Integer getCertificateNo() {\n return certificateNo;\n }",
"public String getCertification() {\n return certification;\n }",
"public X509Certificate getCertificate()\n {\n return this.cert;\n }",
"public byte[] certificate() {\n return this... | [
"0.60847044",
"0.57916415",
"0.5727809",
"0.570002",
"0.5670382",
"0.5603803",
"0.5503465",
"0.54309475",
"0.5404611",
"0.5400938",
"0.53454286",
"0.5334178",
"0.5326601",
"0.53257227",
"0.53188026",
"0.5267571",
"0.52511436",
"0.5243296",
"0.52303946",
"0.5230085",
"0.522937... | 0.46003187 | 90 |
The of an imported certificate to replace. To import a new certificate, omit this field. | public ImportCertificateRequest withCertificateArn(String certificateArn) {
setCertificateArn(certificateArn);
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"String getCertificate();",
"public Integer getCertificateNo() {\n return certificateNo;\n }",
"public String getCertification() {\n return certification;\n }",
"public X509Certificate getCertificate()\n {\n return this.cert;\n }",
"public byte[] certificate() {\n return this... | [
"0.60847044",
"0.57916415",
"0.5727809",
"0.570002",
"0.5670382",
"0.5603803",
"0.5503465",
"0.54309475",
"0.5404611",
"0.5400938",
"0.53454286",
"0.5334178",
"0.5326601",
"0.53257227",
"0.53188026",
"0.5267571",
"0.52511436",
"0.5243296",
"0.52303946",
"0.5230085",
"0.522937... | 0.0 | -1 |
The certificate to import. The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field. Warning: ByteBuffers returned by the SDK are mutable. Changes to the content or position of the byte buffer will be seen by all objects that have a reference to this object. It is recommended to call ByteBuffer.duplicate() or ByteBuffer.asReadOnlyBuffer() before using or reading from the buffer. This behavior will be changed in a future major version of the SDK. | public void setCertificate(java.nio.ByteBuffer certificate) {
this.certificate = certificate;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public ImportCertificateRequest withCertificate(java.nio.ByteBuffer certificate) {\n setCertificate(certificate);\n return this;\n }",
"public byte[] certificate() {\n return this.certificate;\n }",
"String getCertificate();",
"public X509Certificate getCertificate();",
"public X... | [
"0.6505161",
"0.6497189",
"0.62815464",
"0.61626524",
"0.6140503",
"0.60244185",
"0.59995955",
"0.5934652",
"0.580371",
"0.57734406",
"0.5693983",
"0.5683795",
"0.56803393",
"0.56455046",
"0.5628172",
"0.56234545",
"0.56164557",
"0.5615366",
"0.5607369",
"0.55911016",
"0.5571... | 0.5476016 | 23 |
The certificate to import. The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field. Warning: ByteBuffers returned by the SDK are mutable. Changes to the content or position of the byte buffer will be seen by all objects that have a reference to this object. It is recommended to call ByteBuffer.duplicate() or ByteBuffer.asReadOnlyBuffer() before using or reading from the buffer. This behavior will be changed in a future major version of the SDK. | public ImportCertificateRequest withCertificate(java.nio.ByteBuffer certificate) {
setCertificate(certificate);
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public byte[] certificate() {\n return this.certificate;\n }",
"String getCertificate();",
"public X509Certificate getCertificate();",
"public X509Certificate getCertificate()\n {\n return this.cert;\n }",
"com.google.protobuf.ByteString getCertificate(int index);",
"@java.lang.Override\n ... | [
"0.64979994",
"0.62829673",
"0.61632246",
"0.6140645",
"0.6026484",
"0.6000647",
"0.59362483",
"0.5806338",
"0.577414",
"0.56953585",
"0.5683604",
"0.56808096",
"0.5645522",
"0.5626499",
"0.5623501",
"0.5616665",
"0.56156266",
"0.5607288",
"0.55914426",
"0.557298",
"0.5532385... | 0.6503792 | 0 |
The private key that matches the public key in the certificate. The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field. Warning: ByteBuffers returned by the SDK are mutable. Changes to the content or position of the byte buffer will be seen by all objects that have a reference to this object. It is recommended to call ByteBuffer.duplicate() or ByteBuffer.asReadOnlyBuffer() before using or reading from the buffer. This behavior will be changed in a future major version of the SDK. | public void setPrivateKey(java.nio.ByteBuffer privateKey) {
this.privateKey = privateKey;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public PrivateKey getKey();",
"public String getPrivateKey();",
"public String getPrivateKey();",
"PrivateKey getPrivateKey();",
"private KeyPair getPrivateKeyPair() throws IOException {\n final PEMParser pemParser = new PEMParser(new StringReader(sshKey));\n final PEMKeyPair keypair = (PEMKeyPair) p... | [
"0.6892926",
"0.66177994",
"0.66177994",
"0.65411097",
"0.6533445",
"0.635677",
"0.62738484",
"0.62315154",
"0.62232584",
"0.62187546",
"0.619674",
"0.619674",
"0.619674",
"0.6175239",
"0.61585844",
"0.60865456",
"0.60845643",
"0.60244983",
"0.600057",
"0.5994159",
"0.5979897... | 0.0 | -1 |
The private key that matches the public key in the certificate. The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field. Warning: ByteBuffers returned by the SDK are mutable. Changes to the content or position of the byte buffer will be seen by all objects that have a reference to this object. It is recommended to call ByteBuffer.duplicate() or ByteBuffer.asReadOnlyBuffer() before using or reading from the buffer. This behavior will be changed in a future major version of the SDK. | public ImportCertificateRequest withPrivateKey(java.nio.ByteBuffer privateKey) {
setPrivateKey(privateKey);
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public PrivateKey getKey();",
"public String getPrivateKey();",
"public String getPrivateKey();",
"PrivateKey getPrivateKey();",
"private KeyPair getPrivateKeyPair() throws IOException {\n final PEMParser pemParser = new PEMParser(new StringReader(sshKey));\n final PEMKeyPair keypair = (PEMKeyPair) p... | [
"0.68929344",
"0.6617396",
"0.6617396",
"0.65408313",
"0.65330935",
"0.6357297",
"0.62746745",
"0.6231652",
"0.6221221",
"0.6216379",
"0.6197021",
"0.6197021",
"0.6197021",
"0.6175951",
"0.6158787",
"0.60847616",
"0.6082764",
"0.6024727",
"0.6000992",
"0.5994191",
"0.59792334... | 0.0 | -1 |
The PEM encoded certificate chain. The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field. Warning: ByteBuffers returned by the SDK are mutable. Changes to the content or position of the byte buffer will be seen by all objects that have a reference to this object. It is recommended to call ByteBuffer.duplicate() or ByteBuffer.asReadOnlyBuffer() before using or reading from the buffer. This behavior will be changed in a future major version of the SDK. | public void setCertificateChain(java.nio.ByteBuffer certificateChain) {
this.certificateChain = certificateChain;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public X509Certificate[] getCertificateChain();",
"public final ArrayList<CertificateV2>\n getCertificateChain_() { return certificateChain_; }",
"private byte[][] getUserCertificate() throws KeyChainException, InterruptedException, CertificateEncodingException {\n ArrayList<byte[]> encodings = new Arr... | [
"0.66379327",
"0.6516134",
"0.63227546",
"0.6244428",
"0.5842665",
"0.5774572",
"0.5763198",
"0.5745572",
"0.5745572",
"0.562287",
"0.54944354",
"0.54944354",
"0.54584247",
"0.5456287",
"0.54557735",
"0.54462934",
"0.54462934",
"0.5420297",
"0.54163504",
"0.54163504",
"0.5411... | 0.56887364 | 9 |
The PEM encoded certificate chain. The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field. Warning: ByteBuffers returned by the SDK are mutable. Changes to the content or position of the byte buffer will be seen by all objects that have a reference to this object. It is recommended to call ByteBuffer.duplicate() or ByteBuffer.asReadOnlyBuffer() before using or reading from the buffer. This behavior will be changed in a future major version of the SDK. | public ImportCertificateRequest withCertificateChain(java.nio.ByteBuffer certificateChain) {
setCertificateChain(certificateChain);
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public X509Certificate[] getCertificateChain();",
"public final ArrayList<CertificateV2>\n getCertificateChain_() { return certificateChain_; }",
"private byte[][] getUserCertificate() throws KeyChainException, InterruptedException, CertificateEncodingException {\n ArrayList<byte[]> encodings = new Arr... | [
"0.6635411",
"0.65152514",
"0.63201606",
"0.62416065",
"0.58404845",
"0.5773936",
"0.57623863",
"0.5744984",
"0.5744984",
"0.56892556",
"0.562092",
"0.54937595",
"0.54937595",
"0.5457786",
"0.54557157",
"0.5454957",
"0.54456806",
"0.54456806",
"0.54196423",
"0.5416059",
"0.54... | 0.48571935 | 80 |
One or more resource tags to associate with the imported certificate. Note: You cannot apply tags when reimporting a certificate. | public java.util.List<Tag> getTags() {
return tags;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public ImportCertificateRequest withTags(java.util.Collection<Tag> tags) {\n setTags(tags);\n return this;\n }",
"TagResourceResult tagResource(TagResourceRequest tagResourceRequest);",
"java.util.concurrent.Future<TagResourcesResult> tagResourcesAsync(TagResourcesRequest tagResourcesRequest);... | [
"0.6305897",
"0.6274674",
"0.6201613",
"0.5955295",
"0.5861332",
"0.5861332",
"0.5861332",
"0.57699466",
"0.5767014",
"0.56597537",
"0.56597537",
"0.56597537",
"0.55573696",
"0.5504751",
"0.5484813",
"0.5484813",
"0.5484813",
"0.5484813",
"0.54583615",
"0.54512537",
"0.541224... | 0.0 | -1 |
One or more resource tags to associate with the imported certificate. Note: You cannot apply tags when reimporting a certificate. | public void setTags(java.util.Collection<Tag> tags) {
if (tags == null) {
this.tags = null;
return;
}
this.tags = new java.util.ArrayList<Tag>(tags);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public ImportCertificateRequest withTags(java.util.Collection<Tag> tags) {\n setTags(tags);\n return this;\n }",
"TagResourceResult tagResource(TagResourceRequest tagResourceRequest);",
"java.util.concurrent.Future<TagResourcesResult> tagResourcesAsync(TagResourcesRequest tagResourcesRequest);... | [
"0.630671",
"0.6275132",
"0.6200801",
"0.5954838",
"0.5860934",
"0.5860934",
"0.5860934",
"0.5770459",
"0.5766798",
"0.56597614",
"0.56597614",
"0.56597614",
"0.55562365",
"0.5504937",
"0.548434",
"0.548434",
"0.548434",
"0.548434",
"0.5458523",
"0.5450265",
"0.5411367",
"0... | 0.48109564 | 74 |
One or more resource tags to associate with the imported certificate. Note: You cannot apply tags when reimporting a certificate. | public ImportCertificateRequest withTags(java.util.Collection<Tag> tags) {
setTags(tags);
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"TagResourceResult tagResource(TagResourceRequest tagResourceRequest);",
"java.util.concurrent.Future<TagResourcesResult> tagResourcesAsync(TagResourcesRequest tagResourcesRequest);",
"public MetadataResourceType setTags(Object tags) {\n this.tags = tags;\n return this;\n }",
"@Override\n ... | [
"0.6275132",
"0.6200801",
"0.5954838",
"0.5860934",
"0.5860934",
"0.5860934",
"0.5770459",
"0.5766798",
"0.56597614",
"0.56597614",
"0.56597614",
"0.55562365",
"0.5504937",
"0.548434",
"0.548434",
"0.548434",
"0.548434",
"0.5458523",
"0.5450265",
"0.5411367",
"0.5371222",
"... | 0.630671 | 0 |
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. | @Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("{");
if (getCertificateArn() != null)
sb.append("CertificateArn: ").append(getCertificateArn()).append(",");
if (getCertificate() != null)
sb.append("Certificate: ").append(getCertificate()).append(",");
if (getPrivateKey() != null)
sb.append("PrivateKey: ").append("***Sensitive Data Redacted***").append(",");
if (getCertificateChain() != null)
sb.append("CertificateChain: ").append(getCertificateChain()).append(",");
if (getTags() != null)
sb.append("Tags: ").append(getTags());
sb.append("}");
return sb.toString();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String toString() { return stringify(this, true); }",
"@Override\n public String toString() {\n return new JSONSerializer().serialize(this);\n }",
"public String toString() {\n\t\treturn this.toJSON().toString();\n\t}",
"public String toString() {\n\t\treturn this.toJSON().toString();\n\t... | [
"0.8098101",
"0.807239",
"0.804714",
"0.804714",
"0.8023268",
"0.7972387",
"0.7937158",
"0.79277784",
"0.7909277",
"0.7893453",
"0.7782673",
"0.77816385",
"0.7766275",
"0.7765517",
"0.7765517",
"0.7765517",
"0.7754995",
"0.7726817",
"0.7721287",
"0.7673284",
"0.7673284",
"0... | 0.0 | -1 |
TODO Autogenerated method stub | public static void main(String[] args) throws InterruptedException {
System.setProperty("webdriver.chrome.driver","C:\\Users\\Maryam\\Downloads\\chromedriver_win32\\chromedriver.exe");
WebDriverException driver=new ChromeDriver();
driver.get("https://www.toolsqa.com/handling-alerts-using-selenium-webdriver/");
driver.findElement(By.xpath("//*[@id=\"cookie_action_close_header\"]")).click();
driver.manage().window().maximize();
} | {
"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 String toString() {
return this.nome;
} | {
"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 |
action of button for move to another page receipt page (error) | @Override
public void onClick(View view) {
Intent intent = new Intent(Visa.this,Recepit.class);
startActivity(intent);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void proceedToCheckOut()\n\t{\n\t\tproceedtocheckoutpage = productpage.addToCartBtnClick();\n\t}",
"private void onButtonErrorClick() {\n mNavigationCallback.goToStepRqst(NavigationCallback.RegistrationSteps.MARKET_SELECTION);\n }",
"@Override\n\t\t\tpublic void buttonClick(ClickEvent event) {... | [
"0.677498",
"0.6620386",
"0.6558387",
"0.63374466",
"0.63344043",
"0.62673604",
"0.6208588",
"0.6194102",
"0.6110227",
"0.60851264",
"0.60657823",
"0.6046939",
"0.60331553",
"0.60238504",
"0.6002223",
"0.5992866",
"0.5954664",
"0.5948165",
"0.5942824",
"0.59367776",
"0.593627... | 0.0 | -1 |
Initializes the controller class. | @Override
public void initialize(URL url, ResourceBundle rb) {
// TODO
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void initialize() {\n\t\tcontroller = Controller.getInstance();\n\t}",
"public MainController() {\n\t\tcontroller = new Controller(this);\n\t}",
"public abstract void initController();",
"public Controller() {\n super();\n }",
"public Controller() {\n super();\n }",
"public Co... | [
"0.8125658",
"0.78537387",
"0.78320265",
"0.776199",
"0.776199",
"0.76010174",
"0.74497247",
"0.7437837",
"0.7430714",
"0.742303",
"0.74057597",
"0.7341963",
"0.7327749",
"0.72634363",
"0.72230434",
"0.7102504",
"0.70575505",
"0.69873077",
"0.69721675",
"0.6944077",
"0.691256... | 0.0 | -1 |
Created by tda on 10/10/2015. | public interface OtherInterface{
String myVar = "MY_IMPLICIT_PUBLIC_STATIC_FINAL_VAR";
void myPublicAbstractMethod();
default void myPublicDefaultMethod(){}
static void myPublicStaticMethod(){}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@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}",
"private stendhal() {\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"public final void mo51373a() {\n }",
"@Override\n\tpublic... | [
"0.5996598",
"0.59601396",
"0.5918623",
"0.5828915",
"0.5801085",
"0.5776398",
"0.5763572",
"0.5756516",
"0.5755425",
"0.5754982",
"0.5752727",
"0.5748997",
"0.5748997",
"0.5747858",
"0.5747858",
"0.5747858",
"0.5747858",
"0.5747858",
"0.5734453",
"0.57265306",
"0.57249427",
... | 0.0 | -1 |
TODO Autogenerated method stub | protected void initEvent() {
base_ib.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View v) {
mainActivity.getSlidingMenu().toggle();
}
});
} | {
"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 |
Schedule the provided job for running. | void schedule(ScheduledJob job); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static void scheduleJob() {\n Set<JobRequest> jobRequests = JobManager.instance().getAllJobRequestsForTag(MobssJob.TAG);\n if (!jobRequests.isEmpty()) {\n return;\n }\n\n new JobRequest.Builder(MobssJob.TAG)\n .setPeriodic(AlarmManager.INTERVAL_DAY)\n ... | [
"0.7190593",
"0.7155216",
"0.68972105",
"0.66582364",
"0.6601824",
"0.6582997",
"0.65750515",
"0.6514769",
"0.6505503",
"0.6370648",
"0.63624305",
"0.61897564",
"0.61281294",
"0.6128031",
"0.604184",
"0.60373706",
"0.6009292",
"0.5983016",
"0.59668726",
"0.5947999",
"0.593754... | 0.7380431 | 0 |
Remove the provided job from the scheduling. | void deschedule(ScheduledJob job); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void removeJob(Job job) {\n removeJob(job.getJobId());\n }",
"public void removeJob(int jNo);",
"private synchronized void remove(final String jobIdentifier) {\n final RunningJobImpl result = this.jobs.remove(jobIdentifier);\n if (null == result) {\n throw new RuntimeException(\"Try... | [
"0.7340221",
"0.732731",
"0.68247575",
"0.6806965",
"0.676708",
"0.65849584",
"0.64736426",
"0.6237583",
"0.61832905",
"0.6132109",
"0.6124103",
"0.61047506",
"0.5949791",
"0.58965683",
"0.58722204",
"0.58414954",
"0.56892425",
"0.5623958",
"0.5611852",
"0.5585682",
"0.555286... | 0.5369356 | 38 |
/ TODO: SWIPE GESTURES AND ANIMATIONS | public void setSwipes(int rb_dana_u_god) {
_view.setOnTouchListener(new OnSwipeTouchListener(MainActivity.this) {
@RequiresApi(api = Build.VERSION_CODES.N)
@Override
public void onSwipeLeft() {
super.onSwipeLeft();
YoYo.with(Techniques.ZoomInRight)
.duration(650)
.repeat(0)
.playOn(_ikona);
_rb_danaUgodini = _rb_danaUgodini + 1;
_counter = _counter + 1;
setUI(_counter);
}
@RequiresApi(api = Build.VERSION_CODES.N)
@Override
public void onSwipeRight() {
super.onSwipeRight();
YoYo.with(Techniques.ZoomInLeft)
.duration(650)
.repeat(0)
.playOn(_ikona);
_rb_danaUgodini = _rb_danaUgodini - 1;
_counter = _counter - 1;
setUI(_counter);
}
@RequiresApi(api = Build.VERSION_CODES.N)
@Override
public void onSwipeBottom() {
super.onSwipeBottom();
YoYo.with(Techniques.ZoomIn)
.duration(550)
.repeat(0)
.playOn(_ikona);
_rb_danaUgodini = _calendar.get(Calendar.DAY_OF_YEAR)-1;
_counter = 0;
setUI(_counter);
}
@RequiresApi(api = Build.VERSION_CODES.N)
@Override
public void onSwipeTop() {
super.onSwipeTop();
YoYo.with(Techniques.ZoomIn)
.duration(550)
.repeat(0)
.playOn(_ikona);
_rb_danaUgodini = _calendar.get(Calendar.DAY_OF_YEAR)-1;
_counter = 0;
setUI(_counter);
}
});
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void mo5969f() {\n this.f5416fa.setVisibility(0);\n this.f5416fa.setImageBitmap(C1413m.f5711i);\n ObjectAnimator duration = ObjectAnimator.ofFloat(this.f5416fa, \"translationY\", new float[]{0.0f, -((float) C1413m.f5711i.getHeight())}).setDuration(350);\n ObjectAnimator duration2... | [
"0.6816778",
"0.66899997",
"0.6497135",
"0.6444243",
"0.62079495",
"0.61868006",
"0.6185765",
"0.61133975",
"0.6106624",
"0.6100823",
"0.60446",
"0.5985139",
"0.59818554",
"0.59372824",
"0.5857741",
"0.5850558",
"0.58476436",
"0.58469826",
"0.5830939",
"0.5823748",
"0.5822741... | 0.0 | -1 |
long taillePhoto = 0; constructeur | public String getPseudo(){return pseudo;} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public long mo23024g() {\n return this.f26122b.getLong(\"remind.new.photo\", System.currentTimeMillis() - 600000);\n }",
"private void setPhotoAttcher() {\n\n }",
"private void aumentarPilha() {\n this.pilhaMovimentos++;\n }",
"public int getLargeur() {\r\n return largeur;\r\n ... | [
"0.5983287",
"0.59816223",
"0.5942853",
"0.589374",
"0.5870674",
"0.5838623",
"0.58347213",
"0.58149314",
"0.5804108",
"0.57906896",
"0.57884455",
"0.57486314",
"0.5666477",
"0.5612324",
"0.56101334",
"0.5582808",
"0.5581758",
"0.5559492",
"0.55412126",
"0.55112875",
"0.55087... | 0.0 | -1 |
Returns the value of the 'Destino' reference. | Pagina getDestino(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public long getCiudadDestino() {\r\n\t\treturn ciudadDestino;\r\n\t}",
"public int getDest(){\r\n\t\treturn this.dest;\r\n\t}",
"@Override\n\tpublic String getDest() {\n\t\treturn dest;\n\t}",
"public Reference destination() {\n return getObject(Reference.class, FhirPropertyNames.PROPERTY_DESTINAT... | [
"0.6915501",
"0.679316",
"0.6599255",
"0.6578331",
"0.65592897",
"0.6386133",
"0.63738835",
"0.63071966",
"0.6286921",
"0.62540174",
"0.6174914",
"0.6127256",
"0.5978082",
"0.59570307",
"0.59531164",
"0.5920722",
"0.5900677",
"0.5896017",
"0.5891466",
"0.5826683",
"0.5811058"... | 0.68280554 | 1 |
listen clicking even: listen TreeItem changing event: | protected void initNavBar() {
view.treeView.getSelectionModel().selectedItemProperty().addListener((observable, oldValue, newValue) -> {
TreeItem<String> treeItem = newValue;
int level = view.treeView.getTreeItemLevel(treeItem);
String conName = null, dbName = null;
if (level == 1) { // coName
conName = treeItem.getValue();
} else if (level == 2) { // coName
dbName = treeItem.getValue();
conName = treeItem.getParent().getValue();
} else if (level == 3) { // table
dbName = treeItem.getParent().getValue();
conName = treeItem.getParent().getParent().getValue();
}
if (conName == null || dbName == null)
return;
if (currentConName == conName) {
} else {
}
setStatusBarText(String.format("connect name: %s, database name: %s", conName, dbName));
});
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public interface TreeClickListener {\n\n void click(String name);\n\n}",
"private void AccessoryTree_valueChanged(\r\n\t\tTreeSelectionEvent e) {\n\t \r\n\t}",
"void onTreeChange(TreeChangeEvent event);",
"private void handleSelect(MouseEvent event) {\n\t\tWidget widget = tree.getItem(new Point(event.x... | [
"0.67572045",
"0.671648",
"0.6676973",
"0.6675058",
"0.66648835",
"0.65480053",
"0.65142655",
"0.63788056",
"0.63601154",
"0.635581",
"0.6320064",
"0.63072455",
"0.6295766",
"0.6273436",
"0.6240353",
"0.6224801",
"0.6223667",
"0.62081",
"0.61628646",
"0.61207265",
"0.61157876... | 0.0 | -1 |
Suppose there is only one active sqllink. | boolean changeCurrentCon(SQLConConfig config) {
if (config.name.equals(currentConName))
return true;
if (conService != null) {
conService.close();
}
conService = getSQLService(config);
if (conService.getService() == false)
return false;
currentConName = config.name;
return true;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"boolean needSeparateConnectionForDdl();",
"@Override\r\n public Db_db currentDb(){return curDb_;}",
"public boolean isConnected(){\r\n return (id!=-1 && matlabEng!=null); \r\n }",
"private boolean inDatabase() {\r\n \t\treturn inDatabase(0, null);\r\n \t}",
"@Override\n public boolean trackExternal... | [
"0.5550693",
"0.55233055",
"0.54496455",
"0.5368069",
"0.5326739",
"0.5263526",
"0.52475816",
"0.52195585",
"0.5209159",
"0.5143995",
"0.5126552",
"0.50812405",
"0.50794524",
"0.5076585",
"0.5047464",
"0.5044368",
"0.50219667",
"0.5021561",
"0.49987006",
"0.49933133",
"0.4992... | 0.46781817 | 78 |
judge whether there is a connection name config.name now. | public void addNewCon(SQLConConfig config) {
if (conName2SQLConInfo.get(config.name) != null) {
Alert alert = new Alert(AlertType.ERROR);
alert.setTitle("New Connection Error");
alert.setContentText("Ooops, there was an connection named" + config.name + "!");
alert.showAndWait();
return;
}
if (changeCurrentCon(config) == false) {
return;
}
view.conChoiceBox.getItems().add(config.name);
conName2SQLConInfo.put(currentConName, config);
addSQLConInfo(conService.getSQLConInfo());
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"boolean hasConfigConnectorConfig();",
"public boolean hasConfiguration(String name) {\n\t\treturn getArtefact(name) != null;\n\t}",
"boolean changeCurrentCon(SQLConConfig config) {\n\t\tif (config.name.equals(currentConName))\n\t\t\treturn true;\n\t\tif (conService != null) {\n\t\t\tconService.close();\n\t\t}\... | [
"0.62261325",
"0.60889363",
"0.6052318",
"0.60243434",
"0.5978554",
"0.5880749",
"0.586081",
"0.5830565",
"0.58227277",
"0.58176243",
"0.58096987",
"0.57914066",
"0.5752533",
"0.5719673",
"0.56972307",
"0.5686978",
"0.5684949",
"0.5670927",
"0.5658892",
"0.56547195",
"0.56424... | 0.0 | -1 |
Constructor of the model | public MyHousesTableModel(List<House> houses) {
Object[] titles = { "ZIP code", "City" };
this.titles = titles;
// Create a matrix of table contents
Object[][] contents = new Object[houses.size()][titles.length];
housesArray = new House[houses.size()];
int i = 0;
for (House h : houses) {
Object[] house = {h.getZipCode(), h.getCity()};
contents[i] = house;
housesArray[i] = h;
i++;
}
this.contents = contents;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Model() {\n\t}",
"public Model() {\n\t}",
"private Model(){}",
"public Model() {\n }",
"public Model() {\n }",
"public Model() {\n }",
"public Model() {\n\n }",
"public Carmodel() {\n this(\"CarModel\", null);\n }",
"public ModelBolting(){}",
"public Model() {\n ... | [
"0.8341573",
"0.8341573",
"0.81443065",
"0.8058291",
"0.8058291",
"0.8058291",
"0.79508674",
"0.75284445",
"0.7518063",
"0.74954313",
"0.74434376",
"0.7399272",
"0.7359542",
"0.7343807",
"0.73186845",
"0.73118275",
"0.7271281",
"0.7243923",
"0.7233441",
"0.7204475",
"0.719910... | 0.0 | -1 |
Method that returns the house that is presented in an specific row | public House getRow(int selectedRow) throws NoRowSelectedException {
if (selectedRow >= this.housesArray.length || selectedRow < 0) {
throw new NoRowSelectedException();
} else {
return housesArray[selectedRow];
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int fullHouse() {\n\n for (int i = 0; i < this.allCards.length - 4; i++) {//was 3\n int thisValue = this.allCards[i].value;\n if (thisValue == this.allCards[i + 1].value && thisValue == this.allCards[i + 2].value && this.allCards[i + 3].value == this.allCards[i + 4].value) {\n ... | [
"0.5962195",
"0.5952044",
"0.59276587",
"0.5824774",
"0.5675061",
"0.560442",
"0.55862385",
"0.5576065",
"0.55482703",
"0.5501735",
"0.5442453",
"0.5441892",
"0.5431397",
"0.54244316",
"0.5413151",
"0.5405728",
"0.5403628",
"0.53983885",
"0.5385245",
"0.537517",
"0.5341692",
... | 0.5864318 | 3 |
Method that manually adds an house to the table. It is used because it is more efficient than building a whole new table | public void addHouse(House h) {
Object[][] newContents = new Object[this.contents.length + 1][2];
for (int i = 0; i < this.contents.length; i++) {
newContents[i][0] = this.contents[i][0];
newContents[i][1] = this.contents[i][1];
}
newContents[this.contents.length][0] = h.getZipCode();
newContents[this.contents.length][1] = h.getCity();
House[] newHousesArray = new House[this.housesArray.length + 1];
for (int i = 0; i < this.housesArray.length; i++) {
newHousesArray[i] = this.housesArray[i];
}
newHousesArray[this.housesArray.length] = h;
this.housesArray = newHousesArray;
this.contents = newContents;
this.fireTableDataChanged();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void createNewHouseAndAddToList(){\n\t\t\tHouse newHouse = new House();\r\n\t\t\tString id = createAutomaticallyID().trim();\r\n\t\t\tnewHouse.setId(id);\r\n\t\t\tnewHouse.setPrice(Double.parseDouble(priceTextField.getText().trim()));\r\n\t\t\tnewHouse.setNumberOfBathrooms(Integer.parseInt(bathroomsTextFiel... | [
"0.7298618",
"0.7109416",
"0.6349383",
"0.61860275",
"0.6159416",
"0.59535366",
"0.59405166",
"0.58968675",
"0.58285046",
"0.5806445",
"0.57601666",
"0.57466775",
"0.5735857",
"0.57228583",
"0.56916666",
"0.5611245",
"0.5605484",
"0.56018054",
"0.55872804",
"0.55046636",
"0.5... | 0.7232596 | 1 |
only deserialize the part we're keeping in memory, used during startup when initializing from disk | public ElementRef deserializeRef(byte[] bytes) throws IOException {
try (MessageUnpacker unpacker = MessagePack.newDefaultUnpacker(bytes)) {
long id = unpacker.unpackLong();
String label = unpacker.unpackString();
return createNodeRef(id, label);
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void deserialize() {\n\t\t\n\t}",
"@Override\r\n\tprotected Object readObject() throws IOException, SerializeException {\r\n\t\treturn AdvancedDeserializerUtil.readObject(super.readObject());\r\n\t}",
"@Override\n\tpublic void init(String file_name) { deserialize(file_name); }",
"public abstract Objec... | [
"0.7185415",
"0.6760732",
"0.6442739",
"0.6363696",
"0.63591903",
"0.6292066",
"0.62174404",
"0.6204086",
"0.618966",
"0.6186322",
"0.6080932",
"0.60748374",
"0.60748374",
"0.60748374",
"0.6069727",
"0.60626894",
"0.6056507",
"0.6041707",
"0.60390717",
"0.60315895",
"0.602198... | 0.0 | -1 |
Created by xiezl on 16/6/20. | public interface NetInterface {
/**
* 接口有正确响应
* @param result
*/
public void onNetResult(String interfaceAction,Object result);
/**
* 接口调用异常
* @param ex
* @param isOnCallback
*/
public void onNetError(String interfaceAction,Throwable ex, boolean isOnCallback);
public void onNetFinished(String interfaceAction);
} | {
"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}",
"public final void mo51373a() {\n }",
"@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\tpubl... | [
"0.62094736",
"0.6154734",
"0.60692155",
"0.5995105",
"0.5967289",
"0.5937868",
"0.5937868",
"0.5870508",
"0.58668655",
"0.58639157",
"0.5842351",
"0.58253515",
"0.5825189",
"0.5823382",
"0.58209896",
"0.58174706",
"0.5808382",
"0.5789632",
"0.5789014",
"0.57830846",
"0.57828... | 0.0 | -1 |
Setup Methods Starts Here | @BeforeClass(enabled =true)
public void beforeClass(){
System.out.println("In BeforeClass");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected void setup() {\r\n }",
"public void setup() {\n }",
"public void setup() {\r\n\r\n\t}",
"@Override\r\n\tprotected final void setup() {\r\n \tsuper.setup();\r\n\r\n \tdoSetup();\r\n }",
"@Override\n protected void setup() {\n }",
"protected abstract void setup();",
"pr... | [
"0.8417896",
"0.8229895",
"0.8049261",
"0.7961364",
"0.78132707",
"0.77547",
"0.77332354",
"0.7665525",
"0.7637779",
"0.7611852",
"0.7521502",
"0.75185883",
"0.74964345",
"0.74964345",
"0.74657595",
"0.7450218",
"0.7446638",
"0.7398675",
"0.7389717",
"0.7378036",
"0.73533994"... | 0.0 | -1 |
Setup Methods Ends Here Test Method 1 | @Test(enabled =true, groups={"fast","window.One","unix.One","release1.one"})
public void testOne(){
System.out.println("In TestOne");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Before\n\tpublic void setup() {\n\t\t\n\t\t\n\t}",
"@Before\r\n\tpublic void setup() {\r\n\t}",
"protected void setup() {\r\n }",
"public void setUp() {\n\n\t}",
"@Before\n\t public void setUp() {\n\t }",
"public void setup() {\n }",
"@Before\n public void setup() {\n }",
"@Before\... | [
"0.8168716",
"0.8104601",
"0.80518895",
"0.7946597",
"0.79415345",
"0.7939112",
"0.7910634",
"0.7910634",
"0.7910634",
"0.786754",
"0.78526515",
"0.7809792",
"0.77716684",
"0.7751357",
"0.7751357",
"0.77350414",
"0.76999533",
"0.76866347",
"0.76716757",
"0.7664394",
"0.765269... | 0.0 | -1 |
Tear Down Methods Starts Here | @AfterMethod(enabled =true)
public void afterMethod(){
System.out.println("In AfterMethod");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected void takeDown(){\n\n\t}",
"protected void takeDown(){\n\n\t}",
"protected void takeDown() {\n // Deregister from the yellow pages\n try {\n DFService.deregister(this);\n } catch (FIPAException fe) {\n fe.printStackTrace();\n }\n\n // Printout a... | [
"0.7324795",
"0.7324795",
"0.69910276",
"0.6814832",
"0.6800836",
"0.66576684",
"0.65961885",
"0.65517503",
"0.63407326",
"0.633783",
"0.63165915",
"0.63165915",
"0.62724555",
"0.6269639",
"0.62630403",
"0.62608355",
"0.62589425",
"0.624281",
"0.620465",
"0.61794496",
"0.6156... | 0.0 | -1 |
template for script execution each script std and err output is redirected to `scriptOutputPath` | private String buildCommand(String command) {
return String.format("echo $(date -u) 'Executing: %1$s' >> %2$s 2>&1; " +
"source /etc/profile; " +
"%1$s + >> %2$s 2>&1",
command, scriptOutputPath);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@EventListener\n public void scriptResultWriting(ScriptLaunched scriptLaunched){\n Long id = scriptLaunched.getEventData();\n logger.info(\"script with id: \" + id + \" launched\");\n // run task for script with id\n }",
"public abstract void runScript() throws Exception;",
"void ex... | [
"0.5890148",
"0.57867324",
"0.5626226",
"0.56248873",
"0.55328655",
"0.55026966",
"0.5360694",
"0.52175844",
"0.52133",
"0.5199159",
"0.51762587",
"0.5174745",
"0.5121187",
"0.5061579",
"0.50563",
"0.5040196",
"0.5035149",
"0.5031273",
"0.5022057",
"0.50006986",
"0.49967188",... | 0.0 | -1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.