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 |
|---|---|---|---|---|---|---|
/ Casts any two arguments method reference to a BiFunction type | static <T, U, R> BiFunction<T, U, R> biFunction(BiFunction<T, U, R> biFunction) {
return biFunction;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@FunctionalInterface\npublic interface BiIntFunction {\n int apply(int var1, int var2);\n}",
"public interface BinaryFunction<T1, T2, R> {\n\n\t/**\n\t * Invoke the function.\n\t * @param arg1 The first argument.\n\t * @param arg2 The second argument.\n\t * @return The result of the function.\n\t */\n\tpublic R... | [
"0.6928976",
"0.66550225",
"0.66150856",
"0.6471437",
"0.63320625",
"0.6306761",
"0.6237806",
"0.61378163",
"0.6131657",
"0.6126489",
"0.60994595",
"0.60421515",
"0.60359657",
"0.59844047",
"0.59662867",
"0.5959501",
"0.5945226",
"0.5920151",
"0.5892538",
"0.58796847",
"0.587... | 0.64733124 | 3 |
/ Negates the predicate | static <T> Predicate<T> not(Predicate<T> predicate) {
return predicate.negate();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static <T> Predicate<T> not(Predicate<T> predicate) { return object -> !predicate.test(object); }",
"default Predicate<T> negate() {\n/* 80 */ return paramObject -> !test((T)paramObject);\n/* */ }",
"public static <T> Predicate<T> not(final Predicate<T> predicate) {\n return new Predic... | [
"0.7792502",
"0.77817535",
"0.72159797",
"0.71623135",
"0.6912812",
"0.6747164",
"0.6652507",
"0.66089004",
"0.6520809",
"0.6438733",
"0.6354723",
"0.6289223",
"0.62855744",
"0.62737685",
"0.62082267",
"0.6111492",
"0.609785",
"0.6086903",
"0.60734963",
"0.6038781",
"0.603320... | 0.80254304 | 0 |
Creates a new instance representing the information relevant for the customer | public RecieptDTO (String storeNameIn, String storeAdressIn, ArrayList itemListIn, double runningTotalIn, double totalVATPriceIn, LocalDate dateIn, LocalTime timeIn, double cashIn, double changeIn, double discountIn) {
storeName = storeNameIn;
storeAdress = storeAdressIn;
itemList = itemListIn;
totalPrice = ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Customer createCustomer() {\n return new Customer(nameNested, surNameNested, ageNested, streetNested);\n }",
"private Customer createCustomerData() {\n int id = -1;\n Timestamp createDate = DateTime.getUTCTimestampNow();\n String createdBy = session.getUsername();\n\n ... | [
"0.8009462",
"0.7875221",
"0.77576464",
"0.77576464",
"0.77576464",
"0.77576464",
"0.7633731",
"0.7484416",
"0.74595267",
"0.7402967",
"0.73134375",
"0.72889596",
"0.7245506",
"0.7230348",
"0.72225595",
"0.72157556",
"0.71989447",
"0.7181726",
"0.71312577",
"0.7119629",
"0.71... | 0.0 | -1 |
String representation of the receipt | public String toString(){
return storeName + "\n" +
storeAdress + "\n" +
date + "\n" +
time + "\n" +
itemList + "\n" +
"total price " + totalPrice + "\n" +
"total VAT price " + String.format("%.2f",totalVATPrice) + "\n" +
"payed amount " ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public String toString() {\n return \"Receipt{id=\"\n + this.receiptId.toString()\n + \", \"\n + \"Time placed=\"\n + this.timePlaced\n + \", \"\n + \"StoreId=\"\n + this.cart.getStoreID()\n + \", \"\n + \"Pizzas=\"\n + this.cart... | [
"0.82281166",
"0.76183575",
"0.75832903",
"0.7067822",
"0.70301",
"0.70113873",
"0.6938025",
"0.69065315",
"0.68554735",
"0.6723561",
"0.6684764",
"0.6660978",
"0.665914",
"0.6656704",
"0.6635744",
"0.661372",
"0.66024905",
"0.65171516",
"0.6484765",
"0.648467",
"0.647133",
... | 0.6805525 | 9 |
TODO Autogenerated method stub | @Override
public void onClick(View v) {
Activity_number.this.finish();
} | {
"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 |
Test of extractTaxonomy method, of class TransTaxoExtract. | @Test
public void testExtractTaxonomy() throws Exception {
System.out.println("extractTaxonomy");
Set<String> terms = new HashSet<>();
terms.add("");
terms.add("a");
terms.add("b");
terms.add("c");
terms.add("ab");
terms.add("ac");
terms.add("a... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Test\n\tpublic void testSearchIteratorDenormalizedFilter(){\n\t\t\n\t\tRegionQueryPart regionQueryPart = new RegionQueryPart();\n\t\tregionQueryPart.setRegion(new String[]{\"AB\",\"bc\"});\n\t\t//allof should be read : give me all the native and ephemere of AB and BC\n\t\tregionQueryPart.setRegionSelector(RegionS... | [
"0.55583483",
"0.5405396",
"0.5167855",
"0.51464736",
"0.50487494",
"0.49671453",
"0.4908303",
"0.48006472",
"0.47912055",
"0.47798383",
"0.47548693",
"0.47297546",
"0.471897",
"0.4659669",
"0.4643882",
"0.46376476",
"0.46348855",
"0.46122277",
"0.45897347",
"0.45894745",
"0.... | 0.8628709 | 0 |
Creates new data migration. | public DataMigration(int version) {
super(MigrationType.DATA, version);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected void migrate() {\r\n java.util.Date dateNow = new java.util.Date();\r\n SQLiteBuilder builder = createBuilder();\r\n for (AbstractTable<?, ?, ?> table : tables) {\r\n if (table.migrated() < table.migrations()) {\r\n //FIXME this doesn't yet implement table u... | [
"0.6467968",
"0.62336427",
"0.60777456",
"0.5905632",
"0.5779864",
"0.56215954",
"0.5554996",
"0.5503526",
"0.5467041",
"0.546083",
"0.5459928",
"0.54568535",
"0.54094243",
"0.5389781",
"0.5386071",
"0.5371104",
"0.53480303",
"0.53413135",
"0.5329152",
"0.5327056",
"0.532151"... | 0.5946194 | 3 |
Copy all values from ExerciseConfig ino this Exercise object | public void set(ExerciseConfig other) {
this.title = other.getTitle();
this.longTitle = other.getLongTitle() == null ? other.getTitle() : other.getLongTitle();
this.type = other.getType();
this.language = other.getLanguage();
this.isGraded = other.getIsGraded();
this.maxS... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void update(Exercise other) {\n set(other);\n this.gitHash = other.gitHash;\n this.private_files = other.private_files;\n this.public_files = other.public_files;\n this.solution_files = other.solution_files;\n this.resource_files = other.resource_files;\n thi... | [
"0.5556869",
"0.52334213",
"0.510789",
"0.4995129",
"0.4976057",
"0.49663207",
"0.49579006",
"0.4916302",
"0.48372048",
"0.47889113",
"0.47678632",
"0.47400165",
"0.47291842",
"0.47257185",
"0.47219357",
"0.47173187",
"0.4702543",
"0.46981633",
"0.46974832",
"0.46394053",
"0.... | 0.64937586 | 0 |
Update this instance of Exercise with all attributes of the other Exercise object | public void update(Exercise other) {
set(other);
this.gitHash = other.gitHash;
this.private_files = other.private_files;
this.public_files = other.public_files;
this.solution_files = other.solution_files;
this.resource_files = other.resource_files;
this.question =... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void update(Employee e) {\n\t\t\r\n\t}",
"void update(Employee nurse);",
"@PUT\n\t@Path(\"/\")\n\t@Nonnull\n\t@Consumes(MediaType.APPLICATION_JSON)\n\t@Produces(MediaType.APPLICATION_JSON)\n\tExercise update(@Nonnull Exercise exercise);",
"public void updateByObject()\r\n\t{\n\t}",
"@Override\n\tpub... | [
"0.54703885",
"0.5390329",
"0.5304537",
"0.5265005",
"0.52411723",
"0.52243143",
"0.51821876",
"0.5177105",
"0.5174814",
"0.5092492",
"0.50833744",
"0.5040281",
"0.5014737",
"0.5011386",
"0.5009108",
"0.50013006",
"0.4998226",
"0.49913353",
"0.49613038",
"0.4945681",
"0.49289... | 0.76384234 | 0 |
For privileged users or if solutions have been published, search on all folders | public Optional<VirtualFile> getAnyFileById(String id) {
Stream<VirtualFile> files = Stream.concat(Stream.concat(public_files.stream(), resource_files.stream()), Stream.concat(solution_files.stream(), private_files.stream()));
return files.filter(file -> file.getId().equals(id)).findFirst();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Test(groups={\"Enterprise-only\",\"Enterprise4.2Bug\"})\n public void folderSearchTest() throws Exception\n {\n \tAdvanceSearchContentPage contentSearchPage = dashBoard.getNav().selectAdvanceSearch().render();\n \tfolderSearchPage = contentSearchPage.searchLink(\"Folders\").render(); \t\n conte... | [
"0.6096571",
"0.60585105",
"0.6014333",
"0.58952856",
"0.5803072",
"0.5779572",
"0.5777765",
"0.57240057",
"0.5591554",
"0.55693513",
"0.5529862",
"0.5503943",
"0.54553485",
"0.5448349",
"0.5446755",
"0.54426813",
"0.54381114",
"0.53860056",
"0.5385115",
"0.53802305",
"0.5377... | 0.0 | -1 |
For normal users or if solutions have not been published yet, we should only search in files in the public and resource folders | public Optional<VirtualFile> getPublicOrResourcesFile(String id) {
Stream<VirtualFile> files = Stream.concat(public_files.stream(), resource_files.stream());
return files.filter(file -> file.getId().equals(id)).findFirst();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void scanProject() {\n ProjectResources resources = ResourceManager.getInstance().getProjectResources(mProject);\n if (resources != null) {\n Collection<ResourceItem> layouts = resources.getResourceItemsOfType(LAYOUT);\n for (ResourceItem layout : layouts) {\n ... | [
"0.6114508",
"0.6045507",
"0.6044211",
"0.5948652",
"0.59348434",
"0.58449805",
"0.5826168",
"0.5794676",
"0.57547337",
"0.5597435",
"0.55370456",
"0.5502397",
"0.5481882",
"0.5481793",
"0.54807186",
"0.5465162",
"0.54582167",
"0.54547703",
"0.5419997",
"0.53907394",
"0.53580... | 0.53970194 | 19 |
Created by matthew on 11/20/14. | public interface AreaOccupier {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"protected boolean func_70814_o() { return true; }",
"public void gored() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"private void m50366E() {\n }",
"public void method... | [
"0.5645851",
"0.5608724",
"0.55946887",
"0.55822486",
"0.5563285",
"0.55602276",
"0.5551298",
"0.5515348",
"0.5505193",
"0.5459575",
"0.54347247",
"0.54196614",
"0.539884",
"0.539884",
"0.5378067",
"0.53752714",
"0.5366454",
"0.5363716",
"0.53557724",
"0.53541106",
"0.5347962... | 0.0 | -1 |
sildeshow = location + size Draw while anyvertex of c inside slideshow. | public void paint(Graphics g) {
this.recalculateSize();
if(this.isOpaque()) {
g.setColor(getBackground());
g.fillRect(0, 0, getWidth(), getHeight());
}
Component[] components = this.getComponents();
for(int i = components.length - 1; i >= 0; i --) {
Component c = components[i];
int vc_x0 ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void show(int c) {\n noFill();\n stroke(255, c, 0);\n strokeWeight(5);\n ellipse(x, y, size, size);\n \n }",
"public void showMazeSize(int size);",
"public void showNet()\n/* */ {\n/* 482 */ update(getGraphics());\n/* */ }",
"public void med1() {\n DrawingPanel win = ... | [
"0.58021456",
"0.5690973",
"0.5643433",
"0.55847037",
"0.55570066",
"0.5549979",
"0.55225927",
"0.54992914",
"0.5437764",
"0.54006493",
"0.53515154",
"0.5351293",
"0.5314569",
"0.5306017",
"0.5298927",
"0.52979684",
"0.52951825",
"0.5240558",
"0.5217609",
"0.5217179",
"0.5209... | 0.0 | -1 |
It just works with Transformations for now. | public static Runner createRunner(File xmlFile) {
return new TransformationRunner(xmlFile);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Test\n\tpublic abstract void testTransform4();",
"public Transform() {\n setIdentity();\n }",
"public Transform getTransform() {return transform;}",
"public Transform() {\n }",
"@Override\n final public String getTransform() {\n String transform = ScijavaGsonHelper.getGson(context).... | [
"0.6691419",
"0.6445275",
"0.6412777",
"0.6303779",
"0.6110772",
"0.6077067",
"0.60104626",
"0.5994323",
"0.59641236",
"0.58717114",
"0.5850773",
"0.5824943",
"0.5817749",
"0.5816197",
"0.57873785",
"0.57741904",
"0.57729715",
"0.5748022",
"0.5740841",
"0.568414",
"0.5681363"... | 0.0 | -1 |
This function get the content of an input stream | private String getContent(InputStream inputStream) throws AspireException{
BufferedReader bufferReader = null;
StringBuilder stringBuilder = new StringBuilder();
String line;
try {
bufferReader = new BufferedReader(new InputStreamReader(inputStream));
while ((line = bufferRead... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"Stream<In> getInputStream();",
"InputStream getDataStream();",
"InputStream getInputStream() throws IOException;",
"InputStream getInputStream() throws IOException;",
"InputStream getInputStream() throws IOException;",
"private String readStream(InputStream in) {\n try {\n ByteArrayOutp... | [
"0.758261",
"0.75100696",
"0.74614257",
"0.74614257",
"0.74614257",
"0.73918605",
"0.73799515",
"0.73799515",
"0.727769",
"0.72763294",
"0.72656417",
"0.72656417",
"0.72359574",
"0.72069",
"0.72007895",
"0.7127599",
"0.7089482",
"0.7019907",
"0.6956826",
"0.69523233",
"0.6952... | 0.650693 | 37 |
Return the name of the file including the package path. | private String getFullJavaName(String contents, String fileName) throws AspireException{
BufferedReader reader = new BufferedReader(new StringReader(contents));
String line = null;
String fullname = null;
try{
while ((line = reader.readLine()) != null){
String newLine = line.trim();
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getName() { return FilePathUtils.getFileName(getPath()); }",
"public String getName() {\n return _file.getAbsolutePath();\n }",
"java.lang.String getFileName();",
"java.lang.String getFileName();",
"java.lang.String getFileName();",
"java.lang.String getFileName();",
"java.lang... | [
"0.7708326",
"0.7590943",
"0.7375147",
"0.7375147",
"0.7375147",
"0.7375147",
"0.7375147",
"0.7375147",
"0.7375147",
"0.7375147",
"0.7375147",
"0.73267925",
"0.7272395",
"0.72025937",
"0.718214",
"0.71706474",
"0.71424603",
"0.7118014",
"0.7118014",
"0.70908785",
"0.7079672",... | 0.0 | -1 |
This function extracts the class name from the file name. | private String getClassName(String fileName){
String className = FilenameUtils.getBaseName(fileName);
return className;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private static String getClassNameForClassFile(WebFile aFile)\n {\n String filePath = aFile.getPath();\n String filePathNoExtension = filePath.substring(1, filePath.length() - 6);\n String className = filePathNoExtension.replace('/', '.');\n return className;\n }",
"private Stri... | [
"0.78637755",
"0.7510625",
"0.7379793",
"0.731161",
"0.7203658",
"0.7167384",
"0.7144551",
"0.70507425",
"0.7006294",
"0.69566756",
"0.69287086",
"0.6815564",
"0.6814066",
"0.6679828",
"0.6679828",
"0.6679828",
"0.6661149",
"0.66460925",
"0.66265416",
"0.64979595",
"0.6482149... | 0.8176758 | 0 |
This function gets any separate name from a className | private String getSplitNames(String className){
String nameSplited = "";
for (String character : className.split("(?<!(^|[A-Z]))(?=[A-Z])|(?<!^)(?=[A-Z][a-z])")){
nameSplited = nameSplited + character + " ";
}
return nameSplited;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private static String getSimpleClassName(String className) {\n\n\n\t\tString[] names = className.split(\"\\\\.\");\n\n\t\tfor (int i = 0; i < names.length; i++) {\n\t\t\tLog.d(\"\", \"names =\" + names[i]);\n\t\t}\n\n\t\treturn names[names.length - 1];\n\t}",
"java.lang.String getClassName();",
"String getClas... | [
"0.77697337",
"0.75194365",
"0.7131789",
"0.7131789",
"0.7131789",
"0.6944221",
"0.69265896",
"0.68213224",
"0.68084806",
"0.67783785",
"0.67713577",
"0.6766205",
"0.67292655",
"0.6673143",
"0.66286594",
"0.6620838",
"0.6603102",
"0.6588516",
"0.6523849",
"0.6501405",
"0.6419... | 0.73910093 | 2 |
TODO Autogenerated method stub | @Override
public void close() {
} | {
"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.66713095",
"0.6567948",
"0.652319",
"0.648097",
"0.64770466",
"0.64586824",
"0.64132667",
"0.6376419",
"0.62759",
"0.62545097",
"0.62371093",
"0.62237984",
"0.6201738",
"0.619477",
"0.619477",
"0.61924416",
"0.61872935",
"0.6173417",
"0.613289",
"0.6127952",
"0.6080854",
... | 0.0 | -1 |
Creates new form pageLogin | public pageLogin() {
initComponents();
labelimage.setBorder(new EmptyBorder(0,0,0,0));
enterButton.setBorder(null);
enterButton.setContentAreaFilled(false);
enterButton.setVisible(true);
usernameTextField.setText("Username");
usernameTextField.setForeground(new Co... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"NewAccountPage openNewAccountPage();",
"public LoginPage(){\n\t\tPageFactory.initElements(driver, this);\n\t\t\n\t}",
"public loginPage() {\n\t\tPageFactory.initElements(driver, this);\n\t}",
"public LoginPage(){\n\t\tPageFactory.initElements(driver, this);\n\t}",
"public LoginPage goToLoginPage() {\n ... | [
"0.7073457",
"0.6814614",
"0.6787463",
"0.67018515",
"0.66445404",
"0.66439813",
"0.6633971",
"0.65853286",
"0.6578027",
"0.6578027",
"0.65234756",
"0.64245415",
"0.64192325",
"0.64053255",
"0.63999003",
"0.638688",
"0.63400465",
"0.6306292",
"0.6192748",
"0.618536",
"0.61727... | 0.6445806 | 11 |
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() {
jPanel2 = new javax.swing.JPanel();
jPanel1 = new javax.swing.JPanel();
jPanel3 = new javax.swing.JPanel();
labelimage = new j... | {
"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.73197734",
"0.72914416",
"0.72914416",
"0.72914416",
"0.72862023",
"0.72487676",
"0.7213741",
"0.7207628",
"0.7196503",
"0.7190263",
"0.71850693",
"0.71594703",
"0.7147939",
"0.7093137",
"0.70808756",
"0.70566356",
"0.6987119",
"0.69778043",
"0.6955563",
"0.6953879",
"0.69... | 0.0 | -1 |
End of variables declaration//GENEND:variables | private void reset() {
usernameTextField.setText("Username");
usernameTextField.setForeground(new Color(153,153,153));
passwordTextField.setText("Password");
passwordTextField.setForeground(new Color(153,153,153));
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void lavar() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}",
"public void mo38117a() {\n }",
"@Override\r\n\tpublic void initVariables() {\n\t\t\r\n\t}",
"private void assignment() {\n\n\t\t\t}",
"private void kk12() {\n\n\t}",
"public void gored() {\n\t\t\n\t}",
"@Override\n pu... | [
"0.6359434",
"0.6280371",
"0.61868024",
"0.6094568",
"0.60925734",
"0.6071678",
"0.6052686",
"0.60522056",
"0.6003249",
"0.59887564",
"0.59705925",
"0.59680873",
"0.5967989",
"0.5965816",
"0.5962006",
"0.5942372",
"0.5909877",
"0.5896588",
"0.5891321",
"0.5882983",
"0.5881482... | 0.0 | -1 |
Overridden for performance reasons. | @Override
public void firePropertyChange(final String propertyName, final boolean oldValue, final boolean newValue) {
/* we dont need propertychange events */
if ("indeterminate".equals(propertyName)) {
// this is required to forward indeterminate changes to the ui. This
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\n public int retroceder() {\n return 0;\n }",
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpubli... | [
"0.66266733",
"0.66144234",
"0.65552056",
"0.64581615",
"0.6322522",
"0.62592286",
"0.6255816",
"0.6137584",
"0.60879487",
"0.6069481",
"0.6055304",
"0.60516286",
"0.60516286",
"0.60466534",
"0.6029377",
"0.60249865",
"0.6019364",
"0.6014495",
"0.60143304",
"0.5980733",
"0.59... | 0.0 | -1 |
Overridden for performance reasons. | @Override
public void invalidate() {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\n public int retroceder() {\n return 0;\n }",
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpubli... | [
"0.66266733",
"0.66144234",
"0.65552056",
"0.64581615",
"0.6322522",
"0.62592286",
"0.6255816",
"0.6137584",
"0.60879487",
"0.6069481",
"0.6055304",
"0.60516286",
"0.60516286",
"0.60466534",
"0.6029377",
"0.60249865",
"0.6019364",
"0.6014495",
"0.60143304",
"0.5980733",
"0.59... | 0.0 | -1 |
Overridden for performance reasons. | @Override
public void repaint() {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\n public int retroceder() {\n return 0;\n }",
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpubli... | [
"0.66266733",
"0.66144234",
"0.65552056",
"0.64581615",
"0.6322522",
"0.62592286",
"0.6255816",
"0.6137584",
"0.60879487",
"0.6069481",
"0.6055304",
"0.60516286",
"0.60516286",
"0.60466534",
"0.6029377",
"0.60249865",
"0.6019364",
"0.6014495",
"0.60143304",
"0.5980733",
"0.59... | 0.0 | -1 |
Overridden for performance reasons. | @Override
public void repaint(final long tm, final int x, final int y, final int width, final int height) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\n public int retroceder() {\n return 0;\n }",
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpubli... | [
"0.66266733",
"0.66144234",
"0.65552056",
"0.64581615",
"0.6322522",
"0.62592286",
"0.6255816",
"0.6137584",
"0.60879487",
"0.6069481",
"0.6055304",
"0.60516286",
"0.60516286",
"0.60466534",
"0.6029377",
"0.60249865",
"0.6019364",
"0.6014495",
"0.60143304",
"0.5980733",
"0.59... | 0.0 | -1 |
Overridden for performance reasons. | @Override
public void repaint(final Rectangle r) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\n public int retroceder() {\n return 0;\n }",
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpubli... | [
"0.66266733",
"0.66144234",
"0.65552056",
"0.64581615",
"0.6322522",
"0.62592286",
"0.6255816",
"0.6137584",
"0.60879487",
"0.6069481",
"0.6055304",
"0.60516286",
"0.60516286",
"0.60466534",
"0.6029377",
"0.60249865",
"0.6019364",
"0.6014495",
"0.60143304",
"0.5980733",
"0.59... | 0.0 | -1 |
Overridden for performance reasons. | @Override
public void revalidate() {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\n public int retroceder() {\n return 0;\n }",
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpubli... | [
"0.66266733",
"0.66144234",
"0.65552056",
"0.64581615",
"0.6322522",
"0.62592286",
"0.6255816",
"0.6137584",
"0.60879487",
"0.6069481",
"0.6055304",
"0.60516286",
"0.60516286",
"0.60466534",
"0.6029377",
"0.60249865",
"0.6019364",
"0.6014495",
"0.60143304",
"0.5980733",
"0.59... | 0.0 | -1 |
for renderer reasons, there is a bug in java, that disabled icons to not get cached properly. thats why we override the method here and extend it to use a cached disabled icon | @Override
public void setEnabled(final boolean b) {
_enabled = b;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public boolean isIcon(){\n return super.isIcon() || speciallyIconified;\n }",
"@Source(\"update.gif\")\n\tpublic DataResource updateIconDisabledResource();",
"@Override\r\n\t\tpublic void requestIcon(String arg0) {\n\t\t\t\r\n\t\t}",
"@Override\n public void setIconOnly(boolean iconOnly)\... | [
"0.71063477",
"0.7066787",
"0.6877362",
"0.67287016",
"0.66845655",
"0.6631503",
"0.65131956",
"0.63651377",
"0.6362903",
"0.63491297",
"0.6319094",
"0.6291924",
"0.6291924",
"0.6280755",
"0.62577814",
"0.62528884",
"0.62526125",
"0.62523115",
"0.62459105",
"0.62396526",
"0.6... | 0.0 | -1 |
Overridden for performance reasons. | @Override
public void validate() {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\n public int retroceder() {\n return 0;\n }",
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpubli... | [
"0.66266733",
"0.66144234",
"0.65552056",
"0.64581615",
"0.6322522",
"0.62592286",
"0.6255816",
"0.6137584",
"0.60879487",
"0.6069481",
"0.6055304",
"0.60516286",
"0.60516286",
"0.60466534",
"0.6029377",
"0.60249865",
"0.6019364",
"0.6014495",
"0.60143304",
"0.5980733",
"0.59... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public String validateSpoiledOr(Map<String, Object> params) throws SQLException {
return this.giacSpoiledOrDAO.validateSpoiledOr(params);
} | {
"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.66713095",
"0.6567948",
"0.652319",
"0.648097",
"0.64770466",
"0.64586824",
"0.64132667",
"0.6376419",
"0.62759",
"0.62545097",
"0.62371093",
"0.62237984",
"0.6201738",
"0.619477",
"0.619477",
"0.61924416",
"0.61872935",
"0.6173417",
"0.613289",
"0.6127952",
"0.6080854",
... | 0.0 | -1 |
Permet de lancer le mode duel selon les modes defenseur et challenge | public boolean jeu() {
int k;
String compJoueur = "";
String compOrdi = "";
String reponse;
boolean victoireJoueur = false;
boolean victoireOrdi = false;
String mystJoueur = challenger.nbMystere(); /**nb que le joueur doit trouver*/
String mystOrdi = d... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void runMasterMindDefenseurMode() {\n configuration.runConfiguration();\n\n //Affichage du mode de jeux\n System.out.println(\"********** ******************************* *******************\");\n System.out.println(\"********** **Master Mind Defe... | [
"0.69632185",
"0.6634378",
"0.6560773",
"0.65597653",
"0.649643",
"0.6235629",
"0.6206366",
"0.6193709",
"0.61458963",
"0.60894185",
"0.59645516",
"0.5959895",
"0.5953727",
"0.5948454",
"0.5945516",
"0.58926415",
"0.5886366",
"0.58598804",
"0.58355147",
"0.5834836",
"0.580608... | 0.0 | -1 |
Returns all resumes list from DB. | public List<Resume> getResumesList() {
List<Resume> resumes = new ArrayList<Resume>();
SQLiteDatabase db = this.getReadableDatabase();
Cursor cursor = db.query("resume", null, null, null, null, null, null);
Resume resume;
int colIndex;
if (cursor.moveToFirst()) {
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"java.util.List<hr.domain.ResumeDBOuterClass.Resume> \n getResumesList();",
"public java.util.List<hr.domain.ResumeDBOuterClass.Resume> getResumesList() {\n return resumes_;\n }",
"public java.util.List<hr.domain.ResumeDBOuterClass.Resume> getResumesList() {\n if (resumesBuilder_ == null) ... | [
"0.78508234",
"0.7726162",
"0.73558396",
"0.7223963",
"0.71092546",
"0.7077575",
"0.7015373",
"0.66844434",
"0.6630926",
"0.65490025",
"0.6323727",
"0.63149995",
"0.6310602",
"0.62140536",
"0.6145003",
"0.6121895",
"0.5928336",
"0.57972443",
"0.576936",
"0.5660504",
"0.565665... | 0.7854549 | 0 |
Inserts resume into DB and returns newly created rowId. | public long insertResumeIntoDB(Resume resume) {
ContentValues cv = new ContentValues();
SQLiteDatabase db = this.getWritableDatabase();
cv.put(DBHelper.COL_NAME, resume.getLastFirstName());
cv.put(DBHelper.COL_BIRTHDAY, resume.getBirthday().getTime());
cv.put(DBHelper.COL_... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic int insert(Resume record) {\n\t\treturn resumeMapper.insert(record);\n\t}",
"int insert(ResumePractice record);",
"@Insert({\n \"insert into resume_kpi (resume_id, field_name, \",\n \"created_by, updated_by, \",\n \"created_at, updated_at)\",\n \"values (#{resume... | [
"0.66561973",
"0.6583164",
"0.6484427",
"0.6381267",
"0.6287105",
"0.60494244",
"0.5983685",
"0.57760954",
"0.5755133",
"0.57467663",
"0.573586",
"0.5724777",
"0.56356525",
"0.5604174",
"0.5587656",
"0.55456454",
"0.55206114",
"0.5520091",
"0.5514541",
"0.5490407",
"0.5487437... | 0.75879014 | 0 |
Remove resume from DB by rowId. | public void removeResumeByRowId(long rowId) {
SQLiteDatabase db = this.getWritableDatabase();
db.delete(DBHelper.TABLE_RESUME, "rowid=" + rowId, null);
db.close();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void delete(@Nonnull String resumeId);",
"@Override\n\tpublic int deleteByPrimaryKey(Integer id) {\n\t\treturn resumeMapper.deleteByPrimaryKey(id);\n\t}",
"void remove(PK id);",
"@Transactional\n public void delete(Resume resume,MultipartFile resumeUpload) {\n resumeDao.delete(resume);\n }",
"... | [
"0.7037765",
"0.70369774",
"0.62402344",
"0.60847765",
"0.60723263",
"0.6034886",
"0.5995331",
"0.5942914",
"0.5942914",
"0.59119356",
"0.58621705",
"0.58621705",
"0.58453053",
"0.5826238",
"0.5825903",
"0.5777769",
"0.57417095",
"0.57371515",
"0.5731655",
"0.57109326",
"0.56... | 0.8276965 | 0 |
Updates resume into DB by rowId. | public void updateResumeByRowId(long rowId, Resume resume) {
SQLiteDatabase db = this.getWritableDatabase();
ContentValues cv = new ContentValues();
cv.put(DBHelper.COL_NAME, resume.getLastFirstName());
cv.put(DBHelper.COL_BIRTHDAY, resume.getBirthday().getTime());
cv.put(... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"int updateByPrimaryKey(ResumePractice record);",
"int updateByPrimaryKeySelective(ResumePractice record);",
"@Override\n\tpublic int updateByPrimaryKey(Resume record) {\n\t\treturn resumeMapper.updateByPrimaryKey(record);\n\t}",
"int updateByPrimaryKeyWithBLOBs(ResumePractice record);",
"@Override\n\tpubli... | [
"0.7200854",
"0.6955943",
"0.69479114",
"0.69139886",
"0.66342866",
"0.6526329",
"0.6454692",
"0.6194751",
"0.6103827",
"0.6079737",
"0.6052306",
"0.60484004",
"0.6041835",
"0.6028828",
"0.6020352",
"0.60166246",
"0.6012252",
"0.6011836",
"0.60028327",
"0.60001117",
"0.599646... | 0.7947343 | 0 |
Constructor for Employee class | public Employee(String Name) {
this.Name = Name;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Employee() {\n\t\tsuper();\n\t}",
"public Employee() {\t}",
"public Employee(){\r\n this(\"\", \"\", \"\", 0, \"\", 0.0);\r\n }",
"public Employee(){\n\t\t\n\t}",
"public Employee(){\n\t\t\n\t}",
"public Employee() {\n\t\t\n\t}",
"public Employee() {\n\n\t}",
"public Employee() {}",... | [
"0.87621534",
"0.86532086",
"0.8603623",
"0.86008966",
"0.86008966",
"0.8586171",
"0.8547397",
"0.85321933",
"0.84782434",
"0.84708035",
"0.84142673",
"0.84087193",
"0.84087193",
"0.84087193",
"0.83288354",
"0.8190774",
"0.8139069",
"0.8109259",
"0.80371517",
"0.80053467",
"0... | 0.80246437 | 19 |
this method aims to assign the 1) Employees' email addresses and 2) this email's vendor 1) email address for Gmail/Walla/Yahoo is a concatenation of 'Name' of the employee [orsan] | public void SetAddress(EmailVendor Gmail, EmailVendor Yahoo, EmailVendor Walla)
{
setGmailAccount(Gmail);
setGmailAddress(Name.concat(this.GmailAccount.getPostFix()));
setWallaAccount(Walla);
setWallaMailAddress(Name.concat(this.WallaAccount.getPostFix()));
setYaho... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static String build_GOT_Email(String fName, String lName){\n\n //String email = fName.substring(0,1)+lName+\"@NightWatch.com\";\n //String email = fName.charAt(0)+lName+\"@NightWatch.com\";\n //return email;\n return fName.charAt(0)+lName+\"@NightWatch.com\";\n\n\n }",
"priv... | [
"0.6043709",
"0.5961727",
"0.59569025",
"0.5879812",
"0.574142",
"0.56840706",
"0.5672939",
"0.56538427",
"0.56494874",
"0.56398827",
"0.56332976",
"0.56332976",
"0.56332976",
"0.56332976",
"0.56332976",
"0.56332976",
"0.5630657",
"0.5623123",
"0.5623041",
"0.56056476",
"0.56... | 0.56745315 | 6 |
Getter for GmailAddress property | public String getGmailAddress() {
return GmailAddress;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public java.lang.String getEmailAddress();",
"public String getEmailAddress()\r\n {\r\n return emailAddress;\r\n }",
"public java.lang.CharSequence getEmailAddress() {\n return email_address;\n }",
"public String getEmailAddress() {\n return emailAddress;\n }",
"public String getEmailA... | [
"0.76838946",
"0.7513561",
"0.75077736",
"0.7474193",
"0.7472178",
"0.738901",
"0.73810196",
"0.7355911",
"0.7352891",
"0.73342365",
"0.73150253",
"0.73150253",
"0.73150253",
"0.73150253",
"0.73150253",
"0.72995806",
"0.7272785",
"0.7227265",
"0.71737784",
"0.71497494",
"0.71... | 0.84793246 | 0 |
Setter for GmailAddress property | public void setGmailAddress(String gmailAddress) {
GmailAddress = gmailAddress;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getGmailAddress() {\r\n return GmailAddress;\r\n }",
"public void setSMTP_ADDR(java.lang.String value)\n {\n if ((__SMTP_ADDR == null) != (value == null) || (value != null && ! value.equals(__SMTP_ADDR)))\n {\n _isDirty = true;\n }\n __SMTP_ADDR =... | [
"0.7513804",
"0.7260479",
"0.7093472",
"0.70879084",
"0.7065757",
"0.70160806",
"0.69583565",
"0.6943471",
"0.6708",
"0.66257834",
"0.6601092",
"0.65788084",
"0.6556988",
"0.6538368",
"0.6512516",
"0.6482617",
"0.64693904",
"0.6467744",
"0.64637446",
"0.64459443",
"0.6430895"... | 0.78531426 | 0 |
Getter for WallaAddress property | public String getWallaMailAddress() {
return WallaMailAddress;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getAddress()\r\n {\r\n return address.getFullAddress();\r\n }",
"public String getAddress()\r\n {\r\n return address.getFullAddress();\r\n }",
"public String getAddress() {\n return address;\n }",
"public String getAddress() {\n return address;\n }",
"public ... | [
"0.77558345",
"0.77558345",
"0.75249106",
"0.75249106",
"0.751671",
"0.74766755",
"0.7475011",
"0.747288",
"0.747288",
"0.747288",
"0.747288",
"0.747288",
"0.747288",
"0.747288",
"0.74577916",
"0.74577916",
"0.74577916",
"0.74577916",
"0.74577916",
"0.74577916",
"0.7445536",
... | 0.0 | -1 |
Setter for WallaAddress property | public void setWallaMailAddress(String wallaMailAddress) {
WallaMailAddress = wallaMailAddress;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setLocationAddress(final BwString val) {\n locationAddress = val;\n }",
"public void setAddress(String address);",
"public void setAddress(String address);",
"public void setAddress(String address);",
"public void setAddress(String address);",
"public void setAddress(String address) { thi... | [
"0.7286888",
"0.71969336",
"0.71969336",
"0.71969336",
"0.71969336",
"0.7169541",
"0.7136721",
"0.7077212",
"0.70698404",
"0.70086",
"0.69681644",
"0.69675803",
"0.69675803",
"0.69675803",
"0.692386",
"0.6921817",
"0.6894026",
"0.6893596",
"0.6893596",
"0.68916386",
"0.686952... | 0.6909743 | 16 |
Getter for YahooMailAddress property | public String getYahooMailAddress() {
return YahooMailAddress;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setYahooMailAddress(String yahooMailAddress) {\r\n YahooMailAddress = yahooMailAddress;\r\n }",
"public java.lang.String getEmailAddress();",
"public String getEmailAddress()\r\n {\r\n return emailAddress;\r\n }",
"public java.lang.CharSequence getEmailAddress() {\n retu... | [
"0.6931798",
"0.69311154",
"0.69057506",
"0.688894",
"0.6827874",
"0.6814497",
"0.67993534",
"0.6791152",
"0.678514",
"0.67506444",
"0.6742639",
"0.6741443",
"0.67329985",
"0.67120457",
"0.6703124",
"0.6680138",
"0.6680138",
"0.6680138",
"0.6680138",
"0.6680138",
"0.661282",
... | 0.8613054 | 0 |
Setter for YahooMailAddress property | public void setYahooMailAddress(String yahooMailAddress) {
YahooMailAddress = yahooMailAddress;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getYahooMailAddress() {\r\n return YahooMailAddress;\r\n }",
"public void setYahooAccount(EmailVendor yahooAccount) {\r\n YahooAccount = yahooAccount;\r\n }",
"public void SetAddress(EmailVendor Gmail, EmailVendor Yahoo, EmailVendor Walla) \r\n {\r\n setGmailAccount(... | [
"0.7761139",
"0.7076176",
"0.70114344",
"0.6646443",
"0.66341543",
"0.6520969",
"0.64231455",
"0.6389836",
"0.6377372",
"0.63326305",
"0.620267",
"0.620267",
"0.6191371",
"0.617756",
"0.61413264",
"0.6132501",
"0.6118454",
"0.60845166",
"0.60687864",
"0.601728",
"0.59937006",... | 0.8282503 | 0 |
Getter for WallaAccount property | public EmailVendor getWallaAccount() {
return WallaAccount;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getAccount() {\r\n return account;\r\n }",
"public String getAccount() {\n return account;\n }",
"public String getAccount() {\n return account;\n }",
"public String getAccount() {\n return account;\n }",
"public String getAccount() {\n return ac... | [
"0.7452121",
"0.74463075",
"0.74463075",
"0.74463075",
"0.74463075",
"0.74463075",
"0.74463075",
"0.74463075",
"0.74463075",
"0.74463075",
"0.74463075",
"0.7403581",
"0.732778",
"0.732778",
"0.73102",
"0.7297829",
"0.72899175",
"0.7223422",
"0.71833557",
"0.67708284",
"0.6769... | 0.7970574 | 0 |
Setter for WallaAccount vendor | public void setWallaAccount(EmailVendor wallaAccount) {
WallaAccount = wallaAccount;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setVendor(String vendor) {\n this.vendor = vendor;\n }",
"public void setVendor(String vendor) {\n this.vendor = vendor;\n }",
"public void setVendor(String vendor) {\n this.vendor = vendor;\n }",
"public EmailVendor getWallaAccount() {\r\n return WallaAccount... | [
"0.72515506",
"0.72515506",
"0.72515506",
"0.69547784",
"0.67186165",
"0.67186165",
"0.67186165",
"0.67180115",
"0.6639474",
"0.6560138",
"0.6416315",
"0.6230776",
"0.6210263",
"0.6182715",
"0.60616314",
"0.5955766",
"0.59453386",
"0.593097",
"0.5919369",
"0.58977395",
"0.588... | 0.75027674 | 0 |
Setter for YahooAccount property | public void setYahooAccount(EmailVendor yahooAccount) {
YahooAccount = yahooAccount;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setYahooMailAddress(String yahooMailAddress) {\r\n YahooMailAddress = yahooMailAddress;\r\n }",
"public\n void\n setAccount(Account account)\n {\n itsAccount = account;\n }",
"void setAccount(final Account account);",
"public void setJP_BankAccount_Value (String JP_BankAccount_Va... | [
"0.6410657",
"0.6332185",
"0.6096598",
"0.59076345",
"0.58815926",
"0.58444697",
"0.5754183",
"0.56258863",
"0.5609586",
"0.55645365",
"0.5521196",
"0.5521012",
"0.55150294",
"0.5506554",
"0.55049115",
"0.5472377",
"0.5448158",
"0.53479177",
"0.5346722",
"0.5346722",
"0.53467... | 0.82215554 | 0 |
Getter for GmailAccount property | public EmailVendor getGmailAccount() {
return GmailAccount;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getEmailAccount() {\n return emailAccount;\n }",
"public java.lang.String getAccount() {\n java.lang.Object ref = account_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n ... | [
"0.7388928",
"0.70893234",
"0.7063353",
"0.7044848",
"0.70427805",
"0.70062417",
"0.6998758",
"0.6987447",
"0.6987447",
"0.692716",
"0.692716",
"0.692716",
"0.692716",
"0.692716",
"0.692716",
"0.692716",
"0.692716",
"0.692716",
"0.692716",
"0.6904987",
"0.6825656",
"0.67934... | 0.7900886 | 0 |
Setter for Gmail account vendor | public void setGmailAccount(EmailVendor GmailAccount) {
this.GmailAccount = GmailAccount;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public EmailVendor getGmailAccount() {\r\n return GmailAccount;\r\n }",
"public void setVendor(String vendor) {\n this.vendor = vendor;\n }",
"public void setVendor(String vendor) {\n this.vendor = vendor;\n }",
"public void setVendor(String vendor) {\n this.vendor = vend... | [
"0.73144174",
"0.69320583",
"0.69320583",
"0.69320583",
"0.6746749",
"0.6746749",
"0.6746749",
"0.67298263",
"0.66135544",
"0.6570526",
"0.6375043",
"0.6300242",
"0.61310464",
"0.6083244",
"0.6006009",
"0.59921694",
"0.59851635",
"0.59133625",
"0.59116834",
"0.58849716",
"0.5... | 0.77429855 | 0 |
Store previous handle so we can go back to it | public WebWindow createNewWindow(String URL) {
String prev = driver.getWindowHandle();
Set<String> oldSet = driver.getWindowHandles();
driver.switchTo().window(newPageHandle);
newPage.click();
Set<String> newSet = driver.getWindowHandles();
newSet.removeAll(oldSet);
String handle = newSet.iterator().ne... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setCurrentHandle( byte[] currentHandle );",
"public void back() {\n //noinspection ResultOfMethodCallIgnored\n previous();\n }",
"public long getHandle() {\n if (this.cleanedUp) {\n throw new IllegalStateException(\"Tried fetch handle for cleaned up swapchain!\");... | [
"0.60712326",
"0.59301007",
"0.5907129",
"0.5862902",
"0.5850188",
"0.5843961",
"0.5842365",
"0.58213794",
"0.5796301",
"0.5773533",
"0.57467145",
"0.57257825",
"0.5716876",
"0.5674115",
"0.566146",
"0.5656965",
"0.56474984",
"0.5625229",
"0.5623845",
"0.5623845",
"0.5623845"... | 0.0 | -1 |
Returns any legal window for driver | public String getLegalWindow() {
if(driver.getWindowHandles().isEmpty())
return null;
return driver.getWindowHandles().iterator().next();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private static void findWindow() {\n\t\tCoInitialize();\n\t\t\n\t\thandle = user32.FindWindowA(\"WMPlayerApp\", \"Windows Media Player\");\n\t}",
"public JPanel getWindow(String key)\r\n\t{\r\n\t\treturn aniWin.getWindow(key);\r\n\t}",
"public static void windowspwcw() {\n\t\tString windowHandle = driver.getWi... | [
"0.6536523",
"0.64807194",
"0.63841707",
"0.62907577",
"0.62882423",
"0.6265859",
"0.62561655",
"0.62467027",
"0.6236752",
"0.62318575",
"0.622018",
"0.618309",
"0.6177783",
"0.6172868",
"0.6167923",
"0.61488044",
"0.6130227",
"0.6118277",
"0.6101478",
"0.6100812",
"0.6077847... | 0.77243596 | 0 |
Handle presses on the action bar items | @Override
public boolean onOptionsItemSelected(MenuItem item) {
switch (item.getItemId()) {
case R.id.logout:
FirebaseAuth.getInstance().signOut();
Toast.makeText(FriendRequestActivity.this, "Sign Out!", Toast.LENGTH_LONG).show();
finish();
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n // Handle presses on the action bar items\n switch (item.getItemId()) {\n case android.R.id.home:\n onBackPressed();\n return true;\n case R.id.action_clear:\n ret... | [
"0.7173379",
"0.69227743",
"0.69227743",
"0.69227743",
"0.69227743",
"0.6911944",
"0.6884609",
"0.6881586",
"0.68243235",
"0.68193024",
"0.68051094",
"0.6801348",
"0.678705",
"0.678705",
"0.67608094",
"0.67543995",
"0.6754033",
"0.674645",
"0.67355984",
"0.6727317",
"0.672570... | 0.0 | -1 |
pop up an interactive dialog box or insert additional matching logic | public boolean verify(String hostname, SSLSession session) {
boolean good_address;
if (mHostName.equals(hostname)) {
good_address = true;
} else {
good_address = false;
}
LogUtils.i("MyHostnameVerifier", "主机名认证结果=="+good_address);
return good_address;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void actionPerformed(ActionEvent e) {\r\n JTextField ownerTf;\r\n String mes;\r\n\r\n String record[] = getRecordOnPan();\r\n\r\n try {\r\n int match[] = data.find(record);\r\n \r\n if (match.length > 1) {\r\n updateStatus(\"More than one match record.\");\r... | [
"0.6103611",
"0.6051797",
"0.59442097",
"0.5902332",
"0.58881795",
"0.58708465",
"0.5858794",
"0.5831963",
"0.5827295",
"0.5768897",
"0.57682407",
"0.57671946",
"0.57363963",
"0.57213193",
"0.5719366",
"0.56613785",
"0.565819",
"0.565819",
"0.5656357",
"0.56548584",
"0.565472... | 0.0 | -1 |
called when login is clicked | public void viewdata() {
login.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Cursor res = mydb.getData(user.getText().toString(), p.getText().toString());
if (res.getCount() == 0) {
showmessa... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected void login() {\n\t\t\r\n\t}",
"public void LoginButton() {\n\t\t\r\n\t}",
"@Override\n public void onLoginClicked(String username, String password) {\n loginView.showProgress();\n loginInteractor.authorize(username, password, this);\n }",
"@OnClick(R.id.email_sign_in_button) pub... | [
"0.79840463",
"0.79786277",
"0.79681575",
"0.79535663",
"0.79231375",
"0.7829092",
"0.78123695",
"0.7751136",
"0.7725752",
"0.77166766",
"0.7707376",
"0.7706379",
"0.7691493",
"0.76886606",
"0.7652515",
"0.7642166",
"0.7636043",
"0.76340646",
"0.7620451",
"0.76032114",
"0.759... | 0.0 | -1 |
Inflate the menu; this adds items to the action bar if it is present. | @Override
public boolean onCreateOptionsMenu(Menu menu) {
getMenuInflater().inflate(R.menu.menu_main, menu);
return true;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n \tMenuInflater inflater = getMenuInflater();\n \tinflater.inflate(R.menu.main_activity_actions, menu);\n \treturn super.onCreateOptionsMenu(menu);\n }",
"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {... | [
"0.7249256",
"0.72037125",
"0.7197713",
"0.7180111",
"0.71107703",
"0.70437056",
"0.70412415",
"0.7014533",
"0.7011124",
"0.6983377",
"0.69496083",
"0.69436663",
"0.69371194",
"0.69207716",
"0.69207716",
"0.6893342",
"0.6886841",
"0.6879545",
"0.6877086",
"0.68662405",
"0.686... | 0.0 | -1 |
Handle action bar item clicks here. The action bar will automatically handle clicks on the Home/Up button, so long as you specify a parent activity in AndroidManifest.xml. | @Override
public boolean onOptionsItemSelected(MenuItem item) {
int id = item.getItemId();
//noinspection SimplifiableIfStatement
if (id == R.id.action_settings) {
return true;
}
return super.onOptionsItemSelected(item);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public boolean onOptionsItemSelected(MenuItem item) { Handle action bar item clicks here. The action bar will\n // automatically handle clicks on the Home/Up button, so long\n // as you specify a parent activity in AndroidManifest.xml.\n\n //\n // HANDLE BACK BUTTON\n ... | [
"0.79041183",
"0.7805934",
"0.77659106",
"0.7727251",
"0.7631684",
"0.7621701",
"0.75839096",
"0.75300384",
"0.74873656",
"0.7458051",
"0.7458051",
"0.7438486",
"0.742157",
"0.7403794",
"0.7391802",
"0.73870087",
"0.7379108",
"0.7370295",
"0.7362194",
"0.7355759",
"0.73454577... | 0.0 | -1 |
Creates a new instance of SetInfoWindow | public SetInfoWindow() {
super(BasicWindow.curWindow,"Stage Info", true);
//setTitle("Inventory Manager");
proj_class=(project)project.oClass;
addComponents();
populateComponents();
setBounds(10,50, iScreenHeight,iScreenWidth);
//setSize(500,500);
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setInfoWindow(MarkerInfoWindow infoWindow){\n\t\tmInfoWindow = infoWindow;\n\t}",
"public InfoDialog() {\r\n\t\tcreateContents();\r\n\t}",
"public void showInfoWindow(){\n\t\tif (mInfoWindow == null)\n\t\t\treturn;\n\t\tfinal int markerWidth = mIcon.getIntrinsicWidth();\n\t\tfinal int markerHeight ... | [
"0.7253458",
"0.7127629",
"0.6441679",
"0.63709843",
"0.6359898",
"0.63512224",
"0.61979896",
"0.6112944",
"0.60106075",
"0.59668684",
"0.5922659",
"0.5919793",
"0.5820185",
"0.5806277",
"0.5766239",
"0.5711163",
"0.5659056",
"0.56336194",
"0.5618713",
"0.5614035",
"0.5599171... | 0.73798484 | 0 |
String url =" Uri uri = Uri.parse(" Intent browserIntent = new Intent(Intent.ACTION_VIEW); browserIntent.setDataAndType(uri, "text/html"); browserIntent.addCategory(Intent.CATEGORY_BROWSABLE); context.startActivity(browserIntent); Intent intent = new Intent(Intent.ACTION_VIEW, String); intent.addCategory(Intent.CATEGOR... | @Override
public void onClick(View view) {
Intent httpIntent = new Intent(Intent.ACTION_VIEW);
httpIntent.setData(Uri.parse("http://bvmengineering.ac.in"));
startActivity(httpIntent);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void toUrl(String url){\n Uri uriUrl = Uri.parse(url);\n Intent launchBrowser = new Intent(Intent.ACTION_VIEW, uriUrl);\n startActivity(launchBrowser);\n }",
"public void openBrowser(View view){\n String url = (String)view.getTag();\n\n Intent intent = new Intent();\... | [
"0.81038153",
"0.79541314",
"0.77822703",
"0.7729354",
"0.7500866",
"0.7463998",
"0.74424505",
"0.74350727",
"0.7431764",
"0.7410895",
"0.73924035",
"0.7354978",
"0.7310313",
"0.72986525",
"0.7262785",
"0.726117",
"0.7257798",
"0.71790755",
"0.7104677",
"0.7098175",
"0.706290... | 0.75050664 | 4 |
Create a new deallocate action script with the given data. | public DeallocateActionScript(final AdaptationData data, final DeallocateAction action) {
super(data);
this.action = action;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void destroyAction() {\n\r\n\t}",
"public void destroy() {}",
"public void destroy() {}",
"@Override\n\tpublic void destroyAction(int id) {\n\t\t\n\t}",
"void release(String dataElementName);",
"public void destroy() throws ActionLifecycleException;",
"void destroy() {\n\t\tdespawnHitbox();\n\t\... | [
"0.531473",
"0.50756633",
"0.50756633",
"0.5028892",
"0.5027415",
"0.49853957",
"0.49717602",
"0.4931834",
"0.4931834",
"0.4931834",
"0.4931834",
"0.4931834",
"0.4931834",
"0.4931834",
"0.4931834",
"0.493031",
"0.4906987",
"0.49020168",
"0.49020168",
"0.49020168",
"0.49020168... | 0.71893364 | 0 |
Construct a MapReduceOperation with all the criteria it needs to execute | public MapReduceToCollectionOperation(final MongoNamespace namespace, final BsonJavaScript mapFunction,
final BsonJavaScript reduceFunction, final String collectionName) {
this(namespace, mapFunction, reduceFunction, collectionName, null);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public MapReduceOutput mapReduce(final MapReduceCommand command) {\n ReadPreference readPreference = command.getReadPreference() == null ? getReadPreference() : command.getReadPreference();\n Map<String, Object> scope = command.getScope();\n Boolean jsMode = command.getJsMode();\n if (c... | [
"0.56627476",
"0.5555227",
"0.54106784",
"0.5386497",
"0.5386497",
"0.5339541",
"0.5334269",
"0.5291423",
"0.5275567",
"0.5229056",
"0.5197738",
"0.5167398",
"0.5159516",
"0.51361936",
"0.5098762",
"0.5051149",
"0.5037778",
"0.5020728",
"0.49991676",
"0.4965497",
"0.4959903",... | 0.4967045 | 19 |
Construct a MapReduceOperation with all the criteria it needs to execute | public MapReduceToCollectionOperation(final MongoNamespace namespace, final BsonJavaScript mapFunction,
final BsonJavaScript reduceFunction, final String collectionName,
final WriteConcern writeConcern) {
this.namespace = notNul... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public MapReduceOutput mapReduce(final MapReduceCommand command) {\n ReadPreference readPreference = command.getReadPreference() == null ? getReadPreference() : command.getReadPreference();\n Map<String, Object> scope = command.getScope();\n Boolean jsMode = command.getJsMode();\n if (c... | [
"0.56627476",
"0.5555227",
"0.54106784",
"0.5386497",
"0.5386497",
"0.5339541",
"0.5334269",
"0.5291423",
"0.5229056",
"0.5197738",
"0.5167398",
"0.5159516",
"0.51361936",
"0.5098762",
"0.5051149",
"0.5037778",
"0.5020728",
"0.49991676",
"0.4967045",
"0.4965497",
"0.4959903",... | 0.5275567 | 8 |
Gets the JavaScript function that associates or "maps" a value with a key and emits the key and value pair. | public BsonJavaScript getMapFunction() {
return mapFunction;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Object map(String key, Object input);",
"String getValue(String type, String key);",
"public Value get(Key key) ;",
"public Value get(Key key);",
"public V getValue(K key);",
"public V getValue(K key);",
"public abstract void map(String key, String value) throws Exception;",
"public byte[] emi... | [
"0.6022835",
"0.5650314",
"0.56280965",
"0.56126666",
"0.56115925",
"0.56115925",
"0.5588907",
"0.5501825",
"0.5497463",
"0.5477778",
"0.53440195",
"0.5331407",
"0.52764255",
"0.5258397",
"0.52531964",
"0.520361",
"0.5197921",
"0.51974463",
"0.51732457",
"0.5153122",
"0.50908... | 0.48562977 | 68 |
Gets the JavaScript function that "reduces" to a single object all the values associated with a particular key. | public BsonJavaScript getReduceFunction() {
return reduceFunction;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Object getTransient(Object key);",
"public CompoundValue getValue(Object key);",
"public ExpressionFunction getFunction(String name) { return wrappedSerializationContext.getFunction(name); }",
"public Value get(Key key) ;",
"public Object getQuiet(String key);",
"public static String fFunction(Str... | [
"0.524283",
"0.50938255",
"0.50697815",
"0.50339127",
"0.50210094",
"0.50189596",
"0.5013525",
"0.49996564",
"0.49802947",
"0.49642804",
"0.49517414",
"0.49313667",
"0.49188176",
"0.49035802",
"0.48840743",
"0.47964388",
"0.47823256",
"0.47762835",
"0.47747573",
"0.4707632",
... | 0.46142983 | 25 |
Gets the name of the collection to output the results to. | public String getCollectionName() {
return collectionName;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@AutoEscape\n\tpublic String getCollectionName();",
"@Override\n\tpublic java.lang.String getCollectionName() {\n\t\treturn _dictData.getCollectionName();\n\t}",
"Collection<? extends Object> getCollectionName();",
"public String getCollectionName() {\n\t\tint fin = this.queryInfos.getInputSaadaTable().index... | [
"0.7606223",
"0.75821084",
"0.7377214",
"0.72763366",
"0.7261228",
"0.70137596",
"0.68802977",
"0.68711305",
"0.68320006",
"0.6633144",
"0.6252809",
"0.6173496",
"0.6125402",
"0.60893947",
"0.6074925",
"0.59305054",
"0.59162563",
"0.5823979",
"0.5805017",
"0.5798755",
"0.5788... | 0.77620685 | 0 |
Gets the write concern. | public WriteConcern getWriteConcern() {
return writeConcern;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getWriteConsistency() {\n return this.writeConsistency;\n }",
"public WriteMode getWriteMode()\n {\n return writeMode;\n }",
"public DynamicsSinkWriteBehavior getWriteBehavior() {\n return this.writeBehavior;\n }",
"public long getConcern();",
"public AzureSea... | [
"0.6571874",
"0.64415056",
"0.6262224",
"0.6068341",
"0.60404944",
"0.58491755",
"0.56506896",
"0.561866",
"0.56175286",
"0.55938524",
"0.55935556",
"0.5500847",
"0.54725796",
"0.53986824",
"0.5385219",
"0.5365454",
"0.5335157",
"0.5304151",
"0.52880114",
"0.52821624",
"0.524... | 0.821037 | 0 |
Gets the JavaScript function that follows the reduce method and modifies the output. Default is null | public BsonJavaScript getFinalizeFunction() {
return finalizeFunction;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public BsonJavaScript getReduceFunction() {\n return reduceFunction;\n }",
"@Override\n public TDViewReduceBlock compileReduceFunction(String reduceSource,\n String language) {\n return null;\n }",
"public static Expression reduce(Expression expression) { throw Extensions.todo... | [
"0.67723453",
"0.6087352",
"0.59072876",
"0.57832897",
"0.577156",
"0.57521",
"0.5581191",
"0.55126256",
"0.54453367",
"0.53626406",
"0.5347416",
"0.5288898",
"0.52874833",
"0.52874833",
"0.5282083",
"0.523473",
"0.51633126",
"0.5096088",
"0.5091516",
"0.50671494",
"0.5051846... | 0.0 | -1 |
Sets the JavaScript function that follows the reduce method and modifies the output. | public MapReduceToCollectionOperation finalizeFunction(final BsonJavaScript finalizeFunction) {
this.finalizeFunction = finalizeFunction;
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public BsonJavaScript getReduceFunction() {\n return reduceFunction;\n }",
"@Override\n\t\tpublic void reduce() {\n\t\t\t\n\t\t}",
"@Override\n public TDViewReduceBlock compileReduceFunction(String reduceSource,\n String language) {\n return null;\n }",
"public interface Red... | [
"0.6522792",
"0.5852133",
"0.5678367",
"0.56134754",
"0.5142981",
"0.5134786",
"0.50827396",
"0.50554633",
"0.50463146",
"0.5023129",
"0.49988616",
"0.49988616",
"0.49282035",
"0.48725367",
"0.48718262",
"0.4857681",
"0.48326355",
"0.48232704",
"0.48148903",
"0.4762396",
"0.4... | 0.434781 | 46 |
Gets the global variables that are accessible in the map, reduce and finalize functions. | public BsonDocument getScope() {
return scope;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private Map<String, Object> collectGlobals() {\n ImmutableMap.Builder<String, Object> envBuilder = ImmutableMap.builder();\n MethodLibrary.addBindingsToBuilder(envBuilder);\n Runtime.addConstantsToBuilder(envBuilder);\n return envBuilder.build();\n }",
"public Map<String, Object> getGlobals() {\n ... | [
"0.73998785",
"0.69546324",
"0.66208345",
"0.63537395",
"0.6346128",
"0.6329242",
"0.63058215",
"0.62983716",
"0.6194277",
"0.6139998",
"0.6031856",
"0.59466773",
"0.5914047",
"0.58755565",
"0.5841207",
"0.5833897",
"0.5802061",
"0.57544416",
"0.575437",
"0.5740324",
"0.56972... | 0.0 | -1 |
Sets the global variables that are accessible in the map, reduce and finalize functions. | public MapReduceToCollectionOperation scope(final BsonDocument scope) {
this.scope = scope;
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setGlobalVariables(GlobalVariables globalVariables);",
"protected void initVars() {}",
"@Override\r\n\tpublic void initVariables() {\n\t\t\r\n\t}",
"public void setGlobalVariables(GlobalVariables globalVariables) {\n this.globalVariables = globalVariables;\n }",
"private void initIn... | [
"0.68442506",
"0.6770341",
"0.63291216",
"0.62874955",
"0.62622863",
"0.62038046",
"0.6178561",
"0.61657065",
"0.6139601",
"0.6119138",
"0.60261863",
"0.6024835",
"0.59786016",
"0.59379345",
"0.5930979",
"0.58908933",
"0.5876086",
"0.58728176",
"0.58573866",
"0.5854876",
"0.5... | 0.0 | -1 |
Gets the query filter. | public BsonDocument getFilter() {
return filter;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Expression getFilter() {\n return this.filter;\n }",
"Filter getFilter();",
"public java.lang.String getFilter() {\n return filter;\n }",
"public String getFilter() {\n\t\treturn url.getFilter();\n }",
"public String getFilter() {\n\t\treturn filter;\n\t}",
"public Filter ... | [
"0.7437957",
"0.702894",
"0.6986735",
"0.69282407",
"0.69104713",
"0.6891172",
"0.6854726",
"0.67800516",
"0.6772717",
"0.67463654",
"0.6566829",
"0.65417707",
"0.6510364",
"0.64949316",
"0.6479116",
"0.6430993",
"0.6385314",
"0.6380475",
"0.63487256",
"0.63403815",
"0.633961... | 0.6887445 | 6 |
Sets the filter to apply to the query. | public MapReduceToCollectionOperation filter(final BsonDocument filter) {
this.filter = filter;
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected void setQueryFilter(CalendarFilter filter) {\n this.queryFilter = filter;\n }",
"public void setFilter(Expression filter) {\n this.filter = filter;\n }",
"public void setFilter(Filter.Statement filter) {\n this.setFilter(filter.toArray());\n }",
"void setFilter(Strin... | [
"0.76406664",
"0.7635601",
"0.76248497",
"0.71503484",
"0.7090243",
"0.6989452",
"0.69620794",
"0.6956308",
"0.6811681",
"0.6807998",
"0.6735484",
"0.6732873",
"0.6729391",
"0.67234015",
"0.67152905",
"0.6667338",
"0.66612434",
"0.6651309",
"0.66441464",
"0.6510652",
"0.65035... | 0.5822716 | 47 |
Gets the sort criteria to apply to the query. The default is null, which means that the documents will be returned in an undefined order. | public BsonDocument getSort() {
return sort;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"java.lang.String getOrderBy();",
"private DBObject buildSortSpec(final GetObjectInformationParameters params) {\n\t\tfinal DBObject sort = new BasicDBObject();\n\t\tif (params.isObjectIDFiltersOnly()) {\n\t\t\tsort.put(Fields.VER_WS_ID, 1);\n\t\t\tsort.put(Fields.VER_ID, 1);\n\t\t\tsort.put(Fields.VER_VER, -1);\... | [
"0.5939205",
"0.57250166",
"0.5674828",
"0.56205356",
"0.5512427",
"0.54945755",
"0.5440364",
"0.5398251",
"0.53860265",
"0.5344663",
"0.5344663",
"0.5340267",
"0.53261924",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.5... | 0.6124797 | 0 |
Sets the sort criteria to apply to the query. | public MapReduceToCollectionOperation sort(final BsonDocument sort) {
this.sort = sort;
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static void setSortCriteria(String method)\n \t{\n \t\tsortCriteria = method;\n \t}",
"public void setSortOrder(String sortOrder);",
"public QueryResultBuilder<T> applySort(Option<Sort> sort);",
"Sort asc(QueryParameter parameter);",
"public static void setOrderBy (String columnList){\n fetch... | [
"0.7049929",
"0.63504857",
"0.6185794",
"0.60383314",
"0.5978306",
"0.5975881",
"0.59571683",
"0.5956608",
"0.59482586",
"0.59482586",
"0.59482586",
"0.59482586",
"0.59482586",
"0.59482586",
"0.59482586",
"0.59482586",
"0.59482586",
"0.58814394",
"0.58601564",
"0.58518916",
"... | 0.53737605 | 59 |
Gets the limit to apply. The default is null. | public int getLimit() {
return limit;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Integer getLimit() {\n return limit;\n }",
"public float getLimit() {\n return limit;\n }",
"public int getLimit() {\n return limit;\n }",
"public Double getLimit() {\n return limit;\n }",
"public int getLimit() {\r\n return limit;\r\n }",
"public in... | [
"0.7631083",
"0.7488486",
"0.74309933",
"0.7398537",
"0.739496",
"0.73784024",
"0.73784024",
"0.7364361",
"0.7344337",
"0.7308199",
"0.7308199",
"0.7277102",
"0.7219052",
"0.7192991",
"0.7090794",
"0.7029176",
"0.7029176",
"0.7014445",
"0.6952581",
"0.69398564",
"0.682895",
... | 0.73837024 | 7 |
Sets the limit to apply. | public MapReduceToCollectionOperation limit(final int limit) {
this.limit = limit;
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void setLimit(int limit);",
"public void setLimit(int limit) {\n\tLimit = limit;\n }",
"public void setMiterLimit(float limit);",
"public void setLimit(double limit) {\n\t\tthis.limit = limit;\n\t }",
"public void setLimit(Integer limit) {\n this.limit = limit;\n }",
"public void setLimit... | [
"0.78804284",
"0.7593003",
"0.75342983",
"0.7492706",
"0.74893016",
"0.7475915",
"0.7456619",
"0.7420505",
"0.7324696",
"0.7300314",
"0.7300314",
"0.72472185",
"0.72040576",
"0.7083565",
"0.7020486",
"0.70175755",
"0.7010729",
"0.69441986",
"0.67863446",
"0.6724105",
"0.67219... | 0.62933916 | 46 |
Gets the flag that specifies whether to convert intermediate data into BSON format between the execution of the map and reduce functions. Defaults to false. | public boolean isJsMode() {
return jsMode;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setConcatTransforms(boolean flag) {\n concatTransforms = flag;\n }",
"public boolean isOkToConvert()\n {\n return _okToConvert;\n }",
"public boolean getConcatTransforms() {\n return concatTransforms;\n }",
"public MapReduceOutput mapReduce(final MapReduceCommand ... | [
"0.54559046",
"0.51434064",
"0.50614434",
"0.49151888",
"0.48340282",
"0.47847652",
"0.47376853",
"0.4714345",
"0.46907467",
"0.46656612",
"0.46613842",
"0.46548685",
"0.46139514",
"0.45710224",
"0.45404494",
"0.4531249",
"0.45200986",
"0.4484117",
"0.4476364",
"0.4470137",
"... | 0.0 | -1 |
Sets the flag that specifies whether to convert intermediate data into BSON format between the execution of the map and reduce functions. Defaults to false. | public MapReduceToCollectionOperation jsMode(final boolean jsMode) {
this.jsMode = jsMode;
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setConcatTransforms(boolean flag) {\n concatTransforms = flag;\n }",
"public void setNormalizationState(boolean flag);",
"public void forceSerializeCopy(boolean bool) {\r\n this.FORCE_SERIALIZE_COPY = bool;\r\n }",
"public MapReduceToCollectionOperation bypassDocumentValidation(fi... | [
"0.5883372",
"0.55727154",
"0.5481629",
"0.52788013",
"0.5224343",
"0.5111262",
"0.50570506",
"0.49428362",
"0.481994",
"0.4724128",
"0.47047067",
"0.46836677",
"0.46678564",
"0.4651371",
"0.46153748",
"0.45971346",
"0.45578098",
"0.45575124",
"0.45554632",
"0.4544684",
"0.45... | 0.4177541 | 72 |
Gets whether to include the timing information in the result information. Defaults to true. | public boolean isVerbose() {
return verbose;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Boolean getTimeStatus()\n {\n return timeStatus;\n }",
"public boolean isMeasureTime() ;",
"public boolean getUseTimings()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.ap... | [
"0.65674245",
"0.64899397",
"0.645972",
"0.6420691",
"0.63526",
"0.6266976",
"0.6266976",
"0.62532425",
"0.6178437",
"0.61463416",
"0.6109188",
"0.6102687",
"0.61006355",
"0.6100081",
"0.6099582",
"0.6099582",
"0.6064861",
"0.6064861",
"0.6064273",
"0.6059566",
"0.6051014",
... | 0.54492056 | 98 |
Sets whether to include the timing information in the result information. | public MapReduceToCollectionOperation verbose(final boolean verbose) {
this.verbose = verbose;
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setDoTiming(boolean doTiming) {\n\t\tthis.doTiming = doTiming;\n\t}",
"public void setUseTimings(boolean useTimings)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbean... | [
"0.68078184",
"0.6268358",
"0.58574",
"0.5815106",
"0.57667446",
"0.56835496",
"0.55489445",
"0.5516214",
"0.5504818",
"0.543394",
"0.54219425",
"0.54127437",
"0.53419536",
"0.53394943",
"0.5324946",
"0.53143585",
"0.53006285",
"0.52859366",
"0.5275803",
"0.52682984",
"0.5262... | 0.0 | -1 |
Gets the maximum execution time on the server for this operation. The default is 0, which places no limit on the execution time. | public long getMaxTime(final TimeUnit timeUnit) {
notNull("timeUnit", timeUnit);
return timeUnit.convert(maxTimeMS, TimeUnit.MILLISECONDS);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int getMaxRunTime() {\n return maxRunTime;\n }",
"public static long getMaximumResponseTime() {\n return (long) maxResponseTime;\n }",
"public long getExecutionTimeout() {\n \n // return it\n return executionTimeout;\n }",
"public Integer getMaxTime() {\n ... | [
"0.74491173",
"0.71849155",
"0.70495737",
"0.6901847",
"0.67710835",
"0.6762256",
"0.6686884",
"0.66265243",
"0.6582893",
"0.6538725",
"0.65226716",
"0.6498068",
"0.64853394",
"0.64756936",
"0.64591503",
"0.64117444",
"0.63723",
"0.63690317",
"0.62984854",
"0.6292441",
"0.626... | 0.56230205 | 82 |
Sets the maximum execution time on the server for this operation. | public MapReduceToCollectionOperation maxTime(final long maxTime, final TimeUnit timeUnit) {
notNull("timeUnit", timeUnit);
this.maxTimeMS = TimeUnit.MILLISECONDS.convert(maxTime, timeUnit);
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setMaxTime(Integer maxTime) {\n this.maxTime = maxTime;\n }",
"public void setMaxRunTime(int maxRunTime) {\n this.maxRunTime = maxRunTime;\n }",
"public void setMaxTime(int aMaxTime)\n{\n // Set max time\n _maxTime = aMaxTime;\n \n // If time is greater than max-time... | [
"0.70824873",
"0.7019046",
"0.66868365",
"0.6615328",
"0.6589215",
"0.65482616",
"0.64738363",
"0.64622396",
"0.6329382",
"0.6329143",
"0.6305342",
"0.6297918",
"0.6247958",
"0.6225306",
"0.6162663",
"0.60684615",
"0.6068433",
"0.6047148",
"0.6040629",
"0.59865934",
"0.597392... | 0.569635 | 43 |
Gets the output action, one of: "replace", "merge", "reduce". Defaults to "replace". | public String getAction() {
return action;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public MapReduceToCollectionOperation action(final String action) {\n notNull(\"action\", action);\n isTrue(\"action must be one of: \\\"replace\\\", \\\"merge\\\", \\\"reduce\\\"\", VALID_ACTIONS.contains(action));\n this.action = action;\n return this;\n }",
"public String getAct... | [
"0.602333",
"0.5827876",
"0.5798243",
"0.57265407",
"0.56674165",
"0.5630073",
"0.56189376",
"0.56189376",
"0.56189376",
"0.56189376",
"0.5552093",
"0.54909116",
"0.544612",
"0.54447126",
"0.54414207",
"0.5434675",
"0.53783333",
"0.5357646",
"0.5326322",
"0.5270777",
"0.52679... | 0.5477128 | 14 |
Sets the output action one of: "replace", "merge", "reduce" | public MapReduceToCollectionOperation action(final String action) {
notNull("action", action);
isTrue("action must be one of: \"replace\", \"merge\", \"reduce\"", VALID_ACTIONS.contains(action));
this.action = action;
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setOutput(String output) { this.output = output; }",
"public void setOutput(int output) {\n Output = output;\n }",
"public void setAction(String action) { this.action = action; }",
"public void setAction(String action);",
"public void setOutput(Output output) {\n\t\tthis.output = out... | [
"0.5717442",
"0.5650299",
"0.5598499",
"0.5544973",
"0.55372936",
"0.55158603",
"0.5440992",
"0.54164386",
"0.541615",
"0.54114217",
"0.54113543",
"0.53726363",
"0.5365826",
"0.53459215",
"0.53459215",
"0.5333057",
"0.53247774",
"0.53041035",
"0.5296812",
"0.5282378",
"0.5281... | 0.6501274 | 0 |
Gets the name of the database to output into. | public String getDatabaseName() {
return databaseName;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"java.lang.String getDatabaseName();",
"java.lang.String getDatabaseName();",
"java.lang.String getDatabaseName();",
"java.lang.String getDatabaseName();",
"protected String getDatabaseName() {\n\t\treturn database;\n\t}",
"@Override\n public String getDatabaseName() {\n return mappings.getDatab... | [
"0.82421345",
"0.82421345",
"0.82421345",
"0.82421345",
"0.7817486",
"0.77105254",
"0.7471669",
"0.7430415",
"0.7371513",
"0.7371513",
"0.7371513",
"0.7371513",
"0.73590666",
"0.7348493",
"0.7348493",
"0.7348493",
"0.7348493",
"0.7336065",
"0.73042095",
"0.7290577",
"0.727405... | 0.73012936 | 19 |
Sets the name of the database to output into. | public MapReduceToCollectionOperation databaseName(final String databaseName) {
this.databaseName = databaseName;
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected String getDatabaseName() {\n\t\treturn database;\n\t}",
"java.lang.String getDatabaseName();",
"java.lang.String getDatabaseName();",
"java.lang.String getDatabaseName();",
"java.lang.String getDatabaseName();",
"public void printDatabaseName(){\n Realm realm;\n if(realmConfigurat... | [
"0.6883015",
"0.6836124",
"0.6836124",
"0.6836124",
"0.6836124",
"0.6812926",
"0.67948735",
"0.6776908",
"0.6732491",
"0.670989",
"0.66918397",
"0.66076",
"0.66076",
"0.66076",
"0.66076",
"0.65949696",
"0.65715474",
"0.65715474",
"0.6526754",
"0.65093327",
"0.64851075",
"0.... | 0.0 | -1 |
True if the output database is sharded | public boolean isSharded() {
return sharded;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"boolean isNeedSharding();",
"default boolean isSharded() {\n return false;\n }",
"public abstract boolean isDatabaseSet();",
"boolean isUsedForWriting();",
"public boolean isShardable() {\n return SHARDABLE_RUNNERS.contains(runnerName);\n }",
"public boolean isShredded() {\n\t\tretu... | [
"0.68169683",
"0.6667687",
"0.625033",
"0.61712444",
"0.6041529",
"0.5954317",
"0.5924679",
"0.58152634",
"0.5793375",
"0.57443905",
"0.5688321",
"0.5668486",
"0.5668189",
"0.5668189",
"0.5668189",
"0.5668189",
"0.5668189",
"0.56427914",
"0.5573018",
"0.5568365",
"0.5565976",... | 0.69350755 | 0 |
Sets if the output database is sharded | public MapReduceToCollectionOperation sharded(final boolean sharded) {
this.sharded = sharded;
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean isSharded() {\n return sharded;\n }",
"default boolean isSharded() {\n return false;\n }",
"boolean isNeedSharding();",
"public void setDistributable(boolean distributable);",
"public boolean isShredded() {\n\t\treturn isShredded;\n\t}",
"public abstract boolean isDatabaseSet... | [
"0.67543584",
"0.6495036",
"0.56540406",
"0.55916023",
"0.5585742",
"0.5557726",
"0.55306053",
"0.54410243",
"0.53621083",
"0.5318042",
"0.5157376",
"0.5154",
"0.51462233",
"0.5120201",
"0.50709313",
"0.50526834",
"0.50189775",
"0.49714565",
"0.49508578",
"0.49221236",
"0.492... | 0.5711962 | 2 |
True if the postprocessing step will prevent MongoDB from locking the database. | public boolean isNonAtomic() {
return nonAtomic;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean isSynchronizing() {\n\t\treturn false;\n\t}",
"public boolean isEnable() {\n return this.parallelPutToStoreThreadLimit > 0;\n }",
"synchronized boolean ignoreForRecovery() {\n return ignoreForRecovery;\n }",
"protected boolean checkMongo() {\n boolean scarso = false;\n\n ... | [
"0.57233804",
"0.57170844",
"0.56682897",
"0.56423026",
"0.56245136",
"0.557163",
"0.55663645",
"0.555972",
"0.5509902",
"0.5466006",
"0.5466006",
"0.54522043",
"0.5430662",
"0.54182774",
"0.5394726",
"0.5392918",
"0.5378406",
"0.53753763",
"0.53443646",
"0.53205216",
"0.5305... | 0.49349502 | 84 |
Gets the bypass document level validation flag | public Boolean getBypassDocumentValidation() {
return bypassDocumentValidation;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"boolean getValidateOnly();",
"boolean getValidateOnly();",
"public Document getDocumentForValidation() {\n return documentForValidation;\n }",
"public Integer getdocverificationflag() {\n return (Integer) getAttributeInternal(DOCVERIFICATIONFLAG);\n }",
"public boolean getValidateOnly()... | [
"0.67016405",
"0.67016405",
"0.66177964",
"0.65553516",
"0.64626825",
"0.63798726",
"0.634019",
"0.623512",
"0.6057153",
"0.6030363",
"0.60161114",
"0.5995194",
"0.5969504",
"0.5863213",
"0.5863213",
"0.5827916",
"0.5782671",
"0.575108",
"0.5660847",
"0.5648831",
"0.5632319",... | 0.7984712 | 0 |
Sets the bypass document level validation flag. Note: This only applies when an $out stage is specified. | public MapReduceToCollectionOperation bypassDocumentValidation(final Boolean bypassDocumentValidation) {
this.bypassDocumentValidation = bypassDocumentValidation;
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Boolean getBypassDocumentValidation() {\n return bypassDocumentValidation;\n }",
"public void flagOrUnflagValidationError(boolean validationMode);",
"public void setOut(boolean out) {\n this.out = out;\n }",
"public void setSilent ( boolean flag ) {\n\t\ttry {\n\t\t\tinvokeSafe ( \... | [
"0.58103263",
"0.55784863",
"0.5487003",
"0.528526",
"0.5254497",
"0.51901346",
"0.51469404",
"0.49327636",
"0.4854942",
"0.48541826",
"0.48458517",
"0.48051697",
"0.47619107",
"0.4679294",
"0.46738753",
"0.46616536",
"0.46421272",
"0.46339524",
"0.4623342",
"0.46147445",
"0.... | 0.6183054 | 0 |
Returns the collation options | public Collation getCollation() {
return collation;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"List<AlgCollation> getCollationList();",
"public TreeMap getCondictionCodesOptions()\n\t{\n\t\t\n\t\treturn ACMICache.getConditionCodes();\n\t\t\n\t}",
"public EncodingOptions getEncodingOptions();",
"@Test\n public void mapCollation() {\n check(MAPCOLL);\n query(MAPCOLL.args(MAPNEW.args()), Token.str... | [
"0.7194185",
"0.59272504",
"0.5607697",
"0.542084",
"0.53928804",
"0.5361773",
"0.53459245",
"0.5287487",
"0.5263011",
"0.52529335",
"0.521836",
"0.5150609",
"0.51242244",
"0.5113542",
"0.51095057",
"0.5105952",
"0.5095656",
"0.5081861",
"0.50780106",
"0.5069894",
"0.50422937... | 0.7033393 | 1 |
Sets the collation options A null value represents the server default. | public MapReduceToCollectionOperation collation(final Collation collation) {
this.collation = collation;
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected void setEncodingsFromOptions(ThreadContext context, RubyHash options) {\n if (options == null || options.isNil()) return;\n \n EncodingOption encodingOption = extractEncodingOptions(options);\n \n if (encodingOption == null) return;\n \n externalEncoding = encodingOption.e... | [
"0.573213",
"0.5538057",
"0.5373818",
"0.5007094",
"0.49787217",
"0.49368408",
"0.4859263",
"0.4811858",
"0.48102674",
"0.47827512",
"0.4773862",
"0.46782896",
"0.4624756",
"0.45825094",
"0.45774502",
"0.4567932",
"0.45650744",
"0.455146",
"0.45370767",
"0.45142958",
"0.44845... | 0.5617009 | 1 |
Executing this will return a cursor with your results in. | @Override
public MapReduceStatistics execute(final WriteBinding binding) {
return withConnection(binding, new OperationHelper.CallableWithConnection<MapReduceStatistics>() {
@Override
public MapReduceStatistics call(final Connection connection) {
validateCollation(con... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"DBCursor execute();",
"@Override\n\tpublic final Iterable<R> execute() {\n\t\t\n\t\treturn new Iterable<R>() {\n\t\t\t\n\t\t\t@Override \n\t\t\tpublic Iterator<R> iterator() {\n\t\t\t\t\n\t\t\t\treturn AbstractMultiQuery.this.iterator();\n\t\t\t\t\n\t\t\t}\n\t\t};\n\t\t\n\t}",
"public abstract Cursor buildCurs... | [
"0.7362013",
"0.6902655",
"0.68095016",
"0.62468207",
"0.62256175",
"0.61511004",
"0.6142066",
"0.61339706",
"0.6121274",
"0.60875916",
"0.6025476",
"0.5994897",
"0.5987918",
"0.5893273",
"0.58294976",
"0.58252376",
"0.5809135",
"0.5793679",
"0.575489",
"0.57527757",
"0.57250... | 0.0 | -1 |
Gets an operation whose execution explains this operation. | public ReadOperation<BsonDocument> asExplainableOperation(final ExplainVerbosity explainVerbosity) {
return createExplainableOperation(explainVerbosity);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"Operation getOperation();",
"public Operation getOperation();",
"String getOperation();",
"String getOperation();",
"public String getOperation();",
"public Operation getOperation() {\n return operation;\n }",
"public Operation getOperation() {\n return this.operation;\n }",
"publ... | [
"0.79211277",
"0.7895901",
"0.75331277",
"0.75331277",
"0.7497722",
"0.7435145",
"0.74027324",
"0.7161062",
"0.7150041",
"0.7150041",
"0.7099252",
"0.70714265",
"0.70714265",
"0.70577407",
"0.7017857",
"0.6987926",
"0.69594264",
"0.69594264",
"0.69594264",
"0.6949327",
"0.694... | 0.0 | -1 |
Gets an operation whose execution explains this operation. | public AsyncReadOperation<BsonDocument> asExplainableOperationAsync(final ExplainVerbosity explainVerbosity) {
return createExplainableOperation(explainVerbosity);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"Operation getOperation();",
"public Operation getOperation();",
"String getOperation();",
"String getOperation();",
"public String getOperation();",
"public Operation getOperation() {\n return operation;\n }",
"public Operation getOperation() {\n return this.operation;\n }",
"publ... | [
"0.791926",
"0.789395",
"0.75320816",
"0.75320816",
"0.74967283",
"0.74345404",
"0.74022686",
"0.7161047",
"0.7149821",
"0.7149821",
"0.70985705",
"0.7071291",
"0.7071291",
"0.7057736",
"0.7017639",
"0.6987876",
"0.6957167",
"0.6957167",
"0.6957167",
"0.69493556",
"0.6948805"... | 0.0 | -1 |
Creates new form VentanaInstructores | public VentanaRegistroInstructor() {
initComponents();
control inicio = new control (this);
inicio.inicializarVentana(this, "src/imagenes/instructor.png");
control iniciar = new control (cancelar,agregar,turnoCombo,cedulaTxt,nombreApellidoTxt,telfTxt,direccionTxt,sueldoTxt,rutinaTxt,nutr... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void addInstituicao() {\n\n if (txtNome.getText().equals(\"\")) {\n JOptionPane.showMessageDialog(null, \"Campo Nome Invalido\");\n txtNome.grabFocus();\n return;\n } else if (txtNatureza.getText().equals(\"\")) {\n JOptionPane.showMessageDialog(nul... | [
"0.6239281",
"0.6167339",
"0.6145207",
"0.60903704",
"0.6081319",
"0.6030983",
"0.5979915",
"0.5951382",
"0.5903633",
"0.587326",
"0.57901454",
"0.57598746",
"0.5754871",
"0.57453436",
"0.5730986",
"0.57302195",
"0.5726819",
"0.5719337",
"0.5712218",
"0.5706713",
"0.5696552",... | 0.57617515 | 11 |
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() {
jPanel1 = new javax.swing.JPanel();
jLabel3 = new javax.swing.JLabel();
jLabel2 = new javax.swing.JLabel();
cedulaTxt = new ja... | {
"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.73197734",
"0.72914416",
"0.72914416",
"0.72914416",
"0.72862023",
"0.72487676",
"0.7213741",
"0.7207628",
"0.7196503",
"0.7190263",
"0.71850693",
"0.71594703",
"0.7147939",
"0.7093137",
"0.70808756",
"0.70566356",
"0.6987119",
"0.69778043",
"0.6955563",
"0.6953879",
"0.69... | 0.0 | -1 |
Creates new form Return | public Return() {
super("Return Book");
initComponents();
conn=javaconnect.ConnectDb();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static Result newForm() {\n return ok(newForm.render(palletForm, setOfArticleForm));\n }",
"FORM createFORM();",
"public String formCreated()\r\n {\r\n return formError(\"201 Created\",\"Object was created\");\r\n }",
"@RequestMapping(value = \"/new\", method = RequestMethod.POST)\n ... | [
"0.6707115",
"0.6428284",
"0.64155394",
"0.6405838",
"0.6383164",
"0.6310213",
"0.6111162",
"0.6044482",
"0.59024566",
"0.5867681",
"0.58467567",
"0.58252287",
"0.5780744",
"0.5739845",
"0.57199085",
"0.5681393",
"0.5679363",
"0.5672191",
"0.56711596",
"0.5662254",
"0.5638857... | 0.0 | -1 |
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor. | @SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {
jPanel3 = new javax.swing.JPanel();
back = new javax.swing.JButton();
jPanel2 = new javax.swing.JPanel();
jPanel1 = new javax.... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Form() {\n initComponents();\n }",
"public MainForm() {\n initComponents();\n }",
"public MainForm() {\n initComponents();\n }",
"public MainForm() {\n initComponents();\n }",
"public frmRectangulo() {\n initComponents();\n }",
"public form() {\n ... | [
"0.7319573",
"0.72908455",
"0.72908455",
"0.72908455",
"0.7286827",
"0.7248724",
"0.7213511",
"0.7208325",
"0.7195998",
"0.7190202",
"0.7184771",
"0.7158966",
"0.7147921",
"0.7093225",
"0.7080275",
"0.7057302",
"0.69875276",
"0.6977057",
"0.6955658",
"0.6953942",
"0.69454855"... | 0.0 | -1 |
If the parse exception is null, means that executed correctly | @Override
public void done(ParseUser user, ParseException e) {
if (e!=null) {
AlertDialogHelper.alertTitleAndDescription(
LoginActivity.this,
"Oops...",
"Error signing in, check your conne... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Test(expected=ParsingException.class)\n public void testParseFail1() throws ParsingException {\n this.parser.parse(\"parserfaalt\");\n }",
"void DoNothing() throws ParseException {\r\n }",
"@Test\n public void parseReturnsNullIfNotInteger() {\n assertNull(InputProcessing.tryParse(\"ass... | [
"0.6721444",
"0.66224986",
"0.6207611",
"0.61338866",
"0.6121878",
"0.6085143",
"0.60436845",
"0.6018664",
"0.6018664",
"0.6015071",
"0.5996911",
"0.5973233",
"0.5960454",
"0.59479195",
"0.59165865",
"0.59075767",
"0.59072834",
"0.5899786",
"0.5893921",
"0.58590746",
"0.58569... | 0.0 | -1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.