query
stringlengths 7
33.1k
| document
stringlengths 7
335k
| metadata
dict | negatives
sequencelengths 3
101
| negative_scores
sequencelengths 3
101
| document_score
stringlengths 3
10
| document_rank
stringclasses 102
values |
---|---|---|---|---|---|---|
Returns the tax of use plus the value. | public double useTax() {
return super.useTax() + getValue()
* PER_AXLE_TAX_RATE * getAxles();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"double getTax();",
"public double getTax() {\r\n\r\n return getSubtotal() * 0.06;\r\n\r\n }",
"double getTaxAmount();",
"public Double getTax();",
"@Override\n\tpublic double getTax() {\n\t\treturn 0.04;\n\t}",
"public double getTax() {\n return tax_;\n }",
"public double calcTax() {\n\t\treturn 0.2 * calcGrossWage() ;\n\t}",
"public double getTaxValue() {\n\t\treturn TaxCalculatorUtil.getTaxValue(getConfiguredPrice(),getPromotionValue(), getCouponDiscountValue(), getTaxRate(), getTaxationType());\n\t}",
"public BigDecimal getTax() {\n return tax;\n }",
"public double getTax() {\n return tax_;\n }",
"double taxReturn() {\n\t\tdouble ddv = 0;\n\t\tif (d == 'A') {\n\t\t\tddv = 18;\n\t\t} else if (d == 'B') {\n\t\t\tddv = 5;\n\t\t}\n\t\t\n\t\tif (ddv = 0) {\n\t\t\treturn 0;\n\t\t}\n\t\t\n\t\tdouble percent = price / 100.0;\n\t\tdouble tax = ddv * percent;\n\t\treturn tax / 100.0 * 15.0;\n\t}",
"BigDecimal getTax();",
"public double getTax(){\n\n return this.tax;\n }",
"public double taxPaying() {\r\n double tax;\r\n if (profit == true) {\r\n tax = revenue / 10.00;\r\n }\r\n\r\n else\r\n tax = revenue / 2.00;\r\n return tax;\r\n }",
"public double taxRate () {\n return taxRate;\n }",
"@Override\t\n\tpublic double getTax() {\n\t\treturn 0;\n\t}",
"@Override\n public double calcTaxes() {\n return getCost() * 0.07;\n }",
"public String getTaxCalculated()\n\t{\n\t\twaitForVisibility(taxCalculated);\n\t\treturn taxCalculated.getText();\n\t}",
"public double getTaxes(){\n\t\treturn this.getExciseTax() + this.getFlightSegmentTax() + this.get911SecurityFee() + this.getPassengerFacilityFee();\n\t}",
"public double getMarketValueTaxRate(){\r\n taxlist.add(new Tax(this.estValue,this.PPR,this.yearsowned,this.locationCategory));\r\n count++;\r\n return taxlist.get(count-1).MarketValueTax();\r\n }",
"public double getTaxAmount() {\n return taxAmount;\n }",
"public double getTaxRate() {\r\n\t\treturn .07;\r\n\t}",
"@Override\r\n\tpublic double getTaxValue() {\n\t\treturn 0;\r\n\t}",
"public BigDecimal getTaxRate() {\n\n\t\tBigDecimal totalTaxRate = getBasicTaxRate().add(getImportTaxRate());\n\n\t\treturn totalTaxRate;\n\t}",
"public double getTaxa() {\n\t\treturn taxa;\n\t}",
"public String getTotalTaxes(){\n String tax = driver.findElement(oTotalTaxes).getText();\n logger.debug(\"total taxes is\" + tax);\n return tax;\n }",
"public double getTaxRate() {\n return taxRate;\n }",
"public double getTaxes() {\n return getArea() * TAX_RATE_PER_M2;\n }",
"public BigDecimal getIncludedTax()\r\n\t{\r\n\t\treturn m_includedTax;\r\n\t}",
"public double calculateTax() {\n taxSubtotal = (saleAmount * SALESTAXRATE);\n\n return taxSubtotal;\n }",
"public int totalTax()\n {\n double tax = taxRate / 100;\n return (int)Math.round(totalCost() * tax);\n }",
"public double getTaxedCost()\n\t{\n\t\treturn taxedCost;\n\t}",
"public MMDecimal getTaxAmount() {\r\n return this.taxAmount;\r\n }",
"public BigDecimal getTaxRate() {\n return taxRate;\n }",
"public BigDecimal getPriceStdWTax();",
"public double taxCharged (){\n return discountedPrice() * taxRate;\n }",
"public double calculateTax(double amount){\n return (amount*TAX_4_1000)/1000;\n }",
"public void tpsTax() {\n TextView tpsView = findViewById(R.id.checkoutPage_TPStaxValue);\n tpsTaxTotal = beforeTaxTotal * 0.05;\n tpsView.setText(String.format(\"$%.2f\", tpsTaxTotal));\n }",
"public int getLocationTax(){\r\n taxlist.add(new Tax(this.estValue,this.PPR,this.yearsowned,this.locationCategory));\r\n count++;\r\n return taxlist.get(count-1).LocationTax();\r\n }",
"public int calculateTax() {\n int premium = calculateCost();\n return (int) Math.round(premium * vehicle.getType().getTax(surety.getSuretyType()));\n }",
"public abstract double getTaxValue(String country);",
"public BigDecimal getTaxAmt() {\n\t\treturn taxAmt;\n\t}",
"public int getTax(){\n int tax=0;\n if(this.salary<this.LOWER_LIMIT){\n tax=this.taxableSalary/100*10;\n }else if(this.salary<this.UPPER_LIMIT){\n tax=this.taxableSalary/100*22;\n }else{\n tax=this.UPPER_LIMIT/100*22 + (this.taxableSalary-this.UPPER_LIMIT)/100*40;\n }\n return tax;\n }",
"public double getTotal() {\r\n\r\n return getSubtotal() + getTax();\r\n }",
"abstract protected BigDecimal getBasicTaxRate();",
"@ApiModelProperty(value = \"Total amount of TAX paid(or should be paid)\")\n @JsonProperty(\"tax\")\n public String getTax() {\n return tax;\n }",
"public BigDecimal getTaxAmtPriceStd();",
"public BigDecimal getPriceListWTax();",
"public void tvqTax() {\n TextView tvqView = findViewById(R.id.checkoutPage_TVQtaxValue);\n tvqTaxTotal = beforeTaxTotal * 0.09975;\n tvqView.setText(String.format(\"$%.2f\", tvqTaxTotal));\n }",
"public BigDecimal getTotalTaxAmt() {\n\t\treturn totalTaxAmt;\n\t}",
"public double getSalesTax() {\r\n return salesTax;\r\n }",
"public BigDecimal getLBR_ICMSST_TaxAdded();",
"public abstract double calculateTax();",
"public java.lang.String getTAX_CODE() {\r\n return TAX_CODE;\r\n }",
"public float getServiceTax() {\n\t\treturn serviceTax;\n\t}",
"double applyTax(double price);",
"double defaultTaxOnProduct(){\n\t\treturn 12.5;\n\t}",
"public BigDecimal getLBR_TaxAmt();",
"public BigDecimal getPriceLimitWTax();",
"public CoreComponentTypes.apis.ebay.BasicAmountType getTaxAmount() {\r\n return taxAmount;\r\n }",
"public BigDecimal getTaxscore() {\n return taxscore;\n }",
"public double calculateCost() {\n double output = price * (1 + taxRate);\n return output;\n }",
"public Tax getTax() {\n if (tax == null) {\n tax = new Tax();\n }\n return tax;\n }",
"public BigDecimal getLBR_TaxRate();",
"public BigDecimal getLBR_TaxBase();",
"private BigDecimal getImportTaxRate() {\n\t\treturn isImported ? Product.DEFAULT_IMPORT_TAX_RATE : BigDecimal.ZERO;\n\t}",
"public BigDecimal getIncludedTaxDifference()\r\n\t{\r\n\t\treturn m_amount.subtract(m_includedTax);\r\n\t}",
"public BigDecimal getLBR_ICMSST_TaxAmt();",
"public String toString()\r\n\t{\r\n\t\tStringBuilder sb = new StringBuilder(\"Tax=(\");\r\n\t\tsb.append(m_name);\r\n\t\tsb.append(\" Amt=\").append(m_amount);\r\n\t\tsb.append(\")\");\r\n\t\treturn sb.toString();\r\n\t}",
"public BigDecimal getLBR_TaxBaseOwnOperation();",
"public BigDecimal getLBR_ICMSST_TaxRate();",
"public BigDecimal getLBR_ICMSST_TaxAmtUFSen();",
"public BigDecimal getLBR_TaxBaseAmt();",
"public double computeCustomsTax(String originCountry, double tobacoValue, double regularValue) {\n\t\tTaxComputer pece = getTaxComputer(originCountry);\n\t\treturn pece.compute(tobacoValue, regularValue);\n\t}",
"public BigDecimal getTaxAmtPriceLimit();",
"public String toString() {\n \n return super.toString() + \" Axle Tax Rate: \" \n + PER_AXLE_TAX_RATE * getAxles();\n }",
"@ApiModelProperty(value = \"Applied rate of the tax\")\n\n\n public Float getTaxRate() {\n return taxRate;\n }",
"public double netPrice () {\n return discountedPrice() + taxCharged();\n }",
"public BigDecimal getLBR_TaxReliefAmt();",
"public BigDecimal getLBR_TaxDeferralAmt();",
"public static double calculateTax(double price) {\r\n\tfinal double TAX = 0.05;\r\n\tdouble taxAmount = price*TAX;\r\n\treturn taxAmount;\r\n\t}",
"@Override\r\n\tpublic double taxAmount(long itemSold, double price) {\n\t\treturn 100.230;\r\n\t}",
"public BigDecimal getLBR_ICMS_TaxAmtOp();",
"public BigDecimal getLBR_DIFAL_TaxAmtFCPUFDest();",
"public void setTax(Double tax);",
"public BigDecimal getLBR_ICMSST_TaxBase();",
"private int addTax(Iterable<TransactionItem> items) {\r\n\t\tint tax = 0;\r\n\r\n\t\tfor (TransactionItem item : items) {\r\n\t\t\tint newTax = (int) Math.round(item.getPriceInCents()\r\n\t\t\t\t\t* (this.tax.getPercentage() / 100.0));\r\n\t\t\ttax += newTax;\r\n\t\t}\r\n\t\treturn tax;\r\n\t}",
"public String getTaxcopy() {\r\n return taxcopy;\r\n }",
"public BigDecimal getLBR_TaxDeferralRate();",
"public String getTaxcopy() {\r\n\t\treturn taxcopy;\r\n\t}",
"public void afterTax() {\n TextView afterView = findViewById(R.id.checkoutPage_afterTaxValue);\n afterTaxTotal = beforeTaxTotal + tpsTaxTotal + tvqTaxTotal;\n afterView.setText(String.format(\"$%.2f\", afterTaxTotal));\n }",
"public BigDecimal getLBR_ICMSST_TaxBAmtUFSen();",
"public BigDecimal getLBR_DIFAL_TaxAmtICMSUFDest();",
"public String getTaxId()\n {\n return taxId;\n }",
"static double tax( double salary ){\n\n return salary*10/100;\n\n }",
"@ApiModelProperty(value = \"Amount of tax expressed in the given currency\")\n\n @Valid\n\n public Money getTaxAmount() {\n return taxAmount;\n }",
"public java.lang.String getTAXJURCODE() {\r\n return TAXJURCODE;\r\n }",
"public double calculateTax(double planFee, double overageCost) {\n double tax = (planFee + overageCost) * 0.15;\n return tax;\n }",
"public Builder setTax(double value) {\n \n tax_ = value;\n onChanged();\n return this;\n }",
"public BigDecimal getLBR_TaxAmtCredit();"
] | [
"0.773451",
"0.76993346",
"0.7659113",
"0.75465894",
"0.74753416",
"0.74708736",
"0.7417834",
"0.74162126",
"0.7403271",
"0.738627",
"0.7381723",
"0.7379497",
"0.7350575",
"0.7350003",
"0.73266333",
"0.7271803",
"0.72650653",
"0.7245586",
"0.7218055",
"0.7168982",
"0.71511525",
"0.7138835",
"0.7114663",
"0.709615",
"0.7092405",
"0.70741516",
"0.70669603",
"0.7050061",
"0.70218974",
"0.7012314",
"0.7000597",
"0.69811803",
"0.6947484",
"0.69457644",
"0.6931581",
"0.69177324",
"0.68779904",
"0.68572533",
"0.6848481",
"0.68220437",
"0.6813652",
"0.67879087",
"0.67763233",
"0.67753965",
"0.67366976",
"0.67045975",
"0.6704309",
"0.6691812",
"0.6678744",
"0.6672918",
"0.6634571",
"0.66186565",
"0.6608193",
"0.66077393",
"0.66040856",
"0.6594446",
"0.65456504",
"0.65194505",
"0.64877194",
"0.6450103",
"0.64491755",
"0.6431121",
"0.64159626",
"0.64127505",
"0.6364678",
"0.6338183",
"0.6329479",
"0.6317443",
"0.62912977",
"0.6288905",
"0.62494206",
"0.6244225",
"0.6234218",
"0.6223733",
"0.62090325",
"0.6205863",
"0.618864",
"0.6185159",
"0.6174112",
"0.616118",
"0.6160156",
"0.61548424",
"0.6154698",
"0.61303216",
"0.6127767",
"0.6119299",
"0.6112344",
"0.6108548",
"0.6107455",
"0.61070585",
"0.6106474",
"0.6099944",
"0.6092157",
"0.6081476",
"0.60729766",
"0.60469896",
"0.6042536",
"0.6039192",
"0.6022243",
"0.6018847"
] | 0.799435 | 0 |
Output of the class. | public String toString() {
return super.toString() + " Axle Tax Rate: "
+ PER_AXLE_TAX_RATE * getAxles();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private Output() {}",
"@Override\n\tvoid output() {\n\t\t\n\t}",
"public void writeOutput()\n\t{\n\t\tSystem.out.println(this.toString());\n\t}",
"private static void consoleOutput() {\n\n Output airportFlightCounter = new AirportFlightCounter(airports);\n Output flightInventory = new FlightInventory(flights);\n Output flightPassengerCounter = new FlightPassengerCounter(flights);\n Output mileageCounter = new MileageCounter(flights, airports);\n\n airportFlightCounter.toConsole();\n flightInventory.toConsole();\n flightPassengerCounter.toConsole();\n mileageCounter.toConsole();\n }",
"@Override\n public void emitOutput() {\n }",
"@Override\n\t\t\tpublic void print() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\tpublic void print() {\n\n\t\t}",
"@Override\r\n\t\t\tpublic void print() {\n\t\t\t\t\r\n\t\t\t}",
"public String toString() {\n\t\tif (hierarchy.equals(\"n\")) {\n\t\t\treturn visability + \" class \" + className + \"{ \\n \";\n\t\t} else if (isFinished == true) {\n\n\t\t\treturn \"}\";\n\t\t} else {\n\t\t\treturn visability + \" \" + hierarchy + \" class \" + className\n\t\t\t\t\t+ \"{ \\n \";\n\t\t}\n\t}",
"public String classOut() {\n\t\tStringBuilder s = new StringBuilder();\n\t\ts.append(objective());\n\t\ts.append(' ');\n\t\ts.append(optimal() ? 1 : 0);\n\t\ts.append('\\n');\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\ts.append(item(i) ? 1 : 0);\n\t\t\ts.append(i < n - 1 ? ' ' : '\\n');\n\t\t}\n\t\treturn s.toString();\n\t}",
"public abstract Object getOutput ();",
"public void print() {\n System.out.println(this.toString());\n }",
"private void writeClassData() {\n\t\ttry (PrintStream out = new PrintStream(openResultFileOuputStream(\n\t\t\t\tresultDirectory, \"classes.json\"))) {\n\t\t\tout.println(\"{\");\n\n\t\t\t// Add direct subclass information:\n\t\t\tfor (Entry<Integer, ClassRecord> classEntry : this.classRecords\n\t\t\t\t\t.entrySet()) {\n\t\t\t\tif (classEntry.getValue().subclassCount == 0\n\t\t\t\t\t\t&& classEntry.getValue().itemCount == 0) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tfor (Integer superClass : classEntry.getValue().directSuperClasses) {\n\t\t\t\t\tthis.classRecords.get(superClass).nonemptyDirectSubclasses\n\t\t\t\t\t\t\t.add(classEntry.getKey().toString());\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tint count = 0;\n\t\t\tint countNoLabel = 0;\n\t\t\tfor (Entry<Integer, ClassRecord> classEntry : this.classRecords\n\t\t\t\t\t.entrySet()) {\n\t\t\t\tif (classEntry.getValue().subclassCount == 0\n\t\t\t\t\t\t&& classEntry.getValue().itemCount == 0) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tif (classEntry.getValue().label == null) {\n\t\t\t\t\tcountNoLabel++;\n\t\t\t\t}\n\n\t\t\t\tif (count > 0) {\n\t\t\t\t\tout.println(\",\");\n\t\t\t\t}\n\t\t\t\tout.print(\"\\\"\" + classEntry.getKey() + \"\\\":\");\n\t\t\t\tmapper.writeValue(out, classEntry.getValue());\n\t\t\t\tcount++;\n\t\t\t}\n\t\t\tout.println(\"\\n}\");\n\n\t\t\tSystem.out.println(\" Serialized information for \" + count\n\t\t\t\t\t+ \" class items.\");\n\t\t\tSystem.out.println(\" -- class items with missing label: \"\n\t\t\t\t\t+ countNoLabel);\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"public String getOutput() {\n return output;\n }",
"public Output getOutput() {\n\t\treturn output;\n\t}",
"@Override\n public String toString() {\n ByteArrayOutputStream bs = new ByteArrayOutputStream();\n PrintStream out = new PrintStream(bs);\n output(out, \"\");\n return bs.toString();\n }",
"@Override\n\tprotected void print() {\n\t\tSystem.out.println(\"-----------\"+this.getName()+\"\");\n\t}",
"public Output<T> output() {\n return output;\n }",
"public TestOut getOutput() {\n\treturn(output);\n }",
"static void print (Object output){\r\n \t\tSystem.out.println(output);\r\n \t}",
"public void dump()\n {\n System.out.println(toString());\n }",
"public void print() {\n\t\tSystem.out.println(toString());\n\t}",
"public String getOutput() {\n return output.toString();\n }",
"void displayInnnerClass() {\r\n\t\tNestedClass nestedClassObj = new NestedClass();\r\n\t\tnestedClassObj.displayPrint();\r\n\t}",
"public void info()\n {\n System.out.println(toString());\n }",
"public void buildClassDescription() {\n\t\twriter.writeClassDescription();\n\t}",
"public void print()\r\n\t\t{\r\n\t\tSystem.out.println(\"AETInteractions object\");\r\n\t\tSystem.out.println(\"Input interactions\");\r\n\t\t// stampa le interazioni di input\r\n\t\tif (getInIn() != null) getInIn().print();\r\n\t\tSystem.out.println(\"Output interactions\");\r\n\t\t// stampa le interazioni di output\r\n\t\tif (getOuIn() != null) getOuIn().print();\r\n\t\t}",
"public void print() {\n System.out.println(toString());\n }",
"java.lang.String getOutput();",
"public void print() {\r\n\t\t System.out.println(toString());\r\n\t }",
"@Override\n public synchronized String toString ()\n {\n return (super.toString () + \"[\" + Main.CLASS_NAME + \": \" +\n \"]\");\n }",
"public void print(){\r\n System.out.println(toString());\r\n }",
"Output createOutput();",
"public void print() {\r\n\t\tSystem.out.print(getUID());\r\n\t\tSystem.out.print(getTITLE());\r\n\t\tSystem.out.print(getNOOFCOPIES());\r\n\t}",
"public void output() {\n System.out.printf(\"Dien tich: %.2f \\n\", getArea());\n System.out.printf(\"Chu vi: %.2f \\n\", getPeripheral());\n }",
"public String toString() {\n\n String str = super.toString() + \"; descriptor for class: \";\n\n //-- add class name\n if (_class != null)\n str += _class.getName();\n else\n str += \"[null]\";\n\n //-- add xml name\n str += \"; xml name: \" + _xmlName;\n\n return str;\n }",
"public void print() {\n\t\tSystem.out.println(\\u000a);\n\t\tSystem.out.println(this.getClass().getName());\n\t\tClassB classB = new ClassB();\n\t\tclassB.print();\n\t}",
"@Override\n\t\tpublic void run() {\n\t\t\tSystem.out.println(this);\n\t\t\tSystem.out.println(this.toString());\n\t\t}",
"@Override\r\n\tpublic void print() {\n\t}",
"@Override\n\tpublic void print() {\n\n\t}",
"@Override\n public void print() {\n }",
"public synchronized String print() {\r\n return super.print();\r\n }",
"public void printTheInstance() {\n System.out.println(\"The instance is: \");\n this.printSources();\n System.out.print(\"\\n\");\n this.printDestinations();\n System.out.print(\"\\n\");\n this.printCosts();\n }",
"@Override\n\tpublic void print() {\n\t\t\n\t}",
"String getOutput();",
"@Override\n\tpublic void GetOut() {\n\t\t\n\t}",
"public String toString()\n\t{\n\t\tString output=\"\";\n\n\n\n\n\n\n\t\treturn output+\"\\n\\n\";\n\t}",
"private void out(Object obj) {\r\n\t\tSystem.out.println(deb + obj.toString());\r\n\t}",
"public void createOutput() {\n\t\tsetOutput(new Output());\n\t}",
"public String printToList() {\n\t\tif (hierarchy.equals(\"n\")) {\n\t\t\treturn \"<HTML>\" + visability + \" class \" + className\n\t\t\t\t\t+ \"{ <BR> <BR>\";\n\t\t} else if (isFinished == true) {\n\n\t\t\treturn \"}\";\n\t\t} else {\n\t\t\treturn \"<HTML>\" + visability + \" \" + hierarchy + \" class \"\n\t\t\t\t\t+ className + \"{ <BR> <BR>\";\n\t\t}\n\t}",
"@Override\n\tprotected void write(ObjectOutput out) throws IOException {\n\t\t\n\t}",
"public String getOutput() {\n\t\treturn results.getOutput() ;\n\t}",
"public void display() {\n System.out.println(toString());\n }",
"public PrintStreamCommandOutput()\n {\n this( System.out );\n }",
"@Override\n public String toString() {\n return \"Class \" + className + \":\\n\" +\n \"\\tFields: \" + fields;\n }",
"@Override\n public void print() {\n System.out.println(\"VIn:- \"+getVehicalIndentificationNumber());\n System.out.println(\"Description:- \"+getVechicalDiscription());\n System.out.println(\"Manufacturer:- \"+getManufacturerName());\n System.out.println(\"isSelfDrive:- \"+getSelfDrive());\n System.out.println(\"isInsured:- \"+getInsured());\n System.out.println(\"insuranceProviderName:- \"+getInsuranceProviderName());\n System.out.println(\"NumberOfSeat:- \"+getNoOfSeat());\n System.out.println(\"FuelType:- \"+getFuelType());\n System.out.println(\"BaseRate:- \"+getBaseRate());\n System.out.println(\"RatePerKm:- \"+getRatePerKm());\n System.out.println(\"VehicleType:- \"+getVehicleType());\n System.out.println(\"Color:- \"+getColor());\n }",
"public void printAllComponentsOnStdOut() {\r\n System.out.println(\"PackageComponent: \" + this.getName());\r\n System.out.println(\"Contains these ClassDiagramComponents: \");\r\n int counter = 1;\r\n for (ComponentBase component : classDiagramComponents) {\r\n System.out.println(\"Component no.\" + counter + \": \\t\" + component.getName());\r\n counter++;\r\n }\r\n }",
"@Override\r\n\tpublic void Print() {\r\n\t\tSystem.out.print(this.tav+\" \");\r\n\t\t\r\n\t}",
"public StdOutWriter ()\n {\n super (System.out, true);\n }",
"public void print() {\n\t// Skriv ut en grafisk representation av kösituationen\n\t// med hjälp av klassernas toString-metoder\n System.out.println(\"A -> B\");\n System.out.println(r0);\n System.out.println(\"B -> C\");\n System.out.println(r1);\n System.out.println(\"turn\");\n System.out.println(r2);\n //System.out.println(\"light 1\");\n System.out.println(s1);\n //System.out.println(\"light 2\");\n System.out.println(s2);\n }",
"public String toString(){\r\n\t\tString output=\"\";\r\n\t\toutput+=super.toString();\r\n\t\treturn output;\r\n\t}",
"@Override\n public void render() {\n System.out.println(this.input);\n return;\n }",
"public String getOutput() {\n myLock.lock();\n try {\n return myOutput.toString();\n }\n finally {\n myLock.unlock();\n }\n }",
"public String toString() {\r\n return buildDisplayString(InternalUtil.toClassTitle(this), true, true);\r\n }",
"@Override\n\tpublic void dump() {\n\t\t\n\t}",
"protected void modelWrite(){\r\n\t\tthis.model.write(System.out);\r\n\t\tSystem.out.println(\"\\n -- model write finished --\\n\");\r\n\t\t\r\n\t}",
"public String getOutputString()\n\t{\n\t\treturn outputString;\n\t}",
"public void afficher() {\n System.out.println(this.toString());\n }",
"public String toString()\n {\n //creates a string of the class's variables in a readable format.\n String s = String.format(\"%-14s%-3d%3s\" +lineNums.toString(), word, count,\"\");\n return s.toString();\n }",
"public HelloWorldProgramOutput ()\n {\n initialize();\n }",
"@Override\r\n\tpublic void write() {\n\t\t\r\n\t}",
"public void PrintClassVector() {\n\t\tfor(int i=0; i<class_vect.length; i++) {\n\t\t\tSystem.out.print(class_vect[i]+\" \");\n\t\t}\n\t\t\n\t\tSystem.out.println(\"\");\n\t}",
"@Override\n public String toString() {\n return info();\n }",
"void printClassCcft(ClassCcft iClassCcft)\n {\n System.out.println(iClassCcft.getElementValue());\n }",
"public String toString()\n\t{\n\t\treturn Printer.stringify(this, false);\n\t}",
"private void sout() {\n\t\t\n\t}",
"public void draw() {\r\n System.out.print(this);\r\n }",
"@Override\n public void write() {\n\n }",
"public void print ()\n\t{\n\t\tSystem.out.println(\"Polyhedron File Name: \" + FileName);\n\t\tSystem.out.println(\"Object active: \" + Boolean.toString(isActive()));\n\t\tprintCoordinates();\n\t}",
"@Override\n\tpublic String getWorkOut() {\n\n\t\treturn \"This is traack Coach class method\";\n\t}",
"void printClassC(ClassC iClassC)\n {\n System.out.println(iClassC.getElementValue());\n }",
"@Override\n public String toString() {\n StringBuilder sb = new StringBuilder();\n sb.append(\"{\");\n if (getInput() != null)\n sb.append(\"Input: \").append(getInput()).append(\",\");\n if (getOutput() != null)\n sb.append(\"Output: \").append(getOutput());\n sb.append(\"}\");\n return sb.toString();\n }",
"void printClassAcft(ClassAcft iClassAcft)\n {\n System.out.println(iClassAcft.getElementValue());\n }",
"public String toString()\r\n {\r\n System.out.println(\"SOUT\");\r\n return \"Vroom!!\";\r\n }",
"public String toString(){\n\t\treturn logicalClass.toString();\n\t}",
"@Override\r\n\t\tpublic String toString() {\n\t\t\treturn super.toString();\r\n\t\t}",
"public void print() {\n System.out.println(\"Code: \"+this.productCode);\n System.out.println(\"Name: \"+ this.productName);\n System.out.println(\"Price: \"+this.price);\n System.out.println(\"Discount: \"+this.discount+\"%\");\n }",
"public void generate() {\n\t\t// Print generation stamp\n\t\tcontext.getNaming().putStamp(elementInterface, out);\n\t\t// Print the code\n\t\t// Print header\n\t\tout.println(\"package \"+modelPackage+\";\");\n\t\tout.println();\n\t\tout.println(\"public interface \"+elementInterface);\n\t\tif (context.isGenerateVisitor()) {\n\t\t\tout.println(indent+\"extends \"+context.getNaming().getVisitableInterface(modelName));\n\t\t}\n\t\tout.println(\"{\");\n\t\tif (context.isGenerateID()) {\n\t\t\tout.println(indent+\"/** Get the id */\");\n\t\t\tout.println(indent+\"public String getId();\");\n\t\t\tout.println(indent+\"/** Set the id */\");\n\t\t\tout.println(indent+\"public void setId(String id);\");\n\t\t\tout.println();\n\t\t}\n\t\tif (context.isGenerateBidirectional()) {\n\t\t\tout.println(indent+\"/** Delete */\");\n\t\t\tout.println(indent+\"public void delete();\");\n\t\t}\n\t\tout.println(indent+\"/** Override toString */\");\n\t\tout.println(indent+\"public String toString();\");\n//\t\tif (context.isGenerateInvariant()) {\n//\t\t\tout.println();\n//\t\t\tout.println(indent+\"/** Parse all invariants */\");\n//\t\t\tout.println(indent+\"public Boolean parseInvariants(ILog log);\");\n//\t\t\tout.println(indent+\"/** Evaluate all invariants */\");\n//\t\t\tout.println(indent+\"public Boolean evaluateInvariants(ILog log);\");\n//\t\t}\n\t\tout.println(\"}\");\n\t}",
"@Override\r\n\tpublic String toString() {\n\t\treturn super.toString();\r\n\t}",
"@Override\r\n\tpublic String toString() {\n\t\treturn super.toString();\r\n\t}",
"@Override\r\n\tpublic String toString() {\n\t\treturn super.toString();\r\n\t}",
"@Override\r\n\tpublic String toString() {\n\t\treturn super.toString();\r\n\t}",
"@Override\r\n\tpublic String toString() {\n\t\treturn super.toString();\r\n\t}",
"@Override\r\n\tpublic String toString() {\n\t\treturn super.toString();\r\n\t}",
"@Override\n\t\tpublic String toString() {\n\t\t\treturn super.toString();\n\t\t}",
"Output(Res r){\n this.r = r;\n }",
"@Override\n\tpublic void printToFile() {\n\t\t\n\t}",
"public void print() {\n\t\tSystem.out.println(name + \" -- \" + rating + \" -- \" + phoneNumber);\n\t}",
"public void printContent() {\n\t\tSystem.out.println(this.content);\n\t}",
"public String toString() {\n\t}",
"@Override\n public String toString() { // for request attribute logging\n return DfTypeUtil.toClassTitle(this) + \":{messages=\" + messages + \"}@\" + Integer.toHexString(hashCode());\n }"
] | [
"0.76624113",
"0.73298717",
"0.7314927",
"0.70422506",
"0.7034808",
"0.6974678",
"0.69559133",
"0.69176763",
"0.6910916",
"0.69033337",
"0.68941617",
"0.6815474",
"0.6783718",
"0.67699486",
"0.67611086",
"0.6730587",
"0.67244726",
"0.67219913",
"0.6705542",
"0.669038",
"0.6669609",
"0.66445845",
"0.6632923",
"0.6616212",
"0.660472",
"0.65985775",
"0.6569877",
"0.6559814",
"0.65562266",
"0.65383476",
"0.65366554",
"0.6535757",
"0.6527454",
"0.65156853",
"0.65141946",
"0.6509998",
"0.65057045",
"0.64740366",
"0.64621997",
"0.64547473",
"0.64428717",
"0.64389426",
"0.64211065",
"0.6415416",
"0.64116824",
"0.64068866",
"0.64007056",
"0.64001596",
"0.63980144",
"0.6394169",
"0.6356072",
"0.6345783",
"0.6332012",
"0.6326913",
"0.6314971",
"0.62990534",
"0.62973416",
"0.62884957",
"0.6286177",
"0.6284468",
"0.6264995",
"0.6264841",
"0.6239162",
"0.62349325",
"0.62318915",
"0.62027925",
"0.61962545",
"0.619089",
"0.6186206",
"0.61837804",
"0.61816657",
"0.61768776",
"0.6176777",
"0.61698335",
"0.6161312",
"0.616106",
"0.61496466",
"0.61464494",
"0.61356497",
"0.61318356",
"0.6128211",
"0.61269665",
"0.61194515",
"0.61189294",
"0.6110662",
"0.61101025",
"0.6106254",
"0.61053675",
"0.61030084",
"0.61030084",
"0.61030084",
"0.61030084",
"0.61030084",
"0.61030084",
"0.61029357",
"0.61008906",
"0.6098247",
"0.60974264",
"0.60952294",
"0.6094438",
"0.6092172"
] | 0.0 | -1 |
TODO Create filter algorithm here | public List<PlaceLogEntry> getFilteredLogentryList(List<PlaceLogEntry> rawDataList) {
return rawDataList;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public abstract void filter();",
"public abstract Filter<T> filter();",
"boolean doFilter() { return false; }",
"@Override\n public int filterOrder() {\n return 1;\n }",
"@Override\n public int filterOrder() {\n return 1;\n }",
"String getFilter();",
"@Override\n\tpublic int filterOrder() {\n\t\treturn 1;\n\t}",
"FeatureHolder filter(FeatureFilter filter);",
"public void filterImage() {\n\n if (opIndex == lastOp) {\n return;\n }\n\n lastOp = opIndex;\n switch (opIndex) {\n case 0:\n biFiltered = bi; /* original */\n return;\n case 1:\n biFiltered = ImageNegative(bi); /* Image Negative */\n return;\n\n case 2:\n biFiltered = RescaleImage(bi);\n return;\n\n case 3:\n biFiltered = ShiftImage(bi);\n return;\n\n case 4:\n biFiltered = RescaleShiftImage(bi);\n return;\n\n case 5:\n biFiltered = Add(bi, bi1);\n return;\n\n case 6:\n biFiltered = Subtract(bi, bi1);\n return;\n\n case 7:\n biFiltered = Multiply(bi, bi1);\n return;\n\n case 8:\n biFiltered = Divide(bi, bi1);\n return;\n\n case 9:\n biFiltered = NOT(bi);\n return;\n\n case 10:\n biFiltered = AND(bi, bi1);\n return;\n\n case 11:\n biFiltered = OR(bi, bi1);\n return;\n\n case 12:\n biFiltered = XOR(bi, bi1);\n return;\n\n case 13:\n biFiltered = ROI(bi);\n return;\n\n case 14:\n biFiltered = Negative_Linear(bi);\n return;\n\n case 15:\n biFiltered= Logarithmic_function(bi);\n return;\n\n case 16:\n biFiltered = Power_Law(bi);\n return;\n\n case 17:\n biFiltered = LUT(bi);\n return;\n\n case 18:\n biFiltered = Bit_planeSlicing(bi);\n return;\n\n case 19:\n biFiltered = Histogram(bi1,bi2);\n return;\n\n case 20:\n biFiltered = HistogramEqualisation(bi,bi3);\n return;\n\n case 21:\n biFiltered = Averaging(bi1);\n return;\n\n case 22:\n biFiltered = WeightedAveraging(bi1);\n return;\n\n case 23:\n biFiltered = fourNeighbourLaplacian(bi1);\n return;\n\n case 24:\n biFiltered= eightNeighbourLaplacian(bi1);\n return;\n\n case 25:\n biFiltered = fourNeighbourLaplacianEnhancement(bi1);\n return;\n\n case 26:\n biFiltered = eightNeighbourLaplacianEnhancement(bi1);\n return;\n\n case 27:\n biFiltered = Roberts(bi1);\n return;\n\n case 28:\n biFiltered = SobelX(bi1);\n return;\n\n case 29:\n biFiltered = SobelY(bi1);\n return;\n\n case 30:\n biFiltered = Gaussian(bi1);\n return;\n\n case 31:\n biFiltered = LoG (bi1);\n return;\n\n case 32:\n biFiltered = saltnpepper(bi4);\n return;\n\n case 33:\n biFiltered = minFiltering(bi4);\n return;\n\n case 34:\n biFiltered = maxFiltering(bi4);\n return;\n\n case 35:\n biFiltered = maidpointFiltering(bi4);\n return;\n\n case 36:\n biFiltered = medianFiltering(bi4);\n return;\n\n case 37:\n biFiltered = simpleThresholding(bi5);\n return;\n\n case 38:\n biFiltered = automatedThresholding(bi6);\n return;\n\n case 39:\n biFiltered = adaptiveThresholding(bi7);\n return;\n }\n }",
"void edgeFilter() {\n for (int i = 0; i < size(); i++) {\n Exp f = get(i);\n if (f.isFilter() && f.size() > 0 && f.get(0).type() == TEST\n && i >= 1 && get(i - 1).isEdge()) {\n Exp edge = get(i - 1);\n if (match(edge, f)) {\n edge.add(f);\n }\n }\n }\n }",
"java.lang.String getFilter();",
"public String askArrFilter();",
"@Override\n\tpublic void filterChange() {\n\t\t\n\t}",
"boolean isPreFiltered();",
"StandardFilterBuilder standardFilter(int count);",
"public String getFilter();",
"Filter getFilter();",
"private Reviews filterByFunc(FilterFunction filterFunc)\n\t{\n\t\tArrayList<Review> filteredList = new ArrayList<Review>();\n\t\tfor(Review review : list)\n\t\t\tif(filterFunc.filter(review))\n\t\t\t\tfilteredList.add(review);\n\t\treturn new Reviews(filteredList);\n\t}",
"@Override\n public Filter getFilter() {\n\n return new Filter() {\n @Override\n protected FilterResults performFiltering(CharSequence charSequence) {\n\n String charString = charSequence.toString();\n\n if (charString.isEmpty()) {\n\n mDataset = mArrayList;\n } else {\n\n ArrayList<DataObject> filteredList = new ArrayList<>();\n\n for (DataObject data : mArrayList) {\n\n if (data.getid().toLowerCase().contains(charString.toLowerCase()) || data.getname().toLowerCase().contains(charString.toLowerCase())) {\n\n filteredList.add(data);\n }\n }\n\n mDataset = filteredList;\n }\n\n FilterResults filterResults = new FilterResults();\n filterResults.values = mDataset;\n return filterResults;\n }\n\n @Override\n protected void publishResults(CharSequence charSequence, FilterResults filterResults) {\n mDataset = (ArrayList<DataObject>) filterResults.values;\n notifyDataSetChanged();\n }\n };\n }",
"@Test\n public void testFilterGoodData() throws Exception {\n assertEquals(300.0, maxFilter.filter(300.0), .01);\n assertEquals(2342342.213, maxFilter.filter(2342342.213), .01);\n assertEquals(840958239423.123213123, maxFilter.filter(840958239423.123213123), .01);\n assertEquals(840958239423.123213123, maxFilter.filter(0.000001232123), .01);\n assertEquals(840958239423.123213123, maxFilter.filter(-123210.000001232123), .01);\n assertEquals(840958239423.123213123, maxFilter.filter(-0.00087868761232123), .01);\n }",
"FeatureHolder filter(FeatureFilter fc, boolean recurse);",
"public ArrayList<Sighting> filter(ArrayList<Sighting> rawSightings);",
"public List<PedidoIndividual> filtrar(PedidoIndividual filtro);",
"private boolean updateFilter() {\n \tList<Rankable> items = rankings.getRankings();\n \tHashSet<String> hashtags = new HashSet<String>();\n \t\n \tfor (Rankable item: items) {\n \thashtags.add((String)item.getObject());\n }\n \t\n \n \t\n \tfor(String word: initialWords){\n \t\thashtags.add(word);\n \t}\n \n \tif(filter.equals(hashtags)){\n \t\treturn false;\n \t} else {\n \t\tfilter = hashtags;\n \t\treturn true;\n \t}\n \n\t\t\n\t}",
"@Test\n public void testFilterStructure() throws Exception {\n assertEquals(300.0, maxFilter.filter(300.0), .01);\n }",
"String filter(String value);",
"boolean filter(List<ReferenceOrderedDatum> rodData, char ref, LocusContext context);",
"@Override\n public boolean shouldFilter() {\n return true;\n }",
"public abstract void updateFilter();",
"@Override\n\tpublic String dofilter(String str) {\n\t\tfor(Filter f : filters){\n\t\t\tstr = f.dofilter(str);\n\t\t}\t\t\n\t\treturn str;\n\t}",
"private void runFilters() {\n \tif (currentPoint * itp < time1) {\r\n \t\t//Accelerating filter 1\r\n \t\tfilterSum1 = currentPoint / filterLength1;\r\n \t}\r\n \telse if (currentPoint >= totalPoints - filterLength2) {\r\n \t\tfilterSum1 = 0;\r\n \t}\r\n \telse if (currentPoint * itp >= timeToDeccel) {\r\n \t\t//Deccelerating filter 1\r\n \t\tfilterSum1 = (totalPoints - filterLength2 - currentPoint) / filterLength1;\r\n \t}\r\n \telse {\r\n \t\tfilterSum1 = 1;\r\n \t}\r\n \t\r\n \t//Creating filterSum2 from the sum of the last filterLength2 values of filterSum1(Boxcar filter)\r\n \tfilterSums1[currentPoint] = filterSum1;\r\n \tint filter2Start = (int) ((currentPoint > filterLength2) ? currentPoint - filterLength2 + 1 : 0);\r\n \tfilterSum2 = 0;\r\n \tfor(int i = filter2Start; i <= currentPoint; i++) {\r\n \t\tfilterSum2 += filterSums1[i];\r\n \t}\r\n \t\r\n\t}",
"public interface SightingFilterFunction {\n\t/**\n\t * Takes in a list of sightings and returns the ones which are valid.\n\t * Can additionally be used to combine sightings using the Sighting.addSighting() method if \n\t * user-supplied logic determines that a single instance of a target has been split into two\n\t * sightings.\n\t * @param rawSightings the unfiltered list of Sightings\n\t * @return the Sightings from rawSightings that are valid according to user-defined logic.\n\t */\n\tpublic ArrayList<Sighting> filter(ArrayList<Sighting> rawSightings);\n}",
"FilterResults performFiltering(CharSequence charSequence) { // Aplicamos el filtro\n String charString = charSequence.toString(); // String con el filtro\n if (charString.isEmpty()) { // Si esta vacio\n filteredSites = allSites; // No hay filtro y se muestran todas las instalaciones\n } else { // Si no\n ArrayList<ULLSiteSerializable> auxFilteredList = new ArrayList<>();\n for (ULLSiteSerializable site : allSites) { // Para todas las instalaciones \n // Se comprueba si el nombre la filtro coincide con la instalacion\n if (site.getName().toLowerCase().contains(charString.toLowerCase())) \n auxFilteredList.add(site); // Si coincide se agregan a la lista\n // auxiliar\n }\n filteredSites = auxFilteredList; // La lista auxiliar es igual a la de \n } // las instalaciones filtradas a mostrar\n FilterResults filterResults = new FilterResults();\n filterResults.values = filteredSites;\n return filterResults; // Se devuelve el resultado del filtro\n }",
"@Override\n\tpublic boolean shouldFilter() {\n\t\treturn true;\n\t}",
"@Override public Filter getFilter() { return null; }",
"public void filter(List<String> filters){\n filteredList.clear();\n\n if(filters == null || filters.size() == 0 || filters.get(0).toLowerCase().equals(\"NONE\")){\n filteredList = new ArrayList<>(sensorList);\n }\n\n for(int i=0; i<sensorList.size(); i++) {\n for (int j = 0; j < filters.size(); j++) {\n if(!filteredList.contains(sensorList.get(i))) {\n if (sensorList.get(i).getSensor_Type().equals(filters.get(j))) {\n filteredList.add(sensorList.get(i));\n }\n if (filters.get(j).equals(\"Heartbeat=0\")) {\n if (sensorList.get(i).getSensor_Type().equals(\"HeartRate\") && sensorList.get(i).getSensor_Val() == 0) {\n filteredList.add(sensorList.get(i));\n }\n }\n if (filters.get(j).equals(\"Tripped Vibration Sensor\")) {\n if (sensorList.get(i).getSensor_Type().equals(\"Vibration\") && sensorList.get(i).getSensor_Val() > 0) {\n filteredList.add(sensorList.get(i));\n }\n }\n if (filters.get(j).equals(\"Health=Service\")) {\n if (sensorList.get(i).getSensorHealth().equals(\"Service\")) {\n filteredList.add(sensorList.get(i));\n }\n }\n if (filters.get(j).equals(\"Health=EOL\")) {\n if (sensorList.get(i).getSensorHealth().equals(\"EOL\")) {\n filteredList.add(sensorList.get(i));\n }\n }\n if (filters.get(j).equals(\"Dead Battery\")) {\n if (sensorList.get(i).getBattery() == 0) {\n filteredList.add(sensorList.get(i));\n }\n }\n }\n }\n }\n filteredListForSearch.clear();\n filteredListForSearch.addAll(filteredList);\n removeDuplicates();\n notifyDataSetChanged();\n }",
"protected Vector filterInputInternal(Vector before)\n\t{\n\t\treturn filterInternal(before, featureMins, featureMaxes);\n\t}",
"private void clearAllFilter() {\n }",
"protected abstract Graph filterGraph();",
"@Override\n public List runFilter(String filter) {\n return runFilter(\"\", filter);\n }",
"private void updateFilter(BasicOutputCollector collector) {\n if (updateFilter()){\n \tValues v = new Values();\n v.add(ImmutableList.copyOf(filter));\n \n collector.emit(\"filter\",v);\n \t\n }\n \n \n \n }",
"PolynomialNode filter(Predicate test);",
"@Test\n public void filter() {\n\n }",
"public ArrayList<CampusEvent> eventListFilter (ArrayList<CampusEvent> campusEvents, Filters filter) {\n ArrayList<CampusEvent> newList = new ArrayList<CampusEvent>();\n //if all the filters are zero, return original list\n Log.d(Globals.TAGG, \"Showing what the filters are\");\n\n if (filter == null) {\n Log.d(Globals.TAGG, \"All filters are null\");\n return campusEvents;\n } else {\n if (filter.getfFood() == 0 && filter.getfEventType() == 0 && filter.getfProgramType() == 0 && filter.getfGender() == 0 && filter.getfGreekSociety() == 0 && filter.getfMajor() == 0 && filter.getfYear() == 0) {\n return campusEvents;\n }\n if (filter.getfFood() != 0) {\n for (CampusEvent event : campusEvents) {\n int scaleval = filter.getfFood() - 1;\n if (event.getFood() == scaleval) {\n newList.add(event);\n }\n }\n }\n if (filter.getfEventType() != 0) {\n for (CampusEvent event : campusEvents) {\n int scaleval = filter.getfEventType() - 1;\n if (event.getEventType() == scaleval) {\n newList.add(event);\n }\n }\n }\n\n if (filter.getfProgramType() != 0) {\n for (CampusEvent event : campusEvents) {\n if (event.getProgramType() == filter.getfProgramType()) {\n newList.add(event);\n }\n }\n }\n\n if (filter.getfYear() != 0) {\n for (CampusEvent event : campusEvents) {\n if (event.getYear() == filter.getfYear()) {\n newList.add(event);\n }\n }\n }\n\n if (filter.getfMajor() != 0) {\n for (CampusEvent event : campusEvents) {\n if (event.getMajor() == filter.getfMajor()) {\n newList.add(event);\n }\n }\n }\n\n if (filter.getfGender() != 0) {\n for (CampusEvent event : campusEvents) {\n if (event.getGender() == filter.getfGender()) {\n newList.add(event);\n }\n }\n }\n\n if (filter.getfGreekSociety() != 0) {\n for (CampusEvent event : campusEvents) {\n if (event.getGreekSociety() == filter.getfGreekSociety()) {\n newList.add(event);\n }\n }\n }\n\n return newList;\n }\n }",
"private void filter(BufferedImageOp op)\n { \n if (image == null) return;\n BufferedImage filteredImage \n = new BufferedImage(image.getWidth(), image.getHeight(), image.getType());\n op.filter(image, filteredImage);\n image = filteredImage;\n repaint();\n }",
"private void updateFilteredData() {\n mainApp.getFilteredData().clear();\n\n for (FilmItem p : mainApp.getFilmData()) {\n if (matchesFilter(p)) {\n \tmainApp.getFilteredData().add(p);\n }\n }\n }",
"public int filterData(int paramInt) {\n/* 14 */ return 7;\n/* */ }",
"public static void filter() {\n\t\t\n\t\tResult.filter(toggleGroup.getSelectedToggle().getUserData(), ((ComboBox)hbox3.getChildren().get(0)).getValue());\n\t\t\n\t}",
"public static interface Filter\n\t\t{\n\t\t/**\n\t\t * Accept a frame? if false then all particles will be discarded\n\t\t */\n\t\tpublic boolean acceptFrame(EvDecimal frame);\n\t\t\n\t\t/**\n\t\t * Accept a particle?\n\t\t */\n\t\tpublic boolean acceptParticle(int id, ParticleInfo info);\n\t\t}",
"private interface FilterFunction\n\t{\n\t\tpublic Boolean filter(Review review);\n\t}",
"public void filterImage()\r\n {\r\n\t if (!isInverted && !isBlured )\r\n {\r\n cropedEdited = cropedPart;\r\n }\r\n\t float[] elements = {0.0f, 1.0f, 0.0f, -1.0f,brightnessLevel,1.0f,0.0f,0.0f,0.0f}; \r\n\t Kernel kernel = new Kernel(3, 3, elements); \r\n\t BufferedImageOp change = new ConvolveOp(kernel); \r\n\t cropedEdited = change.filter(cropedEdited, null);\r\n repaint();\r\n }",
"public interface Filter {\n\n}",
"public void resetFilter();",
"List<DeviceDetails> getDevices(Predicate<DeviceDetails> deviceFilter, Predicate<DeviceDetails> deviceFilter1);",
"@Override\n protected FilterResults performFiltering(CharSequence constraint) {\n constraint = constraint.toString().toLowerCase();\n FilterResults result = new FilterResults();\n if (constraint != null && constraint.toString().length() > 0) {\n List<Message> filt = new ArrayList<Message>(); //filtered list\n for (int i = 0; i < originalData.size(); i++) {\n Message m = originalData.get(i);\n if (m.getSender().getEmailAddress().getName().toLowerCase().contains(constraint)) {\n filt.add(m); //add only items which matches\n }\n }\n result.count = filt.size();\n result.values = filt;\n } else { // return original list\n synchronized (this) {\n result.values = originalData;\n result.count = originalData.size();\n }\n }\n return result;\n }",
"public Boolean filter(Entry e) {\n\t\t//TODO you will need to implement this method\n\t\treturn false;\n\t}",
"@Override\n protected FilterResults performFiltering(CharSequence charSequence) {\n FilterResults results = new FilterResults();\n\n if (charSequence != null && charSequence.length() > 0) {\n charSequence = charSequence.toString().toUpperCase();\n ArrayList<Icon> filterIcon = new ArrayList<>();\n\n for (int i = 0; i < mFilterList.size(); i++) {\n if (mFilterList.get(i).getName().toUpperCase().contains(charSequence)) {\n filterIcon.add(mFilterList.get(i));\n }\n }\n\n results.count = filterIcon.size();\n results.values = filterIcon;\n } else {\n results.count = mFilterList.size();\n results.values = mFilterList;\n }\n\n return results;\n }",
"BuildFilter defaultFilter();",
"List<DeviceDetails> getDevices(Predicate<DeviceDetails> deviceFilter, Predicate<DeviceDetails> deviceFilter2, Predicate<DeviceDetails> deviceFilter3);",
"protected FilterResults performFiltering(CharSequence prefix) {\n\t\t\tFilterResults results = new FilterResults();\n\t\t\t\n\t\t\t//Every time you type something, start from scratch\n\t\t\tcountries.clear();\n\t\t\tresults.values=null;\n\t\t\tcountries.addAll(countriesBackup);\n\n\t\t\t// No prefix is sent to filter by so we're going to send back the\n\t\t\t// original array\n\t\t\tif (prefix == null || prefix.length() == 0) {\n\t\t\t\tsynchronized (mLock) {\n\t\t\t\t\tLog.d(\"sf\", \"Size of data: \" + Integer.toString(countries.size()));\n\t\t\t\t\tLog.d(\"sf\", \"Size of databackup: \" + Integer.toString(countriesBackup.size()));\n\t\t\t\t\t\n\t\t\t\t\t//reset data\n\t\t\t\t\tresults.values = countriesBackup;\n\t\t\t\t\tresults.count = countriesBackup.size();\n\t\t\t\t\t\n\t\t\t\t\t//data.addAll(dataBackup);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tsynchronized (mLock) {\n\n\t\t\t\t\t// Compare lower case strings\n\t\t\t\t\tString prefixString = prefix.toString().toLowerCase();\n\t\t\t\t\tfinal ArrayList<Country> filteredItems = new ArrayList<Country>();\n\t\t\t\t\t// Local to here so we're not changing actual array\n\t\t\t\t\tfinal ArrayList<Country> localItems = new ArrayList<Country>();\n\t\t\t\t\tlocalItems.addAll(countries);\n\n\n\t\t\t\t\tfinal int count = localItems.size();\n\n\t\t\t\t\tfor (int i = 0; i < count; i++) {\n\t\t\t\t\t\tfinal Country item = localItems.get(i);\n\t\t\t\t\t\tfinal String itemName = item.getName().toString()\n\t\t\t\t\t\t\t\t.toLowerCase();\n\n\t\t\t\t\t\t// First match against the whole, non-splitted value\n\t\t\t\t\t\tif (itemName.contains(prefixString)) {\n\t\t\t\t\t\t\tfilteredItems.add(item);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t} /*\n\t\t\t\t\t\t * This is option and taken from the source of\n\t\t\t\t\t\t * ArrayAdapter final String[] words =\n\t\t\t\t\t\t * itemName.split(\" \"); final int wordCount =\n\t\t\t\t\t\t * words.length;\n\t\t\t\t\t\t * \n\t\t\t\t\t\t * for (int k = 0; k < wordCount; k++) { if\n\t\t\t\t\t\t * (words[k].startsWith(prefixString)) {\n\t\t\t\t\t\t * newItems.add(item); break; } } }\n\t\t\t\t\t\t */\n\t\t\t\t\t}\n\n\t\t\t\t\t// Set and return\n\t\t\t\t\tresults.values = filteredItems;\n\t\t\t\t\tresults.count = filteredItems.size();\n\t\t\t\t}// end synchronized\n\t\t\t}\n\n\t\t\treturn results;\n\t\t}",
"private List<moneda> filter(List<moneda> p1, String query)\n {\n query = query.toLowerCase();\n final List<moneda> filteredModeList = new ArrayList<>();\n for (moneda model:p1)\n {\n final String text = model.getNombre().toLowerCase();\n if(text.startsWith(query))\n {\n filteredModeList.add(model);\n }\n }\n return filteredModeList;\n }",
"String filter(String v);",
"@Override\n protected FilterResults performFiltering(CharSequence constraint) {\n\n FilterResults results = new FilterResults();\n if (constraint != null && constraint.length() > 0) {\n\n ArrayList<VehicleData> filterList = new ArrayList<>();\n\n for (int i = 0; i < mflatFilterList.size(); i++) {\n if (\n mflatFilterList.get(i).getName().toLowerCase().contains(constraint.toString().toLowerCase())\n || mflatFilterList.get(i).getNumber().toLowerCase().contains(constraint.toString().toLowerCase())\n || mflatFilterList.get(i).getModel().toLowerCase().contains(constraint.toString().toLowerCase())\n || mflatFilterList.get(i).getColor().toLowerCase().contains(constraint.toString().toLowerCase())\n || mflatFilterList.get(i).getFlat().getNumber().toLowerCase().contains(constraint.toString().toLowerCase())\n || mflatFilterList.get(i).getFlat().getName().toLowerCase().contains(constraint.toString().toLowerCase())\n ) {\n filterList.add(mflatFilterList.get(i));\n }\n }\n\n results.count = filterList.size();\n\n results.values = filterList;\n\n } else {\n results.count = mflatFilterList.size();\n results.values = mflatFilterList;\n }\n return results;\n }",
"public Filter intersection(Filter f);",
"public List<StudentRecord> filter(IFilter filter) {\n\t\tList<StudentRecord> temporaryList = new ArrayList<>();\n\n\t\tfor (StudentRecord studentRecord : studentRecords) {\n\t\t\tif (filter.accepts(studentRecord)) {\n\t\t\t\ttemporaryList.add(studentRecord);\n\t\t\t}\n\t\t}\n\t\treturn temporaryList;\n\t}",
"@LargeTest\n public void testBWFilter() {\n TestAction ta = new TestAction(TestName.BW_FILTER);\n runTest(ta, TestName.BW_FILTER.name());\n }",
"private void collectUsingStream() {\n List<Person> persons =\n Arrays.asList(\n new Person(\"Max\", 18),\n new Person(\"Vicky\", 23),\n new Person(\"Ron\", 23),\n new Person(\"Harry\", 12));\n\n List<Person> filtered = persons\n .stream()\n .filter(p -> p.name.startsWith(\"H\"))\n .collect(Collectors.toList());\n\n System.out.println(\"collectUsingStream Filtered: \" + filtered);\n }",
"void removeMatching(MetricFilter filter);",
"public ConcatFilter() {\n super();\n }",
"List<List<Pixel>> filter(Image img, int multiplier, String operation);",
"@Override\n protected FilterResults performFiltering(CharSequence constraint) {\n if (constraint.length() == 0) {\n array = arrayList_copy;\n\n } else {\n\n if (filterType == 0) {\n array = getItemFilter(constraint.toString().toLowerCase());\n } else {\n array = getCodeFilter(constraint.toString().toLowerCase());\n }\n\n }\n FilterResults filterResults = new FilterResults();\n filterResults.values = array;\n\n\n return filterResults;\n }",
"private static native void amFilter_0(long joint_nativeObj, long src_nativeObj, long dst_nativeObj, double sigma_s, double sigma_r, boolean adjust_outliers);",
"private Filter ssoFilter() {\n\t\tCompositeFilter filter = new CompositeFilter();\n\t\tList<Filter> filters = new ArrayList<>();\n\t\tfilters.add(ssoFilter(facebook(), \"/login/facebook\"));\n\t\tfilters.add(ssoFilter(github(), \"/login/github\"));\n//\t\tfilters.add(ssoFilter(twitter(), \"/login/twitter\"));\n\t\tfilters.add(ssoFilter(linkedin(), \"/login/linkedin\"));\n\t\tfilter.setFilters(filters);\n\t\treturn filter;\n\t}",
"Boolean filterEnabled();",
"com.google.protobuf.ByteString\n getFilterBytes();",
"@Override\n protected FilterResults performFiltering(CharSequence arg0) {\n FilterResults filterResults = new FilterResults();\n if (arg0 == null || arg0.length() == 0) {\n filterResults.values = MyArrayObjects;\n filterResults.count = MyArrayObjects.size();\n } else {\n String filterString = arg0.toString().toLowerCase();\n final ArrayList<Com_ItemObject> TempList = new ArrayList<Com_ItemObject>();\n for (Com_ItemObject Sis_ItemObject : MyArrayObjects) {\n //Filters both from Name and Bottom Text\n if ((Sis_ItemObject.getName() + \" \" + Sis_ItemObject.getBottomText()).toLowerCase().contains(filterString)) {\n TempList.add(Sis_ItemObject);\n }\n }\n\n filterResults.values = TempList;\n filterResults.count = TempList.size();\n }\n\n return filterResults;\n }",
"void filterChanged(Filter filter);",
"abstract List<String> filterByStartingWithA();",
"public static NodeFilter makeFilter()\n\t{\n\t\tNodeFilter[] fa = new NodeFilter[3];\n\t\tfa[0] = new HasAttributeFilter(\"HREF\");\n\t\tfa[1] = new TagNameFilter(\"A\");\n\t\tfa[2] = new HasParentFilter(new TagNameFilter(\"H3\"));\n\t\tNodeFilter filter = new AndFilter(fa);\n\t\treturn filter;\n\t}",
"java.lang.String getDataItemFilter();",
"public static void main(String[] args) {\n ArrayList<Integer> list=new ArrayList<>();\n list.add(1);\n list.add(2);\n list.add(3);\n list.add(4);\n list.add(5);\n Util res=new Util(list).filter(new Gt(),2).filter(new Gt(),3).filter(new Gt(),4);\n res.dis();\n }",
"private void processFilterFlag(String filter) {\r\n\t\tif (filter.equals(\"none\") == true) {\r\n\t\t\tSystem.out.println(\"Removing board filter.\");\r\n\t\t\tresults.removeFilter();\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tchar ch;\r\n\t\tint i = 0;\r\n\t\twhile (i < filter.length()) {\r\n\t\t\tch = Character.toLowerCase(filter.charAt(i));\r\n\t\t\tif (ch == '*') {\r\n\t\t\t\ti++;\r\n\t\t\t} else if(ch >= 'a' && ch <= 'z') {\r\n\t\t\t\tint trailing = (filter.length() - 1) - i;\r\n\t\t\t\tSystem.out.format(\"Added filter: %d%c%d%n\", i, ch, trailing);\r\n\t\t\t\tresults.addFilter(i, ch, trailing);\r\n\t\t\t\treturn;\t\t\t\t\r\n\t\t\t} else {\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\t\tSystem.out.println(\"Board filter syntax error!\");\r\n\t\tSystem.out.println(\"0 or more '*'s followed by 1 lower case character, followed by 0 or more stars.\");\r\n\t}",
"@Test\n public void testAbFiltering() throws Exception {\n final Set<String> fails = CollectionUtil.makeSet(\"tf2\", \"rs28566954\", \"rs28548431\");\n final File out = testFiltering(INPUT, \".vcf.gz\", 0.4, 0, 0, Double.MAX_VALUE);\n final ListMap<String, String> filters = slurpFilters(out);\n Assert.assertEquals(sorted(filters.keySet()), sorted(fails), \"Failed sites did not match expected set of failed sites.\");\n }",
"protected abstract Instances filterData(PipelineData data) throws Exception;",
"private void filter(String text) {\n ArrayList<ChildItem> filterdNames = new ArrayList<>();\n\n //looping through existing elements\n for (ChildItem s : dataParent ) {\n\n //if the existing elements contains the search input\n if (s.getKode_barang().toLowerCase().contains(text.toLowerCase())) {\n //adding the element to filtered list\n filterdNames.add(s);\n }\n }\n\n //calling a method of the adapter class and passing the filtered list\n adapter.filterList(filterdNames);\n }",
"@Override\n protected FilterResults performFiltering(CharSequence constraint) {\n FilterResults results = new FilterResults();\n if (constraint != null && constraint.length() > 0) {\n //CONSTARINT TO UPPER\n constraint = constraint.toString().toUpperCase();\n List<Product> filters = new ArrayList<Product>();\n //get specific items\n for (int i = 0; i < filterList.size(); i++) {\n if (filterList.get(i).getAdi().toUpperCase().contains(constraint)) {\n Product p = new Product(filterList.get(i).getIncKey(),filterList.get(i).getCicekPasta(),filterList.get(i).getUrunKodu(),\n filterList.get(i).getSatisFiyat(),filterList.get(i).getKdv(),filterList.get(i).getResimKucuk(),\n filterList.get(i).getSiparisSayi(),filterList.get(i).getDefaultKategori(),filterList.get(i).getCicekFiloFiyat(),\n filterList.get(i).getAdi(), filterList.get(i).getResimBuyuk(), filterList.get(i).getIcerik());\n filters.add(p);\n }\n }\n results.count = filters.size();\n results.values = filters;\n if(filters.size()==0){ // if not found result\n TextView tv= (TextView) mainActivity.findViewById(R.id.sonucyok);\n tv.setText(\"Üzgünüz, aradığınız sonucu bulamadık..\");\n Log.e(\"bbı\",\"oıfnot\");\n }\n else\n mainActivity.findViewById(R.id.sonucyok).setVisibility(View.INVISIBLE);\n\n } else {\n results.count = filterList.size();\n results.values = filterList;\n }\n return results;\n }",
"public interface CustomerSubsetFilterStrategy {\r\n Set<Customer> applyFilter(List<Customer> customers);\r\n}",
"public List<String> getFileFilters() {\n/* 420 */ List<String> retval = null;\n/* 421 */ COSBase filters = this.stream.getDictionaryObject(COSName.F_FILTER);\n/* 422 */ if (filters instanceof COSName) {\n/* */ \n/* 424 */ COSName name = (COSName)filters;\n/* 425 */ retval = new COSArrayList<String>(name.getName(), (COSBase)name, (COSDictionary)this.stream, COSName.F_FILTER);\n/* */ \n/* */ }\n/* 428 */ else if (filters instanceof COSArray) {\n/* */ \n/* */ \n/* 431 */ retval = COSArrayList.convertCOSNameCOSArrayToList((COSArray)filters);\n/* */ } \n/* 433 */ return retval;\n/* */ }",
"public double filter(double x) {\n y = b0 * x + b1 * x1 + b2 * x2 - a1 * y1 - a2 * y2;\n x2 = x1;\n x1 = x;\n y2 = y1;\n y1 = y;\n return (y);\n }",
"public abstract String getDefaultFilter ();",
"public Artikel [] filter(Predicate<Artikel> predicate) {\n Artikel[] filteredList = new Artikel[key];\n Artikel [] liste = new Artikel[key];\n int i = 0;\n for (Map.Entry<Integer, Artikel> integerArtikelEntry : lager.entrySet()) {\n liste[i] = integerArtikelEntry.getValue();\n i++;\n }\n int p = 0;\n for (i = 0; i < key; i++) {\n if (predicate.test(liste[i])) {\n filteredList[p] = liste [i];\n p++;\n }\n }\n liste = filteredList;\n return liste;\n }",
"EventChannelFilter filter();",
"public static void main(String[] args) {\n\t\t\n\t\tList<Integer> list = new ArrayList<>();\n\t\tlist.add(1);\n\t\tlist.add(2);\n\t\tlist.add(3);\n\t\tlist.add(7);\n\t\t\n\t\tIterator<Integer> it = list.iterator();\n\t\t\n\t\twhile(it.hasNext()) {\n\t\t\tint element = it.next();\n\t\t\tSystem.out.println(\"element \"+element);\n\t\t\tif(element == 1) {\n\t\t\t\tit.remove();\n\t\t\t\tit.next();\n\t\t\t\tit.remove();\n\t\t\t\t//it.forEachRemaining(Filter::add);\n\t\t\t}\n\t\t\t\n\t\t}\n\t\t\n\t\t//System.out.println(\"list \"+list);\n\t\t\n\t\t//forEach\n\t//\tlist.forEach(System.out::println);\n\t\t//list.forEach(Filter::filter);\n\t//\tlist.forEach(new Filter());\n\t}",
"private void applyFilters() {\n Task task = new Task() {\n @Override\n public Object call() {\n long start = System.currentTimeMillis();\n System.out.println(\"Applying filters! \" + filterList.size());\n filteredRowItemList = fullCustomerRowItemList;\n for (CustomerListFilter eachFilter : filterList) {\n eachFilter.setCustomerList(filteredRowItemList);\n filteredRowItemList = eachFilter.run();\n }\n System.out.println(\"Filtering took : \" + (System.currentTimeMillis() - start) + \" ms\");\n searchResultsTable.setItems(filteredRowItemList);\n customerCountStatus.setText(Integer.toString(filteredRowItemList.size()));\n return null;\n }\n };\n task.run();\n }",
"public interface iFilter {\n\n /**\n * method to add a value to datastructure.\n *\n * @param value\n */\n void add(String value);\n\n /**\n * method to check whether datastructure has value.\n *\n * @param value\n * @return boolean\n */\n boolean contains(String value);\n}",
"@Override\n public void filter(BoundingBox3d bounds) {\n filter = new boolean[points.size()];\n for (int i = 0; i < filter.length; i++)\n filter[i] = bounds.contains(points.get(i).xyz);\n }",
"public synchronized void filtered() {\n filteredCountStat.received();\n filteredCount++;\n }",
"private static void addUserFilters() {\n List<FiltersByLocation> filtersByLocations=new ArrayList<>();\n List<String> listOfFilterNamesAlreadyAddedUnModified=HealthDataFilter.returnAllFilterNames();\n List<String> listOfFilterNamesAlreadyAdded=new ArrayList<>(listOfFilterNamesAlreadyAddedUnModified);\n\n Set <String> set1=new HashSet<>();\n set1.add(\"\");\n\n String whereForZipFilter1 = createWhereForZipFilter((HashSet<String>) set1);\n\n if (!listOfFilterNamesAlreadyAdded.contains(AppConstant.CURRENT_ZIP_CODE_FILTER_NAME)){\n filtersByLocations.add(new FiltersByLocation(AppConstant.CURRENT_ZIP_CODE_FILTER_NAME ,whereForZipFilter1));\n listOfFilterNamesAlreadyAdded.add(AppConstant.CURRENT_ZIP_CODE_FILTER_NAME);\n }\n\n Map<String, ?> userZipCodeFilters = PreferenceUtility.getUserZipCodeFilters();\n\n for (Map.Entry<String, ?> entry : userZipCodeFilters.entrySet()) {\n //Upper case\n String filterName=entry.getKey().substring(AppConstant.USER_PREF_ZIP_FILTER_PREFIX.length()).toUpperCase();\n String whereForZipFilter = createWhereForZipFilter((HashSet<String>) entry.getValue());\n if (!listOfFilterNamesAlreadyAdded.contains(filterName)){\n filtersByLocations.add(new FiltersByLocation(filterName,whereForZipFilter));\n }\n }\n }",
"private void filter(String text) {\n List<UserModel> filterdNames = new ArrayList<>();\n\n //looping through existing elements\n for (UserModel item : userModels) {\n //if the existing elements contains the search input\n if (item.getFirstName().toLowerCase().contains(text.toLowerCase())||item.getId().toLowerCase().contains(text.toLowerCase())||item.getEmail().toLowerCase().contains(text.toLowerCase())){\n //adding the element to filtered list\n filterdNames.add(item);\n }\n }\n userAdapter.filterList(filterdNames);\n }",
"public static void filter_old() throws IOException {\n\t\tHashSet<String> wikimid = new HashSet<String>();\r\n\t\t{\r\n\t\t\tDelimitedWriter dw = new DelimitedWriter(Main.file_mid2wid);\r\n\t\t\tDelimitedReader dr = new DelimitedReader(Main.file_fbdump_2_len4);\r\n\t\t\tString[] l;\r\n\t\t\twhile ((l = dr.read()) != null) {\r\n\t\t\t\tif (l[1].equals(\"/type/object/key\") && l[2].equals(\"/wikipedia/en_id\")) {\r\n\t\t\t\t\tdw.write(l[0], l[3]);\r\n\t\t\t\t\twikimid.add(l[0]);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tdr.close();\r\n\t\t\tdw.close();\r\n\t\t\tD.p(\"wiki id size is\", wikimid.size());\r\n\t\t}\r\n\t\tDelimitedWriter dw = new DelimitedWriter(Main.file_visible + \".filter\");\r\n\t\t{\r\n\t\t\tDelimitedReader dr = new DelimitedReader(Main.file_visible);\r\n\t\t\tString[] l;\r\n\t\t\tint count = 0, write = 0;\r\n\t\t\twhile ((l = dr.read()) != null) {\r\n\t\t\t\tcount++;\r\n\t\t\t\tif (count % 100000 == 0) {\r\n\t\t\t\t\tD.p(\"count vs write\", count, write);\r\n\t\t\t\t}\r\n\t\t\t\tString rel = l[2];\r\n\t\t\t\tif (rel.startsWith(\"/type\") || rel.startsWith(\"/user\") || rel.startsWith(\"/common\")\r\n\t\t\t\t\t\t|| rel.startsWith(\"/base\")) {\r\n\t\t\t\t\tcontinue;\r\n\t\t\t\t}\r\n\t\t\t\tif (l[0].startsWith(\"s\") && !wikimid.contains(l[1])) {\r\n\t\t\t\t\tcontinue;\r\n\t\t\t\t}\r\n\t\t\t\tif (l[0].startsWith(\"j\") && (!wikimid.contains(l[1]) || !wikimid.contains(l[3]))) {\r\n\t\t\t\t\tcontinue;\r\n\t\t\t\t}\r\n\t\t\t\tdw.write(l);\r\n\t\t\t\twrite++;\r\n\t\t\t}\r\n\r\n\t\t}\r\n\t\tdw.close();\r\n\t\tSort.sort(Main.file_visible + \".filter\", Main.file_visible + \".filter.sbmid\", Main.dir,\r\n\t\t\t\tnew Comparator<String[]>() {\r\n\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tpublic int compare(String[] arg0, String[] arg1) {\r\n\t\t\t\t\t\t// TODO Auto-generated method stub\r\n\t\t\t\t\t\treturn arg0[1].compareTo(arg1[1]);\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t});\r\n\t\tSort.sort(Main.file_visible + \".filter\", Main.file_visible + \".filter.sbmid2\", Main.dir,\r\n\t\t\t\tnew Comparator<String[]>() {\r\n\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tpublic int compare(String[] arg0, String[] arg1) {\r\n\t\t\t\t\t\t// TODO Auto-generated method stub\r\n\t\t\t\t\t\treturn arg0[3].compareTo(arg1[3]);\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t});\r\n\t\tSort.sort(Main.file_visible + \".filter\", Main.file_visible + \".filter.sbrel\", Main.dir,\r\n\t\t\t\tnew Comparator<String[]>() {\r\n\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tpublic int compare(String[] arg0, String[] arg1) {\r\n\t\t\t\t\t\t// TODO Auto-generated method stub\r\n\t\t\t\t\t\treturn arg0[2].compareTo(arg1[2]);\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t});\r\n\t}",
"protected Map<String, String> getFilter() {\n\t\tMap<String, String> filterMap = new HashMap<String, String>();\n\t\tfilterMap.clear();\n\t\tString filterGrade = \"\";\n\t\tString elemGrade=\"\";\n\t\t\n\t\tString eleGrade = getSelectedFilter(eleGradePanelUc);\n\t\tif (!eleGrade.isEmpty()) {\n\t\t\tfilterGrade+=eleGrade;\n\t\t}\n\t\tString midGrade = getSelectedFilter(middleGradePanelUc);\n\t\tif (!midGrade.isEmpty()) {\n\t\t\tif(filterGrade.equals(\"\")){\n\t\t\t\tif(elemGrade.isEmpty()){\n\t\t\t\t\tfilterGrade+=midGrade;\n\t\t\t\t}\n\t\t\t}else {\n\t\t\t\tfilterGrade+=\",\"+midGrade;\n\t\t\t}\n\t\t}\n\t\tString highGrade = getSelectedFilter(highrGradePanelUc);\n\t\tif (!highGrade.isEmpty()) {\n\t\t\tif(filterGrade.equals(\"\")){\n\t\t\t\tfilterGrade+=highGrade;\n\t\t\t}else{\n\t\t\t\tfilterGrade+=\",\"+highGrade;\n\t\t\t}\n\t\t}\n\t\tif(filterGrade!=null && !filterGrade.equals(\"\")){\n\t\t\tfilterMap.put(IsSearchView.GRADE_FLT, filterGrade);\n\t\t}\n\t\tString selectedSubject = getSelectedFilter(subjectPanelUc, \"~~\");\n\t\tif (!selectedSubject.isEmpty()) {\n\t\t\tfilterMap.put(IsSearchView.SUBJECT_FLT, selectedSubject);\n\t\t}\n\t\treturn filterMap;\n\t}"
] | [
"0.76380444",
"0.66325724",
"0.6526846",
"0.6519356",
"0.6519356",
"0.649093",
"0.64758414",
"0.6442763",
"0.6306168",
"0.63044053",
"0.62853676",
"0.6227572",
"0.6173891",
"0.61369103",
"0.61166126",
"0.6103788",
"0.60854095",
"0.60683906",
"0.6063271",
"0.6044669",
"0.602316",
"0.601419",
"0.60124725",
"0.5971752",
"0.5956922",
"0.5940018",
"0.5936556",
"0.5929121",
"0.59285325",
"0.5897619",
"0.5863629",
"0.58600223",
"0.5832911",
"0.5821102",
"0.5812793",
"0.58124965",
"0.581168",
"0.5803081",
"0.57720035",
"0.57579845",
"0.57578695",
"0.5749956",
"0.57491696",
"0.5749047",
"0.5739674",
"0.5737641",
"0.5737511",
"0.57322377",
"0.57286924",
"0.5687799",
"0.5678784",
"0.5677225",
"0.5676066",
"0.5671454",
"0.56605464",
"0.56536204",
"0.56524736",
"0.5650018",
"0.5647727",
"0.56373036",
"0.563571",
"0.56279093",
"0.56132835",
"0.5612147",
"0.5606977",
"0.5598924",
"0.5596192",
"0.5594172",
"0.55907315",
"0.558887",
"0.5581809",
"0.5573331",
"0.55705565",
"0.55703497",
"0.5567338",
"0.5564496",
"0.5563213",
"0.55597615",
"0.5556293",
"0.5542869",
"0.55385196",
"0.552809",
"0.5527574",
"0.5523308",
"0.5502315",
"0.55020225",
"0.54965925",
"0.54950386",
"0.5493245",
"0.54868376",
"0.5486515",
"0.54782677",
"0.5474388",
"0.5470616",
"0.5470555",
"0.54668653",
"0.546246",
"0.5461196",
"0.5454699",
"0.5453218",
"0.5447812"
] | 0.0 | -1 |
NAME SECTION Helper to enforce authorization by name, to users. | public List<String> getListOfAuthorizedByName(
List<String> names,
String username,
ResponseToFailedAuthorization failureResponse,
AccessLevel accessLevel,
Session session,
QueryEntityType queryEntityType ) throws Exception {
if ( queryEntityType == QueryEntityType.Project ) {
logger.debug( "Getting list of authorized projects for user " + username );
return getListOfAuthorizedByName(
names, username, failureResponse, accessLevel, session,
SECURED_PROJECTS_SQL_QUERY, OPEN_AND_SECURED_PROJECTS_SQL_QUERY, RTN_PROJECT_VAR_NAME, SECURE_PROJECTS_PARAM_LIST_NAME, OPEN_PROJECTS_PARAM_LIST_NAME
);
}
else {
logger.debug( "Getting list of authorized samples for user " + username );
return getListOfAuthorizedByName(
names, username, failureResponse, accessLevel, session,
SECURED_SAMPLES_SQL_QUERY, OPEN_AND_SECURED_SAMPLES_SQL_QUERY, RTN_SAMPLE_VAR_NAME, SECURE_SAMPLES_PARAM_LIST_NAME, OPEN_SAMPLES_PARAM_LIST_NAME
);
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"boolean isNameRequired();",
"boolean isProtected(String name);",
"public boolean checkName(String name)\n {\n return true;\n }",
"private boolean isNameValid(String name) {\n\n }",
"private boolean isAllCaps(String name) {\r\n for (int ndx = 0; ndx < name.length(); ndx++) {\r\n char ch = name.charAt(ndx);\r\n if (ch == '_') {\r\n // OK\r\n } else if (Character.isUpperCase(ch)) {\r\n // OK\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n return true;\r\n }",
"private void testAccessibleName(Component comp, AccessibleContext comp_AC) {\n String name = comp_AC.getAccessibleName();\n \n // LOG ONLY -/\n if(debugLog) System.err.println(LOG_CAPTION+\" - <testAccessibleName()> - accessibleName=\"+name);\n \n if (testSettings.AP_accessibleName && (name == null)){\n noName.add(comp);\n }\n }",
"protected abstract String getAuthorization();",
"public void validateUserName(String name) {\n\t\ttry {\n\t\t\tAssert.assertTrue(userName.getText().equalsIgnoreCase(\"Hi \"+name),\"Username is correctly displayed\");\n\t\t\tLog.addMessage(\"Username correctly displayed\");\n\t\t}catch(Exception e) {\n\t\t\tLog.addMessage(\"Validation of User Login is failed\");\n\t\t\tLog.addMessage(e.getMessage().toString());\n\t\t\tAssert.assertTrue(false, \"Failed to validate User Login\");\n\t\t}\n\t}",
"public boolean isValidName(String proposedName);",
"public void setAccessibleName(String name) {\n // Not supported\n }",
"@Override\n\tpublic String getAuthority() {\n\t\treturn name;\n\t}",
"@Override\n\tpublic String getAuthority() {\n\t\treturn name;\n\t}",
"@Override\n\tpublic String getAuthority() {\n\t\treturn name;\n\t}",
"public interface AuthorizationMapping {\n\n /**\n * Returns true if the principal is explicity authorized to the JID\n *\n * @param principal The autheticated principal requesting authorization.\n * @return The name of the default username to use.\n */\n String map( String principal );\n\n /**\n * Returns the short name of the Policy\n *\n * @return The short name of the Policy\n */\n String name();\n\n /**\n * Returns a description of the Policy\n *\n * @return The description of the Policy.\n */\n String description();\n}",
"@Override\n\tpublic void validateUserName(String name) throws UserException {\n\t\t\n\t}",
"private boolean isValidName(String name)\n {\n String reg = \"^[a-zA-Z]+$\";\n return name.matches(reg);\n }",
"private void validate(String name) {\r\n /*\r\n Check to make sure that name is not blank and as a size of at least three characters and does not contain any spaces\r\n constant for min username chars.\r\n */\r\n final int MIN_USERNAME_CHARS = 3;\r\n if (name.isEmpty() || name.length() < MIN_USERNAME_CHARS || name.contains(\" \")) {\r\n // if so, show error message box\r\n showError(\"You must have a name at least \" + MIN_USERNAME_CHARS + \" characters long and have no spaces.\", \"Error\");\r\n } else {\r\n // set the host name\r\n Preferences.getInstance().setHostName(name);\r\n Preferences.getInstance().save();\r\n // close the window\r\n close();\r\n }\r\n }",
"static public boolean validateName(String proposedName, boolean allowSpace)\n {\n Pattern p;\n if (allowSpace)\n p = Pattern.compile(\"[A-Z][A-Z0-9_. -]*\", Pattern.CASE_INSENSITIVE);\n else\n p = Pattern.compile(\"[A-Z][A-Z0-9_.-]*\", Pattern.CASE_INSENSITIVE);\n \n return (p.matcher(proposedName).matches());\n\n }",
"public boolean nameValidation(String name) {\n\t char[] chars = name.toCharArray();\n\t int tempNum = 0;\n\t for (char c : chars) {\n\t tempNum += 1;\n\t \tif(!Character.isLetter(c)) {\n\t return false;\n\t }\n\t }\n\t if (tempNum == 0)\n\t \treturn false;\n\n\t return true;\n\t}",
"static public boolean isSanitaryName(String name) {\n return sanitizeName(name).equals(name);\n }",
"public void setName(String name){\r\n gotUserName = true;\r\n this.name = name;\r\n }",
"public boolean isValidName(String name) {\n\t\tif (name == null)\n\t\t\treturn false;\n\t\tif (name.matches(\".*[A-Z].*[a-zA-Z0-9]\"))\n\t\t\treturn true;\n\t\telse\n\t\t\treturn false;\n\t}",
"public boolean checkName(String name)\n {\n boolean value = true;\n if(name.length() < 3 || name.length() > 15)\n {\n System.out.println(\"Name must be between 3 and 15 characters\");\n value = false;\n }\n return value;\n }",
"public void setUser_name(String user_name);",
"private boolean isAlpha(String name) {\r\n\t\treturn name.matches(\"^[a-zA-Z0-9_]*$\");\r\n\t}",
"@Override\n public String getHeader(String name) {\n if (name.equalsIgnoreCase(\"Authorization\")) {\n return getAuthorizationHeader();\n } else {\n return super.getHeader(name);\n }\n }",
"public String getLocallyAccessibleName( String name );",
"@NotNull\n String getName();",
"@Override\n\tpublic boolean checkRoleName(String role_name) {\n\t\treturn false;\n\t}",
"@ApiModelProperty(value = \"The username, which is unique within a Cloudera Manager installation.\")\n\n\n public String getName() {\n return name;\n }",
"@Test\r\n\tpublic void testNameValid() {\r\n\t\tassertTrue(Activity5Query.isNameCorrect(\"JANE\"));\r\n\t\tassertTrue(Activity5Query.isNameCorrect(\"John\"));\r\n\t\tassertTrue(Activity5Query.isNameCorrect(\"Mary\"));\r\n\t\tassertTrue(Activity5Query.isNameCorrect(\" Kurisu\"));\r\n\t\tassertTrue(Activity5Query.isNameCorrect(\"Bond \"));\r\n\t}",
"public void setUserName(String name) {\r\n\t\tthis.userName = name;\r\n\t}",
"public boolean nameValidation(String username){\n return !(username.isEmpty() || !username.matches(\"[a-zA-Z0-9_-]+\"));\n }",
"boolean hasName();",
"boolean hasName();",
"boolean hasName();",
"boolean hasName();",
"boolean hasName();",
"boolean hasName();",
"boolean hasName();",
"boolean hasName();",
"boolean hasName();",
"boolean hasName();",
"boolean hasName();",
"boolean hasName();",
"boolean hasName();",
"boolean hasName();",
"boolean hasName();",
"boolean hasName();",
"boolean hasName();",
"boolean hasName();",
"boolean hasName();",
"boolean hasName();",
"boolean hasName();",
"boolean hasName();",
"boolean hasName();",
"protected void setSectionName(String name) {\r\n\t\tthis.sectionName = name;\r\n\t}",
"boolean hasAttackerRoleName();",
"private boolean name() {\r\n return (\r\n (letter() && alphas()) ||\r\n (CHAR('`') && nobquotes() && MARK(QUOTE) && CHAR('`'))\r\n );\r\n }",
"public boolean validateName(String name)\n\t{\n\n\t\tif (name.matches(\"[a-zA-Z]+\"))\n\n\t\t\treturn true;\n\n\t\tmyName = DEFAULT_NAME;\n\t\treturn false;\n\t}",
"public void setName(java.lang.String aName);",
"public void checkAuthority() {\n }",
"private void checkNameValidation(String name) throws noStudentNameException{\n\t\tif (name.isEmpty()){\n\t\t\tthrow new noStudentNameException(\"Student Name Cannot be Empty!\");\n\t\t}\n\t}",
"private static boolean nameIsValid(String name) {\n if (name.length() < 4 || name.length() > 11)\n return false;\n\n for (int i = 0; i < name.length(); i++) {\n int charIndex = name.charAt(i);\n\n // Each character can only be a letter or number\n if (charIndex < 48 || (charIndex > 57 && charIndex < 65) || (charIndex > 90 && charIndex < 97) || charIndex > 122)\n return false;\n }\n\n return true;\n }",
"public void onGetName(String user,String name);",
"@Override\n public String getUserName() {\n return name;\n }",
"protected abstract String getName();",
"public boolean isValidDirectiveName ( String name );",
"private static String capName(String name) { return name.substring(0, 1).toUpperCase() + name.substring(1); }",
"public void setCourseName(String name){//setCourseName body start\n\t\tCourseName = name;\n\t}",
"Caseless getName();",
"public static boolean isAlphapetic(String userInput) {\n return Pattern.matches(Constants.NAME_VALIDATION, userInput);\n }",
"void getName(String name);",
"public void verifyPresenterNameMatchedOnCourseInfoPage(String name) {\n \t Assert.assertEquals(presenterLabel.getText(),name);\n }",
"public boolean hasPermission ( String name ) {\n\t\treturn extract ( handle -> handle.hasPermission ( name ) );\n\t}",
"public void setMainName (String name){\n this.name = name;\n }",
"@Override\n public boolean existPrincipalWithName(String userName) {\n // \"Feature 'existPrincipalWithName in OAuth 2 identity server' is not implemented\"\n return false;\n }",
"public boolean validateUserName(String name)\n\t{\n\t\tif (username.getText().length() < MIN_USERNAME_LENGTH)\n\t\t{\n\t\t\tsetWarning(\"username too short\");\n\t\t\treturn false;\n\t\t}\n\n\t\tif (!name.matches(\"^[a-zA-Z0-9]*$\"))\n\t\t{\n\t\t\tsetWarning(\"invalid username\");\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t}",
"abstract void lastNameValidity();",
"public String nameCheck(String name) {\n\t\twhile(true) {\n\t\t\tif(Pattern.matches(\"[A-Z][a-z]{3,10}\", name)){\n\t\t\t\treturn name;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tSystem.out.println(\"Name should have first capital alphabet and rest small alphabets.\");\n\t\t\t\tSystem.out.println(\"Enter again: \");\n\t\t\t\tname = sc.next();\n\t\t\t}\n\t\t}\n\t}",
"public void setInternalName(String name);",
"public static boolean isValidUserDefinedDatabaseName(String name) {\n boolean matchHit = letterFirstPattern.matcher(name).matches();\n // TODO: uppercase is bad...\n boolean reserveHit =\n Collections.binarySearch(reservedNamesSortedList, name.toUpperCase(Locale.US)) >= 0;\n return !reserveHit && matchHit;\n }",
"public static boolean checkAuthorisation(HttpSession session) {\r\n\t\tif (session.getAttribute(CommandParameter.PARAM_NAME_ID) == null) {\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\treturn false;\r\n\t}",
"public boolean isValidName(String name)\r\n {\r\n // check for illegal combinations of characters\r\n // this is probably not a complete check, but hopefully it is good enough\r\n if ( (name == null) ||\r\n (name.equals(\"\")) ||\r\n Character.isUpperCase(name.charAt(0)) ||\r\n containsSubString(name, TIGHT_BINDING) ||\r\n containsSubString(name, LOOSE_BINDING) ||\r\n containsSubString(name, SINGLE_MATCH) ||\r\n containsSubString(name, \"/\") ||\r\n containsSubString(name, \" \") ||\r\n containsSubString(name, \"\\t\") ||\r\n containsSubString(name, \"\\n\") ||\r\n name.equals(UNIQUE_NAME) )\r\n {\r\n return false;\r\n }\r\n\r\n return true;\r\n }",
"public boolean isUserNameContainsRestrictedWord(String username);",
"@Override\n public String getName() {\n return this.role.getName();\n }",
"private void validationUsername( String name ) throws Exception {\n\t\t\t if ( name != null && name.trim().length() < 3 ) {\n\t\t\t throw new Exception( \"Le nom d'utilisateur doit contenir au moins 3 caractères.\" );\n\t\t\t }\n\t\t\t}",
"boolean hasUserName();",
"private String checkName(String name){\n\n if(name.isBlank()){\n name = \"guest\";\n }\n int i = 1;\n if(users.contains(name)) {\n while (users.contains(name + i)) {\n i++;\n }\n name+=i;\n }\n return name;\n }",
"public void setName(final String pName){this.aName = pName;}",
"@Override\n\tpublic void authorize(String resourceName, String action, String rpcName)\n\t\t\tthrows Exception {\n\t}",
"public void enterNameInAboutMe(String name) throws UIAutomationException{\r\n\t\r\n\t\telementController.requireElementSmart(fileName,\"Name Text Field In About Me\",GlobalVariables.configuration.getAttrSearchList(), \"User Name\");\r\n\t\tUIActions.click(fileName,\"Name Text Field In About Me\",GlobalVariables.configuration.getAttrSearchList(), \"User Name\");\r\n\t\tUIActions.clearTextBox(fileName,\"Name Text Field In About Me\",GlobalVariables.configuration.getAttrSearchList(), \"User Name\");\r\n\t\tUIActions.enterValueInTextBox(name,fileName,\"Name Text Field In About Me\",GlobalVariables.configuration.getAttrSearchList(), \"User Name\");\r\n\t\tUIActions.enterKey(Keys.TAB);\r\n\t\r\n\t}",
"@Override\n\tpublic void loginEnsure(String userName) {\n\t\t\n\t}",
"private static boolean validName(String name) {\n return name != null && !name.strip().isBlank();\n }",
"public static String userNameValid(String name){\n return \"select u_name from users having u_name = '\" + name + \"'\";\n }",
"private static void checkTokenName(String namedOutput) {\r\n\t\tif (namedOutput == null || namedOutput.length() == 0) {\r\n\t\t\tthrow new IllegalArgumentException(\r\n\t\t\t\t\t\"Name cannot be NULL or emtpy\");\r\n\t\t}\r\n\t\tfor (char ch : namedOutput.toCharArray()) {\r\n\t\t\tif ((ch >= 'A') && (ch <= 'Z')) {\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\t\t\tif ((ch >= 'a') && (ch <= 'z')) {\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\t\t\tif ((ch >= '0') && (ch <= '9')) {\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\t\t\tthrow new IllegalArgumentException(\r\n\t\t\t\t\t\"Name cannot be have a '\" + ch + \"' char\");\r\n\t\t}\r\n\t}",
"private void authorize() {\r\n\r\n\t}",
"String getUserName();",
"String getUserName();",
"String roleName();",
"String getName( String name );"
] | [
"0.6196376",
"0.60240895",
"0.59371483",
"0.58859134",
"0.57979834",
"0.57806987",
"0.5776374",
"0.5709685",
"0.5700863",
"0.56997764",
"0.5688843",
"0.5688843",
"0.5688843",
"0.56737506",
"0.56591195",
"0.5648425",
"0.56406724",
"0.5588305",
"0.5575815",
"0.5561559",
"0.5552765",
"0.554717",
"0.55328804",
"0.55122834",
"0.5495218",
"0.548928",
"0.54867965",
"0.54781336",
"0.54527104",
"0.54068",
"0.5397319",
"0.5387216",
"0.5383997",
"0.53822315",
"0.53822315",
"0.53822315",
"0.53822315",
"0.53822315",
"0.53822315",
"0.53822315",
"0.53822315",
"0.53822315",
"0.53822315",
"0.53822315",
"0.53822315",
"0.53822315",
"0.53822315",
"0.53822315",
"0.53822315",
"0.53822315",
"0.53822315",
"0.53822315",
"0.53822315",
"0.53822315",
"0.53822315",
"0.53822315",
"0.5369399",
"0.5359337",
"0.53546286",
"0.5353276",
"0.5349971",
"0.5339725",
"0.533497",
"0.5315315",
"0.5314021",
"0.531304",
"0.5312795",
"0.5309945",
"0.5299397",
"0.52822065",
"0.527692",
"0.52744955",
"0.52708113",
"0.5266132",
"0.5265352",
"0.52614844",
"0.5260372",
"0.52588713",
"0.5250614",
"0.5249329",
"0.5247118",
"0.52469313",
"0.52461433",
"0.5234398",
"0.5224431",
"0.52144855",
"0.52132785",
"0.5208597",
"0.5206111",
"0.52055126",
"0.5198522",
"0.51855904",
"0.5175183",
"0.51686627",
"0.51613724",
"0.5156555",
"0.51553166",
"0.51525944",
"0.51525944",
"0.51522094",
"0.51451963"
] | 0.0 | -1 |
ID SECTION Helper to enforce authorization of values known by their IDs, to users. | public List<Long> getListOfAuthorizedById(
List<Long> ids,
String username,
ResponseToFailedAuthorization failureResponse,
AccessLevel accessLevel,
Session session,
QueryEntityType queryEntityType
) throws Exception {
if ( queryEntityType == QueryEntityType.Project ) {
logger.debug( "Getting list of authorized projects for user " + username );
return getListOfAuthorizedById(
ids, username, failureResponse, accessLevel, session,
SECURED_PROJECT_IDS_SQL_QUERY,
OPEN_AND_SECURED_PROJECT_IDS_SQL_QUERY,
SECURE_PROJECTS_PARAM_LIST_NAME,
OPEN_PROJECTS_PARAM_LIST_NAME,
RTN_PROJECT_VAR_NAME
);
}
else {
logger.debug( "Getting list of authorized samples for user " + username );
return getListOfAuthorizedById(
ids, username, failureResponse, accessLevel, session,
SECURED_SAMPLE_IDS_SQL_QUERY,
OPEN_AND_SECURED_SAMPLE_IDS_SQL_QUERY,
SECURE_SAMPLES_PARAM_LIST_NAME,
OPEN_SAMPLES_PARAM_LIST_NAME,
RTN_SAMPLE_VAR_NAME
);
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public boolean userCanAccess(int id) {\n return true;\n }",
"public abstract boolean isValidID(long ID);",
"boolean isSetID();",
"protected void checkId(String id) throws ValidationException {\n if (!id.equals(\"\")) {\n Set idrefs = getFOEventHandler().getIDReferences();\n if (!idrefs.contains(id)) {\n idrefs.add(id);\n } else {\n throw new ValidationException(\"Property id \\\"\" + id \n + \"\\\" previously used; id values must be unique\"\n + \" in document.\", locator);\n }\n }\n }",
"boolean hasID();",
"boolean hasID();",
"boolean hasID();",
"boolean hasID();",
"boolean hasID();",
"boolean hasID();",
"boolean hasID();",
"boolean hasID();",
"boolean hasID();",
"public void addToIdValidationList(String id)\n { \n idValidation.put(id,\"\");\n }",
"static boolean verifyIDRelaxed(String id)\r\n\t{\r\n\t\tfor(int i = 0; i < id.length(); i++)\r\n\t\t{\r\n\t\t\tchar c = id.charAt(i);\r\n\t\t\tif(Character.isLetterOrDigit(c)) //isAlpha\r\n\t\t\t{\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\t\t\telse if(c == ' ' || c == '_' || c == '-')\r\n\t\t\t{\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn id.length() > 0;\r\n\t}",
"public void setID(String idIn) {this.id = idIn;}",
"final protected boolean verifySecretID(Object ID) {\n\t\t\tif(this.SecretID == null) return true;\n\t\t\treturn UObject.equal(this .SecretID, ID); \n\t\t}",
"public interface ID_UNIQUENESS_POLICY_ID\n{\n\n /**\n\t * The value representing ID_UNIQUENESS_POLICY_ID.\n\t */\n public static final int value = (int)(18L);\n}",
"private void checkID(int ID)\r\n {\r\n if(student_IDs.contains(ID))\r\n {\r\n throw new IllegalArgumentException(\"There is already a student that exists with this ID: \" + ID);\r\n }\r\n }",
"boolean isSetId();",
"final protected boolean verifySecretID(Object ID) {\n\t\tif(this.SecretID == null) return true;\n\t\treturn UObject.equal(this .SecretID, ID); \n\t}",
"public interface ID_TYPE {\r\n public static final int OWNER = 1;\r\n public static final int ATTENDANT = 2;\r\n public static final int DRIVER = 3;\r\n }",
"public void setAllianceId(Integer val) {\n allianceId = val;\n }",
"private void setAId(int value) {\n \n aId_ = value;\n }",
"String idProvider();",
"private static void checkIDConstraintRestriction(XSElementDecl derivedElemDecl, XSElementDecl baseElemDecl) throws XMLSchemaException {}",
"private void setAid(int value) {\n \n aid_ = value;\n }",
"public void setIdCanal(String idCanal);",
"@Test\r\n\tpublic void testSetGetIdValid() {\r\n\t\tDoctor doctor = new Doctor();\r\n\t\tdoctor.setId(idValid);\r\n\t\tassertEquals(idValid, doctor.getId());\r\n\t}",
"static boolean verifyID(String id)\r\n\t{\r\n\t\tfor(int i = 0; i < id.length(); i++)\r\n\t\t{\r\n\t\t\tchar c = id.charAt(i);\r\n\t\t\tif((c <= 'Z' && c >= 'A') || (c >= 'a' && c <= 'z')) //isAlpha\r\n\t\t\t{\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\t\t\telse if(c >= '0' && c <= '9' || c == '_' || c == '-') //is digit or _ or -\r\n\t\t\t{\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\t\t\telse if(c == ' ')\r\n\t\t\t{\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\treturn id.length() > 0;\r\n\t}",
"boolean hasId();",
"boolean hasId();",
"boolean hasId();",
"boolean hasId();",
"boolean hasId();",
"boolean hasId();",
"boolean hasId();",
"boolean hasId();",
"boolean hasId();",
"boolean hasId();",
"boolean hasId();",
"boolean hasId();",
"boolean hasId();",
"boolean hasId();",
"boolean hasId();",
"boolean hasId();",
"boolean hasId();",
"boolean hasId();",
"boolean hasId();",
"boolean hasId();",
"boolean hasId();",
"boolean hasId();",
"boolean hasId();",
"boolean hasId();",
"boolean hasId();",
"boolean hasId();",
"boolean hasId();",
"boolean hasId();",
"boolean hasId();",
"public boolean isAssocId();",
"void setId(int val);",
"@Test\n\tpublic void testProfessorId(){\n\t\tlong id = 42;\n\t\ttestProfessor.setId(id);\n\t\tAssert.assertEquals(Long.valueOf(42), testProfessor.getId());\n\t}",
"public boolean isEveryIdValid()\n {\n return(idValidation.size()==0);\n }",
"private void setId(Integer id) { this.id = id; }",
"private void setId(int value) {\n \n id_ = value;\n }",
"public void setID(String value) {\r\n \t\t_id = value;\r\n \r\n \t}",
"public interface IdValidation {\n\n /**\n * Method return validity of citizen id\n * @return true if algorithm checksum is equal to checksum of citizen id\n */\n boolean isValid();\n}",
"public void setID(java.lang.Integer value);",
"@Test\r\n\tpublic void testGetId() {\r\n\t\tassertEquals(1, breaku1.getId());\r\n\t\tassertEquals(2, externu1.getId());\r\n\t\tassertEquals(3, meetingu1.getId());\r\n\t\tassertEquals(4, teachu1.getId());\r\n\t}",
"private void setId(int value) {\n \n id_ = value;\n }",
"@Override\n\tpublic void valid(String id, String valid) {\n\t\t\n\t}",
"public void setIdAuthority(String theString) {\n\t \r\n }",
"private void validateId(String id) {\n if (!id.matches(\"[0-9]+\")) {\n throw new IllegalArgumentException(\"Invaild Tweet Id\");\n }\n return;\n }",
"public boolean validateID() {\n\t\tif (this.id == null || this.id.length() < 1)\n\t\t\treturn false;\n\t\ttry {\n\t\t\tInteger.parseInt(this.id);\n\t\t} catch (NumberFormatException e) {\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}",
"boolean hasSecIdType();",
"public void requirePatientId() {\n hasPatientIdParam = true;\n }",
"public interface Identifiable {\n\t\n\t/**\n * Gets the value of the id property.\n * \n * @return\n * possible object is\n * {@link String }\n * \n */\n public String getId();\n\n /**\n * Sets the value of the id property. The value must starts with \"[A-Za-z]\".\n * \n * @param value\n * allowed object is\n * {@link String }\n * \n */\n public void setId(String value);\n\n}",
"public void setId(long id) throws InvalidIdException {\n// System.out.println(\"Id passed is: \" + id);\n // Check if the ID is within range\n if(id >= MINIMUM_ID_NUMBER && id <= MAXIMUM_ID_NUMBER) {\n \n // Set this value to the attribtue\n this.id = id;\n } else { // If not\n \n // Then throw error and display error message.\n throw new InvalidIdException(\"Employee ID must be between \" + \n MINIMUM_ID_NUMBER + \" and \" + MAXIMUM_ID_NUMBER);\n } \n }",
"boolean isSetIdentifier();",
"public boolean claim(String id);",
"public void testSetId_Accuracy() {\r\n int id = 1;\r\n auditDetail.setId(id);\r\n assertEquals(\"The id value should be set properly.\", \"\" + id,\r\n UnitTestHelper.getPrivateField(AuditDetail.class, auditDetail, \"id\").toString());\r\n }",
"boolean hasFromId();",
"public interface ID {\n public Long getId();\n public void setId(Long id);\n}",
"public void testGetId_Accuracy() {\r\n int id = 1;\r\n UnitTestHelper.setPrivateField(AuditDetail.class, auditDetail, \"id\", new Integer(id));\r\n assertEquals(\"The id value should be got properly.\", id, auditDetail.getId());\r\n }",
"@Test\r\n\tpublic void testSetId() {\r\n\t\tbreaku1.setId(5);\r\n\t\texternu1.setId(6);\r\n\t\tmeetingu1.setId(7);\r\n\t\tteachu1.setId(8);\r\n\r\n\t\tassertEquals(5, breaku1.getId());\r\n\t\tassertEquals(6, externu1.getId());\r\n\t\tassertEquals(7, meetingu1.getId());\r\n\t\tassertEquals(8, teachu1.getId());\r\n\t}",
"@Override\n\tpublic boolean isIdProperty() {\n\n\t\tif (super.isIdProperty()) {\n\t\t\treturn true;\n\t\t}\n\n\t\t// We need to support a wider range of ID types than just the ones that can be\n\t\t// converted to an ObjectId\n\t\t// but still we need to check if there happens to be an explicit name set\n\t\treturn SUPPORTED_ID_PROPERTY_NAMES.contains(getName()) && !hasExplicitFieldName();\n\t}",
"@Test\n public void identifierTest() {\n assertEquals(\"ident1\", authResponse.getIdentifier());\n }",
"public void setId(String key, Object value) {\n // remove ID, if empty/0/null\n // if we only skipped it, the existing entry will stay although someone changed it to empty.\n String v = String.valueOf(value);\n if (\"\".equals(v) || \"0\".equals(v) || \"null\".equals(v)) {\n ids.remove(key);\n }\n else {\n ids.put(key, value);\n }\n firePropertyChange(key, null, value);\n\n // fire special events for our well known IDs\n if (Constants.TMDB.equals(key) || Constants.IMDB.equals(key) || Constants.TVDB.equals(key) || Constants.TRAKT.equals(key)) {\n firePropertyChange(key + \"Id\", null, value);\n }\n }",
"@NotNull\n String getId();",
"private boolean isValidId(String id) {\r\n\t\tboolean result = false;\r\n\t\tif (id.length() >= 1) {\r\n\t\t\tif (Character.isLetter(id.charAt(0))) {\r\n\t\t\t\tif (id.contains(\".\")) {\r\n\t\t\t\t\tString[] tokens = id.split(\"\\\\.\");\r\n\t\t\t\t\tif (tokens.length == 2) {\r\n\t\t\t\t\t\tfor (int i = 0; i < tokens[0].length(); i++) {\r\n\t\t\t\t\t\t\tif (!(tokens[0].charAt(i) == '.'\r\n\t\t\t\t\t\t\t\t\t|| tokens[0].charAt(i) == '_'\r\n\t\t\t\t\t\t\t\t\t|| tokens[0].charAt(i) == '-' || Character\r\n\t\t\t\t\t\t\t\t\t\t.isLetterOrDigit(tokens[0].charAt(i)))) {\r\n\t\t\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tfor (int i = 0; i < tokens[1].length(); i++) {\r\n\t\t\t\t\t\t\tif (!(tokens[0].charAt(i) == '.'\r\n\t\t\t\t\t\t\t\t\t|| tokens[0].charAt(i) == '_'\r\n\t\t\t\t\t\t\t\t\t|| tokens[0].charAt(i) == '-' || Character\r\n\t\t\t\t\t\t\t\t\t\t.isLetterOrDigit(tokens[0].charAt(i)))) {\r\n\t\t\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\treturn true;\r\n\t\t\t\t\t}\r\n\t\t\t\t} else {\r\n\t\t\t\t\treturn true;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn result;\r\n\t}",
"public void setId(final int pID) throws IllegalArgumentException;",
"public void setID(int value) {\n this.id = value;\n }",
"public void setAuthId(java.lang.String param){\r\n \r\n if (param != null){\r\n //update the setting tracker\r\n localAuthIdTracker = true;\r\n } else {\r\n localAuthIdTracker = false;\r\n \r\n }\r\n \r\n this.localAuthId=param;\r\n \r\n\r\n }",
"private void AutoID() {\n throw new UnsupportedOperationException(\"Not supported yet.\"); //To change body of generated methods, choose Tools | Templates.\n }",
"List<Long> getAuthorisedList( Long id) ;",
"public void testGetId_Default_Accuracy() {\r\n assertEquals(\"The id value should be got properly.\", -1, auditDetail.getId());\r\n }",
"public interface IDs {\n\n static final String SERIES_STANDARD_ID = \"c7fb8441-d5db-4113-8af0-e4ba0c3f51fd\";\n static final String EPISODE_STANDARD_ID = \"a99a8588-93df-4811-8403-fe22c70fa00a\";\n static final String FILE_STANDARD_ID = \"c5919cbf-fbf3-4250-96e6-3fefae51ffc5\";\n static final String RECORDING_STANDARD_ID = \"4a40811d-c067-467f-8ff6-89f37eddb933\";\n static final String ZAP2IT_STANDARD_ID = \"545c4b00-5409-4d92-9cda-59a44f0ec7a9\";\n}",
"@Test\n\tpublic void adminIDTest() {\n\t\tString string1 = \"admin\";\n\t\tassertTrue(AdminValidator.isValidAdmin(string1));\n\n\t\tString string2 = \"username\";\n\t\tassertTrue(AdminValidator.isValidAdmin(string2));\n\n\t\tString string3 = \"\";\n\t\tassertFalse(AdminValidator.isValidAdmin(string3));\n\n\n\t\tString string4 = \"admin%\";\n\t\tassertFalse(AdminValidator.isValidAdmin(string4));\n\t}",
"public void setUser1W_ID (int User1W_ID);",
"boolean hasSecId();",
"String getId();"
] | [
"0.603673",
"0.5732596",
"0.5647633",
"0.56080455",
"0.55359685",
"0.55359685",
"0.55359685",
"0.55359685",
"0.55359685",
"0.55359685",
"0.55359685",
"0.55359685",
"0.55359685",
"0.55327654",
"0.5499688",
"0.5494421",
"0.54305303",
"0.542711",
"0.54179716",
"0.54018396",
"0.53931457",
"0.5381778",
"0.53804135",
"0.5378518",
"0.5360193",
"0.5332316",
"0.53011066",
"0.5294062",
"0.52929837",
"0.52765256",
"0.5276461",
"0.5276461",
"0.5276461",
"0.5276461",
"0.5276461",
"0.5276461",
"0.5276461",
"0.5276461",
"0.5276461",
"0.5276461",
"0.5276461",
"0.5276461",
"0.5276461",
"0.5276461",
"0.5276461",
"0.5276461",
"0.5276461",
"0.5276461",
"0.5276461",
"0.5276461",
"0.5276461",
"0.5276461",
"0.5276461",
"0.5276461",
"0.5276461",
"0.5276461",
"0.5276461",
"0.5276461",
"0.5276461",
"0.5274382",
"0.5228484",
"0.5223451",
"0.5215046",
"0.52123296",
"0.5200764",
"0.51914495",
"0.5191145",
"0.51845664",
"0.5184416",
"0.51761055",
"0.51631373",
"0.51589394",
"0.51543593",
"0.5146661",
"0.51412946",
"0.5134722",
"0.5133732",
"0.5127813",
"0.5121577",
"0.5116967",
"0.5106834",
"0.510627",
"0.51044714",
"0.5101008",
"0.50892365",
"0.5080626",
"0.508037",
"0.50789404",
"0.5078283",
"0.5075973",
"0.5071867",
"0.5071323",
"0.5066295",
"0.5057085",
"0.504835",
"0.503981",
"0.5032041",
"0.5026551",
"0.50146765",
"0.5013873",
"0.50132465"
] | 0.0 | -1 |
HELPERS Common code for both project and sample, to get data by listofidentifiers. | private List<Long> getListOfAuthorizedById(
List<Long> ids,
String username,
ResponseToFailedAuthorization failureResponse,
AccessLevel accessLevel,
Session session,
String securedIdsQuery,
String openAndSecuredIdsQuery,
String securedParamListName,
String openParamListName,
String returnVarName
) throws Exception {
ids = uniquifyIds(ids);
String queryStr;
if ( accessLevel == AccessLevel.View ) {
queryStr = openAndSecuredIdsQuery.replace( PROJ_GRP_SUBST_STR, VIEW_PROJECT_GROUP_FIELD );
}
else {
queryStr = securedIdsQuery.replace( PROJ_GRP_SUBST_STR, EDIT_PROJECT_GROUP_FIELD );
}
NativeQuery query = session.createNativeQuery( queryStr );
query.addScalar( returnVarName, StandardBasicTypes.STRING );
if ( accessLevel == AccessLevel.View ) {
query.setParameterList( openParamListName, ids );
}
query.setParameterList( securedParamListName, ids );
String queryUsername = username == null ? UNLOGGED_IN_USER : username;
query.setParameter( USERNAME_PARAM, queryUsername );
logger.debug(query.getQueryString());
List<Long> rtnVal = query.list();
if ( failureResponse == ResponseToFailedAuthorization.ThrowException &&
rtnVal.size() < ids.size() ) {
String idStr = joinIdList( ids );
String message = makeUserReadableMessage( username, idStr );
logger.error( message );
throw new ForbiddenResourceException( message );
}
return rtnVal;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"List<ProductInfoOutput> findList(List<String> productIdList);",
"public abstract List get(List oids) throws OIDDoesNotExistException;",
"List<CptDataStore> selectByExample(CptDataStoreExample example);",
"List<PaasCustomAutomationRecord> selectByExample(PaasCustomAutomationRecordExample example);",
"public interface IDs {\n\n static final String SERIES_STANDARD_ID = \"c7fb8441-d5db-4113-8af0-e4ba0c3f51fd\";\n static final String EPISODE_STANDARD_ID = \"a99a8588-93df-4811-8403-fe22c70fa00a\";\n static final String FILE_STANDARD_ID = \"c5919cbf-fbf3-4250-96e6-3fefae51ffc5\";\n static final String RECORDING_STANDARD_ID = \"4a40811d-c067-467f-8ff6-89f37eddb933\";\n static final String ZAP2IT_STANDARD_ID = \"545c4b00-5409-4d92-9cda-59a44f0ec7a9\";\n}",
"void getPersonQrData(String storeCode);",
"protected abstract List performQuery(String[] ids);",
"List<T> getEntitiesByIds(List<ID_TYPE> ids) throws NotImplementedException;",
"identifierList getIdentifierList();",
"@Override\n List<RefCertificationLevel> getItemsFromIds( List<Integer> listIds )\n {\n List<RefCertificationLevel> listRefCertificationLevel = RefCertificationLevelHome.getRefCertificationLevelsListByIds( listIds );\n\n // keep original order\n return listRefCertificationLevel.stream( ).sorted( Comparator.comparingInt( notif -> listIds.indexOf( notif.getId( ) ) ) )\n .collect( Collectors.toList( ) );\n }",
"public String[] getVariants(int[] randIds){\n Cursor crs;\n String[] variants = new String[4];\n for(int i = 0; i< 4; i++){\n String[] args = new String[1];\n args[0] = Integer.toString(randIds[i]+1);\n crs = aniDB.getReadableDatabase().rawQuery(\"SELECT name FROM titles WHERE id = ?\",args);\n if(crs.moveToFirst()) {\n variants[i] = crs.getString(crs.getColumnIndex(\"name\"));\n }\n crs.close();\n }\n return variants;\n }",
"@Override\n\tpublic Seq getbyidentifier(String identifier) {\n\t\tConnection conn = null;\n \tPreparedStatement pstmt=null;\n \tResultSet rs;\n \tSeq seq=null;List<Seq> seqs=new ArrayList<>();\n ProcessesDAO pdao = new ProcessesDAO();\n \ttry {\n \t\tString url = \"jdbc:sqlite:src\\\\database\\\\AT2_Mobile.db\";\n \t\tconn = DriverManager.getConnection(url);\n\t \tpstmt = conn.prepareStatement(\n\t \t \"select * from seq where identifier = ?\"); \n\t \t \n\t \tpstmt.setString(1,identifier); \n\t\n\t \trs = pstmt.executeQuery(); \n\t \twhile (rs.next()) {\n\t \t\tseqs.add(new Seq(rs.getInt(\"id\"), pdao.getbyidentifier(rs.getString(\"identifier\")), rs.getInt(\"seq_number\")));\n\t \t}\n\t \trs.close(); \n\t \tpstmt.close();\n\n } catch (SQLException e) {\n System.out.println(e.getMessage());\n } finally {\n \ttry {\n if (conn != null) {\n conn.close();\n }\n } catch (SQLException ex) {\n System.out.println(ex.getMessage());\n }\n\n }\n \tif(seqs==null || seqs.size()==0) {\n \t\tSystem.out.println(\"No value found\");\n \t\n \t}else if(seqs.size()>1){\n \t\tSystem.out.println(\"Too many values found for a unique value\");\n \t}else {\n \t\tseq = seqs.get(0);\n \t\t//System.out.println(\"tkharbi9a\");\n \treturn seq;\n \t}\n \t//System.out.println(\"tkharbi9a2\");\n \treturn null;\n \t}",
"List<mailIdentify> selectByExample(mailIdentifyExample example);",
"private static void fetch_all_project_info(Statement stmt, String project_identifier, ResultSet project_rset)\r\n\t\t\tthrows SQLException {\r\n\t\tint get_project_id = 0;\r\n\t\ttry {\r\n\t\t\tint project_id = Integer.parseInt(project_identifier);\r\n\t\t\twhile (project_rset.next()) {\r\n\t\t\t\tif (project_rset.getInt(\"project_id\") == project_id) {\r\n\t\t\t\t\tSystem.out.println(\r\n\t\t\t\t\t\t\t\"ID: \" + project_rset.getInt(\"project_id\") + \r\n\t\t\t\t\t\t\t\"\\nName: \" + project_rset.getString(\"project_name\") + \r\n\t\t\t\t\t\t\t\"\\nBuilding Type: \" + project_rset.getString(\"building_type\") + \r\n\t\t\t\t\t\t\t\"\\nPhysical Address: \" + project_rset.getString(\"physical_address\") + \r\n\t\t\t\t\t\t\t\"\\nErf Number: \" + project_rset.getInt(\"erf_num\") + \r\n\t\t\t\t\t\t\t\"\\nCharged: R\" + project_rset.getInt(\"charged\") + \r\n\t\t\t\t\t\t\t\"\\nDue on: \" + project_rset.getDate(\"deadline_date\") + \r\n\t\t\t\t\t\t\t\"\\nPaid: R\" + project_rset.getInt(\"paid\") + \r\n\t\t\t\t\t\t\t\"\\nComplete On: \" + project_rset.getDate(\"completion_date\") +\r\n\t\t\t\t\t\t\t\"\\nStatus: \" + project_rset.getString(\"status\"));\r\n\t\t\t\t\tget_project_id = project_rset.getInt(\"project_id\");\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tcatch(Exception e) {\r\n\t\t\t System.out.println(\"No ID detected. Searching by name\");\r\n\t\t\t while (project_rset.next()) {\r\n\t\t\t\t\tif (project_rset.getString(\"project_name\").equals(project_identifier)) {\r\n\t\t\t\t\t\tSystem.out.println(\r\n\t\t\t\t\t\t\t\t\"ID: \" + project_rset.getInt(\"project_id\") + \r\n\t\t\t\t\t\t\t\t\"\\nName: \" + project_rset.getString(\"project_name\") + \r\n\t\t\t\t\t\t\t\t\"\\nBuilding Type: \" + project_rset.getString(\"building_type\") + \r\n\t\t\t\t\t\t\t\t\"\\nPhysical Address: \" + project_rset.getString(\"physical_address\") + \r\n\t\t\t\t\t\t\t\t\"\\nErf Number: \" + project_rset.getInt(\"erf_num\") + \r\n\t\t\t\t\t\t\t\t\"\\nCharged: R\" + project_rset.getInt(\"charged\") + \r\n\t\t\t\t\t\t\t\t\"\\nDue on: \" + project_rset.getDate(\"deadline_date\") + \r\n\t\t\t\t\t\t\t\t\"\\nPaid: R\" + project_rset.getInt(\"paid\") + \r\n\t\t\t\t\t\t\t\t\"\\nComplete On: \" + project_rset.getDate(\"completion_date\") +\r\n\t\t\t\t\t\t\t\t\"\\nStatus: \" + project_rset.getString(\"status\"));\r\n\t\t\t\t\t\tget_project_id = project_rset.getInt(\"project_id\");\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\tString strSelectPeople = String.format(\"SELECT * FROM people WHERE projects = '%s';\", get_project_id);\r\n\t\tResultSet people_rset = stmt.executeQuery(strSelectPeople);\r\n\r\n\t\twhile (people_rset.next()) {\r\n\t\t\tif (people_rset.getString(\"type\").equals(\"Customer\")) {\r\n\t\t\t\tSystem.out.println(\r\n\t\t\t\t\t\t\"\\nCustomer:\" +\r\n\t\t\t\t\t\t\"\\nName: \" + people_rset.getString(\"name\") + \" \" + people_rset.getString(\"surname\") + \r\n\t\t\t\t\t\t\"\\nContact: \" + people_rset.getString(\"email_address\") + \" \" + people_rset.getString(\"telephone_number\") + \r\n\t\t\t\t\t\t\"\\nAddress: \" + people_rset.getString(\"address\"));\r\n\t\t\t}\r\n\t\t\tif (people_rset.getString(\"type\").equals(\"Contractor\")) {\r\n\t\t\t\tSystem.out.println(\r\n\t\t\t\t\t\t\"\\nContractor:\" +\r\n\t\t\t\t\t\t\"\\nName: \" + people_rset.getString(\"name\") + \" \" + people_rset.getString(\"surname\") + \r\n\t\t\t\t\t\t\"\\nContact: \" + people_rset.getString(\"email_address\") + \" \" + people_rset.getString(\"telephone_number\") + \r\n\t\t\t\t\t\t\"\\nAddress: \" + people_rset.getString(\"address\"));\r\n\t\t\t}\r\n\t\t\tif (people_rset.getString(\"type\").equals(\"Architect\")) {\r\n\t\t\t\tSystem.out.println(\r\n\t\t\t\t\t\t\"\\nArchitect:\" +\r\n\t\t\t\t\t\t\"\\nName: \" + people_rset.getString(\"name\") + \" \" + people_rset.getString(\"surname\") + \r\n\t\t\t\t\t\t\"\\nContact: \" + people_rset.getString(\"email_address\") + \" \" + people_rset.getString(\"telephone_number\") + \r\n\t\t\t\t\t\t\"\\nAddress: \" + people_rset.getString(\"address\"));\r\n\t\t\t}\r\n\t\t\tif (people_rset.getString(\"type\").equals(\"Project Manager\")) {\r\n\t\t\t\tSystem.out.println(\r\n\t\t\t\t\t\t\"\\nProject Manager:\" +\r\n\t\t\t\t\t\t\"\\nName: \" + people_rset.getString(\"name\") + \" \" + people_rset.getString(\"surname\") + \r\n\t\t\t\t\t\t\"\\nContact: \" + people_rset.getString(\"email_address\") + \" \" + people_rset.getString(\"telephone_number\") + \r\n\t\t\t\t\t\t\"\\nAddress: \" + people_rset.getString(\"address\"));\r\n\t\t\t}\r\n\t\t}\r\n\t}",
"private Collection<String[]> getPatientIds(String subjectCid) throws Throwable {\n\t\tXmlDocMaker doc = new XmlDocMaker(\"args\");\n\t\tdoc.add(\"size\", \"infinity\");\n\t\tdoc.add(\"action\", \"get-meta\");\n\t\tdoc.add(\"where\", \"cid starts with '\" + subjectCid\n\t\t\t\t+ \"' and model='om.pssd.study' and mf-dicom-study has value\");\n\t\tdoc.add(\"pdist\", 0); // Force local\n\t\tXmlDoc.Element r = executor().execute(\"asset.query\", doc.root());\n\t\tCollection<String> dicomStudyCids = r.values(\"asset/cid\");\n\t\tif (dicomStudyCids == null) {\n\t\t\treturn null;\n\t\t}\n\t\tVector<String[]> patientIds = new Vector<String[]>();\n\t\tfor (String dicomCid : dicomStudyCids) {\n\t\t\tString[] patientId = getPatientIdFromDicomStudy(dicomCid);\n\t\t\tif (patientId != null) {\n\t\t\t\tboolean exists = false;\n\t\t\t\tfor (String[] patientId2 : patientIds) {\n\t\t\t\t\tif (patientId2[0].equals(patientId[0])\n\t\t\t\t\t\t\t&& patientId2[1].equals(patientId[1])\n\t\t\t\t\t\t\t&& patientId2[2].equals(patientId[2])) {\n\t\t\t\t\t\texists = true;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (!exists) {\n\t\t\t\t\tpatientIds.add(patientId);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn patientIds;\n\n\t}",
"List selectByExample(Mi004Example example);",
"public interface IdentifierIndexIF extends IndexIF {\n \n /**\n * PUBLIC: Returns all the item identifiers of all the objects in the topicmap.\n * @return all the item identifiers of all the objects in the topicmap.\n * @since 5.4.0\n */\n Collection<LocatorIF> getItemIdentifiers();\n\n /**\n * PUBLIC: Returns all the item identifiers of all the objects in the topicmap that start with\n * the provided prefix.\n * @return all the matched item identifiers\n * @since 5.4.0\n */\n Collection<LocatorIF> getItemIdentifiersByPrefix(String prefix);\n \n /**\n * PUBLIC: Returns all the subject identifiers of all the topics in the topicmap.\n * @return all the subject identifiers of all the topics in the topicmap.\n * @since 5.4.0\n */\n Collection<LocatorIF> getSubjectIdentifiers();\n\n /**\n * PUBLIC: Returns all the subject identifiers of all the topics in the topicmap that start with\n * the provided prefix.\n * @return all the matched subject identifiers\n * @since 5.4.0\n */\n Collection<LocatorIF> getSubjectIdentifiersByPrefix(String prefix);\n \n}",
"public List<String> dcIdentifierLookup(String identifier) throws FedoraException, IOException {\r\n String riSearchUrl = this.fedoraBaseUrl + (this.fedoraBaseUrl.endsWith(\"/\") ? \"\" : \"/\") + \"risearch?type=tuples&lang=itql&format=Sparql&query=select%20%24member%20from%20%3C%23ri%3E%20where%20%24member%20%3Cdc%3Aidentifier%3E%20'\" + URLEncoder.encode(identifier, \"UTF-8\")+ \"'\";\r\n try {\r\n List<String> pids = new ArrayList<String>();\r\n Document doc = parseUrlAsXmlDocument(riSearchUrl);\r\n NodeList children = (NodeList) this.getXPath().evaluate(\"//sparql:sparql/sparql:results/sparql:result/sparql:member\", doc, XPathConstants.NODESET);\r\n if (children.getLength() == 0) {\r\n LOGGER.warn(\"No object found with dc.identifier=\\\"\" + identifier + \"\\\"\");\r\n return pids;\r\n } else {\r\n \r\n for (int i = 0; i < children.getLength(); i ++) {\r\n String pid = ((Element) children.item(i)).getAttribute(\"uri\").replace(\"info:fedora/\", \"\");\r\n LOGGER.debug(\"PID, \\\"\" + pid + \"\\\", found object with dc.identifier=\\\"\" + identifier + \"\\\"\");\r\n pids.add(pid);\r\n }\r\n return pids;\r\n }\r\n } catch (MalformedURLException ex) {\r\n throw new FedoraException(ex);\r\n } catch (SAXException ex) {\r\n throw new FedoraResponseParsingException(ex);\r\n } catch (ParserConfigurationException ex) {\r\n throw new FedoraResponseParsingException(ex);\r\n } catch (XPathExpressionException ex) {\r\n throw new FedoraException(ex);\r\n }\r\n }",
"public String[] getVariants_ru(int[] randIds){\n Cursor crs;\n String[] variants_ru = new String[4];\n for(int i = 0; i< 4; i++){\n String[] args = new String[1];\n args[0] = Integer.toString(randIds[i]+1);\n crs = aniDB.getReadableDatabase().rawQuery(\"SELECT name_ru FROM titles WHERE id = ?\",args);\n if(crs.moveToFirst()) {\n variants_ru[i] = crs.getString(crs.getColumnIndex(\"name_ru\"));\n }\n crs.close();\n }\n return variants_ru;\n }",
"ArrayList<Storydetail> selectAll(Integer mapId);",
"List<EssayQuestionDetail> findByIdIn(List<Long> detailIds);",
"List<StudentDto> getStudentsBySchoolYearIdAndListOfIds(Long schoolYearId, List<Long> studentIds);",
"public static void main(String ...strings ){\n \tSystem.out.println(getGUID(\"COM\",\"454273\",\"7650023554\"));\n \tSystem.out.println(getGUID(\"COM\",\"454274\",\"7650023555\"));\n \t\n \t\n }",
"public void getIdentifiers() throws IOException{\n okhttp3.Request request = new okhttp3.Request.Builder()\n .url(BASE_URL+\"/reportesList\")\n .build();\n\n client.newCall(request).enqueue(new Callback(){\n\n @Override\n public void onFailure(Call call, IOException e) {\n\n }\n\n @Override\n public void onResponse(Call call, Response response) throws IOException {\n try {\n JSONArray reportes = new JSONArray(response.body().string());\n ArrayList<String> reportesText = new ArrayList<String>();\n\n for (int i = 0; i < reportes.length(); i++) {\n JSONObject js = reportes.getJSONObject(i);\n String id = js.getString(\"identificador\");\n reportesText.add(id);\n }\n }\n catch(Exception e){\n e.printStackTrace();\n }\n }\n });\n\n }",
"List<SysId> selectByExample(SysIdExample example);",
"Set<String> getIdentifiers();",
"ArrayList<Feature> getFeatures(String userid, String project)throws Exception;",
"@SuppressWarnings(\"unused\")\n // Possible external use\n Collection<ExpressionExperimentDetailsValueObject> retrieveSummaryObjects( Collection<Long> ids );",
"List<ConfigData> selectByExample(ConfigDataExample example);",
"private Map<Long, List<LikeDetail>> internalFindByJournalIds(Collection<Long> journalIds) {\n return withSelectFromTable(\"WHERE JOURNAL_ID IN (:journalIds) AND CREATE_DATETIME>=:start\")\n .useParams(MiscUtils.m(\"journalIds\", journalIds, \"start\", ZoneConstants.getClazzJournalStartDate()))\n .queryAll()\n .stream()\n .collect(Collectors.groupingBy(LikeDetail::getJournalId));\n }",
"List<PdfCodeTemporary> selectByExample(PdfCodeTemporaryExample example);",
"public void getDisasterMaps( List<String> idList, AsyncHttpResponseHandler handler ) {\n String apiURL = \"\";\n \n for ( String id : idList ) {\n apiURL = String.format(DETAILS_URL, id);\n // Log.d(\"DEBUG\", \"Making 2nd call to \" + apiURL );\n client.get(apiURL, handler);\n }\n \n }",
"public static void main(String[] args) throws SQLException {\n StandAloneDataSource ds = new StandAloneDataSource(\"jdbc:postgresql://localhost:9999/NACID/\", \"postgres\", \"postgres\");\n ApplicationsDB db = new ApplicationsDB(ds, new NomenclaturesDB(ds));\n List<PersonRecord> persons = db.selectRecords(SQL, PersonRecord.class);\n List<CountryRecord> countries = db.selectRecords(CountryRecord.class,null);\n Map<Integer, CountryRecord> countriesMap = new HashMap<Integer, CountryRecord>();\n for (CountryRecord c:countries) {\n countriesMap.put(c.getId(), c);\n }\n Set<Integer> ids = new HashSet<Integer>();\n for (PersonRecord p:persons) {\n List<PersonRecord> personsByCivilIdType = db.selectRecords(PersonRecord.class, \"civil_id = ? and civil_id_type = ? order by id\", p.getCivilId(), p.getCivilIdType());\n for (int i = 0; i < personsByCivilIdType.size(); i++) {\n PersonRecord pr = personsByCivilIdType.get(i);\n ids.add(pr.getId());\n }\n }\n persons = db.selectRecords(PersonRecord.class, \"id in ( \" + StringUtils.join(ids, \",\") + \") order by civil_id, civil_id_type\");\n for (PersonRecord p:persons) {\n CountryRecord birthCountry = countriesMap.get(p.getBirthCountryId());\n CountryRecord citizenship = countriesMap.get(p.getCitizenshipId());\n System.out.println(p.getFName() + \"\\t\" + p.getSName() + \"\\t\" + p.getLName() + \"\\t\" + p.getCivilIdType() + \"\\t`\" + p.getCivilId() + \"\\t\" + (birthCountry == null ? \"\" : birthCountry.getName()) + \"\\t\" + (citizenship == null ? \"\" : citizenship.getName()) + \"\\t\" + p.getBirthDate() + \"\\t\" + p.getBirthCity());\n }\n System.out.println(StringUtils.join(persons, \"\\n\"));\n }",
"List<LoginRecordDO> selectByExample(LoginRecordDOExample example);",
"public static void main(String[] args) {\n\t\tTestLinkAPIClient testlinkAPIClient = new TestLinkAPIClient(CyborgConstants.DEVKEY,CyborgConstants.URL);\n\t\ttry {\n\t\t\tString ProjectId=null;\n\t\t\tString TestSuiteId=null;\n\t\t\tArrayList<Integer> TestSuitesId = new ArrayList<Integer>();\n\t\t\tTestLinkAPIResults projResult= testlinkAPIClient.getProjects();\n\t\t for (int i = 0; i < projResult.size(); i++) {\n\t\t \tif(projResult.getValueByName(i, \"name\").equals(ProjectName)){\n\t\t \t\t ProjectId= (String) projResult.getValueByName(i, \"id\");\n\t\t \t\t System.out.println(projResult.getValueByName(i, \"name\"));\n\t\t \t\t break;\n\t\t \t\t \n\t\t \t}\n\t\t\t}\n\t\t \n\t\t\t String TestPalns[]= TestPlan.split(\",\");\n\t\t\t for (int k = 0; k < TestPalns.length; k++) {\n\t\t\t\tTestLinkAPIResults testSuiteResults=testlinkAPIClient.getTestSuitesForTestPlan(ProjectName, TestPalns[k]);\n\t\t\t\t//System.out.println(\"TestPalns[k]===\"+TestPalns[k]);\n\t\t\t\tfor (int l = 0; l < testSuiteResults.size(); l++) {\n\t\t\t\t\t//System.out.println(\"TestSuite===\"+TestSuite);\n\t\t\t\t\t//System.out.println(\"Suite Name===\"+testSuiteResults.getValueByName(l, \"name\"));\n\t\t\t\t\tString TestSuites[]= TestSuite.split(\",\");\n\t\t\t\t\tfor (int z = 0; z < TestSuites.length; z++){\n\t\t\t\t\t\t\tif(testSuiteResults.getValueByName(l, \"name\").equals(TestSuites[z])){\n\t\t\t\t\t\t\tSystem.out.println(testSuiteResults.getValueByName(l, \"name\").equals(TestSuites[z]));\n\t\t\t\t\t\t\t TestSuiteId= (String) testSuiteResults.getValueByName(l, \"id\");\n\t\t\t\t\t\t\t// System.out.println(\"SuiteNamer===\"+testSuiteResults.getValueByName(l, \"name\"));\n\t\t\t\t\t\t\tString SuiteName=(String)testSuiteResults.getValueByName(l, \"name\");\n\t\t\t\t\t\t\t getTestCases(testlinkAPIClient, ProjectId, TestSuiteId,SuiteName);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\t\t\t\t\n\t\t }\n\t\t\t \n\t\t \n\t\t} catch (TestLinkAPIException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"List<DictDoseUnit> selectByExample(DictDoseUnitExample example);",
"@Test\n @Ignore\n public void testReadAll_Identifier() {\n System.out.println(\"readAll\");\n Identifier id = null;\n IndexDaoImpl instance = null;\n List<Index> expResult = null;\n List<Index> result = instance.readAll(id);\n assertEquals(expResult, result);\n // TODO review the generated test code and remove the default call to fail.\n fail(\"The test case is a prototype.\");\n }",
"@Query(\"SELECT * FROM test WHERE patientId IN (:patientId)\")\n LiveData<List<Test>> getTestByPatiendId(int patientId);",
"private static String[] getStringBasedOnCoordinate(String idNames, String[] id_to_coord_list){\n String[] subID = idNames.split(\"\\\\n\");\n String[] string_of_id = new String[subID.length-1];\n for(int i=1; i< subID.length; i++){\n string_of_id[i-1] = id_to_coord_list[Integer.parseInt(subID[i])-1];\n }\n return string_of_id;\n }",
"public void testLoadContentsId_1() throws Throwable {\n \tList<String> list = null;\n\t\ttry {\n\t\t\tlist = _contentSearcherDao.loadPublicContentsId(\"ART\", null, null, null);\n\t\t} catch (Throwable t) {\n\t\t\tthrow t;\n\t\t}\n\t\tassertEquals(4, list.size());\n\t\tassertFalse(list.contains(\"ART179\"));//contenuto non on-line\n\t\tassertTrue(list.contains(\"ART180\"));\n\t\tassertTrue(list.contains(\"ART187\"));\n\t\tassertTrue(list.contains(\"ART121\"));//contenuto administrator abilitato ai free\n\t\tassertFalse(list.contains(\"ART102\"));//contenuto di gruppo customers\n\t}",
"public List<PaymentRequestDocument> getPaymentRequestsToExtract(String campusCode, Integer paymentRequestIdentifier, Integer purchaseOrderIdentifier, Integer vendorHeaderGeneratedIdentifier, Integer vendorDetailAssignedIdentifier, Date currentSqlDateMidnight);",
"List<Disease> selectByExample(DiseaseExample example);",
"private List<DataSource> getProcessedResults (List<DataSource> listOfDataSource, Page pageDetail) {\n List<DataSource> dataSourceList = listOfDataSource;\n List<PageSearch> searchList = pageDetail.getSearchList();\n if (ExecueCoreUtil.isCollectionNotEmpty(searchList)) {\n // TODO: -JM- Currently there will be only one search object, change later if there are multiple searches\n PageSearch search = searchList.get(0);\n // check for the search info\n if (PageSearchType.STARTS_WITH == search.getType()) {\n dataSourceList = new ArrayList<DataSource>();\n for (DataSource dataSource : dataSourceList) {\n // TODO: -JM- use the field from the search object\n String cDispName = dataSource.getName();\n if (cDispName.toLowerCase().startsWith(search.getString().toLowerCase())) {\n dataSourceList.add(dataSource);\n }\n }\n } else if (PageSearchType.CONTAINS == search.getType()) {\n dataSourceList = new ArrayList<DataSource>();\n for (DataSource dataSource : dataSourceList) {\n String cDispName = dataSource.getName();\n if (cDispName.toLowerCase().startsWith(search.getString().toLowerCase())) {\n dataSourceList.add(dataSource);\n }\n }\n }\n }\n // modify the page object with the new record count which will modify the page count as well\n pageDetail.setRecordCount(Long.valueOf(dataSourceList.size()));\n List<DataSource> pageDataSources = new ArrayList<DataSource>();\n // manipulate the list to return the set of concepts belonging to the page requested\n int start = (pageDetail.getRequestedPage().intValue() - 1) * pageDetail.getPageSize().intValue();\n int end = start + pageDetail.getPageSize().intValue();\n if (end > pageDetail.getRecordCount().intValue()) {\n end = (pageDetail.getRecordCount().intValue());\n }\n for (int i = start; i < end; i++) {\n pageDataSources.add(dataSourceList.get(i));\n }\n return pageDataSources;\n }",
"Map getIDPEXDataMap();",
"ResponseEntity<Response> placesInCommon(String userId1, String listName1, String userId2, String listName2);",
"public List<Object[]> listAgentIdName();",
"java.lang.String getDataId();",
"java.lang.String getDataId();",
"@Test\n public void testGetMediumByTitle_Sheet_String()throws Exception {\n System.out.println(\"getMediumByTitle\");\n \n String title = \"a\";\n DBManager instance = new ODSDBManager(\"long.ods\");\n Sheet sheet = database.getSheet(\"c\");\n List<Medium> result = instance.getMediumByTitle(sheet, title);\n \n for(Medium medium:result){\n for(String value:data[0]){\n assertTrue(medium.getTitles().contains(value));\n \n }\n assertFalse(medium.getTitles().contains(\"c\"));\n }\n \n// fail(\"The test case is a prototype.\");\n }",
"List<Resource> selectByExample(ResourceExample example);",
"public interface HealthBlockRecordsDataService extends MotechDataService<HealthBlock> {\n\n /**\n * finds the Health Block details by its parent code\n *\n * @param stateCode\n * @param districtCode\n * @param talukaCode\n * @param healthBlockCode\n * @return HealthBlock\n */\n @Lookup\n HealthBlock findHealthBlockByParentCode(@LookupField(name = \"stateCode\") Long stateCode, @LookupField(name = \"districtCode\") Long districtCode,\n @LookupField(name = \"talukaCode\") Long talukaCode, @LookupField(name = \"healthBlockCode\") Long healthBlockCode);\n\n}",
"@DirtiesDatabase\n\t@Test\n\tpublic void testRetrieveByBundleConstituentList() {\n\t\tcreateBundles();\n\t\tcreatePA(\"P1\", \"PA1\", \"PLGUID\", \"CGUID\");\n\t\tcreatePA(\"P1\", \"PA2\", \"PLGUID\", \"C2GUID\");\n\t\t\n\t\t\n\t\tPriceAdjustmentDao dao = getBeanFactory().getBean(\"priceAdjustmentDao\");\n\t\tCollection<String> bcList = new ArrayList<String>();\n\t\tbcList.add(\"CGUID\");\n\t\tbcList.add(\"C2GUID\");\n\t\tCollection<PriceAdjustment> assignments = dao.findByPriceListBundleConstituents(\"PLGUID\", bcList);\n\t\tassertEquals(2, assignments.size());\n\t}",
"Records_type createRecordsFor(SearchTask st,\n int[] preferredRecordSyntax,\n int start,\n int count, String recordFormatSetname)\n {\n Records_type retval = new Records_type();\n \n LOGGER.finer(\"createRecordsFor(st, \"+start+\",\"+count+\")\");\n LOGGER.finer(\"pref rec syn = \" + preferredRecordSyntax);\n LOGGER.finer(\"record setname = \" + recordFormatSetname);\n LOGGER.finer(\"search task = \" + st);\n \n // Try and do a normal present\n try\n {\n \tif ( start < 1 ) \n \t throw new PresentException(\"Start record must be > 0\",\"13\");\n \tint numRecs = st.getTaskResultSet().getFragmentCount();\n \t\n \tLOGGER.finer(\"numresults = \" + numRecs);\n \tint requestedNum = start + count - 1;\n \tif ( requestedNum > numRecs ) {\n \t count = numRecs - (start - 1);\n \t if (start + count -1 > numRecs) {\n \t\tLOGGER.finer(requestedNum + \" < \" + numRecs);\n \t\tthrow new PresentException\n \t\t (\"Start+Count-1 (\" +requestedNum + \") must be < the \" + \n \t\t \" number of items in the result set: \" +numRecs ,\"13\");\n \t }\n \t}\n \t\n \t\n \tif ( st == null )\n \t throw new PresentException(\"Unable to locate result set\",\"30\");\n \t\n \tVector v = new Vector();\n \tretval.which = Records_type.responserecords_CID;\n \tretval.o = v;\n \t\n \tOIDRegisterEntry requested_syntax = null;\n \tString requested_syntax_name = null;\n \tif ( preferredRecordSyntax != null ) {\n \t requested_syntax = reg.lookupByOID(preferredRecordSyntax);\n \t if(requested_syntax==null) { // unsupported record syntax\n \t\tStringBuffer oid=new StringBuffer();\n \t\tfor(int i=0; i<preferredRecordSyntax.length; i++) {\n \t\t if(i!=0)\n \t\t\toid.append('.');\n \t\t oid.append(preferredRecordSyntax[i]);\n \t\t}\n \t\tLOGGER.warning(\"Unsupported preferredRecordSyntax=\"\n \t\t\t +oid.toString());\n \t\t\n \t\t// Need to set up diagnostic in here\n \t\tretval.which = Records_type.nonsurrogatediagnostic_CID;\n \t\tDefaultDiagFormat_type default_diag = \n \t\t new DefaultDiagFormat_type();\n \t\tretval.o = default_diag;\n \t\t\n \t\tdefault_diag.diagnosticSetId = reg.oidByName(\"diag-1\");\n \t\tdefault_diag.condition = BigInteger.valueOf(239);\n \t\tdefault_diag.addinfo = new addinfo_inline14_type();\n \t\tdefault_diag.addinfo.which = \n \t\t addinfo_inline14_type.v2addinfo_CID;\n \t\tdefault_diag.addinfo.o = (Object)(oid.toString());\n \t\treturn retval;\n \t }\n \t LOGGER.finer(\"requested_syntax=\"+requested_syntax);\n \t requested_syntax_name = requested_syntax.getName();\n\t if(requested_syntax_name.equals(\"usmarc\")) {\n\t\t//HACK! USMARC not yet supported...\n\t\trequested_syntax_name = \"sutrs\";\n\t }\n \t LOGGER.finer(\"requested_syntax_name=\"+requested_syntax_name);\n \t}\n \telse\n {\n\t requested_syntax_name = \"sutrs\"; //REVISIT: should this be\n \t //default? We're sure to have it...\n \t requested_syntax = reg.lookupByName(requested_syntax_name);\n }\n \t\n \tst.setRequestedSyntax(requested_syntax);\n \tst.setRequestedSyntaxName(requested_syntax_name);\n \t\t\n \tInformationFragment[] raw_records;\n \tRecordFormatSpecification rfSpec = \n \t new RecordFormatSpecification\n \t\t(requested_syntax_name, null, recordFormatSetname);\n \tLOGGER.finer(\"calling getFragment(\"+(start)+\",\"+count+\")\");\n \traw_records = st.getTaskResultSet().getFragment(start, count, rfSpec);\n \t\n \tif ( raw_records == null )\n \t throw new PresentException(\"Error retrieving records\",\"30\");\n \n \tfor ( int i=0; i<raw_records.length; i++ ) {\n \t\tLOGGER.finer(\"Adding record \"+i+\" to result\");\n \t\t\n \t\tNamePlusRecord_type npr = new NamePlusRecord_type();\n \t\tnpr.name = raw_records[i].getSourceCollectionName();\n \t\tnpr.record = new record_inline13_type();\n \t\tnpr.record.which = record_inline13_type.retrievalrecord_CID;\n \t\tEXTERNAL_type rec = new EXTERNAL_type();\n \t\tnpr.record.o = rec;\n \t\t\n \t\tif ( requested_syntax_name.equals(Z3950Constants.RECSYN_HTML) \n \t\t || requested_syntax_name.equals(\"sgml\")) {\n \t\t LOGGER.finer(\"Returning OctetAligned record for \"\n \t\t\t\t +requested_syntax_name);\n rec.direct_reference = \n \t\t\treg.oidByName(requested_syntax_name);\n \t\t rec.encoding = new encoding_inline0_type();\n \t\t rec.encoding.which = \n \t\t\tencoding_inline0_type.octet_aligned_CID;\n \t\t String raw_string = (String)raw_records[i].getOriginalObject();\n \t\t rec.encoding.o = raw_string.getBytes(); \n \t\t if(raw_string.length()==0) {\n \t\t\t\n \t\t\t// can't make a html record\n \t\t\tretval.which = Records_type.nonsurrogatediagnostic_CID;\n \t\t\tDefaultDiagFormat_type default_diag =\n \t\t\t new DefaultDiagFormat_type();\n \t\t\tretval.o = default_diag;\n \t\t\t\n \t\t\tdefault_diag.diagnosticSetId = reg.oidByName(\"diag-1\");\n \t\t\tdefault_diag.condition = BigInteger.valueOf(227);\n \t\t\tdefault_diag.addinfo = new addinfo_inline14_type();\n \t\t\tdefault_diag.addinfo.which = \n \t\t\t addinfo_inline14_type.v2addinfo_CID;\n \t\t\tdefault_diag.addinfo.o = \n \t\t\t (Object)\"1.2.840.10003.5.109.3\";\n \t\t\treturn retval;\n \t\t\t\n \t\t }\n \t\t}\n \t\telse if ( requested_syntax_name.equals\n \t\t\t (Z3950Constants.RECSYN_XML) ) {\n \t\n \t\t // Since XML is our canonical internal schema, \n \t\t //all realisations of InformationFragment\n \t\t // are capable of providing an XML representation of \n \t\t //themselves, so just use the\n \t\t // Fragments getDocument method.\n \t\t LOGGER.finer(\"Returning OctetAligned XML\");\n \t\t java.io.StringWriter sw = new java.io.StringWriter();\n \t\t \n \t\t try\n \t\t\t{\n \t\t\t OutputFormat format = \n \t\t\t\tnew OutputFormat\n \t\t\t\t (raw_records[i].getDocument() );\n \t\t\t XMLSerializer serial = \n \t\t\t\tnew XMLSerializer( sw, format );\n \t\t\t serial.asDOMSerializer();\n \t\t\t serial.serialize( raw_records[i].getDocument().\n \t\t\t\t\t getDocumentElement() );\n \t\t\t}\n \t\t catch ( Exception e )\n \t\t\t{\n \t\t\t LOGGER.severe(\"Problem serializing dom tree to\" + \n \t\t\t\t\t \" result record\" + e.getMessage());\n \t\t\t}\n \t\t \n \t\t rec.direct_reference = \n \t\t\treg.oidByName(requested_syntax_name);\n \t\t rec.encoding = new encoding_inline0_type();\n \t\t rec.encoding.which = \n \t\t\tencoding_inline0_type.octet_aligned_CID;\n \t\t rec.encoding.o = sw.toString().getBytes(); \t \n\t\t} else {//if ( requested_syntax_name.equals\n\t\t // (Z3950Constants.RECSYN_SUTRS)){\n \t\t rec.direct_reference = \n \t\t\treg.oidByName(requested_syntax_name);\n \t\t rec.encoding = new encoding_inline0_type();\n \t\t rec.encoding.which = \n \t\t\tencoding_inline0_type.single_asn1_type_CID;\n \t\t rec.encoding.o = \n \t\t\t((String)(raw_records[i].getOriginalObject()));\n \t\t}\n \t\tv.add(npr);\n \t\t\n \t}\n }\n catch ( PresentException pe ) {\n \tLOGGER.warning(\"Processing present exception: \"+pe.toString());\n \t\n // Need to set up diagnostic in here\n \tretval.which = Records_type.nonsurrogatediagnostic_CID;\n DefaultDiagFormat_type default_diag = new DefaultDiagFormat_type();\n retval.o = default_diag;\n \n default_diag.diagnosticSetId = reg.oidByName(\"diag-1\");\n \n if ( pe.additional != null )\n \t default_diag.condition = \n \t BigInteger.valueOf( Long.parseLong(pe.additional.toString()) );\n else\n default_diag.condition = BigInteger.valueOf(0);\n \n default_diag.addinfo = new addinfo_inline14_type();\n default_diag.addinfo.which = addinfo_inline14_type.v2addinfo_CID;\n default_diag.addinfo.o = (Object)(pe.toString());\n } \n \n LOGGER.finer(\"retval = \" + retval);\n return retval;\n }",
"public List<String> finddetails(long id ) {\n id=id-1;\n Log.d(SimpleTodoActivity.APP_TAG, \"findspecific triggered with ID----->\"+id);\n List<String> tasks = new ArrayList<String>();\n\n try{\n String query = \"SELECT * FROM \"+TABLE_NAME+\" WHERE id=\" + id +\";\";\n\n Cursor c = storage.rawQuery(query, null);\n if (c.moveToFirst()){\n do{\n String title = c.getString(c.getColumnIndex(KEY_TITLE));\n String description = c.getString(c.getColumnIndex(KEY_DESCRIPTION));\n String priority=c.getString(c.getColumnIndex(KEY_PRIORITY));\n String task_date=c.getString(c.getColumnIndex(KEY_TASKDATE));\n String task_group=c.getString(c.getColumnIndex(KEY_GROUP_NAME));\n tasks.add(title);\n tasks.add(description);\n tasks.add(priority);\n tasks.add(task_group);\n tasks.add(task_date);\n }while(c.moveToNext());\n }\n c.close();\n\n }\n catch (Exception e)\n {\n e.printStackTrace();\n }\n\n\n return tasks;\n }",
"private Collection<Object> getOrderedTestNamesByPA(String programArea,String labId)\n{\n\n ArrayList<Object> dtList = null;\n HashMap<Object,Object> ofMap = null;\n\n if(cachedProgAreaFacilityList != null)\n {\n ofMap = (HashMap<Object,Object>) cachedProgAreaFacilityList.get(programArea);\n\n if (ofMap != null)\n dtList = (ArrayList<Object> ) ofMap.get(labId);\n }\n return dtList;\n}",
"Collection<LocatorIF> getItemIdentifiers();",
"private String[] runIdentification1(DigitalObject digo, WorkflowResult wfresult) throws Exception{\r\n\t\tList<Parameter> parameterList = new ArrayList<Parameter>();\t \t\r\n IdentifyResult results = identify1.identify(digo,parameterList);\r\n ServiceReport report = results.getReport();\r\n List<URI> types = results.getTypes();\r\n \r\n if(report.getType() == Type.ERROR){\r\n \tString s = \"Service execution failed: \" + report.getMessage();\r\n \t log.debug(s);\r\n \tthrow new Exception(s);\r\n }\r\n if(types.size()<1){\r\n \tString s = \"The specified file type is currently not supported by this workflow\";\r\n \t log.debug(s);\r\n \tthrow new Exception(s);\r\n }\r\n \r\n String[] strings = new String[types.size()];\r\n int count=0;\r\n for (URI uri : types) {\r\n \tstrings[count] = uri.toASCIIString();\r\n \tlog.debug(strings[count]);\r\n count++;\r\n }\r\n return strings;\r\n\t}",
"IdentifiersFactory getIdentifiersFactory();",
"@Override\n\tprotected List<Resource> extractNeededArticleDetails(List<String> articleIdList) {\n\t\treturn new ArrayList<Resource>();\n\t}",
"@Override\n\tpublic <T extends BasePojo> List<T> queryByIds(String ids) {\n\t\treturn null;\n\t}",
"List<CliStaffProject> selectByExample(CliStaffProjectExample example);",
"CptDataStore selectByPrimaryKey(String id);",
"@Test\n public void testDAM31901001() {\n // in this case, there are different querirs used to generate the ids.\n // the database id is specified in the selectKey element\n testDAM30602001();\n }",
"public void queryDevices(){\r\n\r\n\r\n reportsDb.get().addOnCompleteListener(new OnCompleteListener<QuerySnapshot>() {\r\n\r\n\r\n\r\n\r\n\r\n @Override\r\n public void onComplete(@NonNull Task<QuerySnapshot> task) {\r\n if(task.isSuccessful()){\r\n\r\n\r\n //Gets the snapshot of the database and added into a map data structure\r\n for (QueryDocumentSnapshot doc: task.getResult()){\r\n\r\n\r\n\r\n Map<String, Object> queryData = doc.getData();\r\n\r\n deviceID.add(doc.getId());\r\n deviceNames.add(queryData.get(\"Name\").toString());\r\n\r\n\r\n\r\n }\r\n\r\n //Passing in data into the recycler from the query, to create a list like view\r\n initialiseRecycler(deviceID, deviceNames);\r\n\r\n\r\n\r\n\r\n }\r\n\r\n }\r\n });\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n }",
"public interface ResourceDAO {\n //通过资源信息获取id\n @Select(\" SELECT r.resourceId \" +\n \" FROM btl_resource r \" +\n \" WHERE r.resourceURL = #{resourceURL} \" +\n \" AND r.resourceMethodType = #{resourceMethodType} \" +\n \" AND r.systemId = #{systemId} \")\n public List<Long> findIdByResourceInfo(@Param(\"resourceURL\") String resourceURL,\n @Param(\"resourceMethodType\") int resourceMethodType,\n @Param(\"systemId\") int systemId) ;\n\n //通过资源信息和可用性获取可用id\n @Select(\" SELECT r.resourceId \" +\n \" FROM btl_resource r \" +\n \" WHERE r.resourceURL = #{resourceURL} \" +\n \" AND r.resourceMethodType = #{resourceMethodType} \" +\n \" AND r.systemId = #{systemId} \" +\n \" AND r.state = #{state} \")\n public List<Long> findIdByResourceInfoAndState(@Param(\"resourceURL\") String resourceURL,\n @Param(\"resourceMethodType\") int resourceMethodType,\n @Param(\"systemId\") int systemId,\n @Param(\"state\") int state) ;\n\n //通过ids获取资源记录\n @Select({\"<script>\" ,\n \" SELECT * \",\n \" FROM btl_resource r \",\n \" WHERE r.resourceId IN \",\n \"<foreach item='id' index='index' collection='ids' open='(' separator=',' close=')'>\",\n \"#{id}\",\n \"</foreach>\",\n \"</script>\"})\n public List<ResourceRecord> findByIds(@Param(\"ids\") List<Long> ids) ;\n\n //通过ids获取可用的资源记录\n @Select({\"<script>\" ,\n \" SELECT * \",\n \" FROM btl_resource r \",\n \" WHERE r.state = #{state} \",\n \" AND r.resourceId IN \",\n \"<foreach item='id' index='index' collection='ids' open='(' separator=',' close=')'>\",\n \"#{id}\",\n \"</foreach>\",\n \"</script>\"})\n public List<ResourceRecord> findByIdsAndState(@Param(\"ids\") List<Long> ids , @Param(\"state\") int state) ;\n\n //通过ids获取资源信息\n @Select({\"<script>\" ,\n \" SELECT r.resourceId , r.resourceURL , r.resourceMethodType , r.systemId \",\n \" FROM btl_resource r \",\n \" WHERE r.resourceId IN \",\n \"<foreach item='id' index='index' collection='ids' open='(' separator=',' close=')'>\",\n \"#{id}\",\n \"</foreach>\",\n \"</script>\"})\n public List<ResourceRecord> findIdsWithResourceInfosByIds(@Param(\"ids\") List<Long> ids) ;\n\n //通过ids获取资源名称\n @Select({\"<script>\" ,\n \" SELECT r.resourceId , r.resourceName \",\n \" FROM btl_resource r \",\n \" WHERE r.resourceId IN \",\n \"<foreach item='id' index='index' collection='ids' open='(' separator=',' close=')'>\",\n \"#{id}\",\n \"</foreach>\",\n \"</script>\"})\n public List<ResourceRecord> findIdsWithResourceNameByIds(@Param(\"ids\") List<Long> ids) ;\n\n //通过ids获取资源可用信息\n @Select({\"<script>\" ,\n \" SELECT r.resourceId , r.state \",\n \" FROM btl_resource r \",\n \" WHERE r.resourceId IN \",\n \"<foreach item='id' index='index' collection='ids' open='(' separator=',' close=')'>\",\n \"#{id}\",\n \"</foreach>\",\n \"</script>\"})\n public List<ResourceRecord> findIdsWithStateByIds(@Param(\"ids\") List<Long> ids) ;\n\n\n //获取所有处于某种状态下的资源信息\n @Select(\" SELECT r.resourceId , r.resourceURL , r.resourceMethodType , r.systemId \" +\n \" FROM btl_resource r \" +\n \" WHERE r.state = #{state} \")\n public List<ResourceRecord> findIdsWithResourceInfoByState(@Param(\"state\") int state) ;\n\n //通过名字获取资源记录(分页)\n @Select(\" SELECT * \" +\n \" FROM btl_resource r \" +\n \" WHERE r.resourceName LIKE CONCAT('%' , #{name} , '%') \" +\n \" LIMIT ${skip},${size} \")\n public List<ResourceRecord> findByNameInPage(@Param(\"name\") String name,\n @Param(\"skip\") int skip,\n @Param(\"size\") int size);\n //通过名字获取资源数\n @Select(\" SELECT count(1) \" +\n \" FROM btl_resource r \" +\n \" WHERE r.resourceName LIKE CONCAT('%' , #{name} , '%') \")\n long getCountByName(@Param(\"name\") String name);\n\n\n //获取资源树信息\n @Select(\"SELECT r.resourceId , r.resourceName , r.parentId , r.state FROM btl_resource r\")\n public List<ResourceRecord> findAllRoleIdsWithRoleNameAndParentIdAndState() ;\n\n //添加资源\n @Insert(\" INSERT IGNORE INTO btl_resource(createTime , resourceCode , resourceName , resourceURL , resourceMethodType , systemId , state , parentId , resourceMemo) \" +\n \" VALUES(now() , #{re.resourceCode} , #{re.resourceName} , #{re.resourceURL} , #{re.resourceMethodType} , #{re.systemId} , #{re.state} , #{re.parentId} , #{re.resourceMemo}) \")\n public int insertResource(@Param(\"re\") ResourceRecord re);\n\n //删除资源\n @Delete(\"DELETE FROM btl_resource WHERE resourceId=#{resourceId}\")\n public int deleteById(@Param(\"resourceId\") long resourceId);\n\n //更新资源\n @Update(\"UPDATE btl_resource SET \" +\n \" resourceCode = #{re.resourceCode} , \" +\n \" resourceName = #{re.resourceName} , \" +\n \" resourceURL = #{re.resourceURL} , \" +\n \" resourceMethodType = #{re.resourceMethodType} , \" +\n \" systemId = #{re.systemId} , \" +\n \" state = #{re.state} , \" +\n \" parentId = #{re.parentId} , \" +\n \" resourceMemo = #{re.resourceMemo} \" +\n \" WHERE resourceId = #{re.resourceId}\")\n public int updateResource(@Param(\"re\") ResourceRecord re);\n\n}",
"public void setIdentifiers(List<Identifier> identifiers) {\r\n\r\n this.identifiers = identifiers;\r\n\r\n }",
"List<UserContentFile> findContentFiles(@Param(\"ids\") List<Long> ids);",
"@Override\n protected List<Question> doInBackground( Set<Integer>... ids ) {\n\n questionsData.open();\n\n\n\n List<Question> questionsList;\n\n\n\n\n\n\n for (Integer i : ids[0]){\n Log.d(DEBUG_TAG, String.valueOf(i));\n }\n questionsList = questionsData.retrieveAllJobLeads(ids[0]);\n\n Log.d( DEBUG_TAG, \"RetrieveJobLeadTask: Job leads retrieved: \" + questionsList.size() );\n\n for (Question q : questionsList) {\n Log.d(DEBUG_TAG, q.getCapital());\n }\n questionsList.toArray(questions);\n return questionsList;\n }",
"List<AutoAssessDetail> selectByExample(AutoAssessDetailExample example);",
"public void setIdentifiers(String identifiers) {\n this.identifiers = identifiers;\n }",
"public ObservableList<prescription> findBydID(int userID) {\n\t\t// TODO Auto-generated method stub\n\t\tprescription p=null;\n\t\t\n\t\tObservableList<prescription> prescription =FXCollections.observableArrayList();\n\t\tString query = \"SELECT * FROM pmohan_prescription WHERE docId = ?;\";\n\t\ttry(PreparedStatement statement = connection.prepareStatement(query))\n\t\t{ \n\t\t\t\n\t\t\t statement.setInt(1, userID);\n\t\t\t ResultSet resultSet = statement.executeQuery();\n\t\t\twhile(resultSet.next()){\n\t\t\t\t p= new prescription();\n\t\t\t\t p.setDocId(resultSet.getInt(3));\n\t\t\t\t p.setMedcineName(resultSet.getString(4));\n\t\t\t\t p.setMedicinePurpose(resultSet.getString(5));\n\t\t\t\t p.setEat(resultSet.getString(6));\n\t\t\t\t p.setPatientName(resultSet.getString(7));\n\t\t\t\t p.setPid(resultSet.getInt(2));\n\t\t\t\t p.setDocName(docName(resultSet.getInt(3)));\n\t\t\t\t// p.setDocName(pName(resultSet.getString(4),resultSet.getString(5),resultSet.getString(6)));\n\t\t\t\t prescription.add(p);\n\t\t }\n\t\t }\n\t\tcatch(Exception e)\n\t\t{\n\t\t\tSystem.out.println(e.getMessage());\n\t\t}\n\t\t\n\t\treturn prescription;\n\t}",
"public interface LN014_贷款房屋信息Repository extends JpaRepository<LN014_贷款房屋信息, Integer> {\n\n\n LN014_贷款房屋信息 findByLoancontrcode0合同代码(String loancontrcode);\n\n List<LN014_贷款房屋信息> findByLoancontrcode0合同代码In(List<String> dp);\n}",
"private String[] createDvdListWithIds() {\n if (dao.listAll().size() > 0) {\n //create string array set to the size of the dvds that exist\n String[] acceptable = new String[dao.listAll().size()];\n //index counter\n int i = 0;\n //iterate through dvds that exist\n for (DVD currentDVD : dao.listAll()) {\n //at the index set the current Dvd's id, a delimeter, and the title\n acceptable[i] = currentDVD.getId() + \", \" + currentDVD.getTitle();\n //increase the index counter\n i++;\n }\n //return the string array\n return acceptable;\n }\n return null;\n }",
"public List<ErpBookInfo> selData();",
"public abstract List<ClinicalDocument> findByPatientId(long patientId);",
"@Test\n public void listalgobycodeanddate() { ArrayList<String> arr = new ArrayList<>();\n// arr.add(\"ptm.ax\");\n// arr.add(\"csr.ax\");\n//\n String codes = \"ptm.ax , csr.ax\";\n String arr[] =codes.split(\",\");\n\n Iterable<TechTechstr> data = techStrRepo.findAll( QTechTechstr.techTechstr.code.in(arr)\n // .and(QTechTechstr.techTechstr.date.eq (LocalDate.now().minusDays(2) ))\n .and(QTechTechstr.techTechstr.date.eq (LocalDate.parse(\"2018-12-14\") ) )\n\n\n\n ,new QSort(QTechTechstr.techTechstr.code.asc() ));\n JsonArray mainArray = new JsonArray();\n\n data.forEach((a)->{\n JsonObject firstObject = new JsonObject();\n\n String mode = nodeService.getMode((int)a.getMode() );\n if (! mode.isEmpty()){\n firstObject.addProperty(\"code\",a.getCode() ) ;\n firstObject.addProperty(\"mode\",mode ) ;\n mainArray.add(firstObject);\n\n\n }\n\n// firstObject.addProperty(\"mode\",nodeService.getMode((int)a.getMode() ) ) ;\n // System.out.println(\"-----x-----\" + a);\n\n\n });\n\n\n\n System.out.println(\"-----x-----\" + mainArray);\n\n// algoContoller.getcodetech(\"AOG.AX\");\n\n\n }",
"@Override\n protected boolean createKeys(List<Object> list) {\n\n try {\n SleuthkitCase tskCase = Case.getCurrentCaseThrows().getSleuthkitCase();\n \n if (Objects.equals(CasePreferences.getGroupItemsInTreeByDataSource(), true)) {\n List<DataSource> dataSources = tskCase.getDataSources();\n \n Collections.sort(dataSources, new Comparator<DataSource>() {\n @Override\n public int compare(DataSource dataS1, DataSource dataS2) {\n String dataS1Name = dataS1.getName().toLowerCase();\n String dataS2Name = dataS2.getName().toLowerCase();\n return dataS1Name.compareTo(dataS2Name);\n }\n });\n \n List<DataSourceGrouping> keys = new ArrayList<>();\n dataSources.forEach((datasource) -> {\n keys.add(new DataSourceGrouping(datasource));\n });\n list.addAll(keys);\n \n list.add(new Reports());\n } else {\n List<AutopsyVisitableItem> keys = new ArrayList<>(Arrays.asList(\n new DataSources(),\n new Views(tskCase),\n new Results(tskCase),\n new Tags(),\n new Reports()));\n\n list.addAll(keys);\n }\n\n } catch (TskCoreException tskCoreException) {\n logger.log(Level.SEVERE, \"Error getting datas sources list from the database.\", tskCoreException);\n } catch (NoCurrentCaseException ex) {\n logger.log(Level.SEVERE, \"Exception while getting open case.\", ex); //NON-NLS\n }\n return true;\n }",
"private String[] getInstrumentIds(){\n logger.info(\"Getting Instruments from cache\");\n return instruments.keySet().toArray(new String[instruments.size()]);\n }",
"Identifications loadExperimentIdentifications(String experimentAccession);",
"public interface loadDataService {\n public List<Row> getComboContent( String sType,String comboType, Map<String,String[]> parameterMap , usersInfo loggedUser) throws Exception;\n public Result getGridContent(PagingObject po, String gridType,Map<String,String[]> parameterMap,String searchText , usersInfo loggedUser,String statusID,String from,String where ) throws Exception;\n public List<listInfo> loadStrukturList(String partID,long langID) throws Exception;\n public finalInfo getOrgInfo(long treeID) throws Exception;\n public categoryFinalInfo getCategoryInfo(long treeID) throws Exception;\n public carriersInfo getCariesInfo(long carryID) throws Exception;\n public carriersInfo getOrganizationInfo(long carryID) throws Exception;\n public List<contact> getOrgContacts(long treeID) throws Exception;\n public person getEmployeeInfo( long empId) throws Exception;\n public List<examples> getExamplesInfo(long exmpID,String langID) throws Exception;\n public List<contact> getPersonContact(long perID) throws Exception;\n public List<docList> loadQRphoto(Connection con, long exmplID,long picType) throws Exception;\n public List<docList> loadPhoto(Connection con, long exmplID,long picType) throws Exception;\n public List<docList> getExamplesPictures(Connection cc, long relID, long relType) throws Exception;\n public List<examples> getExamplesOperation(Connection cc, long relID, long langID) throws Exception;\n public int checkUser(String uName) throws Exception;\n public int checkDictRecord(String text, int dictType,String org,String pos) throws Exception ;\n public usersInfo loadUserInfo(String pID) throws Exception;\n public List<person> loadEmpList( int OrgID) throws Exception;\n public List<Row> getSelectContent( String type, Map<String, String[]> parameterMap , usersInfo loggedUser) throws Exception;\n public List<subjElement> getADVSearchMenuList(String partID) throws Exception;\n public String getADVInfo(String paramID,String paramVal,String val,String cond,String typ)throws Exception;\n public List<listInfo> loadComboForAdvancedSearch(String prmID,long parametr) throws Exception;\n public List<docList> loadRightPanelPhoto(long realID, int iType) throws Exception;\n public List<categoryFinalInfo> getCategoryStructure(long catID, int id) throws Exception;\n}",
"public interface MasterDataManagementUtil {\n\n\t/**\n\t * Gets the product tags array.\n\t *\n\t * @return the product tags array\n\t */\n\tstatic String[] getProductTagsArray() {\n\n\t\tList<String> productTagsList = new ArrayList<>();\n\t\tproductTagsList.add(\"neutro\");\n\t\tproductTagsList.add(\"veludo\");\n\t\tproductTagsList.add(\"couro\");\n\t\tproductTagsList.add(\"basics\");\n\t\tproductTagsList.add(\"festa\");\n\t\tproductTagsList.add(\"workwear\");\n\t\tproductTagsList.add(\"inverno\");\n\t\tproductTagsList.add(\"boho\");\n\t\tproductTagsList.add(\"estampas\");\n\t\tproductTagsList.add(\"balada\");\n\t\tproductTagsList.add(\"colorido\");\n\t\tproductTagsList.add(\"casual\");\n\t\tproductTagsList.add(\"liso\");\n\t\tproductTagsList.add(\"moderno\");\n\t\tproductTagsList.add(\"passeio\");\n\t\tproductTagsList.add(\"metal\");\n\t\tproductTagsList.add(\"viagem\");\n\t\tproductTagsList.add(\"delicado\");\n\t\tproductTagsList.add(\"descolado\");\n\t\tproductTagsList.add(\"elastano\");\n\n\t\treturn productTagsList.toArray(new String[productTagsList.size()]);\n\t}\n\n}",
"List<Kaiwa> selectByExample(KaiwaExample example);",
"static public tilda.data_test.Testing4View_Data lookupByAll() throws Exception\r\n {\r\n tilda.data_test._Tilda.TILDA__TESTING4VIEW Obj = new tilda.data_test.Testing4View_Data();\r\n Obj.initForLookup(0);\r\n\r\n\r\n return (tilda.data_test.Testing4View_Data) Obj;\r\n }",
"@Test\n public void testGetReferenceCodesByDomainWithSubCodes3() {\n final var refCodes =\n repository.getReferenceCodesByDomain(\"TASK_TYPE\", true, \"code\", Order.ASC, 0, 1000);\n\n assertThat(refCodes).isNotNull();\n assertThat(refCodes.getItems()).isNotNull();\n assertThat(refCodes.getItems()).isNotEmpty();\n assertThat(refCodes.getItems()).hasSize(48);\n assertThat(refCodes.getTotalRecords()).isEqualTo(48);\n assertThat(refCodes.getPageOffset()).isEqualTo(0);\n assertThat(refCodes.getPageLimit()).isEqualTo(1000);\n\n // Verify sorting of codes\n assertThat(refCodes.getItems().get(0).getCode()).isEqualTo(\"ACP\");\n assertThat(refCodes.getItems().get(9).getCode()).isEqualTo(\"CRT\");\n assertThat(refCodes.getItems().get(47).getCode()).isEqualTo(\"VICTIM\");\n\n // Verify sub-codes returned or not\n verifySubCodesPresent(refCodes.getItems());\n\n // Verify quantity of sub-codes returned\n assertThat(refCodes.getItems().get(0).getSubCodes()).hasSize(22);\n assertThat(refCodes.getItems().get(9).getSubCodes()).hasSize(15);\n assertThat(refCodes.getItems().get(46).getSubCodes()).hasSize(2);\n\n // Verify sorting of sub-codes\n assertThat(refCodes.getItems().get(0).getSubCodes().get(0).getCode()).isEqualTo(\"CPS\");\n assertThat(refCodes.getItems().get(0).getSubCodes().get(21).getCode()).isEqualTo(\"SOU\");\n assertThat(refCodes.getItems().get(9).getSubCodes().get(0).getCode()).isEqualTo(\"APP\");\n assertThat(refCodes.getItems().get(9).getSubCodes().get(14).getCode()).isEqualTo(\"TRA\");\n assertThat(refCodes.getItems().get(47).getSubCodes().get(0).getCode()).isEqualTo(\"INFO_COMPLET\");\n assertThat(refCodes.getItems().get(47).getSubCodes().get(1).getCode()).isEqualTo(\"INFO_UPDATE\");\n\n // Verify correct sub-code relationship to parent code\n verifySubCodeParentCodeRelationship(refCodes.getItems());\n }",
"public List<Map<String,Object>> getOffersData(int objectid,Integer templateid);",
"PaasCustomAutomationRecord selectByPrimaryKey(Integer id);",
"@Test\n public void getretrieveOffersByContentIdTest() throws IOException {\n\n\n String contentid = Arrays.asList(\"contentid_example\").get(0);\n\n\n RetrieveOffersByContentIdgetResponse response = api.getretrieveOffersByContentId(contentid, null, null, null, null);\n }",
"void getAppIdsWithPrefix(Future<Set<String>> appIds, String baseDir, String appIdPrefix);",
"@Test\n public void testGetReferenceCodesByDomainWithSubCodes4() {\n final var refCodes =\n repository.getReferenceCodesByDomain(\"TASK_TYPE\", true, \"description\", Order.ASC, 0, 10);\n\n assertThat(refCodes).isNotNull();\n assertThat(refCodes.getItems()).isNotNull();\n assertThat(refCodes.getItems()).isNotEmpty();\n assertThat(refCodes.getItems()).hasSize(10);\n assertThat(refCodes.getTotalRecords()).isEqualTo(48);\n assertThat(refCodes.getPageOffset()).isEqualTo(0);\n assertThat(refCodes.getPageLimit()).isEqualTo(10);\n\n // Verify sorting of codes\n assertThat(refCodes.getItems().get(0).getCode()).isEqualTo(\"ACP\");\n assertThat(refCodes.getItems().get(0).getDescription()).isEqualTo(\"Accredited Programme\");\n assertThat(refCodes.getItems().get(9).getCode()).isEqualTo(\"COMMS\");\n assertThat(refCodes.getItems().get(9).getDescription()).isEqualTo(\"Communication\");\n\n // Verify sub-codes returned or not\n verifySubCodesPresent(refCodes.getItems());\n\n // Verify quantity of sub-codes returned\n assertThat(refCodes.getItems().get(0).getSubCodes()).hasSize(22);\n assertThat(refCodes.getItems().get(9).getSubCodes()).hasSize(2);\n\n // Verify sorting of sub-codes\n assertThat(refCodes.getItems().get(0).getSubCodes().get(0).getCode()).isEqualTo(\"CPS\");\n assertThat(refCodes.getItems().get(0).getSubCodes().get(0).getDescription()).isEqualTo(\"Core Programme Session\");\n assertThat(refCodes.getItems().get(0).getSubCodes().get(21).getCode()).isEqualTo(\"SOU\");\n assertThat(refCodes.getItems().get(0).getSubCodes().get(21).getDescription()).isEqualTo(\"Statement Of Understanding Signed\");\n assertThat(refCodes.getItems().get(9).getSubCodes().get(0).getCode()).isEqualTo(\"COM_IN\");\n assertThat(refCodes.getItems().get(9).getSubCodes().get(0).getDescription()).isEqualTo(\"Communication IN\");\n assertThat(refCodes.getItems().get(9).getSubCodes().get(1).getCode()).isEqualTo(\"COM_OUT\");\n assertThat(refCodes.getItems().get(9).getSubCodes().get(1).getDescription()).isEqualTo(\"Communication OUT\");\n\n // Verify correct sub-code relationship to parent code\n verifySubCodeParentCodeRelationship(refCodes.getItems());\n }",
"@Test\n public void testGetReferenceCodesByDomainWithSubCodes1() {\n final var refCodes =\n repository.getReferenceCodesByDomain(\"TASK_TYPE\", true, \"code\", Order.ASC, 0, 10);\n\n assertThat(refCodes).isNotNull();\n assertThat(refCodes.getItems()).isNotNull();\n assertThat(refCodes.getItems()).isNotEmpty();\n assertThat(refCodes.getItems()).hasSize(10);\n assertThat(refCodes.getTotalRecords()).isEqualTo(48);\n assertThat(refCodes.getPageOffset()).isEqualTo(0);\n assertThat(refCodes.getPageLimit()).isEqualTo(10);\n\n // Verify sorting of codes\n assertThat(refCodes.getItems().get(0).getCode()).isEqualTo(\"ACP\");\n assertThat(refCodes.getItems().get(9).getCode()).isEqualTo(\"CRT\");\n\n // Verify sub-codes returned for all items\n verifySubCodesPresent(refCodes.getItems());\n\n // Verify quantity of sub-codes returned\n assertThat(refCodes.getItems().get(0).getSubCodes()).hasSize(22);\n assertThat(refCodes.getItems().get(8).getSubCodes()).hasSize(2);\n assertThat(refCodes.getItems().get(9).getSubCodes()).hasSize(15);\n\n // Verify sorting of sub-codes\n assertThat(refCodes.getItems().get(0).getSubCodes().get(0).getCode()).isEqualTo(\"CPS\");\n assertThat(refCodes.getItems().get(0).getSubCodes().get(21).getCode()).isEqualTo(\"SOU\");\n assertThat(refCodes.getItems().get(9).getSubCodes().get(0).getCode()).isEqualTo(\"APP\");\n assertThat(refCodes.getItems().get(9).getSubCodes().get(14).getCode()).isEqualTo(\"TRA\");\n\n // Verify correct sub-code relationship to parent code\n verifySubCodeParentCodeRelationship(refCodes.getItems());\n }",
"Collection<T> get(final ExternalIdBundle bundle) {\n _readLock.lock();\n try {\n // TODO: semantics are wrong\n final Collection<T> results = new HashSet<>();\n for (final ExternalId identifier : bundle) {\n if (_toMap.containsKey(identifier)) {\n results.addAll(_toMap.get(identifier));\n }\n }\n return results;\n } finally {\n _readLock.unlock();\n }\n }",
"public String[] findRecord(String county){\n String[] found = null;\n\n for (String[] record : records ) {\n\n if (record[0].equalsIgnoreCase(county)){\n found = record;\n break;\n }\n }\n\n return found;\n }",
"Collection<LocatorIF> getItemIdentifiersByPrefix(String prefix);",
"@Override\r\npublic List<ThirdPartyAppsList> findAll()\r\n{\nArrayList<ThirdPartyAppsList> appsList = new ArrayList<>();\r\n//adding providers to the List\r\nappsList.add(new ThirdPartyAppsList(\"15645367\",\"Aetna\",\"My Data My Health\" ,\"Naveen\",\"Regidtered since: Dec-2020\"));\r\nappsList.add(new ThirdPartyAppsList(\"15645367\",\"Aetna\",\"Virtual Viewer\",\"Snow bound\",\"Regidtered since: Mar-2017\"));\r\nappsList.add(new ThirdPartyAppsList(\"15645367\",\"Aetna\",\"hapi.fhir\",\"Apache\",\"Regidtered since: June-2017\"));\r\nappsList.add(new ThirdPartyAppsList(\"15645367\",\"Aetna\",\"Dummy Heading3\",\"Dummy Owner Name\",\"Regidtered since: Aug-2016\"));\r\nappsList.add(new ThirdPartyAppsList(\"15645367\",\"Aetna\",\"Dummy Heading4\",\"Dummy Owner Name\",\"Regidtered since: Sep-2018\"));\r\nappsList.add(new ThirdPartyAppsList(\"15645367\",\"Aetna\",\"Dummy Heading5\",\"Owner Name\",\"Regidtered since: Oct-2019\"));\r\nreturn appsList;\r\n}",
"List<AccuseInfo> selectByExample(AccuseInfoExample example);",
"public static SearchSourceBuilder buildGetAllLidVidsRequest(Collection<String> lids)\n {\n if(lids == null || lids.isEmpty()) return null;\n \n SearchSourceBuilder src = new SearchSourceBuilder();\n src.query(QueryBuilders.termsQuery(\"lid\", lids)).fetchSource(false).size(5000);\n return src;\n }",
"List<PmKeyDbObj> selectByExample(PmKeyDbObjExample example);",
"List selectByExample(TResearchTeachExample example);",
"private String getItems(long listid){\n \tString theItems = \"\";\n \titemDbAdapter.open();\n \titemCursor = itemDbAdapter.fetchAllItemsFromList(LIST_ID);\n startManagingCursor(itemCursor);\n int cursorRows = itemCursor.getCount();\n \n for ( int i = 0; i < cursorRows; i++) {\n \titemCursor.moveToPosition(i);\n \tString title = itemCursor.getString(itemCursor.getColumnIndexOrThrow(ItemsDbAdapter.KEY_TITLE));\n \ttheItems = theItems + title + \"\\n\";\n }\n \titemDbAdapter.close();\n \treturn theItems;\n }",
"List<T> findAllById(List<Object> ids) throws Exception;"
] | [
"0.6032422",
"0.5845746",
"0.5671732",
"0.55346495",
"0.5517951",
"0.5498808",
"0.5479801",
"0.5352684",
"0.5331543",
"0.53138494",
"0.530473",
"0.5285757",
"0.5274337",
"0.5257321",
"0.5212625",
"0.5195942",
"0.51615775",
"0.51577395",
"0.5154144",
"0.51484585",
"0.5141296",
"0.51387095",
"0.5138553",
"0.5112407",
"0.509015",
"0.5082974",
"0.5082309",
"0.50735915",
"0.5057248",
"0.5056816",
"0.5054653",
"0.5052882",
"0.5048726",
"0.5048031",
"0.50344145",
"0.5030478",
"0.50304204",
"0.5024887",
"0.50244534",
"0.5022504",
"0.5015643",
"0.5015002",
"0.5014764",
"0.50135136",
"0.5000721",
"0.4998837",
"0.49948162",
"0.49948162",
"0.4990905",
"0.49889842",
"0.49872163",
"0.49837628",
"0.49806523",
"0.49639645",
"0.49638677",
"0.49496105",
"0.49484235",
"0.4945302",
"0.4937099",
"0.49370766",
"0.4934073",
"0.49333233",
"0.49323797",
"0.49317363",
"0.49281925",
"0.4918642",
"0.49130666",
"0.4912392",
"0.490986",
"0.490466",
"0.4900999",
"0.49003404",
"0.48964942",
"0.48948592",
"0.4892852",
"0.4890342",
"0.48895922",
"0.4884546",
"0.48822072",
"0.48803174",
"0.48769465",
"0.4871064",
"0.4871051",
"0.48699358",
"0.48670754",
"0.48528862",
"0.4851093",
"0.48495957",
"0.48440987",
"0.48433626",
"0.48410285",
"0.4840405",
"0.4836975",
"0.483557",
"0.48300612",
"0.48255724",
"0.48227793",
"0.48193675",
"0.481752",
"0.48168692"
] | 0.50304204 | 37 |
Common code for both project and sample, to get data by listofnames. | private List<String> getListOfAuthorizedByName(
List<String> names,
String username,
ResponseToFailedAuthorization failureResponse,
AccessLevel accessLevel,
Session session,
String securedQuery,
String openAndSecuredQuery,
String returnVarName,
String securedParamListName,
String openParamListName)
throws Exception {
// Need to avoid sending same name multiple times.
names = uniquifyNames(names);
String queryStr;
if ( accessLevel == AccessLevel.View ) {
queryStr = openAndSecuredQuery.replace( PROJ_GRP_SUBST_STR, VIEW_PROJECT_GROUP_FIELD );
}
else {
queryStr = securedQuery.replace( PROJ_GRP_SUBST_STR, EDIT_PROJECT_GROUP_FIELD );
}
NativeQuery query = session.createNativeQuery( queryStr );
query.addScalar(returnVarName, StandardBasicTypes.STRING );
query.setParameterList( securedParamListName, names );
if ( accessLevel == AccessLevel.View ) {
query.setParameterList( openParamListName, names );
}
String queryUsername = username == null ? UNLOGGED_IN_USER : username;
query.setParameter( USERNAME_PARAM, queryUsername );
List<String> rtnVal = query.list();
if ( failureResponse == ResponseToFailedAuthorization.ThrowException &&
rtnVal.size() < names.size() ) {
String nameStr = joinNameList(names);
String message = makeUserReadableMessage( username, nameStr );
logger.error( message );
throw new ForbiddenResourceException( message );
}
return rtnVal;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Test\n\tvoid testGetAllByName() {\n\t\tList<Plant> plant = service.getAllByName(\"Tulsi\");\n\t\tString name = plant.get(0).getName();\n\t\tassertEquals(\"Tulsi\", name);\n\t}",
"public void loadList(String name){\n }",
"private void getDatasetsList(final String newName) {\r\n DivaClientService.getAvailableDatasets( new AsyncCallback<TreeMap<Integer, String>>() {\r\n @Override\r\n public void onFailure(Throwable caught) {\r\n Window.alert(\"DiVAFiles folder is not available please contact the system administrator\");\r\n SelectionManager.Busy_Task(false, true);\r\n }\r\n\r\n @Override\r\n public void onSuccess(TreeMap results) {\r\n for (Object o : results.keySet()) {\r\n int key = (Integer) o;\r\n String str = formatTitle((String) results.get(key));\r\n selectDatasetList.addItem(str);\r\n datasetsNames.put(str, key);\r\n selectDatasetList.setItemSelected(0, true);\r\n tempSelectDatasetList.addItem(str);\r\n tempSelectDatasetList.setItemSelected(0, true);\r\n SelectionManager.Busy_Task(false, true);\r\n }\r\n updateSubDsSelectionList(newName);\r\n }\r\n\r\n });\r\n\r\n }",
"@Override\n protected SearchedResRepList getNamedSearchResults(final String name, final URI projectId) {\n SearchedResRepList resRepList = new SearchedResRepList(getResourceType());\n if (projectId == null) {\n _dbClient.queryByConstraint(\n PrefixConstraint.Factory.getLabelPrefixConstraint(getResourceClass(), name),\n resRepList);\n } else {\n _dbClient.queryByConstraint(ContainmentPrefixConstraint.Factory\n .getConsistencyGroupUnderProjectConstraint(projectId, name), resRepList);\n }\n return resRepList;\n }",
"@Test\n public void test_get_scenario_names(){\n try {\n TestData X = new TestData(\"project2.opt\");\n Collection<String> x = X.project.get_scenario_names();\n assertEquals(1,x.size());\n assertTrue(x.contains(\"scenarioA\"));\n assertFalse(x.contains(\"scenarioB\"));\n } catch (Exception e) {\n fail(e.getMessage());\n }\n }",
"@Test public void shouldReturnTheToolIntTheListWhenSearchedByItsName() {\n\t\tgiven.imInTheMainPage();\n\t\twhen.searchByAToolName(TOOLS.ADPWEB.toolName());\n\t\tthen.mySearchWillReturnTheTools(TOOLS.ADPWEB);\n\t}",
"ArrayList<Feature> getFeatures(String userid, String project)throws Exception;",
"public static void getCategoryDetailsPartial(ArrayList<String> dataNames, String table)\n {\n PreparedStatement stmt = null;\n ResultSet myRst = null;\n\n try\n {\n String pstmt = \"SELECT COLUMN_NAME FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = ? AND COLUMN_KEY != 'PRI';\";\n\n stmt = DBConnectionManager.con.prepareStatement(pstmt);\n stmt.setString(1,table);\n myRst = stmt.executeQuery();\n\n //Since this will always be a table with 1 column\n //we can just hard code 1 into the column index\n //and move row by row down the table\n while(myRst.next())\n {\n dataNames.add(myRst.getString(1));\n }\n\n } catch (SQLException e)\n {\n e.printStackTrace();\n }\n finally\n {\n try { if (myRst != null) myRst.close(); } catch (Exception ignored) {}\n try { if (stmt != null) stmt.close(); } catch (Exception ignored) {}\n }\n\n }",
"private static List<Entry> loadExamplesFromRemote(Set<String> corpusNames, UI ui) {\n\n List<Entry> result = new LinkedList<>();\n CorporaApi api = new CorporaApi(Helper.getClient(ui));\n try {\n if (corpusNames != null && !corpusNames.isEmpty()) {\n for (String c : corpusNames) {\n CorpusConfiguration config = api.corpusConfiguration(c);\n if(config.getExampleQueries() != null) {\n for (ExampleQuery q : config.getExampleQueries()) {\n Entry e = new Entry();\n e.corpus = c;\n e.example = q;\n result.add(e);\n }\n }\n }\n }\n } catch (ApiException ex) {\n log.error(\"problems with getting example queries from remote for {}\", corpusNames, ex);\n }\n return result;\n }",
"public abstract String[] names() throws TrippiException;",
"List<CptDataStore> selectByExample(CptDataStoreExample example);",
"Map<String,DataSource> load(Set<String> existsDataSourceNames) throws Exception;",
"public static void getCategoryDetails(ArrayList<String> dataNames, String table)\n {\n PreparedStatement stmt = null;\n ResultSet myRst = null;\n\n try\n {\n String pstmt = \"SELECT COLUMN_NAME FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = ?;\";\n\n stmt = DBConnectionManager.con.prepareStatement(pstmt);\n stmt.setString(1,table);\n myRst = stmt.executeQuery();\n\n //Since this will always be a table with 1 column\n //we can just hard code 1 into the column index\n //and move row by row down the table\n while(myRst.next())\n {\n dataNames.add(myRst.getString(1));\n }\n\n } catch (SQLException e)\n {\n e.printStackTrace();\n }\n finally\n {\n try { if (myRst != null) myRst.close(); } catch (Exception ignored) {}\n try { if (stmt != null) stmt.close(); } catch (Exception ignored) {}\n }\n\n }",
"@Override\n public List<Doctor> searchByName(String name) throws IOException, ClassNotFoundException {\n doctorList = FileSystem.readFile(file, Doctor.class);\n List<Doctor> searchList = search(doctorList, Doctor::getName, name);\n return searchList;\n }",
"private Dataset findDataset( String name, Dataset[] datasets ) {\n Dataset dset = null;\n\n if ( datasets != null ) {\n for ( Dataset set : datasets ) {\n dset = findDataset( name, set.getDatasets() );\n if ( dset != null )\n return dset;\n if ( name.equals( set.getName() ) ) {\n return set;\n }\n }\n }\n return dset;\n }",
"public List<Object[]> gatherData() {\n String testDir = System.getProperty(\"test.dir\");\n logger.info(\"Data from: \" + testDir);\n String testFilter = System.getProperty(\"test.filter\");\n List<Object[]> result = new ArrayList<Object[]>();\n File testDirFile = new File(testDir);\n File rootConfigFile = new File(testDirFile, \"config.properties\");\n Properties rootProp = new Properties();\n InputStream rootIn = null;\n try {\n rootIn = new FileInputStream(rootConfigFile);\n rootProp.load(rootIn);\n } catch (IOException e) {\n // if we can't get root properties, we just take empty root\n // properties\n rootProp = new Properties();\n } finally {\n IOUtils.closeQuietly(rootIn);\n }\n\n File[] childFiles = null;\n if (testFilter == null) {\n childFiles = testDirFile.listFiles();\n } else {\n String[] wildcards = testFilter.split(\";\");\n childFiles = testDirFile\n .listFiles((FilenameFilter) new WildcardFileFilter(\n wildcards));\n }\n int idx = 0;\n for (File child : childFiles) {\n if (child.isDirectory() && directoryContainsConfig(child)) {\n File configFile = new File(child, \"config.properties\");\n Properties prop = new Properties();\n InputStream in = null;\n try {\n in = new FileInputStream(configFile);\n prop.load(in);\n \n String parent = prop.getProperty(PARENT_CFG);\n if(parent != null) {\n \tFile parentFile = new File(child, parent);\n \tif(parentFile.exists()) {\n \t\tprop.clear();\n \t\tprop.load(new FileInputStream(parentFile));\n \t\tprop.load(new FileInputStream(configFile));\n \t}\n }\n \n if (isSupportedTestType(prop)) {\n Object[] data = extractDataFromConfig(configFile,\n rootProp, prop);\n result.add(data);\n String testName = idx + \"-\" + data[1].toString();\n ((BaseSignatureTestData)data[2]).setUniqueUnitTestName(testName);\n idx++;\n }\n } catch (IOException e) {\n logger.warn(\n \"Could not run test with config:\"\n + configFile.getAbsolutePath(), e);\n } finally {\n if (in != null)\n IOUtils.closeQuietly(in);\n }\n }\n }\n return result;\n }",
"private static void search_by_name() {\r\n\t\ttry (// Creates a connection and statement object\r\n\t\t\t\tConnection conn = DriverManager.getConnection(\"jdbc:mysql://localhost:3306/PoisedPMS\",\"poisedpms\",\"poisedpms\");\r\n\t\t\t\t\r\n\t\t\t\tStatement stmt = conn.createStatement();\r\n\t\t\t\t\r\n\t\t\t){\r\n\t\t\tScanner input = new Scanner(System.in);\r\n\t\t\r\n\t\t\tSystem.out.println(\"Project Name: \");\r\n\t\t\tString project_name = input.nextLine();\r\n\t\t\r\n\t\t\tString strSelectProject = String.format(\"SELECT * FROM projects INNER JOIN project_statuses ON \"\r\n\t\t\t\t\t+ \"projects.project_id = project_statuses.project_id;\");\r\n\t\t\tResultSet project_rset = stmt.executeQuery(strSelectProject);\r\n\t\t\t\r\n\t\t\tfetch_all_project_info(stmt, project_name, project_rset);\r\n\t\t/**\r\n\t\t * @exception If entered project name cannot be found in the projects table then an SQLException is thrown\r\n\t\t */\t\t\r\n\t\t} catch ( SQLException ex ) {\r\n\t\t\tex . printStackTrace ();\r\n\t\t}\r\n\t}",
"List<String[]> readAll();",
"public List<SamplePerson> getAllPeople() {\n //TODO\n throw new NotImplementedException();\n }",
"@SuppressWarnings(\"checkstyle:avoidinlineconditionals\")\n private static void setUpNameList() {\n List<String> names = new ArrayList<>();\n String verb;\n String noun;\n for (int i = 0; i < NUMBER_OF_NAMES; i++) {\n verb = GenerationHelper.randomElement(verbs);\n noun = GenerationHelper.randomElement(nouns);\n String taskName = verb;\n taskName += \"aeiou\".contains(noun.subSequence(0, 1)) ? \" an \" : \" a \";\n taskName += noun;\n names.add(Character.toUpperCase(taskName.charAt(0)) + taskName.substring(1));\n }\n taskNames = new String[names.size()];\n names.toArray(taskNames);\n }",
"@Test\n public void dspNamesTest() {\n // TODO: test dspNames\n }",
"public Collection<Object> getOrderedTestNames(Map<String,String> filter) throws\n NEDSSSystemException , InvalidSRTFilterKeysException {\n\n\n\n ArrayList<Object> returnSet = null;\n String programArea = null;\n String condition = null;\n String orderingFacility = null;\n String orderedTest = null;\n\n programArea = (String) filter.get(SRTFilterKeys.PROGRAM_AREA_CODE);\n condition = (String) filter.get(SRTFilterKeys.CONDITION_CODE);\n orderingFacility = (String) filter.get(SRTFilterKeys.REPORTING_FACILITY_ID);\n orderedTest = (String) filter.get(SRTFilterKeys.ORDERED_TEST_CODE);\n\n if (filter.size() == 1) {\n if (orderingFacility != null)\n returnSet = (ArrayList<Object> ) getOrderedTestNamesByOrderingFacility(orderingFacility);\n else {\n throw new InvalidSRTFilterKeysException(\"Invalid Filter Key Exception\");\n\n }\n }\n else\n {\n if (programArea != null && orderingFacility != null)\n {\n returnSet = (ArrayList<Object> ) getOrderedTestNamesByPA(programArea, orderingFacility);\n if(returnSet == null)\n returnSet = (ArrayList<Object> ) getOrderedTestNamesByPA(programArea, \"DEFAULT\");\n }\n\n else if (condition != null && orderingFacility != null)\n {\n returnSet = (ArrayList<Object> ) getOrderedTestNamesByCondition(condition, orderingFacility);\n if(returnSet == null)\n returnSet = (ArrayList<Object> ) getOrderedTestNamesByCondition(condition, \"DEFAULT\");\n }\n\n else if(orderedTest != null && orderingFacility != null)\n {\n returnSet = (ArrayList<Object> ) getOrderedTestNamesByOrderingFacilityAndTest(orderingFacility, orderedTest);\n if(returnSet == null)\n returnSet = (ArrayList<Object> ) getOrderedTestNamesByOrderingFacilityAndTest(\"DEFAULT\",orderedTest);\n }\n else\n throw new NEDSSSystemException(\"Invalid Filter Key Exception\");\n\n }\n\n if (returnSet == null)\n return getOrderedTestNamesByOrderingFacility(\"DEFAULT\");\n else\n return returnSet;\n}",
"public void getDataForRegion(String dataType, String[] countrys, String year){\r\n String line = \"\"; \r\n int i=0;\r\n double[] rez= new double[countrys.length];\r\n int count=0;\r\n ArrayList<String> coun= new ArrayList<>();\r\n ArrayList<Double> dat= new ArrayList<>();\r\n try{ \r\n BufferedReader br = new BufferedReader(new FileReader(\"dataSets//\"+dataType+\".csv\")); \r\n while ((line = br.readLine()) != null){\r\n String lineArr[]=line.split(\",\");\r\n if(i==0){\r\n for(int j=1; j!=lineArr.length; j++){\r\n if(lineArr[j].equals(year)){\r\n i=j;\r\n }\r\n }\r\n }\r\n else{\r\n for(int j=0; j!=countrys.length; j++){\r\n if(lineArr[0].equals(countrys[j]) || lineArr[0].contains(countrys[j]) || countrys[j].contains(lineArr[0])){\r\n coun.add(lineArr[0]);\r\n dat.add(Double.parseDouble(lineArr[i]));\r\n }\r\n }\r\n }\r\n } \r\n }catch(Exception e){}\r\n c= new String[coun.size()];\r\n data= new double[coun.size()];\r\n for(int j=0; j!=c.length; j++){\r\n c[j]=coun.get(j);\r\n data[j]=dat.get(j);\r\n }\r\n }",
"@Test\n public void testGetValue() throws Exception {\n\n Map<String, IMetaData<SampleMark>> name2MetaData;\n name2MetaData = factory.class2MetaDataByFullPath(Person.class);\n\n assertEquals(3, name2MetaData.size());\n\n for (Person p : persons) {\n\n Person.assertPerson(p,\n (String) name2MetaData.get(\"pl.softech.reflection.SampleDataGenerator$Person|lastname\").getValue(p),\n (Float) name2MetaData.get(\"pl.softech.reflection.SampleDataGenerator$Person|weight\").getValue(p),\n (Integer) name2MetaData.get(\"pl.softech.reflection.SampleDataGenerator$Person|age\").getValue(p));\n }\n\n name2MetaData = factory.class2MetaDataByFullPath(Driver.class);\n\n assertEquals(4, name2MetaData.size());\n\n for (Driver d : drivers) {\n\n Driver.assertDriver(d,\n (String) name2MetaData.get(\"pl.softech.reflection.SampleDataGenerator$Driver|lastname\").getValue(d),\n (Float) name2MetaData.get(\"pl.softech.reflection.SampleDataGenerator$Driver|weight\").getValue(d),\n (Integer) name2MetaData.get(\"pl.softech.reflection.SampleDataGenerator$Driver|age\").getValue(d),\n (Boolean) name2MetaData.get(\"pl.softech.reflection.SampleDataGenerator$Driver|hasDrivingLicense\").getValue(d));\n\n }\n\n name2MetaData = factory.class2MetaDataByFullPath(Car.class);\n\n assertEquals(10, name2MetaData.size());\n\n for (Car c : cars) {\n Driver.assertDriver(c.getDriver(),\n (String) name2MetaData.get(\"pl.softech.reflection.SampleDataGenerator$Car|driver|lastname\").getValue(c),\n (Float) name2MetaData.get(\"pl.softech.reflection.SampleDataGenerator$Car|driver|weight\").getValue(c),\n (Integer) name2MetaData.get(\"pl.softech.reflection.SampleDataGenerator$Car|driver|age\").getValue(c),\n (Boolean) name2MetaData.get(\"pl.softech.reflection.SampleDataGenerator$Car|driver|hasDrivingLicense\").getValue(c));\n Driver.assertDriver((Driver) name2MetaData.get(\"pl.softech.reflection.SampleDataGenerator$Car|driver\").getValue(c),\n (String) name2MetaData.get(\"pl.softech.reflection.SampleDataGenerator$Car|driver|lastname\").getValue(c),\n (Float) name2MetaData.get(\"pl.softech.reflection.SampleDataGenerator$Car|driver|weight\").getValue(c),\n (Integer) name2MetaData.get(\"pl.softech.reflection.SampleDataGenerator$Car|driver|age\").getValue(c),\n (Boolean) name2MetaData.get(\"pl.softech.reflection.SampleDataGenerator$Car|driver|hasDrivingLicense\").getValue(c));\n Engine.assertEngine(c.getEngine(),\n (String) name2MetaData.get(\"pl.softech.reflection.SampleDataGenerator$Car|engine|productName\").getValue(c));\n Engine.assertEngine((Engine) name2MetaData.get(\"pl.softech.reflection.SampleDataGenerator$Car|engine\").getValue(c),\n (String) name2MetaData.get(\"pl.softech.reflection.SampleDataGenerator$Car|engine|productName\").getValue(c));\n\n Oil.assertOil(c.getEngine().oil,\n (String) name2MetaData.get(\"pl.softech.reflection.SampleDataGenerator$Car|engine|oil|vendorName\").getValue(c),\n (String) name2MetaData.get(\"pl.softech.reflection.SampleDataGenerator$Car|engine|oil|producentName\").getValue(c));\n Oil.assertOil((Oil) name2MetaData.get(\"pl.softech.reflection.SampleDataGenerator$Car|engine|oil\").getValue(c),\n (String) name2MetaData.get(\"pl.softech.reflection.SampleDataGenerator$Car|engine|oil|vendorName\").getValue(c),\n (String) name2MetaData.get(\"pl.softech.reflection.SampleDataGenerator$Car|engine|oil|producentName\").getValue(c));\n }\n\n }",
"@Test\n public void testGetProductsByName() throws Exception {\n System.out.println(\"getProductsByName\");\n for (Product p : products) {\n prs = dao.getProductsByName(p.getName());\n assertTrue(prs.size() == 1);\n assertTrue(prs.contains(p));\n \n }\n prs = dao.getProductsByName(nonExisten.getName());\n assertTrue(prs.isEmpty());\n }",
"public void exportList(String name){\n }",
"public List<productmodel> getproductbyname(String name);",
"List<ResourcePojo> selectByBktAndModelName(@Param(\"bktName\") String bktName, @Param(\"modelName\") String modelName);",
"@Test\n public void testGetWorkloadNames_1()\n throws Exception {\n Project fixture = new Project();\n fixture.setWorkloadNames(\"\");\n fixture.setName(\"\");\n fixture.setScriptDriver(ScriptDriver.SilkPerformer);\n fixture.setWorkloads(new LinkedList());\n fixture.setComments(\"\");\n fixture.setProductName(\"\");\n\n String result = fixture.getWorkloadNames();\n\n assertEquals(\"\", result);\n }",
"@Test\n public void test004() {\n\n List<String> names = response.extract().path(\"data.name\");\n System.out.println(\"------------------StartingTest---------------------------\");\n System.out.println(\"The names of the all stores are:: \" + names);\n System.out.println(\"------------------End of Test---------------------------\");\n }",
"public static void main(String[] args) {\n\t\tTestLinkAPIClient testlinkAPIClient = new TestLinkAPIClient(CyborgConstants.DEVKEY,CyborgConstants.URL);\n\t\ttry {\n\t\t\tString ProjectId=null;\n\t\t\tString TestSuiteId=null;\n\t\t\tArrayList<Integer> TestSuitesId = new ArrayList<Integer>();\n\t\t\tTestLinkAPIResults projResult= testlinkAPIClient.getProjects();\n\t\t for (int i = 0; i < projResult.size(); i++) {\n\t\t \tif(projResult.getValueByName(i, \"name\").equals(ProjectName)){\n\t\t \t\t ProjectId= (String) projResult.getValueByName(i, \"id\");\n\t\t \t\t System.out.println(projResult.getValueByName(i, \"name\"));\n\t\t \t\t break;\n\t\t \t\t \n\t\t \t}\n\t\t\t}\n\t\t \n\t\t\t String TestPalns[]= TestPlan.split(\",\");\n\t\t\t for (int k = 0; k < TestPalns.length; k++) {\n\t\t\t\tTestLinkAPIResults testSuiteResults=testlinkAPIClient.getTestSuitesForTestPlan(ProjectName, TestPalns[k]);\n\t\t\t\t//System.out.println(\"TestPalns[k]===\"+TestPalns[k]);\n\t\t\t\tfor (int l = 0; l < testSuiteResults.size(); l++) {\n\t\t\t\t\t//System.out.println(\"TestSuite===\"+TestSuite);\n\t\t\t\t\t//System.out.println(\"Suite Name===\"+testSuiteResults.getValueByName(l, \"name\"));\n\t\t\t\t\tString TestSuites[]= TestSuite.split(\",\");\n\t\t\t\t\tfor (int z = 0; z < TestSuites.length; z++){\n\t\t\t\t\t\t\tif(testSuiteResults.getValueByName(l, \"name\").equals(TestSuites[z])){\n\t\t\t\t\t\t\tSystem.out.println(testSuiteResults.getValueByName(l, \"name\").equals(TestSuites[z]));\n\t\t\t\t\t\t\t TestSuiteId= (String) testSuiteResults.getValueByName(l, \"id\");\n\t\t\t\t\t\t\t// System.out.println(\"SuiteNamer===\"+testSuiteResults.getValueByName(l, \"name\"));\n\t\t\t\t\t\t\tString SuiteName=(String)testSuiteResults.getValueByName(l, \"name\");\n\t\t\t\t\t\t\t getTestCases(testlinkAPIClient, ProjectId, TestSuiteId,SuiteName);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\t\t\t\t\n\t\t }\n\t\t\t \n\t\t \n\t\t} catch (TestLinkAPIException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"@Test\n\tpublic void testReadDataFromFiles2(){\n\t\tassertEquals((Integer)1 , DataLoader.data.get(\"http\"));\n\t\tassertEquals((Integer)1, DataLoader.data.get(\"search\"));\n\t}",
"public interface loadDataService {\n public List<Row> getComboContent( String sType,String comboType, Map<String,String[]> parameterMap , usersInfo loggedUser) throws Exception;\n public Result getGridContent(PagingObject po, String gridType,Map<String,String[]> parameterMap,String searchText , usersInfo loggedUser,String statusID,String from,String where ) throws Exception;\n public List<listInfo> loadStrukturList(String partID,long langID) throws Exception;\n public finalInfo getOrgInfo(long treeID) throws Exception;\n public categoryFinalInfo getCategoryInfo(long treeID) throws Exception;\n public carriersInfo getCariesInfo(long carryID) throws Exception;\n public carriersInfo getOrganizationInfo(long carryID) throws Exception;\n public List<contact> getOrgContacts(long treeID) throws Exception;\n public person getEmployeeInfo( long empId) throws Exception;\n public List<examples> getExamplesInfo(long exmpID,String langID) throws Exception;\n public List<contact> getPersonContact(long perID) throws Exception;\n public List<docList> loadQRphoto(Connection con, long exmplID,long picType) throws Exception;\n public List<docList> loadPhoto(Connection con, long exmplID,long picType) throws Exception;\n public List<docList> getExamplesPictures(Connection cc, long relID, long relType) throws Exception;\n public List<examples> getExamplesOperation(Connection cc, long relID, long langID) throws Exception;\n public int checkUser(String uName) throws Exception;\n public int checkDictRecord(String text, int dictType,String org,String pos) throws Exception ;\n public usersInfo loadUserInfo(String pID) throws Exception;\n public List<person> loadEmpList( int OrgID) throws Exception;\n public List<Row> getSelectContent( String type, Map<String, String[]> parameterMap , usersInfo loggedUser) throws Exception;\n public List<subjElement> getADVSearchMenuList(String partID) throws Exception;\n public String getADVInfo(String paramID,String paramVal,String val,String cond,String typ)throws Exception;\n public List<listInfo> loadComboForAdvancedSearch(String prmID,long parametr) throws Exception;\n public List<docList> loadRightPanelPhoto(long realID, int iType) throws Exception;\n public List<categoryFinalInfo> getCategoryStructure(long catID, int id) throws Exception;\n}",
"String exportResultsData(FilterSpecifier.ListBy listBy, String filename) throws SearchServiceException;",
"List<ResourcePojo> selectByBktName(String bktName);",
"public static void main(String[] args){\n List<Person> defaultPeople = DatabaseFile.getPeople();\n Service service = new Service(new Database());\n\n for(Person p : defaultPeople){\n service.add(p);\n }\n\n List<Person> result = new ArrayList<>();\n\n switch (scanIntWithInfo()){\n case 1:\n result.addAll(service.get());\n break;\n case 2:\n result.addAll(service.getAdultMalesOrFemales());\n break;\n case 3:\n result.addAll(service.getAdultMales());\n break;\n case 4:\n result.addAll(service.getUnderageFemales());\n break;\n }\n\n for(Person p : result){\n System.out.println(p);\n }\n\n System.out.println(\"\\nThank you for your choice!\");\n }",
"public List<EmployeeEntity> getEmployeeDataByName(String name, StorageContext context)\n\t\t\tthrows PragmaticBookSelfException {\n\t\tList<EmployeeEntity> result = null;\n\t\ttry {\n\t\t\tSession hibernateSeesion = context.getHibernateSession();\n\t\t\tString retrieveEmployeebyNameQuery = \"FROM EmployeeEntity e WHERE e.fname LIKE :fname or e.lname LIKE :lname\";\n\t\t\tQuery query = hibernateSeesion.createQuery(retrieveEmployeebyNameQuery);\n\t\t\tquery.setParameter(\"fname\", name);\n\t\t\tquery.setParameter(\"lname\", name);\n\t\t\tresult = (List<EmployeeEntity>) query.list();\n\t\t} catch (HibernateException he) {\n\t\t\tthrow new PragmaticBookSelfException(he);\n\t\t}\n\t\treturn result;\n\t}",
"@Parameterized.Parameters\n public static Collection<Object[]> data() {\n Object[][] data = new Object[][] {\n { \"Jack\" , \"Temperature\"},\n { \"Jack\" , \"AQI\"},\n { \"Jack\" , \"Location\"},\n { \"David\", \"Temperature\"},\n { \"David\", \"AQI\"},\n { \"David\", \"Location\"},\n };\n return Arrays.asList(data);\n }",
"public List<T> getAll(String name) {\n\t\tList<T> result = new ArrayList<T>();\n\t\tint sz = size();\n\t\tfor (int i = 0; i < sz; i++) {\n\t\t\tString n = getName(i);\n\t\t\tif (name == n || (name != null && name.equals(n))) {\n\t\t\t\tresult.add(getVal(i));\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}",
"public List<String > getNames(){\n List<String> names = new ArrayList<>();\n String fNameQuery = \"SELECT \" + _IDP + \",\" + COL_F_NAME + \",\" + COL_L_NAME + \" FROM \" + TPYTHONISTAS + \" ;\";\n SQLiteDatabase db = this.getReadableDatabase();\n Cursor c = db.rawQuery(fNameQuery, null);\n String name;\n if (c.moveToFirst()) {\n do {\n // put together NameID#, period, Lastname, Firstname\n name = c.getString(0) + \". \" + c.getString(2) + \", \" + c.getString(1);\n names.add(name);\n } while (c.moveToNext());\n }\n c.close();\n db.close();\n return names;\n }",
"List<ConfigData> selectByExample(ConfigDataExample example);",
"public List queryTestName(String name) {\n\t\tthis.init();\n\t\tList list = null;\n\t\t try {\n\t\t\t list= sqlMap.queryForList(\"selectTestByUsername\",name);\n\t\t} catch (SQLException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} \n\t\treturn list;\n\t}",
"public Object run(){\n\t\t\t List nameList = keyRing.getX500NameFromNameMapping(name);\n\t\t\t //List nameList = keyRing.findDNFromNS(name);\n\t\t\t if (log.isDebugEnabled()) {\n\t\t\t log.debug(\"List of names for \" + name + \": \" + nameList);\n\t\t\t }\n\t\t\t List keyList = new ArrayList();\n\t\t\t for (int i = 0; i < nameList.size(); i++) {\n\t\t\t X500Name dname = (X500Name)nameList.get(i);\n\t\t\t List pkCerts = keyRing.findPrivateKey(dname);\n\t\t\t if (pkCerts == null) {\n\t\t\t\t return keyList;\n\t\t\t }\n keyList.addAll(pkCerts);\n\t\t\t }\n\t\t\t return keyList;\n\t\t }",
"private Collection<Object> getOrderedTestNamesByOrderingFacility(String labCLIAid)\n{\n ArrayList<Object> dtList = null;\n if(cachedFacilityList != null)\n dtList = (ArrayList<Object> )cachedFacilityList.get(labCLIAid);\n return dtList;\n\n }",
"public ArrayList<NameRecord> getMatches(String partialName){\n\t\tpartialName=partialName.toLowerCase();\n\t\tArrayList<NameRecord> result = new ArrayList<NameRecord>();\n\t\tfor (int i = 0;i<names.size();i++){\n\t\t\tString s = names.get(i).toLowerCase();\n\t\t\tif (s.contains(partialName)){\n\t\t\t\tresult.add(list.get(i));\n\t\t\t}\n\t\t}\t\n\t\treturn result;\n\t}",
"void getPersonQrData(String storeCode);",
"private Set<String> projectSelectIn(GenericDAO genericDAO, String relationName, String projectAttributeName,\n\t\t\tString inputAttributeName, String inputAttributeKnownTerms) {\n\t\tSet<String> values = new HashSet<String>();\n\t\tString query = String.format(PROJET_SELECTIN_SQL_STATEMENT, projectAttributeName, relationName,\n\t\t\t\tinputAttributeName, inputAttributeKnownTerms);\n\t\tGenericTableObject result = genericDAO.executeQuery(query);\n\t\tif (result != null) {\n\t\t\tfor (Tuple tuple : result.getTable()) {\n\t\t\t\tvalues.add(tuple.getStringValues().get(0));\n\t\t\t}\n\t\t}\n\t\treturn values;\n\t}",
"public List<String> getListOfAuthorizedByName(\n List<String> names,\n String username,\n ResponseToFailedAuthorization failureResponse,\n AccessLevel accessLevel,\n Session session,\n QueryEntityType queryEntityType ) throws Exception {\n\n if ( queryEntityType == QueryEntityType.Project ) {\n logger.debug( \"Getting list of authorized projects for user \" + username );\n return getListOfAuthorizedByName(\n names, username, failureResponse, accessLevel, session,\n SECURED_PROJECTS_SQL_QUERY, OPEN_AND_SECURED_PROJECTS_SQL_QUERY, RTN_PROJECT_VAR_NAME, SECURE_PROJECTS_PARAM_LIST_NAME, OPEN_PROJECTS_PARAM_LIST_NAME\n );\n }\n else {\n logger.debug( \"Getting list of authorized samples for user \" + username );\n return getListOfAuthorizedByName(\n names, username, failureResponse, accessLevel, session,\n SECURED_SAMPLES_SQL_QUERY, OPEN_AND_SECURED_SAMPLES_SQL_QUERY, RTN_SAMPLE_VAR_NAME, SECURE_SAMPLES_PARAM_LIST_NAME, OPEN_SAMPLES_PARAM_LIST_NAME\n );\n }\n }",
"List<ProductInfoOutput> findList(List<String> productIdList);",
"static public tilda.data_test.Testing4View_Data lookupByAll() throws Exception\r\n {\r\n tilda.data_test._Tilda.TILDA__TESTING4VIEW Obj = new tilda.data_test.Testing4View_Data();\r\n Obj.initForLookup(0);\r\n\r\n\r\n return (tilda.data_test.Testing4View_Data) Obj;\r\n }",
"public List<String> getAllData(){\n\t}",
"public static List<Person> loadTrainingSet(){\n List<Person> list_of_persons = new LinkedList<Person>();\n String[] names = getAllNames();\n\n try (Connection con = DriverManager.getConnection(url, user, password)){\n for(int i=0; i<names.length; i++){\n List<Histogram> histograms = new ArrayList<>();\n String query = \"SELECT h_json FROM \"+DATABASE_NAME+\".\"+names[i]+\";\";\n \n Statement st = con.createStatement();\n ResultSet rs = st.executeQuery(query);\n\n while (rs.next()) {\n Map<Integer, Integer> map = new HashMap<>();\n JSONObject obje = new JSONObject(rs.getString(1));\n for(int y=0; y<255; y++){\n map.put(y, (int)obje.get(\"\"+y));\n }\n histograms.add(new Histogram(map));\n }\n\n list_of_persons.add(new Person(names[i], histograms));\n }\n con.close();\n } catch (SQLException ex) {\n ex.printStackTrace();\n } \n\n return list_of_persons;\n }",
"private MyPersonModelProvider(String inputdata) {\n\t\t\tList<String> contents = UtilFile.readFile(inputdata);\n\t\t\tList<List<String>> tableContents = UtilFile.convertTableContents(contents);\n\n\t\t\tpersons = new ArrayList<MyPerson>();\n\t\t\tfor (List<String> iList : tableContents) {\n\t\t\t\tpersons.add(new MyPerson(iList.get(0), iList.get(1), iList.get(2), Boolean.valueOf(iList.get(3))));\n\t\t\t}\n\t\t}",
"public void getData(String dataName){\r\n this.mData.get(dataName);\r\n }",
"@Override\n\tpublic <K extends BasePojo> List<K> getDataListByTypes(String[] types)\n\t\t\tthrows ServiceException {\n\t\treturn null;\n\t}",
"public String getSampleName();",
"private Collection<Object> getOrderedTestNamesByPA(String programArea,String labId)\n{\n\n ArrayList<Object> dtList = null;\n HashMap<Object,Object> ofMap = null;\n\n if(cachedProgAreaFacilityList != null)\n {\n ofMap = (HashMap<Object,Object>) cachedProgAreaFacilityList.get(programArea);\n\n if (ofMap != null)\n dtList = (ArrayList<Object> ) ofMap.get(labId);\n }\n return dtList;\n}",
"public List<Dataset> getDatasets();",
"void getPeople();",
"public void testRetrieveProjectsByNameAndVersion() throws RetrievalException {\r\n System.out.println(\"Demo 5: Retrieves the projects by name and version.\");\r\n\r\n // There might be more than one with this name and version (e.g., different catalog)\r\n ExternalProject[] projects = defaultDBProjectRetrieval.retrieveProject(\"Project A\", \"Version 1\");\r\n\r\n ExternalProject project = null;\r\n String[] technologies = null;\r\n for (int i = 0; i < projects.length; ++i) {\r\n // Outputs the info of each project.\r\n project = projects[i];\r\n System.out.println(project.getId());\r\n System.out.println(project.getName());\r\n System.out.println(project.getVersion());\r\n System.out.println(project.getCatalogId());\r\n System.out.println(project.getForumId());\r\n System.out.println(project.getShortDescription());\r\n System.out.println(project.getFunctionalDescription());\r\n technologies = project.getTechnologies(); // should not be null\r\n for (int t = 0; t < technologies.length; t++) {\r\n System.out.println(\"Uses technology: \" + technologies[t]);\r\n }\r\n }\r\n\r\n // Should only have a maximum of 2 entries but the order may vary.\r\n ExternalProject[] projects2 = defaultDBProjectRetrieval.retrieveProjects(\r\n new String[] {\"Project A\", \"Project C\"}, new String[] {\"Version 1\", \"Version 2\"});\r\n // Should get only one.\r\n System.out.println(projects2.length);\r\n System.out.println(projects2[0].getName());\r\n\r\n System.out.println();\r\n }",
"@Override\n public List<String> call() {\n List<String> nameList = null;\n nameList = doScan(basePackage, new ArrayList<>());\n\n return nameList;\n }",
"protected abstract String getFeatureName(Map<String, Object> data);",
"public ArrayList<Test1> search_test1(String name) throws Exception {\n\t\t log.setLevel(Level.INFO);\n\t log.info(\"search_test1 Dao started operation!\");\n\n\t\ttry{\n\n\t\t\tQuery result = entityManager.\n\t\t\tcreateNativeQuery(search_Test1,Test1.class)\n\n\t\t\t.setParameter(\"name\", name.equals(\"%%\") ? name:name.concat(\"%\"))\n;\n\n\t\t\tArrayList<Test1> Test1_list =\t(ArrayList<Test1>)result.getResultList();\n\n\t\t\tif(Test1_list == null){\n\n\t\t\tlog.error(\"search_test1 Dao throws exception :\" + \"null\" );\n\t\t\t}\n\t\t\tlog.info(\"Object returned from search_test1 Dao method !\");\n\t\t\treturn (ArrayList<Test1>) Test1_list;\n\n\t\t}catch(Exception e){\n\n\t\t\t//new Exception(e.toString()); // this needs to be changed\n\t\t\tlog.error(\"search_test1 Dao throws exception : \"+e.toString());\n\n\t\t}\n\t\treturn null;\n\n\n\t}",
"@Override\n public void getMosSource(String testTest, ArrayList<String> source) {\n\n }",
"ResponseEntity<Response> placesInCommon(String userId1, String listName1, String userId2, String listName2);",
"@DataProvider\r\n\t\t public Object[][] getTestData()\r\n\t\t\t{\r\n\t\t\t \r\n\t\t\t\treturn TestUtil.getData(suiteProductDescPageXls,this.getClass().getSimpleName());\r\n\t\t\t}",
"public static Map<String, Person> GetPersons()\n {\n List<Person> persons = dataWraper.getAll(FrekenBok.class);\n Map<String, Person> personMap = new HashMap<>();\n\n persons.forEach( (i)->\n personMap.put(i.GetName(), i)\n );\n\n persons = dataWraper.getAll(LitleBoy.class);\n persons.forEach( (i)->\n personMap.put(i.GetName(), i)\n );\n\n return personMap;\n }",
"@Override\n protected ArrayList<String> doInBackground(Void... voids) {\n return dbAdapter.getAlllistNamesInList(); //To change body of implemented methods use File | Settings | File Templates.\n }",
"private List<String> projectSelectIn(GenericDAO genericDAO, String relationName, String projectAttributeName,\n\t\t\tString inputAttributeName, String inputAttributeKnownTerms, int queryLimit) {\n\t\tList<String> values = new ArrayList<String>();\n\t\tString query = String.format(PROJET_SELECTIN_SQL_STATEMENT, projectAttributeName, relationName, inputAttributeName, inputAttributeKnownTerms, queryLimit);\n\t\tquery += \" LIMIT \" + queryLimit;\n\t\tGenericTableObject result = genericDAO.executeQuery(query);\n\t\tif (result != null) {\n\t\t\tfor (Tuple tuple : result.getTable()) {\n\t\t\t\tvalues.add(tuple.getStringValues().get(0));\n\t\t\t}\n\t\t}\n\t\treturn values;\n\t}",
"DataList createDataList();",
"public ArrayList<Patient> getPatientList(String DocName)\r\n {\n\t ArrayList<Patient> names = new ArrayList<Patient>();\r\n\t \r\n\t try \r\n\t {\r\n\t\tResultSet rs = stmt.executeQuery( \"SELECT * FROM PATIENTDATA;\" );\r\n\t\tint i =0;\r\n\t\twhile (rs.next())\r\n\t\t{\r\n\t\t\tString fname = rs.getString(\"firstname\");\r\n\t\t\tString lname = rs.getString(\"lastname\");\r\n\t\t\tString userName = rs.getString(\"username\");\r\n\t\t\tString passWord = rs.getString(\"password\");\r\n\t\t\tString secAns = rs.getString(\"securityans\");\r\n\t\t\tString check = rs.getString(\"doctorsname\");\r\n\t\t\tint Notify = rs.getInt(\"notification\");\r\n\t\t\t// if the name matches the doctor's name, then Add to the Patient Arraylist.\r\n\t\t\tif (check.equals(DocName))\t\r\n\t\t\t{\r\n\t\t\t\tint symp[]= new int[7];\r\n\t\t\t\tint pr1[]=new int[7];\r\n\t\t\t\tint pr2[]=new int[7];\r\n\t\t\t\tint thrs[]=new int[7]; \r\n\t\t\t\t\r\n\t\t\t\tsymp[0] = rs.getInt(\"SYMPTOM1\");\r\n\t\t\t\tsymp[1] = rs.getInt(\"SYMPTOM2\");\r\n\t\t\t\tsymp[2] = rs.getInt(\"SYMPTOM3\");\r\n\t\t\t\tsymp[3] = rs.getInt(\"SYMPTOM4\");\r\n\t\t\t\tsymp[4] = rs.getInt(\"SYMPTOM5\");\r\n\t\t\t\tsymp[5] = rs.getInt(\"SYMPTOM6\");\r\n\t\t\t\tsymp[6] = rs.getInt(\"SYMPTOM7\");\r\n\t\t\t\t\r\n\t\t\t\tpr1[0] = rs.getInt(\"PrevSYMPTOM1_1\");\r\n\t\t\t\tpr1[1] = rs.getInt(\"PrevSYMPTOM1_2\");\r\n\t\t\t\tpr1[2] = rs.getInt(\"PrevSYMPTOM1_3\");\r\n\t\t\t\tpr1[3] = rs.getInt(\"PrevSYMPTOM1_4\");\r\n\t\t\t\tpr1[4] = rs.getInt(\"PrevSYMPTOM1_5\");\r\n\t\t\t\tpr1[5] = rs.getInt(\"PrevSYMPTOM1_6\");\r\n\t\t\t\tpr1[6] = rs.getInt(\"PrevSYMPTOM1_7\");\r\n\t\t\t\t\r\n\t\t\t\tpr2[0] = rs.getInt(\"PrevSYMPTOM2_1\");\r\n\t\t\t\tpr2[1] = rs.getInt(\"PrevSYMPTOM2_2\");\r\n\t\t\t\tpr2[2] = rs.getInt(\"PrevSYMPTOM2_3\");\r\n\t\t\t\tpr2[3] = rs.getInt(\"PrevSYMPTOM2_4\");\r\n\t\t\t\tpr2[4] = rs.getInt(\"PrevSYMPTOM2_5\");\r\n\t\t\t\tpr2[5] = rs.getInt(\"PrevSYMPTOM2_6\");\r\n\t\t\t\tpr2[6] = rs.getInt(\"PrevSYMPTOM2_7\");\r\n\r\n\t\t\t\t\r\n\t\t\t\tthrs[0] = rs.getInt(\"SYMPTOM1Thresh\");\r\n\t\t\t\tthrs[1] = rs.getInt(\"SYMPTOM2Thresh\");\r\n\t\t\t\tthrs[2] = rs.getInt(\"SYMPTOM3Thresh\");\r\n\t\t\t\tthrs[3] = rs.getInt(\"SYMPTOM4Thresh\");\r\n\t\t\t\tthrs[4] = rs.getInt(\"SYMPTOM5Thresh\");\r\n\t\t\t\tthrs[5] = rs.getInt(\"SYMPTOM6Thresh\");\r\n\t\t\t\tthrs[6] = rs.getInt(\"SYMPTOM7Thresh\");\r\n\t\t\t\t\r\n\t\t\t\t//make new Patient object with the patient informations.\r\n\t\t\t\tPatient P1 = new Patient(fname,lname,userName,passWord,secAns,DocName,symp,pr1,pr2,thrs);\r\n\t\t\t\tP1.setFlag(Notify);\r\n\t\t\t\tnames.add(P1); //Added to the Patient Arraylist\r\n\t\t\t\ti++;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn names; // Return list of patients\r\n\t\t\r\n\t\t\r\n\t } \r\n\t catch (SQLException e) \r\n\t {\r\n\t\t\r\n\t\te.printStackTrace();\r\n\t }\r\n\t \r\n\t return names;\r\n\t \r\n\t \r\n }",
"public static void main(String[] args) {\n\t\tString[] names;\r\n\t\tnames = new String[] {\"AV\", \"Amit\", \"Abhinav\", \"Sajal\", \"Tarvinder\",\"Punit\",\"Vibhor\"};\r\n\t\tList<String> nameList = Arrays.asList(names);\r\n\t\t\r\n\t\tFile file = new File(\"Name_File.txt\");\r\n\t\twriteToFile(file, nameList);\r\n\t\t\r\n\t\treadFromFile(file);\r\n\r\n\t}",
"public String getLists(String name){\n return \"\";\n }",
"@SuppressWarnings(\"rawtypes\")\r\n public List<GermplasmMarkerElement> getGermplasmNamesByMarkerNames(List<String> markerNames) throws MiddlewareQueryException {\r\n\r\n ArrayList<GermplasmMarkerElement> dataValues = new ArrayList<GermplasmMarkerElement>();\r\n\r\n if (markerNames == null || markerNames.isEmpty()) {\r\n return dataValues;\r\n }\r\n\r\n //Get marker_ids by marker_names\r\n List<Integer> markerIds = getIdsByNames(markerNames, 0, Long.valueOf(countAll()).intValue());\r\n\r\n if (markerIds.isEmpty()) {\r\n return dataValues;\r\n }\r\n\r\n try {\r\n // Search the allele_values, char_values, mapping_pop_values tables for the existence of marker_ids.\r\n // by getting alleleCount, charCount and mappingCount\r\n\r\n SQLQuery query = getSession().createSQLQuery(AlleleValues.GET_ALLELE_COUNT_BY_MARKER_ID);\r\n query.setParameterList(\"markerIdList\", markerIds);\r\n BigInteger alleleCount = (BigInteger) query.uniqueResult();\r\n\r\n query = getSession().createSQLQuery(CharValues.GET_CHAR_COUNT_BY_MARKER_ID);\r\n query.setParameterList(\"markerIdList\", markerIds);\r\n BigInteger charCount = (BigInteger) query.uniqueResult();\r\n\r\n query = getSession().createSQLQuery(MappingPopValues.GET_MAPPING_COUNT_BY_MARKER_ID);\r\n query.setParameterList(\"markerIdList\", markerIds);\r\n BigInteger mappingCount = (BigInteger) query.uniqueResult();\r\n\r\n // Get marker name, germplasm name from allele_values given the marker names\r\n if (alleleCount.intValue() > 0) {\r\n query = getSession().createSQLQuery(AlleleValues.GET_ALLELE_GERMPLASM_NAME_AND_MARKER_NAME_BY_MARKER_NAMES);\r\n query.setParameterList(\"markerNameList\", markerNames);\r\n List results = query.list();\r\n dataValues.addAll(getGermplasmMarkerElementsFromList(results));\r\n }\r\n\r\n // Get marker name, germplasm name from char_values given the marker names\r\n if (charCount.intValue() > 0) {\r\n query = getSession().createSQLQuery(CharValues.GET_CHAR_GERMPLASM_NAME_AND_MARKER_NAME_BY_MARKER_NAMES);\r\n query.setParameterList(\"markerNameList\", markerNames);\r\n List results = query.list();\r\n dataValues.addAll(getGermplasmMarkerElementsFromList(results));\r\n }\r\n\r\n // Get marker name, germplasm name from mapping_pop_values given the marker names\r\n if (mappingCount.intValue() > 0) {\r\n query = getSession().createSQLQuery(MappingPopValues.GET_MAPPING_GERMPLASM_NAME_AND_MARKER_NAME_BY_MARKER_NAMES);\r\n query.setParameterList(\"markerNameList\", markerNames);\r\n List results = query.list();\r\n dataValues.addAll(getGermplasmMarkerElementsFromList(results));\r\n }\r\n\r\n return dataValues;\r\n\r\n } catch (HibernateException e) {\r\n \tlogAndThrowException(\"Error with getGermplasmNamesByMarkerNames(markerNames=\" + markerNames + \") query from Marker: \"\r\n + e.getMessage(), e);\r\n }\r\n return dataValues;\r\n }",
"@Test(dataProvider=\"data-provider\")\n public void search(String ptname,String trname,String revname,String date,String walking_flat,String updown_stairs,String night,String sit_lying,String stand_upright,String catch_lock,String hip_giving_put,String stiffness,String dec_motion,String des_stairs,String asc_stairs,String rising_sitting,String putonsocks,String rising_bed,String sprint_cut,String low_sports,String jogging,String walking,String heavy_duty,String low_duty)throws InterruptedException, BiffException, IOException {\n \t \tdriver.findElement(By.className(\"cls_header_patient\")).click();\n \t \tThread.sleep(500);\n \t \tdriver.findElement(By.id(\"SearchBox\")).click();\n \t \tdriver.findElement(By.id(\"SearchBox\")).sendKeys(\"t\");\n \t \tdriver.findElement(By.className(\"btnStudySearch\")).click();\n \t \tThread.sleep(1000);\n \t WebElement ptlist = driver.findElement(By.className(\"flex_patient\"));\n\t \tList<WebElement> tagname2 = ptlist.findElements(By.tagName(\"tr\"));\n\t \tint j =1; \n\t\tfor(WebElement tlist1 : tagname2)\n\t\t{\t \t \n \t Thread.sleep(3000);\n\t\t Actions action1 = new Actions(driver);\n\t\t \n \t WebElement element1 = tlist1.findElement(By.xpath(\"/html/body/div[3]/div[3]/div/div[2]/div[2]/div[2]/div/div[7]/table/tbody/tr[\"+j+\"]/td[1]/div\"));\n \t driver.findElement(By.xpath(\"/html/body/div[3]/div[3]/div/div[2]/div[2]/div[2]/div/div[7]/table/tbody/tr[\"+j+\"]/td[1]/div\")).click();\n \t String pname=tlist1.findElement(By.xpath(\"/html/body/div[3]/div[3]/div/div[2]/div[2]/div[2]/div/div[7]/table/tbody/tr[\"+j+\"]/td[1]/div\")).getText();\n \t System.out.println(\"Patient Name=\"+pname);\n \t \t\t \t \n if( pname.matches(ptname))\n {\n \tAction doubleClick1 = action1.doubleClick(element1).build();\n \tdoubleClick1.perform();// After performing double click Map will load\n \tThread.sleep(3000);\n \tdriver.findElement(By.className(\"clsapp_pat_treatment\")).click();\n \tThread.sleep(3000);\n \t//driver.findElement(By.xpath(\"/html/body/div[3]/div[3]/div/div[2]/div[1]/div/div[7]/table/tbody/tr/td[3]/div\")).click();\n \t//Thread.sleep(3000);\n \t//driver.findElement(By.xpath(\"/html/body/div[3]/div[3]/div/div[2]/div/div[7]/table/tbody/tr/td[3]/div\")).click();\n \t WebElement trlist= driver.findElement(By.className(\"flex_treatment\"));\n List<WebElement> tagname1=trlist.findElements(By.tagName(\"tr\"));\n int i=1;\n for(WebElement tlist2 : tagname1){\n \tThread.sleep(2000);\n \t//Actions action1 = new Actions(driver);\n \tWebElement element2 = tlist2.findElement(By.xpath(\"/html/body/div[3]/div[3]/div/div[2]/div[1]/div/div[7]/table/tbody/tr[\"+i+\"]/td[3]/div\"));\n \tdriver.findElement(By.xpath(\"/html/body/div[3]/div[3]/div/div[2]/div[1]/div/div[7]/table/tbody/tr[\"+i+\"]/td[3]/div\")).click();\n \tString tname=tlist2.findElement(By.xpath(\"/html/body/div[3]/div[3]/div/div[2]/div[1]/div/div[7]/table/tbody/tr[\"+i+\"]/td[3]/div\")).getText();\n \tSystem.out.println(\"Treatment name=\"+tname);\n \t\n \tif(tname.matches(trname))\n \t\t \n \t\t{\n \t\tAction doubleClick2 = action1.doubleClick(element2).build();\n \t\tdoubleClick2.perform();\n \t\tThread.sleep(2000);\n \t\t\n \t \tThread.sleep(2000);\n \t \t//search2(evdat,mob,self,usual,pain,anxd,healt,comm);\n \t \t//Thread.sleep(3000);\n \t \t//driver.findElement(By.className(\"StudyName\")).click();\n \t \tThread.sleep(3000);\n \t \t//Thread.sleep(2000);\n\n \t \n \t \t WebElement rvlist= driver.findElement(By.className(\"flex_treat_review\"));\n \t List<WebElement> tagname3=rvlist.findElements(By.tagName(\"tr\"));\n \t int k=1;\n \t for(WebElement tlist3 : tagname3){\n \t \tThread.sleep(2000);\n \t \tWebElement element3=tlist3.findElement(By.xpath(\"/html/body/div[3]/div[3]/div/div[2]/div/div[7]/table/tbody/tr[\"+k+\"]/td[3]/div\"));\n \t driver.findElement(By.xpath(\"/html/body/div[3]/div[3]/div/div[2]/div/div[7]/table/tbody/tr[\"+k+\"]/td[3]/div\")).click();\n \t String rvname=tlist3.findElement(By.xpath(\"/html/body/div[3]/div[3]/div/div[2]/div/div[7]/table/tbody/tr[\"+k+\"]/td[3]/div\")).getText();\n \t System.out.println(\"Review name=\"+rvname);\n \t if(rvname.matches(revname)){\n \t \tAction doubleClick3 = action1.doubleClick(element3).build();\n \t\t \tdoubleClick3.perform();\n \t\t \tThread.sleep(2000);\n \t\t \tString rvform = \"//input[contains(@class,'leftmenuBox') and contains(@value,'Nonarthritic Score')]\";\n\t\t\t\t\t\t \n \t \t WebElement selfyes = driver.findElement(By.xpath(rvform));\n \t \t selfyes.click();\n \t \t Thread.sleep(3000);\n \t \t driver.findElement(By.id(\"edate\")).sendKeys(date);\n \t \t //Select ohs1 = new Select(driver.findElement(By.id(\"ohs_pain_usually\")));\n \t \t // ohs1.selectByVisibleText(pain);\n \t Select s=new Select(driver.findElement(By.id(\"score1\")));\n \t s.selectByVisibleText(walking_flat);\n \t Select s1=new Select(driver.findElement(By.id(\"score2\")));\n \t s1.selectByVisibleText(updown_stairs);\n \t Select s2=new Select(driver.findElement(By.id(\"score3\")));\n \t s2.selectByVisibleText(night);\n \t Select s3=new Select(driver.findElement(By.id(\"score4\")));\n \t s3.selectByVisibleText(sit_lying);\t\n \t Select s4=new Select(driver.findElement(By.id(\"score5\")));\n \t s4.selectByVisibleText(stand_upright);\t\n \t Select s5=new Select(driver.findElement(By.id(\"score6\")));\n \t s5.selectByVisibleText(catch_lock);\n \t Select s6=new Select(driver.findElement(By.id(\"score7\")));\n \t s6.selectByVisibleText(hip_giving_put);\n \t Select s7=new Select(driver.findElement(By.id(\"score8\")));\n \t s7.selectByVisibleText(stiffness);\n \t Select s8=new Select(driver.findElement(By.id(\"score9\")));\n \t s8.selectByVisibleText(dec_motion);\n \t Select s9=new Select(driver.findElement(By.id(\"score10\")));\n \t s9.selectByVisibleText(des_stairs);\n \t Select s10=new Select(driver.findElement(By.id(\"score11\")));\n \t s10.selectByVisibleText(asc_stairs);\n \t Select s11=new Select(driver.findElement(By.id(\"score12\")));\n \t s11.selectByVisibleText(rising_sitting);\n \t Select s12=new Select(driver.findElement(By.id(\"score13\")));\n \t s12.selectByVisibleText(putonsocks);\n \t Select s13=new Select(driver.findElement(By.id(\"score14\")));\n \t s13.selectByVisibleText(rising_bed);\n \t Select s14=new Select(driver.findElement(By.id(\"score15\")));\n \t s14.selectByVisibleText(sprint_cut);\n \t Select s15=new Select(driver.findElement(By.id(\"score16\")));\n \t s15.selectByVisibleText(low_sports);\n \t Select s16=new Select(driver.findElement(By.id(\"score17\")));\n \t s16.selectByVisibleText(jogging);\n \t Select s17=new Select(driver.findElement(By.id(\"score18\")));\n \t s17.selectByVisibleText(walking);\n \t Select s18=new Select(driver.findElement(By.id(\"score19\")));\n \t s18.selectByVisibleText(heavy_duty);\n \t Select s19=new Select(driver.findElement(By.id(\"score20\")));\n \t s19.selectByVisibleText(low_duty);\n \t Thread.sleep(2000);\n \t driver.findElement(By.id(\"btn_hip_nonarthritic_save\")).click();\n \t \tbreak;\n \t \t\n \t }\n \t k++;\n \t }\n \t break;\n \t\t}\n \ti++;\n }\n break;\n }\n j++;\n\t\t}\n\t\t\n }",
"public String name_data(String name)\r\n/* 14: */ {\r\n/* 15:27 */ if (name == \"gr_id\") {\r\n/* 16:27 */ return this.config.id.name;\r\n/* 17: */ }\r\n/* 18:28 */ String[] parts = name.split(\"c\");\r\n/* 19: */ try\r\n/* 20: */ {\r\n/* 21:32 */ if (parts[0].equals(\"\"))\r\n/* 22: */ {\r\n/* 23:33 */ int index = Integer.parseInt(parts[1]);\r\n/* 24:34 */ return ((ConnectorField)this.config.text.get(index)).name;\r\n/* 25: */ }\r\n/* 26: */ }\r\n/* 27: */ catch (NumberFormatException localNumberFormatException) {}\r\n/* 28:38 */ return name;\r\n/* 29: */ }",
"public static void main(String[] args) {\n List<Map<String, Object>> data = queryMemoGroupByName(\"' or 1=1 or name='\");\n\n for (Map<String, Object> item : data) {\n System.out.println(item);\n }\n }",
"protected DataHolder getDataHolder(List<DataHolder> dhs, String name) {\n\t\tDataHolder dh = null;\n\t\tString sindex = null;\n\t\tString sname = null;\n\t\tint index = -1;\n\t\t\n\t\tif (dhs == null || dhs.size() <= 0) return null;\n\t\tif (null == name || \"\".equals(name)) return null;\n\t\t//简单变量\n\t\tif (!name.matches(\".*?\\\\[\\\\d+\\\\]\")) {\n\t\t\tsname = name;\n\t\t} else { //list变量\n\t\t\tsname = name.replaceFirst(\"\\\\[\\\\d*\\\\].*\", \"\");\n\t\t\tsindex = name.replaceFirst(\".*?\\\\[.*?\",\"\");\n\t\t\tsindex = sindex.replaceFirst(\"\\\\].*\",\"\");\n\t\t\tindex = Integer.parseInt(sindex);\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < dhs.size(); i++) {\n\t\t\tdh = dhs.get(i);\n\t\t\tif (sname.equalsIgnoreCase(dh.getName()))\n\t\t\t\tbreak;\n\t\t\telse\n\t\t\t\tdh = null;\n\t\t}\n\t\t\n\t\tif (dh == null)\n\t\t\treturn null;\n\t\tif (index < 0) return dh;\n\t\t\n\t\tCollectionHolder ch = (CollectionHolder)dh;\n\t\tif (ch.getVars().size() < index || index<1) {\n\t\t\tgetLogger().debug(\"index \" + index + \" is out of boundary!\");\n\t\t\treturn null;\n\t\t}\n\t\treturn ch.getVars().get(index-1);\n\t}",
"public ArrayList<String[]> getResults(String name)\n\t{\n\t\treturn results.get(name);\n\t}",
"@Test\n\tpublic void query_for_request_categories_selects_name() {\n\t\tEnvironmentContext cx = null;\n\t\ttry {\n\t\t\tcx = new EnvironmentContext();\n\t\t} catch (Exception e) {\n\t\t\tfail(e.getMessage());\n\t\t}\n\t\t// And a new repository with that connection\n\t\tBuildProjectRepository repository = new BuildProjectRepositoryApiClient(cx);\n\t\t// And a reference to the BuildProject asset type\n\t\tIAssetType assetType = cx.getMetaModel().getAssetType(\"BuildProject\");\n\t\t// And a reference to the name attribute\n\t\tIAttributeDefinition nameAttribute = assetType.getAttributeDefinition(\"Name\");\n\t\t// When I build the query for build projects\n\t\tQuery query = repository.buildQueryForAllBuildProjects();\n\t\t// Then the query selects the name attribute\n\t\tassertTrue(query.getSelection().contains(nameAttribute));\n\t}",
"public List<T> getData(String filePath) {\n\n\t\tif (filePath.isEmpty())\n\t\t\tthrow new IllegalArgumentException(\"No file name specified\");\n\t\tList<T> retVal = new ArrayList<T>();\n\t\tBufferedReader bufferedReader = null;\n\t\tint count = 0;\n\t\ttry {\n\t\t\tbufferedReader = new BufferedReader(new FileReader(filePath));\n\t\t\tString inputLine = \"\";\n\t\t\twhile (true) {\n\t\t\t\tinputLine = bufferedReader.readLine();\n\t\t\t\tif (inputLine == null)\n\t\t\t\t\tbreak;\n\t\t\t\tif (inputLine.isEmpty())\n\t\t\t\t\tcontinue;\n\t\t\t\tinputLine = inputLine.toLowerCase();\n\t\t\t\tinputLine = inputLine.replace(\"\\\\,\", \"\");\n\t\t\t\tT t = (T) parseLine(inputLine);\n\t\t\t\tif (t != null) {\n\t\t\t\t\tretVal.add(t);\n\t\t\t\t}\n\n\t\t\t\tcount++;\n\t\t\t\tif (count > Program.getCount())\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t} catch (FileNotFoundException ex) {\n\t\t\tSystem.err.println(ex.getMessage());\n\t\t} catch (IOException ex) {\n\t\t\tSystem.err.println(\"Unable to read the file : \" + ex.toString());\n\t\t} catch (Exception ex) {\n\n\t\t} finally {\n\t\t\tif (bufferedReader != null) {\n\t\t\t\ttry {\n\t\t\t\t\tbufferedReader.close();\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tSystem.err.println(e.getStackTrace().toString());\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn retVal;\n\t}",
"public static void main(String[] args) {\n\t\tList<String> x=getCompanyNames();\n\t\t\n\t\tfor(String y:x){\n\t\t\tSystem.out.println(y);\n\t\t}\n\t}",
"@DataProvider(name=\"testdata\")\n\tpublic Object[][] getData()\n\t{\t\n\t\tString projectPath = System.getProperty(\"user.dir\");\n\t\tObject[][] data= testData(projectPath+\"/excel/data.xlsx\", \"Sheet1\");\n\t\treturn data;\n\t}",
"public void test_findByNamedOfQuery() {\r\n\t\t// step 1:\r\n\t\tList personList = this.persistenceService.findByNamedOfQuery(FIND_ALL_PERSON);\r\n\t\tassertNotNull(personList);\r\n\t\tassertEquals(ALL_PERSON_COUNT, personList.size());\r\n\t\t\r\n\t\t// init again\r\n\t\tpersonList = null;\r\n\t\t// step 2:\r\n\t\tpersonList = this.persistenceService.findByNamedOfQuery(FIND_PERSON_BY_NAME_EXT, NAME_PARAM[0]);\r\n\t\tassertForFindGoingmm(personList);\r\n\t\t\r\n\t\t// init again\r\n\t\tpersonList = null;\r\n\t\t// step 3:\r\n\t\tpersonList = this.persistenceService.findByNamedOfQuery(FIND_PERSON_BY_NAME, getParamMap(1));\r\n\t\tassertForFindGoogle(personList);\r\n\t}",
"@Test\n public void learnToQueryWithMultipleParamsWithAnnotatedNames() throws Exception {\n SqlSession session = null;\n\n // TODO: get a Koan06Mapper object\n Koan06Mapper mapper = null;\n\n List<Country> lc = mapper.getCountryRange2(22, 33);\n\n assertEquals(12, lc.size());\n Country finland = lc.get(11);\n assertEquals(\"Finland\", finland.getCountry());\n }",
"@Override\r\n\tpublic List<Product> searchProduct(String name,List<Product> prodlist) {\n\t\tList<Product> n=new ArrayList<Product>();\r\n\t\t{\r\n\t\t\tfor (Product x:prodlist)\r\n\t\t\t{\r\n\t\t\t\tif(name.equals(x.getName()))\r\n\t\t\t\t{\r\n\t\t\t\t\tn.add(x);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn n;\t\r\n\t\t\r\n\t}",
"public Vector getSampleAnnotationFieldNames();",
"public void testGetProjectByName() throws Exception {\r\n ProjectData projectData = new ProjectData();\r\n projectData.setName(\"project1\");\r\n projectData.setDescription(\"des\");\r\n\r\n projectService.createProject(projectData);\r\n\r\n\t\tlong start = System.currentTimeMillis();\r\n\t\tProjectData pd = null;\r\n\t\tfor (int i = 0; i < 100; i++) {\r\n\t pd = projectService.getProjectByName(\"project1\", 1);\r\n\t\t}\r\n\t\tlong end = System.currentTimeMillis();\r\n\t\tSystem.out.println(\"Run getProjectByName used \" + (end - start) + \"ms\");\r\n\r\n assertEquals(\"The project data is wrong.\", pd.getDescription(), projectData.getDescription());\r\n assertEquals(\"The project data is wrong.\", pd.getName(), projectData.getName());\r\n }",
"Set<String> readData();",
"String[] getMetadataNames();",
"private static List<String> readData(String path) throws IOException{\n ArrayList<String> data = new ArrayList<>();\n try (\n Reader reader = Files.newBufferedReader(Paths.get(path), StandardCharsets.UTF_8);\n CSVReader csvReader = new CSVReader(reader)\n ){\n String[] nextRecord;\n while ((nextRecord = csvReader.readNext()) != null) {\n if (nextRecord[0].contains(\"name\")){\n System.out.println(\"Skipping column headers...\");\n }else {\n data.add(nextRecord[0]);\n// System.out.println(nextRecord[0]);\n }\n }\n }\n return data;\n }",
"@Override\n public List<ModelPerson> selectparam(String name) {\n List<ModelPerson> result = null;\n JSONArray response = null;\n\n try {\n request = new HttpRequest(HTTP_URL_SELECTPARAM);\n request.configPostType( HttpRequest.MineType.VALUES );\n request.addParameter(\"name\", name);\n\n httpCode = request.post();\n\n if( httpCode == HttpURLConnection.HTTP_OK ) {\n response = request.getJSONArrayResponse();\n }\n\n // GSon을 사용하여 JSONArray을 List<ModelPerson> 으로 변환\n result = new Gson().fromJson( response.toString() , new TypeToken< List<ModelPerson> >(){}.getType() );\n\n } catch (IOException e) {\n e.printStackTrace();\n } catch (JSONException e) {\n e.printStackTrace();\n } catch (Exception e) {\n e.printStackTrace();\n }\n\n return result;\n }",
"List<Item> findByName(String name);",
"private void getMyTargetsList() {\n try {\n\n String qryTargets = Constants.Targets+ \"?$filter=\" +Constants.KPIGUID+ \" eq guid'\"\n + mStrBundleKpiGUID+\"'\" ;\n ArrayList<MyTargetsBean> alMyTargets = OfflineManager.getMyTargetsList(qryTargets, mStrParnerGuid,\n mStrBundleKpiName, mStrBundleKpiCode, mStrBundleKpiGUID,\n mStrBundleCalBased, mStrBundleKpiFor,\n mStrBundleCalSource, mStrBundleRollup,mStrBundleKPICat,true);\n\n ArrayList<MyTargetsBean> alOrderValByOrderMatGrp = OfflineManager.getActualTargetByOrderMatGrp(CRSSKUGroupWiseTargetsActivity.this,mStrCPDMSDIV);\n mapMyTargetValByCRSSKU = getALOrderVal(alOrderValByOrderMatGrp);\n mapMyTargetVal = getALMyTargetList(alMyTargets);\n sortingValues();\n } catch (OfflineODataStoreException e) {\n sortingValues();\n LogManager.writeLogError(Constants.strErrorWithColon + e.getMessage());\n }\n }",
"private void handleFindByName(String[] args) {\n if (args.length < 3) {\n String requiredArgs = \"<name>\";\n Messages.badNumberOfArgsMessage(args.length, FIND_BY_NAME_OPERATION, requiredArgs);\n System.exit(1);\n }\n String name = args[2];\n\n Client client = ClientBuilder.newBuilder().build();\n WebTarget webTarget = client.target(\"http://localhost:8080/pa165/rest/bricks\").queryParam(\"name\", name);\n webTarget.register(auth);\n Invocation.Builder invocationBuilder = webTarget.request();\n invocationBuilder.header(\"accept\", MediaType.APPLICATION_JSON);\n\n Response response = invocationBuilder.get();\n\n if (response.getStatus() == Response.Status.OK.getStatusCode()) {\n // return list\n List<BrickDto> brickDtoList = response.readEntity(new GenericType<List<BrickDto>>() {\n });\n System.out.println(\"Number of bricks returned: \" + brickDtoList.size());\n\n for (BrickDto b : brickDtoList) {\n System.out.println(b);\n }\n } else {\n // server error\n System.out.println(\"Error on server, server returned \" + response.getStatus());\n }\n }",
"public static void main(String[] args) {\n\n DAOManager m = new DAOManager();\n ArrayList<Person> pList = m.selectPerson1();\n\n\n\n for (Person person : pList) {\n System.out.println(person.toString());\n\n }\n }",
"public FetchData(Context context, ArrayList<String> findList) {\n this.context = context;\n this.findList = findList;\n }",
"public ArrayList<EntityAisle> getByName(String nameWanted ){\n\n DatabaseHelper databaseHelper = DatabaseHelper.getInstance(this.mExecutionContext);\n SQLiteDatabase sqLiteDatabase = databaseHelper.getReadableDatabase();\n\n ArrayList<EntityAisle> AisleList = new ArrayList<>();\n\n Cursor cursor = null;\n try {\n\n cursor = sqLiteDatabase.query(ConfigDAO.TABLE_AISLE,\n null, ConfigDAO.COLUMN_RAYON_NAME+\" LIKE '\" + nameWanted+\"'\" ,\n null, null, null, null, null);\n\n /**\n // If you want to execute raw query then uncomment below 2 lines. And comment out above line.\n\n String SELECT_QUERY = String.format(\"SELECT %s, %s, %s, %s, %s FROM %s\", Config.COLUMN_Employee_ID, Config.COLUMN_Employee_NAME, Config.COLUMN_Employee_REGISTRATION, Config.COLUMN_Employee_EMAIL, Config.COLUMN_Employee_PHONE, Config.TABLE_Employee);\n cursor = sqLiteDatabase.rawQuery(SELECT_QUERY, null);\n */\n\n if(cursor!=null)\n if(cursor.moveToFirst()){\n\n do {\n int id = cursor.getInt(cursor.getColumnIndex(ConfigDAO.COLUMN_RAYON_ID));\n String name = cursor.getString(cursor.getColumnIndex(ConfigDAO.COLUMN_RAYON_NAME));\n\n\n AisleList.add(new EntityAisle(id, name));\n } while (cursor.moveToNext());\n\n return AisleList;\n }\n } catch (Exception e){\n Log.i(TAG, \"getAllAisle: \"+e.getMessage());\n Toast.makeText(this.mExecutionContext, \"Operation failed\", Toast.LENGTH_SHORT).show();\n } finally {\n if(cursor!=null)\n cursor.close();\n sqLiteDatabase.close();\n }\n\n return AisleList;\n }",
"@Override\n protected boolean createKeys(List<Object> list) {\n\n try {\n SleuthkitCase tskCase = Case.getCurrentCaseThrows().getSleuthkitCase();\n \n if (Objects.equals(CasePreferences.getGroupItemsInTreeByDataSource(), true)) {\n List<DataSource> dataSources = tskCase.getDataSources();\n \n Collections.sort(dataSources, new Comparator<DataSource>() {\n @Override\n public int compare(DataSource dataS1, DataSource dataS2) {\n String dataS1Name = dataS1.getName().toLowerCase();\n String dataS2Name = dataS2.getName().toLowerCase();\n return dataS1Name.compareTo(dataS2Name);\n }\n });\n \n List<DataSourceGrouping> keys = new ArrayList<>();\n dataSources.forEach((datasource) -> {\n keys.add(new DataSourceGrouping(datasource));\n });\n list.addAll(keys);\n \n list.add(new Reports());\n } else {\n List<AutopsyVisitableItem> keys = new ArrayList<>(Arrays.asList(\n new DataSources(),\n new Views(tskCase),\n new Results(tskCase),\n new Tags(),\n new Reports()));\n\n list.addAll(keys);\n }\n\n } catch (TskCoreException tskCoreException) {\n logger.log(Level.SEVERE, \"Error getting datas sources list from the database.\", tskCoreException);\n } catch (NoCurrentCaseException ex) {\n logger.log(Level.SEVERE, \"Exception while getting open case.\", ex); //NON-NLS\n }\n return true;\n }",
"private void readingFiles() {\r\n\r\n File sdCard = Environment.getExternalStorageDirectory();\r\n File directory = new File(sdCard.getAbsoluteFile() + \"/MyApplication\");\r\n\r\n //List of names\r\n File name = new File(directory, \"nameList.csv\");\r\n FileInputStream fIn = null;\r\n try {\r\n fIn = new FileInputStream(name);\r\n InputStreamReader isr = new InputStreamReader(fIn);\r\n char[] inputBuffer = new char[READ_BLOCK_SIZE];\r\n String s = \"\";\r\n int charRead;\r\n while ((charRead = isr.read(inputBuffer)) > 0) {\r\n String readString = String.copyValueOf(inputBuffer, 0, charRead);\r\n s += readString;\r\n inputBuffer = new char[READ_BLOCK_SIZE];\r\n }\r\n\r\n String[] retrievedStringArray = s.split(\",\");\r\n nameList = new ArrayList<String>(Arrays.asList(retrievedStringArray));\r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n nameList = new ArrayList<String>();\r\n }\r\n\r\n //List of latitudes\r\n File lat = new File(directory, \"latList.csv\");\r\n FileInputStream fIn1 = null;\r\n try {\r\n fIn1 = new FileInputStream(lat);\r\n InputStreamReader isr = new InputStreamReader(fIn1);\r\n char[] inputBuffer1 = new char[READ_BLOCK_SIZE];\r\n String s1 = \"\";\r\n int charRead;\r\n while ((charRead = isr.read(inputBuffer1)) > 0) {\r\n String readString = String.copyValueOf(inputBuffer1, 0, charRead);\r\n s1 += readString;\r\n inputBuffer1 = new char[READ_BLOCK_SIZE];\r\n }\r\n\r\n String[] retrievedStringArray = s1.split(\",\");\r\n latList = new ArrayList<String>(Arrays.asList(retrievedStringArray));\r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n latList = new ArrayList<String>();\r\n }\r\n\r\n //List of longitudes\r\n File lng = new File(directory, \"lngList.csv\");\r\n FileInputStream fIn2 = null;\r\n try {\r\n fIn2 = new FileInputStream(lng);\r\n InputStreamReader isr = new InputStreamReader(fIn2);\r\n char[] inputBuffer2 = new char[READ_BLOCK_SIZE];\r\n String s2 = \"\";\r\n int charRead;\r\n while ((charRead = isr.read(inputBuffer2)) > 0) {\r\n String readString = String.copyValueOf(inputBuffer2, 0, charRead);\r\n s2 += readString;\r\n inputBuffer2 = new char[READ_BLOCK_SIZE];\r\n }\r\n\r\n String[] retrievedStringArray = s2.split(\",\");\r\n lngList = new ArrayList<String>(Arrays.asList(retrievedStringArray));\r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n lngList = new ArrayList<String>();\r\n }\r\n if (lngList.get(0) == \"\") {\r\n lngList.remove(0);\r\n }\r\n if (latList.get(0) == \"\") {\r\n latList.remove(0);\r\n }\r\n if (nameList.get(0) == \"\") {\r\n nameList.remove(0);\r\n }\r\n }"
] | [
"0.5919087",
"0.58850557",
"0.5778221",
"0.5607132",
"0.55833757",
"0.554784",
"0.55467623",
"0.5511592",
"0.54998416",
"0.54539007",
"0.5428668",
"0.54113644",
"0.5408553",
"0.5337827",
"0.533762",
"0.533242",
"0.53197265",
"0.5300849",
"0.52859163",
"0.5284803",
"0.5283867",
"0.5283148",
"0.5280878",
"0.5263887",
"0.52634245",
"0.52625996",
"0.5246611",
"0.52266705",
"0.5208747",
"0.5203633",
"0.51995707",
"0.5199561",
"0.518484",
"0.5176895",
"0.5175891",
"0.5166646",
"0.5165056",
"0.51649094",
"0.51628226",
"0.51440984",
"0.51358175",
"0.51332235",
"0.5128012",
"0.5125739",
"0.51207125",
"0.51102066",
"0.5103267",
"0.5102947",
"0.51017845",
"0.5100063",
"0.5093231",
"0.5090111",
"0.50834453",
"0.5081153",
"0.5076635",
"0.5076317",
"0.50721925",
"0.507215",
"0.50663924",
"0.5064665",
"0.50584245",
"0.5045066",
"0.5044684",
"0.5044102",
"0.5041079",
"0.5040735",
"0.50352895",
"0.5030294",
"0.50244504",
"0.50233555",
"0.50217193",
"0.5021379",
"0.5021253",
"0.50210524",
"0.50188595",
"0.5017043",
"0.501223",
"0.50121844",
"0.50062513",
"0.5002813",
"0.500235",
"0.49989575",
"0.4994651",
"0.4992892",
"0.49920928",
"0.49878228",
"0.49856192",
"0.49824953",
"0.49819505",
"0.49792454",
"0.49739727",
"0.49731103",
"0.49690014",
"0.49676198",
"0.49659574",
"0.49656126",
"0.49634168",
"0.496299",
"0.49629742",
"0.49624282"
] | 0.5360403 | 13 |
PROJECT SECTION Helper to enforce authorization by name, to users. | public List<Project> getListOfAuthorizedProjects(
String username,
AccessLevel accessLevel,
Session session ) throws Exception {
String queryStr = AUTHORIZED_FOR_USER_SQL_QUERY;
if ( accessLevel == AccessLevel.View ) {
queryStr = queryStr.replace( PROJ_GRP_SUBST_STR, VIEW_PROJECT_GROUP_FIELD );
}
else {
queryStr = queryStr.replace( PROJ_GRP_SUBST_STR, EDIT_PROJECT_GROUP_FIELD );
}
NativeQuery query = session.createNativeQuery( queryStr );
String queryUsername = username == null ? UNLOGGED_IN_USER : username;
query.setParameter( USERNAME_PARAM, queryUsername );
query.addEntity("P", Project.class);
List<Project> rtnVal = query.list();
return rtnVal;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"String checkUserAccessOnProject(Long id, String username);",
"public interface SectionService {\n\n @PreAuthorize(\"hasPermission(#sectionId, 'org.innovateuk.ifs.form.resource.SectionResource', 'READ')\")\n ServiceResult<SectionResource> getById(final Long sectionId);\n\n @PreAuthorize(\"hasPermission(#sectionId, 'org.innovateuk.ifs.form.resource.SectionResource', 'READ')\")\n ServiceResult<Set<Long>> getQuestionsForSectionAndSubsections(final Long sectionId);\n\n @PostAuthorize(\"hasPermission(filterObject, 'READ')\")\n\tServiceResult<List<SectionResource>> getSectionsByCompetitionIdAndType(long competitionId, SectionType type);\n\n @PreAuthorize(\"hasPermission(#sectionId, 'org.innovateuk.ifs.form.resource.SectionResource', 'READ')\")\n ServiceResult<SectionResource> getNextSection(final Long sectionId);\n\n @PreAuthorize(\"hasPermission(#section, 'READ')\")\n ServiceResult<SectionResource> getNextSection(SectionResource section);\n\n @PreAuthorize(\"hasPermission(#sectionId, 'org.innovateuk.ifs.form.resource.SectionResource', 'READ')\")\n ServiceResult<SectionResource> getPreviousSection(final Long sectionId);\n\n @PreAuthorize(\"hasPermission(#section, 'READ')\")\n ServiceResult<SectionResource> getPreviousSection(SectionResource section);\n\n @PreAuthorize(\"hasPermission(#questionId, 'org.innovateuk.ifs.form.resource.QuestionResource', 'READ')\")\n ServiceResult<SectionResource> getSectionByQuestionId(final Long questionId);\n\n @NotSecured(value = \"Everyone can see sections\", mustBeSecuredByOtherServices = false)\n ServiceResult<List<SectionResource>> getByCompetitionId(final Long CompetitionId);\n\n @NotSecured(value = \"Everyone can see sections\", mustBeSecuredByOtherServices = false)\n ServiceResult<List<SectionResource>> getByCompetitionIdVisibleForAssessment(final Long competitionId);\n\n @PreAuthorize(\"hasPermission(#parentId, 'org.innovateuk.ifs.form.resource.SectionResource', 'READ')\")\n ServiceResult<List<SectionResource>> getChildSectionsByParentId(long parentId);\n\n @SecuredBySpring(value = \"UPDATE\", description = \"Only comp admin can update a section\")\n @PreAuthorize(\"hasAnyAuthority('comp_admin')\")\n ServiceResult<SectionResource> save(SectionResource sectionResource);\n}",
"public void assertUserHasAccessToProject(String projectId) {\n if (userContextService.isSuperAdmin()) {\n /* a super admin has always access */\n return;\n }\n String userId = userContextService.getUserId();\n\n ProjectAccessCompositeKey key = new ProjectAccessCompositeKey(userId, projectId);\n Optional<ScanAccess> project = accessRepository.findById(key);\n if (!project.isPresent()) {\n securityLogService.log(SecurityLogType.POTENTIAL_INTRUSION, \"Denied user access in domain 'scan'. userId={},projectId={}\", userId,\n logSanitizer.sanitize(projectId, 30));\n // we say \"... or you have no access - just to obfuscate... so it's not clear to\n // bad guys they got a target...\n throw new NotFoundException(\"Project \" + projectId + \" does not exist, or you have no access.\");\n }\n }",
"public boolean isAllowedEnterSection(String section)\r\n {\r\n Identity userIdentity = securityService.findLoggedInIdentity();\r\n if (section.equals(SECTION_PILOT)) return rolesContainRole(userIdentity, \"PILOT\");\r\n if (section.equals(SECTION_GENERAL)) return rolesContainRole(userIdentity, \"GENERAL\");\r\n if (section.equals(SECTION_ADMIN)) return rolesContainRole(userIdentity, \"ADMIN\");\r\n return false;\r\n }",
"public interface AuthorizationMapping {\n\n /**\n * Returns true if the principal is explicity authorized to the JID\n *\n * @param principal The autheticated principal requesting authorization.\n * @return The name of the default username to use.\n */\n String map( String principal );\n\n /**\n * Returns the short name of the Policy\n *\n * @return The short name of the Policy\n */\n String name();\n\n /**\n * Returns a description of the Policy\n *\n * @return The description of the Policy.\n */\n String description();\n}",
"@Override\r\n protected void mayProceed() throws InsufficientPermissionException {\n if (ub.isSysAdmin() || ub.isTechAdmin()) {\r\n return;\r\n }\r\n// if (currentRole.getRole().equals(Role.STUDYDIRECTOR) || currentRole.getRole().equals(Role.COORDINATOR)) {// ?\r\n// ?\r\n// return;\r\n// }\r\n\r\n addPageMessage(respage.getString(\"no_have_correct_privilege_current_study\") + respage.getString(\"change_study_contact_sysadmin\"));\r\n throw new InsufficientPermissionException(Page.MENU_SERVLET, resexception.getString(\"not_allowed_access_extract_data_servlet\"), \"1\");// TODO\r\n // above copied from create dataset servlet, needs to be changed to\r\n // allow only admin-level users\r\n\r\n }",
"public void checkAuthority() {\n }",
"protected abstract String getAuthorization();",
"public void testGetProjectByNameAdminRole() throws Exception {\r\n\r\n ProjectServiceRemote projectService = lookupProjectServiceRemoteWithAdminRole();\r\n\r\n ProjectData projectData = new ProjectData();\r\n projectData.setName(\"project2\");\r\n projectData.setDescription(\"Hello\");\r\n\r\n projectService.createProject(projectData);\r\n\r\n // 2 is the administrator user id\r\n ProjectData pd = projectService.getProjectByName(\"project2\", 2);\r\n\r\n assertNotNull(\"null project data received\", pd);\r\n }",
"private boolean isAuthorized() {\n return true;\n }",
"private String makeUserReadableMessage(String username, String projectStr) {\n //return \"User \" + username + \" requested projects '\" + projectStr + \"' but may not access one or more of them.\";\n return \"You do not have permission to view or edit the project.\";\n }",
"public void testGetProjectByNameUserRole() throws Exception {\r\n ProjectServiceRemote projectService = lookupProjectServiceRemoteWithUserRole();\r\n\r\n ProjectData projectData = new ProjectData();\r\n projectData.setName(\"project1\");\r\n projectData.setDescription(\"Hello\");\r\n\r\n projectService.createProject(projectData);\r\n\r\n // 1 is the user id\r\n ProjectData pd = projectService.getProjectByName(\"project1\", 1);\r\n\r\n assertNotNull(\"null project data received\", pd);\r\n }",
"@Override\n public String validNameProject(String name, Integer project_Oid) {\n return null;\n }",
"@PreAuthorize(\"checkPermission('Legal Entity', 'Manage Legal Entities', {'view','create'})\")\n @GetMapping(\n produces = {\"application/json\"})\n @ResponseStatus(HttpStatus.OK)\n public void sampleEndpointThatRequiresUserToHavePermissionsToViewCreateLegalEnitites() {\n LOGGER.info(\"Preauthorize annotation have checked that user has permissions to view/create legal entities\");\n // continue custom implementation ...\n }",
"@Test\n public void testJdoeAccess() throws IOException {\n HttpResponse response = makeRequest(\"http://localhost:8080/api/jdoe\", \"jdoe\", \"jdoe\");\n assertAccessGranted(response, \"jdoe\");\n\n // jdoe can access information about alice because he is granted with \"people-manager\" role\n response = makeRequest(\"http://localhost:8080/api/alice\", \"jdoe\", \"jdoe\");\n assertAccessGranted(response, \"alice\");\n }",
"@Override\n protected boolean isAuthorized(PipelineData pipelineData) throws Exception\n {\n \t// use data.getACL() \n \treturn true;\n }",
"default T calendarAccessAuthorized() {\n return amend(CALENDAR_ACCESS_AUTHORIZED_OPTION, true);\n }",
"public abstract String enableSubmission(ISubmissionProject project);",
"public boolean shouldDisplayProject ()\r\n {\r\n return displayProjectName_;\r\n }",
"private void authorize() {\r\n\r\n\t}",
"private boolean canExecuteProposalTask( String userId, ProposalDevelopmentDocument doc, String taskName ) {\n\t\tProposalTask task = new ProposalTask( taskName, doc );\n\t\tTaskAuthorizationService taskAuthenticationService = KraServiceLocator.getService( TaskAuthorizationService.class );\n\t\treturn taskAuthenticationService.isAuthorized( userId, task );\n\t}",
"@CoreFunction\npublic interface ProjectAuthorisationMgt extends ProjectView {\n}",
"public interface TestService {\n// @PreAuthorize(\"hasAuthority('test')\")\n String test();\n}",
"public interface AclOrgService {\n\n /**\n * 根据ID查询出部门\n */\n AclOrg findById(Long id);\n\n /**\n * 查询出所有部门\n */\n List<AclOrg> findAll();\n\n /**\n * 查询处所有父部门\n */\n List<AclOrg> findAllParent();\n\n /**\n * 保存部门\n */\n @PreAuthorize(\"hasAuthority('ORG_SAVE')\")\n AclOrg save(AclOrg aclOrg);\n\n /**\n * 根据ID删除部门\n */\n @PreAuthorize(\"hasAuthority('ORG_DELETE')\")\n void del(Long id);\n\n /**\n * 分页列表\n */\n @PreAuthorize(\"hasAuthority('ORG_LIST')\")\n Page<AclOrg> selectPageList(int pageNumber, int pageSize, Map<Object, Object> filter);\n}",
"@Override\n public void decide(Authentication authentication,\n Object o,\n Collection<ConfigAttribute> collection) throws AccessDeniedException, InsufficientAuthenticationException {\n System.out.println(\"MyAccessDecisionManager.decide()------------------验证用户是否具有一定的权限--------\");\n if (collection == null) {\n return;\n }\n for (ConfigAttribute configAttribute : collection) {\n String needResource = configAttribute.getAttribute();\n //authentication.getAuthorities() 用户所有的权限\n for (GrantedAuthority ga : authentication.getAuthorities()) {\n if (needResource.equals(ga.getAuthority())) {\n return;\n }\n }\n }\n throw new AccessDeniedException(\"--------MyAccessDescisionManager:decide-------权限认证失败!\");\n\n }",
"@Test\n void testGetRegistrarForUser_inContacts_isAdmin() throws Exception {\n expectGetRegistrarSuccess(\n CLIENT_ID_WITH_CONTACT,\n GAE_ADMIN,\n \"admin [email protected] has [OWNER, ADMIN] access to registrar TheRegistrar\");\n verifyNoInteractions(lazyGroupsConnection);\n }",
"@Test\n public void testAliceAccess() throws IOException {\n HttpResponse response = makeRequest(\"http://localhost:8080/api/alice\", \"alice\", \"alice\");\n assertAccessGranted(response, \"alice\");\n\n // alice can not access information about jdoe\n response = makeRequest(\"http://localhost:8080/api/jdoe\", \"alice\", \"alice\");\n assertEquals(403, response.getStatusLine().getStatusCode());\n }",
"public interface ViewerOwnerRestriction {\n\n /** Tells if the viewer can access a group owned by the provided owner.\n *\n * @param group the group that the viewer is trying to access. It is never\n * null.\n *\n * @param ownerId the id of the owner of the group. If the gadget group is\n * customizable, then this parameter corresponds the group's owner attribute.\n * It is never 0.\n *\n * @param viewerId the id of the user trying to view the gadget group. It is\n * never 0.\n *\n * @return implementations should return true if the viewer is allowed to see\n * the gadget group.\n */\n boolean canView(final GadgetGroup group, final long ownerId,\n final long viewerId);\n}",
"public abstract Collection<RepositoryUser> getProjectMembers(KenaiProject kp) throws IOException;",
"public interface ReviewAssignmentProjectManager extends Configurable {\n /**\n * Adds reviewers to project and extends some project phases if necessary.\n *\n * @param reviewAuction\n * Review auction.\n * @param project\n * the Project.\n * @param assignment\n * Set of approved review applications.\n *\n * @throws IllegalArgumentException\n * If any argument is null or assignment contains null key.\n * @throws ReviewAssignmentProjectManagementException\n * If any other error with managing projects resources and phases occurs.\n */\n public void addReviewersToProject(ReviewAuction reviewAuction, Project project,\n Set<ReviewApplication> assignment)\n throws ReviewAssignmentProjectManagementException;\n}",
"boolean isProtected(String name);",
"@Override\n public ResponseEntity<Permissions> showPermissions(String pluginName, String organizationName) {\n long userId = userService.getCurrentUser().getId();\n long pluginId = projectService.getIdByPluginId(pluginName);\n PermissionType type = PermissionType.PROJECT;\n List<NamedPermission> perms = permissionService.getProjectPermissions(userId, pluginId).toNamed();\n if (perms.isEmpty()) {\n type = PermissionType.GLOBAL;\n perms = permissionService.getGlobalPermissions(userId).toNamed();\n }\n return new ResponseEntity<>(new Permissions().type(type).permissions(perms), HttpStatus.OK);\n }",
"protected void enableSecurityAdvisor() {\r\n\tif (osylSecurityService.getCurrentUserRole().equals(\r\n\t\tOsylSecurityService.SECURITY_ROLE_COURSE_INSTRUCTOR)\r\n\t\t|| osylSecurityService.getCurrentUserRole().equals(\r\n\t\t\tOsylSecurityService.SECURITY_ROLE_PROJECT_MAINTAIN)) {\r\n\t securityService.pushAdvisor(new SecurityAdvisor() {\r\n\t\tpublic SecurityAdvice isAllowed(String userId, String function,\r\n\t\t\tString reference) {\r\n\t\t return SecurityAdvice.ALLOWED;\r\n\t\t}\r\n\t });\r\n\t}\r\n }",
"public boolean projectsPageNav() {\n\t\treturn hdrProjects.getText().equals(\"Projects\");\n\t}",
"@Override\n protected String requiredPutPermission() {\n return \"admin\";\n }",
"public boolean isToolsAuthorized() {\n\t\treturn isFdAuth || isGaAuth || isPeAuth;\n\t}",
"@Test\n public void testPermissions() throws IOException {\n Note note = notebook.createNote(\"note1\", anonymous);\n NotebookAuthorization notebookAuthorization = notebook.getNotebookAuthorization();\n // empty owners, readers or writers means note is public\n Assert.assertEquals(notebookAuthorization.isOwner(note.getId(), new HashSet(Arrays.asList(\"user2\"))), true);\n Assert.assertEquals(notebookAuthorization.isReader(note.getId(), new HashSet(Arrays.asList(\"user2\"))), true);\n Assert.assertEquals(notebookAuthorization.isRunner(note.getId(), new HashSet(Arrays.asList(\"user2\"))), true);\n Assert.assertEquals(notebookAuthorization.isWriter(note.getId(), new HashSet(Arrays.asList(\"user2\"))), true);\n notebookAuthorization.setOwners(note.getId(), new HashSet(Arrays.asList(\"user1\")));\n notebookAuthorization.setReaders(note.getId(), new HashSet(Arrays.asList(\"user1\", \"user2\")));\n notebookAuthorization.setRunners(note.getId(), new HashSet(Arrays.asList(\"user3\")));\n notebookAuthorization.setWriters(note.getId(), new HashSet(Arrays.asList(\"user1\")));\n Assert.assertEquals(notebookAuthorization.isOwner(note.getId(), new HashSet(Arrays.asList(\"user2\"))), false);\n Assert.assertEquals(notebookAuthorization.isOwner(note.getId(), new HashSet(Arrays.asList(\"user1\"))), true);\n Assert.assertEquals(notebookAuthorization.isReader(note.getId(), new HashSet(Arrays.asList(\"user4\"))), false);\n Assert.assertEquals(notebookAuthorization.isReader(note.getId(), new HashSet(Arrays.asList(\"user2\"))), true);\n Assert.assertEquals(notebookAuthorization.isRunner(note.getId(), new HashSet(Arrays.asList(\"user3\"))), true);\n Assert.assertEquals(notebookAuthorization.isRunner(note.getId(), new HashSet(Arrays.asList(\"user2\"))), false);\n Assert.assertEquals(notebookAuthorization.isWriter(note.getId(), new HashSet(Arrays.asList(\"user2\"))), false);\n Assert.assertEquals(notebookAuthorization.isWriter(note.getId(), new HashSet(Arrays.asList(\"user1\"))), true);\n // Test clearing of permissions\n notebookAuthorization.setReaders(note.getId(), Sets.<String>newHashSet());\n Assert.assertEquals(notebookAuthorization.isReader(note.getId(), new HashSet(Arrays.asList(\"user2\"))), true);\n Assert.assertEquals(notebookAuthorization.isReader(note.getId(), new HashSet(Arrays.asList(\"user4\"))), true);\n notebook.removeNote(note.getId(), anonymous);\n }",
"@Override\n public boolean userCanAccess(int id) {\n return true;\n }",
"@Given(\"I am on the Project Contact Details Page\")\n public void i_am_on_the_project_contact_details_page(){\n i_logged_into_Tenant_Manager_Project_list_page();\n i_click_on_create_a_new_project();\n\n }",
"@Override\n public String getStudyAccess() throws WdkModelException, WdkUserException {\n return \"public\";\n }",
"boolean getIsAuthorized();",
"public interface ReadOnlyOrganizer {\n\n /**\n * Returns an unmodifiable view of the tasks list.\n * This list will not contain any duplicate tasks.\n */\n ObservableList<Task> getTaskList();\n\n /**\n * Returns an unmodifiable view of the current user's task list.\n * This list will not contain any duplicate tasks.\n */\n ObservableList<Task> getCurrentUserTaskList();\n\n /**\n * Returns an unmodifiable view of the tags list.\n * This list will not contain any duplicate tags.\n */\n ObservableList<Tag> getTagList();\n\n /**\n * Returns an unmodifiable view of the users list.\n * This list will not contain any duplicate users.\n */\n ObservableList<User> getUserList();\n\n /**\n * Returns the currently logged in user\n */\n User getCurrentLoggedInUser();\n\n}",
"GlobalAuthorizationConfigurationBuilder authorization();",
"@RequestMapping(value= {\"/projects/{projectId}\"}, method= RequestMethod.GET)\r\n\tpublic String project(Model model, @PathVariable Long projectId) {\r\n\t\tProject project = projectService.getProject(projectId);\r\n\t\tif(project==null) { return \"redirect:/projects\"; }\r\n\t\t\r\n\t\tUser loggedUser= sessionData.getLoggedUser();\r\n\t\t\r\n\t\tList<User> members = userService.getMembers(project);\r\n\t\tList<Credentials> credentialsMembers = this.credentialsService.getCredentialsByUsers(members);\r\n\t\t\r\n\t\tif(!project.getOwner().equals(loggedUser) && !members.contains(loggedUser)) {\r\n\t\t\treturn \"redirect:/projects\";\r\n\t\t}\r\n\t\t\r\n\t\tmodel.addAttribute(\"credentialsService\", this.credentialsService);\r\n\t\tmodel.addAttribute(\"credentialsMembers\", credentialsMembers);\r\n\t\tmodel.addAttribute(\"ownerCredentials\", this.credentialsService.getCredentialsByUserId(project.getOwner().getId()));\r\n\t\tmodel.addAttribute(\"loggedCredentials\", sessionData.getLoggedCredentials());\r\n\t\tmodel.addAttribute(\"loggedUser\", loggedUser);\r\n\t\tmodel.addAttribute(\"project\", project);\r\n\t\t\r\n\t\treturn \"project\";\r\n\t}",
"public Boolean isAuthorized(String userId);",
"public IPermissionOwner getPermissionOwner(String fname);",
"boolean isAutorisationUtilisation();",
"private static IndexAuthorization buildAuth(final Properties authProps,\n final Reporter reporter) throws IOException {\n if(authProps.size() == 0) {\n return null;\n }\n\n IndexAuthorization authorization = new BasicAuth(authProps);\n for(String index : authorization.authorizedIndexes()) {\n reporter.createStore(index);\n }\n\n return authorization;\n }",
"boolean hasProject();",
"String privacyPolicy();",
"@DefaultMessage(\"\\\"View\\\" permission must not be unchecked for a section\")\n @Key(\"gen.viewPermRequiredException\")\n String gen_viewPermRequiredException();",
"boolean CanUseYearOfPlenty(String resource1, String resource2);",
"private void initForWritableEndpoints(UserGroupInformation callerUGI,\n boolean doAdminACLsCheck) throws AuthorizationException {\n // clear content type\n response.setContentType(null);\n\n if (callerUGI == null) {\n String msg = \"Unable to obtain user name, user not authenticated\";\n throw new AuthorizationException(msg);\n }\n\n if (UserGroupInformation.isSecurityEnabled() && isStaticUser(callerUGI)) {\n String msg = \"The default static user cannot carry out this operation.\";\n throw new ForbiddenException(msg);\n }\n\n if (doAdminACLsCheck) {\n ApplicationACLsManager aclsManager = rm.getApplicationACLsManager();\n if (aclsManager.areACLsEnabled()) {\n if (!aclsManager.isAdmin(callerUGI)) {\n String msg = \"Only admins can carry out this operation.\";\n throw new ForbiddenException(msg);\n }\n }\n }\n }",
"@Test\n @Rollback\n public void testDocumentProjectRights() throws TdarActionException {\n Project project = new Project();\n project.setTitle(\"test rights project\");\n project.setDescription(project.getTitle());\n project.markUpdated(getAdminUser());\n genericService.saveOrUpdate(project);\n ResourceCollection collection = createResourceCollectionWithAdminRights();\n genericService.saveOrUpdate(collection);\n genericService.saveOrUpdate(collection);\n collection.getAuthorizedUsers().add(new AuthorizedUser(getAdminUser(), getBasicUser(), Permissions.ADMINISTER_COLLECTION));\n genericService.saveOrUpdate(collection);\n\n ResourceCollection collectionChild = new ResourceCollection();\n collectionChild.setName(\"child collection with project\");\n // collectionChild.setSortBy(SortOption.RELEVANCE);\n collectionChild.setParent(collection);\n // collectionChild.setOrientation(DisplayOrientation.GRID);\n collectionChild.setDescription(collectionChild.getTitle());\n collectionChild.markUpdated(getAdminUser());\n project.getManagedResourceCollections().add(collectionChild);\n collectionChild.getManagedResources().add(project);\n resourceCollectionService.updateCollectionParentTo(getAdminUser(), collectionChild, collection);\n genericService.saveOrUpdate(collectionChild);\n genericService.saveOrUpdate(project);\n DocumentController dc = generateNewInitializedController(DocumentController.class, getBasicUser());\n dc.prepare();\n String add = dc.add();\n assertEquals(Action.SUCCESS, add);\n List<Resource> potentialParents = dc.getPotentialParents();\n\n logger.debug(\"my parents: size:{} contents:{}\", potentialParents.size(), potentialParents);\n assertTrue(potentialParents.contains(project));\n }",
"public boolean supportsPreemptiveAuthorization() {\n/* 225 */ return true;\n/* */ }",
"private boolean canExecuteTask( String userId, ProposalDevelopmentDocument doc, String taskName ) {\n\t\treturn canExecuteProposalTask( userId, doc, taskName );\n\t}",
"void setRepositoryPermissionsToReadOnly(URL repositoryUrl, String projectKey, String username) throws Exception;",
"private boolean isAllowed(String who){\n Boolean result = settings.containsKey(who)\n || settings.getProperty(\"components\").contentEquals(\"\");\n return result;\n }",
"public abstract boolean isRestricted();",
"@Override\n protected String requiredGetPermission() {\n return \"user\";\n }",
"boolean hasPrincipal();",
"@Override\r\n\tpublic List<Project> viewAllProjects(String authToken) throws ManualException{\r\n\t\tfinal\tSession session=sessionFactory.openSession();\r\n\t\tList<Project> projectList =null;\r\n\r\n\t\t/* check for authToken of admin */\r\n\t\tsession.beginTransaction();\r\n\t\ttry{\r\n\t\t\tAuthTable authtable=session.get(AuthTable.class, authToken);\r\n\t\r\n\t\t\tUser user = authtable.getUser();\r\n\t\t\tif(user.getUsertype().equals(\"Admin\")){\r\n\t\t\t\tString hql=\"from project\";\r\n\t\t\t\tQuery q=session.createQuery(hql);\r\n\t\t\t\tprojectList=(List)q.list();\r\n\t\t\t}\r\n\t\t}\r\n\t\tcatch(Exception e){\r\n\t\t\tprojectList=null;\r\n\t\t}\r\n\t\tfinally{\r\n\t\t\tsession.getTransaction().commit();\r\n\t\t\tsession.close();\r\n\t\t\treturn projectList;\r\n\t\t}\r\n\t}",
"@SystemAPI\n\tboolean needsApproval();",
"public boolean checkPermission(Authentication auth, Integer ctId, String... authority) throws NoSuchPageException {\n List<AuthorityDTO> lstAuthority = authorityMapper.getContestAuthority(ctId, auth.getName());\n for(AuthorityDTO curAuth : lstAuthority){\n for(String requireAuth : authority){\n if (requireAuth.equals(curAuth.getName())){\n return true;\n }\n }\n }\n return false;\n }",
"@Test\n void testGetRegistrarForUser_notInContacts_isAdmin_notReal() throws Exception {\n expectGetRegistrarSuccess(\n OTE_CLIENT_ID_WITHOUT_CONTACT,\n GAE_ADMIN,\n \"admin [email protected] has [OWNER, ADMIN] access to registrar OteRegistrar.\");\n verifyNoInteractions(lazyGroupsConnection);\n }",
"public boolean canAccess(String docName) {\n\t\tint i =0 ;\n\t\twhile(i<sharedToMe.size()) {\n\t\t\tif(sharedToMe.get(i).getDocName().equals(docName))\n\t\t\t\treturn true;\n\t\t\ti++;\n\t\t}\n\t\treturn false;\n\t}",
"boolean isAdmin();",
"public boolean isAdmin();",
"public Organizer(String username, String password, int ID, String name, String dietaryRestrictions, String accessibilityRequirements) {\n super(username, password, ID, name, dietaryRestrictions, accessibilityRequirements);\n this.eventOptions.add(\"Sign up for an event\");\n this.eventOptions.add(\"Cancel sign up for an event\");\n this.eventOptions.add(\"Organize event\");\n this.eventOptions.add(\"Cancel an event\");\n this.menuOptions.add(\"Create a new user account\");\n this.menuOptions.add(\"Additional Requests\");\n this.menuOptions.add(\"Change Additional Request Status\");\n\n this.messageOptions.add(\"Message all speakers\");\n this.messageOptions.add(\"Message a speaker\");\n this.messageOptions.add(\"Message an attendee\");\n this.messageOptions.add(\"Message all attendees\");\n this.messageOptions.add(\"Message all attendees of an event\");\n\n }",
"@RequestMapping(value={\"/projects\"}, method= RequestMethod.GET)\r\n\tpublic String myOwnedProjects(Model model) {\r\n\t\tUser loggedUser= sessionData.getLoggedUser();\r\n\t\tList<Project> projectsList= this.projectService.retrieveProjectsOwnedBy(loggedUser);\r\n\t\tmodel.addAttribute(\"loggedUser\", loggedUser);\r\n\t\tmodel.addAttribute(\"projectsList\", projectsList);\r\n\t\treturn \"projects\";\r\n\t\t\r\n\t}",
"public interface ProjectManager {\n\n void manageProject();\n}",
"public static void main(String[] args) {\n\t\n\tAccesingModifiers.hello();//heryerden accessable \n\tAccesingModifiers.hello1();\n\tAccesingModifiers.hello2();\n\t\n\t//AccesingModifiers.hello3(); not acceptable since permission is set to private\n\t\n}",
"@Override\n public boolean existPrincipalWithName(String userName) {\n // \"Feature 'existPrincipalWithName in OAuth 2 identity server' is not implemented\"\n return false;\n }",
"@GET\n @Path(\"/admin/list\")\n @Produces(MediaType.APPLICATION_JSON)\n public Response getUserAdminProjects() {\n HttpSession session = request.getSession();\n\n if (session.getAttribute(\"projectAdmin\") == null) {\n throw new ForbiddenRequestException(\"You must be the project's admin.\");\n }\n String username = session.getAttribute(\"user\").toString();\n\n projectMinter project= new projectMinter();\n String response = project.listUserAdminProjects(username);\n project.close();\n\n return Response.ok(response).build();\n }",
"@Test\n public void testName() throws Exception {\n GoogleRobotMetadataCredentials credentials =\n new GoogleRobotMetadataCredentials(PROJECT_ID, null /* module */);\n SystemCredentialsProvider.getInstance().getCredentials().add(credentials);\n\n assertEquals(PROJECT_ID, CredentialsNameProvider.name(credentials));\n assertEquals(PROJECT_ID, new GoogleRobotNameProvider().getName(credentials));\n }",
"@Override\r\n\tpublic int changeAuth(Member_Project member_project) {\n\t\treturn pDao.changeAuth(member_project);\r\n\t}",
"private void buildACL() {\n\t\tif (accountRoles == null || accountRoles.isEmpty()) return;\n\t\tAccessControlListGenerator gen = new AccessControlListGenerator();\n\n\t\tMap<Section,Set<String>> groups = new EnumMap<>(Section.class);\n\t\tgroups.put(BROWSE_SECTION, new HashSet<String>());\n\t\tgroups.put(Section.FINANCIAL_DASHBOARD, new HashSet<String>());\n\t\tgroups.put(Section.GAP_ANALYSIS, new HashSet<String>());\n\t\tgroups.put(Section.PRODUCT_EXPLORER, new HashSet<String>());\n\t\tgroups.put(Section.INSIGHT, new HashSet<String>());\n\t\tgroups.put(Section.UPDATES_EDITION, new HashSet<String>());\n\n\t\t//back-trace the approved hierarchies and authorize all parent levels as well\n\t\tfor (PermissionVO vo : accountRoles) {\n\t\t\tString[] tok = vo.getSolrTokenTxt().split(SearchDocumentHandler.HIERARCHY_DELIMITER);\n\t\t\tStringBuilder key = new StringBuilder(50);\n\t\t\tfor (int x=0; x < tok.length; x++) {\n\t\t\t\tif (key.length() > 0) key.append(SearchDocumentHandler.HIERARCHY_DELIMITER);\n\t\t\t\tkey.append(tok[x]);\n\n\t\t\t\tString acl = key.toString();\n\t\t\t\taddAclIf(vo.isBrowseAuth(), acl, groups.get(BROWSE_SECTION));\n\t\t\t\taddAclIf(vo.isFdAuth(), acl, groups.get(Section.FINANCIAL_DASHBOARD));\n\t\t\t\taddAclIf(vo.isGaAuth(), acl, groups.get(Section.GAP_ANALYSIS));\n\t\t\t\taddAclIf(vo.isPeAuth(), acl, groups.get(Section.PRODUCT_EXPLORER));\n\t\t\t\taddAclIf(vo.isAnAuth(), acl, groups.get(Section.INSIGHT));\n\t\t\t\taddAclIf(vo.isUpdatesAuth(), acl, groups.get(Section.UPDATES_EDITION));\n\t\t\t}\n\t\t}\n\t\t\n\t\tgroups.get(BROWSE_SECTION).add(PUBLIC_ACL);\n\t\tgroups.get(Section.FINANCIAL_DASHBOARD).add(PUBLIC_ACL);\n\t\tgroups.get(Section.GAP_ANALYSIS).add(PUBLIC_ACL);\n\t\tgroups.get(Section.PRODUCT_EXPLORER).add(PUBLIC_ACL);\n\t\tgroups.get(Section.INSIGHT).add(PUBLIC_ACL);\n\t\tgroups.get(Section.UPDATES_EDITION).add(PUBLIC_ACL);\n\n\t\tauthorizedSections = new EnumMap<>(Section.class);\n\t\tfor (Map.Entry<Section, Set<String>> entry : groups.entrySet()) {\n\t\t\tSection k = entry.getKey();\n\t\t\t//System.err.println(k + \" -> \" + entry.getValue())\n\t\t\tauthorizedSections.put(k, entry.getValue().toArray(new String[entry.getValue().size()]));\n\t\t\tsetAccessControlList(k, gen.getQueryACL(null, authorizedSections.get(k)));\n\t\t}\n\t}",
"@Test\n public void testWithoutExpectedClientScope() {\n AuthzClient authzClient = getAuthzClient();\n PermissionRequest request = new PermissionRequest(\"Resource A\");\n String ticket = authzClient.protection().permission().create(request).getTicket();\n try {\n authzClient.authorization(\"marta\", \"password\", \"baz\").authorize(new AuthorizationRequest(ticket));\n fail(\"Should fail.\");\n } catch (AuthorizationDeniedException ignore) {\n\n }\n\n // Access Resource B with client scope foo.\n request = new PermissionRequest(\"Resource B\");\n ticket = authzClient.protection().permission().create(request).getTicket();\n try {\n authzClient.authorization(\"marta\", \"password\", \"foo\").authorize(new AuthorizationRequest(ticket));\n fail(\"Should fail.\");\n } catch (AuthorizationDeniedException ignore) {\n\n }\n }",
"protected abstract void applyPrinciple();",
"@Test\n public void testWithExpectedClientScope() {\n AuthzClient authzClient = getAuthzClient();\n PermissionRequest request = new PermissionRequest(\"Resource A\");\n String ticket = authzClient.protection().permission().create(request).getTicket();\n AuthorizationResponse response = authzClient.authorization(\"marta\", \"password\", \"foo\")\n .authorize(new AuthorizationRequest(ticket));\n assertNotNull(response.getToken());\n\n // Access Resource A with client scope bar.\n request = new PermissionRequest(\"Resource A\");\n ticket = authzClient.protection().permission().create(request).getTicket();\n response = authzClient.authorization(\"marta\", \"password\", \"bar\").authorize(new AuthorizationRequest(ticket));\n assertNotNull(response.getToken());\n\n // Access Resource B with client scope bar.\n request = new PermissionRequest(\"Resource B\");\n ticket = authzClient.protection().permission().create(request).getTicket();\n response = authzClient.authorization(\"marta\", \"password\", \"bar\").authorize(new AuthorizationRequest(ticket));\n assertNotNull(response.getToken());\n }",
"public FreeStyleProject setupProjectForAuth(WebClient loggedInAdmin) \n throws Exception {\n FreeStyleProject job = this.createFreeStyleProject();\n HtmlPage jobConfigPage = (HtmlPage) loggedInAdmin.\n goTo(job.getShortUrl() + \"configure\");\n jobConfigPage = (HtmlPage) Util.setText(jobConfigPage, PROJECT_ID, \n CN_PROJECT_NAME);\n this.submitForm(jobConfigPage, JOB_FORM_NAME);\n return job;\n }",
"protected abstract String getUseProjectKey();",
"@DefaultMessage(\"Section already added to the user\")\n @Key(\"systemUser.sectionAddedToUser\")\n String systemUser_sectionAddedToUser();",
"@GetMapping(\"/byName\")\r\n\tpublic List<Project> getProject(Principal principal) {\r\n\t\treturn persistenceService.getProject(AppBuilderUtil.getLoggedInUserId());\r\n\t}",
"private void checkAuthAtMain() {\n val auth = config.getString(\"authAtMain\");\n\n checkArgument(auth.length() > 10, \"auth string (at-main) length is less than or equal to 10!\");\n }",
"public abstract boolean checkPolicy(User user);",
"@Override\n public void beforePhase(PhaseEvent pe) {\n\n AccessController accessController = (AccessController) FacesUtils.getManagedObject(\"access\");\n accessController.doSecurity();\n }",
"private void checkRights() {\n image.setEnabled(true);\n String user = fc.window.getUserName();\n \n for(IDataObject object : objects){\n ArrayList<IRights> rights = object.getRights();\n \n if(rights != null){\n boolean everybodyperm = false;\n \n for(IRights right : rights){\n String name = right.getName();\n \n //user found, therefore no other check necessary.\n if(name.equals(user)){\n if(!right.getOwner()){\n image.setEnabled(false);\n }else{\n image.setEnabled(true);\n }\n return;\n //if no user found, use everybody\n }else if(name.equals(BUNDLE.getString(\"Everybody\"))){\n everybodyperm = right.getOwner();\n }\n }\n image.setEnabled(everybodyperm);\n if(!everybodyperm){\n return;\n }\n }\n }\n }",
"boolean canAccess(String workspaceName) throws NoSuchWorkspaceException, RepositoryException;",
"public String getAuthority () throws java.io.IOException, com.linar.jintegra.AutomationException;",
"@ThreadSafe\npublic interface AuthorizationProvider {\n\n public static String SENTRY_PROVIDER = \"sentry.provider\";\n\n /***\n * Returns validate subject privileges on given Authorizable object\n *\n * @param subject: UserID to validate privileges\n * @param authorizableHierarchy : List of object according to namespace hierarchy.\n * eg. Server->Db->Table or Server->Function\n * The privileges will be validated from the higher to lower scope\n * @param actions : Privileges to validate\n * @param roleSet : Roles which should be used when obtaining privileges\n * @return\n * True if the subject is authorized to perform requested action on the given object\n */\n public boolean hasAccess(Subject subject, List<? extends Authorizable> authorizableHierarchy,\n Set<? extends Action> actions, ActiveRoleSet roleSet);\n\n /***\n * Get the GroupMappingService used by the AuthorizationProvider\n *\n * @return GroupMappingService used by the AuthorizationProvider\n */\n public GroupMappingService getGroupMapping();\n\n /***\n * Validate the policy file format for syntax and semantic errors\n * @param strictValidation\n * @throws SentryConfigurationException\n */\n public void validateResource(boolean strictValidation) throws SentryConfigurationException;\n\n /***\n * Returns the list privileges for the given subject\n * @param subject\n * @return\n * @throws SentryConfigurationException\n */\n public Set<String> listPrivilegesForSubject(Subject subject) throws SentryConfigurationException;\n\n /**\n * Returns the list privileges for the given group\n * @param groupName\n * @return\n * @throws SentryConfigurationException\n */\n public Set<String> listPrivilegesForGroup(String groupName) throws SentryConfigurationException;\n\n /***\n * Returns the list of missing privileges of the last access request\n * @return\n */\n public List<String> getLastFailedPrivileges();\n\n /**\n * Frees any resources held by the the provider\n */\n public void close();\n}",
"private static Principal getPrincipal(String name) {\n return new Principal() {\n @Override\n public String getName() {\n return name;\n }\n };\n }",
"@Override\n protected AuthorizationInfo doGetAuthorizationInfo(PrincipalCollection principals) {\n return null;\n }",
"default Optional<Boolean> doesCalendarAccessAuthorized() {\n return Optional.ofNullable(toSafeBoolean(getCapability(CALENDAR_ACCESS_AUTHORIZED_OPTION)));\n }",
"private void testAclConstraints001() {\n\n\t\ttry {\n\t\t\tDefaultTestBundleControl.log(\"#testAclConstraints001\");\n\t\t\t\n new org.osgi.service.dmt.Acl(\"Add=test&Exec=test &Get=*\");\n\t\t\t\n DefaultTestBundleControl.failException(\"\",IllegalArgumentException.class);\n\t\t} catch (IllegalArgumentException e) {\n\t\t\tDefaultTestBundleControl.pass(\"White space between tokens of a Acl is not allowed.\");\t\t\t\n\t\t} catch (Exception e) {\n\t\t\ttbc.failExpectedOtherException(IllegalArgumentException.class, e);\n\t\t}\n\t}",
"public abstract boolean canEditAccessRights(OwObject object_p) throws Exception;",
"com.appscode.api.auth.v1beta1.Project getProject();",
"boolean authNeeded();",
"public interface IAccessPolicy {\n\n\t/**\n\t * Indicating if the current session can do a register process\n\t * \n\t * @param session\n\t * To be checked\n\t * @return true if operation succeeds if denied false\n\t */\n\tpublic boolean canRegister(Session session);\n\n\t/**\n\t * Indicating if the current session can do a login process\n\t * \n\t * @param session\n\t * To be checked\n\t * @return true if operation succeeds if denied false\n\t */\n\tpublic boolean canLogin(Session session);\n\n\t/**\n\t * Indicating if the current session can do a search\n\t * \n\t * @param session\n\t * To be checked\n\t * @return true if operation succeeds if denied false\n\t */\n\tpublic boolean canSearch(Session session);\n\n\t/**\n\t * Indicating if the current session can do a register process\n\t * \n\t * @param session\n\t * To be checked\n\t * @param user\n\t * Data of this user should be changed\n\t * @return true if operation succeeds if denied false\n\t */\n\tpublic boolean canEditUserData(Session session, User user);\n\n\t/**\n\t * Inidicating if the given session can comment\n\t * \n\t * @param session\n\t * to be investigated\n\t * @return true if operation succeeds if denied false\n\t */\n\tpublic boolean canComment(Session session);\n\n\t/**\n\t * Indicating if the given session can edit a given comment.\n\t * \n\t * @param session\n\t * the call belongs to\n\t * @param comment\n\t * to be checked\n\t * @return true if operation succeeds if denied false\n\t */\n\tpublic boolean canEditComment(Session session, Comment comment);\n\n\t/**\n\t * Indicating if the current session can create a snippet in the given\n\t * category.\n\t * \n\t * @param session\n\t * To be checked\n\t * @param category\n\t * Category where the snippet should be created\n\t * @return true if operation succeeds if denied false\n\t */\n\tpublic boolean canCreateSnippet(Session session, Category category);\n\n\t/**\n\t * Indicating if the current session can do a register process\n\t * \n\t * @param session\n\t * To be checked\n\t * @param snippet\n\t * Concrete snippet that should be deleted\n\t * @return true if operation succeeds if denied false\n\t */\n\tpublic boolean canDeleteSnippet(Session session, Snippet snippet);\n\n\t/**\n\t * Indicating if the current session can do a register process\n\t * \n\t * @param session\n\t * To be checked\n\t * @param snippet\n\t * Concrete snippet, that should be edited\n\t * @return true if operation succeeds if denied false\n\t */\n\tpublic boolean canEditSnippet(Session session, Snippet snippet);\n\n\t/**\n\t * Indicating if the given session can tag the given snippet\n\t * \n\t * @param session\n\t * to be checked. Concrete, the user of the session will be\n\t * checked\n\t * @param snippet\n\t * to be tagged\n\t * @return true if operation succeeds if denied false\n\t */\n\tpublic boolean canTagSnippet(Session session, Snippet snippet);\n\n\t/**\n\t * Indicating if the given session is able to rate a snippet\n\t * \n\t * @param session\n\t * to be checked. Concrete, the user of the session will be\n\t * checked\n\t * @param snippet\n\t * to be tagged\n\t * @return true if operation succeeds if denied false\n\t */\n\tpublic boolean canRateSnippet(Session session, Snippet snippet);\n\n\t/**\n\t * Indicating if the given session can edit a given category.\n\t * \n\t * @param session\n\t * the call belongs to\n\t * @param category\n\t * to be checked\n\t * @return true if operation succeeds if denied false\n\t */\n\tpublic boolean canEditCategory(Session session, Category category);\n\n\t/**\n\t * Indicating if the given session can delete a given comment\n\t * \n\t * @param session\n\t * the call belongs to\n\t * @param comment\n\t * to be checked\n\t * @return if operation succeeds if denied false\n\t */\n\tpublic boolean canDeleteComment(Session session, Comment comment);\n}",
"public void permission_check() {\n //Usage Permission\n if (!isAccessGranted()) {\n new LovelyStandardDialog(MainActivity.this)\n .setTopColorRes(R.color.colorPrimaryDark)\n .setIcon(R.drawable.ic_perm_device_information_white_48dp)\n .setTitle(getString(R.string.permission_check_title))\n .setMessage(getString(R.string.permission_check_message))\n .setPositiveButton(android.R.string.ok, new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n Intent intent = new Intent(android.provider.Settings.ACTION_USAGE_ACCESS_SETTINGS);\n startActivity(intent);\n }\n })\n .setNegativeButton(android.R.string.no, null)\n .show();\n }\n }",
"public Document checkIn(boolean major, String comment) {\n throw new UnsupportedOperationException();\n }"
] | [
"0.61990625",
"0.56998914",
"0.56901014",
"0.5355918",
"0.53256387",
"0.5314766",
"0.52828395",
"0.5279581",
"0.5278505",
"0.52691454",
"0.5238993",
"0.52146816",
"0.5145868",
"0.51297885",
"0.51245934",
"0.5119269",
"0.5088092",
"0.5065678",
"0.50357664",
"0.50262964",
"0.5025144",
"0.50184214",
"0.5001426",
"0.49988905",
"0.49908724",
"0.49610892",
"0.49339607",
"0.49313718",
"0.49137133",
"0.49114203",
"0.49071196",
"0.489125",
"0.48846453",
"0.48782906",
"0.48336536",
"0.48259777",
"0.48121473",
"0.4810572",
"0.48018283",
"0.47889724",
"0.4787112",
"0.47754726",
"0.4773751",
"0.47697794",
"0.47557378",
"0.4753022",
"0.47458464",
"0.47398898",
"0.47138178",
"0.47104764",
"0.47081497",
"0.470439",
"0.47003368",
"0.46935526",
"0.46919388",
"0.46875978",
"0.46847683",
"0.46822208",
"0.46811888",
"0.46811247",
"0.4678697",
"0.4677462",
"0.4675876",
"0.46730077",
"0.46697786",
"0.46667147",
"0.46644017",
"0.46566248",
"0.46564153",
"0.46552956",
"0.46509355",
"0.46471873",
"0.4646438",
"0.46412888",
"0.463837",
"0.4635783",
"0.46339825",
"0.4619084",
"0.46133962",
"0.46112102",
"0.4608401",
"0.45989987",
"0.4597363",
"0.45961377",
"0.4592701",
"0.45908242",
"0.45896426",
"0.4588167",
"0.45880827",
"0.45868045",
"0.4586047",
"0.4580846",
"0.4577454",
"0.45685688",
"0.45678985",
"0.45643958",
"0.4557576",
"0.45565134",
"0.45505685",
"0.45402375",
"0.4537908"
] | 0.0 | -1 |
Messages generated here can wind up before the user. Take care to make them readable! | private String makeUserReadableMessage(String username, String projectStr) {
//return "User " + username + " requested projects '" + projectStr + "' but may not access one or more of them.";
return "You do not have permission to view or edit the project.";
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private ManualMessage() {\n initFields();\n }",
"@Override\n public String getMessage(){\n \n }",
"public void getMessage() {\n\r\n\t}",
"private void initMsgs() {\n }",
"private void initMsgs() {\n }",
"private Messages() {\n\t}",
"protected abstract TMessage prepareMessage();",
"public String creerMessage(){\n return profile.getMessage();\n }",
"@Override\n\tpublic void msgAtFrige() {\n\t\t\n\t}",
"@Override\n public String getMessage() {\n return \" ** I'm a friendly ENEMY! **\";\n }",
"private DebugMessage() {\n initFields();\n }",
"protected abstract String getMessage();",
"@Override\n public String getMessage() {\n String chuoi=\"\";\n if (maCD.length()!=5)\n chuoi=\"MaCD bao gom 5 ki tu\";\n else if (soBaiHat<10)\n chuoi=\"So bai hat phai lon hon 10 bai\";\n return\n chuoi;\n }",
"void setupExternalMessages();",
"@Override\n public String getMessage()\n {\n return message;\n }",
"@Override\n\tpublic void getMessage(TranObject msg) {\n\n\t}",
"public void writeMassege() {\n m = ChatClient.message;\n jtaChatHistory.setText(\"You : \" + m);\n //writeMassageServer();\n }",
"@Override\r\n public void handleMessage(Message msg) {\n }",
"@Override\r\n\tpublic void getMessage() {\n\t\tSystem.out.println(\"getMessage() 출력...\");\r\n\t}",
"private ExecuteMessage() {\n initFields();\n }",
"private String message() {\r\n if (markers.size() == 0) return \"\";\r\n String s = \"expecting \";\r\n boolean first = true;\r\n for (Marker m : markers) {\r\n if (! first) s = s + \", \";\r\n first = false;\r\n s = s + m.toString().toLowerCase().replaceAll(\"_\",\" \");\r\n }\r\n return s;\r\n }",
"@Override\n public String getMessage() {\n return MESSAGE;\n }",
"@Override\n protected SimpleMessage prepareMessage() {\n SimpleMessage message = super.prepareMessage();\n message.setContent(onFailure());\n return message;\n }",
"protected void messageList() {\r\n\t\tif (smscListener != null) {\r\n\t\t\tmessageStore.print();\r\n\t\t} else {\r\n\t\t\tSystem.out.println(\"You must start listener first.\");\r\n\t\t}\r\n\t}",
"public String getMessage() {\n\t\treturn \" whose content is a\";\n\t}",
"@Override\n public int getMessageSize()\n {\n return 0;\n }",
"@Override\n public String getDescription() {\n return \"Arbitrary message\";\n }",
"@Override\n public String getMessage() {\n return message;\n }",
"java.lang.String getMessage();",
"java.lang.String getMessage();",
"java.lang.String getMessage();",
"java.lang.String getMessage();",
"java.lang.String getMessage();",
"java.lang.String getMessage();",
"java.lang.String getMessage();",
"java.lang.String getMessage();",
"java.lang.String getMessage();",
"java.lang.String getMessage();",
"java.lang.String getMessage();",
"java.lang.String getMessage();",
"java.lang.String getMessage();",
"java.lang.String getMessage();",
"java.lang.String getMessage();",
"java.lang.String getMessage();",
"java.lang.String getMessage();",
"@Override\n public void handleMessage(Message message) {}",
"public abstract String getMessage();",
"java.lang.String getUserMessage();",
"public String getMessage() { return message; }",
"private HeartBeatMessage() {\n initFields();\n }",
"@Override\n\tpublic void message() {\n\t\tSystem.out.println(\"스마트폰으로 문자하기\");\n\t}",
"@Override\n public String getMessage() {\n return message;\n }",
"@Override\r\n public void writeMessage(Message msg) throws IOException {\n final StringBuilder buf = new StringBuilder();\r\n msg.accept(new DefaultVisitor() {\r\n\r\n @Override\r\n public void visitNonlocalizableTextFragment(VisitorContext ctx,\r\n NonlocalizableTextFragment fragment) {\r\n buf.append(fragment.getText());\r\n }\r\n\r\n @Override\r\n public void visitPlaceholder(VisitorContext ctx, Placeholder placeholder) {\r\n buf.append(placeholder.getTextRepresentation());\r\n }\r\n\r\n @Override\r\n public void visitTextFragment(VisitorContext ctx, TextFragment fragment) {\r\n buf.append(fragment.getText());\r\n }\r\n });\r\n out.write(buf.toString().getBytes(UTF8));\r\n }",
"protected String getMessage(Name name) {\n return message();\n }",
"@Override\n\tpublic void processMessage(Message message) {\n\t\t\n\t}",
"String getMessage() {\n return null;\n }",
"@Override\n public String getMessage()\n {\n return message;\n }",
"Message getCurrentMessage();",
"final protected Messages getMessages() {\r\n return messages;\r\n }",
"private String buildMessage(String message) {\n\t\tif(message != null && message.contains(\"@record\")) {\n\t\t\tmessage = message.replaceAll(\"@record\", answerUser);\n\t\t\trecorded.put(owner.id(), answerUser);\n\t\t}\n\t\t//o sistema substitui o texto !id pelo id do usuário da conversa\n\t\tif(message != null && message.contains(\"!id\")) {\n\t\t\tmessage = message.replaceAll(\"!id\", owner.id() + \"\");\n\t\t}\n\t\t//o sistema verifica se tem alguma gravacao para o código recebido\n\t\tif(message != null && message.contains(\"#find\")) {\n\t\t\tString gravacao = recorded.get(Integer.parseInt(userLatestAnswer.get(owner.id())));\n\t\t\t//se houver gravacao, o sistema informa qual o desejo do amigo secreto\n\t\t\tif(gravacao != null)\n\t\t\t\tmessage = message.replaceAll(\"#find\", gravacao);\n\t\t\t//caso nao haja gravacao, o sistema notifica o usuário da situacao\n\t\t\telse\n\t\t\t\tmessage = \"O código informado não corresponde ao desejo de um amigo secreto... por favor tente novamente\";\n\t\t}\n\n\t\treturn message;\n\t}",
"java.lang.String getTheMessage();",
"@Override\n public String getMessage() {\n String result =\"Audio Message {\\n\";\n result +=\"\\tID: \"+ID+\"\\n\";\n result +=\"\\tBuffer Size: \"+bufferSize+\"\\n\";\n result +=\"}\";\n \n return result;\n }",
"ChildMessage(){\n\t\t\ttext = CLICK_TO_EDIT;\t\t\t\t\t\t\t\t// Set to Header default\n\t\t\tnamesText = CLICK_TO_ADD_NAMES;\t\t\t\t\t\t// Set to Header default\n\t\t\tnumbers = new HashMap<String,Integer>();\t\t\t// init numbers to none\n\t\t}",
"private CancelMessage() {\n initFields();\n }",
"@Override\n\tpublic String getMessage() {\n\t\treturn null;\n\t}",
"public String getMsg() { return this.msg; }",
"@Override\n public byte[] getMessage() {\n jsonData = textPane.getText();\n return buildData();\n }",
"public void cleanErrorMessages() {\r\n\r\n }",
"public void addMessage() {\n }",
"public String getMessageText();",
"@Override\n\t\tpublic void handleMessage(Message msg) {\n\t\t\tString reslutInfo = (String) msg.obj;\n\t\t\tLog.d(App.LOG_TAG, reslutInfo);\n\t\t\tswitch (msg.what) {\n\t\t\tcase 200:\n\t\t\t\tpb.setProgress(7);\n\t\t\t\ttextState.append(\"\\n\");\n\t\t\t\ttextState.append(reslutInfo);\n\t\t\t\tlayout.setVisibility(View.VISIBLE);\n\t\t\t\tclearSign();\n\t\t\t\tsaveRecodes();\n\t\t\t\tbreak;\n\t\t\tcase 201:\n\t\t\t\ttextState.append(\"\\n\");\n\t\t\t\ttextState.append(reslutInfo);\n\t\t\t\tbreak;\n\t\t\tcase 501:\n\t\t\t\tpb.setProgress(7);\n\t\t\t\ttextState.append(\"\\n\");\n\t\t\t\ttextState.append(reslutInfo);\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\ttextState.append(\"\\n\");\n\t\t\t\ttextState.append(reslutInfo);\n\t\t\t\tpb.setProgress(msg.what);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"public void afficherMessage();",
"public String getMessage()\r\n/* 22: */ {\r\n/* 23:23 */ return this.a.a();\r\n/* 24: */ }",
"java.lang.String getMsg();",
"public String messageToString(){\n String stringMessage = \"Message:\\n\" + text + \"\\nFrom User: \" + fromUser.toNameAndEmailString();\n if(toGroup != null && !emergency) {\n stringMessage = \"Message:\\n\" + text + \"\\nFrom User: \" + fromUser.toNameAndEmailString() + \"\\nTo Group:\\n\" + toGroup.groupToListString();\n\n }\n else if(emergency){\n stringMessage =\"EMERGENCY!!!\\n\" + \"Message:\\n\" + text + \"\\nFrom User: \" + fromUser.toNameAndEmailString() + \"\\n\";\n }\n\n\n return stringMessage;\n }",
"protected ParseObject createMessage() {\n //format single variables appropriatly. most cases the field is an array\n ArrayList<ParseUser> nextDrinker = new ArrayList<ParseUser>();\n nextDrinker.add(mNextDrinker);\n ArrayList<String> groupName = new ArrayList<String>();\n groupName.add(mGroupName);\n\n ParseObject message = new ParseObject(ParseConstants.CLASS_MESSAGES);\n message.put(ParseConstants.KEY_SENDER_ID, ParseUser.getCurrentUser().getObjectId());\n message.put(ParseConstants.KEY_SENDER, ParseUser.getCurrentUser());\n message.put(ParseConstants.KEY_GROUP_ID, mGroupId);\n message.put(ParseConstants.KEY_GROUP_NAME, groupName);\n message.put(ParseConstants.KEY_SENDER_NAME, ParseUser.getCurrentUser().getUsername());\n message.put(ParseConstants.KEY_RECIPIENT_IDS, nextDrinker);\n message.put(ParseConstants.KEY_MESSAGE_TYPE, ParseConstants.TYPE_DRINK_REQUEST);\n\n return message;\n }",
"@Override\n\tpublic boolean hasMessages() {\n\t\treturn false;\n\t}",
"static void loadMessages(String messagesFilePath) {\r\n \t\tMessage[] messageIDs = Message.values();\r\n \t\tmessages = new String[Message.values().length];\r\n \r\n \t\tHashMap<String, CustomizableMessage> defaults = new HashMap<String, CustomizableMessage>();\r\n \r\n \t\t// initialize default messages\r\n \t\taddDefault(defaults, Message.YOU_HAVE_TO_SNEAK, \"&7You have to sneak to remove this.\", null);\r\n \t\taddDefault(defaults, Message.SIGN_REMOVED, \"&aBillboard sign was removed.\", null);\r\n \t\taddDefault(defaults, Message.ADDED_SIGN, \"&aThis sign can now be rented from &f{2} &afor &8{0} $ &afor &8{1} days&a.\", \"0: price 1: duration 2: creator\");\r\n \t\taddDefault(defaults, Message.ALREADY_BILLBOARD_SIGN, \"&7This sign is already a billboard sign.\", null);\r\n \t\taddDefault(defaults, Message.NO_TARGETED_SIGN, \"&7You have to target a sign.\", null);\r\n \t\taddDefault(defaults, Message.ONLY_AS_PLAYER, \"This only works as player.\", null);\r\n \t\taddDefault(defaults, Message.INFO_HEADER, \"&3Billboard - Information\", null);\r\n \t\taddDefault(defaults, Message.INFO_CREATOR, \"&5Creator: &2{0}\", \"0: creator\");\r\n \t\taddDefault(defaults, Message.INFO_OWNER, \"&5Owner: &2{0}\", \"0: owner\");\r\n \t\taddDefault(defaults, Message.INFO_PRICE, \"&5Price: &2{0} $\", \"0: price\");\r\n \t\taddDefault(defaults, Message.INFO_DURATION, \"&5Duration: &2{0} days\", \"0: duration\");\r\n \t\taddDefault(defaults, Message.INFO_RENT_SINCE, \"&5Rented since: &2{0}\", \"0: since date\");\r\n \t\taddDefault(defaults, Message.INFO_RENT_UNTIL, \"&5Rented until: &2{0}\", \"0: until date\");\r\n \t\taddDefault(defaults, Message.INFO_TIME_LEFT, \"&5Time remaining: &2{0}\", \"0: time left\");\r\n \t\taddDefault(defaults, Message.CLICK_TO_RENT, \"&6Click the sign again, to rent it from &8{2} &6for &b{0} $ &6for &b{1} days&6.\", \"0: price 1: duration 2: creator\");\r\n \t\taddDefault(defaults, Message.YOU_HAVE_RENT_A_SIGN, \"&aYou have rented this sign now from &8{2} &6for &b{1} days &a. \\n&bTo edit it: &aright-click it with a sign\", \"0: price 1: duration 2: creator\");\r\n \t\taddDefault(defaults, Message.TRANSACTION_FAILURE, \"&cSomething went wrong: {0}\", \"0: errorMessage\");\r\n \t\taddDefault(defaults, Message.NO_LONGER_AVAILABLE, \"&cThis sign is no longer available!\", null);\r\n \t\taddDefault(defaults, Message.NOT_ENOUGH_MONEY, \"&cYou have not enough money! \\nYou need &8{0} $&c, but you only have &8{1} $&c!\", \"0: price 1: balance\");\r\n \t\taddDefault(defaults, Message.MAX_RENT_LIMIT_REACHED, \"&cYou already own too many billboard signs &7(limit: &e{0}&7)&c!\", \"0: limit\");\r\n \t\taddDefault(defaults, Message.CANT_RENT_OWN_SIGN, \"&cYou can't rent your own sign.\", null);\r\n \t\taddDefault(defaults, Message.NO_PERMISSION, \"&cYou have no permission for that.\", null);\r\n \t\taddDefault(defaults, Message.SIGN_LINE_1, \"&bRENT ME\", \"0: price 1: duration 2: creator\");\r\n \t\taddDefault(defaults, Message.SIGN_LINE_2, \"&f(click!)\", \"0: price 1: duration 2: creator\");\r\n \t\taddDefault(defaults, Message.SIGN_LINE_3, \"&8{0} $\", \"0: price 1: duration 2: creator\");\r\n \t\taddDefault(defaults, Message.SIGN_LINE_4, \"&8{1} days\", \"0: price 1: duration 2: creator\");\r\n \t\taddDefault(defaults, Message.DATE_FORMAT, \"dd/MM/yyyy HH:mm:ss\", \"Only change this if you know what you are doing..\");\r\n \t\taddDefault(defaults, Message.TIME_REMAINING_FORMAT, \"%d days %d h %d min\", \"Only change this if you know what you are doing..\");\r\n \t\taddDefault(defaults, Message.INVALID_NUMBER, \"&cInvalid number: {0}\", \"0: the invalid argument\");\r\n \t\taddDefault(defaults, Message.RENT_SIGN_LINE_1, \"&aRent by\", \"0: price 1: duration 2: creator 3: new owner\");\r\n\t\taddDefault(defaults, Message.RENT_SIGN_LINE_2, \"&f{0}\", \"0: price 1: duration 2: creator 3: new owner\");\r\n \t\taddDefault(defaults, Message.RENT_SIGN_LINE_3, \"&cRight-click\", \"0: price 1: duration 2: creator 3: new owner\");\r\n \t\taddDefault(defaults, Message.RENT_SIGN_LINE_4, \"&cwith a sign!\", \"0: price 1: duration 2: creator 3: new owner\");\r\n \r\n \t\t// load the message file\r\n \t\tFileConfiguration config = YamlConfiguration.loadConfiguration(new File(messagesFilePath));\r\n \r\n \t\t// for each message ID\r\n \t\tfor (int i = 0; i < messageIDs.length; i++) {\r\n \t\t\t// get default for this message\r\n \t\t\tMessage messageID = messageIDs[i];\r\n \t\t\tCustomizableMessage messageData = defaults.get(messageID.name());\r\n \r\n \t\t\t// if default is missing, log an error and use some fake data for\r\n \t\t\t// now so that the plugin can run\r\n \t\t\tif (messageData == null) {\r\n \t\t\t\tBillboards.logger.severe(\"Missing message for \" + messageID.name() + \". Please contact the developer.\");\r\n \t\t\t\tmessageData = new CustomizableMessage(messageID, \"Missing message! ID: \" + messageID.name() + \". Please contact a server admin.\", null);\r\n \t\t\t}\r\n \r\n \t\t\t// read the message from the file, use default if necessary\r\n \t\t\tmessages[messageID.ordinal()] = config.getString(\"Messages.\" + messageID.name() + \".Text\", messageData.text);\r\n \t\t\tconfig.set(\"Messages.\" + messageID.name() + \".Text\", messages[messageID.ordinal()]);\r\n \t\t\t// translate colors\r\n \t\t\tmessages[messageID.ordinal()] = ChatColor.translateAlternateColorCodes('&', messages[messageID.ordinal()]);\r\n \r\n \t\t\tif (messageData.notes != null) {\r\n \t\t\t\tmessageData.notes = config.getString(\"Messages.\" + messageID.name() + \".Notes\", messageData.notes);\r\n \t\t\t\tconfig.set(\"Messages.\" + messageID.name() + \".Notes\", messageData.notes);\r\n \t\t\t}\r\n \t\t}\r\n \r\n \t\t// save any changes\r\n \t\ttry {\r\n \t\t\tconfig.save(messagesFilePath);\r\n \t\t} catch (IOException exception) {\r\n \t\t\tBillboards.logger.severe(\"Unable to write to the configuration file at \\\"\" + messagesFilePath + \"\\\"\");\r\n \t\t}\r\n \r\n \t\tdefaults.clear();\r\n \t\tSystem.gc();\r\n \t}",
"public abstract void textMessage(Message m);",
"@Override\n public String toString() {\n return message;\n }",
"public void setMsg(String msg) { this.msg = msg; }",
"public void sendMessage() {\n String userMessage = textMessage.getText();\n if (!userMessage.isBlank()) {//проверяю а есть ли что то в текстовом поле\n textMessage.clear();//очищаю текстовое поле на форме\n\n //пока оставлю\n //sb.append(userMessage).append(\"\\n\");\n\n //в общее поле добавляю сообщение\n areaMessage.appendText(userMessage+\"\\n\");\n }\n\n }",
"default String getRequiredMessage() {\n return null;\n }",
"public String getMessage(){\r\n return message;\r\n }",
"public String getMessage(){\r\n return message;\r\n }",
"public interface SecurityMessages extends org.openelis.ui.messages.UIMessages {\n \n /**\n * Translated \"Description\".\n * \n * @return translated \"Description\"\n */\n @DefaultMessage(\"Description\")\n @Key(\"application.description\")\n String application_description();\n\n /**\n * Translated \"The system module {0} cannot be deleted as it has been added to one or more users\".\n * \n * @return translated \"The system module {0} cannot be deleted as it has been added to one or more users\"\n */\n @DefaultMessage(\"The system module {0} cannot be deleted as it has been added to one or more users\")\n @Key(\"application.moduleAssignedToUserException\")\n String application_moduleAssignedToUserException(String arg0);\n\n /**\n * Translated \"Name\".\n * \n * @return translated \"Name\"\n */\n @DefaultMessage(\"Name\")\n @Key(\"application.name\")\n String application_name();\n\n /**\n * Translated \"The section {0} cannot be deleted as it has been added to one or more users \".\n * \n * @return translated \"The section {0} cannot be deleted as it has been added to one or more users \"\n */\n @DefaultMessage(\"The section {0} cannot be deleted as it has been added to one or more users \")\n @Key(\"application.sectionAssignedToUserException\")\n String application_sectionAssignedToUserException(String arg0);\n\n /**\n * Translated \"Abort\".\n * \n * @return translated \"Abort\"\n */\n @DefaultMessage(\"Abort\")\n @Key(\"btn.abort\")\n String btn_abort();\n\n /**\n * Translated \"Add\".\n * \n * @return translated \"Add\"\n */\n @DefaultMessage(\"Add\")\n @Key(\"btn.add\")\n String btn_add();\n\n /**\n * Translated \"Cancel\".\n * \n * @return translated \"Cancel\"\n */\n @DefaultMessage(\"Cancel\")\n @Key(\"btn.cancel\")\n String btn_cancel();\n\n /**\n * Translated \"Commit\".\n * \n * @return translated \"Commit\"\n */\n @DefaultMessage(\"Commit\")\n @Key(\"btn.commit\")\n String btn_commit();\n\n /**\n * Translated \"Delete\".\n * \n * @return translated \"Delete\"\n */\n @DefaultMessage(\"Delete\")\n @Key(\"btn.delete\")\n String btn_delete();\n\n /**\n * Translated \"Duplicate\".\n * \n * @return translated \"Duplicate\"\n */\n @DefaultMessage(\"Duplicate\")\n @Key(\"btn.duplicateRecord\")\n String btn_duplicateRecord();\n\n /**\n * Translated \"Duplicate the current record\".\n * \n * @return translated \"Duplicate the current record\"\n */\n @DefaultMessage(\"Duplicate the current record\")\n @Key(\"btn.duplicateRecordDescription\")\n String btn_duplicateRecordDescription();\n\n /**\n * Translated \"Next\".\n * \n * @return translated \"Next\"\n */\n @DefaultMessage(\"Next\")\n @Key(\"btn.next\")\n String btn_next();\n\n /**\n * Translated \"OK\".\n * \n * @return translated \"OK\"\n */\n @DefaultMessage(\"OK\")\n @Key(\"btn.ok\")\n String btn_ok();\n\n /**\n * Translated \"Options\".\n * \n * @return translated \"Options\"\n */\n @DefaultMessage(\"Options\")\n @Key(\"btn.options\")\n String btn_options();\n\n /**\n * Translated \"Previous\".\n * \n * @return translated \"Previous\"\n */\n @DefaultMessage(\"Previous\")\n @Key(\"btn.previous\")\n String btn_previous();\n\n /**\n * Translated \"Query\".\n * \n * @return translated \"Query\"\n */\n @DefaultMessage(\"Query\")\n @Key(\"btn.query\")\n String btn_query();\n\n /**\n * Translated \"Update\".\n * \n * @return translated \"Update\"\n */\n @DefaultMessage(\"Update\")\n @Key(\"btn.update\")\n String btn_update();\n\n /**\n * Translated \"Applications\".\n * \n * @return translated \"Applications\"\n */\n @DefaultMessage(\"Applications\")\n @Key(\"ge.applications\")\n String ge_applications();\n\n /**\n * Translated \"Active\".\n * \n * @return translated \"Active\"\n */\n @DefaultMessage(\"Active\")\n @Key(\"gen.active\")\n String gen_active();\n\n /**\n * Translated \"Add aborted\".\n * \n * @return translated \"Add aborted\"\n */\n @DefaultMessage(\"Add aborted\")\n @Key(\"gen.addAborted\")\n String gen_addAborted();\n\n /**\n * Translated \"Add\".\n * \n * @return translated \"Add\"\n */\n @DefaultMessage(\"Add\")\n @Key(\"gen.addPerm\")\n String gen_addPerm();\n\n /**\n * Translated \"Add Row\".\n * \n * @return translated \"Add Row\"\n */\n @DefaultMessage(\"Add Row\")\n @Key(\"gen.addRow\")\n String gen_addRow();\n\n /**\n * Translated \"Adding...\".\n * \n * @return translated \"Adding...\"\n */\n @DefaultMessage(\"Adding...\")\n @Key(\"gen.adding\")\n String gen_adding();\n\n /**\n * Translated \"Adding...Complete\".\n * \n * @return translated \"Adding...Complete\"\n */\n @DefaultMessage(\"Adding...Complete\")\n @Key(\"gen.addingComplete\")\n String gen_addingComplete();\n\n /**\n * Translated \"Application\".\n * \n * @return translated \"Application\"\n */\n @DefaultMessage(\"Application\")\n @Key(\"gen.application\")\n String gen_application();\n\n /**\n * Translated \"Asn\".\n * \n * @return translated \"Asn\"\n */\n @DefaultMessage(\"Asn\")\n @Key(\"gen.assignPerm\")\n String gen_assignPerm();\n\n /**\n * Translated \"Authentication Failure\".\n * \n * @return translated \"Authentication Failure\"\n */\n @DefaultMessage(\"Authentication Failure\")\n @Key(\"gen.authFailure\")\n String gen_authFailure();\n\n /**\n * Translated \"Canceling changes ...\".\n * \n * @return translated \"Canceling changes ...\"\n */\n @DefaultMessage(\"Canceling changes ...\")\n @Key(\"gen.cancelChanges\")\n String gen_cancelChanges();\n\n /**\n * Translated \"Cncl\".\n * \n * @return translated \"Cncl\"\n */\n @DefaultMessage(\"Cncl\")\n @Key(\"gen.cancelPerm\")\n String gen_cancelPerm();\n\n /**\n * Translated \"Clause\".\n * \n * @return translated \"Clause\"\n */\n @DefaultMessage(\"Clause\")\n @Key(\"gen.clause\")\n String gen_clause();\n\n /**\n * Translated \"Cmp\".\n * \n * @return translated \"Cmp\"\n */\n @DefaultMessage(\"Cmp\")\n @Key(\"gen.completePerm\")\n String gen_completePerm();\n\n /**\n * Translated \"Please correct the errors indicated, then press Commit\".\n * \n * @return translated \"Please correct the errors indicated, then press Commit\"\n */\n @DefaultMessage(\"Please correct the errors indicated, then press Commit\")\n @Key(\"gen.correctErrors\")\n String gen_correctErrors();\n\n /**\n * Translated \"Delete Aborted\".\n * \n * @return translated \"Delete Aborted\"\n */\n @DefaultMessage(\"Delete Aborted\")\n @Key(\"gen.deleteAborted\")\n String gen_deleteAborted();\n\n /**\n * Translated \"Delete...Complete\".\n * \n * @return translated \"Delete...Complete\"\n */\n @DefaultMessage(\"Delete...Complete\")\n @Key(\"gen.deleteComplete\")\n String gen_deleteComplete();\n\n /**\n * Translated \"Pressing commit will delete the current record from the database\".\n * \n * @return translated \"Pressing commit will delete the current record from the database\"\n */\n @DefaultMessage(\"Pressing commit will delete the current record from the database\")\n @Key(\"gen.deleteMessage\")\n String gen_deleteMessage();\n\n /**\n * Translated \"Del\".\n * \n * @return translated \"Del\"\n */\n @DefaultMessage(\"Del\")\n @Key(\"gen.deletePerm\")\n String gen_deletePerm();\n\n /**\n * Translated \"Deleting...\".\n * \n * @return translated \"Deleting...\"\n */\n @DefaultMessage(\"Deleting...\")\n @Key(\"gen.deleting\")\n String gen_deleting();\n\n /**\n * Translated \"Description\".\n * \n * @return translated \"Description\"\n */\n @DefaultMessage(\"Description\")\n @Key(\"gen.description\")\n String gen_description();\n\n /**\n * Translated \"Enter fields to query by then press Commit\".\n * \n * @return translated \"Enter fields to query by then press Commit\"\n */\n @DefaultMessage(\"Enter fields to query by then press Commit\")\n @Key(\"gen.enterFieldsToQuery\")\n String gen_enterFieldsToQuery();\n\n /**\n * Translated \"Enter information in the fields, then press Commit.\".\n * \n * @return translated \"Enter information in the fields, then press Commit.\"\n */\n @DefaultMessage(\"Enter information in the fields, then press Commit.\")\n @Key(\"gen.enterInformationPressCommit\")\n String gen_enterInformationPressCommit();\n\n /**\n * Translated \"This record is locked by {0} until {1}\".\n * \n * @return translated \"This record is locked by {0} until {1}\"\n */\n @DefaultMessage(\"This record is locked by {0} until {1}\")\n @Key(\"gen.entityLockException\")\n String gen_entityLockException(String arg0, String arg1);\n\n /**\n * Translated \"Your Lock on this record has expired; Please abort and try again\".\n * \n * @return translated \"Your Lock on this record has expired; Please abort and try again\"\n */\n @DefaultMessage(\"Your Lock on this record has expired; Please abort and try again\")\n @Key(\"gen.expiredLockException\")\n String gen_expiredLockException();\n\n /**\n * Translated \"Error: Could not retrieve the record\".\n * \n * @return translated \"Error: Could not retrieve the record\"\n */\n @DefaultMessage(\"Error: Could not retrieve the record\")\n @Key(\"gen.fetchFailed\")\n String gen_fetchFailed();\n\n /**\n * Translated \"Fetching ...\".\n * \n * @return translated \"Fetching ...\"\n */\n @DefaultMessage(\"Fetching ...\")\n @Key(\"gen.fetching\")\n String gen_fetching();\n\n /**\n * Translated \"Field is required\".\n * \n * @return translated \"Field is required\"\n */\n @DefaultMessage(\"Field is required\")\n @Key(\"gen.fieldRequiredException\")\n String gen_fieldRequiredException();\n\n /**\n * Translated \"A record with this value already exists. Please enter a unique value for this field\".\n * \n * @return translated \"A record with this value already exists. Please enter a unique value for this field\"\n */\n @DefaultMessage(\"A record with this value already exists. Please enter a unique value for this field\")\n @Key(\"gen.fieldUniqueException\")\n String gen_fieldUniqueException();\n\n /**\n * Translated \"Please enter a unique value for this field\".\n * \n * @return translated \"Please enter a unique value for this field\"\n */\n @DefaultMessage(\"Please enter a unique value for this field\")\n @Key(\"gen.fieldUniqueOnlyException\")\n String gen_fieldUniqueOnlyException();\n\n /**\n * Translated \"Id:\".\n * \n * @return translated \"Id:\"\n */\n @DefaultMessage(\"Id:\")\n @Key(\"gen.id\")\n String gen_id();\n\n /**\n * Translated \"Locking record for Update...\".\n * \n * @return translated \"Locking record for Update...\"\n */\n @DefaultMessage(\"Locking record for Update...\")\n @Key(\"gen.lockForUpdate\")\n String gen_lockForUpdate();\n\n /**\n * Translated \"Login Name\".\n * \n * @return translated \"Login Name\"\n */\n @DefaultMessage(\"Login Name\")\n @Key(\"gen.loginName\")\n String gen_loginName();\n\n /**\n * Translated \"You do not have {0} permission in {1,number}\".\n * \n * @return translated \"You do not have {0} permission in {1,number}\"\n */\n @DefaultMessage(\"You do not have {0} permission in {1,number}\")\n @Key(\"gen.modulePermException\")\n String gen_modulePermException(String arg0, Integer arg1);\n\n /**\n * Translated \"Modules\".\n * \n * @return translated \"Modules\"\n */\n @DefaultMessage(\"Modules\")\n @Key(\"gen.modules\")\n String gen_modules();\n\n /**\n * Translated \"You must Commit or Abort changes first\".\n * \n * @return translated \"You must Commit or Abort changes first\"\n */\n @DefaultMessage(\"You must Commit or Abort changes first\")\n @Key(\"gen.mustCommitOrAbort\")\n String gen_mustCommitOrAbort();\n\n /**\n * Translated \"Name\".\n * \n * @return translated \"Name\"\n */\n @DefaultMessage(\"Name\")\n @Key(\"gen.name\")\n String gen_name();\n\n /**\n * Translated \"No more records in this direction\".\n * \n * @return translated \"No more records in this direction\"\n */\n @DefaultMessage(\"No more records in this direction\")\n @Key(\"gen.noMoreRecordInDir\")\n String gen_noMoreRecordInDir();\n\n /**\n * Translated \"No records found\".\n * \n * @return translated \"No records found\"\n */\n @DefaultMessage(\"No records found\")\n @Key(\"gen.noRecordsFound\")\n String gen_noRecordsFound();\n\n /**\n * Translated \"Password\".\n * \n * @return translated \"Password\"\n */\n @DefaultMessage(\"Password\")\n @Key(\"gen.password\")\n String gen_password();\n\n /**\n * Translated \"Query aborted\".\n * \n * @return translated \"Query aborted\"\n */\n @DefaultMessage(\"Query aborted\")\n @Key(\"gen.queryAborted\")\n String gen_queryAborted();\n\n /**\n * Translated \"Querying....\".\n * \n * @return translated \"Querying....\"\n */\n @DefaultMessage(\"Querying....\")\n @Key(\"gen.querying\")\n String gen_querying();\n\n /**\n * Translated \"Querying...Complete\".\n * \n * @return translated \"Querying...Complete\"\n */\n @DefaultMessage(\"Querying...Complete\")\n @Key(\"gen.queryingComplete\")\n String gen_queryingComplete();\n\n /**\n * Translated \"Rls\".\n * \n * @return translated \"Rls\"\n */\n @DefaultMessage(\"Rls\")\n @Key(\"gen.releasePerm\")\n String gen_releasePerm();\n\n /**\n * Translated \"Remove Row\".\n * \n * @return translated \"Remove Row\"\n */\n @DefaultMessage(\"Remove Row\")\n @Key(\"gen.removeRow\")\n String gen_removeRow();\n\n /**\n * Translated \"Section\".\n * \n * @return translated \"Section\"\n */\n @DefaultMessage(\"Section\")\n @Key(\"gen.section\")\n String gen_section();\n\n /**\n * Translated \"You do not have permission to {0} for section {1}\".\n * \n * @return translated \"You do not have permission to {0} for section {1}\"\n */\n @DefaultMessage(\"You do not have permission to {0} for section {1}\")\n @Key(\"gen.sectionPermException\")\n String gen_sectionPermException(String arg0, String arg1);\n\n /**\n * Translated \"Sections\".\n * \n * @return translated \"Sections\"\n */\n @DefaultMessage(\"Sections\")\n @Key(\"gen.sections\")\n String gen_sections();\n\n /**\n * Translated \"Select Application\".\n * \n * @return translated \"Select Application\"\n */\n @DefaultMessage(\"Select Application\")\n @Key(\"gen.selectApplication\")\n String gen_selectApplication();\n\n /**\n * Translated \"Sel\".\n * \n * @return translated \"Sel\"\n */\n @DefaultMessage(\"Sel\")\n @Key(\"gen.selectPerm\")\n String gen_selectPerm();\n\n /**\n * Translated \"\\\"Select\\\" permission must not be unchecked for a module\".\n * \n * @return translated \"\\\"Select\\\" permission must not be unchecked for a module\"\n */\n @DefaultMessage(\"\\\"Select\\\" permission must not be unchecked for a module\")\n @Key(\"gen.selectPermRequiredException\")\n String gen_selectPermRequiredException();\n\n /**\n * Translated \"Show Clause\".\n * \n * @return translated \"Show Clause\"\n */\n @DefaultMessage(\"Show Clause\")\n @Key(\"gen.showClause\")\n String gen_showClause();\n\n /**\n * Translated \"Sign In\".\n * \n * @return translated \"Sign In\"\n */\n @DefaultMessage(\"Sign In\")\n @Key(\"gen.signin\")\n String gen_signin();\n\n /**\n * Translated \"System User\".\n * \n * @return translated \"System User\"\n */\n @DefaultMessage(\"System User\")\n @Key(\"gen.systemUser\")\n String gen_systemUser();\n\n /**\n * Translated \"Template\".\n * \n * @return translated \"Template\"\n */\n @DefaultMessage(\"Template\")\n @Key(\"gen.template\")\n String gen_template();\n\n /**\n * Translated \"Templates\".\n * \n * @return translated \"Templates\"\n */\n @DefaultMessage(\"Templates\")\n @Key(\"gen.templates\")\n String gen_templates();\n\n /**\n * Translated \"Extend Time\".\n * \n * @return translated \"Extend Time\"\n */\n @DefaultMessage(\"Extend Time\")\n @Key(\"gen.timeoutExtendTime\")\n String gen_timeoutExtendTime();\n\n /**\n * Translated \"Timeout Warning\".\n * \n * @return translated \"Timeout Warning\"\n */\n @DefaultMessage(\"Timeout Warning\")\n @Key(\"gen.timeoutHeader\")\n String gen_timeoutHeader();\n\n /**\n * Translated \"Logout\".\n * \n * @return translated \"Logout\"\n */\n @DefaultMessage(\"Logout\")\n @Key(\"gen.timeoutLogout\")\n String gen_timeoutLogout();\n\n /**\n * Translated \"Your session is about to expire, do you want to\\nlogout or extend your session\".\n * \n * @return translated \"Your session is about to expire, do you want to\\nlogout or extend your session\"\n */\n @DefaultMessage(\"Your session is about to expire, do you want to\\nlogout or extend your session\")\n @Key(\"gen.timeoutWarning\")\n String gen_timeoutWarning();\n\n /**\n * Translated \"Update aborted\".\n * \n * @return translated \"Update aborted\"\n */\n @DefaultMessage(\"Update aborted\")\n @Key(\"gen.updateAborted\")\n String gen_updateAborted();\n\n /**\n * Translated \"Upd\".\n * \n * @return translated \"Upd\"\n */\n @DefaultMessage(\"Upd\")\n @Key(\"gen.updatePerm\")\n String gen_updatePerm();\n\n /**\n * Translated \"Updating...\".\n * \n * @return translated \"Updating...\"\n */\n @DefaultMessage(\"Updating...\")\n @Key(\"gen.updating\")\n String gen_updating();\n\n /**\n * Translated \"Updating...Complete\".\n * \n * @return translated \"Updating...Complete\"\n */\n @DefaultMessage(\"Updating...Complete\")\n @Key(\"gen.updatingComplete\")\n String gen_updatingComplete();\n\n /**\n * Translated \"Username\".\n * \n * @return translated \"Username\"\n */\n @DefaultMessage(\"Username\")\n @Key(\"gen.username\")\n String gen_username();\n\n /**\n * Translated \"Users\".\n * \n * @return translated \"Users\"\n */\n @DefaultMessage(\"Users\")\n @Key(\"gen.users\")\n String gen_users();\n\n /**\n * Translated \"View\".\n * \n * @return translated \"View\"\n */\n @DefaultMessage(\"View\")\n @Key(\"gen.viewPerm\")\n String gen_viewPerm();\n\n /**\n * Translated \"\\\"View\\\" permission must not be unchecked for a section\".\n * \n * @return translated \"\\\"View\\\" permission must not be unchecked for a section\"\n */\n @DefaultMessage(\"\\\"View\\\" permission must not be unchecked for a section\")\n @Key(\"gen.viewPermRequiredException\")\n String gen_viewPermRequiredException();\n\n /**\n * Translated \"Logout\".\n * \n * @return translated \"Logout\"\n */\n @DefaultMessage(\"Logout\")\n @Key(\"menu.logout\")\n String menu_logout();\n\n /**\n * Translated \"Exit the application.\".\n * \n * @return translated \"Exit the application.\"\n */\n @DefaultMessage(\"Exit the application.\")\n @Key(\"menu.logoutDescription\")\n String menu_logoutDescription();\n\n /**\n * Translated \"Permissions\".\n * \n * @return translated \"Permissions\"\n */\n @DefaultMessage(\"Permissions\")\n @Key(\"menu.permissions\")\n String menu_permissions();\n\n /**\n * Translated \"System\".\n * \n * @return translated \"System\"\n */\n @DefaultMessage(\"System\")\n @Key(\"menu.system\")\n String menu_system();\n\n /**\n * Translated \"Utilities\".\n * \n * @return translated \"Utilities\"\n */\n @DefaultMessage(\"Utilities\")\n @Key(\"menu.utilities\")\n String menu_utilities();\n\n /**\n * Translated \"Active\".\n * \n * @return translated \"Active\"\n */\n @DefaultMessage(\"Active\")\n @Key(\"systemUser.active\")\n String systemUser_active();\n\n /**\n * Translated \"This action will remove all the permissions for this user and make it inactive. The user itself will not be removed.\".\n * \n * @return translated \"This action will remove all the permissions for this user and make it inactive. The user itself will not be removed.\"\n */\n @DefaultMessage(\"This action will remove all the permissions for this user and make it inactive. The user itself will not be removed.\")\n @Key(\"systemUser.deleteUserMessage\")\n String systemUser_deleteUserMessage();\n\n /**\n * Translated \"Employee\".\n * \n * @return translated \"Employee\"\n */\n @DefaultMessage(\"Employee\")\n @Key(\"systemUser.employee\")\n String systemUser_employee();\n\n /**\n * Translated \"External ID\".\n * \n * @return translated \"External ID\"\n */\n @DefaultMessage(\"External ID\")\n @Key(\"systemUser.externalId\")\n String systemUser_externalId();\n\n /**\n * Translated \"First Name\".\n * \n * @return translated \"First Name\"\n */\n @DefaultMessage(\"First Name\")\n @Key(\"systemUser.firstName\")\n String systemUser_firstName();\n\n /**\n * Translated \"Initials\".\n * \n * @return translated \"Initials\"\n */\n @DefaultMessage(\"Initials\")\n @Key(\"systemUser.initials\")\n String systemUser_initials();\n\n /**\n * Translated \"Last Name\".\n * \n * @return translated \"Last Name\"\n */\n @DefaultMessage(\"Last Name\")\n @Key(\"systemUser.lastName\")\n String systemUser_lastName();\n\n /**\n * Translated \"System Module already added to the user\".\n * \n * @return translated \"System Module already added to the user\"\n */\n @DefaultMessage(\"System Module already added to the user\")\n @Key(\"systemUser.moduleAddedToUser\")\n String systemUser_moduleAddedToUser();\n\n /**\n * Translated \"Section already added to the user\".\n * \n * @return translated \"Section already added to the user\"\n */\n @DefaultMessage(\"Section already added to the user\")\n @Key(\"systemUser.sectionAddedToUser\")\n String systemUser_sectionAddedToUser();\n\n /**\n * Translated \"Since this user has no permissions and is inactive, deletion is invalid\".\n * \n * @return translated \"Since this user has no permissions and is inactive, deletion is invalid\"\n */\n @DefaultMessage(\"Since this user has no permissions and is inactive, deletion is invalid\")\n @Key(\"systemUser.userDeleteInvalid\")\n String systemUser_userDeleteInvalid();\n\n /**\n * Translated \"Since this user has no permissions, duplication is invalid\".\n * \n * @return translated \"Since this user has no permissions, duplication is invalid\"\n */\n @DefaultMessage(\"Since this user has no permissions, duplication is invalid\")\n @Key(\"systemUser.userDuplicateInvalid\")\n String systemUser_userDuplicateInvalid();\n\n /**\n * Translated \"System Module already added to the template\".\n * \n * @return translated \"System Module already added to the template\"\n */\n @DefaultMessage(\"System Module already added to the template\")\n @Key(\"template.moduleAddedToTemplate\")\n String template_moduleAddedToTemplate();\n\n /**\n * Translated \"Template Name\".\n * \n * @return translated \"Template Name\"\n */\n @DefaultMessage(\"Template Name\")\n @Key(\"template.name\")\n String template_name();\n\n /**\n * Translated \"Section already added to the template\".\n * \n * @return translated \"Section already added to the template\"\n */\n @DefaultMessage(\"Section already added to the template\")\n @Key(\"template.sectionAddedToTemplate\")\n String template_sectionAddedToTemplate();\n}",
"public final void manageMessage(Message message)\n\t{\n\t\tif(message.getText() != null)\n\t\t{\n\t\t\ttextMessage(message);\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tif(message.getAudio() != null)\n\t\t{\n\t\t\taudioMessage(message);\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tif(message.getDocument() != null)\n\t\t{\n\t\t\tdocumentMessage(message);\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tif(message.getPhoto() != null)\n\t\t{\n\t\t\tphotoMessage(message);\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tif(message.getSticker() != null)\n\t\t{\n\t\t\tstickerMessage(message);\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tif(message.getVideo() != null)\n\t\t{\n\t\t\tvideoMessage(message);\n\t\t\treturn;\n\t\t}\n\n\t\tif(message.getVideoNote() != null)\n\t\t{\n\t\t\tvideoNoteMessage(message);\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tif(message.getVoice() != null)\n\t\t{\n\t\t\tvoiceMessage(message);\n\t\t\treturn;\n\t\t}\n\t\tif(message.getContact() != null)\n\t\t{\n\t\t\tcontactMessage(message);\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tif(message.getLocation() != null)\n\t\t{\n\t\t\tlocationMessage(message);\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tif(message.getVenue() != null)\n\t\t{\n\t\t\tvenueMessage(message);\n\t\t\treturn;\n\t\t}\n\n\t\tif (message.getDice() != null)\n\t\t{\n\t\t\tdiceMessage(message);\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tif(message.getNewChatMember() != null)\n\t\t{\n\t\t\tnewChatMemberMessage(message);\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tif(message.getNewChatMembers() != null)\n\t\t{\n\t\t\tnewChatMembersMessage(message);\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tif(message.getLeftChatMember() != null)\n\t\t{\n\t\t\tleftChatMemberMessage(message);\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tif(message.getPinned_message() != null)\n\t\t{\n\t\t\tpinnedMessage(message);\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tif(message.getNewChatTitle() != null)\n\t\t{\n\t\t\tnewChatTitleMessage(message);\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tif(message.getNewChatPhoto() != null)\n\t\t{\n\t\t\tnewChatPhotoMessage(message);\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tif(message.GetDeleteChatPhoto())\n\t\t{\n\t\t\tgroupChatPhotoDeleteMessage(message);\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tif(message.GetGroupChatCreated())\n\t\t{\n\t\t\tgroupChatCreatedMessage(message);\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tif(message.getGame() != null)\n\t\t{\n\t\t\tgameMessage(message);\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tif(message.getSuccessfulPayment() != null)\n\t\t{\n\t\t\tsuccessfulPaymentMessage(message);\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tif(message.getInvoice() != null)\n\t\t{\n\t\t\tinvoiceMessage(message);\n\t\t\treturn;\n\t\t}\n\t}",
"public String getMessage(){\n return(message);\n }",
"public String getMessage()\r\n {\r\n return myMessage;\r\n }",
"@Override\n\t\tpublic void displayMessage() {\n\t\t\tsuper.displayMessage();\n\t\t}",
"String getMessage();",
"String getMessage();",
"String getMessage();",
"private void addJsMessages() {\r\n MessageManager.getInstance().addJsMessage(\"pm.processErp.deleteBatch.noBatchNo.error\");\r\n MessageManager.getInstance().addJsMessage(\"pm.processErp.deleteBatch.confirmation\");\r\n MessageManager.getInstance().addJsMessage(\"pm.processErp.saveErp.comments.too.long.error\"); \r\n MessageManager.getInstance().addJsMessage(\"pm.processErp.noErpDataFound.information\");\r\n }",
"@Override\n protected TMessage prepareMessage() {\n return SendSuccessOrFailure.this.prepareMessage();\n }",
"@Override\n\tpublic void visit(Message message) {\n\t}",
"Object getMessage();",
"@Override\n public String toString() {\n return getUserName() + \" on \" + getDate() + \"\\n\" + message + \"\\nType: \" + getType();\n }",
"private void viewMessage()\n {\n System.out.println( inbox );\n inbox = \"\";\n }",
"private String getMessage() {\n\t\tSharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this);\r\n\t\t\r\n\t\tboolean addSign = prefs.getBoolean(\"addsign\", true);\r\n\t\t\r\n\t\ttry {\r\n\t\t\r\n\t\tdefMessage = \"I am busy right now and will call you latter.\";\r\n\t\t\r\n\t\tfinalMessage = prefs.getString(\"message\", defMessage);\r\n\t\tif(finalMessage.equals(\"\"))\r\n\t\t\tfinalMessage = defMessage;\r\n\t\t} catch (RuntimeException e) {\r\n\t\t\t// TODO: handle exception\r\n\t\t\tfinalMessage = defMessage;\r\n\t\t}\r\n\t\t\r\n\t\tif(addSign)\r\n\t\t\tfinalMessage += \"\\nSent using Calls and SMS Blocker for android.\\nDownload from: https://play.google.com/store/apps/details?id=com.atiffarrukh.callandsmsblocker\";\r\n\t\treturn finalMessage;\r\n\t}",
"protected void setMessage(java.lang.String newMessage)\r\n {\r\n if (message == null)\r\n {\r\n message = newMessage;\r\n }\r\n else\r\n {\r\n message += \"\\n\" + newMessage;\r\n }\r\n }"
] | [
"0.6570762",
"0.6554281",
"0.65089977",
"0.64378506",
"0.64378506",
"0.64336014",
"0.64030993",
"0.6403046",
"0.6391496",
"0.6353031",
"0.62857956",
"0.62825656",
"0.6249008",
"0.62077975",
"0.6200186",
"0.61964875",
"0.61867577",
"0.61732465",
"0.6137325",
"0.6136004",
"0.61144215",
"0.609469",
"0.6084539",
"0.607011",
"0.6068573",
"0.605744",
"0.605588",
"0.60263985",
"0.60247344",
"0.60247344",
"0.60247344",
"0.60247344",
"0.60247344",
"0.60247344",
"0.60247344",
"0.60247344",
"0.60247344",
"0.60247344",
"0.60247344",
"0.60247344",
"0.60247344",
"0.60247344",
"0.60247344",
"0.60247344",
"0.60247344",
"0.6023676",
"0.60168415",
"0.60114324",
"0.6004468",
"0.5991121",
"0.598919",
"0.59770507",
"0.596952",
"0.5967744",
"0.59634846",
"0.5958466",
"0.59517694",
"0.5950513",
"0.5938084",
"0.5935478",
"0.59339184",
"0.59241205",
"0.59190756",
"0.5906254",
"0.5905642",
"0.5903089",
"0.5898956",
"0.5898064",
"0.5892028",
"0.58918804",
"0.58852875",
"0.5879364",
"0.5873447",
"0.58715427",
"0.5866331",
"0.58591175",
"0.58519113",
"0.5842459",
"0.5841932",
"0.5839333",
"0.58354104",
"0.5835269",
"0.5828542",
"0.5818617",
"0.5818617",
"0.5810313",
"0.58061874",
"0.5803504",
"0.5799944",
"0.57980585",
"0.5790411",
"0.5790411",
"0.5790411",
"0.5790221",
"0.5787474",
"0.5785264",
"0.57815194",
"0.57764137",
"0.5769278",
"0.57610446",
"0.5756279"
] | 0.0 | -1 |
Roll a list of strings into a commaseparated single string. | private String joinNameList(List<String> names) {
String bldr;
if ( names != null ) {
bldr = uniquifyNames(names)
.stream()
.collect(Collectors.joining("','"));
}
else {
throw new IllegalArgumentException( "Null name list not allowed." );
}
return bldr;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static String concat(String[] list) {\n StringJoiner joiner = new StringJoiner(\" \");\n for (String s : list) {\n joiner.add(s);\n }\n return joiner.toString();\n }",
"public static String join(List<String> strings) {\n\t\tString result = \"\";\n\n\t\tboolean first = true;\n\t\tfor (String s : strings) {\n\t\t\tif (!first)\n\t\t\t\tresult += \", \";\n\n\t\t\tresult += s;\n\t\t\tfirst = false;\n\t\t}\n\n\t\treturn result;\n\t}",
"public static String join(Iterable<String> strings) {\n StringBuilder builder = new StringBuilder();\n for (String s : strings) {\n builder.append(s).append(\", \");\n }\n String result = builder.toString();\n return result.substring(1, result.length() - 2);\n }",
"public String stringJoin(Collection<? extends CharSequence> strings) {\n return EasonString.join(strings);\n }",
"static String join(CharSequence separator, String[] strings) {\n\t\t// Ideally we don't have to duplicate the code here if array is\n\t\t// iterable.\n\t\tStringBuilder sb = new StringBuilder();\n\t\tboolean first = true;\n\t\tfor (String s : strings) {\n\t\t\tif (first) {\n\t\t\t\tfirst = false;\n\t\t\t} else {\n\t\t\t\tsb.append(separator);\n\t\t\t}\n\t\t\tsb.append(s);\n\t\t}\n\t\treturn sb.toString();\n\t}",
"public static String joinList(List<String> list) {\r\n //could use String.join or Stream but I found this approach to consistantly be 150-500ns faster\r\n StringBuilder sb = new StringBuilder(list.size());\r\n for (int z = 0; z < list.size() - 1; z++) {\r\n sb.append(list.get(z));\r\n sb.append(',').append(' ');\r\n }\r\n sb.append(list.get(list.size() - 1));\r\n return sb.toString();\r\n }",
"public static String concat(List<String> list, String seperator) {\n StringBuilder builder = new StringBuilder();\n\n for (String elem : list) {\n builder.append(elem);\n builder.append(seperator);\n }\n\n if (builder.length() > 0)\n builder.delete(builder.length() - seperator.length(), builder.length());\n\n return builder.toString();\n }",
"public static String join(String glue, String... strings) {\n StringBuilder sb = new StringBuilder();\n for (String string : strings) {\n if (sb.length() > 0 && !string.isEmpty()) {\n sb.append(glue);\n }\n sb.append(string);\n }\n return sb.toString();\n }",
"public String stringJoin(Collection<? extends CharSequence> strings, CharSequence delimiter) {\n return EasonString.join(strings, delimiter);\n }",
"public static String join(String[] input)\n {\n StringBuilder sb = new StringBuilder();\n for(String value : input)\n {\n sb.append(value);\n sb.append(\" \");\n }\n return sb.toString();\n }",
"public static String stringJoin(CharSequence delimiter, CharSequence... args) {\n StringBuilder builder = new StringBuilder();\n boolean first = true;\n for (CharSequence cs : args) {\n if (first) {\n first = false;\n } else {\n builder.append(delimiter);\n }\n builder.append(cs);\n }\n return builder.toString();\n }",
"public static String joinStrings(String[] a){\n String js=\"\";\n for (int i=0;i<a.length;i++){\n if (i==0){\n js = a[i];\n } else{\n js = js + \" \" + a[i];\n }\n }\n return js;\n }",
"public static String join(Object[] list, String sep)\r\n {\r\n if (list == null)\r\n return null;\r\n \r\n if (sep == null)\r\n sep = \"\";\r\n \r\n StringBuffer buf = new StringBuffer();\r\n if (list.length > 0)\r\n buf.append(list[0]);\r\n \r\n for (int n = 1; n < list.length; n++)\r\n buf.append(sep).append(list[n]);\r\n \r\n return buf.toString();\r\n }",
"public static String join(List<String> s, String delimiter) {\n if (s.isEmpty()) return \"\";\n Iterator<String> iter = s.iterator();\n StringBuffer buffer = new StringBuffer(iter.next());\n while (iter.hasNext())\n buffer.append(delimiter).append(iter.next());\n return buffer.toString();\n }",
"private String commaDelimited(String strs[]) {\n StringBuffer sb = new StringBuffer();\n if (strs.length > 0) {\n sb.append(Utils.encToURL(strs[0]));\n for (int i=1;i<strs.length;i++) sb.append(\",\" + Utils.encToURL(strs[i]));\n }\n return sb.toString();\n }",
"@SuppressWarnings(\"rawtypes\")\r\n\tpublic static String join(CharSequence delimiter, Iterable tokens) {\r\n\t\tStringBuilder sb = new StringBuilder();\r\n\t\tboolean firstTime = true;\r\n\t\tfor (Object token : tokens) {\r\n\t\t\tif (firstTime) {\r\n\t\t\t\tfirstTime = false;\r\n\t\t\t} else {\r\n\t\t\t\tsb.append(delimiter);\r\n\t\t\t}\r\n\t\t\tsb.append(token);\r\n\t\t}\r\n\t\treturn sb.toString();\r\n\t}",
"default String separate(final String... args) {\n final List<String> argList = new ArrayList<>();\n for (final String arg : args) {\n if (!arg.isEmpty()) {\n argList.add(arg);\n }\n }\n return String.join(\" \", argList);\n }",
"public static String implode ( final String glue, final String[] pieces )\n {\n final StringBuilder sb;\n\n if (null == glue || null == pieces) return null;\n if (pieces.length == 0) return \"\";\n\n sb = new StringBuilder();\n for (final String s : pieces) sb.append(s).append(glue);\n return sb.toString().substring(0, sb.length() - glue.length());\n }",
"private String convertListToCommaDelimitedString(List<String> list) {\n\n\t\tString result = \"\";\n\t\tif (list != null) {\n\t\t\tresult = StringUtils.arrayToCommaDelimitedString(list.toArray());\n\t\t}\n\t\treturn result;\n\n\t}",
"public static String joinArray(String[] strs, String splitter){\n StringBuffer buf = new StringBuffer();\n for (int i = 0; i < strs.length; i++) {\n if (i>0){\n buf.append(splitter);\n }\n buf.append(strs[i]);\n }\n return buf.toString();\n }",
"public static String buildString(Collection<String> strings, String splitChar) {\n StringBuilder combined = new StringBuilder();\n for (String s : strings) {\n if (combined.length() > 0) {\n combined.append(splitChar);\n }\n combined.append(s);\n }\n return combined.toString();\n }",
"public static String join(String[] strings, String separator) {\n StringBuffer sb = new StringBuffer();\n int max = strings.length;\n for (int i = 0; i < max; i++) {\n if (i != 0)\n sb.append(separator);\n sb.append(strings[i]);\n }\n return sb.toString();\n }",
"public static String buildString(List<String> strings, String splitChar, String finalSplitChar) {\n StringBuilder combined = new StringBuilder();\n //Length of the list of strings\n int nrOfStrings = strings.size();\n //Loop through strings\n for (int i = 0; i < nrOfStrings; i++) {\n if (i == (nrOfStrings - 1) && i != 0) { //Last one, add the finalSplitChar\n combined.append(finalSplitChar);\n } else if (i > 0) { //If not the first nor the last, add the splitChar\n combined.append(splitChar);\n }\n combined.append(strings.get(i)); //Add the String\n }\n return combined.toString();\n }",
"public static String join(List elements, String separator)\n {\n switch (elements.size())\n {\n case 0:\n return \"\";\n \n case 1:\n return String.valueOf(elements.get(0));\n \n default:\n \n StringBuilder buffer = new StringBuilder();\n boolean first = true;\n \n for (Object o : elements)\n {\n if (!first)\n buffer.append(separator);\n \n String string = String.valueOf(o);\n \n if (string.equals(\"\"))\n string = \"(blank)\";\n \n buffer.append(string);\n \n first = false;\n }\n \n return buffer.toString();\n }\n }",
"public static String join(String delim, Iterable<?> parts) {\n StringBuilder sb = new StringBuilder();\n for (Iterator<?> iter = parts.iterator(); iter.hasNext();) {\n sb.append(iter.next());\n if (iter.hasNext()) {\n sb.append(delim);\n }\n }\n return sb.toString();\n }",
"private static String join(String prefix, String delimiter, Iterable<?> items) {\n if (items == null) return (\"\");\n if (prefix == null) prefix = \"\";\n\n StringBuilder sb = new StringBuilder();\n int i = 0;\n for (Object x : items) {\n if (!prefix.isEmpty()) sb.append(prefix);\n sb.append(x != null ? x.toString() : x).append(delimiter);\n i++;\n }\n if (i == 0) return \"\";\n sb.delete(sb.length() - delimiter.length(), sb.length());\n\n return sb.toString();\n }",
"public String nameString(ArrayList<String> nameList) {\n String nameStore = nameList.get(0) + \", \";\n for (int i = 1; i < nameList.size(); i++) {\n if (i == nameList.size() - 1) {\n nameStore += nameList.get(i);\n } else {\n nameStore += nameList.get(i) + \", \";\n }\n }\n return nameStore;\n }",
"public String join(String conjunction, Iterable<String> list) {\n\t\treturn join(conjunction, list.iterator());\n\t}",
"public static String join(CharSequence delimiter, Object[] tokens) {\r\n\t\tStringBuilder sb = new StringBuilder();\r\n\t\tboolean firstTime = true;\r\n\t\tfor (Object token : tokens) {\r\n\t\t\tif (firstTime) {\r\n\t\t\t\tfirstTime = false;\r\n\t\t\t} else {\r\n\t\t\t\tsb.append(delimiter);\r\n\t\t\t}\r\n\t\t\tsb.append(token);\r\n\t\t}\r\n\t\treturn sb.toString();\r\n\t}",
"public static String combine(String[] s, String glue) {\n int k = s.length;\n if (k == 0) {\n return null;\n }\n StringBuilder out = new StringBuilder();\n out.append(s[0]);\n for (int x = 1; x < k; ++x) {\n out.append(glue).append(s[x]);\n }\n return out.toString();\n }",
"public String join() {\n String result = \"\";\n\n for(int i = 0; i < list.size(); i++) {\n result += list.get(i);\n if (i < list.size() - 1) {\n result += \", \";\n }\n }\n\n return result;\n }",
"public static String join(List elements)\n {\n return InternalCommonsUtils.join(elements, \", \");\n }",
"public static String buildCommaSeperatedValues(ArrayList input) throws Exception{\r\n\t\tString retString = \"\";\r\n\t\tif(input != null){\r\n\t\tfor(int i=0; i<input.size(); i++){\r\n\t\t\tretString = retString + \",\" +input.get(i);\r\n\t\t}\r\n\t\tretString = retString.substring(1);\r\n\t\t}\r\n\t\treturn retString;\t\t\r\n\t}",
"private String concatWithNewLineFeed(String ...inputs) {\n String userInput = \"\";\n for(String s : inputs) {\n userInput += s + System.lineSeparator();\n }\n return userInput;\n }",
"public static String join(CharSequence delimiter, Iterable tokens) {\n StringBuilder sb = new StringBuilder();\n Iterator<?> it = tokens.iterator();\n if (it.hasNext()) {\n sb.append(it.next());\n while (it.hasNext()) {\n sb.append(delimiter);\n sb.append(it.next());\n }\n }\n return sb.toString();\n }",
"public String listToString(List<String> list) {\n return TextUtils.join(\", \", list);\n }",
"public static String join(char delim, Iterable<?> parts) {\n StringBuilder sb = new StringBuilder();\n for (Iterator<?> iter = parts.iterator(); iter.hasNext();) {\n sb.append(iter.next());\n if (iter.hasNext()) {\n sb.append(delim);\n }\n }\n return sb.toString();\n }",
"public static String implode(char separator, String[] strings) {\n\t if (strings == null) return \"\";\n\t int len = -1;\n\t for (String string: strings) len += string.length() + 1;\n\t StringBuilder buf = new StringBuilder(len);\n\t boolean first = true;\n\t for (String string: strings) {\n\t\t if (first) first = false;\n\t\t else buf.append(separator);\n\t\t buf.append(string);\n\t }\n\t return buf.toString();\n }",
"public static String join(Collection<String> collection) {\n\t\treturn join(collection, \"\");\n\t}",
"public static String join(@NonNull CharSequence delimiter, @NonNull Iterable tokens) {\n final Iterator<?> it = tokens.iterator();\n if (!it.hasNext()) {\n return \"\";\n }\n final StringBuilder sb = new StringBuilder();\n sb.append(it.next());\n while (it.hasNext()) {\n sb.append(delimiter);\n sb.append(it.next());\n }\n return sb.toString();\n }",
"public String join(String conjunction, String[] list) {\n\t\treturn join(conjunction, Arrays.asList(list));\n\t}",
"public static String makeStringFromList(ArrayList<String> L) {\r\n String result = \"\";\r\n for(int i = 0; i < L.size(); i++) {\r\n result += L.get(i);\r\n }\r\n return result;\r\n }",
"public static String conocidosToString(List<String> conocidos){\r\n String s = \"\"; \r\n for(int i= 0; i<conocidos.size(); i++){\r\n String c = conocidos.get(i);\r\n s = s + c + \" \";\r\n }\r\n return s;\r\n \r\n}",
"private String convertToString(ArrayList<String> arr, char sep) {\n StringBuilder builder = new StringBuilder();\n // Append all Integers in StringBuilder to the StringBuilder.\n for (String str : arr) {\n builder.append(str);\n builder.append(sep);\n }\n // Remove last delimiter with setLength.\n builder.setLength(builder.length() - 1);\n return builder.toString();\n }",
"public static String SeperateStrings(String separator, String[] strings){\r\n\t\tString rvString = \"\";\r\n\t\tfor (int i = 0; i < strings.length; i++) {\r\n\t\t\t//add seperator when the amount of strings is more than 1\r\n\t\t\tif (i != 0) {\r\n\t\t\t\trvString += separator;\r\n\t\t\t}\r\n\t\t\trvString += strings[i];\r\n\t\t}\r\n\t\treturn rvString;\r\n\t}",
"public static String join(String[] tokens, String delimiter) {\n\t\treturn join(tokens, delimiter, (tokens == null ? 0 : tokens.length));\n\t}",
"public static <T> String join(char delim, Iterable<T> parts, Function<T, String> stringConvert) {\n StringBuilder sb = new StringBuilder(256);\n for (Iterator<T> it = parts.iterator(); it.hasNext();) {\n String sv = stringConvert.apply(it.next());\n if (sv != null && !sv.isEmpty()) {\n if (sb.length() > 0) {\n sb.append(delim);\n }\n sb.append(sv);\n }\n }\n return sb.toString();\n }",
"public static String combineStrings(String... strings) {\n if(CMAppGlobals.DEBUG)Logger.i(TAG, \":: StringHelper.combineStrings \");\n\n StringBuilder stringBuilder = new StringBuilder();\n if(strings != null && strings.length > 0) {\n for (String itemString :\n strings) {\n stringBuilder.append(itemString);\n }\n }\n\n return stringBuilder.toString();\n\n }",
"public static String headerString(final ArrayList<String> header) {\n requireGoodHeader(header);\n return Utils.join(DELIMITER, header);\n }",
"public static String formStringOfTags(ArrayList<String> tags) {\n String stringOfTags = \"\";\n\n for (int i = 0; i < tags.size(); i++) {\n stringOfTags += tags.get(i);\n if (i < tags.size() - 1) {\n stringOfTags += \" | \";\n }\n }\n return stringOfTags;\n }",
"public static String join(Collection<String> collection, String join) {\n\t\tString r = \"\";\n\t\tboolean first = true;\n\t\t\n\t\tfor (String e : collection) {\n\t\t\tif (first) {\n\t\t\t\tfirst = false;\n\t\t\t\tr = e;\n\t\t\t} else {\n\t\t\t\tr += join + e;\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn r;\n\t}",
"String concat_ws(String delimiter, String... text);",
"private static String formStringFromList(List<Long> ids)\n {\n if (ids == null || ids.size() == 0)\n return null;\n\n StringBuilder idsBuffer = new StringBuilder();\n for (Long id : ids)\n {\n idsBuffer.append(id).append(\",\");\n }\n\n return idsBuffer.toString().substring(0, idsBuffer.length() - 1);\n }",
"public static String concatenar(Object[] lista){\n String cadena = \"\";\n for(Object item: lista){\n cadena += item.toString();\n }\n return cadena;\n }",
"public static String join(String[] theParam, String separator) {\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < theParam.length; i++) {\n if (i > 0)\n sb.append(separator);\n sb.append(theParam[i]);\n }\n return sb.toString();\n }",
"public static String join(String[] array)\n {\n if( array.length == 0 ) return Constants.BLANK;\n StringBuilder sb = new StringBuilder();\n for( String s : array )\n sb.append(s);\n return sb.toString();\n }",
"public String CombineAirportsToOneString(ArrayList<String> airportArrayToConvert) {\n String resultString = \"\";\n StringBuilder resultStringBuilder = new StringBuilder(resultString);\n for (int i = 0; i < airportArrayToConvert.size(); i++) {\n if (i == airportArrayToConvert.size() - 1) {\n resultStringBuilder.append(airportArrayToConvert.get(i));\n } else {\n resultStringBuilder.append(airportArrayToConvert.get(i)).append(\", \");\n }\n }\n resultString = resultStringBuilder.toString();\n return resultString;\n }",
"public static String commas(Iterable<?> parts) {\n return join(\", \", parts);\n }",
"public static String toCommaSeparatedValues(final List<String> list) {\n if (list == null || list.isEmpty()) {\n return \"\";\n }\n final int listSize = list.size();\n final StringBuilder builder = new StringBuilder();\n for (int i=0; i<listSize; i++) {\n if (i>0) {\n builder.append(',');\n }\n builder.append(list.get(i));\n }\n return builder.toString();\n }",
"public static String implode(char separator, String addedString, String[] strings) {\n\t if (strings == null) return addedString;\n\t int len = addedString.length();\n\t for (String string: strings) len += string.length() + 1;\n\t StringBuilder buf = new StringBuilder(len);\n\t buf.append(addedString);\n\t for (String string: strings) {\n\t\t buf.append(separator);\n\t\t buf.append(string);\n\t }\n\t return buf.toString();\n }",
"private static <T> String join(final Collection<T> s, final String delimiter) {\n\t\tStringBuilder builder = new StringBuilder();\n\t\tIterator<T> iter = s.iterator();\n\t\twhile (iter.hasNext()) {\n\t\t\tbuilder.append(iter.next());\n\t\t\tif (!iter.hasNext()) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tbuilder.append(delimiter);\n\t\t}\n\t\treturn builder.toString();\n\t}",
"public void writeString() {\n\t\tIterator iterator = stringList.listIterator(0);\n\t\tString out = \"\";\n\t\twhile(iterator.hasNext()) {\n\t\t\tout += iterator.next();\n\t\t}\n\t\tSystem.out.println(out);;\n\t}",
"public static String join(String delimiter, Collection<String> elements) {\n\t\tif (delimiter == null)\n\t\t\tthrow new NullPointerException(\"No delimiter given.\");\n\t\tif (elements == null)\n\t\t\tthrow new NullPointerException(\"No elements given.\");\n\n\t\tboolean first = true;\n\t\tStringBuilder builder = new StringBuilder();\n\n\t\tfor (String element : elements) {\n\t\t\tif (!first)\n\t\t\t\tbuilder.append(delimiter);\n\t\t\tbuilder.append(element);\n\t\t\tfirst = false;\n\t\t}\n\n\t\treturn builder.toString();\n\t}",
"public static String joinMultipleChoices(ArrayList<String> choices) {\n return String.join(ANSWER_DELIMITER, choices);\n }",
"public static String toCsv(List<String> list) {\r\n\t\tString res = \"\";\r\n\t\tIterator<String> it = list.iterator();\r\n\t\twhile (it.hasNext()) {\r\n\t\t\tres += it.next();\r\n\t\t\tif (it.hasNext()) {\r\n\t\t\t\tres += \", \";\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn res;\r\n\t}",
"public static String getAsString(List<String> words, String delimiter) {\n /*StringBuilder result = new StringBuilder();\n for(int i = 0; i < words.size() - 1; i++) {\n result.append(words.get(i)).append(delimiter);\n }\n result.append(words.get(words.size() - 1));\n return result.toString();*/\n return ListArrayUtil.listToString(words, delimiter, \"\", \"\");\n }",
"private String constructAuthorsString (List<Author> authors) {\n \tif (authors == null || authors.isEmpty()) {\n \t\treturn \"\";\n \t}\n \t\n \tStringBuilder builder = new StringBuilder();\n \tif (authors.size() > 1) {\n \t\tfor (int i = 0; i < authors.size() - 1; i++) {\n \t\tbuilder.append(authors.get(i).getName());\n \t\tbuilder.append(STRING_SEPARATOR);\n \t}\n \t}\n\t\tbuilder.append(authors.get(authors.size() - 1).getName());\n \treturn builder.toString();\n }",
"public static String getAsList(final List<String> strings) {\n final StringBuilder sb = new StringBuilder();\n\n if (strings.size() == 0) {\n return \"\";\n }\n\n if (strings.size() == 1) {\n sb.append(strings.get(0));\n } else {\n for (final String string : strings.subList(0, strings.size() - 1)) {\n sb.append(string).append(\", \");\n }\n\n sb.setLength(sb.length() - 2);\n sb.append(\" and \").append(strings.get(strings.size() - 1));\n }\n\n return sb.toString();\n }",
"public static void stringsJoining() {\n\n StringJoiner joiner = new StringJoiner(\" \", \"{\", \"}\");\n String result = joiner.add(\"Dorota\").add(\"is\").add(\"ill\").add(\"and\").add(\"stays\").add(\"home\").toString();\n System.out.println(result);\n }",
"public static CharSequence join(char delim, CharSequence... parts) {\n AppendableCharSequence seq = new AppendableCharSequence();\n for (int i = 0; i < parts.length; i++) {\n seq.append(parts[i]);\n if (i != parts.length - 1) {\n seq.append(delim);\n }\n }\n return seq;\n }",
"String convertTagsToWhitespaceSeparated(List<T> tags);",
"public static String getFullString(String divider, String... strings) {\n String finalString = \"\";\n for (String str : strings) {\n if (!isNullOrEmpty(str)) {\n if (finalString.isEmpty()) {\n finalString += str;\n } else {\n finalString += divider + str;\n }\n }\n }\n\n return finalString;\n }",
"String concat(String... text);",
"private String constructList(String[] elements) throws UnsupportedEncodingException {\n if (null == elements || 0 == elements.length)\n return null;\n StringBuffer elementList = new StringBuffer();\n\n for (int i = 0; i < elements.length; i++) {\n if (0 < i)\n elementList.append(\",\");\n elementList.append(elements[i]);\n }\n return elementList.toString();\n }",
"private String listToString(StringLinkedList list) {\n\t\t\n\t\tString first = list.removeLast();\n\t\tif(first == null) return \"[]\";\n\t\tString output = first + \"]\";\n\t\twhile(true) {\n\t\t\tString current = list.removeLast();\n\t\t\tif(current == null) {\n\t\t\t\treturn \"[\" + output;\n\t\t\t} else {\n\t\t\t\toutput = current + \",\" + output;\n\t\t\t}\n\t\t}\n\t}",
"public static String join(String delimiter, String... elements) {\n\t\tif (delimiter == null)\n\t\t\tthrow new NullPointerException(\"No delimiter given.\");\n\t\tif (elements == null)\n\t\t\tthrow new NullPointerException(\"No elements given.\");\n\n\t\tboolean first = true;\n\t\tStringBuilder builder = new StringBuilder();\n\n\t\tfor (String element : elements) {\n\t\t\tif (!first)\n\t\t\t\tbuilder.append(delimiter);\n\t\t\tbuilder.append(element);\n\t\t\tfirst = false;\n\t\t}\n\n\t\treturn builder.toString();\n\t}",
"public String SerializeColToString(ArrayList<String> list){ \n if(!list.isEmpty()){\n return String.join(\", \", list); \n }\n return null; \n }",
"public String generate(List<BasketSeriesItemBean> seriesItems){\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint size = seriesItems.size();\n\t\tfor(int i=0; i < size ; i++) {\n\t\t\tBasketSeriesItemBean bsib = seriesItems.get(i);\n\t\t\tsb.append(bsib.getSeriesId());\n\t\t\tsb.append(\",\");\n\t\t\tsb.append(\"\\n\");\n\t\t}\n\t\tint lastComma = sb.lastIndexOf(\",\");\n\t\t\n\t\t//System.out.println(\"char at length - 1: \" + sb.charAt(sb.length() - 1) + \" length: \" + sb.length() + \" lastComma: \" + lastComma);\n\t\tsb.replace(lastComma, lastComma, \"\");\n\t\tsb.trimToSize();\n\t\t//System.out.println(\"length: \" + sb.length());\n\t\treturn sb.toString();\n\t}",
"static public String getListAsCSV(List<String> list) {\r\n\t\tStringBuffer sb = new StringBuffer();\r\n\r\n\t\tif (list != null) {\r\n\t\t\tfor (Iterator<String> i = list.iterator(); i.hasNext();) {\r\n\t\t\t\tString str = i.next();\r\n\r\n\t\t\t\t// If the string contains a slash make it appear as \\\\ in the\r\n\t\t\t\t// protocol\r\n\t\t\t\t// 1 slash in Java/regex is \\\\\\\\\r\n\t\t\t\tstr = str.replaceAll(\"\\\\\\\\\", \"\\\\\\\\\\\\\\\\\");\r\n\t\t\t\tstr = str.replaceAll(\",\", \"\\\\\\\\,\");\r\n\t\t\t\tsb.append(str);\r\n\r\n\t\t\t\tif (i.hasNext()) {\r\n\t\t\t\t\tsb.append('\\\\');\r\n\t\t\t\t\tsb.append(',');\r\n\t\t\t\t\tsb.append(\" \");\r\n\t\t\t\t}\r\n\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn sb.toString();\r\n\t}",
"public String process(List<String> process) {\n return String.join(\". \", process) + (process.isEmpty() ? \"\" : \".\");\n }",
"private String buildTagString(ArrayList<String> tagList) {\n String tags = \"\";\n\n for (int i = 0; i < tagList.size(); i++) {\n tags += tagList.get(i);\n\n if (i != tagList.size() - 1)\n tags += \", \";\n }\n\n return tags;\n }",
"public String outputString(List list) {\r\n StringWriter out = new StringWriter();\r\n try {\r\n output(list, out); // output() flushes\r\n } catch (IOException e) { }\r\n return out.toString();\r\n }",
"public static String join(String[] array, String separator) {\n int len = array.length;\n if (len == 0) return \"\";\n\n StringBuilder out = new StringBuilder();\n out.append(array[0]);\n for (int i = 1; i < len; i++) {\n out.append(separator).append(array[i]);\n }\n return out.toString();\n }",
"public static String join(Collection<?> s, String delimiter) {\n\t\tStringBuffer buffer = new StringBuffer();\n\t\tIterator<?> iter = s.iterator();\n\t\twhile (iter.hasNext()) {\n\t\t\tbuffer.append(iter.next());\n\t\t\tif (iter.hasNext())\n\t\t\t\tbuffer.append(delimiter);\n\t\t}\n\t\treturn buffer.toString();\n\t}",
"public static String debugString(List<String> stringList) {\n StringBuilder result = new StringBuilder(\"[\");\n Iterator<String> listIter = stringList.iterator();\n if (listIter.hasNext()) {\n result.append('\"'); // Opening quote for the first string\n result.append(listIter.next());\n while (listIter.hasNext()) {\n result.append(\"\\\", \\\"\");\n result.append(listIter.next());\n }\n result.append('\"'); // Closing quote for the last string\n }\n result.append(']');\n return result.toString();\n }",
"public static String implode(Collection<? extends Object> parts, String separator) {\r\n\t\t\tStringBuilder builder = new StringBuilder();\r\n\t\t\tfor (Object part : parts) {\r\n\t\t\t\tbuilder.append(separator + part);\r\n\t\t\t}\r\n\r\n\t\t\tif (builder.length() > separator.length()) {\r\n\t\t\t\treturn builder.substring(separator.length());\r\n\t\t\t}\r\n\r\n\t\t\treturn builder.toString();\r\n\t\t}",
"private static void writeJSONString(Iterable<?> list, Appendable out) throws IOException {\n @Var boolean first = true;\n\n out.append('[');\n for (Object value : list) {\n if (first) {\n first = false;\n } else {\n out.append(',');\n }\n\n JSON.writeJSONString(value, out);\n }\n out.append(']');\n }",
"public static void main(String[] args) {\n\t\t\n\t\tList<String> list = Arrays.asList(\"Mukesh\", \"Vishal\", \"Amar\");\n\t\tString result = list.parallelStream().collect(StringBuilder::new,\n\t\t\t\t(response, element) -> response.append(\" \").append(element),\n\t\t\t\t(response1, response2) -> response1.append(\",\").append(response2.toString())).toString();\n\t\tSystem.out.println(\"Result: \" + result);\n\t}",
"private String joinIdList(List<Long> projects) {\n String bldr;\n if ( projects != null ) {\n bldr = projects.stream()\n .map(String::valueOf)\n .collect(Collectors.joining(\",\"));\n }\n else {\n throw new IllegalArgumentException( \"Null id list not allowed.\" );\n }\n\n return bldr;\n }",
"public static String convertArrayListIntoString (ArrayList inputList){\n\n // convert exercisesList to string\n String resultString = \"(\";\n for (int i = 0; i < inputList.size(); i ++) {\n if (i != inputList.size() - 1) {\n resultString = resultString + inputList.get(i) + \", \";\n } else {\n resultString = resultString + inputList.get(i) + \")\";\n }\n }\n\n return resultString;\n }",
"public static String joinStrings(String[] strings, int startIndex, int endIndex) {\n if (startIndex < strings.length) {\n String ret = strings[startIndex];\n endIndex = Math.min(endIndex, strings.length);\n for (int i = startIndex + 1; i < endIndex; i++) {\n ret += \" \" + strings[i];\n }\n return ret;\n }\n return \"\";\n }",
"public static String serialize( List<String> selectedValues, String delimiter )\n {\n return selectedValues == null ? \"\" : TextUtils.join( delimiter, selectedValues );\n }",
"private static String list(Iterable iterable, String initialString, String delimiter) {\n Iterator iterator = iterable.iterator();\n if (!iterator.hasNext()) return \"\"; // empty?\n StringBuilder buffer = new StringBuilder(initialString + iterator.next().toString());\n while (iterator.hasNext()) buffer.append(delimiter).append(iterator.next().toString());\n return buffer.toString();\n }",
"private String fill(String[] chain) {\r\n\t\tString result = new String();\r\n\t\tfor (int i = 0; i < chain.length; i++) {\r\n\t\t\tresult += chain[i];\r\n\t\t}\r\n\t\treturn result;\r\n\t}",
"private String securityListToString(List<String> securityList) {\n return securityList.stream().collect(Collectors.joining(SECURITY_SEPARATOR));\n }",
"private String literal(Array list) {\n StringBuffer buffer = new StringBuffer();\n \n buffer.append(\"(\");\n for (int i = 0; i < list.size(); i++) {\n if (i > 0) {\n buffer.append(\",\");\n }\n buffer.append(literal(list.get(i)));\n }\n buffer.append(\")\");\n return buffer.toString();\n }",
"public static String implodeArray(String[] inputArray, String glueString) {\n\n\t/** Output variable */\n\tString output = \"\";\n\n\tif (inputArray.length > 0) {\n\t\tStringBuilder sb = new StringBuilder();\n\t\tsb.append(inputArray[0]);\n\n\t\tfor (int i=1; i<inputArray.length; i++) {\n\t\t\tsb.append(glueString);\n\t\t\tsb.append(inputArray[i]);\n\t\t}\n\n\t\toutput = sb.toString();\n\t}\n\n\treturn output;\n\t}",
"public static String concat(String... strings) {\n\t\tStringBuilder sb = new StringBuilder();\n\t\tif (strings != null) {\n\t\t\tfor (String str : strings) {\n\t\t\t\tif (!isEmpty(str)) {\n\t\t\t\t\tsb.append(str);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn sb.toString();\n\t}",
"public static String punctuateSequence(List<String> elements, String insertion)\r\n/* 53: */ {\r\n/* 54: 51 */ String result = \"\";\r\n/* 55: 52 */ int size = elements.size();\r\n/* 56: 53 */ if (size == 1) {\r\n/* 57: 54 */ result = result + (String)elements.get(0);\r\n/* 58: */ } else {\r\n/* 59: 57 */ for (int i = 0; i < size; i++)\r\n/* 60: */ {\r\n/* 61: 58 */ result = result + (String)elements.get(i);\r\n/* 62: 59 */ if (i != size - 1) {\r\n/* 63: 61 */ if (i == size - 2)\r\n/* 64: */ {\r\n/* 65: 62 */ if (size == 2) {\r\n/* 66: 63 */ result = result + \" \" + insertion + \" \";\r\n/* 67: */ } else {\r\n/* 68: 66 */ result = result + \", \" + insertion + \" \";\r\n/* 69: */ }\r\n/* 70: */ }\r\n/* 71: */ else {\r\n/* 72: 70 */ result = result + \", \";\r\n/* 73: */ }\r\n/* 74: */ }\r\n/* 75: */ }\r\n/* 76: */ }\r\n/* 77: 74 */ return result;\r\n/* 78: */ }",
"static public List<String> formatString(List<String> strings)\n\t{\n\t\tList<String> new_strings = new ArrayList<String>();\n\t\tfor(String s : strings)\n\t\t{\n\t\t\tnew_strings.add(StringUtilities.formatString(s));\n\t\t}\n\t\treturn new_strings;\n\t}"
] | [
"0.6740249",
"0.67261356",
"0.6539188",
"0.648465",
"0.6445029",
"0.6393661",
"0.62808657",
"0.61875236",
"0.61410564",
"0.61041474",
"0.6081636",
"0.60453534",
"0.6038961",
"0.60320723",
"0.60271573",
"0.59658545",
"0.5942168",
"0.59301436",
"0.592978",
"0.59240085",
"0.5910238",
"0.59012336",
"0.58977675",
"0.5897067",
"0.58663905",
"0.58615124",
"0.5846352",
"0.5835818",
"0.58274865",
"0.5827364",
"0.5826711",
"0.58051115",
"0.5784051",
"0.57650375",
"0.57512414",
"0.5725232",
"0.5703229",
"0.57021284",
"0.56689626",
"0.5661513",
"0.5641709",
"0.56172717",
"0.56136036",
"0.5605434",
"0.56047106",
"0.56027937",
"0.5572477",
"0.55691653",
"0.5558039",
"0.5553965",
"0.5549328",
"0.55418074",
"0.5539017",
"0.55233765",
"0.5517695",
"0.55168986",
"0.5498087",
"0.548159",
"0.54670006",
"0.5454668",
"0.5454513",
"0.5453603",
"0.5447579",
"0.54174185",
"0.5384649",
"0.5379674",
"0.5370183",
"0.53700465",
"0.5357271",
"0.53534305",
"0.53522277",
"0.53478503",
"0.5347498",
"0.534039",
"0.5330785",
"0.5320954",
"0.5317624",
"0.5316757",
"0.53129405",
"0.53082275",
"0.5305085",
"0.5285033",
"0.5257539",
"0.525668",
"0.52332383",
"0.52168673",
"0.52088493",
"0.5180127",
"0.51662576",
"0.51529765",
"0.5151334",
"0.5150089",
"0.51496804",
"0.5148764",
"0.51482767",
"0.51407343",
"0.51393396",
"0.51358736",
"0.5126175",
"0.51125216"
] | 0.6630649 | 2 |
Roll a list of numeric IDs into a commaseparated single string. | private String joinIdList(List<Long> projects) {
String bldr;
if ( projects != null ) {
bldr = projects.stream()
.map(String::valueOf)
.collect(Collectors.joining(","));
}
else {
throw new IllegalArgumentException( "Null id list not allowed." );
}
return bldr;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private static String formStringFromList(List<Long> ids)\n {\n if (ids == null || ids.size() == 0)\n return null;\n\n StringBuilder idsBuffer = new StringBuilder();\n for (Long id : ids)\n {\n idsBuffer.append(id).append(\",\");\n }\n\n return idsBuffer.toString().substring(0, idsBuffer.length() - 1);\n }",
"public static String getIDString(int... ids) {\n\t\tif ((ids == null) || (ids.length < 1)) {\n\t\t\treturn \"???\";\n\t\t}\n\t\tStringBuilder sb = new StringBuilder(50);\n\t\tsb.append(\"]\");\n\t\tfor (int i = 0; i < ids.length; i++) {\n\t\t\tsb.append(ids[i]);\n\t\t\tif (i < (ids.length - 1)) {\n\t\t\t\tsb.append(\", \");\n\t\t\t}\n\t\t}\n\t\treturn sb.toString();\n\t}",
"private static String joinInts(TreeSet<Integer> vals, String delim) {\n StringBuilder output = new StringBuilder();\n for (Integer val : vals) {\n output.append(delim).append(val.toString());\n }\n return output.substring(1, output.length());\n }",
"public static void concatenateNumbers(List<Integer> numbers){\n\n String ans = numbers\n .stream()\n .map(x -> String.valueOf(x))\n .reduce(\"\", (x, y) -> x + y);\n\n System.out.println(ans);\n }",
"private String addIDsNew(List<Person> list) {\n\t\tString iD = \"\";\n\t\tfor( int i = 0 ; i < list.size(); i++ ){\n\t\t\tif( i == list.size() - 1 ){\n\t\t\t\tiD = iD + list.get( i ).iD;\n\n\t\t\t}\n\t\t\telse{\n\t\t\t\tiD = iD + list.get( i ).iD + DEFAULT_DELIMMTER;\n\t\t\t}\n\t\t\t\n\t\t}\n\t\treturn iD;\n\t}",
"public String intToString(int nums[]) {\n\t\tString empty = \"\";\n\t\tfor(int i = nums.length-1; i >= 0; i--) {\n\t\t\tempty += Integer.toString(nums[(nums.length-1) - i]);\n\t\t}\n\t\treturn empty;\n\t}",
"private String longsToStr(int[] longs) { // convert array of longs back to string\n String result = \"\";\n// int[] a = new int[longs.length];\n for (int i = 0; i < longs.length; i++) {\n // a[i] = longToStr(longs[i]);\n // result += a[i];\n result += longToStr(longs[i]);\n }\n return result; // use Array.join() rather than repeated string appends for efficiency\n }",
"private static String buildParamsId(List<String> params){\n return String.join(\"#\", params);\n }",
"public static String labelIntegerList(List<Integer> nums) {\t\t\n\t\tList<String> strs = nums.stream()\n\t\t\t\t\t\t\t\t.map(i -> i % 2 == 0 ? \"e\" + i : \"o\" + i)\n\t\t\t\t \t\t\t .collect(toList());\n\t\treturn String.join(\",\", strs);\t\t\n\t}",
"public String generate(List<BasketSeriesItemBean> seriesItems){\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint size = seriesItems.size();\n\t\tfor(int i=0; i < size ; i++) {\n\t\t\tBasketSeriesItemBean bsib = seriesItems.get(i);\n\t\t\tsb.append(bsib.getSeriesId());\n\t\t\tsb.append(\",\");\n\t\t\tsb.append(\"\\n\");\n\t\t}\n\t\tint lastComma = sb.lastIndexOf(\",\");\n\t\t\n\t\t//System.out.println(\"char at length - 1: \" + sb.charAt(sb.length() - 1) + \" length: \" + sb.length() + \" lastComma: \" + lastComma);\n\t\tsb.replace(lastComma, lastComma, \"\");\n\t\tsb.trimToSize();\n\t\t//System.out.println(\"length: \" + sb.length());\n\t\treturn sb.toString();\n\t}",
"private String formatNumbers(int[] numbers) {\r\n String formattedResponse = \"\";\r\n for (int number : numbers) {\r\n formattedResponse += number + \" \";\r\n }\r\n return formattedResponse;\r\n }",
"private String convertToString(ArrayList<String> arr, char sep) {\n StringBuilder builder = new StringBuilder();\n // Append all Integers in StringBuilder to the StringBuilder.\n for (String str : arr) {\n builder.append(str);\n builder.append(sep);\n }\n // Remove last delimiter with setLength.\n builder.setLength(builder.length() - 1);\n return builder.toString();\n }",
"private String addIDsFilmGenre(List<FilmGenre> list) {\n\t\tString iD = \"\";\n\t\tfor( int i = 0 ; i < list.size(); i++ ){\n\t\t\tif( i == list.size() - 1 ){\n\t\t\t\tiD = iD + list.get( i ).iD;\n\t\t\t\t\n\t\t\t}\n\t\t\telse{\n\t\t\t\tiD = iD + list.get( i ).iD + DEFAULT_DELIMMTER;\n\t\t\t}\n\t\t\t\n\t\t}\n\t\treturn iD;\n\t}",
"public String encode(List<String> strs) {\r\n StringBuilder sb = new StringBuilder();\r\n for(String s: strs) {\r\n sb.append(intToString(s));\r\n sb.append(s);\r\n }\r\n return sb.toString();\r\n }",
"public void numbersToString(Context ctx){\n\t\t\tboolean first = true;\t\t\t\t\t\t\t\t// if the first dont put a comma\n\t\t\tnamesText = \"\";\t\t\t\t\t\t\t\t\t\t// start of namestext\n\t\t\tfor(String n : numbers.keySet()){\t\t\t\t\t// for all the numbers\n\t\t\t\tString name = numberToString(n,ctx);\t\t\t// get the contact\n\t\t\t\tif(name == null)\t\t\t\t\t\t\t\t// if its null\n\t\t\t\t\tname = n;\t\t\t\t\t\t\t\t\t// name is number\n\t\t\t\tif(!first)\t\t\t\t\t\t\t\t\t\t// if it isnt the first\n\t\t\t\t\tnamesText = namesText + \",\" + name;\t\t\t// put a comma in between\n\t\t\t\telse{\t\t\t\t\t\t\t\t\t\t\t// if it is the fist\n\t\t\t\t\tnamesText = name;\t\t\t\t\t\t\t// put it with no comma\n\t\t\t\t\tfirst = false;\t\t\t\t\t\t\t\t// and say that its not the first\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"private static String[] getStringBasedOnCoordinate(String idNames, String[] id_to_coord_list){\n String[] subID = idNames.split(\"\\\\n\");\n String[] string_of_id = new String[subID.length-1];\n for(int i=1; i< subID.length; i++){\n string_of_id[i-1] = id_to_coord_list[Integer.parseInt(subID[i])-1];\n }\n return string_of_id;\n }",
"public String compress(int[] numberList)\n {\n String str=\"\";\n int num = numberList[0];\n int count = 0; // counter\n for (int i=0; i<numberList.length; i++)\n {\n if (numberList[i]!=num) // if number change\n {\n str += \"[\"+count+\"]\"+num; // add the string for this number\n num = numberList[i]; // update the new number\n count = 1; // reset the counter\n } else {\n count ++;\n }\n }\n \n if (count==0) // if the last number is not duplicate one\n {\n str += \"[1]\"+num;\n } else // if the last number is duplicate one\n {\n str += \"[\"+count+\"]\"+num; // add the string\n }\n \n return str;\n }",
"public void addNumbers(int ids[], String nums[], Context c){\n\t\t\tfor(int n =0; n < ids.length; n++)\t\t\t\t\t// for all of the numbers\n\t\t\t\tnumbers.put(nums[n],ids[n]);\t\t\t\t\t// put the numbers in\n\t\t\tnumbersToString(c);\t\t\t\t\t\t\t\t\t// change the namesText\n\t\t}",
"public static String serializeForSQL(long arr[]){\n\t\tString ret = \"\";\n\t\tif (arr != null){\n\t\t\tfor (int i = 0; i < arr.length; i++){\n\t\t\tif (i != 0){\n\t\t\t\tret += \",\";\n\t\t\t}\n\t\t\tret += arr[i];\n\t\t\t}\n\t\t}\n\t\treturn ret;\n\t}",
"public void toStr()\r\n {\r\n numar = Integer.toString(read());\r\n while(numar.length() % 3 != 0){\r\n numar = \"0\" + numar; //Se completeaza cu zerouri pana numarul de cifre e multiplu de 3.\r\n }\r\n }",
"public static String intArrayToString(int[] intArray) {\n String ret = \"\";\n for (int i = 0; i < intArray.length; i++) {\n if (ret.length() > 0)\n ret = ret + \",\" + Integer.toString(intArray[i]);\n else\n ret = Integer.toString(intArray[i]);\n }\n return ret;\n }",
"private final String excludedWorkersToString(HashSet<String> WorkersList){\n\t\tString Ids = \"\";\n\t\tfor(String id : WorkersList){\n\t\t\tIds += id +\",\";\n\t\t}\n\t\treturn Ids;\n\t}",
"public String NumberToString(int number){return \"\"+number;}",
"String arryToSinglelineString(int[] array,int N) {\n\t\tString str=\"\"; \n\t\tfor(int i=0;i<N;i++)\n\t\t\tstr=str+String.valueOf(array[i])+\" \";\n\t\treturn \"{\"+str+ \"}\";\n\t}",
"public String encode(long... numbers) {\n if (numbers.length == 0) {\n throw new IllegalArgumentException(\"At least one number must be specified.\");\n }\n\n for (final long number : numbers) {\n if (number < 0) {\n return \"\"; // we must throw an exception here (like the case when we compare with MAX_NUMBER)\n }\n\n if (number > MAX_NUMBER) {\n throw new IllegalArgumentException(\"Number can not be greater than \" + MAX_NUMBER + '.');\n }\n }\n\n return this._encode(numbers);\n }",
"private static String buildID(String userID, Long propID) {\r\n\t\tString format = \"%020d\";\r\n\t\treturn userID + String.format(format, propID);\r\n\t}",
"private static String convertToCsvField(\r\n int[] intFields)\r\n {\r\n String strUnion = \"\"; // Returned value\r\n \r\n int i; // Counter\r\n \r\n // We build the union of the fields\r\n \r\n for (i = 0; i < intFields.length; i++)\r\n {\r\n // We insert the comma as separator\r\n \r\n if (i > 0)\r\n {\r\n strUnion += ',';\r\n }\r\n \r\n // We add the i-field\r\n \r\n strUnion = strUnion.concat(String.valueOf(intFields[i]));\r\n }\r\n \r\n // We return the result\r\n \r\n return (strUnion);\r\n }",
"public String formatPrimaryKey()\n {\n StringBuilder sb = new StringBuilder();\n AcFormatter f = new AcFormatter();\n sb.append(f.formatAny(getBatchId()));\n sb.append(\", \");\n sb.append(f.formatAny(getNestId()));\n return sb.toString();\n }",
"public static String join(int[] array, String sep) {\n if (array == null || array.length == 0) {\n return \"\";\n }\n int len = array.length;\n StringBuffer sb = new StringBuffer();\n String item;\n for (int i = 0; i < (len - 1); i++) {\n item = (new Integer(array[i])).toString();\n sb.append(item).append(sep);\n }\n sb.append(array[len - 1]);\n return sb.toString();\n }",
"private String longsToHexStr(int[] longs) {\n String result = \"\";\n String[] a = new String[longs.length];\n for (int i = 0; i < longs.length; i++) {\n a[i] = longToHexStr(longs[i]);\n if (i > 0) {\n result += \"-\";\n }\n result += a[i];\n }\n return result;\n }",
"public String id2placa(String lst_id) {\n \n ArrayList<Movil> lst_movil = MovilBD.select();\n String arr_id[] = lst_id.split(\",\");\n String lst_placa = \"\";\n \n for (String id : arr_id) { \n for (Movil m : lst_movil) {\n String id_m = \"\" + m.getId();\n if (id_m.equals(id)) {\n String placa = \"'\" + m.getPlaca() + \"'\";\n lst_placa += (lst_placa == \"\") ? placa : \",\" + placa;\n break;\n }\n }\n }\n \n return lst_placa;\n }",
"private String addIDatentraegerNew(List<Datentraeger> list) {\n\t\tString iD = \"\";\n\t\tfor( int i = 0 ; i < list.size(); i++ ){\n\t\t\tif( i == list.size() - 1 ){\n\t\t\t\tiD = iD + list.get( i ).iD;\n\n\t\t\t}\n\t\t\telse{\n\t\t\t\tiD = iD + list.get( i ).iD + DEFAULT_DELIMMTER;\n\t\t\t}\n\t\t\t\n\t\t}\n\t\treturn iD;\n\t}",
"private static String printNumbers(int numbers[], String dsType) {\n\n\t\tStringBuffer output = new StringBuffer();\n\n\t\tif (dsType.equals(DS_FIFO)) {\n\t\t\tfor (int i = 0; i < numbers.length; i++) {\n\t\t\t\toutput.append(numbers[i]);\n\t\t\t\tif (i != numbers.length - 1) {\n\t\t\t\t\toutput.append(\",\");\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (dsType.equals(DS_FILO)) {\n\t\t\tfor (int i = numbers.length - 1; i >= 0; i--) {\n\t\t\t\toutput.append(numbers[i]);\n\t\t\t\tif (i != 0) {\n\t\t\t\t\toutput.append(\",\");\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\toutput.append(\"Invalid Data Structure Type Provided. Please choose from FIFO, FILO\");\n\t\t}\n\n\t\treturn output.toString();\n\t}",
"private String convertNumOfItemInIntToString(long numberOfItems) {\n if (numberOfItems <= 1) {\n return Long.toString(numberOfItems) + \" item\";\n } else {\n return Long.toString(numberOfItems) + \" items\";\n }\n }",
"public static String convertDateListToString(int[] dateList) {\r\n\t\treturn dateList[0] + \"-\" + dateList[1] + \"-\" + dateList[2];\r\n\t}",
"@Override\n public String getToID()\n {\n \tStringBuilder sb = new StringBuilder();\n\n\t\tint prefix = getPrefix();\n \tint ident = getIdent1();\n\n \tswitch( IdentType.fromIdent( ident ) )\n \t{\n \t\tcase IPFIXI:\n \t\t\tsb.append( \"INTER-PREFIX\" );\n \t\t\tbreak;\n \t\tcase ALLI:\n \t\t\tsb.append( \"ALL RADIOS\" );\n \t\t\tbreak;\n \t\tcase PABXI:\n \t\t\tsb.append( \"PABX EXT\" );\n \t\t\tbreak;\n \t\tcase PSTNSI1:\n \t\tcase PSTNSI2:\n \t\tcase PSTNSI3:\n \t\tcase PSTNSI4:\n \t\tcase PSTNSI5:\n \t\tcase PSTNSI6:\n \t\tcase PSTNSI7:\n \t\tcase PSTNSI8:\n \t\tcase PSTNSI9:\n \t\tcase PSTNSI10:\n \t\tcase PSTNSI11:\n \t\tcase PSTNSI12:\n \t\tcase PSTNSI13:\n \t\tcase PSTNSI14:\n \t\tcase PSTNSI15:\n \t\t\tsb.append( \"PRE-DEFINED PSTN\" );\n \t\t\tbreak;\n \t\tcase PSTNGI:\n \t\t\tsb.append( \"PSTN GATEWAY\" );\n \t\t\tbreak;\n \t\tcase TSCI:\n \t\t\tsb.append( \"SYSTEM CONTROLLER\" );\n \t\t\tbreak;\n \t\tcase DIVERTI:\n \t\t\tsb.append( \"CALL DIVERT\" );\n \t\t\tbreak;\n \t\tcase USER:\n\t\t\tdefault:\n\t\t\t\tif( prefix != 0 || ident != 0 )\n\t\t\t\t{\n\t \tsb.append( format( prefix, 3 ) );\n\t \tsb.append( \"-\" );\n\t \tsb.append( format( ident, 4) );\n\t\t\t\t}\n \tbreak;\n \t}\n\n \treturn sb.toString();\n }",
"public static String convertSkipArrayToString(ArrayList<Integer> skipsArray){\n String result = \"\";\n for (int i=0; i < skipsArray.size(); i+=1) {\n result += skipsArray.get(i);\n if (i+1 < skipsArray.size()){\n result += \",\";\n }\n }\n return result;\n }",
"protected String generateCommandID()\n {\n String res = new String (_initialID);\n // \"increase\" the ID for the next call\n boolean wasIncr = false;\n for (int i = _initialID.length-1; i>=0; i--)\n {\n if (_initialID[i] >= 'Z')\n {\n _initialID[i] = 'A';\n if ( i > 0 )\n {\n _initialID[i-1]++;\n wasIncr = true;\n }\n }\n else\n {\n if (! wasIncr) _initialID[i]++;\n break;\n }\n }\n return res;\n }",
"private String formatTccId(TCC tcc) {\n\t\tString id = Integer.toString(tcc.getIdTCC());\n\t\twhile (id.length() < 5) {\n\t\t\tid = \"0\" + id;\n\t\t}\n\t\treturn id;\n\t}",
"public String toString() {\n return Arrays.toString(id);\n }",
"public String toString() {\n\t\tif(useNum < 10) {\n\t\t\treturn \"0\" + useNum + useStr + \" \" + idNum;\n\t\t} else {\n\t\t\treturn useNum + useStr + \" \" + idNum;\n\t\t}\n\t}",
"public String getIdAsString(String key) {\n Object obj = ids.get(key);\n if (obj == null) {\n return \"\";\n }\n return String.valueOf(obj);\n }",
"public String toString(ArrayList<Integer> arr) {\n\t\tString mssg = \"\";\n\t\tfor(int i = 0; i < arr.size(); i++) {\n\t\t\tmssg += arr.get(i) + \" \";\n\t\t}\n\t\treturn mssg;\n\t}",
"String formatNumberList(\n TransformerImpl transformer, long[] list, int contextNode)\n throws TransformerException\n {\n\n String numStr;\n FastStringBuffer formattedNumber = StringBufferPool.get();\n\n try\n {\n int nNumbers = list.length, numberWidth = 1;\n char numberType = '1';\n String formatToken, lastSepString = null, formatTokenString = null;\n\n // If a seperator hasn't been specified, then use \".\" \n // as a default separator. \n // For instance: [2][1][5] with a format value of \"1 \"\n // should format to \"2.1.5 \" (I think).\n // Otherwise, use the seperator specified in the format string.\n // For instance: [2][1][5] with a format value of \"01-001. \"\n // should format to \"02-001-005 \".\n String lastSep = \".\";\n boolean isFirstToken = true; // true if first token \n String formatValue =\n (null != m_format_avt)\n ? m_format_avt.evaluate(\n transformer.getXPathContext(), contextNode, this) : null;\n\n if (null == formatValue)\n formatValue = \"1\";\n\n NumberFormatStringTokenizer formatTokenizer =\n new NumberFormatStringTokenizer(formatValue);\n\n // int sepCount = 0; // keep track of seperators\n // Loop through all the numbers in the list.\n for (int i = 0; i < nNumbers; i++)\n {\n\n // Loop to the next digit, letter, or separator.\n if (formatTokenizer.hasMoreTokens())\n {\n formatToken = formatTokenizer.nextToken();\n\n // If the first character of this token is a character or digit, then \n // it is a number format directive.\n if (Character.isLetterOrDigit(\n formatToken.charAt(formatToken.length() - 1)))\n {\n numberWidth = formatToken.length();\n numberType = formatToken.charAt(numberWidth - 1);\n }\n\n // If there is a number format directive ahead, \n // then append the formatToken.\n else if (formatTokenizer.isLetterOrDigitAhead())\n {\n formatTokenString = formatToken;\n\n // Append the formatToken string...\n // For instance [2][1][5] with a format value of \"1--1. \"\n // should format to \"2--1--5. \" (I guess).\n while (formatTokenizer.nextIsSep())\n {\n formatToken = formatTokenizer.nextToken();\n formatTokenString += formatToken;\n }\n\n // Record this separator, so it can be used as the \n // next separator, if the next is the last.\n // For instance: [2][1][5] with a format value of \"1-1 \"\n // should format to \"2-1-5 \".\n if (!isFirstToken)\n lastSep = formatTokenString;\n\n // Since we know the next is a number or digit, we get it now.\n formatToken = formatTokenizer.nextToken();\n numberWidth = formatToken.length();\n numberType = formatToken.charAt(numberWidth - 1);\n }\n else // only separators left\n {\n\n // Set up the string for the trailing characters after \n // the last number is formatted (i.e. after the loop).\n lastSepString = formatToken;\n\n // And append any remaining characters to the lastSepString.\n while (formatTokenizer.hasMoreTokens())\n {\n formatToken = formatTokenizer.nextToken();\n lastSepString += formatToken;\n }\n } // else\n } // end if(formatTokenizer.hasMoreTokens())\n\n // if this is the first token and there was a prefix\n // append the prefix else, append the separator\n // For instance, [2][1][5] with a format value of \"(1-1.) \"\n // should format to \"(2-1-5.) \" (I guess).\n if (null != formatTokenString && isFirstToken)\n {\n formattedNumber.append(formatTokenString);\n }\n else if (null != lastSep &&!isFirstToken)\n formattedNumber.append(lastSep);\n\n getFormattedNumber(transformer, contextNode, numberType, numberWidth,\n list[i], formattedNumber);\n\n isFirstToken = false; // After the first pass, this should be false\n } // end for loop\n\n // Check to see if we finished up the format string...\n // Skip past all remaining letters or digits\n while (formatTokenizer.isLetterOrDigitAhead())\n {\n formatTokenizer.nextToken();\n }\n\n if (lastSepString != null)\n formattedNumber.append(lastSepString);\n\n while (formatTokenizer.hasMoreTokens())\n {\n formatToken = formatTokenizer.nextToken();\n\n formattedNumber.append(formatToken);\n }\n\n numStr = formattedNumber.toString();\n }\n finally\n {\n StringBufferPool.free(formattedNumber);\n }\n\n return numStr;\n }",
"public String nextAvalibleID()\r\n\t{\r\n\t\t//creates a blank string as all Id's have to be 3 digits and if it was an itger it would remove the leading 0's\r\n\t\tString id = \"\";\r\n\t\t//If the pointer is 0 then the id needs to be 001\r\n\t\tif(nextPatientLocation == 0)\r\n\t\t{\r\n\t\t\tid = \"001\";\r\n\t\t}\r\n\t\t//otherwise it is the existing length + howver many 0's needed to make it 3 digits + the pointer data + 1 to make the first one not overlap any leaing id's\r\n\t\telse if(nextPatientLocation < 10)\r\n\t\t{\r\n\t\t\tid = \"00\"+(nextPatientLocation+1);\r\n\t\t}\r\n\t\telse if(nextPatientLocation < 100)\r\n\t\t{\r\n\t\t\tid = \"0\"+(nextPatientLocation+1);\r\n\t\t}\r\n\t\telse if(nextPatientLocation < 999)\r\n\t\t{\r\n\t\t\tid = \"\"+(nextPatientLocation+1);\r\n\t\t}\r\n\t\treturn id;//Id is returned\r\n\t}",
"public static String cardsToString(List<Integer> cards) {\n if (cards.size() == 0) {\n return \"\";\n }\n \n StringBuilder out = new StringBuilder();\n out.append(toSymbol(cards.get(0)));\n for (int i = 1; i < cards.size(); i++) {\n out.append(\",\" + toSymbol(cards.get(i)));\n }\n \n return out.toString();\n }",
"public String fieldIdToString() {\r\n\t\treturn new String(String.format(\"%02d\", getID()));\r\n\t}",
"public String idToString() {\r\n StringBuffer buffer = new StringBuffer();\r\n buffer.append(\"IQ id(\");\r\n buffer.append(importQueueId);\r\n buffer.append(\").\");\r\n return buffer.toString();\r\n }",
"private static String arrayToString(int[] array) {\n\n String arrayOutput = \"\";\n\n // seperate the elements of the array and add each to the outputstring\n for (int position = 0; position < array.length; position++) {\n\n arrayOutput += array[position] + \", \";\n }\n\n // trim the outputstring of the last seperation char\n arrayOutput = arrayOutput.substring(0, (arrayOutput.length() - 1));\n\n // output the string of the integer array\n return arrayOutput;\n }",
"String[] _truncatable_ids();",
"public String formatPrimaryKey()\n {\n StringBuilder sb = new StringBuilder();\n AcFormatter f = new AcFormatter();\n sb.append(f.formatAny(getId()));\n return sb.toString();\n }",
"public String formatPrimaryKey()\n {\n StringBuilder sb = new StringBuilder();\n AcFormatter f = new AcFormatter();\n sb.append(f.formatAny(getId()));\n return sb.toString();\n }",
"public String formatPrimaryKey()\n {\n StringBuilder sb = new StringBuilder();\n AcFormatter f = new AcFormatter();\n sb.append(f.formatAny(getId()));\n return sb.toString();\n }",
"public String formatPrimaryKey()\n {\n StringBuilder sb = new StringBuilder();\n AcFormatter f = new AcFormatter();\n sb.append(f.formatAny(getId()));\n return sb.toString();\n }",
"public String formatPrimaryKey()\n {\n StringBuilder sb = new StringBuilder();\n AcFormatter f = new AcFormatter();\n sb.append(f.formatAny(getId()));\n return sb.toString();\n }",
"public static String toString(int[] theArray) {\n String str = \"{\";\n\n for (int i = 0; i < theArray.length; i++) {\n str+=theArray[i];\n //adds a comma after every number except the last one\n if(i+1 < theArray.length) {\n str += \",\";\n }\n }\n str += \"}\";\n return str;\n }",
"@Override\n\tpublic void printCode(StringBuilder builder, int indentation) {\n\t\tfor(String id: idList){\n\t\t\tbuilder.append(id.substring(\"ID[\".length(), id.length()-1));\n\t\t\tbuilder.append(\",\");\n\t\t}\n\t\tbuilder.deleteCharAt(builder.length() -1);//delete last comma\n\t\t\n\t}",
"private String joinNameList(List<String> names) {\n String bldr;\n\n if ( names != null ) {\n bldr = uniquifyNames(names)\n .stream()\n .collect(Collectors.joining(\"','\"));\n }\n else {\n throw new IllegalArgumentException( \"Null name list not allowed.\" );\n }\n\n return bldr;\n }",
"public String addStrings(String num1, String num2) {\n int prev = 0, i = num1.length() - 1, j = num2.length() - 1;\n StringBuilder res = new StringBuilder();\n\n while (i >= 0 || j >= 0) {\n int cur = prev;\n if (i >= 0) cur += num1.charAt(i--) - '0';\n if (j >= 0) cur += num2.charAt(j--) - '0';\n prev = cur / 10;\n cur %= 10;\n res.append(cur);\n }\n if (prev != 0) res.append(prev);\n return res.reverse().toString();\n }",
"static List<String> packNumbers(List<Integer> arr) {\n List<String> result = new ArrayList<>();\n for (int i = 0; i < arr.size(); i++) {\n Integer item = arr.get(i);\n\n int numSibling = 1;\n for (int j = i+1; j < arr.size(); j++) {\n Integer nextItem = arr.get(j);\n if (item.equals(nextItem)) {\n numSibling++;\n i++;\n } else {\n break;\n }\n }\n\n if (numSibling == 1) {\n result.add(String.valueOf(item));\n } else {\n result.add(item + \":\" + numSibling);\n }\n }\n return result;\n }",
"private static ArrayList<String> makeListOfStrings(ArrayList<Integer> listOfInts) {\n ArrayList<String> listOfString = new ArrayList<>();\n for (int i = 0; i < listOfInts.size(); i++) {\n listOfString.add(String.valueOf(listOfInts.get(i)));\n }\n\n return listOfString;\n }",
"static String assigneeListAsString(String[] p_userIds)\n {\n StringBuilder users = new StringBuilder();\n if (p_userIds != null && p_userIds.length > 0)\n {\n users.append(p_userIds[0]);\n for (int i = 1; i < p_userIds.length; i++)\n {\n users.append(\",\");\n users.append(p_userIds[i]);\n }\n }\n return users.toString();\n }",
"public static String formatWhole(int x) {\n return String.format(\"%,d\", x);\n }",
"public String encode(List<String> strs) {\n StringBuilder b = new StringBuilder();\n for (String s : strs) {\n b.append(s.length()).append(\"#\").append(s);\n }\n return b.toString();\n }",
"public static String toHexadecimal(final long... numbers) {\n\t\treturn new String(toHexadecimalChars(toBytes(numbers)));\n\t}",
"public String join() {\n String result = \"\";\n\n for(int i = 0; i < list.size(); i++) {\n result += list.get(i);\n if (i < list.size() - 1) {\n result += \", \";\n }\n }\n\n return result;\n }",
"public String generatePlayerID() {\n List<Player> players = getAllOrdered();\n int idNum;\n \n if (players == null || players.isEmpty())\n idNum = 0;\n else {\n String idStr = players.get(players.size() - 1).getPlayerID();\n idNum = Integer.parseInt(idStr.substring(2, idStr.length()));\n }\n \n String playerID;\n int newIdNum = idNum + 1;\n if (newIdNum <= 9)\n playerID = \"P_000\" + newIdNum;\n else if (newIdNum <= 99) \n playerID = \"P_00\" + newIdNum;\n else if (newIdNum <= 999)\n playerID = \"P_0\" + newIdNum;\n else \n playerID = \"P_\" + newIdNum;\n \n return playerID;\n }",
"private static String normalizeID(String id) {\r\n\t\tint hashcode = id.hashCode();\r\n\t\tboolean positive = hashcode >= 0;\r\n\t\tlong longcode = positive ? (long) hashcode : -(long) hashcode;\r\n\t\tStringBuffer hexstring = new StringBuffer(Long.toHexString(longcode));\r\n\t\twhile (hexstring.length() < 8) {\r\n\t\t\thexstring.insert(0, '0');\r\n\t\t}\r\n\t\tif (positive) {\r\n\t\t\thexstring.insert(0, '0');\r\n\t\t} else {\r\n\t\t\thexstring.insert(0, '1');\r\n\t\t}\r\n\t\treturn hexstring.toString();\r\n\t}",
"public final static String toString(final int id) {\n\t\tfinal StringBuffer result = new StringBuffer(4);\n\n\t\treturn toString(id, result);\n\t}",
"public String convert(int num) {\n if (num == 0)\n return ZERO_STRINGS;\n\n long tmpNum = num;\n StringBuilder buffer = new StringBuilder();\n if (tmpNum < 0) { // Negative number\n tmpNum *= -1;\n buffer.append(\"minus \");\n }\n\n for (int i : NUMERIC_INDEXES) {\n long pow = (int)Math.pow(10, i);\n if (tmpNum >= pow) {\n long numberAtIndex = tmpNum/pow; // The number at position 3\n tmpNum -= numberAtIndex*pow;\n buffer.append(convert((int)numberAtIndex)).append(\" \");\n buffer.append(NUMERIC_STRINGS.get(pow)).append(\" \");\n }\n }\n if (tmpNum >= 20) { // second number in the integer\n long numberAtIndex = ((tmpNum % 100)/10)*10; // The number at position 2\n tmpNum -= numberAtIndex;\n buffer.append(NUMERIC_STRINGS.get(numberAtIndex)).append(\" \");\n }\n if (NUMERIC_STRINGS.containsKey(tmpNum))\n buffer.append(NUMERIC_STRINGS.get(tmpNum));\n return buffer.toString().trim();\n }",
"private static String str(long i) {\n return String.valueOf(i);\n }",
"private static String str(long i) {\n return String.valueOf(i);\n }",
"protected String convertModelOptionsToCommaDelimStr(List<ModelOption> modelOptions) {\n StringBuilder sb = new StringBuilder();\n int cnt = 0;\n for (ModelOption modelOption : modelOptions) {\n if (cnt > 0) {\n sb.append(\",\");\n }\n sb.append(modelOption.getModelId() + \"\");\n cnt++;\n }\n return sb.toString();\n }",
"public String toString(){\n\t\treturn \"\"+getId();\n\t}",
"public String getString_entries_id() { \n char carr[] = new char[Math.min(net.tinyos.message.Message.MAX_CONVERTED_STRING_LENGTH,11)];\n int i;\n for (i = 0; i < carr.length; i++) {\n if ((char)getElement_entries_id(i) == (char)0) break;\n carr[i] = (char)getElement_entries_id(i);\n }\n return new String(carr,0,i);\n }",
"public static String listArray(int num[]) {\n String out = \"{\"; //prints out { for beginingg output of an array output\n for (int j = 0; j < num.length; j++) { //loops through array \n if (j > 0) { //if the indice is greater than 0, print a comma to seperate the array elements neatly\n out += \", \";\n }\n out += num[j]; //assigns the value of the array at num[j] to out\n }\n out += \"} \"; //ending part of 'out' String\n return out; //return out string \n }",
"int toIdentifier() {\n return 1000 * y + x;\n }",
"public static String listArray(int num[]) {\n String out = \"{\";\n for (int j = 0; j < num.length; j++) {\n if (j > 0) {\n out += \", \";\n }\n out += num[j];\n }\n out += \"} \";\n return out;\n }",
"public static String arrayAsString(int array[]) {\n\tString ret = \"\";\n\tfor(int i = 0; i < array.length; i++) {\n\t if(i == array.length-1) {\n\t\tret += array[i];\n\t } else {\n\t\tret += array[i] + \" \";\n\t }\n\t}\n\treturn ret;\n }",
"public static String joinList(List<String> list) {\r\n //could use String.join or Stream but I found this approach to consistantly be 150-500ns faster\r\n StringBuilder sb = new StringBuilder(list.size());\r\n for (int z = 0; z < list.size() - 1; z++) {\r\n sb.append(list.get(z));\r\n sb.append(',').append(' ');\r\n }\r\n sb.append(list.get(list.size() - 1));\r\n return sb.toString();\r\n }",
"private String toImmediate(int val) {\n\t\tString field = \"\";\n\n\t\tfor (int i = 0; i < 15; i++) {\n\t\t\tfield = (val % 2) + field;\n\t\t\tval /= 2;\n\t\t}\n\t\treturn field;\n\t}",
"public String largestNumber(int[] nums) {\n List<String> list = new ArrayList<>();\n for (int num : nums) {\n list.add(String.valueOf(num));\n }\n /**\n * Process [3, 30] to [30, 3]\n */\n Collections.sort(list, (o1, o2) -> {\n Long x1 = Long.valueOf(o1 + o2);\n Long x2 = Long.valueOf(o2 + o1);\n if (x1 > x2) {\n return 1;\n } else if (x1 < x2) {\n return -1;\n } else {\n return 0;\n }\n });\n StringBuilder sb = new StringBuilder();\n int n = list.size();\n for (int i = n - 1; i >= 0; i--) {\n String cur = list.get(i);\n /**\n * Remove leading \"0\", such as [\"0\", \"0\", \"0\"]\n */\n if (\"0\".equals(list.get(n-1))) {\n sb.append(\"0\");\n break;\n }\n sb.append(cur);\n }\n return sb.toString();\n }",
"public String print(int[] array)\n {\n StringBuilder inputSB = new StringBuilder();\n String input;\n\n for(int i = 0; i < array.length; i++)\n {\n inputSB.append(array[i]);\n if(i != (array.length - 1))\n {\n inputSB.append(\",\");\n }\n }\n\n input = inputSB.toString();\n return input;\n }",
"List<String> toList(Iterable<UUID> ids) {\n\t\tList<String> list = new ArrayList<String>();\n\t\tfor (UUID guid : ids) {\n\t\t\tlist.add(guid.toString());\n\t\t}\n\t\treturn list;\n\t}",
"public String getConvertToId();",
"private String zxt (long inp, int length) {\n String result = Long.toString(inp);\n int dist = (length - result.length());\n for (int i = 0; i < dist; i++) {\n result = \"0\" + result;\n }\n return result;\n }",
"public String makeRange(ArrayList<T> list, String getIdMethod)\r\n throws Exception\r\n {\r\n StringBuffer sb = new StringBuffer();\r\n if (list.size()==0)\r\n return NOTFOUND;\r\n Class c = list.get(0).getClass();\r\n Class[] paramTypes = {};\r\n Method m = c.getMethod(getIdMethod, paramTypes);\r\n HashMap tmp = new HashMap();\r\n\r\n Object[] params = {};\r\n Iterator<T> iter = list.iterator();\r\n while (iter.hasNext()) {\r\n T t = iter.next();\r\n Y i = (Y) m.invoke(t, params);\r\n if (tmp.get(i)!=null)\r\n continue;\r\n if (excludes!=null && excludes.get(i)!=null)\r\n continue;\r\n if (sb.length()>0) sb.append(',');\r\n sb.append(i);\r\n tmp.put(i, i);\r\n }\r\n if (sb.length()==0)\r\n return NOTFOUND;\r\n return sb.toString();\r\n }",
"private String createNumberLine(){\n StringBuilder numberLine = new StringBuilder();\n for(int i = 0; i < this.columns; i++){\n numberLine.append(i + 1).append(\" \");\n }\n return numberLine.toString();\n }",
"public static String idToString(int id) {\n return Integer.toString(id, Character.MAX_RADIX);\n }",
"String getIdNumber();",
"public String formatPrimaryKey()\n {\n StringBuilder sb = new StringBuilder();\n AcFormatter f = new AcFormatter();\n sb.append(f.formatAny(getLegDepartureLocalTm()));\n sb.append(\", \");\n sb.append(f.formatAny(getLegArrivalLocalTm()));\n sb.append(\", \");\n sb.append(f.formatAny(getLegArrivalDayOffset()));\n sb.append(\", \");\n sb.append(f.formatAny(getLegStopCount()));\n sb.append(\", \");\n sb.append(f.formatAny(getLegEquipment()));\n return sb.toString();\n }",
"private String commaDelimited(String strs[]) {\n StringBuffer sb = new StringBuffer();\n if (strs.length > 0) {\n sb.append(Utils.encToURL(strs[0]));\n for (int i=1;i<strs.length;i++) sb.append(\",\" + Utils.encToURL(strs[i]));\n }\n return sb.toString();\n }",
"@Override\n public String toString() {\n String num = \"\";\n\n if (!isPositive) {\n // Add '-' if the number is negative\n num = num.concat(\"-\");\n }\n\n // Add all the digits in reverse order\n for (int i = number.size() - 1; i >= 0; --i) {\n num = num.concat(number.get(i).toString());\n }\n\n return num;\n }",
"public String toStringIdIncome() {\n\t\tNumberFormat currency = NumberFormat.getCurrencyInstance();\n return \"\" + id + \"\\t\\t\" + currency.format(income);\n }",
"private String createId() {\n int idLength = 5;\n String possibleChars = \"1234567890\";\n Random random = new Random();\n StringBuilder newString = new StringBuilder();\n\n for (int i = 0; i < idLength; i++) {\n int randomInt = random.nextInt(10);\n newString.append(possibleChars.charAt(randomInt));\n }\n\n return newString.toString();\n }",
"private String getOidDirectory(OID oid) {\n NumberFormat numberFormat = NumberFormat.getNumberInstance();\n numberFormat.setMaximumIntegerDigits(4);\n numberFormat.setMinimumIntegerDigits(4);\n numberFormat.setGroupingUsed(false);\n String lastFour = numberFormat.format(Math.abs(oid.getValue()) % 10000);\n return lastFour.substring(0, 2) + \"/\" + lastFour.substring(2);\n }",
"public static final String generateOrderId(int idNumber) {\n return String.format(\"WM%04d\", idNumber);\n }",
"public String getStringRecord() {\n NumberFormat nf = new DecimalFormat(\"0000.00\");\n String delimiter = \",\";\n\n return String.format(\"%05d\", orderLineId) + delimiter + String.format(\"%05d\", orderId) + delimiter\n + String.format(\"%05d\", userId) + delimiter + String.format(\"%05d\", productId) + delimiter\n + String.format(\"%05d\", orderLineQuantity) + delimiter + nf.format(salesPrice)\n + System.getProperty(\"line.separator\");\n }",
"private String intString(int n){\r\n String s=\"\";\r\n if(n>9){\r\n s+=(char)(Math.min(n/10,9)+'0');\r\n }\r\n s+=(char)(n%10+'0');\r\n return s; \r\n }",
"public static String unmakeID(int id) {\r\n byte[] bytes = new byte[] {\r\n (byte) id,\r\n (byte) (id >>> 8),\r\n (byte) (id >>> 16),\r\n (byte) (id >>> 24)\r\n };\r\n return new String(bytes);\r\n }"
] | [
"0.65278375",
"0.62072724",
"0.614637",
"0.6070944",
"0.5995418",
"0.5872399",
"0.5855867",
"0.57278067",
"0.55085474",
"0.550257",
"0.54820937",
"0.5432685",
"0.5429829",
"0.54091763",
"0.53434265",
"0.5321877",
"0.5309889",
"0.5309096",
"0.5289339",
"0.528021",
"0.5272621",
"0.52579737",
"0.5250242",
"0.52400357",
"0.5232832",
"0.5232367",
"0.52158386",
"0.52125156",
"0.52054715",
"0.5180709",
"0.5179472",
"0.5150129",
"0.5138559",
"0.51314455",
"0.5123401",
"0.5096278",
"0.49982017",
"0.49824703",
"0.49800128",
"0.4974799",
"0.49610487",
"0.49555555",
"0.49517664",
"0.4945694",
"0.4941716",
"0.49407628",
"0.49343964",
"0.4932117",
"0.49320847",
"0.4931409",
"0.49182257",
"0.49182257",
"0.49182257",
"0.49182257",
"0.49182257",
"0.49169418",
"0.49134254",
"0.4907067",
"0.48738894",
"0.4853749",
"0.4840194",
"0.4839845",
"0.48369673",
"0.4829503",
"0.4821591",
"0.4819413",
"0.48093995",
"0.47952047",
"0.4788445",
"0.47717804",
"0.4771652",
"0.4771652",
"0.47672933",
"0.4763833",
"0.47629806",
"0.4761794",
"0.4759789",
"0.4757474",
"0.47535068",
"0.4752486",
"0.4750457",
"0.47501573",
"0.47444394",
"0.472704",
"0.4724263",
"0.4721681",
"0.4717613",
"0.47172427",
"0.47069317",
"0.46916896",
"0.4689831",
"0.46784955",
"0.46759942",
"0.4672422",
"0.4669648",
"0.46566015",
"0.46495637",
"0.46477208",
"0.46456394",
"0.46385562"
] | 0.61997795 | 2 |
This could be NaN if out of bound. | @Override
public double get()
{
return unbounded.get();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tprotected double getUpperBound() {\n\t\treturn 0;\n\t}",
"@Override\n\tprotected double getLowerBound() {\n\t\treturn 0;\n\t}",
"public int getBound();",
"public InfinitNumber getBound() {\n\t\treturn mBound;\n\t}",
"public double getDomainMin1() throws IllegalStateException {\n\treturn -Double.MAX_VALUE;\n }",
"@Override\n public double getSlope() {\n return Double.NaN;\n }",
"protected void mapValueToWithinBounds() {\n if (getAllele() != null) {\n \tFloat d_value = ( (Float) getAllele());\n if (d_value.isInfinite()) {\n // Here we have to break to avoid a stack overflow.\n // ------------------------------------------------\n return;\n }\n // If the value exceeds either the upper or lower bounds, then\n // map the value to within the legal range. To do this, we basically\n // calculate the distance between the value and the float min,\n // then multiply it with a random number and then care that the lower\n // boundary is added.\n // ------------------------------------------------------------------\n if (d_value.floatValue() > m_upperBound ||\n d_value.floatValue() < m_lowerBound) {\n RandomGenerator rn;\n if (getConfiguration() != null) {\n rn = getConfiguration().getRandomGenerator();\n }\n else {\n rn = new StockRandomGenerator();\n }\n setAllele(new Float((rn.nextFloat()\n * ((m_upperBound - m_lowerBound))) + m_lowerBound));\n }\n }\n }",
"@Override\n\tpublic double getEntry(int i, int j) throws OutOfBoundsException {\n\t\treturn 0;\n\t}",
"@Override\n\tpublic boolean outOfBounds() {\n\t\treturn this.getY() < 0;\n\t}",
"public double getDomainMin2() throws IllegalStateException {\n\treturn -Double.MAX_VALUE;\n }",
"public V getUpperBound();",
"public int getMinimumValue() {\n/* 276 */ return -this.s.getMaximumValue();\n/* */ }",
"@Override\n\tprotected void setUpperBound() {\n\t\t\n\t}",
"public int getUpperBound() {\r\n return upperBound;\r\n }",
"public abstract double[] getUpperBound();",
"public double getDomainMax1() throws IllegalStateException {\n\treturn Double.MAX_VALUE;\n }",
"public int getLowerBound ();",
"public void outOfBoundsError() {\r\n\t\tSystem.out.println(\"\\nYou moved out of bounds, choose again.\");\r\n\t}",
"public double minValue() {\n return 0;\r\n }",
"public float getUpperBound()\n {\n return fUpperBound;\n }",
"public int getLowerBound() {\r\n return lowerBound;\r\n }",
"public boolean outOfRange(){\r\n\t\t\treturn (shape.x <=0 ? true : false);\r\n\t\t}",
"public OverflowTransactionException() {\n\t\tsuper(\"High-Value transactions more than Double.POSITIVE_INFINITY are not allowed.\");\n\t}",
"private static final float enforceBounds( float f ) {\n if ( f >= 0f ) {\n if ( f <= 1f ) {\n return f;\n }\n else {\n return 1f;\n }\n }\n else {\n return 0f;\n }\n }",
"public int getUpperBound() {\n\t\treturn upperBound;\n\t}",
"private double getRangeCenter(int lowerBound, int upperBound) {\n return (lowerBound + upperBound) / 2.0;\n }",
"private double bound(int iter, Solution next) {\n return Math.exp((-1.0 * (next.getValue() - bestSol.getValue())) / denominator(iter));\n }",
"private boolean outOfBounds(long n) {\n return n < 0 || n >= getSize();\n }",
"@Override\n public double getValue() {\n return 0;\n }",
"public int getUpperBound() {\n\t\treturn this.upperBound;\n\t}",
"public double getMaximumPositionErrorInArcsec ( ) {\r\n\t\treturn 5.0;\r\n\t}",
"public double getMaximumPositionErrorInArcsec ( ) {\r\n\t\treturn 5.0;\r\n\t}",
"public BigDecimal getOutOfPosition() {\n return outOfPosition;\n }",
"private double checkBounds(double param, int i) {\n if (param < low[i]) {\n return low[i];\n } else if (param > high[i]) {\n return high[i];\n } else {\n return param;\n }\n }",
"protected double limit(double value) {\n\t\tif (value > 1.0) {\n\t\t\treturn 1.0;\n\t\t}\n\t\tif (value < -1.0) {\n\t\t\treturn -1.0;\n\t\t}\n\t\treturn value;\n\t}",
"private double applyLimitBounds(double value) {\n if(value > 1.0) {\n value = 1.0;\n }\n if(value < -1.0) {\n value = -1.0;\n }\n\n // Absolute limits:\n if(lifter.getBottomLimit() && lifter.getUpperLimit()) {\n if(value < 0) {\n value = 0; // Can't go down from the bottom;\n }\n }\n\n if((lifter.getUpperLimit() && lifter.getUpperWarning()) && lifter.getUpperSmallPieceDetector()) {\n if(value > 0) {\n value = 0; // Can't go up from the top\n }\n }\n\n // Slow speed zones\n if(lifter.getBottomWarning()) {\n if(value < -0.3) {\n value = -0.3;\n }\n }\n\n if(lifter.getUpperWarning()) {\n if(value > 0.7) {\n value = 0.7;\n }\n }\n\n printLimits();\n\n return value;\n }",
"public double getMinDoubleValue();",
"@Override\n public double getArea() {\n return 0;\n }",
"float getEmpty();",
"public abstract double[] getLowerBound();",
"@Override\r\n\tpublic double alapterulet() {\n\t\treturn 0;\r\n\t}",
"Double getMinimumValue();",
"public V getLowerBound();",
"public double getWidth() { return _width<0? -_width : _width; }",
"public double getX() { return _width<0? _x + _width : _x; }",
"public double getDomainMax2() throws IllegalStateException {\n\treturn Double.MAX_VALUE;\n }",
"protected void calcMinMax() {\n }",
"private int findCoordElementRegular(double coordValue, boolean bounded) {\n int n = orgGridAxis.getNcoords();\n if (n == 1 && bounded)\n return 0;\n\n double distance = coordValue - orgGridAxis.getCoordEdge1(0);\n double exactNumSteps = distance / orgGridAxis.getResolution();\n // int index = (int) Math.round(exactNumSteps); // ties round to +Inf\n int index = (int) exactNumSteps; // truncate down\n\n if (bounded && index < 0)\n return 0;\n if (bounded && index >= n)\n return n - 1;\n\n // check that found point is within interval\n if (index >= 0 && index < n) {\n double lower = orgGridAxis.getCoordEdge1(index);\n double upper = orgGridAxis.getCoordEdge2(index);\n if (orgGridAxis.isAscending()) {\n assert lower <= coordValue : lower + \" should be le \" + coordValue;\n assert upper >= coordValue : upper + \" should be ge \" + coordValue;\n } else {\n assert lower >= coordValue : lower + \" should be ge \" + coordValue;\n assert upper <= coordValue : upper + \" should be le \" + coordValue;\n }\n }\n\n return index;\n }",
"public boolean outOfBounds()\n {\n if((lastpowerUp.equals(\"BLUE\") || lastpowerUp.equals(\"RAINBOW\")) && powerupTimer > 0)\n {\n return false;\n }\n \n if(head.getA() < 150 || head.getA() >= 1260)\n return true;\n else if(head.getB() <150 || head.getB() >=630)\n return true;\n else \n return false;\n \n \n }",
"private double bufferHeadMaxX()\n {\n if (segmentBuffer.size() <= 0)\n return Double.NaN;\n LineSeg seg = (LineSeg) segmentBuffer.get(0);\n return seg.getMaxX();\n }",
"double getMin();",
"double getMin();",
"@Override\n\tprotected void setLowerBound() {\n\t\t\n\t}",
"public double getLimit() {return limit;}",
"public double maxValue() {\n return 1;\r\n }",
"public double upperExtent(int coord) throws IllegalArgumentException { \n double ue = measurements[coord].value();\n if ( ! Double.isNaN( measurements[coord].errorPlus() ) )\n ue += measurements[coord].errorPlus();\n\treturn ue;\n }",
"public double getMinimumDouble() {\n/* 201 */ return this.min;\n/* */ }",
"Double getMaximumValue();",
"@Override\n\tpublic double area() {\n\t\treturn 0;\n\t}",
"@Override\n\tpublic double area() {\n\t\treturn 0;\n\t}",
"private int getValue(int lowerBound, int upperBound) {\n int problemRange = upperBound - lowerBound + 1;\n\n return lowerBound + rng.nextInt(problemRange);\n }",
"public double getCurrentPercentageError() {\n\t\tdouble returnValue = 0.0;\n\t\tint currentValue = this.readSensorValue();\n\t\tint optimum = getOptimumSensorValue(currentValue);\n\t\tif (currentValue > optimum) {\n\t\t\treturnValue = (double) (currentValue - optimum)\n\t\t\t\t\t/ (double) (this.highReadInValue - optimum);\n\t\t} else if (currentValue < optimum) {\n\t\t\treturnValue = -((double) (optimum - currentValue) / (double) (optimum - this.lowReadInValue));\n\t\t}\n\t\treturn returnValue;\n\t}",
"public abstract int getMinimumValue();",
"public int getMinimumValue() {\n return -s.getMaximumValue();\n }",
"@Basic\n\t@Immutable\n\tpublic abstract double getRadiusLowerBound();",
"public int upperBound() {\n\t\tif(step > 0)\n\t\t\treturn last;\n\t\telse\n\t\t\treturn first;\n\t}",
"@Override\r\n public Double getValue() {\r\n return Math.random()*Integer.MAX_VALUE;\r\n \r\n }",
"public double getRange(){\n\n double range = fuelRemaining * fuelEconomy;\n return range;\n }",
"public abstract double getRangeSize();",
"private double clamp(double v, double min, double max) { return (v < min ? min : (v > max ? max : v)); }",
"public double min() {\n/* 305 */ Preconditions.checkState((this.count != 0L));\n/* 306 */ return this.min;\n/* */ }",
"private double limit(double num) {\n if (num > 1.0) {\n return 1.0;\n }\n if (num < 0) {\n return 0;\n }\n return num;\n }",
"public double getLeft(double min) {\n return min - this.size; \n }",
"E minVal();",
"public double getMinimumValue() { return this.minimumValue; }",
"@Override\r\n protected long getN() {\r\n boolean handleOutOfMemoryError = false;\r\n long n = 0;\r\n Grids_GridDouble g = getGrid();\r\n int nrows = g.getChunkNRows(ChunkID, handleOutOfMemoryError);\r\n int ncols = g.getChunkNCols(ChunkID, handleOutOfMemoryError);\r\n double noDataValue = g.getNoDataValue(false);\r\n for (int row = 0; row < nrows; row++) {\r\n for (int col = 0; col < ncols; col++) {\r\n double value = getCell(row, col);\r\n if (Double.isNaN(value) && Double.isFinite(value)) {\r\n if (value != noDataValue) {\r\n n++;\r\n }\r\n }\r\n }\r\n }\r\n return n;\r\n }",
"float limit(float powerValue, double currentPos, double lowerLimit, double upperLimit)\n {\n if (currentPos > upperLimit)\n {\n if (powerValue > 0)\n {\n powerValue = 0;\n }\n }\n\n if (currentPos < lowerLimit)\n {\n if (powerValue < 0)\n {\n powerValue = 0;\n }\n }\n\n return powerValue;\n }",
"private double getMarginFromBounds(int lowerBound, int upperBound) {\n return (upperBound - lowerBound) / 2.0;\n }",
"public int getMinFloor();",
"@Override\n\tpublic float area() {\n\t\treturn 0;\n\t}",
"protected double getMinDouble() {\r\n boolean handleOutOfMemoryError = false;\r\n double min = Double.POSITIVE_INFINITY;\r\n Grids_GridDouble g = getGrid();\r\n int nrows = g.getChunkNRows(ChunkID, handleOutOfMemoryError);\r\n int ncols = g.getChunkNCols(ChunkID, handleOutOfMemoryError);\r\n double noDataValue = g.getNoDataValue(false);\r\n double value;\r\n int row;\r\n int col;\r\n for (row = 0; row < nrows; row++) {\r\n for (col = 0; col < ncols; col++) {\r\n value = getCell(\r\n row,\r\n col);\r\n if (value != noDataValue) {\r\n min = Math.min(\r\n min,\r\n value);\r\n }\r\n }\r\n }\r\n return min;\r\n }",
"public double lowerExtent(int coord) throws IllegalArgumentException { \n double le = measurements[coord].value();\n if ( ! Double.isNaN( measurements[coord].errorMinus() ) )\n le -= measurements[coord].errorMinus();\n\treturn le;\n }",
"public double getPosReal() {\n\t return (real < 0) ? -real : real;\n\t}",
"public BigDecimal getNotOutOfPosition() {\n return notOutOfPosition;\n }",
"double getLeft(double min);",
"@Basic\n\t@Raw\n\t@Immutable\n\tpublic static double getVelocityUpperBound() {\n\t\treturn VELOCITYUPPERBOUND;\n\t}",
"public double getMinValue() {\r\n\t\treturn minValue;\r\n\t}",
"public int GetMinVal();",
"public static double limitRange( double val )\n {\n if( val > 1.0 )//If number is greater than 1.0, it becomes 1.0.\n {\n val = 1.0; \n }\n else if( val < -1.0 )//Else if number is less than -1.0, it becomes -1.0.\n {\n val = -1.0;\n }\n \n //Returns the limited number\n return val;\n }",
"public abstract float getMaxValue();",
"public Number getMinimumAccessibleValue() {\n return Integer.valueOf(0);\n }",
"protected int getBoundedValue(int aNumber) {\r\n if (aNumber < getMin()) {\r\n aNumber = getMin();\r\n } else if (aNumber > getMax()) {\r\n aNumber = getMax();\r\n }\r\n return aNumber;\r\n }",
"@Test\n public void test_lowerBound() {\n assertThat(AbstractBoundCurveInterpolator.lowerBoundIndex(0.0d, new double[] {1, 2, 3})).isEqualTo(0);\n assertThat(AbstractBoundCurveInterpolator.lowerBoundIndex(0.5d, new double[] {1, 2, 3})).isEqualTo(0);\n assertThat(AbstractBoundCurveInterpolator.lowerBoundIndex(0.9999d, new double[] {1, 2, 3})).isEqualTo(0);\n // good input\n assertThat(AbstractBoundCurveInterpolator.lowerBoundIndex(1.0d, new double[] {1, 2, 3})).isEqualTo(0);\n assertThat(AbstractBoundCurveInterpolator.lowerBoundIndex(1.0001d, new double[] {1, 2, 3})).isEqualTo(0);\n assertThat(AbstractBoundCurveInterpolator.lowerBoundIndex(1.9999d, new double[] {1, 2, 3})).isEqualTo(0);\n assertThat(AbstractBoundCurveInterpolator.lowerBoundIndex(2.0d, new double[] {1, 2, 3})).isEqualTo(1);\n assertThat(AbstractBoundCurveInterpolator.lowerBoundIndex(2.0001d, new double[] {1, 2, 3})).isEqualTo(1);\n assertThat(AbstractBoundCurveInterpolator.lowerBoundIndex(2.9999d, new double[] {1, 2, 3})).isEqualTo(1);\n assertThat(AbstractBoundCurveInterpolator.lowerBoundIndex(3.0d, new double[] {1, 2, 3})).isEqualTo(2);\n // bad input, but still produces good output\n assertThat(AbstractBoundCurveInterpolator.lowerBoundIndex(3.0001d, new double[] {1, 2, 3})).isEqualTo(2);\n // check zero\n assertThat(AbstractBoundCurveInterpolator.lowerBoundIndex(-1.0d, new double[] {-1, 0, 1})).isEqualTo(0);\n assertThat(AbstractBoundCurveInterpolator.lowerBoundIndex(-0.9999d, new double[] {-1, 0, 1})).isEqualTo(0);\n assertThat(AbstractBoundCurveInterpolator.lowerBoundIndex(-0.0001d, new double[] {-1, 0, 1})).isEqualTo(0);\n assertThat(AbstractBoundCurveInterpolator.lowerBoundIndex(-0.0d, new double[] {-1, 0, 1})).isEqualTo(1);\n assertThat(AbstractBoundCurveInterpolator.lowerBoundIndex(0.0d, new double[] {-1, 0, 1})).isEqualTo(1);\n assertThat(AbstractBoundCurveInterpolator.lowerBoundIndex(1.0d, new double[] {-1, 0, 1})).isEqualTo(2);\n assertThat(AbstractBoundCurveInterpolator.lowerBoundIndex(1.5d, new double[] {-1, 0, 1})).isEqualTo(2);\n }",
"protected static double limit(double num) {\r\n\t\tif (num > 1.0) {\r\n\t\t\treturn 1.0;\r\n\t\t}\r\n\t\tif (num < -1.0) {\r\n\t\t\treturn -1.0;\r\n\t\t}\r\n\t\treturn num;\r\n\t}",
"double getRight(double max);",
"private boolean isInBound(int current, int bound){\n return (current >= 0 && current < bound);\n }",
"private double getMin() {\n return min;\n }",
"@Override\r\n public Integer minLowerBound() {\r\n return this.getImpl().minLowerBound();\r\n }",
"public int getIntPosition(double value) {\n if (Double.isNaN(value)) {\n return size - nanW/2;\n } else if (Double.isInfinite(value)) {\n if (value > 0.) \n return min < max ? size - nanW - posW / 2 : posW / 2;\n else\n return min < max ? negW / 2 : size - nanW - negW / 2;\n }\n return (int)getPosition(value);\n }",
"public void boundsCheck(BigDecimal d) throws InvalidDatatypeValueException {\n boolean minOk = false;\n boolean maxOk = false;\n String upperBound = (fMaxExclusive != null )? ( fMaxExclusive.toString() ):\n ( ( fMaxInclusive != null )?fMaxInclusive.toString():\"\");\n \n String lowerBound = (fMinExclusive != null )? ( fMinExclusive.toString() ):\n (( fMinInclusive != null )?fMinInclusive.toString():\"\"); \n String lowerBoundIndicator = \"\";\n String upperBoundIndicator = \"\";\n \n \n if ( isMaxInclusiveDefined){\n maxOk = (d.compareTo(fMaxInclusive) <= 0);\n upperBound = fMaxInclusive.toString();\n if ( upperBound != null ){\n upperBoundIndicator = \"<=\"; \n } else {\n upperBound=\"\";\n }\n } else if ( isMaxExclusiveDefined){\n maxOk = (d.compareTo(fMaxExclusive) < 0);\n upperBound = fMaxExclusive.toString();\n if ( upperBound != null ){\n upperBoundIndicator = \"<\";\n } else {\n upperBound = \"\";\n }\n } else{\n maxOk = (!isMaxInclusiveDefined && ! isMaxExclusiveDefined);\n }\n \n \n if ( isMinInclusiveDefined){\n minOk = (d.compareTo(fMinInclusive) >= 0);\n lowerBound = fMinInclusive.toString();\n if( lowerBound != null ){\n lowerBoundIndicator = \"<=\";\n }else {\n lowerBound = \"\";\n }\n } else if ( isMinExclusiveDefined){\n minOk = (d.compareTo(fMinExclusive) > 0);\n lowerBound = fMinExclusive.toString();\n if( lowerBound != null ){\n lowerBoundIndicator = \"<\";\n } else {\n lowerBound = \"\";\n }\n } else{\n minOk = (!isMinInclusiveDefined && !isMinExclusiveDefined);\n }\n \n if (!(minOk && maxOk))\n throw new InvalidDatatypeValueException (\n getErrorString(DatatypeMessageProvider.OutOfBounds,\n DatatypeMessageProvider.MSG_NONE,\n new Object [] { d.toString() , lowerBound ,\n upperBound, lowerBoundIndicator, upperBoundIndicator}));\n \n }"
] | [
"0.72182053",
"0.6690167",
"0.6527403",
"0.64963245",
"0.6387707",
"0.62724173",
"0.62264377",
"0.6220536",
"0.62075293",
"0.61888695",
"0.6097815",
"0.60881215",
"0.6077297",
"0.60583645",
"0.60396725",
"0.6022444",
"0.6000327",
"0.59775156",
"0.59739834",
"0.597043",
"0.59621227",
"0.5945606",
"0.5834502",
"0.58161545",
"0.57738435",
"0.5755687",
"0.5750101",
"0.5749103",
"0.5739608",
"0.57298553",
"0.57114196",
"0.57114196",
"0.5699049",
"0.5697118",
"0.565896",
"0.5648246",
"0.56286454",
"0.56274486",
"0.5626103",
"0.5611062",
"0.56069267",
"0.55821025",
"0.55817",
"0.55797833",
"0.55788743",
"0.5576595",
"0.5575504",
"0.5574183",
"0.5572831",
"0.55693954",
"0.556898",
"0.556898",
"0.55662",
"0.5552945",
"0.55505544",
"0.55491066",
"0.5530133",
"0.5524317",
"0.55190194",
"0.55190194",
"0.5516419",
"0.5512851",
"0.5498974",
"0.54871887",
"0.54820895",
"0.54808974",
"0.54808646",
"0.54755825",
"0.5473286",
"0.5471848",
"0.546973",
"0.5457371",
"0.54535675",
"0.5451637",
"0.5446359",
"0.5441617",
"0.54374933",
"0.543659",
"0.54353124",
"0.54345036",
"0.54329884",
"0.5431273",
"0.54291713",
"0.5426858",
"0.5425926",
"0.542288",
"0.5413534",
"0.54128164",
"0.5411866",
"0.5410595",
"0.54075795",
"0.540509",
"0.5404905",
"0.5403813",
"0.540197",
"0.5396845",
"0.5394223",
"0.5381266",
"0.53793466",
"0.53762805"
] | 0.5767495 | 25 |
Creates a new AbstractSocketConnection. | public AbstractSocketTransport(final Server server,
final MongoClientConfiguration config,
final StringDecoderCache decoderCache,
final TransportResponseListener responseListener)
throws SocketException, IOException {
myServer = server;
myResponseListener = responseListener;
myOpen = new AtomicBoolean(false);
myShutdown = new AtomicBoolean(false);
myLog = LogFactory.getLog(getClass());
mySocket = openSocket(server, config);
updateSocketWithOptions(config);
myOpen.set(true);
myInput = mySocket.getInputStream();
myBsonIn = new BsonInputStream(myInput, decoderCache);
// Careful with the size of the buffer here. Seems Java likes to call
// madvise(..., MADV_DONTNEED) for buffers over a certain size.
// Net effect is that the performance of the system goes down the
// drain. Some numbers using the
// UnixDomainSocketAccepatanceTest.testMultiFetchiterator
// 1M ==> More than a minute...
// 512K ==> 24 seconds
// 256K ==> 16.9 sec.
// 128K ==> 17 sec.
// 64K ==> 17 sec.
// 32K ==> 16.5 sec.
// Based on those numbers we set the buffer to 32K as larger does not
// improve performance.
myOutput = new BufferedOutputStream(mySocket.getOutputStream(),
32 * 1024);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected abstract ConnectionBase createNewConnection(Socket socket);",
"public Socket createSocket()\n/* */ {\n/* 82 */ return new Socket();\n/* */ }",
"public Socket createSocket() {\n try {\n // Create socket\n server = new Socket(\"127.0.0.1\", 8520);\n } catch (IOException ioe) {\n System.out.println(\"IOException: \" + ioe.getMessage());\n }\n return server;\n }",
"private Socket newSocket() throws IOException {\n try {\n InetAddress hostAddress = InetAddress.getByName(publicAddress);\n return new Socket(hostAddress, AgentRemoteService.PORT);\n } catch (IOException e) {\n throw new IOException(\"Couldn't connect to publicAddress: \" + publicAddress + \":\" + AgentRemoteService.PORT, e);\n }\n }",
"public AbstractConnection() {\n }",
"public abstract void createConnection(Socket socket, String userName);",
"public EnvironmentSocket createNewSocket(String host, int port) throws IOException {\n Socket socket = new Socket(host, port);\n return wrapperSocket(socket);\n }",
"public Socket createSocket(InetAddress host, int port) throws IOException {\n return new Socket(host, port);\n }",
"Connection createConnection();",
"public ServerSocket createSocket (int port)\n throws IOException, KeyStoreException, NoSuchAlgorithmException,\n CertificateException, UnrecoverableKeyException,\n KeyManagementException;",
"@Override\n\tprotected SocketConnection createConnection(SocketChannel socketChannel) {\n\t\tassert eventloop.inEventloopThread();\n\n\t\tHttpServerConnection connection = new HttpServerConnection(eventloop, socketChannel, servlet, connectionsList, headerChars);\n\t\tif (connectionsList.isEmpty())\n\t\t\tscheduleExpiredConnectionCheck();\n\t\treturn connection;\n\t}",
"public int createSocket()\n\t{\n\t\t\n\t}",
"@Override\n public Socket createSocket(final String host, final int port, \n final InetAddress localHost, final int localPort)\n throws IOException, UnknownHostException {\n return createSocket(host, port);\n }",
"@Override\n public Socket createSocket(final InetAddress host, final int port, \n final InetAddress localHost, final int localPort) \n throws IOException {\n return createSocket(host, port);\n }",
"public PooledConnection newInstance() {\n return new PooledConnection(pool);\n }",
"@Override\r\n\tpublic Socket createSocket(InetAddress host, int port) throws IOException {\n\t\treturn null;\r\n\t}",
"public Socket createSocket( Socket socket, String host, int port, boolean autoClose) throws IOException, UnknownHostException {\n\t return getSSLContext().getSocketFactory().createSocket( socket, host, port, autoClose );\n }",
"protected Connection newConnection (InetAddress ip, int port){\n\t\t\treturn new ChatConnection(ip, port);\r\n\t\t}",
"public SocketConnection(String description, Socket socket) throws IOException {\n\t\tif (DEBUG) System.err.println(\"##### \" + getClass().getName() + \" - instantiated \" + description + \" \" + socket);\n\n\t\t_description = description\n\t\t\t+ \",localHost=\" + socket.getLocalAddress().getHostName()\n\t\t\t+ \",localPort=\" + socket.getLocalPort()\n\t\t\t+ \",peerHost=\" + socket.getInetAddress().getHostName()\n\t\t\t+ \",peerPort=\" + socket.getPort();\n\n\t\t_socket = socket;\n\t\t_inputStream = new BufferedInputStream(socket.getInputStream());\n\t\t_outputStream = new BufferedOutputStream(socket.getOutputStream());\n\n\t\t_listeners = new Vector();\n\t\t_firstRead = true;\n\t}",
"public Socket createSocket( final InetAddress address, final int port )\n throws IOException\n {\n return new Socket( address, port );\n }",
"public TCPCanSocket() throws IOException\n \t{\n \t\t// this(new ServerSocket(DEFAULT_PORT).accept());\n \t\tthis(new ServerSocket(DEFAULT_PORT, 100).accept());\n \t\tSystem.out.println( \"constructor: open server socket\" );\n \t}",
"public Socket createSocket(String host, int port) throws IOException, UnknownHostException {\n return getSSLContext().getSocketFactory().createSocket( host, port );\n }",
"private void createSocket() throws Exception {\n try {\n socket = new Socket();\n socket.setTcpNoDelay(true);\n } catch (SocketException e) {\n throw new Exception();\n }\n }",
"@Override\r\n\tpublic Socket createSocket(String host, int port, InetAddress localHost,\r\n\t\t\tint localPort) throws IOException, UnknownHostException {\n\t\treturn null;\r\n\t}",
"@SuppressWarnings(\"squid:S2095\")\n private TTransport createTransport(InetSocketAddress serverAddress)\n throws IOException {\n String hostName = serverAddress.getHostName();\n int port = serverAddress.getPort();\n TTransport socket = new TSocket(hostName, port, connectionTimeout);\n\n if (!isKerberosEnabled) {\n LOGGER.debug(\"created unprotected connection to {}:{} \", hostName, port);\n return socket;\n }\n\n String principal = SecurityUtil.getServerPrincipal(serverPrincipal, serverAddress.getAddress());\n String[] serverPrincipalParts = SaslRpcServer.splitKerberosName(principal);\n if (serverPrincipalParts.length != 3) {\n throw new IOException(\"Kerberos principal should have 3 parts: \" + principal);\n }\n\n UgiSaslClientTransport connection =\n new UgiSaslClientTransport(SaslRpcServer.AuthMethod.KERBEROS.getMechanismName(),\n serverPrincipalParts[0], serverPrincipalParts[1],\n socket, useUgi);\n\n LOGGER.debug(\"creating secured connection to {}:{} \", hostName, port);\n return connection;\n }",
"public SocketChannelTarantoolConnection() {\n\t\tthis(\"localhost\", 33013);\n\t}",
"public WSocket() throws SocketException, UnknownHostException {\r\n\t\tthis.socket = new DatagramSocket();\r\n\t\tthis.port = socket.getLocalPort();\r\n\t\tthis.addr = InetAddress.getByName(\"localhost\");\r\n\t}",
"public SqlConnection createConnection() {\n return new SqlConnection(this, VM.getOrThrow());\n }",
"Socket connect() throws CommunicationException {\r\n\t\treturn connect(null);\r\n\t}",
"private Socket createClient()\n\t{\n\t\tSocket client = null;\n\t\ttry {\n\t\t\tclient = this.server.accept();\n\t\t}\n\t\tcatch(IOException e)\n\t\t{\n\t\t\tinsertLogEntry(e.getMessage(), e.getStackTrace().toString());\n\t\t}\n\t\t\n\t\treturn client;\n\t}",
"public Connection(String host, int port) throws UnknownHostException, IOException {\n socket = new Socket(host, port);\n }",
"public Socket createSocket(String host, int port) throws IOException {\n\n SSLSocketFactory factory =\n (SSLSocketFactory)SSLSocketFactory.getDefault();\n SSLSocket socket = (SSLSocket)factory.createSocket(host, port);\n\n return socket;\n }",
"public SocketWrapper(final Socket socket) throws IOException {\n this.host = socket.getInetAddress().getHostName();\n this.port = socket.getPort();\n this.socket = socket;\n initStreams();\n opened = true;\n }",
"BlockingConnection(Socket socket, CapabilitiesVMFactory capabilitiesVMFactory,\n Acceptor acceptor, MessagesSupportedVendorMessage supportedVendorMessage,\n MessageFactory messageFactory, NetworkManager networkManager,\n NetworkInstanceUtils networkInstanceUtils) {\n super(socket, capabilitiesVMFactory, supportedVendorMessage, networkManager, acceptor,\n networkInstanceUtils);\n this.socketsManager = null;\n this.messageFactory = messageFactory;\n }",
"public GameSocket() throws SocketException {\r\n\t\tsocket = new DatagramSocket(Main.localAddress);\r\n\t\tbufSize = socket.getReceiveBufferSize();\r\n\t\tMain.logger.info(\"Starting GameSocket at port \" + socket.getLocalPort() + \" ...\");\r\n\t}",
"public Socket createSocket( final InetAddress address,\n final int port,\n final InetAddress localAddress,\n final int localPort )\n throws IOException\n {\n return new Socket( address, port, localAddress, localPort );\n }",
"public static DatagramConnection createDatagramConnection() {\n\t\treturn new AndroidDatagramConnection();\n\t}",
"@Override\r\n\tpublic Socket createSocket(InetAddress address, int port,\r\n\t\t\tInetAddress localAddress, int localPort) throws IOException {\n\t\treturn null;\r\n\t}",
"public static Connection createConnection() {\n\t\treturn new FabricaDeConexoes().getConnection();\n\t}",
"Connection createConnection(ExecutorService pool);",
"NodeConnection createNodeConnection();",
"private void establishConnection() throws UnknownHostException, \n \t\t\t\t\t\t\t\t\t\t IOException {\n \t socket = new Socket(serverIP, serverPort);\n }",
"public TestCaseSocket() {\n\t}",
"public MockSocket (InetAddress remoteAddr, int remotePort) \n throws IOException {\n bind ( null );\n connect ( new InetSocketAddress (remoteAddr, remotePort) );\n }",
"protected Socket connectHost() throws KVException {\n try {\n \treturn new Socket(this.server, this.port);\n } catch (UnknownHostException uhe) {\n \tthrow new KVException(ERROR_COULD_NOT_CONNECT);\n } catch (IOException ioe) {\n \tthrow new KVException(ERROR_COULD_NOT_CREATE_SOCKET);\n }\n }",
"public static ServerSocket createServerSocket() {\n \t\n try {\n listener = new ServerSocket(PORT,1, InetAddress.getByName(hostname));\n } catch (IOException e) {\n e.printStackTrace();\n }\n return listener;\n }",
"public ConnectionManager() {\r\n\t\tthis(DEFAULT_PORT, true, true);\r\n\t}",
"public void newConnection(String hostname, int port) throws Exception;",
"@NbBundle.Messages(value = {\n \"MSG_AgentConnectionBroken=Control connection with JShell VM is broken, could not connect to agent\",\n \"MSG_AgentNotReady=The JShell VM is not ready for operation\"\n })\n public JShellConnection createConnection() throws IOException {\n JShellConnection old;\n synchronized (this) {\n if (closed) {\n throw new IOException(Bundle.MSG_AgentConnectionBroken());\n }\n if (expectDebugger && debuggerMachine == null) {\n return null;\n }\n// old = connection;\n// connection = null;\n }\n /*\n if (old != null) {\n old.shutDown();\n // notify about the old connection being trashed\n ShellLaunchEvent ev = new ShellLaunchEvent(mgr, old, false);\n mgr.fire((l) -> l.connectionClosed(ev));\n }\n */\n SocketChannel sc = SocketChannel.open();\n sc.configureBlocking(true);\n Socket sock = sc.socket();\n sock.connect(connectAddress, ShellLaunchManager.CONNECT_TIMEOUT);\n // turn to nonblocking mode\n sc.configureBlocking(false);\n boolean notify = false;\n JShellConnection con = new JShellConnection(this, sock.getChannel());\n /*\n synchronized (this) {\n if (connection == null) {\n connection = con;\n notify = true;\n } else {\n con = connection;\n }\n }\n */\n synchronized (this) {\n connections.add(con);\n }\n if (notify) {\n ShellLaunchEvent ev = new ShellLaunchEvent(mgr, con, false);\n mgr.fire((l) -> l.connectionInitiated(ev));\n }\n return con;\n }",
"public SocketWrapper(final String host, final int port) throws ConnectException, IOException {\n this.host = host;\n this.port = port;\n open();\n }",
"void createConnection();",
"public void createNewConnection(Socket socket) throws IOException{\n\t\tThread connection = null;\n\t\t\n\t\tswitch (type){\n\t\n\t\t\tcase RULE_CONNECTION:\n\t\t\t\tconnection = new Thread(new RemoteRuleHandler(socket));\n\t\t\t\tbreak;\n\t\t}\n\t\t\n\t\tconnections.add(connection);\n\t\tconnection.start();\n\t}",
"public interface TcpSocket extends Connector {\n\t/** A no-op, stateless, socket instance. */\n\tTcpSocket NULL = new Null() {};\n\n\t@Override\n\tdefault String name() {\n\t\treturn String.format(\"%d->%s\", localPort(), hostPort());\n\t}\n\n\t/**\n\t * Provides the socket remote host and port.\n\t */\n\tHostPort hostPort();\n\n\t/**\n\t * Provides the local port.\n\t */\n\tint localPort();\n\n\t/**\n\t * Set socket option.\n\t */\n\t<T> void option(TcpSocketOption<T> option, T value) throws IOException;\n\n\t/**\n\t * Get socket option.\n\t */\n\t<T> T option(TcpSocketOption<T> option) throws IOException;\n\n\t/**\n\t * Set socket options.\n\t */\n\tdefault void options(TcpSocketOptions options) throws IOException {\n\t\toptions.applyAll(this);\n\t}\n\n\t/**\n\t * Get socket options.\n\t */\n\tdefault TcpSocketOptions options() throws IOException {\n\t\treturn TcpSocketOptions.from(this);\n\t}\n\n\t/**\n\t * An extension of SocketConnector that is aware of state.\n\t */\n\tinterface Fixable extends TcpSocket, Connector.Fixable {}\n\n\t/**\n\t * Determines if the exception indicates a socket is fatally broken.\n\t */\n\tstatic boolean isBroken(Exception e) {\n\t\treturn e instanceof SocketException; // check broken pipe?\n\t}\n\n\t/**\n\t * Connect the socket and wrap as a TcpSocket.\n\t */\n\tstatic Wrapper connect(HostPort hostPort) throws IOException {\n\t\t@SuppressWarnings(\"resource\")\n\t\tSocket socket = new Socket(hostPort.host, hostPort.port);\n\t\ttry {\n\t\t\treturn wrap(socket);\n\t\t} catch (RuntimeException | IOException e) {\n\t\t\tsocket.close();\n\t\t\tthrow e;\n\t\t}\n\t}\n\n\t/**\n\t * Wrapper for a jdk socket. The socket must already be connected.\n\t */\n\tstatic Wrapper wrap(Socket socket) throws IOException {\n\t\treturn new Wrapper(socket);\n\t}\n\n\t/**\n\t * Wrapper for a jdk socket. The socket must already be connected.\n\t */\n\tclass Wrapper implements TcpSocket {\n\t\tprivate final Socket socket;\n\t\tprivate final HostPort hostPort;\n\t\tprivate final int localPort;\n\t\tprivate final InputStream in;\n\t\tprivate final OutputStream out;\n\n\t\tprivate Wrapper(Socket socket) throws IOException {\n\t\t\tif (!socket.isConnected()) throw new IOException(\"Socket is not connected\");\n\t\t\tthis.socket = socket;\n\t\t\thostPort = HostPort.from((InetSocketAddress) socket.getRemoteSocketAddress());\n\t\t\tlocalPort = socket.getLocalPort();\n\t\t\tin = socket.getInputStream();\n\t\t\tout = socket.getOutputStream();\n\t\t}\n\n\t\t@Override\n\t\tpublic HostPort hostPort() {\n\t\t\treturn hostPort;\n\t\t}\n\n\t\t@Override\n\t\tpublic int localPort() {\n\t\t\treturn localPort;\n\t\t}\n\n\t\t@Override\n\t\tpublic <T> void option(TcpSocketOption<T> option, T value) throws IOException {\n\t\t\toption.set(socket, value);\n\t\t}\n\n\t\t@Override\n\t\tpublic <T> T option(TcpSocketOption<T> option) throws IOException {\n\t\t\treturn option.get(socket);\n\t\t}\n\n\t\t@Override\n\t\tpublic InputStream in() {\n\t\t\treturn in;\n\t\t}\n\n\t\t@Override\n\t\tpublic OutputStream out() {\n\t\t\treturn out;\n\t\t}\n\n\t\t@Override\n\t\tpublic void close() throws IOException {\n\t\t\tsocket.close();\n\t\t}\n\t}\n\n\t/**\n\t * A no-op, stateless, socket implementation.\n\t */\n\tinterface Null extends Connector.Null, TcpSocket.Fixable {\n\t\t@Override\n\t\tdefault HostPort hostPort() {\n\t\t\treturn HostPort.NULL;\n\t\t}\n\n\t\t@Override\n\t\tdefault int localPort() {\n\t\t\treturn 0;\n\t\t}\n\n\t\t@Override\n\t\tdefault <T> void option(TcpSocketOption<T> option, T value) throws IOException {}\n\n\t\t@Override\n\t\tdefault <T> T option(TcpSocketOption<T> option) throws IOException {\n\t\t\treturn Objects.requireNonNullElse(option.disableValue, BasicUtil.uncheckedCast(0));\n\t\t}\n\t}\n}",
"public Socket createSocket( String host, int port, InetAddress clientHost, int clientPort) throws IOException, UnknownHostException {\n return getSSLContext().getSocketFactory().createSocket( host, port, clientHost, clientPort );\n }",
"void connect( String name,\n ServerSocket socket,\n ConnectionHandlerFactory handlerFactory )\n throws Exception;",
"public SSLSocket getSocket() throws IOException {\n SSLSocket sslSocket = (SSLSocket) socketFactory.createSocket(pkiServerAddress, pkiServerPort);\n\n sslSocket.setEnabledProtocols(enabledProtocols);\n sslSocket.setEnabledCipherSuites(enabledCipherSuites);\n sslSocket.setSoTimeout(pkiTimeout);\n\n return sslSocket;\n }",
"public Server() throws IOException\n {\n socket = new ServerSocket(port);\n }",
"public ServidorSocket() throws IOException {\n\t\tservidor = new ServerSocket(PUERTO);\n\t\tcliente = new Socket();\n\t}",
"public Socket connect() {\n\t\ttry{\n\t\t connection = new Socket(serverAddress, port);\n\t\t System.out.println(\"Connessione aperta\");\n\t\t}\n\t\tcatch(ConnectException e){\n\t\t System.err.println(\"Server non disponibile!\");\n\t\t}\n\t\tcatch(UnknownHostException e1){\n\t\t System.err.println(\"Errore DNS!\");\n\t\t}\t\t\n\t\tcatch(IOException e2){//\n\t\t System.err.println(e2);\n\t\t e2.printStackTrace();\n\t\t}\n\t\treturn connection;\n }",
"public NetworkClient(Socket socket) throws IOException {\n\t\tthis.socket = socket;\n\t\tthis.host = socket.getInetAddress().getHostAddress();\n\t\tthis.port = socket.getPort();\n\t\tin = new BufferedReader(new InputStreamReader(socket.getInputStream()));\n\t\tout = new PrintWriter(new OutputStreamWriter(socket.getOutputStream()));\n\t}",
"public Connection(ConnectionListener listener, Socket socket) {\n this.listener = listener;\n this.socket = socket;\n\n try {\n in = new DataInputStream(socket.getInputStream());\n out = new DataOutputStream(socket.getOutputStream());\n } catch (IOException e) { listener.onException(Connection.this, e); }\n\n rxThread = new Thread(new Runnable() {\n public void run() {\n try {\n listener.onConnect(Connection.this);\n while(!rxThread.isInterrupted()) {\n listener.onDataRecieve(Connection.this, in.readUTF());\n }\n } catch (IOException e) {\n\n e.printStackTrace();\n }\n }\n });\n rxThread.start();\n }",
"public IClientConnection createConnection(ConnectionType type, String ipAddress, int port) {\n switch (type) {\n case TCP:\n return new TCPConnection(ipAddress, port);\n case SSL:\n return new SSLConnection(ipAddress, port);\n }\n throw new IllegalArgumentException(\"Connection type not supported\");\n }",
"public Communicator() throws SocketException\r\n {\r\n datagramSocket = new DatagramSocket();\r\n }",
"public MockSocket (String host, int port) throws IOException {\n this (InetAddress.getByName(host), port);\n }",
"public LDAPSDKConnection createConnection() {\r\n return new NetscapeV3Connection(false);\r\n }",
"public void creatSocket() {\n\n try {\n\n server = new ServerSocket(PORT);\n\n mExecutorService = Executors.newCachedThreadPool();\n\n while (true) {\n\n Socket client = server.accept();\n\n mExecutorService.execute(new SockectService(client));\n\n Log.d(TAG, \"Creating Socket\" );\n\n }\n\n } catch (Exception e) {\n\n e.printStackTrace();\n\n }\n\n }",
"public Connection(Socket socket, Bank bank) throws IOException {\n connectionLoggerService = ConnectionLoggerService.getInstance();\n objectInputStream = new ObjectInputStream(socket.getInputStream());\n objectOutputStream = new ObjectOutputStream(socket.getOutputStream());\n this.socket = socket;\n this.bank = bank;\n new Thread(this).start();\n }",
"SocketNode(NodeInterface node, Socket socketIn) {\n this.connectionIn = true;\n try {\n this.socketInput = new ObjectInputStream(socketIn.getInputStream());\n this.socketOutput = new ObjectOutputStream(socketIn.getOutputStream());\n } catch (IOException e) {\n this.close();\n }\n this.connected = true;\n Executors.newCachedThreadPool().execute(() ->\n node.getSocketManager().createConnection(this, socketIn.getInetAddress().getHostAddress()));\n }",
"private void createConnection() {\n this.callbacks = getCallbacks();\n\n Properties props = new Properties();\n props.putAll(getTestProps());\n props.putAll(getProps());\n this.connection = Connections.create((ConnectionCallbacks) callbacks, props);\n configureConnection(connection);\n }",
"SocketReader newSocketReader(SocketConnection connection);",
"SocketWriter newSocketWriter(SocketConnection connection);",
"public static Connection connect(){\n\t\ttry {\n\t\t\tadd = Configure.getADDRESS();\n\t\t\tconn = ConnectionFactory.getConnect(add, Configure.port, \"TCP\");\n\t\t} catch (Exception e) {\n\t\t\tConfigure.logger.error(e.getMessage());\n\t\t\t//System.out.println(e.getMessage());\n\t\t\te.printStackTrace();\n\t\t\t//System.exit(0);\n\t\t}\n\t\treturn conn;\n\t}",
"public SocketConnection(String id, Socket socket) {\n this.identifier = id;\n this.clientSocket = socket;\n\n try {\n this.inputStream = new ObjectInputStream(\n this.clientSocket.getInputStream());\n this.outputStream = new ObjectOutputStream(\n this.clientSocket.getOutputStream());\n } catch (IOException ex) {\n ex.printStackTrace();\n }\n }",
"@Override\n\tpublic SwimConnection createInstance() {\n\t\tSwimConnection connection = null;\n\t\t\n\t\tif (this.hasSpecification()) {\n\t\t\tif (this.getSpecification().getId().equals(Specification.CONNECTION_SWIM_SIMULATED_ID)) {\n\t\t\t\tSimulatedSwimConnectionProperties properties = (SimulatedSwimConnectionProperties) this.getSpecification().getProperties();\n\t\t\t\tconnection = new SimulatedSwimConnection(\n\t\t\t\t\t\tproperties.getResourceDirectory(),\n\t\t\t\t\t\tDuration.ofMillis(properties.getUpdatePeriod()),\n\t\t\t\t\t\tproperties.getUpdateProbability(),\n\t\t\t\t\t\tproperties.getUpdateQuantity());\n\t\t\t\tif (properties.getSubscribesAIXM())\n\t\t\t\t\tconnection.subscribe(SwimProtocol.AIXM);\n\t\t\t\tif (properties.getSubscribesFIXM())\n\t\t\t\t\tconnection.subscribe(SwimProtocol.FIXM);\n\t\t\t\tif (properties.getSubscribesWXXM())\n\t\t\t\t\tconnection.subscribe(SwimProtocol.WXXM);\n\t\t\t\tif (properties.getSubscribesIWXXM())\n\t\t\t\t\tconnection.subscribe(SwimProtocol.IWXXM);\n\t\t\t\tif (properties.getSubscribesAMXM())\n\t\t\t\t\tconnection.subscribe(SwimProtocol.AMXM);\n\t\t\t} else if (this.getSpecification().getId().equals(Specification.CONNECTION_SWIM_LIVE_ID)) {\n\t\t\t\tLiveSwimConnectionProperties properties = (LiveSwimConnectionProperties) this.getSpecification().getProperties();\n\t\t\t\tconnection = new LiveSwimConnection();\n\t\t\t\t// TODO: set properties for live SWIM connection\n\t\t\t\tif (properties.getSubscribesAIXM())\n\t\t\t\t\tconnection.subscribe(SwimProtocol.AIXM);\n\t\t\t\tif (properties.getSubscribesFIXM())\n\t\t\t\t\tconnection.subscribe(SwimProtocol.FIXM);\n\t\t\t\tif (properties.getSubscribesWXXM())\n\t\t\t\t\tconnection.subscribe(SwimProtocol.WXXM);\n\t\t\t\tif (properties.getSubscribesIWXXM())\n\t\t\t\t\tconnection.subscribe(SwimProtocol.IWXXM);\n\t\t\t\tif (properties.getSubscribesAMXM())\n\t\t\t\t\tconnection.subscribe(SwimProtocol.AMXM);\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn connection;\n\t}",
"private ServerSocket createServerSocket() throws IOException {\n ServerSocket serverSocket = new ServerSocket(Constants.SERVER_PORT);\n System.out.printf(\"Server for chatting started at %d\\n\", Constants.SERVER_PORT);\n return serverSocket;\n }",
"void connect( String name,\n ServerSocket socket,\n ConnectionHandlerFactory handlerFactory,\n ThreadPool threadPool )\n throws Exception;",
"public synchronized Connection incomingConnection(Socket s) throws IOException {\n\t\tlog.debug(\"incomming connection: \" + Settings.socketAddress(s));\n\t\tConnection c = new Connection(s);\n\t\tif (c != null)\n\t\t\tconnections.add(c);\n\t\treturn c;\n\n\t}",
"private HttpURLConnection createConnection() {\n try {\n HttpURLConnection httpURLConnection = this.httpProxyHost != null ? CONNECTION_FACTORY.create(this.url, this.createProxy()) : CONNECTION_FACTORY.create(this.url);\n httpURLConnection.setRequestMethod(this.requestMethod);\n return httpURLConnection;\n }\n catch (IOException iOException) {\n throw new HttpRequestException(iOException);\n }\n }",
"public interface ConnectionFactory {\n\n public abstract Connection createConnection();\n\n}",
"private static DatagramChannel newSocket(SelectorProvider provider) {\n/* */ try {\n/* 86 */ return provider.openDatagramChannel();\n/* 87 */ } catch (IOException e) {\n/* 88 */ throw new ChannelException(\"Failed to open a socket.\", e);\n/* */ } \n/* */ }",
"public interface Connection\n{\n public java.net.Socket getSocket();\n}",
"public ConnectionHandler(Socket controlSocket, Socket dataSocket) {\n\t\tnetwork = new NetworkHandler(controlSocket, dataSocket);\n\t}",
"public boolean createConnection() throws CommunicationException;",
"public Socket createSocket( final String host, final int port, final InetAddress localAddress, final int localPort, final HttpConnectionParams params ) throws IOException, UnknownHostException, ConnectTimeoutException {\n if (params == null) {\n throw new IllegalArgumentException(\"Parameters may not be null\");\n }\n int timeout = params.getConnectionTimeout();\n SocketFactory socketfactory = getSSLContext().getSocketFactory();\n if (timeout == 0) {\n return socketfactory.createSocket(host, port, localAddress, localPort);\n } else {\n \t Socket socket = socketfactory.createSocket();\n \t SocketAddress localaddr = new InetSocketAddress(localAddress, localPort);\n \t SocketAddress remoteaddr = new InetSocketAddress(host, port);\n \t socket.bind(localaddr);\n \t socket.connect(remoteaddr, timeout);\n \t return socket;\n \t }\n }",
"public ServerSocket createSocket (int port, int backlog,\n InetAddress ifAddress)\n throws IOException, KeyStoreException, NoSuchAlgorithmException,\n CertificateException, UnrecoverableKeyException,\n KeyManagementException;",
"public interface ServerSocketFactory {\n\n\t\tpublic ServerSocket create() throws IOException;\n\n\t}",
"abstract public boolean createConnection();",
"private void open() throws ConnectException, IOException {\n if (!opened) {\n if ((host == null) || \"\".equals(host.trim())) throw new ConnectException(\"You must specify the host name\");\n else if (port <= 0) throw new ConnectException(\"You must specify the port number\");\n socket = new Socket();\n InetSocketAddress addr = new InetSocketAddress(host, port);\n socket.setReceiveBufferSize(Utils.SOCKET_BUFFER_SIZE);\n socket.setSendBufferSize(Utils.SOCKET_BUFFER_SIZE);\n socket.setTcpNoDelay(Utils.SOCKET_TCP_NODELAY);\n socket.setKeepAlive(Utils.SOCKET_KEEPALIVE);\n socket.connect(addr);\n initStreams();\n opened = true;\n if (log.isDebugEnabled()) log.debug(\"getReceiveBufferSize() = \" + socket.getReceiveBufferSize());\n }\n }",
"private BluetoothSocket createBluetoothSocket(BluetoothDevice device) throws IOException {\n\n return device.createRfcommSocketToServiceRecord(BTMODULEUUID);\n //creates secure outgoing connection with BT device using UUID\n }",
"Socket createSocket(String host, int port, int timeoutMillis)\n throws IOException\n {\n InetAddress addresses[];\n InetAddress addr;\n InetSocketAddress sockAddr;\n Socket s = null;\n addresses = InetAddress.getAllByName(host);\n InetAddress[] picks = new InetAddress[2];\n int numPicks = 0;\n\n for (int i=0; i<addresses.length; i++)\n {\n addr = addresses[i];\n if ((addr instanceof Inet6Address))\n {\n picks[numPicks++] = addr;\n break;\n }\n }\n for (int i=0; i<addresses.length; i++)\n {\n addr = addresses[i];\n if ((addr instanceof Inet4Address))\n {\n picks[numPicks++] = addr;\n break;\n }\n }\n\n for (int i=0; i<numPicks; i++) {\n addr = picks[i];\n\n s = new Socket();\n\n // before connect() for TCP Window Scaling to be turned on\n setBuffers(s);\n\n\n sockAddr = new InetSocketAddress(addr, port);\n try {\n s.connect(sockAddr,timeoutMillis);\n break;\n } catch (IOException e) {\n s.close();\n s = null;\n if (i == numPicks - 1)\n throw e;\n }\n }\n\n if (s == null)\n throw new IOException(\"No supported IP address found\");\n\n return s;\n }",
"public void createConnection() throws ServerUnavailableException {\n clearConnection();\n while (serverSock == null) {\n try {\n // try to open a Socket to the server\n InetAddress addr = InetAddress.getByName(host);\n System.out.println(\"attempting to connect to \" + addr + \":\" + port + \"...\");\n serverSock = new Socket(addr, port);\n in = new BufferedReader(new InputStreamReader(serverSock.getInputStream()));\n out = new BufferedWriter(new OutputStreamWriter(serverSock.getOutputStream()));\n } catch (IOException e) {\n throw new ServerUnavailableException(\"Unable to connect to the server\");\n }\n }\n }",
"public TConnection connectTo(InetAddress address, int port, InetAddress localAddr, int localPort)\n throws IOException {\n Socket socket;\n\n if (localAddr == null) {\n socket = socketFactory.createSocket();\n\n socket.connect(new InetSocketAddress(address, port), messageTimeout);\n } else {\n socket = socketFactory.createSocket(address, port, localAddr, localPort);\n }\n TConnection tConnection =\n new TConnection(socket, maxTPDUSizeParam, messageTimeout, messageFragmentTimeout, null);\n tConnection.tSelRemote = tSelRemote;\n tConnection.tSelLocal = tSelLocal;\n tConnection.startConnection();\n\n return tConnection;\n }",
"public Server() throws IOException{\n\t\tsuper();\n\t\tthis.serversocket = new java.net.ServerSocket(DEFAULTPORT);\n\t\tif (DEBUG){\n\t\t\tSystem.out.println(\"Server socket created:\" + this.serversocket.getLocalPort());\n\t\t\tclient_list.add(String.valueOf(this.serversocket.getLocalPort()));\n\t\t}\n\t}",
"public EnvironmentSocket wrapperSocket(Socket socket) {\n return new EnvironmentSocketImpl(socket);\n }",
"public static Socket createClientSocket(String hostName, int port) throws IOException, UnknownHostException {\n\t\treturn new Socket(hostName, port);\n\t}",
"BlockingConnection(String host, int port, ConnectType connectType,\n CapabilitiesVMFactory capabilitiesVMFactory, SocketsManager socketsManager,\n Acceptor acceptor, MessagesSupportedVendorMessage supportedVendorMessage,\n MessageFactory messageFactory, NetworkManager networkManager,\n NetworkInstanceUtils networkInstanceUtils) {\n super(host, port, connectType, capabilitiesVMFactory, supportedVendorMessage,\n networkManager, acceptor, networkInstanceUtils);\n this.messageFactory = messageFactory;\n this.socketsManager = socketsManager;\n }",
"public MockSocket () {\n state = UNBOUND;\n }",
"public TCPServerWorker(GENServer server, Socket socket) throws IOException {\n this.server = server;\n this.socket = socket;\n this.player = null;\n state = new WorkerConnectState(this, socket);\n System.out.println(\"New ServerWorker\");\n }",
"public MonitoringSocket(String host, int port) throws IOException {\r\n\r\n\t\tsuper(host, port);\r\n\t\tincrementNumberOfOpenSockets();\r\n\t\tprintMonitoringSocketStatus();\r\n\t}",
"public void connect() {\n\t\ttry {\n\t\t\tsocket = new Socket(host, port);\n\t\t} catch (IOException e) {\n\t\t\tSystem.err.println(\"Error connecting: \" + e.getMessage());\n\t\t}\n\t}",
"abstract AbstractStreamingAnalyticsConnection createStreamsConnection()\n throws IOException;"
] | [
"0.79253757",
"0.6812771",
"0.67831594",
"0.66400486",
"0.66146046",
"0.6503705",
"0.6487719",
"0.6374905",
"0.6323725",
"0.6298223",
"0.6270502",
"0.6226691",
"0.62063736",
"0.620263",
"0.6190756",
"0.61777323",
"0.6108666",
"0.6059413",
"0.60582095",
"0.6031887",
"0.60247165",
"0.60230374",
"0.6010178",
"0.5987837",
"0.59773844",
"0.59661764",
"0.59529376",
"0.5938747",
"0.5930095",
"0.5924768",
"0.58948076",
"0.588011",
"0.5867372",
"0.58670264",
"0.58400923",
"0.5834303",
"0.58192873",
"0.58183736",
"0.5816474",
"0.5815236",
"0.58110726",
"0.57852656",
"0.5781464",
"0.5775735",
"0.5771617",
"0.57689947",
"0.57660186",
"0.57592523",
"0.5758772",
"0.5737049",
"0.5735756",
"0.57320493",
"0.5720246",
"0.5716985",
"0.57166934",
"0.57121295",
"0.56991696",
"0.56828827",
"0.5640438",
"0.5636577",
"0.5631072",
"0.5608853",
"0.5607717",
"0.56071883",
"0.5605725",
"0.56030387",
"0.559922",
"0.5597571",
"0.5593525",
"0.5590911",
"0.55860615",
"0.5581233",
"0.5578266",
"0.55716497",
"0.5560929",
"0.5558371",
"0.55582386",
"0.55545664",
"0.55525523",
"0.5536769",
"0.5521958",
"0.55130154",
"0.5506463",
"0.5505732",
"0.5500891",
"0.5488416",
"0.5480669",
"0.5475654",
"0.5473892",
"0.54645574",
"0.54490304",
"0.5443566",
"0.54398865",
"0.5432049",
"0.5428488",
"0.54245603",
"0.5409537",
"0.54050374",
"0.5402567",
"0.5399515",
"0.5392084"
] | 0.0 | -1 |
Closes the connection to the server without allowing an exception to be thrown. | @Override
public final void close() throws IOException {
close(new MongoDbException("Connection closed."));
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void closeConnection() {\n\t\ttry {\n\t\t\tsocket.close();\n\t\t} catch (IOException e) {\n\t\t\tlogger.warning(\"problem closing socket connection with JSON-RPC server at \" + serverIP + \":\" + serverPort);\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"public void disconnect()\r\n\t{\r\n\t\ttry {\r\n\t\t\tconnection_.close();\r\n\t\t} catch (IOException e) {} // How can closing a connection fail?\r\n\t\t\r\n\t}",
"private void closeConnection() {\r\n try {\r\n socket.close();\r\n } catch (IOException ex) {\r\n // Ex on close\r\n }\r\n }",
"public void close() {\n try {\n closeConnection(socket);\n } catch (IOException ioe) {\n ioe.printStackTrace();\n }\n }",
"private void closeConnection(){\n report(\"Close connection\");\n try{\n if(socket != null && !socket.isClosed()) {\n report(\"Client: Close socket\");\n socket.close();\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n report(\"End\");\n }",
"public void closeConnection(){\r\n\t\t_instance.getServerConnection().logout();\r\n\t}",
"public void closeConnection() {\n try {\n socket.close();\n oStream.close();\n } catch (Exception e) { }\n }",
"void close()\n {\n DisconnectInfo disconnectInfo = connection.getDisconnectInfo();\n if (disconnectInfo == null)\n {\n disconnectInfo = connection.setDisconnectInfo(\n new DisconnectInfo(connection, DisconnectType.UNKNOWN, null, null));\n }\n\n // Determine if this connection was closed by a finalizer.\n final boolean closedByFinalizer =\n ((disconnectInfo.getType() == DisconnectType.CLOSED_BY_FINALIZER) &&\n socket.isConnected());\n\n\n // Make sure that the connection reader is no longer running.\n try\n {\n connectionReader.close(false);\n }\n catch (final Exception e)\n {\n debugException(e);\n }\n\n try\n {\n outputStream.close();\n }\n catch (final Exception e)\n {\n debugException(e);\n }\n\n try\n {\n socket.close();\n }\n catch (final Exception e)\n {\n debugException(e);\n }\n\n if (saslClient != null)\n {\n try\n {\n saslClient.dispose();\n }\n catch (final Exception e)\n {\n debugException(e);\n }\n finally\n {\n saslClient = null;\n }\n }\n\n debugDisconnect(host, port, connection, disconnectInfo.getType(),\n disconnectInfo.getMessage(), disconnectInfo.getCause());\n if (closedByFinalizer && debugEnabled(DebugType.LDAP))\n {\n debug(Level.WARNING, DebugType.LDAP,\n \"Connection closed by LDAP SDK finalizer: \" + toString());\n }\n disconnectInfo.notifyDisconnectHandler();\n }",
"public synchronized void closeConnection() {\n try {\n connected = false;\n socket.close();\n System.out.println(\"[SERVER] Connection closed with client\");\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"public synchronized void close() {\n\t\t/**\n\t\t * DISCONNECT FROM SERVER\n\t\t */\n\t\tsrvDisconnect();\n\t}",
"private void closeConnection() throws IOException {\n\t\tclientSocket.close();\n\t}",
"private void close() {\n\t\ttry {\n\t\t\tif (conn != null) {\n\t\t\t\tconn.close();\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tlog(e);\n\t\t} finally {\n\t\t\tisConnected = false;\n\t\t}\n\t}",
"public void closeConnection() {\n try {\n if ( clientSocket != null ) {\n clientSocket.close();\n }\n } catch ( IOException e ) {\n logger.error( \"Error closing sokcet to client \" + getId(), e );\n }\n }",
"private void closeConnection() {\n\t\t_client.getConnectionManager().shutdown();\n\t}",
"private void disconnectFromServer() {\n\t\ttry {\n\t\t\tsocket.close();\n\t\t}\n\t\tcatch(IOException e) {\n\t\t\tSystem.out.println(\"CLIENT: Cannot disconnect from server\");\n\t\t}\n\t}",
"@Override\n public void closeConnection() {\n\n System.out.println(\"[CLIENT] Closing socket connection...\");\n try {\n socket.close();\n in.close();\n out.close();\n System.out.println(\"[CLIENT] Closed socket connection.\");\n } catch (IOException e) {\n System.out.println(\"[CLIENT] Error occurred when closing socket\");\n }\n System.exit(0);\n\n }",
"private synchronized void closeConnection() {\n/* 212 */ if (this.conn != null) {\n/* 213 */ this.log.debug(\"Closing connection\");\n/* */ try {\n/* 215 */ this.conn.close();\n/* 216 */ } catch (IOException iox) {\n/* 217 */ if (this.log.isDebugEnabled()) {\n/* 218 */ this.log.debug(\"I/O exception closing connection\", iox);\n/* */ }\n/* */ } \n/* 221 */ this.conn = null;\n/* */ } \n/* */ }",
"private void closeConnection() {\n\t\t\tSystem.out.println(\"\\nTerminating connection \" + myConID + \"\\n\");\n\t\t\ttry {\n\t\t\t\toutput.close(); // close output stream\n\t\t\t\tinput.close(); // close input stream\n\t\t\t\tconnection.close(); // close socket\n\t\t\t} catch (IOException ioException) {\n\t\t\t\tSystem.out.println(\"Exception occured in closing connection\"\n\t\t\t\t\t\t+ ioException);\n\t\t\t}\n\t\t}",
"@Override\r\n\tpublic void close()\r\n {\r\n\t\ttry\r\n {\r\n\t connection.close();\r\n }\r\n\t\tcatch (final SQLException e)\r\n {\r\n\t\t\t// Ignore, shutting down anyway\r\n }\r\n }",
"public void closeConnection() {\n try {\n stdIn.close();\n socketIn.close();\n socketOut.close();\n }\n catch(IOException e) {\n e.printStackTrace();\n }\n }",
"public void close() {\n synchronized(this) {\n for(Enumeration e = connections.elements();e.hasMoreElements();) {\n try {\n ((Socket)e.nextElement()).close();\n } catch(InterruptedIOException ex) {\n Thread.currentThread().interrupt();\n } catch(IOException ex) {\n } catch(RuntimeException ex) {\n }\n }\n }\n\n try {\n serverSocket.close();\n } catch(InterruptedIOException ex) {\n Thread.currentThread().interrupt();\n } catch(IOException ex) {\n } catch(RuntimeException ex) {\n }\n }",
"@Override\r\n\tpublic void close() {\r\n\t\tthis.socket.close();\r\n\t}",
"protected void close() {\n\t\tthis.connection.close();\n\t\tthis.connection = null;\n\t}",
"public void closeConnection() throws Exception {\n\t\ttry {\n\t\t\tclient.close();\n\t\t\tis.close();\n\t\t\tisr.close();\n\t\t\tbr.close();\n\t\t\tSystem.out.println(\"Connection is closed\");\n\t\t\tgetConnection();\n\t\t} catch (IOException ex) {\n\t\t\tLogger.getLogger(ServerTCP.class.getName()).log(Level.SEVERE, null, ex);\n\t\t}\n\n\t}",
"public void disconnect(){\n\n\t\tserverConnection.disconnect();\n\t}",
"private void closeConnection() {\n try {\n fromClient.close();\n toClient.close();\n client.close();\n } catch (IOException e) {\n System.err.println(\"Unable to close connection:\" + e.getMessage());\n }\n }",
"public void closeConnection() {\n try {\n dis.close();\n dos.close();\n socket.close();\n }\n catch (IOException e) {\n e.printStackTrace();\n }\n }",
"public void disconnect() {\n\n try {\n if (inputStream != null) {\n inputStream.close();\n }\n\n if (outputStream != null) {\n outputStream.close();\n }\n\n if (socket != null ) {\n socket.close();\n connected = socket.isClosed();\n }\n } catch (IOException e) {\n logger.error(\"S7Client error [disconnect]: \" + e);\n }\n }",
"public synchronized void close(){\n if(connected){\n try{\n socket.close();\n streamIn.close();\n streamOut.close();\n System.out.println(clientID+\": close: socket\"); \n }catch(IOException ioe){\n System.out.println(clientID+\": close: IOException:\"+ioe);\n }\n }else if(isHost){\n try{\n hostSocket.close();\n System.out.println(clientID+\": close: hostSocket\"); \n }catch(IOException ioe){\n System.out.println(clientID+\": close: IOException:\"+ioe);\n }\n }\n }",
"private void close() {\n\t\ttry {\n\t\t\tsendCommand(\"end\\n\");\n\t\t\tout.close();\n\t\t\tin.close();\n\t\t\tsocket.close();\n\t\t} catch (MossException e) {\n\t\t} catch (IOException e2) {\n\t\t} finally {\n\t\t\tcurrentStage = Stage.DISCONNECTED;\n\t\t}\n\n\t}",
"@Override\r\n public void close() throws Exception {\r\n if (connection != null){\r\n connection.close();\r\n }\r\n }",
"public void close()\n {\n \tSystem.out.println(\"close\");\n \tsend(\"<message> <disconnect/></message>\");\n \ttry {\n\t\t\tsocket.close();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n }",
"public void closeConnection() {\n client.close();\n System.out.println(\"Connection to db closed.\");\n }",
"public void closeConnection() {\n try {\n if (connection != null) {\n connection.close();\n connection = null;\n }\n } catch (Exception e) {\n System.out.print(e.getMessage());\n }\n }",
"public void close()\n {\n getConnectionManager().shutdown();\n }",
"public void disconnect() {\n\t\tif (_connection != null) {\n\t\t\ttry {\n\t\t\t\twhile (!_connection.isClosed()) {\n\t\t\t\t\t_connection.close();\n\t\t\t\t}\n\t\t\t} catch (Exception e) { /* ignore close errors */\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t}",
"public void close() {\r\n\t\tif (socket != null)\r\n\t\t\tsocket.close();\r\n\t}",
"public void disconnect() throws IOException {\n sendMessageToServer(\"#Close connection#\");\n outputStream.close();\n inputStream.close();\n clientSocket.close();\n }",
"@Override\n public synchronized void close() throws IOException {\n disconnect(false);\n }",
"private void closeServer() {\r\n\t\tMisc.log(\"Server will now close.\");\r\n\t\t//close the socket and server when done\r\n\t\ttry {\r\n\t\t\tserver.close();\r\n\t\t\tsocket.close();\r\n\t\t\tin.close();\r\n\t\t\tout.close();\r\n\t\t} catch (IOException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}",
"public void close() {\n connection.close();\n running = false;\n }",
"private void closeConnection(Throwable cause) {\n log.debug(\"Closing connection\", cause);\n\n setState(SessionState.DISCONNECTING, cause);\n this.client.disconnect().onComplete(this::disconnectCompleted);\n }",
"public void closeConnection();",
"public void closeSocket() { //gracefully close the socket connection\r\n try {\r\n this.os.close();\r\n this.is.close();\r\n this.clientSocket.close();\r\n } \r\n catch (Exception e) {\r\n System.out.println(\"XX. \" + e.getStackTrace());\r\n }\r\n }",
"public void closeSocket () \n {\n try {\n // close the open server socket\n server.close();\n // send it a message to make it stop waiting immediately\n // (not really necessary)\n /*Socket s = new Socket(\"localhost\", thisPort);\n OutputStream os = s.getOutputStream();\n os.write((byte)0);\n os.close();\n s.close();*/\n } catch(Exception ex) { \n LOG.warn(\"Exception while shutting down \"+ this.getClass(), ex);\n }\n \n server = null;\n }",
"public void closeConnection(){\n\n try {\n fromClient.close();\n socket.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n }",
"public static void closeConnection() {\n\t\ttry {\n\n\t\t\tconexion.close();\n\t\t\tSystem.out.print(\"Server Disconnected\");\n\t\t} catch (SQLException ex) {\n\t\t\tSystem.out.println(ex.getMessage());\n\t\t\tSystem.out.print(\"Error cerrando conexion\");\n\t\t}\n\t}",
"private void closeConnection () {\n setConnection (null);\n }",
"void disconnect() throws TransportException;",
"public void closeConnection() {\n System.out.println(\"Closing connection\");\n\n try {\n reader.close();\n \n if (connectionSocket != null) {\n connectionSocket.close();\n connectionSocket = null;\n }\n System.out.println(\"Connection closed\");\n } catch (IOException e) {\n System.out.println(\"IOException at closeConnection()\");\n } catch (NullPointerException e) {\n System.out.println(\"NullPointerException at closeConnection()\");\n } catch (Exception e) {\n System.out.println(\"Exception at closeConnection()\");\n System.out.println(e.toString());\n }\n }",
"public void close() {\n\t\ttry {\n\t\t\tserverSocketServer.close();\n\t\t} catch (IOException e) {\n\t\t\t\n\t\t\te.printStackTrace();\n\t\t}\t\t\t\n\t}",
"@Override\r\n public void close() {\r\n sock.close();\r\n }",
"public void close() {\n if (closed) {\n return;\n }\n try {\n disconnect();\n } catch (Exception e) {\n throw new IOError(e);\n }\n closed = true;\n }",
"public void close() {\n if (this.client != null && this.client.isConnected()) {\n this.client.close();\n }\n this.running = false;\n }",
"final public void closeConnection() throws IOException {\n\n readyToStop = true;\n closeAll();\n }",
"public void disconnect() throws Exception\n {\n if(!connected)\n return;\n connectionSocket.close();\n reader.close();\n writer.close();\n listenerTimer.cancel();\n connected = false;\n\n }",
"public void close() {\n try {\n socket.close();\n outputStream.close();\n inputStream.close();\n } catch (Exception e) {\n e.printStackTrace();\n }\n }",
"public synchronized void close() {\n\n String userInput ;\n String fromServer ;\n try {\n userInput = \"QUIT\";\n out.println(\"Client: \" + userInput);\n output.println(userInput); // send QUIT command\n fromServer = input.readLine();\n //out.println(\"Server: \" + fromServer);\n\n if (fromServer.substring(0, 3).equals(\"221\")){ // 221: connection is closed successfully\n socket.close();\n System.exit(0);\n }\n } catch (IOException e) {\n // ignore any exception\n }\n }",
"public void close() {\n try {\n inputStream.close();\n } catch(IOException e) {\n GenericIO.writelnString(Thread.currentThread().getName()\n + \" - could not close the socket's input stream!\");\n e.printStackTrace();\n System.exit(1);\n }\n\n try {\n outputStream.close();\n } catch(IOException e) {\n GenericIO.writelnString(Thread.currentThread().getName()\n + \" - could not close the socket's output stream!\");\n e.printStackTrace();\n System.exit(1);\n }\n\n try {\n commSocket.close();\n } catch(IOException e) {\n GenericIO.writelnString(Thread.currentThread().getName()\n + \" - could not close the communication socket!\");\n e.printStackTrace();\n System.exit(1);\n }\n }",
"public void closeSocket() { //gracefully close the socket connection\n\t\ttry {\n\t\t\tthis.os.close();\n\t\t\tthis.is.close();\n\t\t\tthis.clientSocket.close();\n\t\t} \n\t\tcatch (Exception e) {\n\t\t\tSystem.out.println(\"XX. \" + e.getStackTrace());\n\t\t}\n\t}",
"private void shutdown() {\n clientTUI.showMessage(\"Closing the connection...\");\n try {\n in.close();\n out.close();\n serverSock.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"public void close() {\n try {\n socket.close();\n sInput.close();\n sOutput.close();\n sInput = null;\n socket = null;\n } catch (IOException e) {\n System.out.println(\"Logged Out.\");\n }\n }",
"public void cancel() {\r\n\t\t\ttry {\r\n\t\t\t\tsocket.close();\r\n\t\t\t} catch (IOException e) {\r\n\t\t\t\t//pass\r\n\t\t\t}\r\n\t\t}",
"public static void closeConnection() {\n if(connection != null) {\n try {\n connection.close();\n connection = null;\n }\n catch (Exception e) \n { \n e.printStackTrace(); \n }\n }\n }",
"public void close() {\n try {\n socket.close();\n } catch (IOException e) {\n renderablePublisher.submit(new ServerOfflineUpdate());\n }\n }",
"public void close() {\n\t\tshutdownClient(clientRef.get());\n\t}",
"public void disconnect() {\n try {\n if (socket != null)\n socket.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n isConnected = false;\n }",
"public void stopConnection() throws IOException {\n in.close();\n out.close();\n clientSocket.close();\n }",
"public boolean endConnection() throws CommunicationException;",
"public void terminate() {\n\t\tif (socket == null)\n\t\t\tthrow new IllegalStateException();\n\t\ttry {\n\t\t\tsocket.close();\n\t\t} catch (IOException e) {}\n\t}",
"public static void close() {\n\t\ttry {\n\t\t\tSystem.out.println(\"Chiusura connessione\");\n\t\t\tRequestContent rp = new RequestContent();\n\t\t\trp.type = RequestType.CLOSE;\n\t\t\tsend(rp);\n\t\t\tClient.LoggedUser.anagrafica = null;\n\t\t\tois.close();\n\t\t\toos.close();\n\t\t\ts.close();\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"Errore close client connection\");\n\t\t}\n\t}",
"public void closeServer()\n\t{\n\t\t//System.out.println(\"*********Beginning Close Operations*********\");\n\n\t\ttry {\n\t\t\t//System.out.println(\"***********Closing client socket*************\");\n\t\t\tthis.closeClientConnection();\n\t\t\tstringFile.close();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\t\tisRunning = false;\n\t\t//System.out.println(\"Ending server....\");\n\t}",
"void close() {\n try {\n socketInput.close();\n socketOutput.close();\n this.connected = false;\n } catch (IOException e) {\n throw new UnexpectedBehaviourException();\n }\n }",
"@Override\n public void close()\n {\n this.disconnect();\n }",
"public void closeFromServer(){\n try {\n this.fromServer.close();\n } catch (IOException e){\n e.printStackTrace();\n }\n }",
"public void dispose() {\n\t\tsocket.close();\n\t}",
"@Override\n public void close() throws IOException {\n opened = false;\n if (socket != null) {\n Utils.closeSilent(dis);\n Utils.closeSilent(dos);\n socket.close();\n }\n }",
"public void closeConn() {\n try {\n if (writer != null) {\n writer.close();\n }\n if (sockoutOs != null) {\n sockoutOs.close();\n }\n if (null != socket || !socket.isClosed()) {\n socket.close();\n }\n } catch (IOException ex) {\n ex.printStackTrace();\n }\n\n }",
"public void disconnect() {\n\t\ttry {\n\t\t\tif(sInput != null) sInput.close();\n\t\t}\n\t\tcatch(Exception e) {} // not much else I can do\n\t\ttry {\n\t\t\tif(sOutput != null) sOutput.close();\n\t\t}\n\t\tcatch(Exception e) {} // not much else I can do\n try{\n\t\t\tif(socket != null) socket.close();\n\t\t}\n\t\tcatch(Exception e) {} // not much else I can do\n\n\n\t}",
"public void close()\n\t{\n\t\ttry { stream.close(); } catch(Exception ex1) {}\n\t\ttry { channel.close(); } catch(Exception ex2) {}\n\t}",
"public void close(){\n\t\tlog.debug(\"[SC] Close called\", 5);\n\t\tif(socket!=null){\n\t\t\tlog.debug(\"[SC] Closing socket\", 4);\n\t\t\ttry {\n\t\t\t\tThread.sleep(10);\n\t\t\t} catch (InterruptedException e) {\n\t\t\t\t//Silly impatient thread\n\t\t\t}\n\t\t\ttry {\n\t\t\t\tout.close();\n\t\t\t\tin.close();\n\t\t\t\tsocket.close();\n\t\t\t} catch (IOException e) {\n\t\t\t\t//we're going to close it anyway\n\t\t\t}\n\t\t\tsocket = null;\n\t\t\trun = false;\n\t\t}\n\t}",
"public void close() {\n\t\ttry {\n\t\t\t_inputStream.close();\n\t\t\t_outputStream.close();\n\t\t\t_socket.close();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}",
"public void closeConnection() {\r\n\t\tjava.util.Date connClosedDate = new java.util.Date();\r\n\t\ttry {\r\n\t\t\tpeerNode.peer2PeerOutStream.close();\r\n\t\t\tpeerNode.peer2PeerInStream.close();\r\n\t\t\tpeerNode.peer2Peer.close();\r\n\t\t\toutStream.close();\r\n\t\t\tinStream.close();\r\n\t\t\tpeerToPeerSocket.close();\r\n\t\t} catch (IOException e) {\r\n\t\t\tSystem.out.println(connClosedDate + \": Could not close connection\");\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t}",
"public static void closeConnection() {\n\t\ttry {\n\t\t\tcon.close();\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"Error al cerrar la conexion.\");\n\t\t}\n\t}",
"public void disconnect()\t{\n try {\n doStream.close();\n }\tcatch (IOException\t|\tNullPointerException\te)\t{\n System.err.println(\"[DISCONNECT]\t\" + e.getMessage());\n }\n try {\n diStream.close();\n }\tcatch (IOException\t|\tNullPointerException\te)\t{\n System.err.println(\"[DISCONNECT]\t\" + e.getMessage());\n }\n try {\n sServidor.close();\n }\tcatch (IOException\t|\tNullPointerException\te)\t{\n System.err.println(\"[DISCONNECT]\t\" + e.getMessage());\n }\n }",
"public void close()\r\n {\r\n try\r\n {\r\n connection.close();\r\n } catch(SQLException exception)\r\n {\r\n LOG.log(Level.SEVERE, \"\", exception);\r\n }\r\n }",
"public static void close() {\n\t\ttry {\n\t\t\tconn.close();\n\t\t} catch(Exception e) {\n\t\t\tPvPTeleport.instance.getLogger().info(e.getMessage());\n\t\t}\n\n\t}",
"public void close() {\n\t\tif (null!=client) {\n\t\t\tclient.close();\n\t\t\tclient = null;\n\t\t\tlog.trace(\"closed\");\n\t\t}\n\t}",
"public void quit()throws IOException {\n if(s.isConnected()) {\n reader.close();\n writer.close();\n s.close();\n System.out.println(\"Disconnected from the server.\");\n }\n }",
"@Override\n public void close() throws IOException {\n if (socket != null) {\n socket.close();\n }\n\n }",
"@Override\n public void close() throws IOException {\n if (clientSocket != null) {\n clientSocket.close();\n }\n }",
"public void close()\n {\n try\n {\n System.out.println(\"CLIENT chiude connessione\");\n receiverThread.interrupt();\n socket.close();\n System.exit(0);\n }\n catch (IOException e)\n {\n System.out.println(e.getMessage());\n System.exit(1);\n }\n }",
"abstract public void closeConnection();",
"@Override\n\tpublic void close() {\n\t\tfinal Socket input = getSocket();\n\n\t\tif (input != null) {\n\t\t\tif (!input.isClosed()) {\n\t\t\t\ttry {\n\t\t\t\t\tinput.close();\n\t\t\t\t} catch (final IOException e) {\n\t\t\t\t\t// we cannot do anything\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"public void disconnect() {\n\t\tif (sock != null) {\n\t\t\ttry {\n\t\t\t\tsock.close();\n\t\t\t} catch (IOException ioe) {\n\t\t\t} finally {\n\t\t\t\tsock = null;\n\t\t\t}\n\t\t}\n\t\toutStream.reset();\n\t\tdisconnected();\n\t}",
"public void close() throws IOException{\n this.channel.close();\n this.connection.close();\n }",
"public void connectionClose() {\n try {\n conn.close();\n } catch (SQLException e) {\n e.printStackTrace();\n }\n }",
"public void cancel() {\r\n\t\t\ttry {\r\n\t\t\t\tsocket.close();\r\n\t\t\t} catch (IOException e) {\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t}\r\n\t\t}",
"public static void closeServer() throws IOException {\n\t\tserver.close();\n\t}",
"public void disconnect() throws IOException {\r\n socket.close();\r\n System.out.println(\"Disconnected\");\r\n }",
"private void disconnect() {\n\n if (inStream != null) {\n try {inStream.close();} catch (Exception e) { e.printStackTrace(); }\n }\n\n if (outStream != null) {\n try {outStream.close();} catch (Exception e) { e.printStackTrace(); }\n }\n\n if (socket != null) {\n try {socket.close();} catch (Exception e) { e.printStackTrace(); }\n }\n }"
] | [
"0.75353026",
"0.7482149",
"0.7427951",
"0.737869",
"0.73745215",
"0.73703855",
"0.7341636",
"0.7309541",
"0.7262155",
"0.7215971",
"0.71837354",
"0.71771955",
"0.716964",
"0.7160093",
"0.6961039",
"0.69262767",
"0.68789274",
"0.6859948",
"0.68586004",
"0.68477744",
"0.6828859",
"0.68222606",
"0.6812004",
"0.6810109",
"0.678423",
"0.67620003",
"0.67558676",
"0.6751679",
"0.6749372",
"0.67472535",
"0.6740821",
"0.6740524",
"0.67398363",
"0.67254937",
"0.67197496",
"0.67145675",
"0.67124814",
"0.67094797",
"0.6706783",
"0.6704734",
"0.669585",
"0.66954076",
"0.6688926",
"0.6683323",
"0.66802776",
"0.6666575",
"0.6650547",
"0.6640132",
"0.6630788",
"0.66222847",
"0.6603565",
"0.6596976",
"0.65960336",
"0.6590939",
"0.6584959",
"0.65782267",
"0.65755695",
"0.65681064",
"0.6567229",
"0.6567063",
"0.6564078",
"0.65624315",
"0.655941",
"0.65266657",
"0.6520355",
"0.651435",
"0.65132505",
"0.6504008",
"0.6490718",
"0.6489531",
"0.64761025",
"0.64569646",
"0.6455662",
"0.6454158",
"0.6447968",
"0.64457",
"0.6423789",
"0.64195544",
"0.6413352",
"0.6409745",
"0.64070284",
"0.6405495",
"0.6402611",
"0.63975155",
"0.6383425",
"0.63820744",
"0.63780403",
"0.63765734",
"0.63710535",
"0.6370088",
"0.63699603",
"0.6366982",
"0.6359676",
"0.6355066",
"0.6345889",
"0.63443005",
"0.63414836",
"0.6339",
"0.63342714",
"0.6328888",
"0.63232934"
] | 0.0 | -1 |
Returns the bsonIn value. | public BsonInputStream getBsonIn() {
return myBsonIn;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public E getIn() {\n return in;\n }",
"public Set<E> getIn() {\n return in;\n }",
"public InputInteractions getInIn() {\r\n\t\t// restituisce le interazioni di input\r\n\t\treturn this.InIn;\r\n\t}",
"public ConditionItem in(String fieldName, Object...value) {\n\t\treturn singleCondition(ConditionType.IN, fieldName, value);\n\t}",
"public Collection<T> getInCondition() {\n return inCondition;\n }",
"public static void findByIn() {\n\t\tFindIterable<Document> findIterable = collection.find(in(\"status\", \"A\", \"D\"));\r\n\t\tprint(findIterable);\r\n\t}",
"public Query in(String key, Object[] value) {\n Preconditions.checkNotNull(key);\n builder.addFilter(builder.getOperator(QueryFilterBuilder.Operators.IN), key, value);\n return this;\n }",
"public InputStream getIn() {\n\t\treturn proc.getInputStream();\n\t}",
"public String getAddressIn() {\n\t\treturn addressIn.get();\n\t}",
"public Date getInDate() {\r\n return inDate;\r\n }",
"public OutputInteractions getOuIn() {\r\n\t\t// restituisce le interazioni di output\r\n\t\treturn this.OuIn;\r\n\t}",
"public String getAllowIn() {\n return allowIn;\n }",
"public String getVin() {\n\t\treturn vin;\n\t}",
"public Integer getInsid() {\n return insid;\n }",
"public String getZoneIn() {\n\t\treturn zoneIn.get();\n\t}",
"public int getUlIdInvoInvoice()\r\n {\r\n return this._ulIdInvoInvoice;\r\n }",
"public static Expression asin(final Expression value) {\n return new Expression(\"$asin\", value);\n }",
"public java.util.Enumeration getInDocument() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException {\n\n instantiateEJB();\n return ejbRef().getInDocument();\n }",
"public static long getBytesIn() {\n return bytesIn;\n }",
"public ProcessVertex getInVertex() {\n\t\treturn this.inVertex;\n\t}",
"public String getASIN() {\n return ASIN;\n }",
"public List<A> getInValues() {\n return inValues;\n }",
"public String getVinField() {\r\n return vinField.getText();\r\n }",
"public String getVin() {\r\n return vin;\r\n }",
"public String getVin() {\r\n return vin;\r\n }",
"public String getInoId();",
"public Room getRoomIn() {\n\t\treturn roomIn;\n\t}",
"public static SetExpression in(String propertyName, Object[] values) {\n return new SetExpression(Operator.IN, propertyName, values);\n }",
"public Character getInChar() {\n return inChar;\n }",
"public Bitmap getBitmapIn() {\r\n\t\treturn bitmapIn;\r\n\t}",
"public final void mIN() throws RecognitionException {\n try {\n int _type = IN;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // /Users/dannluciano/Sources/MyLanguage/expr.g:151:4: ( 'in' )\n // /Users/dannluciano/Sources/MyLanguage/expr.g:151:6: 'in'\n {\n match(\"in\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }",
"@Override\r\n\tpublic List<ProductRaw_In> getInByPid(int pid) {\n\t\treturn productRaw_InDao.getByPid(pid);\r\n\t}",
"public AppUser findByUin(Long uin);",
"public long getBytesIn()\n {\n return fBytesIn;\n }",
"@Override\n\t\tpublic String toSQL() {\n\t\t\tStringBuilder sb=new StringBuilder();\n\t\t\tsb.append(fieldName).append(\" IN (\");\n\t\t\tboolean first=true;\n\t\t\tfor(Object o :values) {\n\t\t\t\tif(first) {\n\t\t\t\t\tfirst=false;\n\t\t\t\t}else {\n\t\t\t\t\tsb.append(\",\");\n\t\t\t\t}\n\t\t\t\tsb.append(toSql(o));\n\t\t\t}\n\t\t\tsb.append(\")\");\n\t\t\treturn sb.toString() ;\n\t\t}",
"public String getInumber(final SessionContext ctx)\n\t{\n\t\treturn (String)getProperty( ctx, INUMBER);\n\t}",
"E asin(final E n);",
"@Override\r\n\tpublic List<ProductRaw_In> getIns(PageRequest pageable) {\n\t\treturn productRaw_InDao.getProductRawIns(pageable);\r\n\t}",
"public com.google.protobuf.ByteString getAudioIn() {\n if (converseRequestCase_ == 2) {\n return (com.google.protobuf.ByteString) converseRequest_;\n }\n return com.google.protobuf.ByteString.EMPTY;\n }",
"public com.google.protobuf.ByteString getAudioIn() {\n if (converseRequestCase_ == 2) {\n return (com.google.protobuf.ByteString) converseRequest_;\n }\n return com.google.protobuf.ByteString.EMPTY;\n }",
"protected void sequence_IN(ISerializationContext context, IN semanticObject) {\n\t\tif (errorAcceptor != null) {\n\t\t\tif (transientValues.isValueTransient(semanticObject, SiddhiPackage.eINSTANCE.getIN_In()) == ValueTransient.YES)\n\t\t\t\terrorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SiddhiPackage.eINSTANCE.getIN_In()));\n\t\t}\n\t\tSequenceFeeder feeder = createSequencerFeeder(context, semanticObject);\n\t\tfeeder.accept(grammarAccess.getINAccess().getInInKeyword_0(), semanticObject.getIn());\n\t\tfeeder.finish();\n\t}",
"private static CorelatedCriteria applyInCriteria(CorelatedCriteria target, In in) throws Exception {\n List<Expression> whereOperands = in.getOperand();\n if (whereOperands.size() == 2 && whereOperands.get(1) instanceof Interval) {\n Interval interval = (Interval) whereOperands.get(1);\n\n BinaryExpression lowExpression;\n BinaryExpression highExpression;\n\n // This handles the special case of date literals, which the CQL parser\n // wraps in ToDateTime\n if (interval.getLow() instanceof ToDateTime) {\n lowExpression = (BinaryExpression) ((Interval) ((Property) ((ToDateTime) interval.getLow()).getOperand()).getSource()).getLow();\n } else {\n lowExpression = (BinaryExpression) interval.getLow();\n }\n\n if (interval.getHigh() instanceof ToDateTime) {\n highExpression = (BinaryExpression) ((Interval) ((Property) ((ToDateTime) interval.getHigh()).getOperand()).getSource()).getHigh();\n } else {\n highExpression = (BinaryExpression) interval.getHigh();\n }\n\n target.startWindow.start = TemporalUtil.calculateWindowEndpoint(lowExpression);\n target.startWindow.end = TemporalUtil.calculateWindowEndpoint(highExpression);\n }\n\n return target;\n }",
"Collection<? extends Object> getInBookNo();",
"public final long getUIN() {\n\t return icqUIN;\n }",
"public byte[] getValue()\n\t{\n\t\tJNIBinaryField jBinField = (JNIBinaryField) getInternal();\n\n\t\treturn jBinField.getValue();\n\t}",
"public void setInIn(InputInteractions inIn) {\r\n\t\t// assegna le interazioni di input\r\n\t\tthis.InIn = inIn;\r\n\t}",
"public String getInXml() {\n return inXml;\n }",
"public int getP2ValueInInt() {\n\t\treturn P2ValueInInt;\n\t}",
"public int getInPort() {\n return instance.getInPort();\n }",
"public int getInPort() {\n return instance.getInPort();\n }",
"InOper createInOper();",
"public Diadoc.Api.Proto.Recognition.RecognitionProtos.RecognizedInvoice getInvoice() {\n return invoice_;\n }",
"Condition in(QueryParameter parameter, Object... values);",
"public java.math.BigInteger getNumberInCollection() {\n return numberInCollection;\n }",
"public String getPinyin() {\n return pinyin;\n }",
"public static SetExpression in(String propertyName, Collection<? extends Object> values) {\n return in(propertyName, values.toArray());\n }",
"public int getInIp() {\n return instance.getInIp();\n }",
"public int getInIp() {\n return instance.getInIp();\n }",
"public int getInCategoryId() {\n return inCategoryId;\n }",
"public int getInCategoryId() {\n return inCategoryId;\n }",
"public String getObjSelect() {\n return mobjSelect;\n }",
"public static Object getObject(String inKey) {\r\n if (LOG.isDebugEnabled()) {\r\n LOG.debug(\"getObject: \" + inKey + \", result \" + getProperties().get(inKey));\r\n }\r\n return getProperties().get(inKey);\r\n }",
"public Integer getCheckedin() {\n return checkedin;\n }",
"public int getInPipelineId() {\n return inPipelineId;\n }",
"public int getInIp() {\n return inIp_;\n }",
"public int getInIp() {\n return inIp_;\n }",
"<B extends QueryBuilder<?, ?, ?, B, ?>> CustomCriterion<S, V, B>\n in(B builder) {\n return new CustomCriterion<>(this, builder);\n }",
"public Reference individual() {\n return getObject(Reference.class, FhirPropertyNames.PROPERTY_INDIVIDUAL);\n }",
"public com.google.protobuf.ByteString\n getIntakeIntervalsBytes() {\n java.lang.Object ref = intakeIntervals_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n intakeIntervals_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public String getInsUserid() {\n return insUserid;\n }",
"public com.google.protobuf.ByteString\n getIntakeIntervalsBytes() {\n java.lang.Object ref = intakeIntervals_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n intakeIntervals_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public static inatparam get(nitro_service service) throws Exception{\n\t\tinatparam obj = new inatparam();\n\t\tinatparam[] response = (inatparam[])obj.get_resources(service);\n\t\treturn response[0];\n\t}",
"public int getInPort() {\n return inPort_;\n }",
"public int getInPort() {\n return inPort_;\n }",
"private String getIndiCriteria(String indiData){\n String result = \"(indicator_id = \"+indiData+\")\";\n return result;\n }",
"public interface In extends Clause {}",
"public int getP1ValueInInt() {\n\t\treturn p1ValueInInt;\n\t}",
"public ArrayList<String> getInlinks() {\r\n\t\treturn inlinks;\r\n\t}",
"public InputStream getStream() {\n\t\treturn this.in;\n\t}",
"public BPGNode get(int in) {\n return in == 0 ? n1 : (in == 1 ? n2 : null);\n }",
"public Integer getInsnodeid() {\n return insnodeid;\n }",
"public Object getValue() {\n\t\treturn object;\n\t}",
"private String getCriterionValueValue()\n {\n return getConvertedValue(myCriterionValue.get());\n }",
"public final EObject ruleArrayConstructionIterationClause() throws RecognitionException {\n EObject current = null;\n\n Token lv_variableName_0_0=null;\n EObject lv_collectionExpression_2_0 = null;\n\n\n EObject temp=null; setCurrentLookahead(); resetLookahead(); \n \n try {\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:5759:6: ( ( ( (lv_variableName_0_0= RULE_ID ) ) 'in' ( (lv_collectionExpression_2_0= ruleExpression ) ) ) )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:5760:1: ( ( (lv_variableName_0_0= RULE_ID ) ) 'in' ( (lv_collectionExpression_2_0= ruleExpression ) ) )\n {\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:5760:1: ( ( (lv_variableName_0_0= RULE_ID ) ) 'in' ( (lv_collectionExpression_2_0= ruleExpression ) ) )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:5760:2: ( (lv_variableName_0_0= RULE_ID ) ) 'in' ( (lv_collectionExpression_2_0= ruleExpression ) )\n {\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:5760:2: ( (lv_variableName_0_0= RULE_ID ) )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:5761:1: (lv_variableName_0_0= RULE_ID )\n {\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:5761:1: (lv_variableName_0_0= RULE_ID )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:5762:3: lv_variableName_0_0= RULE_ID\n {\n lv_variableName_0_0=(Token)input.LT(1);\n match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleArrayConstructionIterationClause10031); \n\n \t\t\tcreateLeafNode(grammarAccess.getArrayConstructionIterationClauseAccess().getVariableNameIDTerminalRuleCall_0_0(), \"variableName\"); \n \t\t\n\n \t if (current==null) {\n \t current = factory.create(grammarAccess.getArrayConstructionIterationClauseRule().getType().getClassifier());\n \t associateNodeWithAstElement(currentNode, current);\n \t }\n \t try {\n \t \t\tset(\n \t \t\t\tcurrent, \n \t \t\t\t\"variableName\",\n \t \t\tlv_variableName_0_0, \n \t \t\t\"ID\", \n \t \t\tlastConsumedNode);\n \t } catch (ValueConverterException vce) {\n \t\t\t\thandleValueConverterException(vce);\n \t }\n \t \n\n }\n\n\n }\n\n match(input,41,FOLLOW_41_in_ruleArrayConstructionIterationClause10046); \n\n createLeafNode(grammarAccess.getArrayConstructionIterationClauseAccess().getInKeyword_1(), null); \n \n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:5788:1: ( (lv_collectionExpression_2_0= ruleExpression ) )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:5789:1: (lv_collectionExpression_2_0= ruleExpression )\n {\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:5789:1: (lv_collectionExpression_2_0= ruleExpression )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:5790:3: lv_collectionExpression_2_0= ruleExpression\n {\n \n \t currentNode=createCompositeNode(grammarAccess.getArrayConstructionIterationClauseAccess().getCollectionExpressionExpressionParserRuleCall_2_0(), currentNode); \n \t \n pushFollow(FOLLOW_ruleExpression_in_ruleArrayConstructionIterationClause10067);\n lv_collectionExpression_2_0=ruleExpression();\n _fsp--;\n\n\n \t if (current==null) {\n \t current = factory.create(grammarAccess.getArrayConstructionIterationClauseRule().getType().getClassifier());\n \t associateNodeWithAstElement(currentNode.getParent(), current);\n \t }\n \t try {\n \t \t\tset(\n \t \t\t\tcurrent, \n \t \t\t\t\"collectionExpression\",\n \t \t\tlv_collectionExpression_2_0, \n \t \t\t\"Expression\", \n \t \t\tcurrentNode);\n \t } catch (ValueConverterException vce) {\n \t\t\t\thandleValueConverterException(vce);\n \t }\n \t currentNode = currentNode.getParent();\n \t \n\n }\n\n\n }\n\n\n }\n\n\n }\n\n resetLookahead(); \n \tlastConsumedNode = currentNode;\n \n }\n \n catch (RecognitionException re) { \n recover(input,re); \n appendSkippedTokens();\n } \n finally {\n }\n return current;\n }",
"public Long getInfile_()\n{\nreturn getInputDataItemId(\"infile_\");\n}",
"Object getValueFrom();",
"public Byte getSignInNumber() {\n return signInNumber;\n }",
"@Override\r\n\tpublic List<ProductRaw_In> findIns(String text, PageRequest pageable) {\n\t\treturn productRaw_InDao.findProductRawIns(text, pageable);\r\n\t}",
"static Guard readItIn(Object context) throws IsabelleException, FileException {\r\n \r\n nextTokenMustBeOneOf(\r\n Token.OPENING_ROUND_BRACKET,\r\n Token.BOOLEAN_CONSTANT, \r\n Token.EQUALS_PREFIX, Token.NEQ, \r\n Token.GE, Token.GT, Token.LE, Token.LT, \r\n Token.NOT, \r\n Token.AND, Token.OR);\r\n \r\n switch(nextToken()) {\r\n case OPENING_ROUND_BRACKET :\r\n accept(Token.OPENING_ROUND_BRACKET);\r\n Guard p = readItIn(context);\r\n accept(Token.CLOSING_ROUND_BRACKET);\r\n return p;\r\n case BOOLEAN_CONSTANT :\r\n return ConstantPredicate.readOneIn();\r\n case NOT :\r\n return InvertedPredicate.readOneIn(context);\r\n case EQUALS_PREFIX:\r\n case GE :\r\n case GT :\r\n case LE : \r\n case LT :\r\n case NEQ :\r\n return ComparisonPredicate.readOneIn(context);\r\n case OR :\r\n case AND :\r\n return LogicalPredicate.readOneIn(context);\r\n }\r\n assert false;\r\n return null;\r\n }",
"public T caseInCollectionElementsDeclaration(InCollectionElementsDeclaration object)\n {\n return null;\n }",
"public K getSavedId() {\n if (dbObjects.length == 0) {\n throw new MongoException(\"No objects to return\");\n }\n if (dbObjects[0] instanceof JacksonDBObject) {\n throw new UnsupportedOperationException(\n \"Generated _id retrieval not supported when using stream serialization\");\n }\n return jacksonDBCollection.convertFromDbId(dbObjects[0].get(\"_id\"));\n }",
"public java.lang.String getInvoice() {\r\n return invoice;\r\n }",
"@Override\n\tpublic void visit(InExpression arg0) {\n\n\t}",
"public byte getValueInRowKey() {\n return valueInRowKey;\n }",
"public static long getMessagesIn() {\n return messagesIn;\n }",
"public SubqueryInExpression(EPStatementObjectModel model, boolean isNotIn) {\n this.model = model;\n this.notIn = isNotIn;\n }",
"public java.lang.String getPppInsCd () {\n\t\treturn pppInsCd;\n\t}",
"@Override\n\tpublic void visit(InExpression arg0) {\n\t\t\n\t}",
"public java.lang.String getInsolvency_id() {\n return insolvency_id;\n }",
"public long getInBytes() {\n return inBytes.get();\n }"
] | [
"0.5996476",
"0.58383685",
"0.55062306",
"0.53686833",
"0.5240875",
"0.52056605",
"0.50750446",
"0.4949585",
"0.49489146",
"0.49437806",
"0.4943216",
"0.4898003",
"0.48691517",
"0.48442632",
"0.47907865",
"0.4766891",
"0.47510397",
"0.47471863",
"0.4742834",
"0.47401986",
"0.47231084",
"0.47231042",
"0.47112986",
"0.47077167",
"0.47077167",
"0.46378398",
"0.46374315",
"0.4637423",
"0.46107003",
"0.45866272",
"0.4584547",
"0.4579675",
"0.45774835",
"0.45105168",
"0.45068648",
"0.4487137",
"0.44864234",
"0.4461012",
"0.4442653",
"0.44272453",
"0.4412059",
"0.4393264",
"0.43840468",
"0.43588975",
"0.43553114",
"0.42850888",
"0.42786738",
"0.42741582",
"0.42699105",
"0.42699105",
"0.4231152",
"0.42102623",
"0.41930243",
"0.4191927",
"0.41858724",
"0.41659245",
"0.4165245",
"0.4165245",
"0.41565263",
"0.41565263",
"0.4151978",
"0.41499636",
"0.41494054",
"0.4136732",
"0.4136377",
"0.4136377",
"0.4131758",
"0.40931004",
"0.40884674",
"0.407132",
"0.40681723",
"0.40609655",
"0.40443584",
"0.40443584",
"0.40425447",
"0.4030561",
"0.40236118",
"0.40226284",
"0.4006217",
"0.40020236",
"0.39977622",
"0.3992138",
"0.39869604",
"0.3984701",
"0.39799002",
"0.39760095",
"0.39645383",
"0.3958726",
"0.3950918",
"0.39507917",
"0.39458773",
"0.3943656",
"0.3943165",
"0.39394003",
"0.39393878",
"0.3935099",
"0.39289376",
"0.3920957",
"0.39172986",
"0.39146847"
] | 0.62153506 | 0 |
Returns the listener for changes in the transport and responses we receive. | public TransportResponseListener getResponseListener() {
return myResponseListener;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Listener getListener() {\n return listener;\n }",
"public JmsRequestorListener getListener() {\n return listener;\n }",
"public ConnectionListener getListener(String listenerID);",
"@Nullable\n public P getListener() {\n return mListener;\n }",
"@SuppressWarnings(\"deprecation\")\n\torg.ogema.core.resourcemanager.ResourceListener getListener();",
"@Required\n @Updatable\n public Set<Listener> getListener() {\n if (listener == null) {\n listener = new HashSet<>();\n }\n\n return listener;\n }",
"@Override\n public Listener<T> getListener() {\n List<ProcessorNode> nodes = getProcessorChain();\n if(nodes != null && !nodes.isEmpty()){\n return nodes.get(0).getListener();\n }else if(getConsumer() != null){\n return getConsumer().getListener();\n }\n return null;\n }",
"private static StatusListener getListener() {\n StatusListener statusListener = new StatusListener () {\n @Override\n public void onException(Exception e) {\n }\n\n public void onStatus(Status status) {\n reply(status);\n }\n\n @Override\n public void onDeletionNotice(StatusDeletionNotice statusDeletionNotice) {\n }\n\n @Override\n public void onTrackLimitationNotice(int i) {\n }\n\n @Override\n public void onScrubGeo(long l, long l1) {\n }\n\n @Override\n public void onStallWarning(StallWarning stallWarning) {\n }\n\n };\n return statusListener;\n }",
"public ChangeLogListener changeLogListener() {\n return changeLogListener;\n }",
"private RemoteEventListener getDest()\n throws RemoteException {\n if (!isPrepared) {\n try {\n Object myListener = theMarshalledListener.get();\n\n theListener = (RemoteEventListener)\n GeneratorConfig.getRecoveryPreparer().prepareProxy(myListener);\n isPrepared = true;\n } catch (IOException anIOE) {\n throw new RemoteException(\"Failed to unmarshall listener\",\n anIOE);\n } catch (ClassNotFoundException aCNFE) {\n throw new RemoteException(\"Failed to load class for listener\",\n aCNFE);\n }\n }\n \n return theListener;\n }",
"public TCPListener getMyTCPListener()\n {\n return fMyListener;\n }",
"public MessageListener getMessageListener() {\n return listener;\n }",
"@Override\n\tpublic void getListener(){\n\t}",
"public Conservable[] getListener() throws SQLException{\n return listener;\n }",
"public AttributeMapBindingListener getListener() {\r\n\t\treturn listener;\r\n\t}",
"public ActivityListener getListener() {\n\t\treturn logger.getConfiguration().getActivityListener();\n\t}",
"public ClientStreamListener delegate() {\n return clientStreamListener;\n }",
"public CellListener getListener() {\n return listener;\n }",
"public synchronized EndpointListener getListener(String str) {\r\n return (EndpointListener) propListeners.get(str);\r\n }",
"ListenerMethod getListenerMethod();",
"public ListenerRegistar getMiListener() {\n return miListenerReg;\n }",
"public interface OnReceiveListener {\n\n /**\n * Called when client receives a message.\n * @param response received message.\n */\n void onReceive( String response );\n }",
"protected MapListenerSupport getMapListenerSupport()\n {\n return m_listenerSupport;\n }",
"protected MapListenerSupport getMapListenerSupport()\n {\n return m_listenerSupport;\n }",
"public MetricTransformation2DRobustEstimatorListener getListener() {\n return mListener;\n }",
"void subscribeReceiveListener(IDataReceiveListener listener);",
"public String getListener(int i)\r\n { return this.history.get(i).listener;\r\n }",
"public DBRecordListener<gDBR> getRecordListener()\n {\n return this.recordListener;\n }",
"public List<PersistRequestBean<?>> listenerNotify() {\n return listenerNotify;\n }",
"public TrackingEditDialogButtonListener getListener() {\n\t\treturn listener;\n\t}",
"public synchronized List<EventListener> getListeners() {\n \treturn listeners;\n }",
"public List<String> listeners();",
"public interface RemoteListener {\n void onResponse(String target, Call call, int state, String jsonResult, IOException exception);\n}",
"public QuadricRobustEstimatorListener getListener() {\n return mListener;\n }",
"@Override\n\tpublic String getListenerId()\n\t{\n\t\treturn ID;\n\t}",
"public PlayerEngineListener fetchPlayerEngineListener() {\n\t\treturn mPlayerEngineListener;\n\t}",
"static synchronized AbstractMMXListener getGlobalListener() {\n return sInstance.mGlobalListener;\n }",
"@Override\r\n\tnative long createListenerProxy(EventSink eventSink);",
"protected ConnectionListenerFactory getConnectionListenerFactory()\n {\n return clf;\n }",
"@Bean\n\tMessageListenerAdapter listenerAdapter(MessageListener receiver) {\n\t\treturn new MessageListenerAdapter(receiver, \"receiveMessage\");\n\t}",
"Move listen(IListener ll);",
"public interface Listener {}",
"public NumberCellGeneratorListener getListener() {\n return mListener;\n }",
"abstract BtServiceListener getBtListener();",
"public interface Listener<T> extends Response.Listener<T>, Response.ErrorListener {\n}",
"public Subscriber getSubscriberReceiver() {\n return this.subscriberReceiver;\n }",
"private ModifyListener getModifyListener() {\n \t\tif (modifyListener == null) {\n \t\t\tmodifyListener = new ModifyListener() {\n \t\t\t\tpublic void modifyText(ModifyEvent e) {\n \t\t\t\t\teditOccured(e);\n \t\t\t\t}\n \t\t\t};\n \t\t}\n \t\treturn modifyListener;\n \t}",
"public interface Listener {\n\n /** Called when the tracked downloads changed. */\n void onDownloadsChanged();\n }",
"public interface Listener {\n\n /** Called when the tracked downloads changed. */\n void onDownloadsChanged();\n }",
"public OpenCompositionFragmentCallbackListener getListener() {\n return listener;\n }",
"void watchListenerData(int port, ListenerWatcher watcher) {\n }",
"public OnApplicationStatusUpdateListener getOnRunnerStatusUpdateListener() {\n return listener;\n }",
"protected EventListenerList getEventListenerList() {\r\n return listenerList;\r\n }",
"protected String getDefaultListener()\n {\n return DEFAULT_LISTENER;\n }",
"public static Receiver getReceiver() {\n return receiver;\n }",
"void receive(String watcher) throws ProtocolExecutionException;",
"public interface Listener {\n}",
"public interface Listener {\n}",
"public interface ResponseListener {\n\t\tResponseListener STUB = new ResponseListener() {\n\t\t\t@Override\n\t\t\tpublic void onSuccess(HttpUtils.HttpResult httpResult) {\n\t\t\t}\n\n\t\t\t@Override\n\t\t\tpublic void onError(HttpUtils.HttpResult httpResult) {\n\t\t\t}\n\t\t};\n\n\t\tvoid onSuccess(HttpUtils.HttpResult httpResult);\n\t\tvoid onError(HttpUtils.HttpResult httpResult);\n\t}",
"Future<UpdateListenerResponse> updateListener(\n UpdateListenerRequest request,\n AsyncHandler<UpdateListenerRequest, UpdateListenerResponse> handler);",
"private EventListener listenChanges() {\n Set<String> storeEvents = ImmutableSet.of(Events.STORE_INITED);\n EventListener eventListener = event -> {\n // Ensure task schema create after system info initialized\n if (storeEvents.contains(event.name())) {\n this.call(() -> this.tx().initSchema());\n return true;\n }\n return false;\n };\n this.graph.loadSystemStore().provider().listen(eventListener);\n return eventListener;\n }",
"public interface DsViaListenInterface extends DsListenInterface {\n\n /** @return port to be used as the source port of outgoing requests */\n public int getSourcePort();\n\n /** @return the interface to be used as the source port of outgoing requests */\n public InetAddress getSourceAddress();\n}",
"public interface ConnectionListenerManager extends Serializable\n{\n /**\n * Add a connection listener.\n * \n * @param connectionListener [in] Supplies a reference to the new\n * listener.\n * \n * @throws ServerException if a listener with the same ID already exists.\n */\n public void add(ConnectionListener connectionListener) throws ServerException;\n \n /**\n * Remove a connection listener.\n * \n * @param listenerID [in] Supplies the unique ID of the connection\n * listener to be removed.\n * \n * @return A reference to the removed listener, or null if it didn't\n * exist.\n */\n public ConnectionListener remove(String listenerID);\n \n /**\n * Check to see if the manager is empty.\n * \n * @return True if the manager does not contain any listeners, false if it\n * contains at least one.\n */\n public boolean isEmpty();\n \n /**\n * Check to see if the listeners are active.\n * \n * @return True if the listeners are active, false if not.\n */\n public boolean isRunning();\n\n /**\n * Get a list of all connection listeners.\n * \n * @return A list of listeners.\n */\n public List<String> listeners();\n \n /**\n * Get a reference to a connection listener.\n * \n * @param listenerID [in] Supplies the unique ID of the listener.\n * \n * @return A reference to the listener, null if it does not exist.\n */\n public ConnectionListener getListener(String listenerID);\n \n /**\n * Start all listeners. One or more listener may fail to start due to an\n * IOException. If all listeners fail to start, this method throws a\n * ServerException. If one or more listeners failed to start, but at\n * least one started successfully, this method will return normally, but\n * with a return value of false, so that the caller knows that one or\n * more listener failed to start, and can check the individual listeners\n * to see which failed, and why. The way this would be done would be to\n * iterate over this object's collection of listeners, checking to see which\n * listeners failed to start. When a non-started listener is encountered,\n * the caller would then attempt to start that listener individually, and\n * then handle the resulting IOException individually. Finally, if all\n * listeners start successfully, this method returns true.\n *\n * @return True if all listeners were started successfully, or false if\n * one or more (but not all!) failed to start properly.\n *\n * @throws ServerException if no listeners were started successfully.\n */\n public boolean startAll() throws ServerException;\n \n /**\n * Stop all listeners.\n */\n public void stopAll();\n}",
"private EntityStateListener stateListener() {\n return listeners == null ? EntityStateListener.EMPTY : listeners;\n }",
"public EventOccurrence getReceiveEvent();",
"public interface CommunicationEventListener extends EventListener {\n // Ajoute un handler\n boolean handleServerResponse(String response);\n}",
"public interface GetTicketListener extends ResponseListener {\n \n /**\n * Operation was successful.\n */\n String STATUS_GET_TICKET_OK = \"get_ticket_ok\";\n /**\n * Check that you specified a valid API key.\n */\n String STATUS_WRONG_INPUT = \"wrong_input\";\n \n /**\n * Called when the API request has completed.\n * \n * @param ticket\n * The ticket which you can use to load an authentication\n * webpage. See\n * http://developers.box.net/w/page/12923915/ApiAuthentication\n * @param status\n * See http://developers.box.net/w/page/12923936/\n * ApiFunction_get_ticket for possible status codes that may be\n * returned\n */\n void onComplete(String ticket, String status);\n}",
"public LightAlarmDeviceListener getAlarmListener() {\n return alarmListener;\n }",
"public Iterator<Object> listeners() {\n return Arrays.asList(fListeners).iterator();\n }",
"public Channel.Receiver getReceiver(String sName);",
"public interface ServiceCallListener extends ServiceInstanceCallListener, RemoteServiceCallListener {\r\n\r\n}",
"public interface Listener {\n void onConnected(CallAppAbilityConnection callAppAbilityConnection);\n\n void onDisconnected(CallAppAbilityConnection callAppAbilityConnection);\n\n void onReleased(CallAppAbilityConnection callAppAbilityConnection);\n }",
"public interface theListener {\n public void itemToSend(String s);\n }",
"public ChangeListener[] getChangeListeners() {\r\n return (ChangeListener[])listenerList.getListeners(\r\n ChangeListener.class);\r\n }",
"public interface INotifyChangeListenerServer\n{\n /**\n * 患者状态监听\n *\n * @param listener 消息状态监听器\n * @param registerType 注册类型\n */\n void registerPatientStatusChangeListener(@NonNull IChange<String> listener, @NonNull RegisterType registerType);\n\n /**\n * 医生状态监听\n *\n * @param listener 接收消息监听器\n * @param registerType 注册类型\n */\n void registerDoctorStatusChangeListener(@NonNull IChange<String> listener, @NonNull RegisterType registerType);\n /**\n * 医生转诊申请监听\n *\n * @param listener 接收消息监听器\n * @param registerType 注册类型\n */\n void registerDoctorTransferPatientListener(@NonNull IChange<String> listener, @NonNull RegisterType registerType);\n /**\n * 医生认证状态监听\n *\n * @param listener 接收消息监听器\n * @param registerType 注册类型\n */\n void registerDoctorAuthStatusChangeListener(@NonNull IChange<Integer> listener, @NonNull RegisterType registerType);\n /**\n * 最近联系人监听\n *\n * @param listener 接收消息监听器\n * @param registerType 注册类型\n */\n void registerRecentContactChangeListener(@NonNull IChange<String> listener, @NonNull RegisterType registerType);\n /**\n * 服务包订单状态\n *\n * @param listener 接收消息监听器\n * @param registerType 注册类型\n */\n void registerOrderStatusChangeListener(@NonNull IChange<String> listener, @NonNull RegisterType registerType);\n}",
"public interface MessageReceivedListener {\n\t\n\t/**\n\t * Called when new command/message received\n\t * @param msg Command/message as String\n\t */\n\tpublic void OnMessageReceived(String msg);\n\t\n\t/**\n\t * Called when new file is incoming.\n\t * @param length Total length of data expected to be received\n\t * @param downloaded Total length of data actually received so far\n\t */\n\tpublic void OnFileIncoming(int length);\n\t\n\t/**\n\t * Called when more data of a file has been transfered\n\t * @param data Byte array of data received\n\t * @param read The lenght of the data received as int\n\t * @param length Total length of data expected to be received\n\t * @param downloaded Total length of data actually received so far\n\t */\n\tpublic void OnFileDataReceived(byte[] data,int read, int length, int downloaded);\n\t\n\t/**\n\t * Called when file transfer is complete\n\t * @param got\n\t * @param expected\n\t */\n\tpublic void OnFileComplete();\n\t\n\t/**\n\t * Called when an error occur\n\t */\n\tpublic void OnConnectionError();\n\t\n\t/**\n\t * Called when socket has connected to the server\n\t */\n\tpublic void OnConnectSuccess();\n}",
"public interface SocketResponseListener {\n /**\n * A response has been received.\n * @param response The frame received.\n */\n\tvoid responseReceived(byte[] response);\n}",
"public abstract RemoteCallback<?> getRemoteCallback();",
"@Override\n\tpublic boolean IsListening() {\n\t\treturn listening;\n\t}",
"@Override\n\tpublic String getListenerID() {\n\t\treturn null;\n\t}",
"@EventName(\"receivedMessageFromTarget\")\n EventListener onReceivedMessageFromTarget(EventHandler<ReceivedMessageFromTarget> eventListener);",
"public static boolean GetClientListenerStatus (){\n return ClientListenerAlive;\n }",
"public interface Listener {\n\n public void onRecievedCustomBroadCast(String msg);\n}",
"public ResponseForwarder(ResponseListener<F> listener){\n\t\t\tthis.listener = listener;\n\t\t}",
"public Receiver getReceiver() {\n return new Receiver(this);\n }",
"ChannelListener<? super C> getCloseListener();",
"@Bean\n MessageListenerAdapter adapter(final Receiver receiver) {\n MessageListenerAdapter messageListener = new MessageListenerAdapter(receiver);\n messageListener.setDefaultListenerMethod(\"receiveMessage\");\n return messageListener;\n }",
"private ContextListener getContextListener(Object source) {\n if (listener == null) {\n listener = new Listener();\n }\n return (ContextListener)WeakListeners.create(ContextListener.class, listener, source);\n }",
"public interface OnRequestDetailsListen {\n}",
"void onListenerChanged(ListenerUpdate update);",
"public interface IServerResponseListener {\n\n\t/**\n\t * Receive requested \n\t * \n\t * @param requestId the same id number as the request* method that caused\n\t * \tthis request returned\n\t * @param data raw data, allways a List<RequestedModelType>\n\t */\n\tpublic void onServerResponse(int requestId, Object data);\n\t\n}",
"public BLEBroadcastReceiver getReceiver() { return receiver; }",
"public interface OnBluetoothReadListener {\n\t\tvoid onRead(byte[] status);\n\t}",
"private String getNotifierListener(int notifierType) {\n\t\tString listener = null;\n\t\ttry {\n\t\t\tswitch (notifierType) {\n\t\t\tcase NotifierConstants.PUSH_MESSAGE_NOTIFIER:\n\t\t\t\tlistener = appConfigInformation.getString(SmartConstants.APPEZ_CONF_PROP_PUSH_NOTIFIER_LISTENER);\n\t\t\t\tbreak;\n\n\t\t\tcase NotifierConstants.NETWORK_STATE_NOTIFIER:\n\t\t\t\tlistener = appConfigInformation.getString(SmartConstants.APPEZ_CONF_PROP_NWSTATE_NOTIFIER_LISTENER);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t} catch (JSONException je) {\n\t\t\t// TODO handle this exception\n\t\t}\n\t\treturn listener;\n\t}",
"public static synchronized ConsoleListener getConsoleListener( ){\r\n\t\treturn globalConsoleListener;\r\n\t}",
"public interface OnEventAvailableListener {\n\tpublic void OnEventAvailable(Message msg);\n}",
"public ArrayList getCallbackListeners() {\n return statusCbL;\n }",
"public interface EventListener {\n void onMessage(GenericRequest message);\n}",
"public boolean isListenerAvailable() {\n return mListener != null;\n }",
"public boolean isListenerAvailable() {\n return mListener != null;\n }"
] | [
"0.68875533",
"0.6870452",
"0.64897156",
"0.6389879",
"0.62904346",
"0.6288799",
"0.62483495",
"0.620586",
"0.6172365",
"0.61721087",
"0.6121704",
"0.6108871",
"0.6015521",
"0.59925354",
"0.59832597",
"0.59347445",
"0.59329903",
"0.59109324",
"0.5893166",
"0.58195615",
"0.5790533",
"0.57794106",
"0.5769729",
"0.5769729",
"0.5701453",
"0.5699691",
"0.56849957",
"0.5610067",
"0.55824107",
"0.5571495",
"0.5567899",
"0.55532926",
"0.5537283",
"0.55143416",
"0.5511574",
"0.5480165",
"0.54612017",
"0.5445042",
"0.54199773",
"0.5412118",
"0.5408822",
"0.54045635",
"0.5377946",
"0.5376515",
"0.53430146",
"0.533625",
"0.5336101",
"0.53352374",
"0.53352374",
"0.5334333",
"0.53326035",
"0.5331207",
"0.53208715",
"0.53149986",
"0.5311794",
"0.53108484",
"0.5298082",
"0.5298082",
"0.52909267",
"0.5287668",
"0.52689713",
"0.52649045",
"0.5250813",
"0.5246492",
"0.5245654",
"0.52426463",
"0.52370644",
"0.52294344",
"0.522233",
"0.5221467",
"0.52175176",
"0.52165365",
"0.5213929",
"0.5206777",
"0.5201829",
"0.5201249",
"0.5201125",
"0.51894593",
"0.5175525",
"0.5163577",
"0.51603717",
"0.5151875",
"0.5147753",
"0.5147602",
"0.5139782",
"0.51390004",
"0.51385844",
"0.5138534",
"0.51333493",
"0.51279205",
"0.51260734",
"0.5125904",
"0.5116381",
"0.51115066",
"0.51076025",
"0.5103159",
"0.5092881",
"0.50814867",
"0.5080221",
"0.5080221"
] | 0.7043096 | 0 |
Returns true if the transport is idle (has not pending work). | public abstract boolean isIdle(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean isIdle() {\n return queue.isEmpty();\n }",
"boolean isIdle();",
"public boolean isIdle() {\n return mIdle;\n }",
"public boolean isIdleTimeoutEnabled() {\n return idleTimeout;\n }",
"public boolean getStatus()\n\t{\n\t\treturn idle;\n\t}",
"public boolean getPingOnIdle()\n {\n return _isPing;\n }",
"public boolean isTimedOut() {\n\t\treturn timedOut.get();\n\t}",
"@SmallTest\n @Test\n public void testIdle() {\n assertEquals(DtmfTransport.STATE_IDLE, mDtmfTransport.getTransportState());\n }",
"public boolean isAvailable() {\n return LocalTime.now().isAfter(busyEndTime);\n }",
"public boolean isAlive() {\n\t\treturn state;\n\t}",
"public boolean checkTimeout(){\n\t\tif((System.currentTimeMillis()-this.activeTime.getTime())/1000 >= this.expire){\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}",
"public boolean isBusy();",
"public boolean isBusy() {\n\t\treturn false;\n\t}",
"public final boolean hasNoTimeout() {\n\t\treturn m_tmo == NoTimeout ? true : false;\n\t}",
"@Override\n\tpublic boolean isReady() {\n\t\treturn (this.baseTime == this.timeRemaining);\n\t}",
"public boolean isBusy() {\n\t\treturn this.call != null;\n\t}",
"public boolean isEngineClosed() {\r\n return (tlsEngine.isOutboundDone() && tlsEngine.isInboundDone());\r\n }",
"private boolean timeout() {\n long time = SystemClock.currentThreadTimeMillis();\n while (bluetoothSync.getState() != BluetoothSync.STATE_CONNECTED) {\n if (SystemClock.currentThreadTimeMillis() > time + Constants.Bluetooth.CONNECTION_TIMEOUT) {\n return false;\n }\n }\n return true;\n }",
"@Override\n public native boolean isAutoWaitForIdle();",
"@Override\n public boolean isReady() {\n return (running && !opening) || packetQueue.size() > 0;\n }",
"public boolean isXmtBusy() {\n return false;\n }",
"public boolean isActive() {\n return !isSuspended() && !isExpired();\n }",
"public boolean isBusy() {\n\t\treturn this.busy;\n\t}",
"public boolean isBusy() {\n\t\treturn isBusy;\n\t}",
"public boolean isATMReadyTOUse() throws java.lang.InterruptedException;",
"public boolean isBusy() {\n return isBusy;\n }",
"public boolean isAlive() {\n synchronized (this) {\n return mIsAlive;\n }\n }",
"@Override\n public boolean isTransActionAlive() {\n Transaction transaction = getTransaction();\n return transaction != null && transaction.isActive();\n }",
"protected boolean isFinished() {\n \t//ends \n \treturn isTimedOut();\n }",
"public boolean needsConnectionLeftOpen() {\n return false;\n }",
"boolean hasCurrentStateTime();",
"public boolean isConnecting() {\n PublishSubscriber<T> c = state.current;\n return c.connecting && !c.connected && !c.done && !c.isDisposed();\n }",
"@Override\n\tpublic boolean isBusy() {\n\t\treturn false;\n\t}",
"public boolean connectionActive() {\n\t\tif (socketConnection == null) {\n\t\t\treturn false;\n\t\t} else {\n\t\t\treturn socketConnection.isConnected();\n\t\t}\n\t}",
"public boolean isHolding();",
"public boolean isConnectionActive ()\r\n\t{\r\n\t\tsynchronized (this)\r\n\t\t{\r\n\t\t\treturn _bbCanSend;\r\n\t\t}\r\n\t}",
"private boolean isAlive()\n {\n if (null != t && t.isAlive())\n {\n return true;\n }\n return false;\n }",
"public boolean isAlive() {\n\t\treturn this.alive;\n\t}",
"protected boolean isFinished() {\n return this.isTimedOut();\n }",
"protected boolean isFinished() {\r\n return isTimedOut();\r\n }",
"boolean isActive() {\n assert this.isHeldByCurrentThread();\n return isActive;\n }",
"public boolean isAlive(){\r\n\t\treturn Thread.currentThread() == workerThread;\r\n\t}",
"public boolean isAlive() {\n\t\treturn isAlive;\n\t}",
"protected boolean isFinished() {\n return Robot.m_elevator.onTarget();\n }",
"protected boolean isFinished() {\n\t\treturn isTimedOut();\n\t}",
"public boolean isAlive()\r\n\t{\r\n\t\treturn internalThread.isAlive();\r\n\t}",
"public boolean isConnected() {\n PublishSubscriber<T> c = state.current;\n return c.connected && !c.done && !c.isDisposed();\n }",
"protected boolean isFinished() {\n return isTimedOut();\n }",
"public boolean isAlive();",
"public boolean isActive() {\n return (m_state != INACTIVE_STATE);\n }",
"@Override public boolean active() {\n General.sleep(200, 300); // Reduces CPU usage.\n return isAtFish();\n }",
"public boolean isCharged();",
"public boolean isTimeoutDiscard() {\n return timeoutDiscard;\n }",
"public boolean isOpen() {\n\t\t\n\t\t//If network is open\n\t\tif (this.open) {\n\t\t\t\n\t\t\treturn true;\n\t\t\t\n\t\t} else {\n\t\t\t\n\t\t\treturn false;\n\t\t\t\n\t\t}\n\t}",
"public boolean pending() {\n return altingChannel.pending();\n }",
"boolean getIsAlive();",
"@Override\r\n\tprotected boolean isFinished() {\n\t\treturn isTimedOut();\r\n\t}",
"public boolean isTimeoutEnabled() {\n return timeoutEnabled;\n }",
"@Override\n\tpublic boolean isFinished() {\n\t\treturn (this.timeRemaining == 0);\n\t}",
"public boolean isIsReadyToTransmit() {\n return isReadyToTransmit;\n }",
"public synchronized boolean isBusy(){\n return isBusy;\n }",
"public boolean isConnectionActive(){\n return this.connectionActive;\n }",
"boolean isConnectionLost()\n\t{\n\t\tboolean lost = false;\n\n\t\tif (m_session != null && !m_session.isConnected())\n\t\t\tlost = true;\n\n\t\treturn lost;\n\t}",
"protected boolean isFinished() {\n \tboolean distanceTarget = Robot.driveDistancePID.onRawTarget();\n \t\n \tdouble timeNow = timeSinceInitialized();\n \t\n \treturn (distanceTarget || (timeNow >= expireTime));\n }",
"public boolean hasActiveInternetConnection()\n {\n Runtime runtime = Runtime.getRuntime();\n try {\n Process ipProcess = runtime.exec(\"/system/bin/ping -c 1 8.8.8.8\");\n int exitValue = ipProcess.waitFor();\n return (exitValue == 0);\n } catch (IOException e) {\n e.printStackTrace();\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n return false;\n }",
"public boolean isAlive(){\n\t\treturn isAlive;\n\t}",
"@Override\r\n\tpublic boolean isOpen() {\r\n\t\t//\r\n\t\treturn this.socket.isOpen();\r\n\t}",
"public final boolean isAlive() { return true; }",
"public void setPingOnIdle(boolean pingOnIdle)\n {\n _isPing = pingOnIdle;\n }",
"protected boolean isFinished() {\n //return !RobotMap.TOTE_SWITCH.get();\n \treturn false;\n }",
"@VisibleForTesting\n boolean isHeartBeatThreadAlive() {\n return scheduler != null && !scheduler.isShutdown();\n }",
"public boolean isReady();",
"public boolean isReady();",
"boolean isAlive();",
"boolean isAlive();",
"protected boolean getIsAlive() {\n\t\treturn isAlive;\n\t}",
"protected synchronized boolean isSockOpen(){\n\t\ttry{\n\t\t\tif(out.checkError()){\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}catch(Exception e){\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}",
"boolean available()\n {\n synchronized (m_lock)\n {\n return (null == m_runnable) && (!m_released);\n }\n }",
"@Override\r\n public boolean poll()\r\n {\n return state.isConnected();\r\n }",
"public boolean isRunning() {\n return this.runningThread != null && !serverSocket.isClosed();\n }",
"@Override\n public boolean isOnline() {\n if(mSocket != null && mSocket.isConnected())\n return true;\n return false;\n }",
"protected boolean isFinished() {\n \t// wait for a time out\n return false;\n }",
"public boolean isOccupied(){\n \t\treturn occupiedSeconds > 0;\n \t}",
"boolean isAvailable( long millis );",
"public boolean mo5973j() {\n return !isDestroyed() && !isFinishing();\n }",
"public boolean isRunning() { return _timer!=null && _timer.isRunning(); }",
"boolean isTransmitting();",
"boolean timedOut() {\n\treturn timedOut;\n }",
"protected boolean isFinished() {\n\t\treturn Robot.gearIntake.getPegSwitch();\n\t}",
"public boolean isConnected()\n {\n return connectionId != GatewayProcess.NO_CONNECTION_ID;\n }",
"public boolean isSuspended();",
"public final boolean isAlive() {\n return alive;\n }",
"@Override\n\tpublic void idleCheck() {\n\t\t\n\t}",
"@Override\n\tpublic void idleCheck() {\n\t\t\n\t}",
"public boolean busyReveiced () {\n\t\t\treturn resultDetected[RESULT_INDEX_BUSY];\n\t\t}",
"public boolean isAlive() {\n\t\treturn aliveStatus;\n\t}",
"public boolean isAlive() {\n\t\treturn alive;\n\t}",
"public boolean isAlive() {\n\t\treturn alive;\n\t}",
"public boolean isAlive() {\n\t\treturn alive;\n\t}",
"public boolean isAlive() {\r\n\t\treturn alive;\r\n\t}"
] | [
"0.7763751",
"0.7627503",
"0.7381044",
"0.7379916",
"0.70712334",
"0.7029644",
"0.671167",
"0.66697973",
"0.66591066",
"0.65974313",
"0.65463394",
"0.651318",
"0.6500031",
"0.6480469",
"0.6448974",
"0.64223",
"0.6413314",
"0.6391316",
"0.6345312",
"0.63150823",
"0.6302119",
"0.6280225",
"0.6251166",
"0.62510604",
"0.624466",
"0.62395674",
"0.6233449",
"0.62264055",
"0.6206227",
"0.6206081",
"0.6196612",
"0.61908585",
"0.616775",
"0.61623794",
"0.615148",
"0.6151426",
"0.6150173",
"0.6141637",
"0.61403626",
"0.6136091",
"0.6127262",
"0.611617",
"0.6115285",
"0.6113024",
"0.6111779",
"0.61113775",
"0.6109709",
"0.61087716",
"0.6106026",
"0.6102709",
"0.60999775",
"0.60959476",
"0.60887337",
"0.6083888",
"0.6079666",
"0.6077164",
"0.6066807",
"0.6065588",
"0.60589164",
"0.60494006",
"0.60436004",
"0.6040587",
"0.60399574",
"0.603784",
"0.60305536",
"0.60191315",
"0.60189766",
"0.6010659",
"0.59978974",
"0.5995622",
"0.5988525",
"0.59882855",
"0.59882855",
"0.5985652",
"0.5985652",
"0.59782684",
"0.5976067",
"0.597513",
"0.5973252",
"0.5970634",
"0.5968136",
"0.5965206",
"0.59603995",
"0.5958763",
"0.59504765",
"0.5944212",
"0.5944006",
"0.59437317",
"0.59392816",
"0.5934269",
"0.59341073",
"0.592925",
"0.5926579",
"0.5926579",
"0.59256566",
"0.5923064",
"0.5918377",
"0.5918377",
"0.5918377",
"0.5917947"
] | 0.74427426 | 2 |
Returns true if the socket is currently open. | public boolean isOpen() {
return myOpen.get();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic boolean isOpen() {\r\n\t\t//\r\n\t\treturn this.socket.isOpen();\r\n\t}",
"protected synchronized boolean isSockOpen(){\n\t\ttry{\n\t\t\tif(out.checkError()){\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}catch(Exception e){\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}",
"public boolean isConnected() {\n\t\treturn sock != null;\n\t}",
"public boolean socketStillAlive() {\n if (bluetoothSocket != null)\n return bluetoothSocket.getSocket() != null;\n return false;\n }",
"public boolean connectionActive() {\n\t\tif (socketConnection == null) {\n\t\t\treturn false;\n\t\t} else {\n\t\t\treturn socketConnection.isConnected();\n\t\t}\n\t}",
"public boolean isConnected() {\n return mConnectionSocket.isConnected() && !mConnectionSocket.isClosed();\n }",
"static synchronized boolean isCurrentRMIServerThreadSocketAlive()\n\t{\n\t\tif (threadSocketMap == null)\n\t\t{\n\t\t\treturn true;\n\t\t}\n\n\t\tfinal Socket socket = threadSocketMap.get(Thread.currentThread());\n\n\t\tboolean isAlive = true;\n\n\t\ttry\n\t\t{\n\t\t\tif (socket == null || socket.isClosed())\n\t\t\t{\n\t\t\t\tisAlive = false;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\t/*\n\t\t\t\t * When a client explicitly interrupts the InterruptibleRMIThread, the special value\n\t\t\t\t * SHUTDOWN_SOCKET is written to the socket indicating it should shut down.\n\t\t\t\t */\n\n\t\t\t\tfinal InputStream in = socket.getInputStream();\n\n\t\t\t\tif (in.available() > 0)\n\t\t\t\t{\n\t\t\t\t\tfinal int val = in.read();\n\n\t\t\t\t\tif (val == InterruptibleRMISocket.SHUTDOWN_SOCKET)\n\t\t\t\t\t{\n\t\t\t\t\t\tisAlive = false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\t\tcatch (final Exception e)\n\t\t{\n\t\t\t/*\n\t\t\t * If an exception occurs while calling an operation on the socket, then it's fair to\n\t\t\t * assume that the socket is dead.\n\t\t\t */\n\t\t\tisAlive = false;\n\t\t}\n\n\t\treturn isAlive;\n\t}",
"public boolean isOpen() {\n\t\t\n\t\t//If network is open\n\t\tif (this.open) {\n\t\t\t\n\t\t\treturn true;\n\t\t\t\n\t\t} else {\n\t\t\t\n\t\t\treturn false;\n\t\t\t\n\t\t}\n\t}",
"public boolean isConnected() {\n return connectionSocket.isConnected();\n }",
"boolean hasSock();",
"public boolean isOpen()\r\n\t{\r\n\t return (fd != null);\r\n\t}",
"public boolean hasSock() {\n\t\t\treturn sock_ != null;\n\t\t}",
"private boolean isOpened() {\n if (mIpcChannel != null && mIpcChannel.isOpened()) {\n return true;\n }\n\n return false;\n }",
"public boolean isRunning() {\n return this.runningThread != null && !serverSocket.isClosed();\n }",
"public boolean isOpen(int port)\n {\n try(DatagramSocket connection = new DatagramSocket(port, getInetAddress()))\n {\n addOpenPort(port);\n return true;\n }\n catch(IOException ioe)\n {\n return false;\n }\n }",
"boolean isSocketInitialized() {\n return clientSocket != null;\n }",
"public synchronized boolean open() {\r\n\t\tif (!closed) {\r\n\t\t\treturn true;\r\n\t\t}\r\n\r\n\t\t/*\r\n\t\t * Gets lock, and waits until the UDP listener is ready. This is\r\n\t\t * necessary because we do not know, whether the thread pool starts this\r\n\t\t * thread straight away or not.\r\n\t\t */\r\n\t\tsynchronized (lockObj) {\r\n\t\t\ttry {\r\n\t\t\t\tif (JMEDSFramework.getThreadPool().executeOrAbort(this)) {\r\n\t\t\t\t\twhile (closed) {\r\n\t\t\t\t\t\tlockObj.wait();\r\n\t\t\t\t\t}\r\n\t\t\t\t\treturn true;\r\n\t\t\t\t} else {\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t}\r\n\t\t\t} catch (InterruptedException e) {\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t}\r\n\t}",
"boolean hasSocketFamily();",
"public boolean isConnected() {\n\t\treturn conn != null;\n\t}",
"public boolean hasSock() {\n\t\t\t\treturn sockBuilder_ != null || sock_ != null;\n\t\t\t}",
"public boolean isOpen()\r\n {\r\n if(connection != null)\r\n {\r\n try\r\n {\r\n return !connection.isClosed();\r\n } catch(SQLException exception)\r\n {\r\n LOG.log(Level.SEVERE, \"\", exception);\r\n }\r\n }\r\n return false;\r\n }",
"public boolean isOpen() {\n return channel.isOpen();\n }",
"@Override\n public boolean isOnline() {\n if(mSocket != null && mSocket.isConnected())\n return true;\n return false;\n }",
"public boolean isConnected() {\n return (this.bluetoothSocket != null);\n }",
"boolean hasSocketProtocol();",
"@Override\n public boolean isConnected() {\n boolean result = false;\n synchronized (CONN_SYNC) {\n result = ((system != null) && system.isConnected());\n }\n return result;\n }",
"public boolean isOpened()\n {\n \n boolean retVal = isOpened_0(nativeObj);\n \n return retVal;\n }",
"protected boolean isConnected() {\n\t\tif (channel == null) {\n\t\t\treturn false;\n\t\t} else {\n\t\t\treturn channel.isOpen();\n\t\t}\n\t}",
"public static boolean isConnected() {\n return (getCon() != null);\n }",
"public static boolean isConnected() { return irc != null && irc.isConnected(); }",
"public synchronized boolean isListening() {\n\t\treturn isListening;\n\t}",
"private boolean canConnect() {\n \t\treturn (currentlyConnectingSockets.get() < maxConnectingSockets)\n \t\t\t\t&& (currentlyOpenSockets.get() < maxOpenSockets);\n \t}",
"public boolean hasSocketFamily() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }",
"public boolean isConnected() {\n return (this.session != null && this.session.isConnected());\n }",
"public boolean isConnected() {\n boolean status = false;\n try {\n status = connection != null && !connection.isClosed();\n } catch (SQLException ex) {\n LOGGER.log(Level.SEVERE, \"Unable to check connection status: {0}\", ex);\n }\n\n return status;\n }",
"public boolean checkConnection() {\n\t\ttry {\n\t\t\tif (con.isClosed() || !isAlive) {\n\t\t\t\treturn connect();\n\t\t\t}\n\t\t\treturn true;\n\t\t} catch (SQLException e) {\n\t\t\treturn false;\n\t\t}\n\t}",
"public boolean hasSocketFamily() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }",
"public boolean isConnected() {\n if (client == null) {\n return false;\n }\n return client.isConnected();\n }",
"public boolean isOpen(){\n\t\treturn this.channel != null;\n\t}",
"private boolean isConnected() {\n\t\treturn (this.serverConnection!=null); \n }",
"protected boolean connectionOpened() {\n\t\treturn connectionOpened;\n\t}",
"public boolean openPort() {\n comPort.openPort();\r\n return comPort.isOpen();\r\n }",
"public boolean isConnected()\n {\n return connectionId != GatewayProcess.NO_CONNECTION_ID;\n }",
"public boolean isOpen() {\n\t\treturn luaState != 0;\n\t}",
"public boolean isConnected() {\n\t\treturn this.isConnected;\n\t}",
"boolean hasAvailableConnection();",
"public boolean isOpened() {\r\n return opened != null;\r\n }",
"public boolean setupSocket() throws ExitProgram {\n\t\tboolean success = false;\n\t\t\n\t\tthis.showNamedMessage(\"Trying to open a new socket...\");\n\t\twhile (this.socket == null) { \n\t\t\ttry {\n\t\t\t\tthis.socket = TransportLayer.openNewDatagramSocket(this.ownPort);\n\t\t\t\tthis.showNamedMessage(\"Client now bound to port \" + ownPort);\n\t\t\t\tsuccess = true;\n\t\t\t} catch (SocketException e) {\n\t\t\t\tthis.showNamedError(\"Something went wrong when opening the socket: \"\n\t\t\t\t\t\t+ e.getLocalizedMessage());\n\t\t\t\tif (!textUI.getBoolean(\"Do you want to try again?\")) {\n\t\t\t\t\tthrow new exceptions.ExitProgram(\"User indicated to exit the \"\n\t\t\t\t\t\t\t+ \"program after socket opening failure.\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn success;\n\t}",
"public boolean isConnected();",
"public boolean isConnected();",
"public boolean isConnected();",
"public boolean isConnected();",
"public boolean isConnected();",
"boolean isOpened() throws Exception;",
"public static boolean isConnected() {\r\n\t\treturn dfl != null;\r\n\t}",
"public boolean isConnected()\n {\n return isConnected;\n }",
"public boolean isSocketGateInitialized(){\n\t\treturn this.isInitialized;\n\t}",
"public static boolean hasConnection() {\n \t\treturn connPool.getConnectionCount() > 0;\n \t}",
"public boolean isConnected() {\n return isConnected;\n }",
"public final boolean isAlive() {\n\t\tboolean isAlive = (new File(getFileNamePath())).isFile();\n\n\t\tif (isAlive) {\n\t\t\ttry (Socket socket = new Socket()) {\n\t\t\t\t// this will throw an exception if the socket is in use/unavailable.\n\t\t\t\tsocket.bind(\n\t\t\t\t\t\tnew InetSocketAddress(InetAddress.getLoopbackAddress().getHostAddress(), getPublisherPort()));\n\t\t\t\tisAlive = false;\n\t\t\t} catch (IOException e) {\n\t\t\t\tisAlive = true;\n\t\t\t} catch (Exception e) {\n\t\t\t\tif (SystemUtils.isInDebugMode()) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif (!isAlive) {\n\t\t\t// we should try to delete the file; this may be left over from a crashed\n\t\t\t// process..\n\t\t\tFileUtils.safeDeleteFile(getFileNamePath());\n\t\t}\n\n\t\treturn isAlive;\n\t}",
"public boolean isConnectionOpen() throws SQLException{\r\n return connection != null && !connection.isClosed();\r\n }",
"public static boolean isConnected()\r\n\t{\r\n\t\t return Globals.connected ;\r\n\t}",
"public boolean isConnecting ()\r\n\t{\r\n\t\tsynchronized (this)\r\n\t\t{\r\n\t\t\treturn _roboCOM!=null;\r\n\t\t}\r\n\t}",
"public boolean isConnected() {\n\t\t\treturn (m_soundManager instanceof RemoteSoundManager);\n\t\t}",
"public boolean hasActiveInternetConnection()\n {\n Runtime runtime = Runtime.getRuntime();\n try {\n Process ipProcess = runtime.exec(\"/system/bin/ping -c 1 8.8.8.8\");\n int exitValue = ipProcess.waitFor();\n return (exitValue == 0);\n } catch (IOException e) {\n e.printStackTrace();\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n return false;\n }",
"public boolean isOpened() {\n\t\treturn mCurrentState == STATE.OPENED;\n\t}",
"public final boolean isConnected() {\n\t\t// retornamos si existe una conexion\n\t\treturn this.getConnection() != null;\n\t}",
"public boolean isConnected() {\n if (mState == STATE_CONNECTED) {\n return true;\n }\n return false;\n }",
"public boolean open() {\n boolean success = true;\n SocketAddress serverAddress = new InetSocketAddress(serverHostName, serverHostPort);\n\n try {\n commSocket = new Socket();\n commSocket.connect(serverAddress);\n } catch(UnknownHostException e) {\n GenericIO.writelnString(Thread.currentThread().getName()\n + \" - the target server is an unknown host: \" + serverHostName + \"!\");\n e.printStackTrace();\n System.exit(1);\n } catch(NoRouteToHostException e) {\n GenericIO.writelnString(Thread.currentThread().getName()\n + \" - the target server is unreachable: \" + serverHostName + \"!\");\n e.printStackTrace();\n System.exit(1);\n } catch(ConnectException e) {\n GenericIO.writelnString(Thread.currentThread().getName()\n + \" - the server did not respond at: \" + serverHostName + \".\" + serverHostPort + \"!\");\n if (e.getMessage().equals(\"Connection refused\"))\n success = false;\n else {\n GenericIO.writelnString(e.getMessage() + \"!\");\n e.printStackTrace();\n System.exit(1);\n }\n } catch(SocketTimeoutException e) {\n GenericIO.writelnString(Thread.currentThread().getName()\n + \" - connection timed out while attempting to reach: \"\n + serverHostName + \".\" + serverHostPort + \"!\");\n success = false;\n } catch(IOException e) {\n GenericIO.writelnString(Thread.currentThread().getName()\n + \" - unidentified error while connecting to: \" + serverHostName + \".\" + serverHostPort + \"!\");\n e.printStackTrace();\n System.exit(1);\n }\n\n if(!success) return (success);\n\n try {\n outputStream = new ObjectOutputStream(commSocket.getOutputStream ());\n } catch(IOException e) {\n GenericIO.writelnString(Thread.currentThread().getName()\n + \" - could not open the socket's output stream!\");\n e.printStackTrace();\n System.exit(1);\n }\n\n try {\n inputStream = new ObjectInputStream(commSocket.getInputStream ());\n } catch(IOException e) {\n GenericIO.writelnString(Thread.currentThread ().getName ()\n + \" - could not open the socket's input stream!\");\n e.printStackTrace();\n System.exit(1);\n }\n\n return (success);\n }",
"public boolean estOuvert(){\n\n return netLinkIp.isOpen();\n\n }",
"public boolean connectionAlive() throws RemoteException;",
"@Override\n public boolean isopen( )\n {\n return logfile != null && out != null;\n }",
"public boolean isConnected(){\r\n\t\treturn connected;\r\n\t}",
"public boolean isConnectable(){\n\t\tif((System.currentTimeMillis() - this.lastTry) > retryBackoff){\n\t\t\tthis.lastTry = System.currentTimeMillis();\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}",
"@Override\n\tpublic boolean IsListening() {\n\t\treturn listening;\n\t}",
"private boolean isConnected() {\n try {\n return (conn != null) && conn.isValid(0);\n } catch (SQLException ex) {\n Logger.getLogger(DB.class.getName()).log(Level.SEVERE, null, ex);\n }\n return false;\n }",
"public boolean isOpened() {\n return opened;\n }",
"public boolean hasSocketProtocol() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }",
"public boolean isConnected() {\n PublishSubscriber<T> c = state.current;\n return c.connected && !c.done && !c.isDisposed();\n }",
"public boolean isConnected() {\n\t\treturn connected;\n\t}",
"public boolean isConnected() {\n\t\treturn connected;\n\t}",
"public boolean hasSocketProtocol() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }",
"public boolean isConnected() {\n return dataChannel != null && dataChannel.isConnected();\n }",
"public boolean isConnecting() {\n PublishSubscriber<T> c = state.current;\n return c.connecting && !c.connected && !c.done && !c.isDisposed();\n }",
"public boolean isOpen() {\n\t\treturn open;\n\t}",
"public boolean isConnected()\n {\n return connected;\n }",
"public boolean isConnected() {\n return this.connected;\n }",
"public boolean isConnected() {\n return this.connected;\n }",
"public boolean isOpen() {\r\n\t\treturn open;\r\n\t}",
"boolean isConnected();",
"boolean isConnected();",
"boolean isConnected();",
"boolean isConnected();",
"boolean isConnected();",
"boolean isConnected();",
"boolean isConnected();",
"boolean isConnected();",
"private boolean isConnected() {\n if (skylinkConnection != null) {\n return skylinkConnection.isConnected();\n }\n return false;\n }",
"public boolean CheckConnected() {\n return (tcp.Status() == TCP._CONNECTED);\n }",
"public boolean isConnected() {\r\n return connected;\r\n }",
"public boolean isOpened() {\n return opened;\n }"
] | [
"0.8213543",
"0.8058457",
"0.7568718",
"0.7564456",
"0.7381378",
"0.72325593",
"0.7168312",
"0.7153542",
"0.714896",
"0.7118714",
"0.7095965",
"0.709327",
"0.70266855",
"0.6989439",
"0.6915301",
"0.6905211",
"0.6858814",
"0.68143666",
"0.680707",
"0.6806547",
"0.6759379",
"0.67485845",
"0.6737616",
"0.6732088",
"0.6713815",
"0.6691111",
"0.666837",
"0.6655384",
"0.66402555",
"0.6632731",
"0.6622136",
"0.66152644",
"0.6599132",
"0.6589524",
"0.65762573",
"0.6568644",
"0.65634805",
"0.65409756",
"0.6516159",
"0.65117514",
"0.64982504",
"0.6497165",
"0.6493618",
"0.64851636",
"0.64457655",
"0.6442952",
"0.64336574",
"0.64111155",
"0.638188",
"0.638188",
"0.638188",
"0.638188",
"0.638188",
"0.6378315",
"0.63612664",
"0.6357584",
"0.6335153",
"0.63349223",
"0.6321104",
"0.631549",
"0.6312057",
"0.6311528",
"0.63104475",
"0.6305687",
"0.6304533",
"0.6303004",
"0.62913525",
"0.6291102",
"0.6290823",
"0.6284947",
"0.6268774",
"0.6267524",
"0.62664443",
"0.625693",
"0.6254853",
"0.62488943",
"0.62478113",
"0.6243027",
"0.6216368",
"0.6213312",
"0.6213312",
"0.6211795",
"0.6210038",
"0.62018317",
"0.6197239",
"0.61883944",
"0.61819804",
"0.61819804",
"0.6179233",
"0.61786914",
"0.61786914",
"0.61786914",
"0.61786914",
"0.61786914",
"0.61786914",
"0.61786914",
"0.61786914",
"0.6176278",
"0.61738586",
"0.61715955",
"0.6158316"
] | 0.0 | -1 |
Returns true if the connection is being gracefully closed, false otherwise. | public boolean isShuttingDown() {
return myShutdown.get();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean close() {\n\t\ttry {\n\t\t\tconnection.close();\n\t\t\treturn connection.isClosed();\n\t\t} catch (SQLException e) {\n\t\t\te.printStackTrace();\n\t\t\treturn false;\n\t\t}\n\t}",
"public boolean isClosed() {\n\t\treturn (dbConnection == null);\n\t}",
"public boolean shouldClose(Connection conn) {\n return true;\n }",
"public final boolean isClosed() {\n return closeReceived && isCloseSent();\n }",
"public boolean closeConnection(){\n try{\n conn.close();\n }catch(SQLException sqle){\n DLException dle = new DLException(sqle, \"Unable to conclude this operation\");\n return false;\n }\n \n return true;\n }",
"public boolean isConnected() {\n boolean status = false;\n try {\n status = connection != null && !connection.isClosed();\n } catch (SQLException ex) {\n LOGGER.log(Level.SEVERE, \"Unable to check connection status: {0}\", ex);\n }\n\n return status;\n }",
"boolean isConnectionLost()\n\t{\n\t\tboolean lost = false;\n\n\t\tif (m_session != null && !m_session.isConnected())\n\t\t\tlost = true;\n\n\t\treturn lost;\n\t}",
"public boolean checkConnection() {\n\t\ttry {\n\t\t\tif (con.isClosed() || !isAlive) {\n\t\t\t\treturn connect();\n\t\t\t}\n\t\t\treturn true;\n\t\t} catch (SQLException e) {\n\t\t\treturn false;\n\t\t}\n\t}",
"public boolean isOpen()\r\n {\r\n if(connection != null)\r\n {\r\n try\r\n {\r\n return !connection.isClosed();\r\n } catch(SQLException exception)\r\n {\r\n LOG.log(Level.SEVERE, \"\", exception);\r\n }\r\n }\r\n return false;\r\n }",
"public boolean disconnect(){\n \n try{\n \n if(this.connection.isClosed() == false){\n this.connection.close();\n }\n \n }catch(SQLException e){\n \n System.out.println(e.getMessage());\n return false;\n }\n \n System.out.println(\"Disconnection success\");\n \n return true;\n }",
"protected synchronized boolean isSockOpen(){\n\t\ttry{\n\t\t\tif(out.checkError()){\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}catch(Exception e){\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}",
"public boolean isClosed() throws RemoteException {\r\n return closed;\r\n }",
"public boolean checkConnected() {\n boolean isClosed = true;\n boolean isValid = false;\n boolean exists = (connection != null);\n\n // If we're waiting for server to recover then leave early\n if (nextReconnectTimestamp > 0 && nextReconnectTimestamp > System.nanoTime()) {\n return false;\n }\n\n if (exists) {\n try {\n isClosed = connection.isClosed();\n }\n catch (SQLException e) {\n isClosed = true;\n e.printStackTrace();\n printErrors(e);\n }\n\n if (!isClosed) {\n try {\n isValid = connection.isValid(VALID_TIMEOUT);\n }\n catch (SQLException e) {\n // Don't print stack trace because it's valid to lose idle connections to the server and have to restart them.\n isValid = false;\n }\n }\n }\n\n // Leave if all ok\n if (exists && !isClosed && isValid) {\n // Housekeeping\n nextReconnectTimestamp = 0;\n reconnectAttempt = 0;\n return true;\n }\n\n // Cleanup after ourselves for GC and MySQL's sake\n if (exists && !isClosed) {\n try {\n connection.close();\n }\n catch (SQLException ex) {\n // This is a housekeeping exercise, ignore errors\n }\n }\n\n // Try to connect again\n connect();\n\n // Leave if connection is good\n try {\n if (connection != null && !connection.isClosed()) {\n // Schedule a database save if we really had an outage\n if (reconnectAttempt > 1) {\n new SQLReconnectTask().runTaskLater(Assassin.p, 5);\n }\n nextReconnectTimestamp = 0;\n reconnectAttempt = 0;\n return true;\n }\n }\n catch (SQLException e) {\n // Failed to check isClosed, so presume connection is bad and attempt later\n e.printStackTrace();\n printErrors(e);\n }\n\n reconnectAttempt++;\n nextReconnectTimestamp = (long) (System.nanoTime() + Math.min(MAX_WAIT, (reconnectAttempt * SCALING_FACTOR * MIN_WAIT)));\n return false;\n }",
"boolean isCloseRequested()\r\n\t{\r\n\t\treturn this.closeRequested;\r\n\t}",
"public boolean isClosed() throws SQLException {\n\n try {\n debugCodeCall(\"isClosed\");\n return result == null;\n }\n catch (Exception e) {\n throw logAndConvert(e);\n }\n }",
"protected boolean shouldCloseConnection(HttpConnection conn) {\n\n // if we are not chunked and there is no content length the connection\n // cannot be reused\n if (responseHeaders.getFirstHeader(\"Transfer-Encoding\") == null \n && getResponseContentLength() < 0) {\n LOG.debug(\"Should close connection as content-length is missing.\");\n return true;\n }\n\n Header connectionHeader = null;\n // In case being connected via a proxy server\n if (!conn.isTransparent()) {\n // Check for 'proxy-connection' directive\n connectionHeader = responseHeaders.getFirstHeader(\"proxy-connection\");\n }\n // In all cases Check for 'connection' directive\n // some non-complaint proxy servers send it instread of\n // expected 'proxy-connection' directive\n if (connectionHeader == null) {\n connectionHeader = responseHeaders.getFirstHeader(\"connection\");\n }\n if (connectionHeader != null) {\n if (connectionHeader.getValue().equalsIgnoreCase(\"close\")) {\n if (LOG.isDebugEnabled()) {\n LOG.debug(\"Should close connection in response to \" \n + connectionHeader.toExternalForm());\n }\n return true;\n } else if (connectionHeader.getValue().equalsIgnoreCase(\"keep-alive\")) {\n if (LOG.isDebugEnabled()) {\n LOG.debug(\"Should NOT close connection in response to \" \n + connectionHeader.toExternalForm());\n }\n return false;\n } else {\n if (LOG.isDebugEnabled()) {\n LOG.debug(\"Unknown directive: \" + connectionHeader.toExternalForm());\n }\n }\n }\n LOG.debug(\"Resorting to protocol version default close connection policy\");\n // missing or invalid connection header, do the default\n if (http11) {\n LOG.debug(\"Should NOT close connection, using HTTP/1.1.\");\n } else {\n LOG.debug(\"Should close connection, using HTTP/1.0.\");\n }\n return !http11;\n }",
"public boolean close() {\n\t\t\n\t\t///\n\t\t/// declare local variables\n\t\t///\n\t\t\n\t\tboolean success = true;\t\t// holds whether or not connection was closed successfully\n\t\t\n\t\t// try to close the connection\n\t\ttry {\n\t\t\tconn.close();\n\t\t} catch (SQLException e) {\n\t\t\tsuccess = false;\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\t// return whether or not the connection was closed successfully\n\t\treturn success;\n\t\t\n\t}",
"private boolean closeServer() {\n\t\ttry {\n\t\t\topenedSocket.close();\n\t\t\treturn true;\n\t\t\t\n\t\t} catch (IOException e) {\n\t\t\treturn false;\n\t\t}\t\t\n\t}",
"public boolean isConnected() {\n\t\treturn sock != null;\n\t}",
"protected boolean shouldCloseConnection(HttpConnection conn) {\n return true;\n }",
"@Override\n public final boolean close() {\n if(this.connectThread != null) this.connectThread.close();\n this.connectThread = null;\n this.disconnectFromServer();\n if(this.receiveThread != null) this.receiveThread.waitExited();\n this.receiveThread = null;\n this.dos = null;\n this.dis = null;\n return true;\n }",
"protected boolean isConnected() {\n\t\tif (channel == null) {\n\t\t\treturn false;\n\t\t} else {\n\t\t\treturn channel.isOpen();\n\t\t}\n\t}",
"public boolean isClosed() {\n\t\treturn mService == null;\n\t}",
"public boolean isKeepAlive()\r\n/* 147: */ {\r\n/* 148: */ try\r\n/* 149: */ {\r\n/* 150:167 */ return this.javaSocket.getKeepAlive();\r\n/* 151: */ }\r\n/* 152: */ catch (SocketException e)\r\n/* 153: */ {\r\n/* 154:169 */ throw new ChannelException(e);\r\n/* 155: */ }\r\n/* 156: */ }",
"public boolean closeConnection(){\n try {\n dbConnect.close();\n } catch (SQLException e) {\n status = \"Connection close failed: \" + e.getMessage();\n return false;\n }\n // connection closed\n status = \"Connection closed\";\n connected = false;\n return true;\n }",
"public boolean isClosed() {\n\t\tsynchronized (closed) {\n\t\t\treturn closed;\n\t\t}\n\t}",
"private boolean isCloseSent() {\n return outputPeer.isCloseSent();\n }",
"public boolean close() {\n\t\tif(isOpen()){\n\t\t\treturn releaseChannel();\n\t\t}\n\t\treturn true;\n\t}",
"public boolean isConnectionOpen() throws SQLException{\r\n return connection != null && !connection.isClosed();\r\n }",
"public boolean needsConnectionLeftOpen() {\n return false;\n }",
"boolean hasDisconnect();",
"public synchronized boolean isClosed() {\r\n\t\treturn closed;\r\n\t}",
"public boolean isDBConnected() {\n\t\ttry {\n\t\t\treturn !conn.isClosed();\n\t\t} catch (SQLException e) {\n\t\t\treturn false;\n\t\t}\n\t}",
"public boolean isConnected() {\n\t\treturn conn != null;\n\t}",
"public boolean connectionAlive() throws RemoteException;",
"public boolean closeConnection() {\n try {\n connection.close();\n return true;\n } \n catch(SQLException ex) {\n Logger.getLogger(UserDBManager.class.getName()).log(Level.SEVERE, null, ex);\n return false;\n }\n }",
"public boolean socketStillAlive() {\n if (bluetoothSocket != null)\n return bluetoothSocket.getSocket() != null;\n return false;\n }",
"protected boolean connectionOpened() {\n\t\treturn connectionOpened;\n\t}",
"public boolean disconnect() {\n\t\ttry {\n\t\t\tthis.m.close();\n\t\t} catch (Exception e) {\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}",
"public boolean isConnected() {\n return mConnectionSocket.isConnected() && !mConnectionSocket.isClosed();\n }",
"@Override\r\n\tpublic boolean isOpen() {\r\n\t\t//\r\n\t\treturn this.socket.isOpen();\r\n\t}",
"public boolean disconnectDB(){\n\t\ttry {\n\t\t\tconnection.close();\n\t\t} catch (SQLException e) {\n\t\t\treturn false;\n\t\t}\n return true;\n }",
"public boolean canClose(){\n return true;\n }",
"private boolean verifyBTClosed() {\n if (btSocket != null) {\n try {\n btSocket.close();\n btSocket = null;\n } catch (IOException e) {\n Log.d(TAG, \"Exception closing BT socket in BT thread: \" + e.toString());\n } finally {\n sendConnectionMessage(EventMessage.EventType.HW_DISCONNECTED);\n btSocket = null;\n }\n }\n return false;\n }",
"private boolean isConnected() {\n try {\n return (conn != null) && conn.isValid(0);\n } catch (SQLException ex) {\n Logger.getLogger(DB.class.getName()).log(Level.SEVERE, null, ex);\n }\n return false;\n }",
"private boolean checkConnection() {\n return isConnected = ConnectionReceiver.isConnected();\n }",
"private boolean checkConnection() {\n return isConnected = ConnectionReceiver.isConnected();\n }",
"public boolean closed() {\r\n return closed;\r\n }",
"private synchronized boolean isClosed()\n {\n return isClosed;\n }",
"private boolean isOpened() {\n if (mIpcChannel != null && mIpcChannel.isOpened()) {\n return true;\n }\n\n return false;\n }",
"public boolean isShutdown() {\n lock.lock();\n try {\n return state == State.SHUTDOWN;\n } finally {\n lock.unlock();\n }\n }",
"public boolean isClosed() {\n return this.closed.get();\n }",
"@Override\n\tpublic boolean isClosed() throws SQLException {\n\t\treturn false;\n\t}",
"@Override\r\n\tpublic boolean isClosed() throws SQLException {\n\t\treturn false;\r\n\t}",
"@Override\r\n\tpublic boolean isClosed() throws SQLException {\n\t\treturn false;\r\n\t}",
"public boolean checkConnection() {\n\treturn getBoolean(ATTR_CONNECTION, false);\n }",
"private boolean checkOpen(boolean recordException) {\n/* 650 */ if (!isOpen()) {\n/* 651 */ if (recordException) {\n/* 652 */ recordException(new ClosedChannelException());\n/* */ }\n/* 654 */ return false;\n/* */ } \n/* */ \n/* 657 */ return true;\n/* */ }",
"public boolean isConnected()\n {\n return connectionId != GatewayProcess.NO_CONNECTION_ID;\n }",
"public boolean isClosed() {\n return (mRLS == null);\n }",
"private boolean isConnected() {\n\t\treturn (this.serverConnection!=null); \n }",
"public boolean isEngineClosed() {\r\n return (tlsEngine.isOutboundDone() && tlsEngine.isInboundDone());\r\n }",
"boolean isIsClosable();",
"public boolean isClosed() {\n return closed;\n }",
"public boolean isConnected() {\n return connectionSocket.isConnected();\n }",
"@Override\r\n public boolean reconnect()\r\n {\n return state.isConnected();\r\n }",
"public boolean isClosed(){\n return this.closed.get();\n }",
"public boolean isConnected() {\n PublishSubscriber<T> c = state.current;\n return c.connected && !c.done && !c.isDisposed();\n }",
"public boolean isClosed() {\n boolean result = true;\n for( Iterator it = this.rcIterator(); it.hasNext() ; ){\n ReplicaCatalog catalog = (ReplicaCatalog) it.next();\n result &= catalog.isClosed( );\n }\n return result;\n\n }",
"public static boolean hasConnection() {\n \t\treturn connPool.getConnectionCount() > 0;\n \t}",
"@Override\n public boolean isConnected() {\n boolean result = false;\n synchronized (CONN_SYNC) {\n result = ((system != null) && system.isConnected());\n }\n return result;\n }",
"@Override\r\n\t\tpublic boolean isClosed() throws SQLException {\n\t\t\treturn false;\r\n\t\t}",
"private boolean streamClosed() {\n boolean closed = false;\n if (nonNull(dataStream) && Objects.nonNull(streamLinkedOrConsumedField)) {\n try {\n closed = (boolean) streamLinkedOrConsumedField.get(dataStream);\n } catch (Exception e) {\n }\n }\n return closed;\n }",
"@Override\n public boolean isClosed() throws SQLException {\n return false;\n }",
"public boolean connectionActive() {\n\t\tif (socketConnection == null) {\n\t\t\treturn false;\n\t\t} else {\n\t\t\treturn socketConnection.isConnected();\n\t\t}\n\t}",
"public boolean isConnected() {\n return (this.session != null && this.session.isConnected());\n }",
"public static boolean isConnected() {\n return (getCon() != null);\n }",
"public boolean isClosed() {\n return closed;\n }",
"public boolean isShuttingDown() {\n return shuttingDown;\n }",
"public boolean endConnection() throws CommunicationException;",
"boolean isShutdownGraceful();",
"public boolean isConnected() {\n return (this.bluetoothSocket != null);\n }",
"public boolean disconnectDB(){\r\n if (connection == null) {\r\n return false;\r\n } else {\r\n try {\r\n connection.close();\r\n return true;\r\n }\r\n catch(SQLException e){\r\n return false;\r\n }\r\n } \r\n }",
"public boolean isClosed() {\n return this.isClosed;\n }",
"public boolean isConnecting() {\n PublishSubscriber<T> c = state.current;\n return c.connecting && !c.connected && !c.done && !c.isDisposed();\n }",
"public boolean isDbConnected(Connection dbConnection) {\n try {\n return !dbConnection.isClosed();\n } catch (SQLException e) {\n e.printStackTrace();\n }\n return false;\n }",
"@Override\r\n\tpublic boolean isConnected() {\n\t\treturn false;\r\n\t}",
"public boolean disconnect() {\n if(!this.isConnected()) {\n return true;\n }\n try {\n this.bluetoothSocket.close();\n this.bluetoothSocket = null;\n return true;\n } catch (IOException e) {\n e.printStackTrace();\n }\n return false;\n }",
"public boolean isClosed() {\n\t\treturn this.closed;\n\t}",
"public boolean isEndOfChannel() {\n return endOfChannel;\n }",
"private boolean timeout() {\n long time = SystemClock.currentThreadTimeMillis();\n while (bluetoothSync.getState() != BluetoothSync.STATE_CONNECTED) {\n if (SystemClock.currentThreadTimeMillis() > time + Constants.Bluetooth.CONNECTION_TIMEOUT) {\n return false;\n }\n }\n return true;\n }",
"public final boolean isConnected() {\n\t\t// retornamos si existe una conexion\n\t\treturn this.getConnection() != null;\n\t}",
"public boolean disconnectDB() {\n // Replace this return statement with an implementation of this method!\n boolean retVal = false;\n \t\t\t\n \ttry{\n \t\tif(connection!= null){\n \t\t\tconnection.close();\n \t\t\tretVal = true;\t\t\n \t\t}\n \t}catch(SQLException se){\n \t\tSystem.err.println(\"SQL Exception.\" +\n \"<Message>: \" + se.getMessage());\t\t\n \t}\n \t\n return retVal;\n }",
"@Override\r\n\tpublic boolean isCloseOnCompletion() throws SQLException {\n\t\treturn false;\r\n\t}",
"@Override\r\n\tpublic boolean isCloseOnCompletion() throws SQLException {\n\t\treturn false;\r\n\t}",
"@Override\r\n\tpublic boolean isCloseOnCompletion() throws SQLException {\n\t\treturn false;\r\n\t}",
"public boolean isKeepAlive(){\n if(contains(\"Connection\")) {\n return !contains(\"Connection\", \"close\");\n } else if(getMajor() > 1) {\n return true; \n } else if(getMajor() == 1) {\n return getMinor() > 0;\n }\n return false;\n }",
"@Override\n\tpublic boolean isCloseOnCompletion() throws SQLException {\n\t\treturn false;\n\t}",
"public boolean isClosed() {\n\t\treturn ( mCurrentState == STATE.CLOSED_CANCEL ) || ( mCurrentState == STATE.CLOSED_CONFIRMED );\n\t}",
"public boolean isClosed()\n {\n return _isClosed;\n }",
"public boolean isClosed()\n {\n return _isClosed;\n }"
] | [
"0.7530283",
"0.74242705",
"0.7204735",
"0.7157002",
"0.71518874",
"0.7150631",
"0.71049476",
"0.705987",
"0.7017874",
"0.6955435",
"0.69539803",
"0.6926694",
"0.69053376",
"0.69046193",
"0.6877696",
"0.68649846",
"0.68647456",
"0.68426985",
"0.68076986",
"0.6753144",
"0.67411304",
"0.6736965",
"0.6736777",
"0.67353386",
"0.67346686",
"0.671017",
"0.6696912",
"0.66745955",
"0.66702676",
"0.66639394",
"0.66578835",
"0.663771",
"0.66310114",
"0.66224486",
"0.6621048",
"0.6614112",
"0.66036904",
"0.65897846",
"0.6583357",
"0.6562485",
"0.6557945",
"0.6540577",
"0.6529018",
"0.6523239",
"0.6476779",
"0.6474742",
"0.6474742",
"0.6471315",
"0.6466721",
"0.6460684",
"0.6448772",
"0.6444023",
"0.64400685",
"0.643628",
"0.643628",
"0.64347386",
"0.64275044",
"0.64065105",
"0.6398941",
"0.6387863",
"0.6382029",
"0.6367561",
"0.63657755",
"0.6361148",
"0.63562065",
"0.63532555",
"0.6345423",
"0.6337459",
"0.6336366",
"0.6330176",
"0.63167775",
"0.6311531",
"0.6309898",
"0.630662",
"0.6302808",
"0.6302223",
"0.629544",
"0.62898153",
"0.628479",
"0.62727094",
"0.62667906",
"0.6248769",
"0.62454736",
"0.62434095",
"0.62370944",
"0.6230776",
"0.62223244",
"0.6222208",
"0.62198496",
"0.6214346",
"0.6214071",
"0.62071085",
"0.6205827",
"0.6205827",
"0.6205827",
"0.62033117",
"0.620005",
"0.6199925",
"0.6199744",
"0.6199744"
] | 0.6315779 | 71 |
Notifies the connection that once all outstanding requests have been sent and all replies received the Connection should be closed. This method will return prior to the connection being closed. | public void shutdown(final boolean force) {
// Mark
myShutdown.set(true);
if (force) {
IOUtils.close(this);
}
else {
if (isOpen()) {
// Force a message with a callback to wake the receiver up.
try {
final OUT buffer = createIsMasterBuffer();
send(buffer);
}
catch (final IOException e) {
myLog.warn("Could not send a message to wake up the "
+ "receive thread on a shutdown.", e);
}
}
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n protected void connectionClosed(Peer.CloseReason reason)\n {\n Stream.concat(sendQueue.stream(), blockRequests.stream())\n .filter(pm -> pm.type == StdPeerMessage.REQUEST)\n .forEach(pm -> {\n torrent.cancelBlockRequest(pm.index, pm.begin);\n });\n\n // release messages\n sendQueue.forEach( pmCache::release);\n sendQueue.clear();\n // and active requests\n blockRequests.forEach( pmCache::release);\n blockRequests.clear();\n // peerRequests\n peerBlockRequests.forEach( pmCache::release);\n peerBlockRequests.clear();\n\n peer.setConnectionClosed(reason);\n\n // incoming connections could be not linked yet\n if (torrent != null) {\n torrent.onPeerDisconnect(this);\n }\n\n // todo: release caches via connectionFactory\n }",
"protected void connectionClosed() {}",
"public synchronized void connectionClosed() {\n connCount--;\n Waiter waiter = getNextWaiter();\n if (waiter != null) {\n // There's a waiter - so it can have a new connection\n createNewConnection(waiter);\n } else if (connCount == 0) {\n // No waiters and no connections - remove the ConnQueue\n connQueues.remove(address);\n }\n }",
"public void onConnectionClosed() {\r\n\t\tcurrentConnections.decrementAndGet();\r\n\t}",
"private void handleClosedConnection() {\n final int currentConnections = concurrentConnections.decrementAndGet();\n\n log.debug(\"[Vertx-EventMetricsStream] - Current Connections - {} / Max Connections {}\", currentConnections, maxConcurrentConnections.get());\n }",
"@Override\n public final boolean close() {\n if(this.connectThread != null) this.connectThread.close();\n this.connectThread = null;\n this.disconnectFromServer();\n if(this.receiveThread != null) this.receiveThread.waitExited();\n this.receiveThread = null;\n this.dos = null;\n this.dis = null;\n return true;\n }",
"public synchronized void responseEnded(ClientConnection conn, boolean close) {\n synchronized (queue) {\n if ((pipelining || keepAlive) && !close) {\n if (conn.getCurrentRequest() == null) {\n Waiter waiter = queue.getNextWaiter();\n if (waiter != null) {\n Context context = waiter.context;\n if (context == null) {\n context = conn.getContext();\n }\n context.runOnContext(v -> deliverStream(conn, waiter));\n } else if (conn.getOutstandingRequestCount() == 0) {\n // Return to set of available from here to not return it several times\n availableConnections.add(conn);\n }\n }\n } else {\n // Close it now\n conn.close();\n }\n }\n }",
"public void end()\n {\n keepingAlive = false;\n if (channel == null)\n {\n channel = connectFuture.getChannel();\n connectFuture.cancel();\n }\n if (channel != null)\n {\n channel.close();\n }\n }",
"public FutureDone<Void> shutdown() {\n // set shutdown flag for UDP and TCP, if we acquire a write lock, all read locks are blocked as well\n writeUDP.lock();\n writeTCP.lock();\n try {\n if (shutdownTCP || shutdownUDP) {\n shutdownFuture().setFailed(\"already shutting down\");\n return shutdownFuture();\n }\n shutdownUDP = true;\n shutdownTCP = true;\n } finally {\n writeTCP.unlock();\n writeUDP.unlock();\n }\n\n recipients.close().addListener(new GenericFutureListener<ChannelGroupFuture>() {\n @Override\n public void operationComplete(final ChannelGroupFuture future) throws Exception {\n if (!semaphoreUPD.tryAcquire(maxPermitsUDP)) {\n LOG.error(\"Cannot shutdown, as connections (UDP) are still alive\");\n shutdownFuture().setFailed(\"Cannot shutdown, as connections (UDP) are still alive\");\n throw new RuntimeException(\"Cannot shutdown, as connections (UDP) are still alive\");\n }\n if (!semaphoreTCP.tryAcquire(maxPermitsTCP)) {\n LOG.error(\"Cannot shutdown, as connections (TCP) are still alive\");\n shutdownFuture().setFailed(\"Cannot shutdown, as connections (TCP) are still alive\");\n throw new RuntimeException(\"Cannot shutdown, as connections (TCP) are still alive\");\n }\n shutdownFuture().setDone();\n }\n });\n return shutdownFuture();\n }",
"public void close() {\n connection.close();\n running = false;\n }",
"private void close(Exception cause) {\n if (closed.compareAndSet(false, true)) {\n sock.close();\n\n for (ClientRequestFuture pendingReq : pendingReqs.values())\n pendingReq.completeExceptionally(new IgniteClientConnectionException(\"Channel is closed\", cause));\n }\n }",
"void handleConnectionClosed();",
"private boolean finish(boolean releaseAll) {\n/* 485 */ close();\n/* */ try {\n/* 487 */ checkException();\n/* 488 */ return (isNotEmpty(this.inboundMessages) || isNotEmpty(this.outboundMessages));\n/* */ } finally {\n/* 490 */ if (releaseAll) {\n/* 491 */ releaseAll(this.inboundMessages);\n/* 492 */ releaseAll(this.outboundMessages);\n/* */ } \n/* */ } \n/* */ }",
"public void finishedAllRequests() {\n hasMoreRequests = false;\n }",
"public boolean endConnection() throws CommunicationException;",
"final public void closeConnection() throws IOException {\n\n readyToStop = true;\n closeAll();\n }",
"private void finishRequests(){\n\t\tpeer.getRequests().removeAll(finishedRequestsList);\n\t\tfinishedRequestsList.clear();\n\t}",
"@Override\n\tpublic void connectionClosed() {\n\t}",
"public void shutdown() {\n for (Connection connection : connections) { //Try closing all connections\n closeConnection(connection);\n }\n }",
"@Override\r\n\tpublic boolean end() {\r\n\t\tif (closed.compareAndSet(false, true)) {\r\n\t\t\taddToQueueAndSend(new byte[0]);\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\treturn false;\r\n\t}",
"@Override\n public synchronized void close() {\n disconnect();\n mClosed = true;\n }",
"private void connectionClosed() {\n if (this.state != SessionState.DISCONNECTING) {\n // this came unexpected\n connectionClosed(new VertxException(\"Connection closed\"));\n }\n }",
"@Override\n public synchronized void close() {\n mOpenConnections--;\n if (mOpenConnections == 0) {\n super.close();\n }\n }",
"@Override\n public synchronized void close() {\n mOpenConnections--;\n if (mOpenConnections == 0) {\n super.close();\n }\n }",
"@Override\n public void close() {\n if (!this.closed) {\n this.closed = true;\n this.requestsMap.values().forEach(request -> {\n try {\n ucpWorker.cancelRequest(request);\n } catch (NullPointerException nex) {\n // ignored, already cancelled\n }\n });\n }\n }",
"public void close()\n {\n getConnectionManager().shutdown();\n }",
"public synchronized void closeAllConnections() {\n\t\tstop();\n\t}",
"private void close() {\n\t\t\tassert this.sendLock.writeLock().isHeldByCurrentThread();\n\t\t\tthis.dead = true;\n\t\t\tStoreRequest s = writesByRows.remove(this.row);\n\t\t\t// This request was THE only request for its row\n\t\t\tassert this == s;\n\t\t\tlogger.fine(this.toString() + \" sent on \" + new Date(System.currentTimeMillis()) + \" and not replanned\");\n\t\t}",
"private void closeConnection(){\n report(\"Close connection\");\n try{\n if(socket != null && !socket.isClosed()) {\n report(\"Client: Close socket\");\n socket.close();\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n report(\"End\");\n }",
"public void close() {\n // close socket\n if (socket != null) {\n try {\n socket.close();\n } catch (IOException e) {\n // ignore\n }\n }\n\n socket = null;\n in = null;\n out = null;\n\n // try to stop dispather\n if (dispatcher != null) {\n dispatcher.setStopped(true);\n dispatcher.interrupt();\n }\n\n // notify all blocked thread\n if (requests != null) {\n for (Element element : requests.values()) {\n if (element.lock != null) {\n synchronized (element.lock) {\n element.lock.notify();\n }\n } else {\n // TODO notify persistent search listeners\n }\n }\n requests.clear();\n requests = null;\n }\n\n }",
"private void closeConnection() {\n try {\n fromClient.close();\n toClient.close();\n client.close();\n } catch (IOException e) {\n System.err.println(\"Unable to close connection:\" + e.getMessage());\n }\n }",
"private void closeConnection() {\n\t\t_client.getConnectionManager().shutdown();\n\t}",
"void close()\n {\n DisconnectInfo disconnectInfo = connection.getDisconnectInfo();\n if (disconnectInfo == null)\n {\n disconnectInfo = connection.setDisconnectInfo(\n new DisconnectInfo(connection, DisconnectType.UNKNOWN, null, null));\n }\n\n // Determine if this connection was closed by a finalizer.\n final boolean closedByFinalizer =\n ((disconnectInfo.getType() == DisconnectType.CLOSED_BY_FINALIZER) &&\n socket.isConnected());\n\n\n // Make sure that the connection reader is no longer running.\n try\n {\n connectionReader.close(false);\n }\n catch (final Exception e)\n {\n debugException(e);\n }\n\n try\n {\n outputStream.close();\n }\n catch (final Exception e)\n {\n debugException(e);\n }\n\n try\n {\n socket.close();\n }\n catch (final Exception e)\n {\n debugException(e);\n }\n\n if (saslClient != null)\n {\n try\n {\n saslClient.dispose();\n }\n catch (final Exception e)\n {\n debugException(e);\n }\n finally\n {\n saslClient = null;\n }\n }\n\n debugDisconnect(host, port, connection, disconnectInfo.getType(),\n disconnectInfo.getMessage(), disconnectInfo.getCause());\n if (closedByFinalizer && debugEnabled(DebugType.LDAP))\n {\n debug(Level.WARNING, DebugType.LDAP,\n \"Connection closed by LDAP SDK finalizer: \" + toString());\n }\n disconnectInfo.notifyDisconnectHandler();\n }",
"@Override\n public void channelInactive(ChannelHandlerContext ctx) throws Exception {\n logger.debug(\"client {} inactive\", Connection.this);\n if (!isInitialized || isClosed()) {\n errorOutAllHandler(new TransportException(address, \"Channel has been closed\"));\n // we still want to force so that the future completes\n Connection.this.closeAsync().force();\n } else {\n defunct(new TransportException(address, \"Channel has been closed\"));\n }\n }",
"@Override\n\tprotected void onClose() {\n\t\tcloseConnections();\n\t}",
"@Override\n \tpublic void connectionClosed() {\n \t\t\n \t}",
"private void closeInternal() {\n try {\n synchronized (internalLock) {\n if (!isClosed) {\n isClosed = true;\n if (socket != null) {\n socket.close();\n pendingMessages = true;\n internalLock.notify();\n }\n }\n }\n } catch (IOException e) {\n // This should never happen\n }\n }",
"private void closeConnection() {\n\t\t\tSystem.out.println(\"\\nTerminating connection \" + myConID + \"\\n\");\n\t\t\ttry {\n\t\t\t\toutput.close(); // close output stream\n\t\t\t\tinput.close(); // close input stream\n\t\t\t\tconnection.close(); // close socket\n\t\t\t} catch (IOException ioException) {\n\t\t\t\tSystem.out.println(\"Exception occured in closing connection\"\n\t\t\t\t\t\t+ ioException);\n\t\t\t}\n\t\t}",
"@Override\n\tprotected void finalize() throws Throwable {\n\t\t\n\t\tif (this.connection != null) {\n\t\t\tthis.connection.close();\t\t\n\t\t}\n\t\tsuper.finalize();\n\t}",
"@Override\n\tpublic void finish() {\n\t\ttry {\n\t\t\tunregisterReceiver(closeReceiver);\n\t\t}\n\t\tcatch (Exception e) {\n\t\t}\n\t\tsuper.finish();\n\t}",
"public void closeConnections() {\r\n\t\t\ttry {\r\n\t\t\t\toutStream.close();\r\n\t\t\t\tinStream.close();\r\n\t\t\t\tpeerToPeerSocket.close();\r\n\t\t\t\t//System.out.println(\"Connection closing...\");\r\n\t\t\t}\r\n\t\t\tcatch(Exception e) {\r\n\t\t\t\tSystem.out.println(\"Couldn't close connections...\");\r\n\t\t\t}\r\n\t\t}",
"protected void close() {\n\t\tthis.connection.close();\n\t\tthis.connection = null;\n\t}",
"private void close() {\n\t\ttry {\n\t\t\tsendCommand(\"end\\n\");\n\t\t\tout.close();\n\t\t\tin.close();\n\t\t\tsocket.close();\n\t\t} catch (MossException e) {\n\t\t} catch (IOException e2) {\n\t\t} finally {\n\t\t\tcurrentStage = Stage.DISCONNECTED;\n\t\t}\n\n\t}",
"public void closeConnections() throws MessagingException;",
"public synchronized void connectionClosed(ClientConnection conn) {\n synchronized (queue) {\n allConnections.remove(conn);\n availableConnections.remove(conn);\n queue.connectionClosed();\n }\n }",
"@Override\n public void closeConnection() {\n\n System.out.println(\"[CLIENT] Closing socket connection...\");\n try {\n socket.close();\n in.close();\n out.close();\n System.out.println(\"[CLIENT] Closed socket connection.\");\n } catch (IOException e) {\n System.out.println(\"[CLIENT] Error occurred when closing socket\");\n }\n System.exit(0);\n\n }",
"private void closeConnection() {\r\n try {\r\n socket.close();\r\n } catch (IOException ex) {\r\n // Ex on close\r\n }\r\n }",
"public void closeConnection() {\n\t\ttry {\n\t\t\tsocket.close();\n\t\t} catch (IOException e) {\n\t\t\tlogger.warning(\"problem closing socket connection with JSON-RPC server at \" + serverIP + \":\" + serverPort);\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"public synchronized void closeExpiredConnections() {\n/* 337 */ if (this.isShutdown.get()) {\n/* */ return;\n/* */ }\n/* 340 */ if (!this.leased) {\n/* 341 */ checkExpiry();\n/* */ }\n/* */ }",
"public synchronized void closeConnection() {\n try {\n connected = false;\n socket.close();\n System.out.println(\"[SERVER] Connection closed with client\");\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"public synchronized void connectionClosed(Connection con) {\n if (!term) connections.remove(con);\n }",
"public void finalize() {\n\t\ttry {\n\t\t\tif (!socket.isClosed()) { \n\t\t\t\tsocket.close();\n\t\t\t}\n\t\t} catch(Exception ex) {\n\t\t\tLOG.info(\"finalizedSanityCheckFailed\", ex);\n\t\t}\n\t}",
"public void disconnect() {\n\t\tif (_connection != null) {\n\t\t\ttry {\n\t\t\t\twhile (!_connection.isClosed()) {\n\t\t\t\t\t_connection.close();\n\t\t\t\t}\n\t\t\t} catch (Exception e) { /* ignore close errors */\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t}",
"private void terminateAllClientConnections() {\n log.info(\"Terminate command received; Closing sockets..\");\n log.info(\"Attempting closing client sockets..\");\n this.socketList.forEach(socket -> {\n try {\n socket.close();\n } catch (Exception e) {\n log.error(\"Error closing client socket address\", socket.getRemoteSocketAddress().toString());\n }\n });\n log.info(\"Attempting closing server listening socket\");\n try {\n this.serverSocket.close();\n this.running.set(false);\n } catch (Exception e) {\n log.error(\"Error closing server socket port\", port);\n }\n }",
"public void close() {\n if (mLeakedException != null) {\n getConnectionManager().shutdown();\n mLeakedException = null;\n }\n }",
"@Override\n\t\tpublic void operationComplete(ChannelFuture future) throws Exception {\n\t\t\tSystem.out.println(\"Channel closed\");\n\t\t\t// @TODO if lost, try to re-establish the connection\n\t\t}",
"void checkClosed() throws SQLException {\n\n if (result == null) { throw Message.getSQLException(ErrorCode.OBJECT_CLOSED); }\n if (stat != null) {\n stat.checkClosed();\n }\n if (conn != null) {\n conn.checkClosed();\n }\n }",
"@Override\n public synchronized void term() {\n if (terminated) {\n return;\n }\n\n messageState.closeAll();\n context.term();\n\n terminated = true;\n }",
"@Override\r\n\tpublic boolean close() {\n\t\tboolean closed= super.close();\r\n\t\tif(closed){\r\n\t\t\tc.getReadThread().removeMessageListener(messageListener);\r\n\t\t}\r\n\t\treturn closed;\r\n\t}",
"public void closeConnection() {\r\n\t\tjava.util.Date connClosedDate = new java.util.Date();\r\n\t\ttry {\r\n\t\t\tpeerNode.peer2PeerOutStream.close();\r\n\t\t\tpeerNode.peer2PeerInStream.close();\r\n\t\t\tpeerNode.peer2Peer.close();\r\n\t\t\toutStream.close();\r\n\t\t\tinStream.close();\r\n\t\t\tpeerToPeerSocket.close();\r\n\t\t} catch (IOException e) {\r\n\t\t\tSystem.out.println(connClosedDate + \": Could not close connection\");\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t}",
"private void ensureConnectionRelease() {\n if (responseConnection != null) {\n responseConnection.releaseConnection();\n responseConnection = null;\n }\n }",
"public int onEnd() {\n\t\t\t\tflushMessageQueue();\n\t\t\t\treturn 0;\n\t\t\t}",
"public void notifyClosedConnection (COPSPdpOSReqStateMan man, COPSError error);",
"public void notifyExit()\r\n {\r\n if (isClientConnected)\r\n sendDisconnectTag();\r\n bs.close(); // Announce termination to client\r\n bs.cancel(); // Shut down waiting server\r\n System.exit(0);\r\n }",
"public void closeConnection() {\n try {\n socket.close();\n oStream.close();\n } catch (Exception e) { }\n }",
"public synchronized void closeAllConnections() {\n closeConnections(availableConnections);\n availableConnections = new Vector();\n closeConnections(busyConnections);\n busyConnections = new Vector();\n }",
"public synchronized void closeAllConnections() {\n closeConnections(availableConnections);\n availableConnections = new Vector();\n closeConnections(busyConnections);\n busyConnections = new Vector();\n }",
"public void closeConnection() {\n //handles the case of a disconnection before the login\n if (userNickname == null) {\n synchronized (this) {\n answer = null;\n answerReady = true;\n notifyAll();\n }\n }\n connected = false;\n synchronized (C2SMessages){\n C2SMessages.clear();\n C2SMessages.notifyAll();\n }\n synchronized (S2CMessages){\n S2CMessages.clear();\n S2CMessages.notifyAll();\n }\n }",
"public void closeIdleConnections()\n {\n \n }",
"private void connectionClosed(final Throwable cause) {\n if (log.isDebugEnabled()) {\n log.debug(\"Connection closed\", cause);\n } else {\n log.info(\"Connection closed: \" + (cause != null ? cause.getMessage() : \"<unknown>\"));\n }\n\n if (this.client != null) {\n this.client.exceptionHandler(null);\n this.client.publishHandler(null);\n this.client.closeHandler(null);\n this.client.subscribeCompletionHandler(null);\n this.client.publishCompletionHandler(null);\n this.client.publishCompletionExpirationHandler(null);\n this.client.publishCompletionUnknownPacketIdHandler(null);\n this.client = null;\n }\n setState(SessionState.DISCONNECTED, cause);\n }",
"public boolean close() {\n\t\ttry {\n\t\t\tconnection.close();\n\t\t\treturn connection.isClosed();\n\t\t} catch (SQLException e) {\n\t\t\te.printStackTrace();\n\t\t\treturn false;\n\t\t}\n\t}",
"public void exit() {\r\n\t\tsendReceiveSocket.close();\r\n\t}",
"private void close() {\n\t\ttry {\n\t\t\tif (conn != null) {\n\t\t\t\tconn.close();\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tlog(e);\n\t\t} finally {\n\t\t\tisConnected = false;\n\t\t}\n\t}",
"public void closeConnection() {\n try {\n stdIn.close();\n socketIn.close();\n socketOut.close();\n }\n catch(IOException e) {\n e.printStackTrace();\n }\n }",
"private void endConnection(){\n\t\tif(this.connection != null){\n\t\t\ttry {\n\t\t\t\tthis.connection.close();\n\t\t\t} catch (SQLException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t}",
"public boolean closed() {\r\n return closed;\r\n }",
"public final boolean isClosed() {\n return closeReceived && isCloseSent();\n }",
"protected void onEndOfStream()\n {\n synchronized (f_aBuffSingleInbound)\n {\n synchronized (f_aBuffSingleOutbound)\n {\n if (f_engine.getSession().isValid())\n {\n try\n {\n f_engine.closeInbound();\n closeOutbound(false);\n }\n catch (SSLException e)\n {\n // mimicking SSLSocket\n }\n catch (IOException ignored)\n {\n // won't occur\n }\n }\n }\n }\n }",
"public void ExitConection(){\n try {\n resultSet.close();\n preparedStatement.close();\n conection.close();\n } catch (Exception e) {\n// MessageEmergent(\"Fail ExitConection(): \"+e.getMessage());\n }\n }",
"public void closeConnection() {\r\n\t\ttry {\r\n\t\t\tthis.store.close();\r\n\t\t} catch (MessagingException e) {\r\n\t\t\tLog.error(e.getStackTrace().toString());\r\n\t\t}\r\n\t}",
"public void close()\n {\n done = true;\n wakeup();\n // TODO: if needed, use a CountdownLatch to sync...\n }",
"boolean isCloseRequested()\r\n\t{\r\n\t\treturn this.closeRequested;\r\n\t}",
"@Override\n public void close() throws Exception {\n\n socketAcceptor.close();\n rmiAcceptor.close();\n connectedViews.clear();\n\n synchronized (threadPool) {\n threadPool.shutdown();\n }\n while (!threadPool.awaitTermination(5, TimeUnit.SECONDS)) {\n logger.warning(\"Thread pool hasn't shut down yet, waiting...\");\n }\n }",
"@Override\r\n\tpublic void closeConnection() {\n\t\t\r\n\t}",
"@Override\n\tpublic void finalize() {\n\t\tcontext.unbindService(CONNECTION);\n\t}",
"@Override\n public CloseFuture force() {\n if (channel == null) {\n set(null);\n return this;\n }\n\n // We're going to close this channel. If anyone is waiting on that connection, we should defunct it otherwise it'll wait\n // forever. In general this won't happen since we get there only when all ongoing query are done, but this can happen\n // if the shutdown is forced. This is a no-op if there is no handler set anymore.\n dispatcher.errorOutAllHandler(new TransportException(address, \"Connection has been closed\"));\n\n ChannelFuture future = channel.close();\n future.addListener(new ChannelFutureListener() {\n @Override\n public void operationComplete(ChannelFuture future) throws Exception {\n if (future.cause() != null) {\n logger.warn(\"Error closing channel\", future.cause());\n ConnectionCloseFuture.this.setException(future.cause());\n } else {\n ConnectionCloseFuture.this.set(null);\n }\n }\n });\n return this;\n }",
"void handleSubchannelTerminated() {\n executorPool.returnObject(executor);\n terminatedLatch.countDown();\n }",
"@Override\r\n\tpublic void close() {\r\n\t\tthis.socket.close();\r\n\t}",
"public void closeConnection() {\n try {\n dis.close();\n dos.close();\n socket.close();\n }\n catch (IOException e) {\n e.printStackTrace();\n }\n }",
"void close() {\n try {\n socketInput.close();\n socketOutput.close();\n this.connected = false;\n } catch (IOException e) {\n throw new UnexpectedBehaviourException();\n }\n }",
"@Override public void closed() {\n\t\t}",
"@Override\n public synchronized void responseSent(final C conn ) {\n if (debug())\n dprint( \"->responseSent: \" + conn ) ;\n\n try {\n final ConnectionState<C> cs = connectionMap.get( conn ) ;\n final int waitCount = --cs.expectedResponseCount ;\n if (waitCount == 0) {\n if (debug())\n dprint( \".responseSent: \" + conn + \" is now reclaimable\" ) ;\n\n if ((totalBusy+totalIdle) > highWaterMark()) {\n if (debug()) {\n dprint( \".responseSent: \" + conn\n + \" closing connection\" ) ;\n }\n\n close( conn ) ;\n } else {\n cs.reclaimableHandle =\n reclaimableConnections.offer( conn ) ;\n\n if (debug()) {\n dprint( \".responseSent: \" + conn\n + \" is now reclaimable\" ) ;\n }\n }\n } else {\n if (debug()) {\n dprint( \".responseSent: \" + conn + \" waitCount=\"\n + waitCount ) ;\n }\n }\n } finally {\n if (debug()) {\n dprint( \"<-responseSent: \" + conn ) ;\n }\n }\n }",
"@Override\n\tpublic void closeConnection() {\n\t\t\n\t}",
"protected void finalize() throws Throwable {\n\t\ttry {\n\t\t\tthis.listen_socket.close();\n\t\t} catch (IOException e1) {\n\t\t}\n\t}",
"@Override\r\n public synchronized void close()\r\n {\r\n if (!isRunning)\r\n {\r\n throw new IllegalStateException(\"already stopped!\");\r\n }\r\n threadPool.shutdownNow();\r\n socket.close();\r\n isRunning = false;\r\n }",
"@Override\r\n public void close() {\r\n\tsaveZip();\r\n\tsetChanged();\r\n\tnotifyObservers(\"shutting down\");\r\n\tthreadpool.shutdown();\r\n\t// wait 10 seconds over and over again until all running jobs have\r\n\t// finished\r\n\ttry {\r\n\t boolean allTasksCompleted = false;\r\n\t while (!(allTasksCompleted = threadpool.awaitTermination(10, TimeUnit.SECONDS)))\r\n\t\t;\r\n\t setChanged();\r\n\t notifyObservers(\"Server is safely closed\");\r\n\t} catch (InterruptedException e) {\r\n\t e.printStackTrace();\r\n\t}\r\n }",
"private synchronized void closeConnection() {\n/* 212 */ if (this.conn != null) {\n/* 213 */ this.log.debug(\"Closing connection\");\n/* */ try {\n/* 215 */ this.conn.close();\n/* 216 */ } catch (IOException iox) {\n/* 217 */ if (this.log.isDebugEnabled()) {\n/* 218 */ this.log.debug(\"I/O exception closing connection\", iox);\n/* */ }\n/* */ } \n/* 221 */ this.conn = null;\n/* */ } \n/* */ }",
"protected void finalize() {\n this.asClient.close();\n this.asClient = null;\n }",
"public void disconnect()\r\n\t{\r\n\t\ttry {\r\n\t\t\tconnection_.close();\r\n\t\t} catch (IOException e) {} // How can closing a connection fail?\r\n\t\t\r\n\t}",
"@Override\n\tpublic void close() {\n\t\tthis.ok = false;\n\t}",
"public static void terminate_all_connections()\n\t{\n\t\tNetwork_Control_Message pckt = new Network_Control_Message();\n\t\tpckt.set_terminate(true);\n\t\tsend_queue.add(pckt);\n\t\t\n\t\ttry {\n\t\t\tserver_socket.close();\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(\"Could not close the ServerSocket.\");\n\t\t\tSystem.out.println(e.getMessage());\n\t\t}\n\t}"
] | [
"0.6688424",
"0.6635067",
"0.6551686",
"0.65018725",
"0.6389695",
"0.6339718",
"0.63337183",
"0.63028723",
"0.62728965",
"0.6260839",
"0.618347",
"0.61734074",
"0.61510956",
"0.6130505",
"0.61182415",
"0.60629386",
"0.60488045",
"0.6034088",
"0.600115",
"0.5991118",
"0.5987907",
"0.5986876",
"0.5986353",
"0.5986353",
"0.59773165",
"0.5933183",
"0.59281766",
"0.5925937",
"0.5871345",
"0.5865777",
"0.58608836",
"0.58433163",
"0.5835755",
"0.58096147",
"0.5797204",
"0.5790602",
"0.57747394",
"0.57706034",
"0.5745279",
"0.57254285",
"0.57221496",
"0.57156676",
"0.5712334",
"0.5689515",
"0.5682114",
"0.5669243",
"0.5651388",
"0.56500393",
"0.5646941",
"0.5638944",
"0.56359845",
"0.56338495",
"0.5633497",
"0.5629479",
"0.5626621",
"0.56195307",
"0.56157064",
"0.56134015",
"0.5593789",
"0.5593191",
"0.559219",
"0.55917466",
"0.55842656",
"0.55769706",
"0.5575469",
"0.5569205",
"0.5569205",
"0.5562357",
"0.5556585",
"0.5554752",
"0.5546026",
"0.55449677",
"0.5544006",
"0.5530606",
"0.5528957",
"0.552887",
"0.5524582",
"0.55198634",
"0.55069375",
"0.5491572",
"0.54901135",
"0.54766613",
"0.5453366",
"0.5446649",
"0.5446572",
"0.5438242",
"0.5428455",
"0.54279697",
"0.5426134",
"0.5423626",
"0.541337",
"0.541076",
"0.54059714",
"0.5402275",
"0.5398854",
"0.53956205",
"0.5395212",
"0.53924835",
"0.539058",
"0.5390428",
"0.5388803"
] | 0.0 | -1 |
Closes the connection to the server without allowing an exception to be thrown. | protected abstract void close(MongoDbException error) throws IOException; | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void closeConnection() {\n\t\ttry {\n\t\t\tsocket.close();\n\t\t} catch (IOException e) {\n\t\t\tlogger.warning(\"problem closing socket connection with JSON-RPC server at \" + serverIP + \":\" + serverPort);\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"public void disconnect()\r\n\t{\r\n\t\ttry {\r\n\t\t\tconnection_.close();\r\n\t\t} catch (IOException e) {} // How can closing a connection fail?\r\n\t\t\r\n\t}",
"private void closeConnection() {\r\n try {\r\n socket.close();\r\n } catch (IOException ex) {\r\n // Ex on close\r\n }\r\n }",
"public void close() {\n try {\n closeConnection(socket);\n } catch (IOException ioe) {\n ioe.printStackTrace();\n }\n }",
"private void closeConnection(){\n report(\"Close connection\");\n try{\n if(socket != null && !socket.isClosed()) {\n report(\"Client: Close socket\");\n socket.close();\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n report(\"End\");\n }",
"public void closeConnection(){\r\n\t\t_instance.getServerConnection().logout();\r\n\t}",
"public void closeConnection() {\n try {\n socket.close();\n oStream.close();\n } catch (Exception e) { }\n }",
"void close()\n {\n DisconnectInfo disconnectInfo = connection.getDisconnectInfo();\n if (disconnectInfo == null)\n {\n disconnectInfo = connection.setDisconnectInfo(\n new DisconnectInfo(connection, DisconnectType.UNKNOWN, null, null));\n }\n\n // Determine if this connection was closed by a finalizer.\n final boolean closedByFinalizer =\n ((disconnectInfo.getType() == DisconnectType.CLOSED_BY_FINALIZER) &&\n socket.isConnected());\n\n\n // Make sure that the connection reader is no longer running.\n try\n {\n connectionReader.close(false);\n }\n catch (final Exception e)\n {\n debugException(e);\n }\n\n try\n {\n outputStream.close();\n }\n catch (final Exception e)\n {\n debugException(e);\n }\n\n try\n {\n socket.close();\n }\n catch (final Exception e)\n {\n debugException(e);\n }\n\n if (saslClient != null)\n {\n try\n {\n saslClient.dispose();\n }\n catch (final Exception e)\n {\n debugException(e);\n }\n finally\n {\n saslClient = null;\n }\n }\n\n debugDisconnect(host, port, connection, disconnectInfo.getType(),\n disconnectInfo.getMessage(), disconnectInfo.getCause());\n if (closedByFinalizer && debugEnabled(DebugType.LDAP))\n {\n debug(Level.WARNING, DebugType.LDAP,\n \"Connection closed by LDAP SDK finalizer: \" + toString());\n }\n disconnectInfo.notifyDisconnectHandler();\n }",
"public synchronized void closeConnection() {\n try {\n connected = false;\n socket.close();\n System.out.println(\"[SERVER] Connection closed with client\");\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"public synchronized void close() {\n\t\t/**\n\t\t * DISCONNECT FROM SERVER\n\t\t */\n\t\tsrvDisconnect();\n\t}",
"private void closeConnection() throws IOException {\n\t\tclientSocket.close();\n\t}",
"private void close() {\n\t\ttry {\n\t\t\tif (conn != null) {\n\t\t\t\tconn.close();\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tlog(e);\n\t\t} finally {\n\t\t\tisConnected = false;\n\t\t}\n\t}",
"public void closeConnection() {\n try {\n if ( clientSocket != null ) {\n clientSocket.close();\n }\n } catch ( IOException e ) {\n logger.error( \"Error closing sokcet to client \" + getId(), e );\n }\n }",
"private void closeConnection() {\n\t\t_client.getConnectionManager().shutdown();\n\t}",
"private void disconnectFromServer() {\n\t\ttry {\n\t\t\tsocket.close();\n\t\t}\n\t\tcatch(IOException e) {\n\t\t\tSystem.out.println(\"CLIENT: Cannot disconnect from server\");\n\t\t}\n\t}",
"@Override\n public void closeConnection() {\n\n System.out.println(\"[CLIENT] Closing socket connection...\");\n try {\n socket.close();\n in.close();\n out.close();\n System.out.println(\"[CLIENT] Closed socket connection.\");\n } catch (IOException e) {\n System.out.println(\"[CLIENT] Error occurred when closing socket\");\n }\n System.exit(0);\n\n }",
"private synchronized void closeConnection() {\n/* 212 */ if (this.conn != null) {\n/* 213 */ this.log.debug(\"Closing connection\");\n/* */ try {\n/* 215 */ this.conn.close();\n/* 216 */ } catch (IOException iox) {\n/* 217 */ if (this.log.isDebugEnabled()) {\n/* 218 */ this.log.debug(\"I/O exception closing connection\", iox);\n/* */ }\n/* */ } \n/* 221 */ this.conn = null;\n/* */ } \n/* */ }",
"private void closeConnection() {\n\t\t\tSystem.out.println(\"\\nTerminating connection \" + myConID + \"\\n\");\n\t\t\ttry {\n\t\t\t\toutput.close(); // close output stream\n\t\t\t\tinput.close(); // close input stream\n\t\t\t\tconnection.close(); // close socket\n\t\t\t} catch (IOException ioException) {\n\t\t\t\tSystem.out.println(\"Exception occured in closing connection\"\n\t\t\t\t\t\t+ ioException);\n\t\t\t}\n\t\t}",
"@Override\r\n\tpublic void close()\r\n {\r\n\t\ttry\r\n {\r\n\t connection.close();\r\n }\r\n\t\tcatch (final SQLException e)\r\n {\r\n\t\t\t// Ignore, shutting down anyway\r\n }\r\n }",
"public void closeConnection() {\n try {\n stdIn.close();\n socketIn.close();\n socketOut.close();\n }\n catch(IOException e) {\n e.printStackTrace();\n }\n }",
"public void close() {\n synchronized(this) {\n for(Enumeration e = connections.elements();e.hasMoreElements();) {\n try {\n ((Socket)e.nextElement()).close();\n } catch(InterruptedIOException ex) {\n Thread.currentThread().interrupt();\n } catch(IOException ex) {\n } catch(RuntimeException ex) {\n }\n }\n }\n\n try {\n serverSocket.close();\n } catch(InterruptedIOException ex) {\n Thread.currentThread().interrupt();\n } catch(IOException ex) {\n } catch(RuntimeException ex) {\n }\n }",
"@Override\r\n\tpublic void close() {\r\n\t\tthis.socket.close();\r\n\t}",
"protected void close() {\n\t\tthis.connection.close();\n\t\tthis.connection = null;\n\t}",
"public void closeConnection() throws Exception {\n\t\ttry {\n\t\t\tclient.close();\n\t\t\tis.close();\n\t\t\tisr.close();\n\t\t\tbr.close();\n\t\t\tSystem.out.println(\"Connection is closed\");\n\t\t\tgetConnection();\n\t\t} catch (IOException ex) {\n\t\t\tLogger.getLogger(ServerTCP.class.getName()).log(Level.SEVERE, null, ex);\n\t\t}\n\n\t}",
"public void disconnect(){\n\n\t\tserverConnection.disconnect();\n\t}",
"private void closeConnection() {\n try {\n fromClient.close();\n toClient.close();\n client.close();\n } catch (IOException e) {\n System.err.println(\"Unable to close connection:\" + e.getMessage());\n }\n }",
"public void closeConnection() {\n try {\n dis.close();\n dos.close();\n socket.close();\n }\n catch (IOException e) {\n e.printStackTrace();\n }\n }",
"public void disconnect() {\n\n try {\n if (inputStream != null) {\n inputStream.close();\n }\n\n if (outputStream != null) {\n outputStream.close();\n }\n\n if (socket != null ) {\n socket.close();\n connected = socket.isClosed();\n }\n } catch (IOException e) {\n logger.error(\"S7Client error [disconnect]: \" + e);\n }\n }",
"public synchronized void close(){\n if(connected){\n try{\n socket.close();\n streamIn.close();\n streamOut.close();\n System.out.println(clientID+\": close: socket\"); \n }catch(IOException ioe){\n System.out.println(clientID+\": close: IOException:\"+ioe);\n }\n }else if(isHost){\n try{\n hostSocket.close();\n System.out.println(clientID+\": close: hostSocket\"); \n }catch(IOException ioe){\n System.out.println(clientID+\": close: IOException:\"+ioe);\n }\n }\n }",
"private void close() {\n\t\ttry {\n\t\t\tsendCommand(\"end\\n\");\n\t\t\tout.close();\n\t\t\tin.close();\n\t\t\tsocket.close();\n\t\t} catch (MossException e) {\n\t\t} catch (IOException e2) {\n\t\t} finally {\n\t\t\tcurrentStage = Stage.DISCONNECTED;\n\t\t}\n\n\t}",
"public void close()\n {\n \tSystem.out.println(\"close\");\n \tsend(\"<message> <disconnect/></message>\");\n \ttry {\n\t\t\tsocket.close();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n }",
"public void closeConnection() {\n client.close();\n System.out.println(\"Connection to db closed.\");\n }",
"@Override\r\n public void close() throws Exception {\r\n if (connection != null){\r\n connection.close();\r\n }\r\n }",
"public void closeConnection() {\n try {\n if (connection != null) {\n connection.close();\n connection = null;\n }\n } catch (Exception e) {\n System.out.print(e.getMessage());\n }\n }",
"public void close()\n {\n getConnectionManager().shutdown();\n }",
"public void disconnect() {\n\t\tif (_connection != null) {\n\t\t\ttry {\n\t\t\t\twhile (!_connection.isClosed()) {\n\t\t\t\t\t_connection.close();\n\t\t\t\t}\n\t\t\t} catch (Exception e) { /* ignore close errors */\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t}",
"public void close() {\r\n\t\tif (socket != null)\r\n\t\t\tsocket.close();\r\n\t}",
"public void disconnect() throws IOException {\n sendMessageToServer(\"#Close connection#\");\n outputStream.close();\n inputStream.close();\n clientSocket.close();\n }",
"@Override\n public synchronized void close() throws IOException {\n disconnect(false);\n }",
"private void closeServer() {\r\n\t\tMisc.log(\"Server will now close.\");\r\n\t\t//close the socket and server when done\r\n\t\ttry {\r\n\t\t\tserver.close();\r\n\t\t\tsocket.close();\r\n\t\t\tin.close();\r\n\t\t\tout.close();\r\n\t\t} catch (IOException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}",
"public void close() {\n connection.close();\n running = false;\n }",
"private void closeConnection(Throwable cause) {\n log.debug(\"Closing connection\", cause);\n\n setState(SessionState.DISCONNECTING, cause);\n this.client.disconnect().onComplete(this::disconnectCompleted);\n }",
"public void closeConnection();",
"public void closeSocket() { //gracefully close the socket connection\r\n try {\r\n this.os.close();\r\n this.is.close();\r\n this.clientSocket.close();\r\n } \r\n catch (Exception e) {\r\n System.out.println(\"XX. \" + e.getStackTrace());\r\n }\r\n }",
"public void closeSocket () \n {\n try {\n // close the open server socket\n server.close();\n // send it a message to make it stop waiting immediately\n // (not really necessary)\n /*Socket s = new Socket(\"localhost\", thisPort);\n OutputStream os = s.getOutputStream();\n os.write((byte)0);\n os.close();\n s.close();*/\n } catch(Exception ex) { \n LOG.warn(\"Exception while shutting down \"+ this.getClass(), ex);\n }\n \n server = null;\n }",
"public void closeConnection(){\n\n try {\n fromClient.close();\n socket.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n }",
"public static void closeConnection() {\n\t\ttry {\n\n\t\t\tconexion.close();\n\t\t\tSystem.out.print(\"Server Disconnected\");\n\t\t} catch (SQLException ex) {\n\t\t\tSystem.out.println(ex.getMessage());\n\t\t\tSystem.out.print(\"Error cerrando conexion\");\n\t\t}\n\t}",
"private void closeConnection () {\n setConnection (null);\n }",
"void disconnect() throws TransportException;",
"public void closeConnection() {\n System.out.println(\"Closing connection\");\n\n try {\n reader.close();\n \n if (connectionSocket != null) {\n connectionSocket.close();\n connectionSocket = null;\n }\n System.out.println(\"Connection closed\");\n } catch (IOException e) {\n System.out.println(\"IOException at closeConnection()\");\n } catch (NullPointerException e) {\n System.out.println(\"NullPointerException at closeConnection()\");\n } catch (Exception e) {\n System.out.println(\"Exception at closeConnection()\");\n System.out.println(e.toString());\n }\n }",
"public void close() {\n\t\ttry {\n\t\t\tserverSocketServer.close();\n\t\t} catch (IOException e) {\n\t\t\t\n\t\t\te.printStackTrace();\n\t\t}\t\t\t\n\t}",
"@Override\r\n public void close() {\r\n sock.close();\r\n }",
"public void close() {\n if (closed) {\n return;\n }\n try {\n disconnect();\n } catch (Exception e) {\n throw new IOError(e);\n }\n closed = true;\n }",
"public void close() {\n if (this.client != null && this.client.isConnected()) {\n this.client.close();\n }\n this.running = false;\n }",
"final public void closeConnection() throws IOException {\n\n readyToStop = true;\n closeAll();\n }",
"public void disconnect() throws Exception\n {\n if(!connected)\n return;\n connectionSocket.close();\n reader.close();\n writer.close();\n listenerTimer.cancel();\n connected = false;\n\n }",
"public void close() {\n try {\n socket.close();\n outputStream.close();\n inputStream.close();\n } catch (Exception e) {\n e.printStackTrace();\n }\n }",
"public synchronized void close() {\n\n String userInput ;\n String fromServer ;\n try {\n userInput = \"QUIT\";\n out.println(\"Client: \" + userInput);\n output.println(userInput); // send QUIT command\n fromServer = input.readLine();\n //out.println(\"Server: \" + fromServer);\n\n if (fromServer.substring(0, 3).equals(\"221\")){ // 221: connection is closed successfully\n socket.close();\n System.exit(0);\n }\n } catch (IOException e) {\n // ignore any exception\n }\n }",
"public void close() {\n try {\n inputStream.close();\n } catch(IOException e) {\n GenericIO.writelnString(Thread.currentThread().getName()\n + \" - could not close the socket's input stream!\");\n e.printStackTrace();\n System.exit(1);\n }\n\n try {\n outputStream.close();\n } catch(IOException e) {\n GenericIO.writelnString(Thread.currentThread().getName()\n + \" - could not close the socket's output stream!\");\n e.printStackTrace();\n System.exit(1);\n }\n\n try {\n commSocket.close();\n } catch(IOException e) {\n GenericIO.writelnString(Thread.currentThread().getName()\n + \" - could not close the communication socket!\");\n e.printStackTrace();\n System.exit(1);\n }\n }",
"public void closeSocket() { //gracefully close the socket connection\n\t\ttry {\n\t\t\tthis.os.close();\n\t\t\tthis.is.close();\n\t\t\tthis.clientSocket.close();\n\t\t} \n\t\tcatch (Exception e) {\n\t\t\tSystem.out.println(\"XX. \" + e.getStackTrace());\n\t\t}\n\t}",
"private void shutdown() {\n clientTUI.showMessage(\"Closing the connection...\");\n try {\n in.close();\n out.close();\n serverSock.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"public void close() {\n try {\n socket.close();\n sInput.close();\n sOutput.close();\n sInput = null;\n socket = null;\n } catch (IOException e) {\n System.out.println(\"Logged Out.\");\n }\n }",
"public void cancel() {\r\n\t\t\ttry {\r\n\t\t\t\tsocket.close();\r\n\t\t\t} catch (IOException e) {\r\n\t\t\t\t//pass\r\n\t\t\t}\r\n\t\t}",
"public static void closeConnection() {\n if(connection != null) {\n try {\n connection.close();\n connection = null;\n }\n catch (Exception e) \n { \n e.printStackTrace(); \n }\n }\n }",
"public void close() {\n try {\n socket.close();\n } catch (IOException e) {\n renderablePublisher.submit(new ServerOfflineUpdate());\n }\n }",
"public void close() {\n\t\tshutdownClient(clientRef.get());\n\t}",
"public void disconnect() {\n try {\n if (socket != null)\n socket.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n isConnected = false;\n }",
"public void stopConnection() throws IOException {\n in.close();\n out.close();\n clientSocket.close();\n }",
"public boolean endConnection() throws CommunicationException;",
"public void terminate() {\n\t\tif (socket == null)\n\t\t\tthrow new IllegalStateException();\n\t\ttry {\n\t\t\tsocket.close();\n\t\t} catch (IOException e) {}\n\t}",
"public static void close() {\n\t\ttry {\n\t\t\tSystem.out.println(\"Chiusura connessione\");\n\t\t\tRequestContent rp = new RequestContent();\n\t\t\trp.type = RequestType.CLOSE;\n\t\t\tsend(rp);\n\t\t\tClient.LoggedUser.anagrafica = null;\n\t\t\tois.close();\n\t\t\toos.close();\n\t\t\ts.close();\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"Errore close client connection\");\n\t\t}\n\t}",
"public void closeServer()\n\t{\n\t\t//System.out.println(\"*********Beginning Close Operations*********\");\n\n\t\ttry {\n\t\t\t//System.out.println(\"***********Closing client socket*************\");\n\t\t\tthis.closeClientConnection();\n\t\t\tstringFile.close();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\t\tisRunning = false;\n\t\t//System.out.println(\"Ending server....\");\n\t}",
"void close() {\n try {\n socketInput.close();\n socketOutput.close();\n this.connected = false;\n } catch (IOException e) {\n throw new UnexpectedBehaviourException();\n }\n }",
"@Override\n public void close()\n {\n this.disconnect();\n }",
"public void closeFromServer(){\n try {\n this.fromServer.close();\n } catch (IOException e){\n e.printStackTrace();\n }\n }",
"public void dispose() {\n\t\tsocket.close();\n\t}",
"@Override\n public void close() throws IOException {\n opened = false;\n if (socket != null) {\n Utils.closeSilent(dis);\n Utils.closeSilent(dos);\n socket.close();\n }\n }",
"public void closeConn() {\n try {\n if (writer != null) {\n writer.close();\n }\n if (sockoutOs != null) {\n sockoutOs.close();\n }\n if (null != socket || !socket.isClosed()) {\n socket.close();\n }\n } catch (IOException ex) {\n ex.printStackTrace();\n }\n\n }",
"public void disconnect() {\n\t\ttry {\n\t\t\tif(sInput != null) sInput.close();\n\t\t}\n\t\tcatch(Exception e) {} // not much else I can do\n\t\ttry {\n\t\t\tif(sOutput != null) sOutput.close();\n\t\t}\n\t\tcatch(Exception e) {} // not much else I can do\n try{\n\t\t\tif(socket != null) socket.close();\n\t\t}\n\t\tcatch(Exception e) {} // not much else I can do\n\n\n\t}",
"public void close()\n\t{\n\t\ttry { stream.close(); } catch(Exception ex1) {}\n\t\ttry { channel.close(); } catch(Exception ex2) {}\n\t}",
"public void close(){\n\t\tlog.debug(\"[SC] Close called\", 5);\n\t\tif(socket!=null){\n\t\t\tlog.debug(\"[SC] Closing socket\", 4);\n\t\t\ttry {\n\t\t\t\tThread.sleep(10);\n\t\t\t} catch (InterruptedException e) {\n\t\t\t\t//Silly impatient thread\n\t\t\t}\n\t\t\ttry {\n\t\t\t\tout.close();\n\t\t\t\tin.close();\n\t\t\t\tsocket.close();\n\t\t\t} catch (IOException e) {\n\t\t\t\t//we're going to close it anyway\n\t\t\t}\n\t\t\tsocket = null;\n\t\t\trun = false;\n\t\t}\n\t}",
"public void close() {\n\t\ttry {\n\t\t\t_inputStream.close();\n\t\t\t_outputStream.close();\n\t\t\t_socket.close();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}",
"public void closeConnection() {\r\n\t\tjava.util.Date connClosedDate = new java.util.Date();\r\n\t\ttry {\r\n\t\t\tpeerNode.peer2PeerOutStream.close();\r\n\t\t\tpeerNode.peer2PeerInStream.close();\r\n\t\t\tpeerNode.peer2Peer.close();\r\n\t\t\toutStream.close();\r\n\t\t\tinStream.close();\r\n\t\t\tpeerToPeerSocket.close();\r\n\t\t} catch (IOException e) {\r\n\t\t\tSystem.out.println(connClosedDate + \": Could not close connection\");\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t}",
"public static void closeConnection() {\n\t\ttry {\n\t\t\tcon.close();\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"Error al cerrar la conexion.\");\n\t\t}\n\t}",
"public void disconnect()\t{\n try {\n doStream.close();\n }\tcatch (IOException\t|\tNullPointerException\te)\t{\n System.err.println(\"[DISCONNECT]\t\" + e.getMessage());\n }\n try {\n diStream.close();\n }\tcatch (IOException\t|\tNullPointerException\te)\t{\n System.err.println(\"[DISCONNECT]\t\" + e.getMessage());\n }\n try {\n sServidor.close();\n }\tcatch (IOException\t|\tNullPointerException\te)\t{\n System.err.println(\"[DISCONNECT]\t\" + e.getMessage());\n }\n }",
"public void close()\r\n {\r\n try\r\n {\r\n connection.close();\r\n } catch(SQLException exception)\r\n {\r\n LOG.log(Level.SEVERE, \"\", exception);\r\n }\r\n }",
"public static void close() {\n\t\ttry {\n\t\t\tconn.close();\n\t\t} catch(Exception e) {\n\t\t\tPvPTeleport.instance.getLogger().info(e.getMessage());\n\t\t}\n\n\t}",
"public void close() {\n\t\tif (null!=client) {\n\t\t\tclient.close();\n\t\t\tclient = null;\n\t\t\tlog.trace(\"closed\");\n\t\t}\n\t}",
"public void quit()throws IOException {\n if(s.isConnected()) {\n reader.close();\n writer.close();\n s.close();\n System.out.println(\"Disconnected from the server.\");\n }\n }",
"@Override\n public void close() throws IOException {\n if (clientSocket != null) {\n clientSocket.close();\n }\n }",
"@Override\n public void close() throws IOException {\n if (socket != null) {\n socket.close();\n }\n\n }",
"public void close()\n {\n try\n {\n System.out.println(\"CLIENT chiude connessione\");\n receiverThread.interrupt();\n socket.close();\n System.exit(0);\n }\n catch (IOException e)\n {\n System.out.println(e.getMessage());\n System.exit(1);\n }\n }",
"abstract public void closeConnection();",
"@Override\n\tpublic void close() {\n\t\tfinal Socket input = getSocket();\n\n\t\tif (input != null) {\n\t\t\tif (!input.isClosed()) {\n\t\t\t\ttry {\n\t\t\t\t\tinput.close();\n\t\t\t\t} catch (final IOException e) {\n\t\t\t\t\t// we cannot do anything\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"public void disconnect() {\n\t\tif (sock != null) {\n\t\t\ttry {\n\t\t\t\tsock.close();\n\t\t\t} catch (IOException ioe) {\n\t\t\t} finally {\n\t\t\t\tsock = null;\n\t\t\t}\n\t\t}\n\t\toutStream.reset();\n\t\tdisconnected();\n\t}",
"public void close() throws IOException{\n this.channel.close();\n this.connection.close();\n }",
"public void connectionClose() {\n try {\n conn.close();\n } catch (SQLException e) {\n e.printStackTrace();\n }\n }",
"public void cancel() {\r\n\t\t\ttry {\r\n\t\t\t\tsocket.close();\r\n\t\t\t} catch (IOException e) {\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t}\r\n\t\t}",
"public static void closeServer() throws IOException {\n\t\tserver.close();\n\t}",
"public void disconnect() throws IOException {\r\n socket.close();\r\n System.out.println(\"Disconnected\");\r\n }",
"private void disconnect() {\n\n if (inStream != null) {\n try {inStream.close();} catch (Exception e) { e.printStackTrace(); }\n }\n\n if (outStream != null) {\n try {outStream.close();} catch (Exception e) { e.printStackTrace(); }\n }\n\n if (socket != null) {\n try {socket.close();} catch (Exception e) { e.printStackTrace(); }\n }\n }"
] | [
"0.75355875",
"0.74815434",
"0.7427734",
"0.7378748",
"0.7374578",
"0.73708045",
"0.73420334",
"0.7309789",
"0.72626585",
"0.72169673",
"0.71842754",
"0.7177539",
"0.71700317",
"0.7160422",
"0.69612443",
"0.6926287",
"0.68792003",
"0.6860433",
"0.68583685",
"0.6847523",
"0.6829793",
"0.6821795",
"0.68124604",
"0.68107945",
"0.6784381",
"0.67619675",
"0.6755951",
"0.6751165",
"0.6749516",
"0.6747483",
"0.67408335",
"0.674058",
"0.67403173",
"0.6725827",
"0.6720635",
"0.6714995",
"0.6712548",
"0.6710231",
"0.67066544",
"0.6705716",
"0.6695846",
"0.6695261",
"0.6688164",
"0.668327",
"0.6680926",
"0.6666266",
"0.6651091",
"0.66398245",
"0.6629491",
"0.6622435",
"0.6604291",
"0.6596595",
"0.659633",
"0.65917",
"0.6585146",
"0.65780646",
"0.6575796",
"0.65681875",
"0.65677166",
"0.65669835",
"0.6564324",
"0.6563061",
"0.65585613",
"0.6526563",
"0.6520183",
"0.6515072",
"0.65130347",
"0.6504667",
"0.64903784",
"0.6489151",
"0.6476312",
"0.64580417",
"0.6454734",
"0.6454207",
"0.64482087",
"0.6445259",
"0.64233637",
"0.6419481",
"0.6412658",
"0.64097977",
"0.64069784",
"0.64058095",
"0.64030164",
"0.6397478",
"0.63836807",
"0.63823944",
"0.63781184",
"0.6377348",
"0.6372015",
"0.63702554",
"0.63698775",
"0.63674986",
"0.63587946",
"0.6354493",
"0.63459414",
"0.6345221",
"0.63415444",
"0.6338196",
"0.6335354",
"0.63292915",
"0.63229185"
] | 0.0 | -1 |
Updates to raise an error on the callback, if any. | protected void raiseError(final Throwable exception,
final ReplyCallback replyCallback) {
ReplyHandler.raiseError(exception, replyCallback, null);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void errorOnUpdate(String buxError) {\n }",
"public void onReceivedError();",
"public void doCallbackFailure(Throwable error) {\n if (channelPointerOpt.isPresent() && error != null) {\n StringWriter sw = new StringWriter();\n PrintWriter pw = new PrintWriter(sw);\n error.printStackTrace(pw);\n String stringStackTrace = sw.toString();\n failcallbacktochannel(channelPointerOpt.get().getAddress(), stringStackTrace);\n } else {\n throw new InvocationException(\"Cannot do callback for failure. Please make sure that you don't try to access this method while being in the constructor of your class (that extends NativeCallbackSupport). The failure was: \", error);\n }\n }",
"public void onError(Exception e);",
"@Override\n\t\t\tpublic void onFail() {\n\t\t\t\tcallBack.onCheckUpdate(-1, null); // 检查出错\n\t\t\t}",
"void setError();",
"public void onUpdateFailure();",
"public abstract void onError(Call call, Exception e);",
"@Override\n public void onError(Exception e) {\n }",
"@Override\r\n\t\t\tpublic void onError(int error) {\n\r\n\t\t\t}",
"@Override\r\n public void onError(Exception e) {\n }",
"@Override\r\n\t\t\tpublic void onError(int error) {\n\t\t\t\t\r\n\t\t\t}",
"@Override\n\t\t\t\t\t\t\tpublic void error(Exception e) {\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t}",
"@Override\r\n\t\t\tpublic void onError(Object error) {\n\t\t\t\t\r\n\t\t\t}",
"public abstract void OnError(int code);",
"public void error(Exception e);",
"@Override\n public void onError(Throwable t) {\n callback.onError(t);\n //Calling the finally..callback\n callback.onFinally();\n }",
"private void error() {\n this.error = true;\n this.clients[0].error();\n this.clients[1].error();\n }",
"@Override\n\tpublic void onError(Exception ex) {\n\n\t}",
"@Override\n public void onError() {\n\n }",
"public void onError( Throwable ex );",
"@Override\n\t\t\tpublic void onError(Object error) {\n\n\t\t\t}",
"void notifyError(RecorderErrorEvent event);",
"void onError(Exception e);",
"@Override\n public void onError(Exception e) {\n\n }",
"@Override\n public void onError(Throwable error) {\n }",
"@Override\n\tpublic void adjustToError() {\n\t\t\n\t}",
"public void error(Throwable error) {\n\n }",
"public void error(Throwable error) {\n\n }",
"@Override\n public synchronized Void onErrback(final Deferred<ByteBuffer> deferred, final Exception error) {\n deferredReceive.errback(error);\n deferredReceive = null;\n return null;\n }",
"public Response callback() throws Exception;",
"public void onError(String errorMessage);",
"@Override\n public void onError(Throwable e) {\n }",
"@NonBlocking\n void error(Throwable throwable);",
"@Override\n public void onError(Throwable e) {\n }",
"@Override\r\n\tpublic void onError(String err) {\n\t\t\r\n\t}",
"@Override\n public void errorReceived(Exception ex) {\n }",
"@Override\n public void errorReceived(Exception ex) {\n }",
"@Override\n public void onError(Throwable t) {\n\n }",
"@Override\n public void onError(Throwable t) {\n\n }",
"@Override\n\tpublic void ErrorCallBack(Map<String, Object> map) {\n\t\t\n\t}",
"public abstract void setError(String message);",
"@Override\r\n\t\t\tpublic void onError(Throwable e) {\n\r\n\t\t\t}",
"@Override\n\tpublic void onError(int error, String msg) {\n\t\t\n\t}",
"@Override\n public void onError(Error error) {\n }",
"public void error(Throwable e);",
"abstract void onError(Exception e);",
"public abstract ErrorCallback<?> getErrorCallback();",
"void onError(Throwable error);",
"void onError(Throwable error);",
"@Override\n\tpublic void error(Marker marker, MessageSupplier msgSupplier, Throwable t) {\n\n\t}",
"@Override\n public void onError(Throwable e) {\n\n }",
"@Override\n\tpublic void error(Marker marker, MessageSupplier msgSupplier) {\n\n\t}",
"void notifyError(MessageSnapshot snapshot);",
"@Override\r\n\tpublic void onError(String error) {\n\t\t\r\n\t}",
"protected abstract void setErrorCode();",
"@Override\n public void onErrorResponse(VolleyError error) {\n //This code is executed if there is an error.\n listener.onChangeDeliveredError();\n }",
"@Override\n public void onFailure(Exception error) {\n }",
"@Override\n public void onError(String error) {\n }",
"public abstract void showErrorBox(String errorMessage, Runnable callback);",
"@Override\r\n\t\t\tpublic void onFailure(Call arg0, IOException arg1) {\n\r\n\t\t\t\tonError(callback, arg1.getMessage());\r\n\t\t\t\targ1.printStackTrace();\r\n\t\t\t\tFLogger.e(arg1.getMessage());\r\n\t\t\t}",
"public final void setErrorCallback(ErrorCallback cb)\n {\n mErrorCallback = cb;\n }",
"void onFailure(Throwable error);",
"@Override\n\tpublic void onError(ErrorResponse errorResponse) {\n\t\t\n\t}",
"void setError(@Nullable Exception error) {\n this.error = error;\n }",
"public void errorWhenCommitting();",
"public void errorOccured(String errorMessage, Exception e);",
"void errorOccurred(@Nonnull String errorMessage);",
"@Override\n\tpublic void error(Marker marker, Supplier<?> msgSupplier, Throwable t) {\n\n\t}",
"@Override\r\n\t\t\tpublic void onFailure(Call arg0, IOException arg1) {\n\t\t\t\tFLogger.e(arg1.getMessage());\r\n\t\t\t\targ1.printStackTrace();\r\n\t\t\t\tonError(callback, arg1.getMessage());\r\n\t\t\t}",
"private void sendOldError(Exception e) {\n }",
"@Override\n\tpublic void onError(WeiboException arg0) {\n\n\t}",
"@Override\n\tpublic void error(MessageSupplier msgSupplier) {\n\n\t}",
"@Override\n public void onSetFailure(String s) {\n }",
"@Override\n public void onSetFailure(String s) {\n }",
"@Override\n\t\t\t\t\tpublic void onError(Throwable p1) {\n\t\t\t\t\t}",
"public void onErrorImpl(Throwable e) {\n }",
"@Override\n\tpublic void error(Marker marker, Supplier<?> msgSupplier) {\n\n\t}",
"public void onError(String err, String nick);",
"protected abstract void error(String err);",
"@Override\n public void onError(Throwable e)\n {\n for (Callback<RestResponse> callback : _callbacks.values())\n {\n callback.onError(e);\n }\n // aggregated callback is guaranteed to be called after all individual callbacks\n _aggregatedCallback.onError(e);\n }",
"private void onCallbackException(Exception e) {\n CallbackException streamError =\n new CallbackExceptionImpl(\"CalledByNative method has thrown an exception\", e);\n Log.e(CronetUrlRequestContext.LOG_TAG, \"Exception in CalledByNative method\", e);\n failWithExceptionOnExecutor(streamError);\n }",
"private void correctError()\r\n\t{\r\n\t\t\r\n\t}",
"void error() {\n status = ERROR;\n System.out.println(\"error\");\n stateChanged();\n }",
"@Override\r\n\t\t\tpublic void onErrorResponse(String errorMessage) {\n\r\n\t\t\t}",
"protected void setErrorCallback (boolean setCallback) {\n TipcCb pError = null;\n String dest = AppConstants.STATUS_SUBJECT;\n try {\n \tif (setCallback) {\n if (!srv.getSubjectSubscribe(dest)) {\n \t ProcessErrorMessage evRef = new ProcessErrorMessage();\n \t pError = srv.addProcessCb(evRef, dest, srv); \n \t if (pError == null) {\n \t Tut.exitFailure(\"WARNING. Couldn't register Svt Error subject callback!\\n\");\n \t }\n \t srv.setSubjectSubscribe(dest, true);\n \t warn(\"INFO. Subscribed to \" + dest, Color.green);\n \n \t addObserver(errorObserver);\n \t }\n \t} \n else {\n \t if (srv.getSubjectSubscribe(dest)) {\n \t srv.setSubjectSubscribe(dest, false);\n \t warn(\"INFO. Unsubscribed from \" + dest, Color.red);\n \n \t deleteObserver(errorObserver);\n \t }\n \t}\n } \n catch (TipcException Tipe) {\n \tTut.warning(Tipe);\n } \n }",
"@Override\n public void OnFailed(String error)\n {\n\n }",
"void onError(Throwable throwable);",
"@Override\n public void onError(Status status) {\n }",
"public void onError(Throwable arg0) {\n\t\t\n\t\t }",
"void handleError(Exception ex);",
"@Override\n public void onError(int code, String msg) {\n }",
"public void onFailure(Exception t);",
"public void inquiryError() {\n\t\t\n\t}",
"@Override\n\tpublic void error(MessageSupplier msgSupplier, Throwable t) {\n\n\t}",
"@Override\n\tpublic void error(Object message, Throwable t) {\n\n\t}",
"@Override\n\t\t\t\t\tpublic void onError(PerunException error) {\n\t\t\t\t\t\tevents.onFinished(null);\n\t\t\t\t\t}",
"void onError(long ssl, Throwable cause);",
"public void error();",
"void onError(String error);"
] | [
"0.6494921",
"0.6418718",
"0.6410574",
"0.6291774",
"0.6280029",
"0.62714005",
"0.62648743",
"0.6242127",
"0.61778736",
"0.61584526",
"0.6145914",
"0.6145203",
"0.61245465",
"0.6118834",
"0.6117901",
"0.6115553",
"0.611525",
"0.6109843",
"0.60770273",
"0.6066147",
"0.60644025",
"0.60586447",
"0.60498387",
"0.60317546",
"0.6030899",
"0.60307586",
"0.5983821",
"0.5979044",
"0.5979044",
"0.59767336",
"0.5974072",
"0.5957317",
"0.59562397",
"0.59249324",
"0.59236115",
"0.59187335",
"0.5904324",
"0.5904324",
"0.58998597",
"0.58998597",
"0.5898195",
"0.5894217",
"0.58935606",
"0.58916914",
"0.5887957",
"0.587702",
"0.5876044",
"0.5872887",
"0.5849908",
"0.5849908",
"0.5847746",
"0.5837539",
"0.58275825",
"0.5820806",
"0.58063924",
"0.57970047",
"0.5787081",
"0.5771429",
"0.57649165",
"0.575055",
"0.57417613",
"0.5731721",
"0.5729294",
"0.57208073",
"0.57207155",
"0.5718927",
"0.5716581",
"0.5710591",
"0.5710583",
"0.5707917",
"0.56948644",
"0.5689597",
"0.5684961",
"0.5677304",
"0.5677304",
"0.5674797",
"0.56746364",
"0.5672507",
"0.56718",
"0.5664918",
"0.565061",
"0.56414354",
"0.56399024",
"0.56356394",
"0.56298",
"0.56283474",
"0.56260276",
"0.56225455",
"0.5618418",
"0.561785",
"0.56159854",
"0.56152344",
"0.5611308",
"0.561102",
"0.56097424",
"0.560858",
"0.5604324",
"0.5598549",
"0.55978453",
"0.5591933"
] | 0.56944996 | 71 |
Updates the socket with the configuration's socket options. | protected void updateSocketWithOptions(final MongoClientConfiguration config)
throws SocketException {
mySocket.setKeepAlive(config.isUsingSoKeepalive());
mySocket.setSoTimeout(config.getReadTimeout());
try {
mySocket.setTcpNoDelay(true);
}
catch (final SocketException seIgnored) {
// The junixsocket implementation does not support TCP_NO_DELAY,
// which makes sense but it throws an exception instead of silently
// ignoring - ignore it here.
if (!"AFUNIXSocketException".equals(seIgnored.getClass()
.getSimpleName())) {
throw seIgnored;
}
}
mySocket.setPerformancePreferences(1, 5, 6);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setSocket(SocketWrapper socket);",
"public void setSocketOptions(Socket socket) throws IOException\n {\n socket.setSoTimeout(config.getTimeout());\n socket.setTrafficClass(0x18);\n socket.setTcpNoDelay(true);\n }",
"public void setSocketChannel(SocketChannel socketChannel);",
"protected final void setSocket(Socket socket) {\n this.socket = socket;\n }",
"public void setSocket(ServerSocket socket) {\n\t\tthis.socket = socket;\n\t}",
"public interface SocketOpts { // SocketOptions already used in java.net\n\n // Options that apply to all kinds of sockets\n\n // SO_BROADCAST\n public abstract boolean broadcast() throws IOException;\n public abstract SocketOpts broadcast(boolean b) throws IOException;\n\n // SO_KEEPALIVE\n public abstract boolean keepAlive() throws IOException;\n public abstract SocketOpts keepAlive(boolean b) throws IOException;\n\n // SO_LINGER\n public abstract int linger() throws IOException;\n public abstract SocketOpts linger(int n) throws IOException;\n\n // SO_OOBINLINE\n public abstract boolean outOfBandInline() throws IOException;\n public abstract SocketOpts outOfBandInline(boolean b) throws IOException;\n\n // SO_RCVBUF\n public abstract int receiveBufferSize() throws IOException;\n public abstract SocketOpts receiveBufferSize(int n) throws IOException;\n\n // SO_SNDBUF\n public abstract int sendBufferSize() throws IOException;\n public abstract SocketOpts sendBufferSize(int n) throws IOException;\n\n // SO_REUSEADDR\n public abstract boolean reuseAddress() throws IOException;\n public abstract SocketOpts reuseAddress(boolean b) throws IOException;\n\n\n // IP-specific options\n\n public static interface IP\n extends SocketOpts\n {\n\n // IP_MULTICAST_IF2\n public abstract NetworkInterface multicastInterface()\n throws IOException;\n public abstract IP multicastInterface(NetworkInterface ni)\n throws IOException;\n\n // IP_MULTICAST_LOOP\n public abstract boolean multicastLoop() throws IOException;\n public abstract IP multicastLoop(boolean b) throws IOException;\n\n // IP_TOS\n public static final int TOS_LOWDELAY = 0x10;\n public static final int TOS_THROUGHPUT = 0x08;\n public static final int TOS_RELIABILITY = 0x04;\n public static final int TOS_MINCOST = 0x02;\n public abstract int typeOfService() throws IOException;\n public abstract IP typeOfService(int tos) throws IOException;\n\n\n // TCP-specific options\n\n public static interface TCP\n extends IP\n {\n // TCP_NODELAY\n public abstract boolean noDelay() throws IOException;\n public abstract TCP noDelay(boolean b) throws IOException;\n\n }\n\n }\n\n}",
"public static void rebuildSocket() throws IOException {\n try {\n buildSocket();\n } catch (Exception e) {\n throw new IOException();\n }\n }",
"public void activateOptions() {\n try {\n sh = new SocketHandler(port);\n sh.start();\n }\n catch(InterruptedIOException e) {\n Thread.currentThread().interrupt();\n e.printStackTrace();\n } catch(IOException e) {\n e.printStackTrace();\n } catch(RuntimeException e) {\n e.printStackTrace();\n }\n super.activateOptions();\n }",
"public void setSocketTimeout(final int socketTimeout) {\n this.newSoTimeout = socketTimeout;\n }",
"void setSocketFactory(SocketFactory socketFactory);",
"public void setSocketTimeout(int socketTimeout)\n {\n this._socketTimeout = socketTimeout;\n }",
"public Builder clearSocketProtocol() {\n bitField0_ = (bitField0_ & ~0x00000004);\n socketProtocol_ = 1;\n onChanged();\n return this;\n }",
"public Builder setSock(\n\t\t\t\t\tproto.MessagesProtos.ClientRequest.Socket.Builder builderForValue) {\n\t\t\t\tif (sockBuilder_ == null) {\n\t\t\t\t\tsock_ = builderForValue.build();\n\t\t\t\t\tonChanged();\n\t\t\t\t} else {\n\t\t\t\t\tsockBuilder_.setMessage(builderForValue.build());\n\t\t\t\t}\n\n\t\t\t\treturn this;\n\t\t\t}",
"@Override\n public void socket() {\n }",
"public void setSocketTimeout(int socketTimeout) {\r\n this.socketTimeout = socketTimeout;\r\n }",
"@Override\n public void update(Map conf) {\n LOG.info(\"Receive configuration {}\", conf);\n this.conf.putAll(conf);\n \n isSlowdown = JStormUtils.parseBoolean(conf.get(BOLT_SLOW_DOWN), true);\n }",
"public void setSocket(String socket) {\n this.socket = socket == null ? null : socket.trim();\n }",
"public void initialize() throws SocketException{\n defPortUsed = true;\n initializeReal(defPortNumber, defPacketSize);\n }",
"public Builder mergeSock(proto.MessagesProtos.ClientRequest.Socket value) {\n\t\t\t\tif (sockBuilder_ == null) {\n\t\t\t\t\tif (sock_ != null) {\n\t\t\t\t\t\tsock_ =\n\t\t\t\t\t\t\t\tproto.MessagesProtos.ClientRequest.Socket.newBuilder(sock_).mergeFrom(value).buildPartial();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tsock_ = value;\n\t\t\t\t\t}\n\t\t\t\t\tonChanged();\n\t\t\t\t} else {\n\t\t\t\t\tsockBuilder_.mergeFrom(value);\n\t\t\t\t}\n\n\t\t\t\treturn this;\n\t\t\t}",
"public Builder setSock(proto.MessagesProtos.ClientRequest.Socket value) {\n\t\t\t\tif (sockBuilder_ == null) {\n\t\t\t\t\tif (value == null) {\n\t\t\t\t\t\tthrow new NullPointerException();\n\t\t\t\t\t}\n\t\t\t\t\tsock_ = value;\n\t\t\t\t\tonChanged();\n\t\t\t\t} else {\n\t\t\t\t\tsockBuilder_.setMessage(value);\n\t\t\t\t}\n\n\t\t\t\treturn this;\n\t\t\t}",
"@Override\n\tpublic void set(SocketAddress v) {\n\t\tsuper.set(Objects.requireNonNull(v));\n\t}",
"private static void copySocketPropertiesToNode(SingleSocketNode node, NodeSocket patternSocket)\r\n\t{\r\n\t\tProcessItem process = patternSocket.getProcess();\r\n\r\n\t\t// Copy name etc. from the given socket\r\n\t\tnode.setName(patternSocket.getName());\r\n\t\tnode.setDisplayName(patternSocket.getDisplayName());\r\n\t\tnode.setDescription(patternSocket.getDescription());\r\n\r\n\t\t// Make sure it has a name unique among all nodes of the process\r\n\t\tNamedObjectCollectionUtil.createUniqueName(node, process.getNodeList());\r\n\r\n\t\tNodeSocket socket = node.getSocket();\r\n\r\n\t\t// Copy the parameters of the given socket to the socket of the node\r\n\t\tfor (Iterator it = patternSocket.getParams(); it.hasNext();)\r\n\t\t{\r\n\t\t\tNodeParam param = (NodeParam) it.next();\r\n\r\n\t\t\ttry\r\n\t\t\t{\r\n\t\t\t\tparam = (NodeParam) param.clone();\r\n\t\t\t}\r\n\t\t\tcatch (CloneNotSupportedException e)\r\n\t\t\t{\r\n\t\t\t\tparam = null;\r\n\t\t\t}\r\n\r\n\t\t\tif (param != null)\r\n\t\t\t{\r\n\t\t\t\tsocket.addParam(param);\r\n\t\t\t}\r\n\t\t}\r\n\t}",
"public void setSocketFactory(ISOServerSocketFactory socketFactory) {\n this.socketFactory = socketFactory;\n }",
"protected void bind() throws SocketException {\n super.bind();\n\n //start the secure socket\n dtlsSocket = options.getSecurePort() > 0 ? new DatagramSocket(options.getSecurePort()) : new DatagramSocket();\n dtslReceiverThread = createDatagramServer(\"mqttsn-dtls-receiver\", options.getReceiveBuffer(), dtlsSocket);\n }",
"@Override\r\n\tpublic void start(Socket socket){}",
"public void setSocketSupport(PortExposingTcpSocketSupport socketSupport) {\n\t\tthis.socketSupport = socketSupport;\n\t}",
"public TcpSocketOptions immutable() {\n\t\t\treturn new TcpSocketOptions(Map.copyOf(map));\n\t\t}",
"public static TcpSocketOptions.Mutable of() {\n\t\treturn of(LinkedHashMap::new);\n\t}",
"@Override\n public void update(Map conf) {\n LOG.info(\"Receive configuration {}\", conf);\n this.conf.putAll(conf);\n \n isBoltSlowdown = JStormUtils.parseBoolean(conf.get(BOLT_SLOW_DOWN), true);\n }",
"public Builder clearSocketFamily() {\n bitField0_ = (bitField0_ & ~0x00000002);\n socketFamily_ = 1;\n onChanged();\n return this;\n }",
"public GridPeer setSocket(Socket socket) throws Exception\n {\n connected = true;\n connectionSocket = socket;\n address = connectionSocket.getInetAddress();\n localPeerID = ++localPeerIDCount;\n reader = new BufferedReader(new InputStreamReader(connectionSocket.getInputStream()));\n writer = new PrintWriter(connectionSocket.getOutputStream(),true);\n initListener();\n return this;\n }",
"private void initBinding() throws IOException {\n serverSocketChannel.bind(new InetSocketAddress(0));\n serverSocketChannel.configureBlocking(false);\n serverSocketChannel.register(selector, SelectionKey.OP_ACCEPT);\n\n sc.configureBlocking(false);\n var key = sc.register(selector, SelectionKey.OP_CONNECT);\n uniqueContext = new ClientContext(key, this);\n key.attach(uniqueContext);\n sc.connect(serverAddress);\n }",
"public <T> TcpSocketOptions set(TcpSocketOption<T> option, T value) {\n\t\t\tObjects.requireNonNull(option);\n\t\t\tObjects.requireNonNull(value);\n\t\t\tmap.put(option, value);\n\t\t\treturn this;\n\t\t}",
"private void initSocketWithHandlers() {\n\t\tfor(String key: eventHandlerMap.keySet()) {\n\t\t\tmSocket.on(key, eventHandlerMap.get(key));\n\t\t}\n\t}",
"public static void appUpdate(NetSocket socket) {\n String data = \"CS01*868807049006736*005A*APPUPDATE,20190814114414I4021,http://59.173.2.76:2132/appfile/20190814/V-WHTYDZZ-1.0.2.apk,1.0.2\";\n String deviceId = \"868807049006736\";\n send(socket, data, deviceId);\n }",
"public static void transferConfigurationTo(IOptionSetter options) {\r\n options.setOption(HOST_EVENT, getEventHost());\r\n options.setOption(PORT_EVENT, getEventPort());\r\n options.setOption(CONFIG_KEY_STORM_NIMBUS_HOST, getNimbus());\r\n options.setOption(CONFIG_KEY_STORM_NIMBUS_PORT, getThriftPort());\r\n options.setOption(EVENT_DISABLE_LOGGING, getEventDisableLogging());\r\n options.setOption(PIPELINE_INTERCONN_PORTS, getPipelinePorts());\r\n options.setOption(MONITORING_VOLUME_ENABLED, enableVolumeMonitoring());\r\n options.setOption(RETRY_INTERVAL_ZOOKEEPER, getZookeeperRetryInterval());\r\n options.setOption(RETRY_TIMES_ZOOKEEPER, getZookeeperRetryTimes());\r\n options.setOption(WATCHER_WAITING_TIME, getWatcherWaitingTime());\r\n }",
"public void updateConfig() {\n conf.set(\"racetype\", raceType.name());\n conf.set(\"perkpoints\", perkpoints);\n conf.set(\"health\", getHealth());\n\n if (conf.isSet(\"binds\")) {\n conf.set(\"binds\", null);\n }\n\n if (!binds.getBinds().isEmpty()) {\n for (Bind b : binds.getBinds()) {\n String key = b.getItem().name().toLowerCase() + b.getData();\n conf.set(\"binds.\" + key + \".item\", b.getItem().name());\n conf.set(\"binds.\" + key + \".data\", b.getData());\n List<String> abilities = Lists.newArrayList();\n b.getAbilityTypes().stream().forEach(a -> abilities.add(a.name()));\n conf.set(\"binds.\" + key + \".abilities\", abilities);\n }\n }\n\n\n AbilityFileManager.saveAbilities(this);\n }",
"private void sendSocket(String data) {\n if (!serviceStartNormalMethod) {\n pingStamp = System.currentTimeMillis();\n }\n\n if (ctrlSocketBufferOut != null && !ctrlSocketBufferOut.checkError() && ctrlSocketThreadState == SocketThreadStates.RUNNING) {\n ctrlSocketBufferOut.println(data);\n ctrlSocketBufferOut.flush();\n }\n\n if (ctrlSocketBufferOut != null && ctrlSocketBufferOut.checkError()) {\n // conn manager thread will re-connect us\n ctrlSocketThreadState = SocketThreadStates.ERROR;\n broadcastConnectionStatus();\n }\n }",
"public static void setServerSocket(ServerSocket serverSocket) {\n\t\tServer.serverSocket = serverSocket;\n\t}",
"void setReceiveSocket(LcapSocket socket) {\n rcvSocket = socket;\n }",
"private void applyConfig(GraphQLClientConfiguration configuration) {\n if (this.endpoint == null && configuration.getUrl() != null) {\n this.endpoint = URI.create(configuration.getUrl());\n }\n if (this.websocketUrl == null && configuration.getWebsocketUrl() != null) {\n this.websocketUrl = configuration.getWebsocketUrl();\n }\n if (this.headers == null && configuration.getHeaders() != null) {\n this.headers = configuration.getHeaders();\n }\n if (this.initPayload == null && configuration.getInitPayload() != null) {\n this.initPayload = configuration.getInitPayload();\n }\n if (this.websocketInitializationTimeout == null && configuration.getWebsocketInitializationTimeout() != null) {\n this.websocketInitializationTimeout = configuration.getWebsocketInitializationTimeout();\n }\n if (executeSingleOperationsOverWebsocket == null && configuration.getExecuteSingleOperationsOverWebsocket() != null) {\n this.executeSingleOperationsOverWebsocket = configuration.getExecuteSingleOperationsOverWebsocket();\n }\n if (allowUnexpectedResponseFields == null && configuration.getAllowUnexpectedResponseFields() != null) {\n this.allowUnexpectedResponseFields = configuration.getAllowUnexpectedResponseFields();\n }\n\n if (configuration.getWebsocketSubprotocols() != null) {\n configuration.getWebsocketSubprotocols().forEach(protocol -> {\n try {\n WebsocketSubprotocol e = WebsocketSubprotocol.fromString(protocol);\n this.subprotocols.add(e);\n } catch (IllegalArgumentException e) {\n log.warn(e);\n }\n });\n }\n\n VertxClientOptionsHelper.applyConfigToVertxOptions(options, configuration);\n }",
"public void updateRegister(int id, int socket, boolean connState) throws SQLException\r\n\t{\n\t\tint index = getIdList().indexOf(id);\r\n\t\t//getSocketList().set(index, socket);\r\n\t\tgetConnStateList().set(index, connState);\r\n\t\tStatement stmt;\r\n\t\tstmt = conn.createStatement();\r\n\t\tString sql = \"update clientinfo set socket=\"+socket+\", conninfo=\"+connState+\" where id=\"+id;\r\n\t\tstmt.executeUpdate(sql);\r\n\t}",
"public SocketChannelConfig setSoLinger(int soLinger)\r\n/* 241: */ {\r\n/* 242: */ try\r\n/* 243: */ {\r\n/* 244:241 */ if (soLinger < 0) {\r\n/* 245:242 */ this.javaSocket.setSoLinger(false, 0);\r\n/* 246: */ } else {\r\n/* 247:244 */ this.javaSocket.setSoLinger(true, soLinger);\r\n/* 248: */ }\r\n/* 249: */ }\r\n/* 250: */ catch (SocketException e)\r\n/* 251: */ {\r\n/* 252:247 */ throw new ChannelException(e);\r\n/* 253: */ }\r\n/* 254:249 */ return this;\r\n/* 255: */ }",
"public MonitoringSocket() throws IOException {\r\n\r\n\t\tincrementNumberOfOpenSockets();\r\n\t\tprintMonitoringSocketStatus();\r\n\t}",
"private void manageConnectedSocket(BluetoothSocket acceptSocket) {\n\n }",
"public void acceptedSocket(long socketId) {}",
"private ChromeBluetoothSocketSocket(int socketId, BluetoothSocket clientSocket) {\n this.socketId = socketId;\n type = SocketType.SO_TYPE_CLIENT;\n this.clientSocket = clientSocket;\n paused = true;\n setDefaultProperties();\n }",
"public final synchronized void setSocketTimeout(final int timeout) {\n HttpConnectionParams.setSoTimeout(params, timeout);\n }",
"public static TcpSocketOptions from(TcpSocket socket) throws IOException {\n\t\tvar options = of();\n\t\tfor (var option : TcpSocketOption.all)\n\t\t\toptions.set(option, BasicUtil.uncheckedCast(socket.option(option)));\n\t\treturn options.immutable();\n\t}",
"public interface SocketControl {\n\n /**\n * 获取服务的IP和端口\n * @return 格式:ip:port,如127.0.0.1:8080\n */\n String getIpPort();\n\n /**\n * 获取服务的ServiceId\n * @return 服务的ServiceId\n */\n String getServiceId();\n\n /**\n * 获取服务的InstanceId\n * @return 服务的InstanceId\n */\n String getInstanceId();\n\n\n /**\n * 获取模块名称,也可以直接调用getIpPort()\n * @return 模块名称\n */\n String getModelName();\n\n\n /**\n * 模块下连接的标示\n * @param channel 管道对象\n * @return uk\n */\n String getUniqueKey(Channel channel);\n\n\n /**\n * 模块下连接的标示\n * @param ctx 管道对象\n * @return uk\n */\n String getUniqueKey(ChannelHandlerContext ctx);\n\n\n /**\n * 绑定key\n * @param ctx 当前连接对象\n * @param key key\n */\n void bindKey(ChannelHandlerContext ctx,String key);\n\n /**\n * 绑定key\n * @param ctx 当前连接对象\n * @param key key\n */\n void bindKey(Channel ctx,String key);\n\n /**\n * 获取key\n * @param ctx 当前链接对象\n * @return key\n */\n String getKey(Channel ctx);\n\n /**\n * 获取key\n * @param ctx 当前链接对象\n * @return key\n */\n String getKey(ChannelHandlerContext ctx);\n\n\n /**\n * 重置心跳时间\n * @param ctx 当前连接对象\n * @param heartTime 心跳时间(秒)\n */\n void resetHeartTime(Channel ctx,int heartTime);\n\n\n\n}",
"public EnvironmentSocket wrapperSocket(Socket socket) {\n return new EnvironmentSocketImpl(socket);\n }",
"public static InetSocketAddress updateListenAddress(OzoneConfiguration conf,\n String addressKey, InetSocketAddress addr, InetSocketAddress listenAddr) {\n InetSocketAddress updatedAddr = new InetSocketAddress(addr.getHostString(),\n listenAddr.getPort());\n conf.set(addressKey,\n addr.getHostString() + \":\" + listenAddr.getPort());\n return updatedAddr;\n }",
"public HandleAClient(Socket s) {\n\t\t\tmySocket = s;\n\t\t}",
"public abstract void handle(Socket socket);",
"public HandleAClient(Socket socket) {\n this.socket = socket;\n }",
"@Override\r\n public void doUpdateConfig(GameConfig game)\r\n {\n \r\n }",
"public MockSocket () {\n state = UNBOUND;\n }",
"public void processRemoteSocketChanged(InetSocketAddress remoteSocket, InetSocketAddress previous) {\n // to be overridden by extending classes\n }",
"private void setSockets()\n {\n String s = (String) JOptionPane.showInputDialog(null,\n \"Select Number of Sockets:\", \"Sockets\",\n JOptionPane.PLAIN_MESSAGE, null, socketSelect, \"1\");\n\n if ((s != null) && (s.length() > 0))\n {\n totalNumThreads = Integer.parseInt(s);\n }\n else\n {\n totalNumThreads = 1;\n }\n\n recoveryQueue.setMaxSize(totalNumThreads * 10);\n }",
"private Socket(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n\t\t\t\tsuper(builder);\n\t\t\t}",
"public synchronized boolean set_connection_socket(String add, int port) {\n //handle socket in UI thread\n StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder().permitAll().build();\n StrictMode.setThreadPolicy(policy);\n\n socketaddress = add;\n socketport = port;\n try {\n socket = new Socket(add,port);\n } catch (IOException e) {\n e.printStackTrace();\n return false;\n }\n return true;\n }",
"public void updateSystemSettings()\r\n {\r\n System.setProperty( \"http.agent\", Environment.getPhexVendor() );\r\n if ( isHttpProxyUsed )\r\n {\r\n System.setProperty( \"http.proxyHost\", httpProxyHost );\r\n System.setProperty( \"http.proxyPort\", String.valueOf( httpProxyPort ) );\r\n }\r\n else\r\n {\r\n System.setProperty( \"http.proxyHost\", \"\" );\r\n System.setProperty( \"http.proxyPort\", \"\" );\r\n }\r\n \r\n // cache DNS name lookups for only 30 minutes\r\n System.setProperty( \"networkaddress.cache.ttl\", \"1800\" );\r\n Security.setProperty( \"networkaddress.cache.ttl\", \"1800\" );\r\n }",
"public Builder setSocketProtocol(org.graylog.plugins.dnstap.protos.DnstapOuterClass.SocketProtocol value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000004;\n socketProtocol_ = value.getNumber();\n onChanged();\n return this;\n }",
"public Map<ChannelOption<?>, Object> getOptions()\r\n/* 39: */ {\r\n/* 40: 64 */ return getOptions(\r\n/* 41: 65 */ super.getOptions(), new ChannelOption[] { ChannelOption.SO_RCVBUF, ChannelOption.SO_SNDBUF, ChannelOption.TCP_NODELAY, ChannelOption.SO_KEEPALIVE, ChannelOption.SO_REUSEADDR, ChannelOption.SO_LINGER, ChannelOption.IP_TOS, ChannelOption.ALLOW_HALF_CLOSURE });\r\n/* 42: */ }",
"@Activate\n public void activate(final BundleContext context) throws IOException\n {\n // set port, use default if not set\n int serverPort = DEFAULT_PORT;\n \n // set SSL flag, use default if not set\n boolean enableSsl = false;\n \n if (context.getProperty(PORT_PROP_KEY) != null)\n {\n serverPort = Integer.parseInt(context.getProperty(PORT_PROP_KEY));\n }\n \n if (context.getProperty(SSL_PROP_KEY) != null)\n {\n enableSsl = Boolean.parseBoolean(context.getProperty(SSL_PROP_KEY));\n }\n\n m_ServerSocket = m_ServerSocketFactory.createServerSocket(serverPort, enableSsl);\n\n m_Logging.info(\"Server socket listening on port %d for remote messages\", m_ServerSocket.getLocalPort());\n \n m_ServerSocketThread = new Thread(new Runnable()\n {\n @Override\n public void run()\n {\n //run until the socket is closed\n while (true)\n {\n try\n {\n final Socket socket = m_ServerSocket.accept(); // NOFORTIFY: unreleased resource:\n //resources are managed by the remote channel lookup\n m_Logging.info(\"Connection made from %s for remote interface\", \n socket.getRemoteSocketAddress());\n \n m_RemoteChannelLookup.newServerSocketChannel(socket);\n }\n catch (final IOException e)\n {\n if (m_ServerSocket.isClosed())\n {\n m_Logging.info(\"Server socket has been closed, will stop accepting connections\");\n return;\n }\n }\n }\n }\n });\n \n m_ServerSocketThread.setName(\"RemoteInterfaceServerSocket\");\n m_ServerSocketThread.start();\n }",
"public abstract void handleCurrentConnection(Socket socket) throws IOException;",
"private void initServerSocket()\n\t{\n\t\tboundPort = new InetSocketAddress(port);\n\t\ttry\n\t\t{\n\t\t\tserverSocket = new ServerSocket(port);\n\n\t\t\tif (serverSocket.isBound())\n\t\t\t{\n\t\t\t\tSystem.out.println(\"Server bound to data port \" + serverSocket.getLocalPort() + \" and is ready...\");\n\t\t\t}\n\t\t}\n\t\tcatch (Exception e)\n\t\t{\n\t\t\tSystem.out.println(\"Unable to initiate socket.\");\n\t\t}\n\n\t}",
"private void sendUpdateConnectionInfo() {\n\n }",
"public <T> boolean apply(TcpSocketOption<T> option, TcpSocket socket) throws IOException {\n\t\treturn apply(option, socket::option);\n\t}",
"@Override\n public Socket connectSocket(int connectTimeout, Socket socket, HttpHost host, InetSocketAddress remoteAddress, InetSocketAddress localAddress, HttpContext context) throws IOException {\n InetSocketAddress unresolvedRemote = InetSocketAddress\n .createUnresolved(host.getHostName(), remoteAddress.getPort());\n return super.connectSocket(connectTimeout, socket, host, unresolvedRemote, localAddress, context);\n }",
"public void createUpdatSocket(String ip, int port) throws IOException\n {\n socket = new Socket(ip,port);\n outAgent =\n new PrintWriter(socket.getOutputStream(), true);\n inAgent =\n new BufferedReader(\n new InputStreamReader(socket.getInputStream()));\n }",
"private void initServerSock(int port) throws IOException {\n\tserver = new ServerSocket(port);\n\tserver.setReuseAddress(true);\n }",
"public DefaultSocketChannelConfig(SocketChannel channel, Socket javaSocket)\r\n/* 23: */ {\r\n/* 24: 46 */ super(channel);\r\n/* 25: 47 */ if (javaSocket == null) {\r\n/* 26: 48 */ throw new NullPointerException(\"javaSocket\");\r\n/* 27: */ }\r\n/* 28: 50 */ this.javaSocket = javaSocket;\r\n/* 29: 53 */ if (PlatformDependent.canEnableTcpNoDelayByDefault()) {\r\n/* 30: */ try\r\n/* 31: */ {\r\n/* 32: 55 */ setTcpNoDelay(true);\r\n/* 33: */ }\r\n/* 34: */ catch (Exception localException) {}\r\n/* 35: */ }\r\n/* 36: */ }",
"private DelegatingSSLSocketFactory.SSLChannelMode bindSocketFactory(\n final DelegatingSSLSocketFactory.SSLChannelMode channelMode)\n throws IOException {\n DelegatingSSLSocketFactory.resetDefaultFactory();\n Configuration conf = new Configuration(false);\n conf.set(SSL_CHANNEL_MODE, channelMode.name());\n ClientConfiguration awsConf = new ClientConfiguration();\n awsConf.setProtocol(Protocol.HTTPS);\n bindSSLChannelMode(conf, awsConf);\n return DelegatingSSLSocketFactory.getDefaultFactory().getChannelMode();\n }",
"private static Socket m39192a(Socket socket) {\n if (socket instanceof SSLSocket) {\n SSLSocket sSLSocket = (SSLSocket) socket;\n ArrayList arrayList = new ArrayList(Arrays.asList(sSLSocket.getSupportedProtocols()));\n arrayList.retainAll(Arrays.asList(new String[]{\"TLSv1.2\", \"TLSv1.1\", \"TLSv1\"}));\n sSLSocket.setEnabledProtocols((String[]) arrayList.toArray(new String[arrayList.size()]));\n }\n return socket;\n }",
"public <T> boolean setOption(ChannelOption<T> option, T value)\r\n/* 74: */ {\r\n/* 75:103 */ validate(option, value);\r\n/* 76:105 */ if (option == ChannelOption.SO_RCVBUF) {\r\n/* 77:106 */ setReceiveBufferSize(((Integer)value).intValue());\r\n/* 78:107 */ } else if (option == ChannelOption.SO_SNDBUF) {\r\n/* 79:108 */ setSendBufferSize(((Integer)value).intValue());\r\n/* 80:109 */ } else if (option == ChannelOption.TCP_NODELAY) {\r\n/* 81:110 */ setTcpNoDelay(((Boolean)value).booleanValue());\r\n/* 82:111 */ } else if (option == ChannelOption.SO_KEEPALIVE) {\r\n/* 83:112 */ setKeepAlive(((Boolean)value).booleanValue());\r\n/* 84:113 */ } else if (option == ChannelOption.SO_REUSEADDR) {\r\n/* 85:114 */ setReuseAddress(((Boolean)value).booleanValue());\r\n/* 86:115 */ } else if (option == ChannelOption.SO_LINGER) {\r\n/* 87:116 */ setSoLinger(((Integer)value).intValue());\r\n/* 88:117 */ } else if (option == ChannelOption.IP_TOS) {\r\n/* 89:118 */ setTrafficClass(((Integer)value).intValue());\r\n/* 90:119 */ } else if (option == ChannelOption.ALLOW_HALF_CLOSURE) {\r\n/* 91:120 */ setAllowHalfClosure(((Boolean)value).booleanValue());\r\n/* 92: */ } else {\r\n/* 93:122 */ return super.setOption(option, value);\r\n/* 94: */ }\r\n/* 95:125 */ return true;\r\n/* 96: */ }",
"public SocketChannelConfig setReuseAddress(boolean reuseAddress)\r\n/* 215: */ {\r\n/* 216: */ try\r\n/* 217: */ {\r\n/* 218:221 */ this.javaSocket.setReuseAddress(reuseAddress);\r\n/* 219: */ }\r\n/* 220: */ catch (SocketException e)\r\n/* 221: */ {\r\n/* 222:223 */ throw new ChannelException(e);\r\n/* 223: */ }\r\n/* 224:225 */ return this;\r\n/* 225: */ }",
"private void gestionSocket(){\n Socket sock = null;\n try{\n sock = new Socket(adresse, 18000);\n }\n catch(IOException ioe){\n System.out.println(\"Erreur lors de la connexion : \" + ioe.getMessage());\n }\n \n envoieInt(sock, 3);\n }",
"public void closeSocket() { //gracefully close the socket connection\n\t\ttry {\n\t\t\tthis.os.close();\n\t\t\tthis.is.close();\n\t\t\tthis.clientSocket.close();\n\t\t} \n\t\tcatch (Exception e) {\n\t\t\tSystem.out.println(\"XX. \" + e.getStackTrace());\n\t\t}\n\t}",
"public interface ServerSocketFactory {\n\n\n // --------------------------------------------------------- Public Methods\n\n\n /**\n * Returns a server socket which uses all network interfaces on\n * the host, and is bound to a the specified port. The socket is\n * configured with the socket options (such as accept timeout)\n * given to this factory.\n *\n * @param port the port to listen to\n *\n * @exception IOException input/output or network error\n * @exception KeyStoreException error instantiating the\n * KeyStore from file (SSL only)\n * @exception NoSuchAlgorithmException KeyStore algorithm unsupported\n * by current provider (SSL only)\n * @exception CertificateException general certificate error (SSL only)\n * @exception UnrecoverableKeyException internal KeyStore problem with\n * the certificate (SSL only)\n * @exception KeyManagementException problem in the key management\n * layer (SSL only)\n */\n public ServerSocket createSocket (int port)\n throws IOException, KeyStoreException, NoSuchAlgorithmException,\n CertificateException, UnrecoverableKeyException,\n KeyManagementException;\n\n\n /**\n * Returns a server socket which uses all network interfaces on\n * the host, is bound to a the specified port, and uses the\n * specified connection backlog. The socket is configured with\n * the socket options (such as accept timeout) given to this factory.\n *\n * @param port the port to listen to\n * @param backlog how many connections are queued\n *\n * @exception IOException input/output or network error\n * @exception KeyStoreException error instantiating the\n * KeyStore from file (SSL only)\n * @exception NoSuchAlgorithmException KeyStore algorithm unsupported\n * by current provider (SSL only)\n * @exception CertificateException general certificate error (SSL only)\n * @exception UnrecoverableKeyException internal KeyStore problem with\n * the certificate (SSL only)\n * @exception KeyManagementException problem in the key management\n * layer (SSL only)\n */\n public ServerSocket createSocket (int port, int backlog)\n throws IOException, KeyStoreException, NoSuchAlgorithmException,\n CertificateException, UnrecoverableKeyException,\n KeyManagementException;\n\n\n /**\n * Returns a server socket which uses only the specified network\n * interface on the local host, is bound to a the specified port,\n * and uses the specified connection backlog. The socket is configured\n * with the socket options (such as accept timeout) given to this factory.\n *\n * @param port the port to listen to\n * @param backlog how many connections are queued\n * @param ifAddress the network interface address to use\n *\n * @exception IOException input/output or network error\n * @exception KeyStoreException error instantiating the\n * KeyStore from file (SSL only)\n * @exception NoSuchAlgorithmException KeyStore algorithm unsupported\n * by current provider (SSL only)\n * @exception CertificateException general certificate error (SSL only)\n * @exception UnrecoverableKeyException internal KeyStore problem with\n * the certificate (SSL only)\n * @exception KeyManagementException problem in the key management\n * layer (SSL only)\n */\n public ServerSocket createSocket (int port, int backlog,\n InetAddress ifAddress)\n throws IOException, KeyStoreException, NoSuchAlgorithmException,\n CertificateException, UnrecoverableKeyException,\n KeyManagementException;\n\n\n}",
"public void sendNewConfiguration() {\n this.mWmService.mH.obtainMessage(18, this).sendToTarget();\n }",
"public interface TcpSocket extends Connector {\n\t/** A no-op, stateless, socket instance. */\n\tTcpSocket NULL = new Null() {};\n\n\t@Override\n\tdefault String name() {\n\t\treturn String.format(\"%d->%s\", localPort(), hostPort());\n\t}\n\n\t/**\n\t * Provides the socket remote host and port.\n\t */\n\tHostPort hostPort();\n\n\t/**\n\t * Provides the local port.\n\t */\n\tint localPort();\n\n\t/**\n\t * Set socket option.\n\t */\n\t<T> void option(TcpSocketOption<T> option, T value) throws IOException;\n\n\t/**\n\t * Get socket option.\n\t */\n\t<T> T option(TcpSocketOption<T> option) throws IOException;\n\n\t/**\n\t * Set socket options.\n\t */\n\tdefault void options(TcpSocketOptions options) throws IOException {\n\t\toptions.applyAll(this);\n\t}\n\n\t/**\n\t * Get socket options.\n\t */\n\tdefault TcpSocketOptions options() throws IOException {\n\t\treturn TcpSocketOptions.from(this);\n\t}\n\n\t/**\n\t * An extension of SocketConnector that is aware of state.\n\t */\n\tinterface Fixable extends TcpSocket, Connector.Fixable {}\n\n\t/**\n\t * Determines if the exception indicates a socket is fatally broken.\n\t */\n\tstatic boolean isBroken(Exception e) {\n\t\treturn e instanceof SocketException; // check broken pipe?\n\t}\n\n\t/**\n\t * Connect the socket and wrap as a TcpSocket.\n\t */\n\tstatic Wrapper connect(HostPort hostPort) throws IOException {\n\t\t@SuppressWarnings(\"resource\")\n\t\tSocket socket = new Socket(hostPort.host, hostPort.port);\n\t\ttry {\n\t\t\treturn wrap(socket);\n\t\t} catch (RuntimeException | IOException e) {\n\t\t\tsocket.close();\n\t\t\tthrow e;\n\t\t}\n\t}\n\n\t/**\n\t * Wrapper for a jdk socket. The socket must already be connected.\n\t */\n\tstatic Wrapper wrap(Socket socket) throws IOException {\n\t\treturn new Wrapper(socket);\n\t}\n\n\t/**\n\t * Wrapper for a jdk socket. The socket must already be connected.\n\t */\n\tclass Wrapper implements TcpSocket {\n\t\tprivate final Socket socket;\n\t\tprivate final HostPort hostPort;\n\t\tprivate final int localPort;\n\t\tprivate final InputStream in;\n\t\tprivate final OutputStream out;\n\n\t\tprivate Wrapper(Socket socket) throws IOException {\n\t\t\tif (!socket.isConnected()) throw new IOException(\"Socket is not connected\");\n\t\t\tthis.socket = socket;\n\t\t\thostPort = HostPort.from((InetSocketAddress) socket.getRemoteSocketAddress());\n\t\t\tlocalPort = socket.getLocalPort();\n\t\t\tin = socket.getInputStream();\n\t\t\tout = socket.getOutputStream();\n\t\t}\n\n\t\t@Override\n\t\tpublic HostPort hostPort() {\n\t\t\treturn hostPort;\n\t\t}\n\n\t\t@Override\n\t\tpublic int localPort() {\n\t\t\treturn localPort;\n\t\t}\n\n\t\t@Override\n\t\tpublic <T> void option(TcpSocketOption<T> option, T value) throws IOException {\n\t\t\toption.set(socket, value);\n\t\t}\n\n\t\t@Override\n\t\tpublic <T> T option(TcpSocketOption<T> option) throws IOException {\n\t\t\treturn option.get(socket);\n\t\t}\n\n\t\t@Override\n\t\tpublic InputStream in() {\n\t\t\treturn in;\n\t\t}\n\n\t\t@Override\n\t\tpublic OutputStream out() {\n\t\t\treturn out;\n\t\t}\n\n\t\t@Override\n\t\tpublic void close() throws IOException {\n\t\t\tsocket.close();\n\t\t}\n\t}\n\n\t/**\n\t * A no-op, stateless, socket implementation.\n\t */\n\tinterface Null extends Connector.Null, TcpSocket.Fixable {\n\t\t@Override\n\t\tdefault HostPort hostPort() {\n\t\t\treturn HostPort.NULL;\n\t\t}\n\n\t\t@Override\n\t\tdefault int localPort() {\n\t\t\treturn 0;\n\t\t}\n\n\t\t@Override\n\t\tdefault <T> void option(TcpSocketOption<T> option, T value) throws IOException {}\n\n\t\t@Override\n\t\tdefault <T> T option(TcpSocketOption<T> option) throws IOException {\n\t\t\treturn Objects.requireNonNullElse(option.disableValue, BasicUtil.uncheckedCast(0));\n\t\t}\n\t}\n}",
"public abstract void updatePendingConfiguration(Configuration config);",
"public boolean setupSocket() throws ExitProgram {\n\t\tboolean success = false;\n\t\t\n\t\tthis.showNamedMessage(\"Trying to open a new socket...\");\n\t\twhile (this.socket == null) { \n\t\t\ttry {\n\t\t\t\tthis.socket = TransportLayer.openNewDatagramSocket(this.ownPort);\n\t\t\t\tthis.showNamedMessage(\"Client now bound to port \" + ownPort);\n\t\t\t\tsuccess = true;\n\t\t\t} catch (SocketException e) {\n\t\t\t\tthis.showNamedError(\"Something went wrong when opening the socket: \"\n\t\t\t\t\t\t+ e.getLocalizedMessage());\n\t\t\t\tif (!textUI.getBoolean(\"Do you want to try again?\")) {\n\t\t\t\t\tthrow new exceptions.ExitProgram(\"User indicated to exit the \"\n\t\t\t\t\t\t\t+ \"program after socket opening failure.\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn success;\n\t}",
"AuthServerConnectionHandler(Socket socket){\n\t\tthis.socket=socket;\n\n\t}",
"public SocketChannelConfig setSendBufferSize(int sendBufferSize)\r\n/* 228: */ {\r\n/* 229: */ try\r\n/* 230: */ {\r\n/* 231:231 */ this.javaSocket.setSendBufferSize(sendBufferSize);\r\n/* 232: */ }\r\n/* 233: */ catch (SocketException e)\r\n/* 234: */ {\r\n/* 235:233 */ throw new ChannelException(e);\r\n/* 236: */ }\r\n/* 237:235 */ return this;\r\n/* 238: */ }",
"public void sendUpdatedState() {\n \t\tObjectOutputStream out = null;\n \t\ttry {\n \t\t\tfor (Socket socket : sockets) {\n \t\t\t\tout = new ObjectOutputStream(socket.getOutputStream());\n \t\t\t\tout.writeObject(gs);\n \t\t\t\tLog.d(\"network GaC\", \"State written into socket\");\n \t\t\t\tout.flush();\n \t\t\t}\n \t\t} catch (IOException e) {\n \t\t\te.printStackTrace();\n \t\t}\n \t}",
"void updateCustomServerAddress(String customServerAddress);",
"public String getSocket() {\n return socket;\n }",
"public void setSoTimeout(int s) throws SocketException {\n\t\t// limit time to wait on blocking operations (0 = indefinite)\n\t\tcon.setSoTimeout(s);\n\t}",
"public final void setRemoteSocketAddress(String host){\r\n remoteSocketHost = host;\r\n }",
"private void initializeSocket() {\n\n //creating a socket to connect to the node js server using socket.io.client\n try {\n //check for internet connection\n if(!isOnline()) {\n throw new Exception();\n }\n\n //generating a random number for join id in the server\n Random rand = new Random();\n int id = rand.nextInt(50) + 1;\n\n //using sharedPreferences to read the link to the server: heroku or local\n SharedPreferences sharedPref = getActivity().getPreferences(Context.MODE_PRIVATE);\n String url = sharedPref.getString(getString(R.string.link), \"http://192.168.1.119:3001\");\n Log.i(\"INFO\",url);\n\n socket = IO.socket(url); //specifying the url\n socket.connect(); //connecting to the server\n //socket.emit(\"joinAndroid\",Integer.toString(id)); //specifying the join group to the server\n\n //callback functions for socket connected, message received and socket disconnected\n socket.on(Socket.EVENT_CONNECT, new Emitter.Listener() {\n\n @Override\n public void call(Object... args) {\n }\n\n }).on(\"pointData\", new Emitter.Listener() {\n\n @Override\n public void call(Object... args) {\n\n Log.i(\"INFO\", args[0].toString());\n //Toast.makeText(getContext(), args[0].toString(), Toast.LENGTH_SHORT).show();\n\n }\n\n }).on(Socket.EVENT_DISCONNECT, new Emitter.Listener() {\n\n @Override\n public void call(Object... args) {\n }\n\n });\n } catch(URISyntaxException e) {\n Log.i(\"INFO\",\"Uri syntax exception\");\n } catch(Exception e) {\n Log.i(\"INFO\", \"No internet connection\");\n Toast.makeText(getContext(), \"No Internet\", Toast.LENGTH_LONG).show();\n }\n }",
"private static Socket getSocket() \n{\n return socket; \n }",
"Socket getSocket()\n {\n return socket;\n }",
"int openSocket(SocketRpcController socketController) {\r\n if (socket != null && in != null && out != null) {\r\n return 0;\r\n }\r\n // Open socket\r\n try {\r\n socket = socketFactory.createSocket(host, port);\r\n out = socket.getOutputStream(); //new BufferedOutputStream(socket.getOutputStream());\r\n in = socket.getInputStream(); //new BufferedInputStream(socket.getInputStream());\r\n } catch (UnknownHostException e) {\r\n handleError(socketController, ErrorReason.UnknownHost,\r\n \"Could not find host: \" + host, e);\r\n return -1;\r\n } catch (IOException e) {\r\n handleError(socketController, ErrorReason.IOError, String.format(\r\n \"Could not open I/O for %s:%s\", host, port), e);\r\n close();\r\n return -1;\r\n }\r\n return 1;\r\n }",
"public void initializeBuffers(){\r\n\t\ttry {\r\n\t\t\tif(_socket == null) {\r\n\t\t\t\t_connectedSocket = false;\r\n\t\t\t\tthrow(new IOException(\"Cannot initialize connections before socket has been initialized.\"));\r\n\t\t\t}\r\n\t\t\t// Obter printer e reader para o socket\r\n\t\t\t_out = new PrintWriter(_socket.getOutputStream(), true);\r\n\t\t\t_in = new BufferedReader(new InputStreamReader(_socket.getInputStream()));\r\n\t\t\t_outputStream = _socket.getOutputStream();\r\n\t\t\t_connected = true;\r\n\t\t} catch (IOException e) {\r\n\t\t\tSystem.err.println(\"Nao se conseguiram inicializar os buffers para ler da conexao: \" + e.toString());\r\n\t\t\t_connected = false;\r\n\t\t\t//System.exit(1);\r\n\t\t}\r\n\t\r\n\r\n\t}",
"public int createSocket()\n\t{\n\t\t\n\t}",
"void updateGameConfig(GameConfig gameCfg) throws ServerPrivilegeException, RpcException, StateMachineNotExpectedEventException;",
"public void setSocketFactoryClass(String socketFactoryClass) {\n\t\tthis.socketFactoryClass = socketFactoryClass;\n\t}",
"public void bindSocket(PhysicalPath path, Object socket) throws UnixException {\n mLocalBoundSockets.bind(path, socket);\n }"
] | [
"0.68928427",
"0.6554266",
"0.6220812",
"0.6101267",
"0.6039957",
"0.58822787",
"0.5821574",
"0.56936485",
"0.55738777",
"0.54841083",
"0.5469088",
"0.5460629",
"0.53901917",
"0.5381061",
"0.53731805",
"0.5366776",
"0.5362112",
"0.53229266",
"0.5263601",
"0.5258364",
"0.52544874",
"0.5250734",
"0.5237309",
"0.5236822",
"0.5218229",
"0.52068806",
"0.5190281",
"0.5185181",
"0.51789397",
"0.5178916",
"0.51558316",
"0.5146318",
"0.51453567",
"0.51354593",
"0.51325274",
"0.5124249",
"0.51066715",
"0.5102616",
"0.5101125",
"0.5096782",
"0.509026",
"0.50631666",
"0.5059093",
"0.50547093",
"0.49980587",
"0.49935654",
"0.498841",
"0.49700204",
"0.4966496",
"0.49642017",
"0.49607375",
"0.49582303",
"0.49463242",
"0.49321344",
"0.49318945",
"0.49296752",
"0.49173826",
"0.4911996",
"0.49115434",
"0.48957363",
"0.4883381",
"0.48833653",
"0.4870325",
"0.4870314",
"0.4869272",
"0.48621285",
"0.48518127",
"0.48476565",
"0.48421657",
"0.48319495",
"0.4826841",
"0.4815101",
"0.48093858",
"0.48037553",
"0.4800722",
"0.4796837",
"0.4795904",
"0.47947934",
"0.47861877",
"0.47848564",
"0.47681814",
"0.47673774",
"0.4764209",
"0.47518784",
"0.4733962",
"0.47257125",
"0.4722598",
"0.47208196",
"0.4719854",
"0.47094363",
"0.47062594",
"0.4705501",
"0.4702184",
"0.4701854",
"0.47014058",
"0.47002557",
"0.46901512",
"0.4687648",
"0.46840352",
"0.46776903"
] | 0.7225838 | 0 |
Created by Administrator on 2018/5/9/009. | public interface FestivalCallback<T> {
/**
* @descriptoin 请求异常
*/
void requestError(Throwable throwable);
void requestfesSuccess(List<FestivalBean> callBack);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private stendhal() {\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"public final void mo51373a() {\n }",
"public void mo38117a() {\n }",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"private static void cajas() {\n\t\t\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\n\tprotected void getExras() {\n\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"public void mo4359a() {\n }",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n public void memoria() {\n \n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"private RepositorioAtendimentoPublicoHBM() {\r\t}",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"protected MetadataUGWD() {/* intentionally empty block */}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"public Pitonyak_09_02() {\r\n }",
"Petunia() {\r\n\t\t}",
"@Override\n\tpublic void create () {\n\n\t}",
"private Rekenhulp()\n\t{\n\t}",
"@Override\n\tpublic void create() {\n\t\t\n\t}",
"@Override\n public int describeContents() { return 0; }",
"private TMCourse() {\n\t}",
"public void mo12930a() {\n }",
"public void mo6081a() {\n }",
"public void mo55254a() {\n }",
"@Override\n protected void getExras() {\n }",
"@Override\n protected void initialize() {\n\n \n }",
"public void designBasement() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}",
"public contrustor(){\r\n\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"private void poetries() {\n\n\t}",
"@Override\n public void init() {\n\n }",
"public void create() {\n\t\t\n\t}",
"@Override\n protected void initialize() \n {\n \n }",
"public void gored() {\n\t\t\n\t}",
"public void mo1531a() {\n }",
"@Override\n\tpublic void create() {\n\n\t}",
"@Override\n\tprotected void logic() {\n\n\t}",
"protected void mo6255a() {\n }",
"private void m50366E() {\n }",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"public void autoDetails() {\n\t\t\r\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n\tpublic void nghe() {\n\n\t}",
"private static void oneUserExample()\t{\n\t}",
"Consumable() {\n\t}",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"private Singletion3() {}",
"@Override\r\n\tpublic void create() {\n\r\n\t}",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"public void verarbeite() {\n\t\t\r\n\t}",
"Constructor() {\r\n\t\t \r\n\t }",
"public void mo21877s() {\n }",
"@Override\n\tpublic int mettreAJour() {\n\t\treturn 0;\n\t}",
"protected boolean func_70814_o() { return true; }",
"private void kk12() {\n\n\t}",
"public static void listing5_14() {\n }",
"@Override\n public void settings() {\n // TODO Auto-generated method stub\n \n }",
"private UsineJoueur() {}",
"@Override\n\tprotected void interr() {\n\t}",
"public void mo9848a() {\n }",
"@Override\r\n\tpublic void create() {\n\t\t\r\n\t}",
"private ReportGenerationUtil() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n public int getSize() {\n return 1;\n }",
"@Override\n public String toString() {\n return \"\";\n }",
"private void init() {\n\n\t}"
] | [
"0.6035233",
"0.6011527",
"0.57654244",
"0.5765193",
"0.5747825",
"0.5715101",
"0.5710829",
"0.5676574",
"0.5653731",
"0.5652633",
"0.56006473",
"0.5598811",
"0.5598811",
"0.55950636",
"0.55941",
"0.55770874",
"0.55412877",
"0.55412036",
"0.5522833",
"0.55192655",
"0.5507416",
"0.5507416",
"0.5507416",
"0.5507416",
"0.5507416",
"0.5507416",
"0.5507416",
"0.5489625",
"0.5489625",
"0.54719657",
"0.5467799",
"0.54664135",
"0.5452593",
"0.545216",
"0.54504335",
"0.5448827",
"0.54364675",
"0.54291856",
"0.54203814",
"0.54199237",
"0.5410287",
"0.5409446",
"0.54082394",
"0.5405298",
"0.540133",
"0.53996384",
"0.53934646",
"0.5365919",
"0.5359796",
"0.5357285",
"0.53502613",
"0.53495216",
"0.53324",
"0.5332015",
"0.5318897",
"0.5317294",
"0.5312535",
"0.5311214",
"0.5309926",
"0.5308905",
"0.5302055",
"0.52957",
"0.52923435",
"0.5290193",
"0.5289412",
"0.5289412",
"0.5289412",
"0.5289412",
"0.5289412",
"0.5289412",
"0.5280951",
"0.52750444",
"0.52715594",
"0.5270719",
"0.5270374",
"0.5254817",
"0.5252924",
"0.52494586",
"0.524933",
"0.52468824",
"0.52419686",
"0.5239596",
"0.5239449",
"0.5238099",
"0.5237839",
"0.52370435",
"0.5235573",
"0.52328783",
"0.5231887",
"0.523183",
"0.52309453",
"0.52260447",
"0.52260447",
"0.5221295",
"0.5221295",
"0.5221295",
"0.5221295",
"0.5221295",
"0.5221068",
"0.5219119",
"0.5218871"
] | 0.0 | -1 |
Creates new form Carrera | public Carrera() {
initComponents();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"FORM createFORM();",
"public FormInserir() {\n initComponents();\n }",
"public SalidaCajaForm() {\n\t\tinicializarComponentes();\n }",
"public static Result newForm() {\n return ok(newForm.render(palletForm, setOfArticleForm));\n }",
"public creacionempresa() {\n initComponents();\n mostrardatos();\n }",
"public static void create(Formulario form){\n daoFormulario.create(form);\n }",
"public static Result startNewForm() {\r\n\t\tString formName = ChangeOrderForm.NAME;\r\n\t\tDecision firstDecision = CMSGuidedFormFill.startNewForm(formName,\r\n\t\t\t\tCMSSession.getEmployeeName(), CMSSession.getEmployeeId());\r\n\t\treturn ok(backdrop.render(firstDecision));\r\n\t}",
"public frm_tutor_subida_prueba() {\n }",
"public CadastroProdutoNew() {\n initComponents();\n }",
"public frmAfiliado() {\n initComponents();\n \n }",
"public FormCadastroAutomovel() {\n initComponents();\n }",
"public FormCompra() {\n initComponents();\n }",
"public Ventaform() {\n initComponents();\n }",
"public Formulario() {\n initComponents();\n }",
"public FormularioCliente() {\n initComponents();\n }",
"Compuesta createCompuesta();",
"@GetMapping(\"/create\")\n public ModelAndView create(@ModelAttribute(\"form\") final CardCreateForm form) {\n return getCreateForm(form);\n }",
"Compleja createCompleja();",
"public TorneoForm() {\n initComponents();\n }",
"private void azzeraInsertForm() {\n\t\tviewInserimento.getCmbbxTipologia().setSelectedIndex(-1);\n\t\tviewInserimento.getTxtFieldDataI().setText(\"\");\n\t\tviewInserimento.getTxtFieldValore().setText(\"\");\n\t\tviewInserimento.getTxtFieldDataI().setBackground(Color.white);\n\t\tviewInserimento.getTxtFieldValore().setBackground(Color.white);\n\t}",
"public Gui_lectura_consumo() {\n initComponents();\n centrarform();\n consumo_capturado.setEditable(false);\n limpiarCajas();\n \n \n }",
"public void onCreate() {\r\n Session session = sessionService.getCurrentSession();\r\n Map<String, Region> items = ControlUtility.createForm(Pc.class);\r\n\r\n ControlUtility.fillComboBox((ComboBox<Kind>) items.get(\"Kind\"), session.getCampaign().getCampaignVariant().getKinds());\r\n ControlUtility.fillComboBox((ComboBox<Race>) items.get(\"Race\"), session.getCampaign().getCampaignVariant().getRaces());\r\n ControlUtility.fillCheckComboBox((CheckComboBox<Ability>) items.get(\"SavingThrows\"), Arrays.asList(Ability.values()));\r\n ControlUtility.fillCheckComboBox((CheckComboBox<Proficiency>) items.get(\"Proficiencies\"), session.getCampaign().getCampaignVariant().getProficiencies());\r\n ControlUtility.fillCheckComboBox((CheckComboBox<Feature>) items.get(\"Features\"), session.getCampaign().getCampaignVariant().getFeatures());\r\n ControlUtility.fillCheckComboBox((CheckComboBox<Trait>) items.get(\"Traits\"), session.getCampaign().getCampaignVariant().getTraits());\r\n ControlUtility.fillCheckComboBox((CheckComboBox<Equipment>) items.get(\"Equipment\"), session.getCampaign().getCampaignVariant().getEquipments());\r\n\r\n Campaign campaign = session.getCampaign();\r\n\r\n Dialog<String> dialog = ControlUtility.createDialog(\"Create Playable Character\", items);\r\n dialog.show();\r\n\r\n dialog.setResultConverter(buttonType -> {\r\n if (buttonType != null) {\r\n Pc pc = null;\r\n try {\r\n pc = ControlUtility.controlsToValues(Pc.class, items);\r\n } catch (NoSuchMethodException | IllegalAccessException | InvocationTargetException | InstantiationException | ClassNotFoundException e) {\r\n e.printStackTrace();\r\n }\r\n if (pc != null) {\r\n try {\r\n characterService.createPlayerCharacter(pc);\r\n } catch (SessionAlreadyExists | IndexAlreadyExistsException sessionAlreadyExists) {\r\n sessionAlreadyExists.printStackTrace();\r\n }\r\n try {\r\n playerManagementService.addOrUpdatePcForRegisteredPlayer(pc);\r\n Player player = playerManagementService.getRegisteredPlayer();\r\n campaign.addPlayer(player);\r\n campaign.addCharacter(pc);\r\n if (campaignListingService.campaignExists(campaign.getId())) {\r\n manipulationService.updateCampaign(campaign);\r\n } else {\r\n manipulationService.createCampaign(campaign);\r\n }\r\n } catch (MultiplePlayersException | EntityNotFoundException | SessionAlreadyExists | IndexAlreadyExistsException e) {\r\n e.printStackTrace();\r\n }\r\n try {\r\n playerManagementService.addOrUpdatePcForRegisteredPlayer(pc);\r\n } catch (MultiplePlayersException | EntityNotFoundException e) {\r\n e.printStackTrace();\r\n }\r\n try {\r\n sessionService.updateParticipant(playerManagementService.getRegisteredPlayer().getId(), pc.getId());\r\n sessionService.updateCampaign(campaign);\r\n } catch (EntityNotFoundException e) {\r\n e.printStackTrace();\r\n }\r\n render();\r\n return pc.toString();\r\n }\r\n }\r\n return null;\r\n });\r\n }",
"public frmPrincipal() {\n initComponents(); \n inicializar();\n \n }",
"public frmTelaVendas() {\n initComponents();\n this.carrinho = new CarrinhoDeCompras();\n listaItens.setModel(this.lista);\n }",
"public CrearPedidos() {\n initComponents();\n }",
"public Crear() {\n initComponents();\n \n \n this.getContentPane().setBackground(Color.WHITE);\n txtaPR.setEnabled(false); \n txtFNocmbre.requestFocus();\n \n \n }",
"public frmAddIncidencias() {\n initComponents();\n }",
"public Form getCreationForm() throws ProcessManagerException {\r\n try {\r\n Action creation = processModel.getCreateAction();\r\n return processModel.getPublicationForm(creation.getName(), currentRole,\r\n getLanguage());\r\n } catch (WorkflowException e) {\r\n throw new ProcessManagerException(\"SessionController\",\r\n \"processManager.ERR_NO_CREATION_FORM\", e);\r\n }\r\n }",
"public frmVenda() {\n initComponents();\n }",
"public Form(){\n\t\ttypeOfLicenseApp = new TypeOfLicencsApplication();\n\t\toccupationalTrainingList = new ArrayList<OccupationalTraining>();\n\t\taffiadavit = new Affidavit();\n\t\tapplicationForReciprocity = new ApplicationForReciprocity();\n\t\teducationBackground = new EducationBackground();\n\t\toccupationalLicenses = new OccupationalLicenses();\n\t\tofficeUseOnlyInfo = new OfficeUseOnlyInfo();\n\t}",
"@GetMapping(\"/createRegistro\")\n\tpublic String crearValidacion(Model model) {\n\t\tList<Barrio> localidades = barrioService.obtenerBarrios();\n\t\tmodel.addAttribute(\"localidades\",localidades);\n\t\tmodel.addAttribute(\"persona\",persona);\n\t\tmodel.addAttribute(\"validacion\",validacion);\n\t\tmodel.addAttribute(\"registro\",registro);\n\t\tmodel.addAttribute(\"barrio\",barrio);\n\t\treturn \"RegistroForm\";\n\t}",
"public CreateAccount() {\n initComponents();\n selectionall();\n }",
"private void initFormCreateMode() {\n initSpinnerSelectionChamps();\n //TODO\n }",
"@GetMapping(value = \"/create\") // https://localhost:8080/etiquetasTipoDisenio/create\n\tpublic String create(Model model) {\n\t\tetiquetasTipoDisenio etiquetasTipoDisenio = new etiquetasTipoDisenio();\n\t\tmodel.addAttribute(\"title\", \"Registro de una nuev entrega\");\n\t\tmodel.addAttribute(\"etiquetasTipoDisenio\", etiquetasTipoDisenio); // similar al ViewBag\n\t\treturn \"etiquetasTipoDisenio/form\"; // la ubicacion de la vista\n\t}",
"public formPrincipal() {\n initComponents();\n }",
"@Command\n\tpublic void nuevoAnalista(){\n\t\tMap<String, Object> parametros = new HashMap<String, Object>();\n\n\t\t//parametros.put(\"recordMode\", \"NEW\");\n\t\tllamarFormulario(\"formularioAnalistas.zul\", null);\n\t}",
"public frmCliente() {\n initComponents();\n CargarProvinciasRes();\n CargarProvinciasTra();\n ManejadorCliente objCli = new ManejadorCliente();\n }",
"@GetMapping(\"/add\")\n public String showSocioForm(Model model, Persona persona) {\n List<Cargo> cargos = cargoService.getCargos();\n model.addAttribute(\"cargos\", cargos);\n return \"/backoffice/socioForm\";\n }",
"public FrmCadastro() {\n initComponents();\n\n }",
"private void initFormulario() {\n btnCadastro = findViewById(R.id.btnCadastro);\n editNome = findViewById(R.id.editNome);\n editEmail = findViewById(R.id.editEmail);\n editSenhaA = findViewById(R.id.editSenha);\n editSenhaB = findViewById(R.id.editSenhaB);\n chTermo = findViewById(R.id.chTermos);\n isFormOk = false;\n }",
"public form() {\n initComponents();\n }",
"public ServerskaForma() {\n initComponents();\n \n \n \n }",
"public ViewCreatePagamento() {\n initComponents();\n clientesDAO cDAO = DaoFactory.createClientesDao(); \n matriculaDAO mDAO = DaoFactory.createMatriculaDao();\n \n cmbIDClientes.addItem(null);\n cDAO.findAll().forEach((p) -> {\n cmbIDClientes.addItem(p.getNome());\n });\n \n \n txtDataAtual.setText(DateFormat.getDateInstance().format(new Date()));\n }",
"public FrmInsertar() {\n initComponents();\n }",
"@Override\n\tpublic void createForm(ERForm form) {\n\t\t\tString sql = \"insert into project1.reimbursementInfo (userName, fullName, thedate, eventstartdate, thelocation, description, thecost, gradingformat, passingpercentage, eventtype, filename,status,reason) values (?,?,?,?,?,?,?,?,?,?,?,?,?);\";\n\t\t\ttry {PreparedStatement stmt = conn.prepareCall(sql);\n\t\t\t//RID should auto increment, so this isnt necessary\n\t\t\t\n\t\t\tstmt.setString(1, form.getUserName());\n\t\t\tstmt.setString(2, form.getFullName());\n\t\t\tstmt.setDate(3, Date.valueOf(form.getTheDate()));\n\t\t\tstmt.setDate(4, Date.valueOf(form.getEventStartDate()));\n\t\t\tstmt.setString(5, form.getTheLocation());\n\t\t\tstmt.setString(6, form.getDescription());\n\t\t\tstmt.setDouble(7, form.getTheCost());\n\t\t\tstmt.setString(8, form.getGradingFormat());\n\t\t\tstmt.setString(9, form.getPassingPercentage());\n\t\t\tstmt.setString(10, form.getEventType());\n\t\t\tstmt.setString(11, form.getFileName());\n\t\t\tstmt.setString(12, \"pending\");\n\t\t\tstmt.setString(13, \"\");\n\t\t\tstmt.executeUpdate();\n\t\t\t\n\t\t} catch (SQLException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"protected void nuevo(){\n wp = new frmEspacioTrabajo();\n System.runFinalization();\n inicializar();\n }",
"private void criaCabecalho() {\r\n\t\tJLabel cabecalho = new JLabel(\"Cadastro de Homem\");\r\n\t\tcabecalho.setHorizontalAlignment(SwingConstants.CENTER);\r\n\t\tcabecalho.setFont(new Font(\"Arial\", Font.PLAIN, 16));\r\n\t\tcabecalho.setForeground(Color.BLACK);\r\n\t\tcabecalho.setBounds(111, 41, 241, 33);\r\n\t\tpainelPrincipal.add(cabecalho);\r\n\t}",
"public MechanicForm() {\n initComponents();\n }",
"public void onNew() {\t\t\n\t\tdesignWidget.addNewForm();\n\t}",
"public frmPessoa() {\n initComponents();\n }",
"@Override\r\n protected void createDbContentCreateEdit() {\n DbContentCreateEdit dbContentCreateEdit = new DbContentCreateEdit();\r\n dbContentCreateEdit.init(null);\r\n form.getModelObject().setDbContentCreateEdit(dbContentCreateEdit);\r\n dbContentCreateEdit.setParent(form.getModelObject());\r\n ruServiceHelper.updateDbEntity(form.getModelObject()); \r\n }",
"public PDMRelationshipForm() {\r\n initComponents();\r\n }",
"public FGlavna() {\n initComponents();\n pripremiFormu();\n }",
"public FrmCrearFotoEmpresa() {\n initComponents();\n }",
"@Override\n\tpublic void onFormCreate(AbstractForm arg0, DataMsgBus arg1) {\n\t}",
"public FormularioP() {\n initComponents();\n }",
"public Create_Course() {\n initComponents();\n comboBoxLec();\n comboBoxDep();\n }",
"public void clickCreate() {\n\t\tbtnCreate.click();\n\t}",
"public InvoiceCreate() {\n initComponents();\n }",
"public Project_Create() {\n initComponents();\n }",
"public CrearProductos() {\n initComponents();\n }",
"public FormularioPregunta() {\n initComponents();\n \n setLocationRelativeTo(this);\n }",
"@RequestMapping(value = \"/newrecipe\", method = RequestMethod.GET)\n\tpublic String newRecipeForm(Model model) {\n\t\tmodel.addAttribute(\"recipe\", new Recipe()); //empty recipe object\n\t\tmodel.addAttribute(\"categories\", CatRepo.findAll());\n\t\treturn \"newrecipe\";\n\t}",
"@GetMapping(\"/cliente/new\")\n\tpublic String newCliente(Model model) {\n\t\tmodel.addAttribute(\"cliente\", new Cliente());\n\t\tControllerHelper.setEditMode(model, false);\n\t\t\n\t\t\n\t\treturn \"cadastro-cliente\";\n\t\t\n\t}",
"public FORMRECOMP() {\n initComponents();\n this.setLocationRelativeTo(null);\n inicializa_controles();\n cerrar_ventan_recibo();\n }",
"public FormImportar() {\n initComponents();\n }",
"public FrmCadastro() {\n initComponents();\n \n lblNumeroConta.setText(\"Número da conta: \" + Agencia.getProximaConta());\n \n List<Integer> agencias = Principal.banco.retornarNumeroAgencias();\n for(int i : agencias){\n cmbAgencias.addItem(\"Agência \" + i);\n }\n }",
"public JFrmPagoCuotaAnulacion() {\n setTitle(\"JFrmPagoCuotaAnulacion\");\n initComponents();\n }",
"public LibrosFormBean() {\r\n libr = new ConjuntoLibro();\r\n }",
"public GestaoFormando() {\n \n initComponents();\n listarEquipamentos();\n listarmapainscritos();\n }",
"public static FormV1 createEntity() {\n FormV1 formV1 = new FormV1()\n .customerId(DEFAULT_CUSTOMER_ID)\n .formType(DEFAULT_FORM_TYPE);\n return formV1;\n }",
"public Form(){ \n\t\tsuper(tag(Form.class)); \n\t}",
"public FormUtama() {\n initComponents();\n }",
"public CarroVO getFormCarro() {\n try {\n String placa = cadastroView.getTxtPlaca().getText().trim();\n String cor = (String) cadastroView.getCbCor().getSelectedItem();\n ModeloVO modelo = (ModeloVO) cadastroView.getCbModelo().getSelectedItem();\n MarcaVO marca = (MarcaVO) cadastroView.getCbMarca().getSelectedItem();\n modelo.setMarca(marca);\n return new CarroVO(placa, cor, modelo);\n } catch (Exception e) {\n e.printStackTrace();\n }\n return null;\n }",
"public ContactoFormBean() {\r\n setContexto();\r\n }",
"public FormPpal() {\n initComponents();\n setIconImage(Toolkit.getDefaultToolkit().getImage(this.getClass().getResource(\"Imagenes/icon.png\")));\n setLocationRelativeTo(null);\n setTitle(\"Men\\372 principal\");\n setResizable(false);\n formBackUp = null;\n formBuscador = null;\n fb1 = null;\n fb2 = null;\n formListado = null;\n conn = new Conn();\n pacientesCumpleanos = new LinkedList();\n pacientesControl = new LinkedList();\n cargarCumpleanos();\n cargarControlesHoy();\n }",
"@_esCocinero\n public Result crearPaso() {\n Form<Paso> frm = frmFactory.form(Paso.class).bindFromRequest();\n\n // Comprobación de errores\n if (frm.hasErrors()) {\n return status(409, frm.errorsAsJson());\n }\n\n Paso nuevoPaso = frm.get();\n\n // Comprobar autor\n String key = request().getQueryString(\"apikey\");\n if (!SeguridadFunctions.esAutorReceta(nuevoPaso.p_receta.getId(), key))\n return Results.badRequest();\n\n // Checkeamos y guardamos\n if (nuevoPaso.checkAndCreate()) {\n Cachefunctions.vaciarCacheListas(\"pasos\", Paso.numPasos(), cache);\n Cachefunctions.vaciarCacheListas(\"recetas\", Receta.numRecetas(), cache);\n return Results.created();\n } else {\n return Results.badRequest();\n }\n\n }",
"public ViewPrescriptionForm() {\n initComponents();\n }",
"@GetMapping(\"/addPharmacist\")\n public String pharmacistForm(Model model) {\n model.addAttribute(\"pharmacist\", new Pharmacist());\n return \"addPharmacist\";\n }",
"public Form() {\n initComponents();\n }",
"public UserForm(){ }",
"public Form_soal() {\n initComponents();\n tampil_soal();\n }",
"public CreateTremaDbDialogForm(AnActionEvent event) {\n this.event = event;\n this.windowTitle = \"New Trema XML database file\";\n init();\n }",
"@Override\n\tpublic void create(CreateCoinForm form) throws Exception {\n\t}",
"@Override\n\tprotected BaseProcesoForm devuelveFormProceso() throws Exception {\n\t\tProcesoBASLoggerForm objForm = new ProcesoBASLoggerForm();\n\t\treturn objForm;\n\t}",
"@RequestMapping(value={\"/projects/add\"}, method= RequestMethod.GET)\r\n\tpublic String createProjectForm(Model model) {\r\n\t\tUser loggedUser= sessionData.getLoggedUser();\r\n\t\tmodel.addAttribute(\"loggedUser\", loggedUser);\r\n\t\tmodel.addAttribute(\"projectForm\", new Project());\r\n\t\treturn \"addProject\";\r\n\t}",
"public CreateCustomer() {\n initComponents();\n }",
"public frmNewArtist() {\n initComponents();\n lblID.setText(Controller.Agent.ManageController.getNewArtistID());\n lblGreeting.setText(\"Dear \"+iMuzaMusic.getLoggedUser().getFirstName()+\", please use the form below to add an artist to your ranks.\");\n \n }",
"public frmCadastrarProduto() {\n initComponents();\n\n this.cmbCategoria.setEnabled(false);\n this.cmbFornecedor.setEnabled(false);\n this.txtNome.setEnabled(false);\n this.txtDescricao.setEnabled(false);\n this.txtEstoque.setEnabled(false);\n this.txtId.setEnabled(false);\n this.txtPreco.setEnabled(false);\n this.txtPrecoCusto.setEnabled(false);\n this.txtCodBarras.setEnabled(false);\n\n }",
"public CreateAccout() {\n initComponents();\n showCT();\n ProcessCtr(true);\n }",
"public FormEmpresa() {\n initComponents();\n this.getComboBox();\n this.buscaDadosEmpresa();\n \n }",
"public ProductCreate() {\n initComponents();\n }",
"public FRMCadastrarFornecedor() {\n initComponents();\n }",
"protected void limparCampos() {\n\t\tdispose();\r\n\t\tFrmCadastroMidias f = new FrmCadastroMidias();\r\n\t\tf.setLocationRelativeTo(null);\r\n\t\tf.setVisible(true);\r\n\t}",
"public frmPrincipal() {\n initComponents();\n }",
"public void limpiarCamposFormBusqueda() {\n\t}",
"public JFrmPrincipal() {\n initComponents();\n }",
"public quanlixe_form() {\n initComponents();\n }",
"public String crea() {\n c.setId(0);\n clienteDAO.crea(c); \n //Post-Redirect-Get\n return \"visualiza?faces-redirect=true&id=\"+c.getId();\n }",
"public MostraVenta(String idtrasp, Object[][] clienteM1, Object[][] vendedorM1, String idmarc, String responsable,ListaTraspaso panel)\n{\n this.padre = panel;\n this.clienteM = clienteM1;\n this.vendedorM = vendedorM1;\n this.idtraspaso= idtrasp;\n this.idmarca=idmarc;\n//this.tipoenvioM = new String[]{\"INGRESO\", \"TRASPASO\"};\n String tituloTabla =\"Detalle Venta\";\n // padre=panel;\n String nombreBoton1 = \"Registrar\";\n String nombreBoton2 = \"Cancelar\";\n // String nombreBoton3 = \"Eliminar Empresa\";\n\n setId(\"win-NuevaEmpresaForm1\");\n setTitle(tituloTabla);\n setWidth(400);\n setMinWidth(ANCHO);\n setHeight(250);\n setLayout(new FitLayout());\n setPaddings(WINDOW_PADDING);\n setButtonAlign(Position.CENTER);\n setCloseAction(Window.CLOSE);\n setPlain(true);\n\n but_aceptar = new Button(nombreBoton1);\n but_cancelar = new Button(nombreBoton2);\n // addButton(but_aceptarv);\n addButton(but_aceptar);\n addButton(but_cancelar);\n\n formPanelCliente = new FormPanel();\n formPanelCliente.setBaseCls(\"x-plain\");\n //formPanelCliente.setLabelWidth(130);\n formPanelCliente.setUrl(\"save-form.php\");\n formPanelCliente.setWidth(ANCHO);\n formPanelCliente.setHeight(ALTO);\n formPanelCliente.setLabelAlign(Position.LEFT);\n\n formPanelCliente.setAutoWidth(true);\n\n\ndat_fecha1 = new DateField(\"Fecha\", \"d-m-Y\");\n fechahoy = new Date();\n dat_fecha1.setValue(fechahoy);\n dat_fecha1.setReadOnly(true);\n\ncom_vendedor = new ComboBox(\"Vendedor al que enviamos\", \"idempleado\");\ncom_cliente = new ComboBox(\"Clientes\", \"idcliente\");\n//com_tipo = new ComboBox(\"Tipo Envio\", \"idtipo\");\n initValues1();\n\n\n\n formPanelCliente.add(dat_fecha1);\n// formPanelCliente.add(com_tipo);\n// formPanelCliente.add(tex_nombreC);\n// formPanelCliente.add(tex_codigoBarra);\n // formPanelCliente.add(tex_codigoC);\nformPanelCliente.add(com_vendedor);\n formPanelCliente.add(com_cliente);\n add(formPanelCliente);\nanadirListenersTexfield();\n addListeners();\n\n }"
] | [
"0.7423498",
"0.6781364",
"0.67774737",
"0.67734504",
"0.65645117",
"0.650806",
"0.65059304",
"0.6483543",
"0.6446372",
"0.64043",
"0.6286742",
"0.62771386",
"0.6260693",
"0.6233779",
"0.6218452",
"0.6196619",
"0.61863506",
"0.6176177",
"0.6107926",
"0.6083389",
"0.60820174",
"0.60696363",
"0.60576475",
"0.6048522",
"0.6046689",
"0.60460466",
"0.6037138",
"0.60325927",
"0.6023605",
"0.60227007",
"0.6015296",
"0.6001215",
"0.5996156",
"0.59894335",
"0.5988307",
"0.59876823",
"0.5985122",
"0.59829307",
"0.5977666",
"0.59749967",
"0.5973859",
"0.5969546",
"0.59652203",
"0.5959713",
"0.5955101",
"0.5938046",
"0.5937076",
"0.592045",
"0.59187424",
"0.59146214",
"0.59144974",
"0.5907244",
"0.5905992",
"0.59054863",
"0.5902048",
"0.590143",
"0.5901316",
"0.5893561",
"0.58860195",
"0.5885819",
"0.5880825",
"0.5879155",
"0.5866154",
"0.58634496",
"0.5863283",
"0.5858604",
"0.5854254",
"0.58541405",
"0.58530414",
"0.584888",
"0.5845299",
"0.584309",
"0.5836791",
"0.5825336",
"0.5821217",
"0.5813856",
"0.58119035",
"0.5811547",
"0.58094424",
"0.58085227",
"0.5805885",
"0.58045554",
"0.5799567",
"0.57985735",
"0.57982874",
"0.5788888",
"0.57874036",
"0.57851774",
"0.5782734",
"0.57785755",
"0.57723004",
"0.5770409",
"0.5758931",
"0.57556444",
"0.5755398",
"0.5755052",
"0.5754017",
"0.5753463",
"0.5751259",
"0.57509685"
] | 0.58447933 | 71 |
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() {
jSpinner3 = new javax.swing.JSpinner();
jSpinner6 = new javax.swing.JSpinner();
jScrollPane1 = new javax.swing.JScrollPane();
jTextArea1 = new javax.swing.JTextArea();
jLabel1 = new javax.swing.JLabel();
jLabel2 = new javax.swing.JLabel();
jLabel3 = new javax.swing.JLabel();
jProgressBar1 = new javax.swing.JProgressBar();
jProgressBar2 = new javax.swing.JProgressBar();
jProgressBar3 = new javax.swing.JProgressBar();
jButton1 = new javax.swing.JButton();
velocidad1 = new javax.swing.JSpinner();
velocidad2 = new javax.swing.JSpinner();
velocidad3 = new javax.swing.JSpinner();
jSpinner6.setModel(new javax.swing.SpinnerNumberModel(Float.valueOf(1.0f), Float.valueOf(0.0f), Float.valueOf(1.0f), Float.valueOf(0.1f)));
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
jTextArea1.setColumns(20);
jTextArea1.setRows(5);
jScrollPane1.setViewportView(jTextArea1);
jLabel1.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
jLabel1.setText("independiente 1");
jLabel2.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
jLabel2.setText("independiente 2");
jLabel3.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
jLabel3.setText("independiente 3");
jProgressBar1.setMaximumSize(new java.awt.Dimension(146, 16));
jProgressBar1.setMinimumSize(new java.awt.Dimension(146, 16));
jProgressBar1.setPreferredSize(new java.awt.Dimension(146, 16));
jProgressBar2.setMaximumSize(new java.awt.Dimension(146, 16));
jProgressBar2.setMinimumSize(new java.awt.Dimension(146, 16));
jProgressBar2.setPreferredSize(new java.awt.Dimension(146, 16));
jProgressBar3.setMaximumSize(new java.awt.Dimension(146, 16));
jProgressBar3.setMinimumSize(new java.awt.Dimension(146, 16));
jProgressBar3.setPreferredSize(new java.awt.Dimension(146, 16));
jButton1.setText("Empezar Carrera");
jButton1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton1ActionPerformed(evt);
}
});
velocidad1.setModel(new javax.swing.SpinnerNumberModel(1, 1, 10, 1));
velocidad2.setModel(new javax.swing.SpinnerNumberModel(1, 1, 10, 1));
velocidad3.setModel(new javax.swing.SpinnerNumberModel(1, 1, 10, 1));
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
getContentPane().setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jScrollPane1)
.addGroup(layout.createSequentialGroup()
.addContainerGap()
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
.addGroup(layout.createSequentialGroup()
.addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 114, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jProgressBar2, javax.swing.GroupLayout.PREFERRED_SIZE, 265, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGroup(layout.createSequentialGroup()
.addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 114, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jProgressBar1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
.addGroup(layout.createSequentialGroup()
.addComponent(jLabel3, javax.swing.GroupLayout.PREFERRED_SIZE, 114, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jProgressBar3, javax.swing.GroupLayout.PREFERRED_SIZE, 265, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
.addComponent(jButton1)
.addGap(66, 66, 66)))))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 37, Short.MAX_VALUE)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(velocidad1, javax.swing.GroupLayout.PREFERRED_SIZE, 51, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(velocidad2, javax.swing.GroupLayout.PREFERRED_SIZE, 51, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(velocidad3, javax.swing.GroupLayout.PREFERRED_SIZE, 51, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(20, 20, 20))
);
layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
.addGap(0, 0, Short.MAX_VALUE)
.addComponent(jLabel1))
.addGroup(layout.createSequentialGroup()
.addComponent(velocidad1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, Short.MAX_VALUE))))
.addGroup(layout.createSequentialGroup()
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jProgressBar1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
.addGap(9, 9, 9)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jProgressBar2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel2))
.addGroup(layout.createSequentialGroup()
.addComponent(velocidad2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(1, 1, 1)))
.addGap(27, 27, 27)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel3)
.addComponent(jProgressBar3, javax.swing.GroupLayout.PREFERRED_SIZE, 18, javax.swing.GroupLayout.PREFERRED_SIZE)))
.addGroup(layout.createSequentialGroup()
.addGap(0, 0, Short.MAX_VALUE)
.addComponent(velocidad3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 24, Short.MAX_VALUE)
.addComponent(jButton1)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 224, javax.swing.GroupLayout.PREFERRED_SIZE))
);
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 initComponents();\n }",
"public AdjointForm() {\n initComponents();\n setDefaultCloseOperation(HIDE_ON_CLOSE);\n }",
"public FormListRemarking() {\n initComponents();\n }",
"public MainForm() {\n initComponents();\n \n }",
"public FormPemilihan() {\n initComponents();\n }",
"public GUIForm() { \n initComponents();\n }",
"public FrameForm() {\n initComponents();\n }",
"public TorneoForm() {\n initComponents();\n }",
"public FormCompra() {\n initComponents();\n }",
"public muveletek() {\n initComponents();\n }",
"public Interfax_D() {\n initComponents();\n }",
"public quanlixe_form() {\n initComponents();\n }",
"public SettingsForm() {\n initComponents();\n }",
"public RegistrationForm() {\n initComponents();\n this.setLocationRelativeTo(null);\n }",
"public Soru1() {\n initComponents();\n }",
"public FMainForm() {\n initComponents();\n this.setResizable(false);\n setLocationRelativeTo(null);\n }",
"public soal2GUI() {\n initComponents();\n }",
"public EindopdrachtGUI() {\n initComponents();\n }",
"public MechanicForm() {\n initComponents();\n }",
"public AddDocumentLineForm(java.awt.Frame parent) {\n super(parent);\n initComponents();\n myInit();\n }",
"public BloodDonationGUI() {\n initComponents();\n }",
"public quotaGUI() {\n initComponents();\n }",
"public Customer_Form() {\n initComponents();\n setSize(890,740);\n \n \n }",
"public PatientUI() {\n initComponents();\n }",
"public Oddeven() {\n initComponents();\n }",
"public myForm() {\n\t\t\tinitComponents();\n\t\t}",
"public intrebarea() {\n initComponents();\n }",
"public Magasin() {\n initComponents();\n }",
"public RadioUI()\n {\n initComponents();\n }",
"public NewCustomerGUI() {\n initComponents();\n }",
"public ZobrazUdalost() {\n initComponents();\n }",
"public FormUtama() {\n initComponents();\n }",
"public p0() {\n initComponents();\n }",
"public INFORMACION() {\n initComponents();\n this.setLocationRelativeTo(null); \n }",
"public ProgramForm() {\n setLookAndFeel();\n initComponents();\n }",
"public AmountReleasedCommentsForm() {\r\n initComponents();\r\n }",
"public form2() {\n initComponents();\n }",
"public MainForm() {\n\t\tsuper(\"Hospital\", List.IMPLICIT);\n\n\t\tstartComponents();\n\t}",
"public LixeiraForm() {\n initComponents();\n setLocationRelativeTo(null);\n }",
"public kunde() {\n initComponents();\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n setName(\"Form\"); // NOI18N\n setRequestFocusEnabled(false);\n setVerifyInputWhenFocusTarget(false);\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n this.setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 465, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 357, Short.MAX_VALUE)\n );\n }",
"public MusteriEkle() {\n initComponents();\n }",
"public frmMain() {\n initComponents();\n }",
"public frmMain() {\n initComponents();\n }",
"public DESHBORDPANAL() {\n initComponents();\n }",
"public frmVenda() {\n initComponents();\n }",
"public GUIForm() {\n initComponents();\n inputField.setText(NO_FILE_SELECTED);\n outputField.setText(NO_FILE_SELECTED);\n progressLabel.setBackground(INFO);\n progressLabel.setText(SELECT_FILE);\n }",
"public FrmMenu() {\n initComponents();\n }",
"public Botonera() {\n initComponents();\n }",
"public OffertoryGUI() {\n initComponents();\n setTypes();\n }",
"public JFFornecedores() {\n initComponents();\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents()\n {\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n setBackground(new java.awt.Color(255, 255, 255));\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 983, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 769, Short.MAX_VALUE)\n );\n\n pack();\n }",
"public EnterDetailsGUI() {\n initComponents();\n }",
"public vpemesanan1() {\n initComponents();\n }",
"public FormHorarioSSE() {\n initComponents();\n }",
"public Kost() {\n initComponents();\n }",
"public UploadForm() {\n initComponents();\n }",
"public frmacceso() {\n initComponents();\n }",
"public HW3() {\n initComponents();\n }",
"public Managing_Staff_Main_Form() {\n initComponents();\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents()\n {\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n getContentPane().setLayout(null);\n\n pack();\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n setName(\"Form\"); // NOI18N\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n this.setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 400, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 300, Short.MAX_VALUE)\n );\n }",
"public sinavlar2() {\n initComponents();\n }",
"public P0405() {\n initComponents();\n }",
"public MiFrame2() {\n initComponents();\n }",
"public IssueBookForm() {\n initComponents();\n }",
"public Choose1() {\n initComponents();\n }",
"public MainForm() {\n initComponents();\n\n String oldAuthor = prefs.get(\"AUTHOR\", \"\");\n if(oldAuthor != null) {\n this.authorTextField.setText(oldAuthor);\n }\n String oldBook = prefs.get(\"BOOK\", \"\");\n if(oldBook != null) {\n this.bookTextField.setText(oldBook);\n }\n String oldDisc = prefs.get(\"DISC\", \"\");\n if(oldDisc != null) {\n try {\n int oldDiscNum = Integer.parseInt(oldDisc);\n oldDiscNum++;\n this.discNumberTextField.setText(Integer.toString(oldDiscNum));\n } catch (Exception ex) {\n this.discNumberTextField.setText(oldDisc);\n }\n this.bookTextField.setText(oldBook);\n }\n\n\n }",
"public GUI_StudentInfo() {\n initComponents();\n }",
"public JFrmPrincipal() {\n initComponents();\n }",
"public Lihat_Dokter_Keseluruhan() {\n initComponents();\n }",
"public bt526() {\n initComponents();\n }",
"public Pemilihan_Dokter() {\n initComponents();\n }",
"public Ablak() {\n initComponents();\n }",
"@Override\n\tprotected void initUi() {\n\t\t\n\t}",
"@SuppressWarnings(\"unchecked\")\n\t// <editor-fold defaultstate=\"collapsed\" desc=\"Generated\n\t// Code\">//GEN-BEGIN:initComponents\n\tprivate void initComponents() {\n\n\t\tlabel1 = new java.awt.Label();\n\t\tlabel2 = new java.awt.Label();\n\t\tlabel3 = new java.awt.Label();\n\t\tlabel4 = new java.awt.Label();\n\t\tlabel5 = new java.awt.Label();\n\t\tlabel6 = new java.awt.Label();\n\t\tlabel7 = new java.awt.Label();\n\t\tlabel8 = new java.awt.Label();\n\t\tlabel9 = new java.awt.Label();\n\t\tlabel10 = new java.awt.Label();\n\t\ttextField1 = new java.awt.TextField();\n\t\ttextField2 = new java.awt.TextField();\n\t\tlabel14 = new java.awt.Label();\n\t\tlabel15 = new java.awt.Label();\n\t\tlabel16 = new java.awt.Label();\n\t\ttextField3 = new java.awt.TextField();\n\t\ttextField4 = new java.awt.TextField();\n\t\ttextField5 = new java.awt.TextField();\n\t\tlabel17 = new java.awt.Label();\n\t\tlabel18 = new java.awt.Label();\n\t\tlabel19 = new java.awt.Label();\n\t\tlabel20 = new java.awt.Label();\n\t\tlabel21 = new java.awt.Label();\n\t\tlabel22 = new java.awt.Label();\n\t\ttextField6 = new java.awt.TextField();\n\t\ttextField7 = new java.awt.TextField();\n\t\ttextField8 = new java.awt.TextField();\n\t\tlabel23 = new java.awt.Label();\n\t\ttextField9 = new java.awt.TextField();\n\t\ttextField10 = new java.awt.TextField();\n\t\ttextField11 = new java.awt.TextField();\n\t\ttextField12 = new java.awt.TextField();\n\t\tlabel24 = new java.awt.Label();\n\t\tlabel25 = new java.awt.Label();\n\t\tlabel26 = new java.awt.Label();\n\t\tlabel27 = new java.awt.Label();\n\t\tlabel28 = new java.awt.Label();\n\t\tlabel30 = new java.awt.Label();\n\t\tlabel31 = new java.awt.Label();\n\t\tlabel32 = new java.awt.Label();\n\t\tjButton1 = new javax.swing.JButton();\n\n\t\tlabel1.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 18)); // NOI18N\n\t\tlabel1.setText(\"It seems that some of the buttons on the ATM machine are not working!\");\n\n\t\tlabel2.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 18)); // NOI18N\n\t\tlabel2.setText(\"Unfortunately these numbers are exactly what Professor has to use to type in his password.\");\n\n\t\tlabel3.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 18)); // NOI18N\n\t\tlabel3.setText(\n\t\t\t\t\"If you want to eat tonight, you have to help him out and construct the numbers of the password with the working buttons and math operators.\");\n\n\t\tlabel4.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 14)); // NOI18N\n\t\tlabel4.setText(\"Denver's Password: 2792\");\n\n\t\tlabel5.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel5.setText(\"import java.util.Scanner;\\n\");\n\n\t\tlabel6.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel6.setText(\"public class ATM{\");\n\n\t\tlabel7.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel7.setText(\"public static void main(String[] args){\");\n\n\t\tlabel8.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel8.setText(\"System.out.print(\");\n\n\t\tlabel9.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel9.setText(\" -\");\n\n\t\tlabel10.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel10.setText(\");\");\n\n\t\ttextField1.addActionListener(new java.awt.event.ActionListener() {\n\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent evt) {\n\t\t\t\ttextField1ActionPerformed(evt);\n\t\t\t}\n\t\t});\n\n\t\tlabel14.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel14.setText(\"System.out.print( (\");\n\n\t\tlabel15.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel15.setText(\"System.out.print(\");\n\n\t\tlabel16.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel16.setText(\"System.out.print( ( (\");\n\n\t\tlabel17.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel17.setText(\")\");\n\n\t\tlabel18.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel18.setText(\" +\");\n\n\t\tlabel19.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel19.setText(\");\");\n\n\t\tlabel20.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel20.setText(\" /\");\n\n\t\tlabel21.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel21.setText(\" %\");\n\n\t\tlabel22.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel22.setText(\" +\");\n\n\t\tlabel23.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel23.setText(\");\");\n\n\t\tlabel24.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel24.setText(\" +\");\n\n\t\tlabel25.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel25.setText(\" /\");\n\n\t\tlabel26.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel26.setText(\" *\");\n\n\t\tlabel27.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));\n\t\tlabel27.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel27.setText(\")\");\n\n\t\tlabel28.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel28.setText(\")\");\n\n\t\tlabel30.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel30.setText(\"}\");\n\n\t\tlabel31.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel31.setText(\"}\");\n\n\t\tlabel32.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel32.setText(\");\");\n\n\t\tjButton1.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 14)); // NOI18N\n\t\tjButton1.setText(\"Check\");\n\t\tjButton1.addActionListener(new java.awt.event.ActionListener() {\n\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent evt) {\n\t\t\t\tjButton1ActionPerformed(evt);\n\t\t\t}\n\t\t});\n\n\t\tjavax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n\t\tlayout.setHorizontalGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(28).addGroup(layout\n\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING).addComponent(getDoneButton()).addComponent(jButton1)\n\t\t\t\t\t\t.addComponent(label7, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addComponent(label6, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addComponent(label5, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addComponent(label4, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addComponent(label3, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t.addComponent(label1, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t.addGap(1)\n\t\t\t\t\t\t\t\t.addComponent(label2, GroupLayout.PREFERRED_SIZE, 774, GroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t.addGap(92).addGroup(layout.createParallelGroup(Alignment.LEADING).addGroup(layout\n\t\t\t\t\t\t\t\t\t\t.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING, false)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label15, GroupLayout.PREFERRED_SIZE, 145,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField8, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(2)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label21, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField7, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label8, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField1, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label9, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED).addComponent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttextField2, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label31, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label14, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(37))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(174)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField5, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t20, GroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label18, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(7)))\n\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING).addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING, false).addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField4, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t20, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label17, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label22, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField9, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t20, GroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGap(20)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label23, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label20, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField3, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t20, GroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGap(20).addComponent(label19, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(23).addComponent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tlabel10, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))))\n\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label16, GroupLayout.PREFERRED_SIZE, 177,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField12, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label24, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField6, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label27, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label25, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField11, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label28, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGap(1)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label26, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField10, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED).addComponent(label32,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))))\n\t\t\t\t\t\t.addComponent(label30, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t.addContainerGap(GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));\n\t\tlayout.setVerticalGroup(\n\t\t\t\tlayout.createParallelGroup(Alignment.LEADING).addGroup(layout.createSequentialGroup().addContainerGap()\n\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t.addComponent(label1, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t.addComponent(label2, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t.addGap(1)\n\t\t\t\t\t\t.addComponent(label3, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(label4, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(label5, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(label6, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(label7, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t.addGroup(\n\t\t\t\t\t\t\t\t\t\tlayout.createSequentialGroup().addGroup(layout.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createSequentialGroup().addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING).addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label9,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label8,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField1,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttextField2, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label10,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(3)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(19)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField5,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label14,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label18,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label17,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField4,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(1))))\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label20, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label19, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField3, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(78)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label27, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(76)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField11, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(75)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label32,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField10,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tShort.MAX_VALUE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING, false)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label15,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField8,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label21,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField7,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(27))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField9,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAlignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label22,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlayout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(3)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlabel23,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(29)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label16,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField12,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label24,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField6,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(1))))))\n\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t.addComponent(label25, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t.addComponent(label28, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t.addComponent(label26, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t.addGap(30)\n\t\t\t\t\t\t.addComponent(label31, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addGap(25)\n\t\t\t\t\t\t.addComponent(label30, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addGap(26).addComponent(jButton1).addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(getDoneButton()).addContainerGap(23, Short.MAX_VALUE)));\n\t\tthis.setLayout(layout);\n\n\t\tlabel16.getAccessibleContext().setAccessibleName(\"System.out.print( ( (\");\n\t\tlabel17.getAccessibleContext().setAccessibleName(\"\");\n\t\tlabel18.getAccessibleContext().setAccessibleName(\" +\");\n\t}",
"public Pregunta23() {\n initComponents();\n }",
"public FormMenuUser() {\n super(\"Form Menu User\");\n initComponents();\n }",
"public AvtekOkno() {\n initComponents();\n }",
"public busdet() {\n initComponents();\n }",
"public ViewPrescriptionForm() {\n initComponents();\n }",
"public Ventaform() {\n initComponents();\n }",
"public Kuis2() {\n initComponents();\n }",
"public POS1() {\n initComponents();\n }",
"public CreateAccount_GUI() {\n initComponents();\n }",
"public Carrera() {\n initComponents();\n }",
"public EqGUI() {\n initComponents();\n }",
"public JFriau() {\n initComponents();\n this.setLocationRelativeTo(null);\n this.setTitle(\"BuNus - Budaya Nusantara\");\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n setBackground(new java.awt.Color(204, 204, 204));\n setMinimumSize(new java.awt.Dimension(1, 1));\n setPreferredSize(new java.awt.Dimension(760, 402));\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n this.setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 750, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 400, Short.MAX_VALUE)\n );\n }",
"public nokno() {\n initComponents();\n }",
"public dokter() {\n initComponents();\n }",
"public ConverterGUI() {\n initComponents();\n }",
"public hitungan() {\n initComponents();\n }",
"public Modify() {\n initComponents();\n }",
"public frmAddIncidencias() {\n initComponents();\n }",
"public FP_Calculator_GUI() {\n initComponents();\n \n setVisible(true);\n }"
] | [
"0.73200226",
"0.7291205",
"0.7291205",
"0.7291205",
"0.7286934",
"0.72486174",
"0.72148067",
"0.7208562",
"0.7196016",
"0.7190541",
"0.71850747",
"0.71595925",
"0.71484745",
"0.7093441",
"0.708049",
"0.70576906",
"0.6987498",
"0.6977434",
"0.69557697",
"0.6954114",
"0.69463736",
"0.69432336",
"0.6935982",
"0.6932067",
"0.69294006",
"0.6925068",
"0.69241905",
"0.69122374",
"0.69116175",
"0.689272",
"0.68923753",
"0.68911856",
"0.68911785",
"0.6889383",
"0.6883104",
"0.6882112",
"0.6881066",
"0.68791443",
"0.6876986",
"0.68742603",
"0.6872269",
"0.6860655",
"0.6857326",
"0.68560773",
"0.68556136",
"0.68552834",
"0.6853771",
"0.68527913",
"0.68527913",
"0.68449986",
"0.68374735",
"0.6837303",
"0.68292284",
"0.68291926",
"0.68263316",
"0.68245447",
"0.6824226",
"0.6817715",
"0.6816996",
"0.68106586",
"0.6810103",
"0.6809513",
"0.6808559",
"0.6808408",
"0.6802585",
"0.67959464",
"0.67944944",
"0.67928296",
"0.67914546",
"0.67901224",
"0.67896134",
"0.67883486",
"0.67817384",
"0.6766481",
"0.6766018",
"0.676571",
"0.6756985",
"0.67556614",
"0.675249",
"0.67502266",
"0.6743099",
"0.6739551",
"0.67379254",
"0.6736453",
"0.67339987",
"0.6728092",
"0.67274475",
"0.6720717",
"0.6715939",
"0.6715854",
"0.6714594",
"0.670914",
"0.6707494",
"0.670563",
"0.67009556",
"0.6700291",
"0.66993314",
"0.6698221",
"0.66939473",
"0.66917986",
"0.66896147"
] | 0.0 | -1 |
File menu new, save, exit | protected void fillMenu(MenuBar menuBar) {
Menu fileMenu = new Menu("Файл");
MenuItem loginMenuItem = new MenuItem("Сменить пользователя");
loginMenuItem.setOnAction(actionEvent -> main.logout());
MenuItem exitMenuItem = new MenuItem("Выход (выключить планшет)");
exitMenuItem.setOnAction(actionEvent -> main.requestShutdown());
exitMenuItem.setAccelerator(KeyCombination.keyCombination("Alt+F4"));
fileMenu.getItems().addAll( loginMenuItem,
new SeparatorMenuItem(), exitMenuItem);
Menu navMenu = new Menu("Навигация");
MenuItem navHomeMap = new MenuItem("На общую карту");
//navHomeMap.setOnAction(actionEvent -> setMapData(bigMapData));
navHomeMap.setOnAction(actionEvent -> setMapData(main.ml.getRootMap()));
Menu navMaps = new Menu("Карты");
//navMaps.setOnAction(actionEvent -> setMapData(bigMapData));
main.ml.fillMapsMenu( navMaps, this );
MenuItem navOverview = new MenuItem("Обзор");
navOverview.setOnAction(actionEvent -> setOverviewScale());
navMenu.getItems().addAll( navHomeMap, navMaps, new SeparatorMenuItem(), navOverview );
Menu dataMenu = new Menu("Данные");
ServerUnitType.forEach(t -> {
MenuItem dataItem = new MenuItem(t.getDisplayName());
dataItem.setOnAction(actionEvent -> new EntityListWindow(t, main.rc, main.sc));
dataMenu.getItems().add(dataItem);
});
//dataMenu.Menu debugMenu = new Menu("Debug");
//MenuItem d1 = new MenuItem("На общую карту");
//d1.setOnAction(actionEvent -> setMapData(main.ml.getRootMap()));
/*
Menu webMenu = new Menu("Web");
CheckMenuItem htmlMenuItem = new CheckMenuItem("HTML");
htmlMenuItem.setSelected(true);
webMenu.getItems().add(htmlMenuItem);
CheckMenuItem cssMenuItem = new CheckMenuItem("CSS");
cssMenuItem.setSelected(true);
webMenu.getItems().add(cssMenuItem);
Menu sqlMenu = new Menu("SQL");
ToggleGroup tGroup = new ToggleGroup();
RadioMenuItem mysqlItem = new RadioMenuItem("MySQL");
mysqlItem.setToggleGroup(tGroup);
RadioMenuItem oracleItem = new RadioMenuItem("Oracle");
oracleItem.setToggleGroup(tGroup);
oracleItem.setSelected(true);
sqlMenu.getItems().addAll(mysqlItem, oracleItem,
new SeparatorMenuItem());
Menu tutorialManeu = new Menu("Tutorial");
tutorialManeu.getItems().addAll(
new CheckMenuItem("Java"),
new CheckMenuItem("JavaFX"),
new CheckMenuItem("Swing"));
sqlMenu.getItems().add(tutorialManeu);
*/
Menu aboutMenu = new Menu("О системе");
MenuItem version = new MenuItem("Версия");
version.setOnAction(actionEvent -> showAbout());
MenuItem aboutDz = new MenuItem("Digital Zone");
aboutDz.setOnAction(actionEvent -> main.getHostServices().showDocument(Defs.HOME_URL));
MenuItem aboutVita = new MenuItem("VitaSoft");
aboutVita.setOnAction(actionEvent -> main.getHostServices().showDocument("vtsft.ru"));
aboutMenu.getItems().addAll( version, new SeparatorMenuItem(), aboutDz, aboutVita );
// --------------- Menu bar
//menuBar.getMenus().addAll(fileMenu, webMenu, sqlMenu);
menuBar.getMenus().addAll(fileMenu, navMenu, dataMenu, aboutMenu );
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Menu createFileMenu();",
"private void handleMenuSave() {\n String initialDirectory = getInitialDirectory();\n String initialFileName = getInitialFilename(Constants.APP_FILEEXTENSION_SPV);\n File file = FileChooserHelper.showSaveDialog(initialDirectory, initialFileName, this);\n\n if (file == null) {\n return;\n }\n\n handleFileStorageFactoryResult(controller.saveFile(file.getAbsolutePath()));\n }",
"private JMenu createFileMenu() {\n\t\tJMenu menu = new JMenu(\"File\"); \n\t\tmenu.add(createDetectiveNotes());\n\t\tmenu.add(createFileExitItem());\n\t\treturn menu;\n\t}",
"private void saveFile(File file){\r\n\t\ttry {\r\n\t\t\tlocal.saveFile(file);\r\n\t\t\topenFile = file;\r\n\t\t\tpopulateRecentMenu();\r\n\t\t\tframe.setTitle(openFile.getName());\r\n\t\t\tedit = false;\r\n\t\t} catch (IOException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}",
"private void menuSaveActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_menuSaveActionPerformed\n saveDataToFile();\n }",
"public void onMenuSave() {\n String lastSavedPath = controller.getLastSavePath();\n\n if (lastSavedPath == null) {\n onMenuSaveAs();\n return;\n }\n\n handleFileStorageFactoryResult(controller.saveFile(lastSavedPath));\n }",
"private void buildFileMenu(){\n //Create a Save menu item\n saveItem = new JMenuItem(\"Save\");\n saveItem.setMnemonic(KeyEvent.VK_S);\n saveItem.addActionListener(new SaveListener());\n \n //Create a Load menu item\n loadItem = new JMenuItem(\"Load\");\n loadItem.setMnemonic(KeyEvent.VK_L);\n loadItem.addActionListener(new LoadListener());\n\n //Create an Exit menu item\n exitItem = new JMenuItem(\"Exit\");\n exitItem.setMnemonic(KeyEvent.VK_X);\n exitItem.addActionListener(new ExitListener());\n \n //Create a JMenu object for the file menu\n fileMenu = new JMenu(\"File\");\n fileMenu.setMnemonic(KeyEvent.VK_F);\n \n //Add the items to the menu\n fileMenu.add(saveItem);\n fileMenu.add(loadItem);\n fileMenu.add(exitItem);\n }",
"public JMenu createFileMenu(){\n\t\tJMenu menu = new JMenu(\"File\");\n\t\tmenu.add(createFileResetItem());\n\t\tmenu.add(createFilePracticeItem());\t\t\n\t\tmenu.add(createFileExitItem());\n\t\treturn menu;\n\t}",
"void save_to_file() {\n\t\tthis.setAlwaysOnTop(false);\n\t\t\n\t\t/**\n\t\t * chose file with file selector \n\t\t */\n\t\t\n\t\tFileDialog fd = new FileDialog(this, \"Choose a save directory\", FileDialog.SAVE);\n\t\t\n\t\t//default path is current directory\n\t\tfd.setDirectory(System.getProperty(\"user.dir\"));\n\t\tfd.setFile(\"*.cmakro\");\n\t\tfd.setVisible(true);\n\t\t\n\t\t\n\t\tString filename = fd.getFile();\n\t\tString path = fd.getDirectory();\n\t\tString file_withpath = path + filename;\n\t\t\n\t\tif (filename != null) {\n\t\t\t System.out.println(\"save path: \" + file_withpath);\n\t\t\t \n\t\ttry {\n\t\t\tObjectOutputStream out = new ObjectOutputStream(new FileOutputStream(file_withpath));\n\n\t\t\tout.writeObject(Key_Lists);\n\t\t\t\n\t\t\tout.close();\n\t\t\t\n\t\t\tinfo_label.setForeground(green);\n\t\t\tinfo_label.setText(\"file saved :D\");\n\t\t\t\n\t\t} catch (FileNotFoundException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\t}\n\t\t\n\t\t\n\t\tthis.setAlwaysOnTop(true);\n\t\t\n\t}",
"public void newFile() {\n\t\tString filename = \"untitled\";\n\t\tfilename = JOptionPane.showInputDialog(null,\n\t\t\t\t\"Enter the new file name\");\n\t\taddTab(filename+\".minl\");\n\t}",
"private void mnuFileSaveActionPerformed(java.awt.event.ActionEvent evt) {\n if (fileOpened){\n saveFile(openFile);\n }else{\n JOptionPane.showConfirmDialog(this, \"No file currently open! doing \\\"Save as\\\" instead\");\n saveNewFile();\n }\n }",
"private JMenu createFileMenu() {\r\n\t\tJMenu fileMenu = new JMenu(\"File\");\r\n\t\tfileMenu.setMnemonic('f');\r\n\t\tfileMenu.add(createSaveHistoryMenuItem());\r\n\t\tfileMenu.add(createLoadHistoryMenuItem());\r\n\r\n\t\treturn fileMenu;\r\n\t}",
"private JMenu getFileMenu() {\n\t\tif (fileMenu == null) {\n\t\t\tfileMenu = new JMenu();\n\t\t\tfileMenu.setText(\"Súbor\");\n\t\t\t//fileMenu.add(getSaveMenuItem());\n\t\t\tfileMenu.add(getExitMenuItem());\n\t\t\tfileMenu.addActionListener(new java.awt.event.ActionListener() {\n\t\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent e) {\n\t\t\t\t\tSystem.out.println(\"actionPerformed()\"); // TODO Auto-generated Event stub actionPerformed()\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t\treturn fileMenu;\n\t}",
"private JMenu createFileMenu()\r\n {\r\n JMenu fileMenu = new JMenu(\"File\");\r\n fileMenu.add(new JMenuItem(openFileAction));\r\n fileMenu.add(new JMenuItem(openUriAction));\r\n fileMenu.add(new JSeparator());\r\n\r\n fileMenu.add(recentUrisMenu.getMenu());\r\n fileMenu.add(new JSeparator());\r\n\r\n fileMenu.add(new JMenuItem(importObjFileAction));\r\n fileMenu.add(new JSeparator());\r\n \r\n fileMenu.add(new JMenuItem(saveAsAction));\r\n fileMenu.add(new JMenuItem(saveAsBinaryAction));\r\n fileMenu.add(new JMenuItem(saveAsEmbeddedAction));\r\n fileMenu.add(new JSeparator());\r\n fileMenu.add(new JMenuItem(exitAction));\r\n return fileMenu;\r\n }",
"public void onMenuSaveAs() {\n handleMenuSave();\n }",
"private void savePressed(){\n\t\t\n\t\tJFileChooser fileChooser = new JFileChooser(System.getProperty(\"user.dir\"));\n\t\tFileNameExtensionFilter extentions = new FileNameExtensionFilter(\"SuperCalcSave\", \"scalcsave\");\n\t\tfileChooser.setFileFilter(extentions);\n\t\tint retunedVal = fileChooser.showSaveDialog(this);\n\t\tFile file = null;\n\t\tif(retunedVal == JFileChooser.APPROVE_OPTION){\n\t\t\tfile = fileChooser.getSelectedFile();\n\t\t\t//make sure file has the right extention\n\t\t\tif(file.getAbsolutePath().contains(\".scalcsave\"))\n\t\t\t\tfile = new File(file.getAbsolutePath());\n\t\t\telse\n\t\t\t\tfile = new File(file.getAbsolutePath()+\".scalcsave\");\n\t\t}\n\t\t//only continue if a file is selected\n\t\tif(file != null){\t\n\t\t\ttry {\n\t\t\t\t//read in file\n\t\t\t\tObjectOutputStream output = new ObjectOutputStream(new FileOutputStream(file));\n\t\t\t\toutput.writeObject(SaveFile.getSaveFile());\n\t\t\t\toutput.close();\n\t\t\t\tSystem.out.println(\"Save Success\");\n\t\t\t\t\n\t\t\t} catch (Exception e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\t\n\t\t}\n\t}",
"private void openPressed(){\n\t\tJFileChooser fileChooser = new JFileChooser(System.getProperty(\"user.dir\"));\n\t\tFileNameExtensionFilter extentions = new FileNameExtensionFilter(\"SuperCalcSave\", \"scalcsave\");\n\t\tfileChooser.setFileFilter(extentions);\n\t\tint retunedVal = fileChooser.showOpenDialog(this);\n\t\tFile file = null;\n\t\tif(retunedVal == JFileChooser.APPROVE_OPTION){\n\t\t\tfile = fileChooser.getSelectedFile();\n\t\t}\n\t\t//only continue if a file is selected\n\t\tif(file != null){\n\t\t\tSaveFile saveFile = null;\n\t\t\ttry {\n\t\t\t\t//read in file\n\t\t\t\tObjectInputStream input = new ObjectInputStream(new FileInputStream(file));\n\t\t\t\tsaveFile = (SaveFile) input.readObject();\n\t\t\t\tinput.close();\n\t\t\t\tVariable.setList(saveFile.getVariables());\n\t\t\t\tUserFunction.setFunctions(saveFile.getFunctions());\n\t\t\t\tmenuBar.updateFunctions();\n\t\t\t\tSystem.out.println(\"Open Success\");\n\t\t\t} catch (Exception e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\t\n\t\t}\n\t}",
"public void save(){\n\tif(currentFile == null){\n\t // TODO: add popup to select where to save file and file name\n\t // currentFile = new TextFile(os, title, null);\n\t}else{\n\t currentFile.setBody(textArea.getText());\n\t}\n }",
"public static void menu()\r\n {\n\t\t Scanner scan = new Scanner(System.in);\r\n\t\t System.out.println(\"Please enter your choice : \");\r\n\t\t int choice = scan.nextInt();\r\n\t\t switch(choice)\r\n\t\t {\r\n\t\t case 1:\r\n\t\t\t viewFiles();\r\n\t\t\t goback();\r\n\t\t\t break;\r\n\t\t case 2: \r\n\t\t\t createNew();\r\n\t\t\t goback();\r\n\t\t\t break;\r\n\t\t case 3: \r\n\t\t\t searchFile();\r\n\t\t\t goback();\r\n\t\t\t break;\r\n\t\t case 4: \r\n\t\t deleteFile();\r\n\t\t goback();\r\n\t\t break;\r\n\t\t case 5: \r\n\t\t\t exit();\r\n\t\t\t goback();\r\n\t\t\t break;\r\n\t\t \r\n\t\t default :\r\n\t\t\t System.out.println(\"please enter a only 1,2,3 or 4\");\r\n\t\t\t goback();\r\n\t }\r\n\t }",
"private void saveFile() {\n if (fileExisted == false) {\n JFileChooser fChoice = new JFileChooser();\n int choice = fChoice.showSaveDialog(this);\n if (choice == JFileChooser.APPROVE_OPTION) {\n File f = fChoice.getSelectedFile();\n //\n if(!f.getName().contains(\".txt\")){\n File fN=new File(f.getParent(), f.getName()+\".txt\");\n FileDAO.writeFile(fN, txtContent);\n fMain = fN;\n fileExisted = true;\n lastSave=true;\n this.setTitle(fN.getName());\n }\n else{\n \n FileDAO.writeFile(f, txtContent);\n fMain = f;\n fileExisted = true;\n lastSave=true;\n this.setTitle(f.getName());\n } \n \n }\n } else if (fileExisted == true) {\n FileDAO.writeFile(fMain, txtContent);\n lastSave=true;\n }\n\n }",
"public void saveNewFile() {\n\t\tJFileChooser choose = new JFileChooser();\n\t\tif(choose.showSaveDialog(null) == JFileChooser.APPROVE_OPTION) {\n\t\ttry {\n\t\t\t\tdir=choose.getCurrentDirectory().toString();\n\t\t\t\tString fileName =dir+ \"\\\\\" + choose.getSelectedFile().getName();\n\t\t\t File file = new File(fileName);\n\t\t\t if(file.exists()) {\n\t\t\t \tint confirm = JOptionPane.showConfirmDialog(null, \n\t\t\t \t\t\t\"File already exists. Do you want to overwrite it?\",\n\t\t\t \t\t\t\"Choose one\",JOptionPane.YES_NO_OPTION);\n\t\t\t \tif(confirm == JOptionPane.NO_OPTION)return;\n\t\t\t }\n\t\t\t\tPrintWriter writer = new PrintWriter(file);\n\t\t\t\twriter.write(frame.textArea.getText());\n\t\t\t\twriter.close();\n\t\t\t\tframe.setTitle(choose.getSelectedFile().getName()+\"-Text Editor\");\n\t\t\t\tframe.originalText=frame.textArea.getText();\n\t\t\t} catch (FileNotFoundException e1) {\n\t\t\t\te1.printStackTrace();\n\t\t\t}\n\t\t}\n\t}",
"private MenuManager createFileMenu(\tIWorkbenchWindow window) {\n\t\tMenuManager menu = new MenuManager(Messages.getString(\"IU.Strings.39\"),IWorkbenchActionConstants.M_FILE); //$NON-NLS-1$\n\t\t\n\n\t\tmenu.add(new GroupMarker(IWorkbenchActionConstants.FILE_START));\n\n\t\tIContributionItem[] items=menu.getItems();\n\t\tmenu.add(new GroupMarker(IWorkbenchActionConstants.NEW_EXT));\n\t\t/**/\n\t\t/**/\n\t\tmenu.add(getAction(ActionFactory.CLOSE.getId()));\n\t\tmenu.add(new GroupMarker(IWorkbenchActionConstants.CLOSE_EXT));\n\n\t\tmenu.add(new Separator());\n\n\t\tmenu.add(getAction(ActionFactory.SAVE.getId()));\n\t\tmenu.add(getAction(ActionFactory.SAVE_AS.getId()));\n\t\t//menu.add(getAction(ActionFactory.REVERT.getId()));\n\t\tmenu.add(new Separator());\n\t\tmenu.add(getAction(ActionFactory.PRINT.getId()));\n\t\t\n\t\tmenu.add(ContributionItemFactory.REOPEN_EDITORS.create(window));\n\n\t\tmenu.add(new Separator());\n\n\t\tmenu.add(getAction(ActionFactory.QUIT.getId()));\n\t\tmenu.add(new GroupMarker(IWorkbenchActionConstants.FILE_END));\n\n\t\t\n\t\t//remove convert line delimiter and open file doublon\n\t\tActionSetRegistry reg = WorkbenchPlugin.getDefault().getActionSetRegistry();\n\t\tIActionSetDescriptor[] actionSets = reg.getActionSets();\n\t\t//String actionSetId = \"org.eclipse.ui.edit.text.actionSet.navigation\"; //$NON-NLS-1$\n\t\tString actionSetId = \"org.eclipse.ui.edit.text.actionSet.convertLineDelimitersTo\"; //$NON-NLS-1$\n\t\tString actionSetId2 = \"org.eclipse.ui.actionSet.openFiles\"; //$NON-NLS-1$\n\t\t// Removing convert line delimiters menu.\n\n\t\tfor (int i = 0; i <actionSets.length; i++)\n\t\t{\n\t\t\tif ((!actionSets[i].getId().equals(actionSetId)) && (!actionSets[i].getId().equals(actionSetId2)))\n\t\t\t\tcontinue;\n\t\t\tIExtension ext = actionSets[i].getConfigurationElement()\n\t\t\t\t.getDeclaringExtension();\n\t\t\treg.removeExtension(ext, new Object[] { actionSets[i] });\n\t\t}\n\t\treturn menu;\n\t}",
"public void setUpFileMenu() {\n add(fileMenu);\n fileMenu.add(new OpenAction(parent));\n fileMenu.add(new SaveAction(parent));\n fileMenu.add(new SaveAsAction(parent));\n fileMenu.addSeparator();\n fileMenu.add(new ShowWorldPrefsAction(parent.getWorldPanel()));\n fileMenu.add(new CloseAction(parent.getWorkspaceComponent()));\n }",
"private void setUpMenuBar_FileMenu(){\r\n\t\t// Add the file menu.\r\n\t\tthis.fileMenu = new JMenu(STR_FILE);\r\n\t\tthis.openMenuItem = new JMenuItem(STR_OPEN);\r\n\t\tthis.openMenuItem2 = new JMenuItem(STR_OPEN2);\r\n\t\tthis.resetMenuItem = new JMenuItem(STR_RESET);\r\n\t\tthis.saveMenuItem = new JMenuItem(STR_SAVE);\r\n\t\tthis.saveAsMenuItem = new JMenuItem(STR_SAVEAS);\r\n\t\tthis.exitMenuItem = new JMenuItem(STR_EXIT);\r\n\t\t\r\n\t\t// Add the action listeners for the file menu.\r\n\t\tthis.openMenuItem.addActionListener(this);\r\n\t\tthis.openMenuItem2.addActionListener(this);\r\n\t\tthis.resetMenuItem.addActionListener(this);\r\n\t\tthis.saveMenuItem.addActionListener(this);\r\n\t\tthis.saveAsMenuItem.addActionListener(this);\r\n\t\tthis.exitMenuItem.addActionListener(this);\r\n\t\t\r\n\t\t// Add the menu items to the file menu.\r\n\t\tthis.fileMenu.add(openMenuItem);\r\n\t\tthis.fileMenu.add(openMenuItem2);\r\n\t\tthis.fileMenu.add(resetMenuItem);\r\n\t\tthis.fileMenu.addSeparator();\r\n\t\tthis.fileMenu.add(saveMenuItem);\r\n\t\tthis.fileMenu.add(saveAsMenuItem);\r\n\t\tthis.fileMenu.addSeparator();\r\n\t\tthis.fileMenu.add(exitMenuItem);\r\n\t\tthis.menuBar.add(fileMenu);\r\n\t}",
"@FXML\n void newFilePressed(ActionEvent event) {\n\t\tFileChooser fileChooser = new FileChooser();\n\t\tfileChooser.setTitle(\"Open New File\");\n\t\tFile f = fileChooser.showSaveDialog(stage);\n\t\tif (f != null) {\n\t\t\tsetFile(f);\n\t\t\tviewState.set(ViewState.NEW);\n\t\t}\n\n }",
"private void menu() { \r\n\t\tSystem.out.println(\" ---------WHAT WOULD YOU LIKE TO DO?---------\");\r\n\t\tSystem.out.println(\"1) Move\");\r\n\t\tSystem.out.println(\"2) Save\");\r\n\t\tSystem.out.println(\"3) Quit\");\r\n\t\t\r\n\t}",
"public void actionPerformed(ActionEvent arg0) {\n\t\t\t\tfile.save();\r\n\t\t\t\tclose();\r\n//\t\t\t\tfile.de = true;\r\n\r\n\t\t\t}",
"@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tsaveFile();\n\t\t\t}",
"public void updateMenuFile() {\n\t\tif (fileMenu != null) {\n\t\t\tfileMenu.update();\n\t\t}\n\t}",
"@FXML\n\tpublic void handleMenu(){\n\t\tFile file2 = mainApp.getProspectFilePath();\n if (file2 != null) {\n mainApp.saveProspectDataToFile(file2);}\n\t\tmainApp.showMenuPrincipale();\n\t}",
"private void fixFileOption() {\n\t\t\n\t\tnewFileOption.addActionListener(new ActionListener() {\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tnew CreateFileFrame(main, true , controller);\n\t\t\t}\n\t\t});\n\t\t\n\t\t\n\t\topenFileOption.addActionListener(new ActionListener() {\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tJFileChooser fileSelector = new JFileChooser();\n\t\t\t\tFileNameExtensionFilter fileFilter = new FileNameExtensionFilter(\"ASM , IN, OUT\", \"asm\", \"in\",\"out\");\n\t\t\t\tfileSelector.setFileFilter(fileFilter);\n\t\t\t\t\n\t\t\t\tint option = fileSelector.showOpenDialog(openFileOption);\n\t\t\t\t\n\t\t\t\tif(option == JFileChooser.APPROVE_OPTION){\n\t\t\t\t\tString path = fileSelector.getSelectedFile().getPath();\n\t\t\t\t\tString extension = path.substring(path.lastIndexOf('.') + 1);\n\t\t\t\t\t\n\t\t\t\t\tif (extension.equalsIgnoreCase(\"in\")) {\n\t\t\t\t\t\tcontroller.changeIn(path);\n\t\t\t\t\t}\n\t\t\t\t\telse if (extension.equalsIgnoreCase(\"out\")) {\n\t\t\t\t\t\tcontroller.changeOut(path);\n\t\t\t\t\t}\n\t\t\t\t\telse if (extension.equalsIgnoreCase(\"asm\")) {\n\t\t\t\t\t\tcontroller.changeProgram(path);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\n\t\t\t}\n\t\t});\n\t\t\n\t\texitOption.addActionListener(new ActionListener(){\n\t\t\tpublic void actionPerformed(ActionEvent arg0){\n\t\t\t\toptionExit();\n\t\t\t}\n\t\t});\n\t}",
"public void actionPerformed(java.awt.event.ActionEvent evt) {\n if (!askSave()) {\n return;\n }\n //loop until user choose valid file\n while (true) {\n int result = chooser.showOpenDialog(form);\n //check if user chooser approve option\n if (result == JFileChooser.APPROVE_OPTION) {\n File openFile = chooser.getSelectedFile();\n //check if open file is exist\n if (openFile.exists()) {\n file = openFile;\n text.setText(\"\");\n setSaveTitle(openFile.getName());\n writeToTextArea(openFile);\n saved = true;\n break;\n } else {\n JOptionPane.showMessageDialog(form, \"File not found\", \"Open\", JOptionPane.OK_OPTION);\n }\n } else {\n break;\n }\n\n }\n }",
"@Override\n\t\t\tpublic void actionPerformed(ActionEvent ae) {\n\t\t\t\tJFileChooser chooser = new JFileChooser();\n\t\t\t\tFileNameExtensionFilter filter = new FileNameExtensionFilter(\"HALTING Files\", EXT);\n\t\t\t\tchooser.setFileFilter(filter);\n\t\t\t\tint choice = chooser.showSaveDialog(MainWindow.this);\n\t\t\t\tif (choice != JFileChooser.APPROVE_OPTION)\n\t\t\t\t\treturn;\n\t\t\t\t\n\t\t\t\t// ensure correct extension\n\t\t\t\tFile file = chooser.getSelectedFile();\n\t\t\t\tif (! file.getName().endsWith(\".\" + EXT))\n\t\t\t\t\tfile = new File(file + \".\" + EXT);\n\t\t\t\tString filename = file.getAbsolutePath();\n\n\t\t\t\t// attempt to output automaton to file\n\t\t\t\ttry {\n\t\t\t\t\toutputToFile(filename);\n\t\t\t\t\t\n\t\t\t\t\t// delete the original (if overwriting)\n\t\t\t\t\tif (file.exists())\n\t\t\t\t\t\tFiles.delete(file.toPath());\n\t\t\t\t\t\n\t\t\t\t\t// rename the tmp file\n\t\t\t\t\tFile newFile = new File(filename + \".tmp\");\n\t\t\t\t\tif (!newFile.renameTo(file))\n\t\t\t\t\t\tthrow new FileError(file.getAbsolutePath(), true);\n\t\t\t\t}\n\t\t\t\t// warn the user about a failure\n\t\t\t\tcatch (Exception e) {\n\t\t\t\t\tString msg = e.getMessage();\n\t\t\t\t\treportException(new FileError(msg == null ? filename \n\t\t\t\t\t\t\t : msg, true));\n\t\t\t\t}\n\t\t\t}",
"public void newFile()\n {\n this.componentEditor.setText(\"\");\n this.currentFile = null;\n this.preferences.removePreference(CompilerEditorPanel.PREFERENCE_LAST_FILE);\n this.title.setText(\"--Untitled--\");\n }",
"public void saveAs() {\n\t\tJFileChooser chooser = new JFileChooser();\n\t\tchooser.setDialogTitle(\"Schaltung speichern...\");\n\t\tchooser.setMultiSelectionEnabled(false);\n\t\tchooser.setAutoscrolls(true);\n\t\tchooser.setFileFilter(new FileFilter() {\n\t\t\t@Override\n\t\t\tpublic String getDescription() {\n\t\t\t\treturn \"Schaltung (*.digi)\";\n\t\t\t}\n\n\t\t\t@Override\n\t\t\tpublic boolean accept(File f) {\n\t\t\t\treturn f.isDirectory() || f.getName().toLowerCase().endsWith(\".digi\");\n\t\t\t}\n\t\t});\n\t\tif (chooser.showSaveDialog(null) != JFileChooser.APPROVE_OPTION || chooser.getSelectedFile() == null) {\n\t\t\treturn;\n\t\t}\n\t\tString path = removeExtension(chooser.getSelectedFile().getPath());\n\t\tFile f = new File(path + \".digi\");\n\t\tif (f.exists()) {\n\t\t\tWindowManager.getDialogs().showMsgBox(\"Datei \\u00FCberschreiben?\",\n\t\t\t\t\t\"M\\u00F6chtest du die Datei \\\"\" + f.getName() + \"\\\" \\u00FCberschreiben?\", EnumDialogType.QUESTION,\n\t\t\t\t\tnew IButton() {\n\t\t\t\t\t\t@Override\n\t\t\t\t\t\tpublic String getDisplayName() {\n\t\t\t\t\t\t\treturn \"Ja, \\u00FCberschreiben\";\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t@Override\n\t\t\t\t\t\tpublic void onClick() {\n\t\t\t\t\t\t\tWorkPanel panel = Management.getWorkPanel();\n\t\t\t\t\t\t\tpanel.setCurrentFile(f);\n\t\t\t\t\t\t\tsave(panel, f);\n\t\t\t\t\t\t}\n\t\t\t\t\t}, new IButton() {\n\t\t\t\t\t\t@Override\n\t\t\t\t\t\tpublic String getDisplayName() {\n\t\t\t\t\t\t\treturn \"Nein\";\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t@Override\n\t\t\t\t\t\tpublic void onClick() {\n\t\t\t\t\t\t\t// do nothing\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t} else {\n\t\t\tManagement.getWorkPanel().setCurrentFile(f);\n\t\t\tonClick(); // save the selected file\n\t\t}\n\t}",
"private static JMenu getFileMenu(final EnvironmentFrame frame) {\n\t\tfinal Environment environment = frame.getEnvironment();\n\t\tfinal JMenu menu = new JMenu(\"File\");\n\t\taddItem(menu, new NewAction());\n\t\tfinal SecurityManager sm = System.getSecurityManager();\n\t\tif (Universe.CHOOSER != null) {\n\t\t\t// Can't open and save files.\n\t\t\taddItem(menu, new OpenAction());\n\t\t\taddItem(menu, new SaveAction(environment));\n\t\t\taddItem(menu, new SaveAsAction(environment));\n\t\t\tJMenu saveImageMenu;\n\t\t\tsaveImageMenu = new JMenu(\"Save Image As...\");\n\t\t\tsaveImageMenu.add(new SaveGraphJPGAction(environment, menu));\n\t\t\tsaveImageMenu.add(new SaveGraphPNGAction(environment, menu));\n\t\t\tsaveImageMenu.add(new SaveGraphGIFAction(environment, menu));\n\t\t\tsaveImageMenu.add(new SaveGraphBMPAction(environment, menu));\n\t\t\tif (environment instanceof AutomatonEnvironment) { // this is\n\t\t\t\t// strictly for\n\t\t\t\t// non-Grammar\n\t\t\t\tJarFile jar = null;\n\t\t\t\ttry {\n\t\t\t\t\tif (new File(\"JFLAP.jar\").exists()) {\n\t\t\t\t\t\tjar = new JarFile(\"JFLAP.jar\");\n\t\t\t\t\t} else if (new File(\"JFLAP_With_Source.jar\").exists()) {\n\t\t\t\t\t\tjar = new JarFile(\"JFLAP_With_Source.jar\");\n\t\t\t\t\t}\n\t\t\t\t} catch (final IOException ioe) {\n\t\t\t\t\tioe.printStackTrace();\n\t\t\t\t}\n\n\t\t\t\tif (new File(\"svg.jar\").exists() || (jar != null && jar.getJarEntry(\"org/foo.txt\") != null)) {\n\t\t\t\t\t// saveImageMenu.add(new ExportAction(environment));\n\t\t\t\t\ttry {\n\t\t\t\t\t\tfinal RestrictedAction ra = (RestrictedAction) Class.forName(\"gui.action.ExportAction\")\n\t\t\t\t\t\t\t\t.getConstructor(new Class[] { Environment.class }).newInstance(environment);\n\t\t\t\t\t\tsaveImageMenu.add(ra);\n\t\t\t\t\t} catch (final Exception e) {\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t\tSystem.err.println(\"Cannot make menu\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tmenu.add(saveImageMenu);\n\t\t} else {\n\t\t\taddItem(menu, new OpenURLAction());\n\t\t}\n\t\taddItem(menu, new CloseAction(environment));\n\t\taddItem(menu, new CloseWindowAction(frame));\n\t\ttry {\n\t\t\tif (sm != null) {\n\t\t\t\tsm.checkPrintJobAccess();\n\t\t\t}\n\t\t\taddItem(menu, new PrintAction(environment));\n\t\t} catch (final SecurityException e) {\n\t\t\t// Damn. Can't print!\n\t\t}\n\t\ttry {\n\t\t\tif (sm != null) {\n\t\t\t\tsm.checkExit(0);\n\t\t\t}\n\t\t\taddItem(menu, new QuitAction());\n\t\t} catch (final SecurityException e) {\n\t\t\t// Well, can't exit anyway.\n\t\t}\n\n\t\t// if (environment instanceof AutomatonEnvironment){\n\t\t// addItem(menu, new SetUndoAmountAction());\n\t\t// }\n\n\t\treturn menu;\n\t}",
"private void jMenuItem2ActionPerformed(ActionEvent evt) {\n\t\tif (outputFile == null) {\n\t\t\tSystem.err.println(\"Error!! No file to save\");\n\t\t\treturn;\n\t\t}\n\n\t\ttry {\n\t\t\tBufferedImage bi = (BufferedImage) entry.getImage();\n\t\t\tImageIO.write(bi, fileExtension, outputFile);\n\t\t} catch (IOException e) {\n\t\t\tSystem.err.println(\"Error!! File not saved\");\n\t\t}\n\t}",
"public JMenuItem createFileExitItem()\n {\n JMenuItem item = new JMenuItem(\"Exit\");\n class MenuItemListener implements ActionListener\n {\n public void actionPerformed(ActionEvent event)\n {\n System.exit(0);\n }\n }\n ActionListener listener = new MenuItemListener();\n item.addActionListener(listener);\n return item;\n }",
"public void saveNewFile() {\r\n JFileChooser fileChooser = new JFileChooser();\r\n\r\n int status = fileChooser.showSaveDialog(null);\r\n\r\n if (status == JFileChooser.APPROVE_OPTION) {\r\n\r\n fileName = fileChooser.getSelectedFile().toString();\r\n\r\n saveFile();\r\n }\r\n }",
"@Override\n\tpublic void actionPerformed(ActionEvent e) {\n\t\tString cmd = e.getActionCommand();\n\t\tFile file;\n\t\tfile = jfc.getSelectedFile();\n\t\tswitch (cmd) {\n\t\tcase \"저장\":\n\t\t\tsaveFile();\n\t\t\tbreak;\n\t\tcase \"열기\":\n\t\t\t\n\t\t\topenFile();\n\t\t\t\n\t\t\tbreak;\n\t\tcase \"새파일\":\n\t\t\tjta.setText(\"\");\n\t\t\tbreak;\n\t\tcase \"종료\":\n\t\t\tSystem.exit(0);\n\t\t\tbreak;\n\t\t}\n\t\t/*if(cmd.equals(\"저장\"))\n\t\t{\n\t\ttry {\n\t\t\tFileWriter fw = new FileWriter(\"c:/output/notepad.txt\");\n\t\t\tfw.write(jta.getText());\n\t\t\tfw.close();\n\t\t\tSystem.out.println(\"파일을 생성하였습니다\");\n\t\t} catch (Exception e2) {\n\t\t\t// TODO: handle exception\n\t\t\tSystem.out.println(e2.getMessage());\n\t\t}\n\t\t}\n\t\t*/\n\t}",
"public static void main(String[] args) {\n\t\tDocument doc = new Document(\"Sample.txt\");\n\t\tFileMenuOptions fileOptions = new FileMenuOptions(doc);\n\t\tfileOptions.doCommand(\"open\");\n\t\tfileOptions.doCommand(\"save\");\n\t\tfileOptions.doCommand(\"close\");\n\t\tfileOptions.doCommand(\"exit\");\n\n\t}",
"@Override\n\t\t\t\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\t\t\tJFileChooser jc=new JFileChooser();\n\t\t\t\t\tjc.setFileFilter(new FileNameExtensionFilter(\".xml\", \".xml\"));\n\t\t\t\t\tjc.setFileFilter(new FileNameExtensionFilter(\".json\", \".json\"));\n\t\t\t\t\tint resp=jc.showSaveDialog(null);\n\t\t\t\t\tString url=\"\";\n\t\t\t\t\tString name=\"\";\n\t\t\t\t\tif(resp==jc.APPROVE_OPTION){\n\t\t\t\t\t\tFile file=jc.getSelectedFile();\n\t\t\t\t\t\turl=file.getPath()+jc.getFileFilter().getDescription();\n\t\t\t\t\t\tname=file.getName()+jc.getFileFilter().getDescription();\n\t\t\t\t\tif(name.charAt(name.length()-1)=='l'){\n\t\t\t\t\t\tSaveAndLoadXml.save(url);\n\t\t\t\t\t}else{\n\t\t\t\t\t\tnew JasonSave().saveJson(url);\n\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}",
"private void addSaveAsMenuItem(Menu menu) {\n\t\tfinal MenuItem menuItem = new MenuItem(menu, SWT.Activate);\n\t\tmenuItem.setText(E4WorkbenchCommandConstants.PERSPECTIVES_SAVE_AS$_NAME);\n\n\t\t// TODO: Integrate into help system\n\n\t\tmenuItem.addSelectionListener(new SelectionAdapter() {\n\n\t\t\t@Override\n\t\t\tpublic void widgetSelected(SelectionEvent event) {\n\t\t\t\tfinal ParameterizedCommand command = commandService\n\t\t\t\t\t\t.createCommand(E4WorkbenchCommandConstants.PERSPECTIVES_SAVE_AS, Collections.EMPTY_MAP);\n\t\t\t\thandlerService.executeHandler(command);\n\t\t\t}\n\t\t});\n\t}",
"private void promptToOpen()\r\n {\r\n // WE'LL NEED THE GUI\r\n AnimatedSpriteEditor singleton = AnimatedSpriteEditor.getEditor();\r\n AnimatedSpriteEditorGUI gui = singleton.getGUI();\r\n \r\n // AND NOW ASK THE USER FOR THE POSE TO OPEN\r\n JFileChooser poseFileChooser = new JFileChooser(POSES_PATH);\r\n int buttonPressed = poseFileChooser.showOpenDialog(gui);\r\n \r\n // ONLY OPEN A NEW FILE IF THE USER SAYS OK\r\n if (buttonPressed == JFileChooser.APPROVE_OPTION)\r\n {\r\n // GET THE FILE THE USER ENTERED\r\n currentFile = poseFileChooser.getSelectedFile();\r\n currentFileName = currentFile.getName();\r\n currentPoseName = currentFileName.substring(0, currentFileName.indexOf(\".\"));\r\n saved = true;\r\n \r\n // AND PUT THE FILE NAME IN THE TITLE BAR\r\n String appName = gui.getAppName();\r\n gui.setTitle(appName + APP_NAME_FILE_NAME_SEPARATOR + currentFile); \r\n \r\n // AND LOAD THE .pose (XML FORMAT) FILE\r\n poseIO.loadPose(currentFile.getAbsolutePath());\r\n singleton.getStateManager().getPoseurStateManager().clearClipboardShape();\r\n }\r\n }",
"@Override\n\tpublic void doSaveAs() {\n\t\tMessageDialog.openInformation(Display.getCurrent().getActiveShell(), null,\"doSaveAs\");\n\t}",
"private void buildMenu() {\r\n\t\tJMenuBar mainmenu = new JMenuBar();\r\n\t\tsetJMenuBar(mainmenu);\r\n\r\n\t\tui.fileMenu = new JMenu(\"File\");\r\n\t\tui.editMenu = new JMenu(\"Edit\");\r\n\t\tui.viewMenu = new JMenu(\"View\");\r\n\t\tui.helpMenu = new JMenu(\"Help\");\r\n\t\t\r\n\t\tui.fileNew = new JMenuItem(\"New...\");\r\n\t\tui.fileOpen = new JMenuItem(\"Open...\");\r\n\t\tui.fileImport = new JMenuItem(\"Import...\");\r\n\t\tui.fileSave = new JMenuItem(\"Save\");\r\n\t\tui.fileSaveAs = new JMenuItem(\"Save as...\");\r\n\t\tui.fileExit = new JMenuItem(\"Exit\");\r\n\r\n\t\tui.fileOpen.setAccelerator(KeyStroke.getKeyStroke('O', InputEvent.CTRL_DOWN_MASK));\r\n\t\tui.fileSave.setAccelerator(KeyStroke.getKeyStroke('S', InputEvent.CTRL_DOWN_MASK));\r\n\t\t\r\n\t\tui.fileImport.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { doImport(); } });\r\n\t\tui.fileExit.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { dispose(); doExit(); } });\r\n\t\t\r\n\t\tui.fileOpen.addActionListener(new Act() {\r\n\t\t\t@Override\r\n\t\t\tpublic void act() {\r\n\t\t\t\tdoLoad();\r\n\t\t\t}\r\n\t\t});\r\n\t\tui.fileSave.addActionListener(new Act() {\r\n\t\t\t@Override\r\n\t\t\tpublic void act() {\r\n\t\t\t\tdoSave();\r\n\t\t\t}\r\n\t\t});\r\n\t\tui.fileSaveAs.addActionListener(new Act() {\r\n\t\t\t@Override\r\n\t\t\tpublic void act() {\r\n\t\t\t\tdoSaveAs();\r\n\t\t\t}\r\n\t\t});\r\n\t\t\r\n\t\tui.editUndo = new JMenuItem(\"Undo\");\r\n\t\tui.editUndo.setEnabled(undoManager.canUndo()); \r\n\t\t\r\n\t\tui.editRedo = new JMenuItem(\"Redo\");\r\n\t\tui.editRedo.setEnabled(undoManager.canRedo()); \r\n\t\t\r\n\t\t\r\n\t\tui.editCut = new JMenuItem(\"Cut\");\r\n\t\tui.editCopy = new JMenuItem(\"Copy\");\r\n\t\tui.editPaste = new JMenuItem(\"Paste\");\r\n\t\t\r\n\t\tui.editCut.addActionListener(new Act() { @Override public void act() { doCut(true, true); } });\r\n\t\tui.editCopy.addActionListener(new Act() { @Override public void act() { doCopy(true, true); } });\r\n\t\tui.editPaste.addActionListener(new Act() { @Override public void act() { doPaste(true, true); } });\r\n\t\t\r\n\t\tui.editPlaceMode = new JCheckBoxMenuItem(\"Placement mode\");\r\n\t\t\r\n\t\tui.editDeleteBuilding = new JMenuItem(\"Delete building\");\r\n\t\tui.editDeleteSurface = new JMenuItem(\"Delete surface\");\r\n\t\tui.editDeleteBoth = new JMenuItem(\"Delete both\");\r\n\t\t\r\n\t\tui.editClearBuildings = new JMenuItem(\"Clear buildings\");\r\n\t\tui.editClearSurface = new JMenuItem(\"Clear surface\");\r\n\r\n\t\tui.editUndo.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { doUndo(); } });\r\n\t\tui.editRedo.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { doRedo(); } });\r\n\t\tui.editClearBuildings.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { doClearBuildings(true); } });\r\n\t\tui.editClearSurface.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { doClearSurfaces(true); } });\r\n\t\t\r\n\r\n\t\tui.editUndo.setAccelerator(KeyStroke.getKeyStroke('Z', InputEvent.CTRL_DOWN_MASK));\r\n\t\tui.editRedo.setAccelerator(KeyStroke.getKeyStroke('Y', InputEvent.CTRL_DOWN_MASK));\r\n\t\tui.editCut.setAccelerator(KeyStroke.getKeyStroke('X', InputEvent.CTRL_DOWN_MASK));\r\n\t\tui.editCopy.setAccelerator(KeyStroke.getKeyStroke('C', InputEvent.CTRL_DOWN_MASK));\r\n\t\tui.editPaste.setAccelerator(KeyStroke.getKeyStroke('V', InputEvent.CTRL_DOWN_MASK));\r\n\t\tui.editPlaceMode.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_F3, 0));\r\n\t\t\r\n\t\tui.editDeleteBuilding.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_DELETE, 0));\r\n\t\tui.editDeleteSurface.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_DELETE, InputEvent.CTRL_DOWN_MASK));\r\n\t\tui.editDeleteBoth.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_DELETE, InputEvent.CTRL_DOWN_MASK | InputEvent.SHIFT_DOWN_MASK));\r\n\t\t\r\n\t\tui.editDeleteBuilding.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { doDeleteBuilding(); } });\r\n\t\tui.editDeleteSurface.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { doDeleteSurface(); } });\r\n\t\tui.editDeleteBoth.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { doDeleteBoth(); } });\r\n\t\tui.editPlaceMode.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { doPlaceMode(ui.editPlaceMode.isSelected()); } });\r\n\t\t\r\n\t\tui.editPlaceRoads = new JMenu(\"Place roads\");\r\n\t\t\r\n\t\tui.editResize = new JMenuItem(\"Resize map\");\r\n\t\tui.editCleanup = new JMenuItem(\"Remove outbound objects\");\r\n\t\t\r\n\t\tui.editResize.addActionListener(new Act() {\r\n\t\t\t@Override\r\n\t\t\tpublic void act() {\r\n\t\t\t\tdoResize();\r\n\t\t\t}\r\n\t\t});\r\n\t\tui.editCleanup.addActionListener(new Act() {\r\n\t\t\t@Override\r\n\t\t\tpublic void act() {\r\n\t\t\t\tdoCleanup();\r\n\t\t\t}\r\n\t\t});\r\n\t\t\r\n\t\tui.editCutBuilding = new JMenuItem(\"Cut: building\");\r\n\t\tui.editCutSurface = new JMenuItem(\"Cut: surface\");\r\n\t\tui.editPasteBuilding = new JMenuItem(\"Paste: building\");\r\n\t\tui.editPasteSurface = new JMenuItem(\"Paste: surface\");\r\n\t\tui.editCopyBuilding = new JMenuItem(\"Copy: building\");\r\n\t\tui.editCopySurface = new JMenuItem(\"Copy: surface\");\r\n\t\t\r\n\t\tui.editCutBuilding.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_X, InputEvent.CTRL_DOWN_MASK | InputEvent.SHIFT_DOWN_MASK));\r\n\t\tui.editCopyBuilding.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_C, InputEvent.CTRL_DOWN_MASK | InputEvent.SHIFT_DOWN_MASK));\r\n\t\tui.editPasteBuilding.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_V, InputEvent.CTRL_DOWN_MASK | InputEvent.SHIFT_DOWN_MASK));\r\n\t\t\r\n\t\tui.editCutBuilding.addActionListener(new Act() { @Override public void act() { doCut(false, true); } });\r\n\t\tui.editCutSurface.addActionListener(new Act() { @Override public void act() { doCut(true, false); } });\r\n\t\tui.editCopyBuilding.addActionListener(new Act() { @Override public void act() { doCopy(false, true); } });\r\n\t\tui.editCopySurface.addActionListener(new Act() { @Override public void act() { doCopy(true, false); } });\r\n\t\tui.editPasteBuilding.addActionListener(new Act() { @Override public void act() { doPaste(false, true); } });\r\n\t\tui.editPasteSurface.addActionListener(new Act() { @Override public void act() { doPaste(true, false); } });\r\n\t\t\r\n\t\tui.viewZoomIn = new JMenuItem(\"Zoom in\");\r\n\t\tui.viewZoomOut = new JMenuItem(\"Zoom out\");\r\n\t\tui.viewZoomNormal = new JMenuItem(\"Zoom normal\");\r\n\t\tui.viewBrighter = new JMenuItem(\"Daylight (1.0)\");\r\n\t\tui.viewDarker = new JMenuItem(\"Night (0.5)\");\r\n\t\tui.viewMoreLight = new JMenuItem(\"More light (+0.05)\");\r\n\t\tui.viewLessLight = new JMenuItem(\"Less light (-0.05)\");\r\n\t\t\r\n\t\tui.viewShowBuildings = new JCheckBoxMenuItem(\"Show/hide buildings\", renderer.showBuildings);\r\n\t\tui.viewShowBuildings.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_B, InputEvent.CTRL_DOWN_MASK));\r\n\t\t\r\n\t\tui.viewSymbolicBuildings = new JCheckBoxMenuItem(\"Minimap rendering mode\", renderer.minimapMode);\r\n\t\tui.viewSymbolicBuildings.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_M, InputEvent.CTRL_DOWN_MASK));\r\n\t\t\r\n\t\tui.viewTextBackgrounds = new JCheckBoxMenuItem(\"Show/hide text background boxes\", renderer.textBackgrounds);\r\n\t\tui.viewTextBackgrounds.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_N, InputEvent.CTRL_DOWN_MASK));\r\n\t\tui.viewTextBackgrounds.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { doToggleTextBackgrounds(); } });\r\n\t\t\r\n\t\tui.viewZoomIn.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { doZoomIn(); } });\r\n\t\tui.viewZoomOut.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { doZoomOut(); } });\r\n\t\tui.viewZoomNormal.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { doZoomNormal(); } });\r\n\t\tui.viewShowBuildings.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { doToggleBuildings(); } });\r\n\t\tui.viewSymbolicBuildings.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { doToggleMinimap(); } });\r\n\t\t\r\n\t\tui.viewBrighter.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { doBright(); } });\r\n\t\tui.viewDarker.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { doDark(); } });\r\n\t\tui.viewMoreLight.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { doMoreLight(); } });\r\n\t\tui.viewLessLight.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { doLessLight(); } });\r\n\t\t\r\n\t\tui.viewZoomIn.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_NUMPAD9, InputEvent.CTRL_DOWN_MASK));\r\n\t\tui.viewZoomOut.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_NUMPAD3, InputEvent.CTRL_DOWN_MASK));\r\n\t\tui.viewZoomNormal.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_NUMPAD0, InputEvent.CTRL_DOWN_MASK));\r\n\t\tui.viewMoreLight.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_NUMPAD8, InputEvent.CTRL_DOWN_MASK));\r\n\t\tui.viewLessLight.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_NUMPAD2, InputEvent.CTRL_DOWN_MASK));\r\n\t\tui.viewBrighter.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_NUMPAD7, InputEvent.CTRL_DOWN_MASK));\r\n\t\tui.viewDarker.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_NUMPAD1, InputEvent.CTRL_DOWN_MASK));\r\n\t\t\r\n\t\tui.viewStandardFonts = new JCheckBoxMenuItem(\"Use standard fonts\", TextRenderer.USE_STANDARD_FONTS);\r\n\t\t\r\n\t\tui.viewStandardFonts.addActionListener(new Act() {\r\n\t\t\t@Override\r\n\t\t\tpublic void act() {\r\n\t\t\t\tdoStandardFonts();\r\n\t\t\t}\r\n\t\t});\r\n\t\tui.viewPlacementHints = new JCheckBoxMenuItem(\"View placement hints\", renderer.placementHints);\r\n\t\tui.viewPlacementHints.addActionListener(new Act() {\r\n\t\t\t@Override\r\n\t\t\tpublic void act() {\r\n\t\t\t\tdoViewPlacementHints();\r\n\t\t\t}\r\n\t\t});\r\n\t\t\r\n\t\tui.helpOnline = new JMenuItem(\"Online wiki...\");\r\n\t\tui.helpOnline.addActionListener(new ActionListener() {\r\n\t\t\t@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tdoHelp();\r\n\t\t\t}\r\n\t\t});\r\n\t\tui.helpAbout = new JMenuItem(\"About...\");\r\n\t\tui.helpAbout.setEnabled(false); // TODO implement\r\n\t\t\r\n\t\tui.languageMenu = new JMenu(\"Language\");\r\n\t\t\r\n\t\tui.languageEn = new JRadioButtonMenuItem(\"English\", true);\r\n\t\tui.languageEn.addActionListener(new Act() {\r\n\t\t\t@Override\r\n\t\t\tpublic void act() {\r\n\t\t\t\tsetLabels(\"en\");\r\n\t\t\t}\r\n\t\t});\r\n\t\tui.languageHu = new JRadioButtonMenuItem(\"Hungarian\", false);\r\n\t\tui.languageHu.addActionListener(new Act() {\r\n\t\t\t@Override\r\n\t\t\tpublic void act() {\r\n\t\t\t\tsetLabels(\"hu\");\r\n\t\t\t}\r\n\t\t});\r\n\t\tButtonGroup bg = new ButtonGroup();\r\n\t\tbg.add(ui.languageEn);\r\n\t\tbg.add(ui.languageHu);\r\n\t\t\r\n\t\tui.fileRecent = new JMenu(\"Recent\");\r\n\t\tui.clearRecent = new JMenuItem(\"Clear recent\");\r\n\t\tui.clearRecent.addActionListener(new Act() {\r\n\t\t\t@Override\r\n\t\t\tpublic void act() {\r\n\t\t\t\tdoClearRecent();\r\n\t\t\t}\r\n\t\t});\r\n\t\t\r\n\t\taddAll(ui.fileRecent, ui.clearRecent);\r\n\t\t\r\n\t\taddAll(mainmenu, ui.fileMenu, ui.editMenu, ui.viewMenu, ui.languageMenu, ui.helpMenu);\r\n\t\taddAll(ui.fileMenu, ui.fileNew, null, ui.fileOpen, ui.fileRecent, ui.fileImport, null, ui.fileSave, ui.fileSaveAs, null, ui.fileExit);\r\n\t\taddAll(ui.editMenu, ui.editUndo, ui.editRedo, null, \r\n\t\t\t\tui.editCut, ui.editCopy, ui.editPaste, null, \r\n\t\t\t\tui.editCutBuilding, ui.editCopyBuilding, ui.editPasteBuilding, null, \r\n\t\t\t\tui.editCutSurface, ui.editCopySurface, ui.editPasteSurface, null, \r\n\t\t\t\tui.editPlaceMode, null, ui.editDeleteBuilding, ui.editDeleteSurface, ui.editDeleteBoth, null, \r\n\t\t\t\tui.editClearBuildings, ui.editClearSurface, null, ui.editPlaceRoads, null, ui.editResize, ui.editCleanup);\r\n\t\taddAll(ui.viewMenu, ui.viewZoomIn, ui.viewZoomOut, ui.viewZoomNormal, null, \r\n\t\t\t\tui.viewBrighter, ui.viewDarker, ui.viewMoreLight, ui.viewLessLight, null, \r\n\t\t\t\tui.viewShowBuildings, ui.viewSymbolicBuildings, ui.viewTextBackgrounds, ui.viewStandardFonts, ui.viewPlacementHints);\r\n\t\taddAll(ui.helpMenu, ui.helpOnline, null, ui.helpAbout);\r\n\t\t\r\n\t\taddAll(ui.languageMenu, ui.languageEn, ui.languageHu);\r\n\t\t\r\n\t\tui.fileNew.addActionListener(new ActionListener() {\r\n\t\t\t@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tdoNew();\r\n\t\t\t}\r\n\t\t});\r\n\t\t\r\n\t\tui.toolbar = new JToolBar(\"Tools\");\r\n\t\tContainer c = getContentPane();\r\n\t\tc.add(ui.toolbar, BorderLayout.PAGE_START);\r\n\r\n\t\tui.toolbarCut = createFor(\"res/Cut24.gif\", \"Cut\", ui.editCut, false);\r\n\t\tui.toolbarCopy = createFor(\"res/Copy24.gif\", \"Copy\", ui.editCopy, false);\r\n\t\tui.toolbarPaste = createFor(\"res/Paste24.gif\", \"Paste\", ui.editPaste, false);\r\n\t\tui.toolbarRemove = createFor(\"res/Remove24.gif\", \"Remove\", ui.editDeleteBuilding, false);\r\n\t\tui.toolbarUndo = createFor(\"res/Undo24.gif\", \"Undo\", ui.editUndo, false);\r\n\t\tui.toolbarRedo = createFor(\"res/Redo24.gif\", \"Redo\", ui.editRedo, false);\r\n\t\tui.toolbarPlacementMode = createFor(\"res/Down24.gif\", \"Placement mode\", ui.editPlaceMode, true);\r\n\r\n\t\tui.toolbarUndo.setEnabled(false);\r\n\t\tui.toolbarRedo.setEnabled(false);\r\n\t\t\r\n\t\tui.toolbarNew = createFor(\"res/New24.gif\", \"New\", ui.fileNew, false);\r\n\t\tui.toolbarOpen = createFor(\"res/Open24.gif\", \"Open\", ui.fileOpen, false);\r\n\t\tui.toolbarSave = createFor(\"res/Save24.gif\", \"Save\", ui.fileSave, false);\r\n\t\tui.toolbarImport = createFor(\"res/Import24.gif\", \"Import\", ui.fileImport, false);\r\n\t\tui.toolbarSaveAs = createFor(\"res/SaveAs24.gif\", \"Save as\", ui.fileSaveAs, false);\r\n\t\tui.toolbarZoomNormal = createFor(\"res/Zoom24.gif\", \"Zoom normal\", ui.viewZoomNormal, false);\r\n\t\tui.toolbarZoomIn = createFor(\"res/ZoomIn24.gif\", \"Zoom in\", ui.viewZoomIn, false);\r\n\t\tui.toolbarZoomOut = createFor(\"res/ZoomOut24.gif\", \"Zoom out\", ui.viewZoomOut, false);\r\n\t\tui.toolbarBrighter = createFor(\"res/TipOfTheDay24.gif\", \"Daylight\", ui.viewBrighter, false);\r\n\t\tui.toolbarDarker = createFor(\"res/TipOfTheDayDark24.gif\", \"Night\", ui.viewDarker, false);\r\n\t\tui.toolbarHelp = createFor(\"res/Help24.gif\", \"Help\", ui.helpOnline, false);\r\n\r\n\t\t\r\n\t\tui.toolbar.add(ui.toolbarNew);\r\n\t\tui.toolbar.add(ui.toolbarOpen);\r\n\t\tui.toolbar.add(ui.toolbarSave);\r\n\t\tui.toolbar.addSeparator();\r\n\t\tui.toolbar.add(ui.toolbarImport);\r\n\t\tui.toolbar.add(ui.toolbarSaveAs);\r\n\t\tui.toolbar.addSeparator();\r\n\t\tui.toolbar.add(ui.toolbarCut);\r\n\t\tui.toolbar.add(ui.toolbarCopy);\r\n\t\tui.toolbar.add(ui.toolbarPaste);\r\n\t\t\r\n\t\tui.toolbar.add(ui.toolbarRemove);\r\n\t\tui.toolbar.addSeparator();\r\n\t\tui.toolbar.add(ui.toolbarUndo);\r\n\t\tui.toolbar.add(ui.toolbarRedo);\r\n\t\tui.toolbar.addSeparator();\r\n\t\tui.toolbar.add(ui.toolbarPlacementMode);\r\n\t\tui.toolbar.addSeparator();\r\n\t\tui.toolbar.add(ui.toolbarZoomNormal);\r\n\t\tui.toolbar.add(ui.toolbarZoomIn);\r\n\t\tui.toolbar.add(ui.toolbarZoomOut);\r\n\t\tui.toolbar.addSeparator();\r\n\t\tui.toolbar.add(ui.toolbarBrighter);\r\n\t\tui.toolbar.add(ui.toolbarDarker);\r\n\t\tui.toolbar.addSeparator();\r\n\t\tui.toolbar.add(ui.toolbarHelp);\r\n\t\t\r\n\t}",
"private JMenu getFileMenu() {\n if (fileMenu == null) {\n fileMenu = new JMenu();\n fileMenu.setText(\"File\");\n fileMenu.add(getExitMenuItem());\n }\n return fileMenu;\n }",
"@SuppressWarnings(\"unchecked\")\n\tprivate void jMenuItem7ActionPerformed(ActionEvent evt) {\n\t\tJFileChooser _fileChooser = new JFileChooser();\n\t\tint retval = _fileChooser.showSaveDialog(Main.this);\n\n\t\tfinal String[] okFileExtensions = new String[] { \"jpg\", \"png\", \"gif\", \"bmp\", \"jpeg\" };\n\t\tFile file;\n\n\t\tif (retval == JFileChooser.APPROVE_OPTION) {\n\t\t\tfile = _fileChooser.getSelectedFile();\n\t\t\tBoolean flag = false;\n\t\t\tfor (String extension : okFileExtensions) {\n\t\t\t\tif (file.getName().toLowerCase().endsWith(extension)) {\n\t\t\t\t\tif (outputFile == null) {\n\t\t\t\t\t\tSystem.err.println(\"Error!! No file to save\");\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\ttry {\n\t\t\t\t\t\toutputFile = file;\n\t\t\t\t\t\tfileExtension = extension;\n\t\t\t\t\t\tBufferedImage bi = (BufferedImage) entry.getImage();\n\t\t\t\t\t\tImageIO.write(bi, fileExtension, outputFile);\n\t\t\t\t\t\tSystem.out.println(\"Saved\");\n\t\t\t\t\t} catch (IOException e) {\n\t\t\t\t\t\tSystem.err.println(\"Error!! File not saved\");\n\t\t\t\t\t}\n\n\t\t\t\t\tflag = true;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (!flag) {\n\t\t\t\tJOptionPane.showMessageDialog(this, \"Please choose a jpg, jpeg, png, bmp or gif file only.\", \"Error\", JOptionPane.ERROR_MESSAGE);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\n\t}",
"public void autoOpen(){\n\t\tSaveFile saveFile = null;\n\t\ttry {\n\t\t\t//read in file\n\t\t\tFile file = new File(System.getProperty(\"user.dir\")+\"/Default.scalcsave\");\n\t\t\tObjectInputStream input = new ObjectInputStream(new FileInputStream(file));\n\t\t\tsaveFile = (SaveFile) input.readObject();\n\t\t\tinput.close();\n\t\t\tVariable.setList(saveFile.getVariables());\n\t\t\tUserFunction.setFunctions(saveFile.getFunctions());\n\t\t\tsaveFile.setSettings();\n\t\t\tmenuBar.updateFunctions();\n\t\t\tSystem.out.println(\"Open Success\");\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"public JMenuItem createFileExitItem(){\n\t\tJMenuItem item = new JMenuItem(\"Exit\");\n\t\tclass MenuItemListener implements ActionListener{\n\t\t\tpublic void actionPerformed(ActionEvent event){\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}\n\t\tActionListener listener = new MenuItemListener();\n\t\titem.addActionListener(listener);\n\t\treturn item;\n\t}",
"@Override\r\n\t\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\tString fileName=JOptionPane.showInputDialog(\"Enter the File name without any extension\");\r\n\t\t\ttheGame.save(fileName);\r\n\t\t}",
"void doSaveAs() {\r\n\t\tMapOpenSaveDialog dlg = new MapOpenSaveDialog(true, labels, saveSettings);\r\n\t\tdlg.setLocationRelativeTo(this);\r\n\t\tdlg.setVisible(true);\r\n\t\tif (dlg.saveSettings != null) {\r\n\t\t\tsaveSettings = dlg.saveSettings;\r\n\t\t\tfinal String fn = dlg.saveSettings.fileName.getPath();\r\n\t\t\taddRecentEntry(fn);\r\n\t\t\tdoSave();\r\n\t\t}\r\n\t}",
"public FileMenu(ChatWindow parentWindow) {\r\n\r\n super(Messages.getI18NString(\"file\").getText());\r\n\r\n this.parentWindow = parentWindow;\r\n\r\n this.setForeground(new Color(\r\n ColorProperties.getColor(\"chatMenuForeground\")));\r\n\r\n this.add(saveMenuItem);\r\n this.add(printMenuItem);\r\n\r\n this.addSeparator();\r\n\r\n this.add(closeMenuItem);\r\n\r\n this.saveMenuItem.setName(\"save\");\r\n this.printMenuItem.setName(\"print\");\r\n this.closeMenuItem.setName(\"close\");\r\n\r\n this.saveMenuItem.addActionListener(this);\r\n this.printMenuItem.addActionListener(this);\r\n this.closeMenuItem.addActionListener(this);\r\n\r\n this.setMnemonic(Messages.getI18NString(\"file\").getMnemonic());\r\n this.saveMenuItem.setMnemonic(saveString.getMnemonic());\r\n this.printMenuItem.setMnemonic(printString.getMnemonic());\r\n this.closeMenuItem.setMnemonic(closeString.getMnemonic());\r\n \r\n this.saveMenuItem.setAccelerator(\r\n KeyStroke.getKeyStroke(KeyEvent.VK_S,\r\n KeyEvent.CTRL_MASK));\r\n \r\n this.printMenuItem.setAccelerator(\r\n KeyStroke.getKeyStroke(KeyEvent.VK_R,\r\n KeyEvent.CTRL_MASK));\r\n \r\n // Disable all menu items that do nothing.\r\n this.saveMenuItem.setEnabled(false);\r\n this.printMenuItem.setEnabled(false);\r\n }",
"@Override\n public void actionPerformed(ActionEvent e) {\n JFileChooser j = new JFileChooser(FileSystemView.getFileSystemView().getHomeDirectory());\n\n // invoke the showsSaveDialog function to show the save dialog\n int r = j.showSaveDialog(null);\n\n if (r == JFileChooser.APPROVE_OPTION) {\n // set the label to the path of the selected directory\n dataFile.setText(j.getSelectedFile().getAbsolutePath());\n }\n // if the user cancelled the operation\n else\n dataFile.setText(\"the user cancelled the operation\");\n }",
"private void entryFileButtonActionPerformed(java.awt.event.ActionEvent evt) {\n JFileChooser chooser = new JFileChooser();\n chooser.setDialogTitle(\"Select Entries File\");\n File workingDirectory = new File(System.getProperty(\"user.dir\"));\n chooser.setCurrentDirectory(workingDirectory);\n if (chooser.showSaveDialog(this) == JFileChooser.APPROVE_OPTION) {\n entryFile = chooser.getSelectedFile();\n entryFileLabel.setText(getFileName(entryFile));\n pcs.firePropertyChange(\"ENTRY\", null, entryFile);\n }\n }",
"private JMenu getFileMenu() {\n\t\tif (fileMenu == null) {\n\t\t\tfileMenu = new JMenu();\n\t\t\tfileMenu.setText(\"File\");\n\t\t\tfileMenu.add(getExitMenuItem());\n\t\t}\n\t\treturn fileMenu;\n\t}",
"private void menuFileNuevo_actionPerformed(ActionEvent e) {\n nuevoJuego();\n\n mostrarTablero();\n }",
"private void saveJMenuItemActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_saveJMenuItemActionPerformed\n //save the current points\n myWriter.saveToFile(FILE_PATH, namesArray, tempArray);\n }",
"public void saveFile() {\t\n\t\tString fileloc = \"\";\n\t\tif(!prf.foldername.getText().equals(\"\"))\n\t\t\tfileloc += prf.foldername.getText()+\"/\";\n\t\tfileloc += ((MinLFile) tabbedPane.getSelectedComponent()).filename;;\t\t\n\t\tFile fl = new File(fileloc);\n\t\t\n\t\ttry {\n\t\t\tif(fl.exists()) {\n\t\t\t\tint option = JOptionPane.showConfirmDialog(null, \"The file with this name already exists, do you want to overwrite it?\", \"Save File\", JOptionPane.YES_NO_OPTION);\n\t\t\t\tif(option == 0) {\n\t\t\t\t\tFiles.delete(fl.toPath());\n\t\t\t\t\ttry {\n\t\t\t\t\t\t\n\t\t\t\t\t\tFileWriter fw = new FileWriter(fileloc);\n\t\t\t\t\t\tBufferedWriter bw = new BufferedWriter(fw);\n\t\t\t\t\t\tbw.write(((MinLFile) tabbedPane.getSelectedComponent()).CodeArea.getText());\n\t\t\t\t\t\tbw.close();\n\t\t\t\t\t\tfw.close();\n\t\t\t\t\t\t((MinLFile) tabbedPane.getSelectedComponent()).filechanged = false;\n\t\t\t\t\t} catch (IOException e1) {\n\t\t\t\t\t\te1.printStackTrace();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\ttry {\n\t\t\t\t\tFileWriter fw = new FileWriter(fileloc);\n\t\t\t\t\tBufferedWriter bw = new BufferedWriter(fw);\n\t\t\t\t\tbw.write(((MinLFile) tabbedPane.getSelectedComponent()).CodeArea.getText());\n\t\t\t\t\tbw.close();\n\t\t\t\t\tfw.close();\n\t\t\t\t\t((MinLFile) tabbedPane.getSelectedComponent()).filechanged = false;\n\t\t\t\t} catch (IOException e1) {\n\t\t\t\t\tJOptionPane.showMessageDialog(null, \"The specified folder doesnt exist.\");\n\t\t\t\t\te1.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"public static void saveAs(){\n\t\tFile saveFile;\n\t\tJFileChooser saveChooser = new JFileChooser();\n\t\tFileNameExtensionFilter saveFilter = new FileNameExtensionFilter(\"Sensormap Files (.stuff)\", \"stuff\");\n\t\tFileNameExtensionFilter saveFilter2 = new FileNameExtensionFilter(\"Gzipped Sensormap Files (.stuff.gz)\", \"stuff.gz\");\n\t\tsaveChooser.setFileFilter(saveFilter);\n\t\tsaveChooser.setFileFilter(saveFilter2);\n\t\tint saveReturnVal = saveChooser.showSaveDialog(ControlPanelFrame.getFrame());\n\t\tif(saveReturnVal == JFileChooser.APPROVE_OPTION) {\n\t\t\tif(saveChooser.getFileFilter() == saveFilter && saveChooser.getSelectedFile().getName().endsWith(\".stuff\")==false){\n\t\t\t\tsaveFile = new File(saveChooser.getSelectedFile().getAbsolutePath()+\".stuff\");\n\t\t\t} else if(saveChooser.getFileFilter() == saveFilter2 && saveChooser.getSelectedFile().getName().endsWith(\".stuff.gz\")==false){\n\t\t\t\tsaveFile = new File(saveChooser.getSelectedFile().getAbsolutePath()+\".stuff.gz\");\n\t\t\t} else {\n\t\t\t\tsaveFile = saveChooser.getSelectedFile();\n\t\t\t}\n\t\t\tXMLSaver.saveSensorList(saveFile);\n\t\t\tGUIReferences.viewPort.halfTitle = saveFile.getName();\n\t\t\tGUIReferences.viewPort.setTitle(saveFile.getName());\n\t\t\tGUIReferences.currentFile = saveFile;\n\t\t\tGUIReferences.saveMenuItem.setEnabled(false);\n\t\t}\n\t}",
"@Override\n\t public void actionPerformed(ActionEvent arg0) {\n\t\t JFileChooser j = new JFileChooser(FileSystemView.getFileSystemView().getHomeDirectory()); \n\t\t\n\t\t // invoke the showsOpenDialog function to show the save dialog \n\t\t int r = j.showOpenDialog(null); \n\t\t\n\t\t // if the user selects a file \n\t\t if (r == JFileChooser.APPROVE_OPTION) \n\t\t\n\t\t { \n\t\t // set the label to the path of the selected file \n\t\t textfield.setText(j.getSelectedFile().getAbsolutePath()); \n\t\t\n\t\t } \n\t\t // if the user cancelled the operation \n\t\t \n\t\t //\n\t\t \n\t\t }",
"public void onSaveButtonClick(ActionEvent e){\n\t\tsaveFile(false);\n\t}",
"private static void printFileOperationMenu() {\n System.out.println(\"-------------------------------------\");\n System.out.println(\"File operation menu\");\n System.out.println(\"1. Retrieve file names from directory\");\n System.out.println(\"2. Add a file.\");\n System.out.println(\"3. Delete a file.\");\n System.out.println(\"4. Search a file.\");\n System.out.println(\"5. Change directory.\");\n System.out.println(\"6. Exit to main menu.\");\n\n }",
"@Override\n public void onDialogPositiveClick(String newFilename){\n if(mEditTextMolFile.getText().toString().length()==0){\n Toast.makeText(getApplicationContext(),\"Empty edit text field. Not saved.\",Toast.LENGTH_LONG).show();\n return;\n }\n\n try{\n String[] ss = mEditTextMolFile.getText().toString().split(System.getProperty(\"line.separator\"));\n PrintWriter writer = new PrintWriter(getFilesDir()+\"/\"+newFilename+\".mol\");\n for(int i = 0; i<ss.length; i++){\n writer.println(ss[i]);\n }\n writer.close();\n if(!(newFilename.equals(\"mol\")||newFilename.equals(\"mol2d\"))){\n Toast.makeText(getApplicationContext(), \"mol file \" + newFilename + \" saved!\", Toast.LENGTH_LONG).show();\n }\n }catch (IOException e){\n e.printStackTrace();\n Toast.makeText(getApplicationContext(),\"Saving failed!\",Toast.LENGTH_LONG).show();\n }\n }",
"@Override\r\n public void actionPerformed(ActionEvent ae) {\r\n String option = ae.getActionCommand();\r\n PracticaProgramacion3Swing.log.append(ae.getActionCommand()+\"\\n\");\r\n switch(option){\r\n \r\n case \"Crear txt\":\r\n \r\n FuncionesMenus.newFile();\r\n FuncionesMenus.listFiles(); \r\n break;\r\n \r\n case \"Crear bin\":\r\n FuncionesMenus.newFileBin();\r\n FuncionesMenus.listFiles(); \r\n break;\r\n \r\n case \"Eliminar txt\":\r\n case \"Eliminar bin\": \r\n FuncionesMenus.delFile();\r\n FuncionesMenus.listFiles();\r\n break;\r\n \r\n case \"Renombrar txt\":\r\n case \"Renombrar bin\":\r\n FuncionesMenus.renameFile();\r\n FuncionesMenus.listFiles();\r\n break;\r\n \r\n case \"Escribir dni\":\r\n FuncionesMenus.writeLine();\r\n FuncionesMenus.listFiles();\r\n break;\r\n case \"Escribir DNI\":\r\n FuncionesMenus.writeLineBin();\r\n FuncionesMenus.listFiles();\r\n \r\n case \"Buscar dni\":\r\n FuncionesMenus.getID();\r\n FuncionesMenus.listFiles();\r\n break;\r\n \r\n case \"Buscar DNI\":\r\n FuncionesMenus.getIDBin();\r\n FuncionesMenus.listFiles();\r\n \r\n case \"Eliminar dni\":\r\n FuncionesMenus.delLine();\r\n FuncionesMenus.listFiles();\r\n break;\r\n case \"Eliminar DNI\":\r\n FuncionesMenus.delLineBin();\r\n FuncionesMenus.listFiles();\r\n break;\r\n case \"Extraer ficheros\": \r\n FuncionesMenus.getFiles();\r\n FuncionesMenus.listFiles();\r\n break;\r\n case \"Almacenar\":\r\n FuncionesMenus.getAll();\r\n FuncionesMenus.listFiles();\r\n break;\r\n \r\n default:\r\n break;\r\n } \r\n }",
"protected void initializeFileMenu() {\n\t\tfinal JMenu fileMenu = new JMenu(\"File\");\n\t\tthis.add(fileMenu);\n\t\t// Status\n\t\tfinal JMenuItem sysStatusItem = new JMenuItem();\n\t\tsysStatusItem.setAction(this.commands.findById(CmdStatus.DEFAULT_ID));\n\t\tsysStatusItem.setAccelerator(KeyStroke.getKeyStroke('S',\n\t\t\t\tInputEvent.CTRL_DOWN_MASK));\n\t\tfileMenu.add(sysStatusItem);\n\t\t// Log\n\t\tfinal JMenuItem sysLogItem = new JMenuItem();\n\t\tsysLogItem.setAction(this.commands.findById(CmdLog.DEFAULT_ID));\n\t\tsysLogItem.setAccelerator(KeyStroke.getKeyStroke('L',\n\t\t\t\tInputEvent.CTRL_DOWN_MASK));\n\t\tfileMenu.add(sysLogItem);\n\t\t// Separator\n\t\tfileMenu.add(new JSeparator());\n\t\t// Exit\n\t\tfinal JMenuItem exitItem = new JMenuItem(\"Exit\");\n\t\texitItem.setAction(this.commands.findById(CmdExit.DEFAULT_ID));\n\t\texitItem.setAccelerator(KeyStroke.getKeyStroke('Q',\n\t\t\t\tInputEvent.CTRL_DOWN_MASK));\n\t\tfileMenu.add(exitItem);\n\t}",
"private void initMenuBar() {\r\n\t\t// file menu\r\n\t\tJMenu fileMenu = new JMenu(\"File\");\r\n\t\tfileMenu.setMnemonic(KeyEvent.VK_F);\r\n\t\tadd(fileMenu);\r\n\r\n\t\tJMenuItem fileNewMenuItem = new JMenuItem(new NewAction(parent, main));\r\n\t\tfileNewMenuItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_N,\r\n\t\t\t\tEvent.CTRL_MASK));\r\n\t\tfileMenu.add(fileNewMenuItem);\r\n\t\tJMenuItem fileOpenMenuItem = new JMenuItem(new OpenAction(parent, main));\r\n\t\tfileOpenMenuItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_O,\r\n\t\t\t\tEvent.CTRL_MASK));\r\n\t\tfileMenu.add(fileOpenMenuItem);\r\n\r\n\t\tJMenuItem fileSaveMenuItem = new JMenuItem(new SaveAction(main));\r\n\t\tfileSaveMenuItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_S,\r\n\t\t\t\tEvent.CTRL_MASK));\r\n\t\tfileMenu.add(fileSaveMenuItem);\r\n\t\tJMenuItem fileSaveAsMenuItem = new JMenuItem(new SaveAsAction(main));\r\n\t\tfileSaveAsMenuItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_A,\r\n\t\t\t\tEvent.CTRL_MASK));\r\n\t\tfileMenu.add(fileSaveAsMenuItem);\r\n\r\n\t\tfileMenu.addSeparator();\r\n\t\tfileMenu.add(recentMenu);\r\n\t\tfileMenu.addSeparator();\r\n\r\n\t\tJMenuItem exitMenuItem = new JMenuItem(new ExitAction(main));\r\n\t\texitMenuItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_Q,\r\n\t\t\t\tEvent.CTRL_MASK));\r\n\t\tfileMenu.add(exitMenuItem);\r\n\r\n\t\t// tools menu\r\n\t\tJMenu toolsMenu = new JMenu(\"Application\");\r\n\t\ttoolsMenu.setMnemonic(KeyEvent.VK_A);\r\n\t\tadd(toolsMenu);\r\n\r\n\t\tJMenuItem defineCategoryMenuItem = new JMenuItem(\r\n\t\t\t\tnew DefineCategoryAction());\r\n\t\tdefineCategoryMenuItem.setAccelerator(KeyStroke.getKeyStroke(\r\n\t\t\t\tKeyEvent.VK_C, Event.CTRL_MASK));\r\n\t\ttoolsMenu.add(defineCategoryMenuItem);\r\n\t\tJMenuItem defineBehaviorNetworkMenuItem = new JMenuItem(\r\n\t\t\t\tnew DefineBehaviorNetworkAction());\r\n\t\tdefineBehaviorNetworkMenuItem.setAccelerator(KeyStroke.getKeyStroke(\r\n\t\t\t\tKeyEvent.VK_B, Event.CTRL_MASK));\r\n\t\ttoolsMenu.add(defineBehaviorNetworkMenuItem);\r\n\t\tJMenuItem startSimulationMenuItem = new JMenuItem(\r\n\t\t\t\tnew StartSimulationAction(main));\r\n\t\tstartSimulationMenuItem.setAccelerator(KeyStroke.getKeyStroke(\r\n\t\t\t\tKeyEvent.VK_E, Event.CTRL_MASK));\r\n\t\ttoolsMenu.add(startSimulationMenuItem);\r\n\r\n\t\t// help menu\r\n\t\tJMenu helpMenu = new JMenu(\"Help\");\r\n\t\thelpMenu.setMnemonic(KeyEvent.VK_H);\r\n\t\tadd(helpMenu);\r\n\r\n\t\tJMenuItem helpMenuItem = new JMenuItem(new HelpAction(parent));\r\n\t\thelpMenuItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_H,\r\n\t\t\t\tEvent.CTRL_MASK));\r\n\t\thelpMenu.add(helpMenuItem);\r\n\r\n\t\t// JCheckBoxMenuItem clock = new JCheckBoxMenuItem(new\r\n\t\t// ScheduleSaveAction(parent));\r\n\t\t// helpMenu.add(clock);\r\n\t\thelpMenu.addSeparator();\r\n\t\tJMenuItem showMemItem = new JMenuItem(new ShowMemAction(parent));\r\n\t\thelpMenu.add(showMemItem);\r\n\r\n\t\tJMenuItem aboutMenuItem = new JMenuItem(new AboutAction(parent));\r\n\t\thelpMenu.add(aboutMenuItem);\r\n\t}",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n menu.add(Menu.NONE,1,Menu.NONE,\"save\");\n menu.add(Menu.NONE,2,Menu.NONE,\"exit\");\n return super.onCreateOptionsMenu(menu);\n }",
"private void itemFileButtonActionPerformed(java.awt.event.ActionEvent evt) {\n JFileChooser chooser = new JFileChooser();\n chooser.setDialogTitle(\"Select Raffle Items File\");\n File workingDirectory = new File(System.getProperty(\"user.dir\"));\n chooser.setCurrentDirectory(workingDirectory);\n if (chooser.showSaveDialog(this) == JFileChooser.APPROVE_OPTION) {\n itemFile = chooser.getSelectedFile();\n itemFileLabel.setText(getFileName(itemFile));\n pcs.firePropertyChange(\"ITEM\" , null, itemFile);\n }\n }",
"private void saveButtonMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_saveButtonMouseClicked\n \n FileDialog dialog = new FileDialog(this, \"Ssuvegarder le fichier dictionnaire\", FileDialog.SAVE);\n dialog.setFile(loadedDictionaryFilename);\n dialog.setVisible(true);\n \n String filename = dialog.getFile();\n if(filename != null) // if user selected a file\n {\n // add .txt extension if user didn't add it\n if(!filename.substring(filename.length() - 4).equals(\".txt\"))\n filename = filename + \".txt\";\n \n // add full path of the filename\n filename = dialog.getDirectory() + filename;\n \n // get all WordDefinition in an arraylist \n ArrayList<WordDefinition> allWordDefinitionList = new ArrayList<>();\n for(int i = 0 ; i < lexiNodeTrees.size() ; i++)\n {\n ArrayList<WordDefinition> allWordsInTree = lexiNodeTrees.get(i).getAllWordsFromTree();\n \n for(int j = 0 ; j < allWordsInTree.size() ; j++)\n {\n allWordDefinitionList.add(allWordsInTree.get(j));\n }\n }\n \n // sort the list of word definition in alphabetical order\n Collections.sort(allWordDefinitionList, new WordDefinitionComparator());\n \n // save to file\n if(DictioFileOperations.saveListToFile(filename, allWordDefinitionList))\n {\n loadedDictionaryFilename = filename; // save new name in case user wants to save again\n JOptionPane.showMessageDialog(this, \"La list des mots a été \"\n + \"sauvegardé dans le fichier\\n\" + filename + \".\\n\\n\", \"INFORMATION\", \n JOptionPane.INFORMATION_MESSAGE);\n }\n\n else // if there was a problem saving the file\n JOptionPane.showMessageDialog(this, \"ERREUR: Impossible de \"\n + \"sauvegarder dans le fichier.\\n\\n\", \"ERREUR\", \n JOptionPane.ERROR_MESSAGE);\n }\n }",
"public void startSavedGame()\n {\n \n // get rid of nl character left in the stream\n // outFile.flush();\n \n // prompt user and get a file path\n System.out.println(\"\\nWhat is the file path?\");\n String filePath = keyboard.next();\n \n // call the getSavedGame( ) method in the GameControl class to load the game\n GameControl gc = new GameControl();\n gc.getSavedGame(filePath);\n\n // display the game menu for the loaded game\n MainMenuView mmv = new MainMenuView();\n mmv.displaySaveGameView();\n }",
"private void saveProject()\n\t{\n\t\t\n\t\tint fileChooserReturnValue =\n\t\t\twindowTemplate\n\t\t\t\t.getFileChooser()\n\t\t\t\t.showSaveDialog(windowTemplate);\n\t\t\n\t\tif(fileChooserReturnValue == JFileChooser.APPROVE_OPTION) {\n\t\t\t\n\t\t\t// Get the file that the user selected\n\t\t\tFile file = windowTemplate.getFileChooser().getSelectedFile();\n\t\t\t\n\t\t\ttry {\n\t\t\t\t\n\t\t\t\t// Open the output streams\n\t\t\t\tFileOutputStream fileOutput = new FileOutputStream(file.getAbsolutePath());\n\t\t\t\tObjectOutputStream objectOutput = new ObjectOutputStream(fileOutput);\n\t\t\t\n\t\t\t\t// Write the objects\n\t\t\t\tfor(int i = 0; i < cards.size(); i++) {\n\t\t\t\t\tobjectOutput.writeObject(cards.get(i));\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t// Close the output streams\n\t\t\t\tobjectOutput.close();\n\t\t\t\tfileOutput.close();\n\t\t\t\t\n\t\t\t\t// Update the title of the frame to reflect the file name\n\t\t\t\twindowTemplate.setTitle(file.getName());\n\t\t\t\t\n\t\t\t} catch (IOException e1) {\n\t\t\t\tJOptionPane.showMessageDialog(windowTemplate, \"Could not save the file.\");\n\t\t\t}\n\t\t\t\n\t\t}\n\t\t\n\t}",
"@Override\r\n\tpublic void actionPerformed(ActionEvent e) {\n\t\t\r\n\t\tif (e.getSource() == this.openFile) {\r\n\t\t\tJFileChooser open = new JFileChooser();\r\n\t\t\tint option = open.showOpenDialog(this); // optiuni posibile selectate: approve sau cancel\r\n\t\t\t\r\n\t\t\tif (option == JFileChooser.APPROVE_OPTION) {\r\n\t\t\t\tthis.textArea.setText(\"\");\r\n\t\t\t\ttry {\r\n\t\t\t\t\tScanner scan = new Scanner(new FileReader(open.getSelectedFile().getPath()));\r\n\t\t\t\t\twhile (scan.hasNext()) {\r\n\t\t\t\t\t\tthis.textArea.append(scan.nextLine() + \"\\n\");\r\n\t\t\t\t\t}\r\n\t\t\t\t\tscan.close();\r\n\t\t\t\t} catch (Exception ex) {\r\n\t\t\t\t\tSystem.out.println(ex.getMessage());\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\telse if (e.getSource() == this.saveFile) {\r\n\t\t\tJFileChooser save = new JFileChooser();\r\n\t\t\tint option = save.showSaveDialog(this); // atentie, e showSAVEdialog, nu ca sus, cu OPEN\r\n\t\t\t\r\n\t\t\tif (option == JFileChooser.APPROVE_OPTION) {\r\n\t\t\t\ttry {\r\n\t\t\t\t\tBufferedWriter out = new BufferedWriter(new FileWriter(save.getSelectedFile().getPath()));\r\n\t\t\t\t\tout.write(this.textArea.getText());\r\n\t\t\t\t\tout.close();\r\n\t\t\t\t} catch (Exception ex) {\r\n\t\t\t\t\tSystem.out.println(ex.getMessage());\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\telse if (e.getSource() == this.exit) {\r\n\t\t\tSystem.exit(0);\r\n\t\t}\r\n\t\t\r\n\t\telse if (e.getSource() == this.about) {\r\n\t\t\tJOptionPane.showMessageDialog(this, \"Dragos' Notepad v0.2\\nPerju Dragoș-Ștefan\");\r\n\t\t}\r\n\t}",
"@FXML\n\tpublic void saveFile() {\n\t\tif (file == null) {\n\t\t\tFileChooser saveFileChooser = new FileChooser();\n\t\t\tsaveFileChooser.setInitialDirectory(userWorkspace);\n\t\t\tsaveFileChooser.getExtensionFilters().add(new FileChooser.ExtensionFilter(\"Text doc(*.txt)\", \"*.txt\"));\n\t\t\tfile = saveFileChooser.showSaveDialog(ap.getScene().getWindow());\n\t\t}\n\n\t\tif (file.getName().endsWith(\".txt\")) {\n\t\t\ttry {\n\t\t\t\tfilePath = file.getAbsolutePath();\n\t\t\t\tStage primStage = (Stage) ap.getScene().getWindow();\n\t\t\t\tprimStage.setTitle(filePath);\n\t\t\t\tTab tab = tabPane.getSelectionModel().getSelectedItem();\n\t\t\t\ttab.setId(filePath);\n\t\t\t\ttab.setText(file.getName());\n\n\t\t\t\tBufferedWriter writer = new BufferedWriter(new FileWriter(file));\n\t\t\t\tPrintWriter output = new PrintWriter(writer);\n\t\t\t\toutput.write(userText.getText());\n\t\t\t\toutput.flush();\n\t\t\t\toutput.close();\n\t\t\t} catch (IOException e) {\n\t\t\t\tSystem.out.println(file.getName() + \" has no valid file-extenstion.\");\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\n\t}",
"@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tif(e.getSource()==mniOpen){\r\n\t\t\t\t\topenFile();\r\n\t\t\t\t}\r\n\t\t\t\telse if(e.getSource()==mniSave){\r\n\t\t\t\t\tsaveDoc();\r\n\t\t\t\t}\r\n\t\t\t\telse if(e.getSource() == mniSaveAs){\r\n\t\t\t\t\tsaveDoc();\r\n\t\t\t\t}\r\n\t\t\t\telse if(e.getSource()==mniExit){\r\n\t\t\t\t\tclosewindows();\r\n\t\t\t\t}\r\n\t\t\t\telse if(e.getSource()==mniChangeBgColor){\r\n\t\t\t\t\tchangeBGColor();\r\n\t\t\t\t}\r\n\t\t\t\telse if(e.getSource()==mniChangeFontColor){\r\n\t\t\t\t\tchangeFontColor();\r\n\t\t\t\t}\r\n\t\t\t}",
"public static void setUpMenuItems( JMenu Menuu , JDataTree tree , \n IObserver IOBs ){\n \n int nSavedFiles = SharedData.getintProperty( \"NSavedFiles\",\"\"+NSavedFiles);\n if(nSavedFiles <=0)\n return;\n Preferences pref = null;\n try{\n pref = Preferences.userNodeForPackage( \n Class.forName( \"DataSetTools.retriever.Retriever\" ) );\n }catch( Exception s1 ){\n JOptionPane.showMessageDialog( null , \n \"No Preferences \" + s1 );\n return;\n }\n \n \n \n boolean shortMange = SharedData.getbooleanProperty(\"ShortSavedFileName\",\"false\");\n if( nSavedFiles > 0)\n Menuu.addSeparator();\n \n for( int i = 0 ; i < nSavedFiles ; i++ ){\n\n String filname = pref.get( \"File\" + i , NO_SUCH_FILE );\n \n if( (filname != NO_SUCH_FILE) &&( (new File(filname)).exists()) ){\n\n JMenuItem jmi = new JMenuItem( Mangle( filname,shortMange ) );\n Menuu.add( jmi );\n MyActionListener actList =new MyActionListener( tree , filname , \n IOBs ) ;\n jmi.addActionListener(actList );\n }\n }\n \n }",
"private void addExitMenuItem(JMenu fileMenu) {\n JMenuItem exitItem = new JMenuItem(\"Exit\");\n fileMenu.add(exitItem);\n exitItem.addActionListener(e -> System.exit(0));\n }",
"public void actionPerformed(ActionEvent e) {\n\t\t int returnVal = fc.showOpenDialog(GenerateWindow.this);\n\n\t\t if (returnVal == JFileChooser.APPROVE_OPTION) {\n\t\t File goodsoundfile = fc.getSelectedFile();\n\t\t goodSoundTF.setText(\"sounds/\"+goodsoundfile.getName());\n\t\t }}",
"public void save () {\r\n String[] options = {\"Word List\", \"Puzzle\", \"Cancel\"};\r\n int result = JOptionPane.showOptionDialog (null, \"What Do You Want To Save?\", \"Save\", JOptionPane.YES_NO_CANCEL_OPTION, JOptionPane.QUESTION_MESSAGE, null, options, options[0]);\r\n if (result == 0) {\r\n fileManager.saveWords (words);\r\n } else if (result == 1){\r\n fileManager.savePuzzle (puzzle);\r\n }\r\n }",
"Menu getMenuFile();",
"@Override\n\tpublic void actionPerformed(ActionEvent e) {\n\t\t\n\t\tif(e.getSource()==browse){\n\t\t\tif (chooser == null){\n\t\t\t\tchooser = new JFileChooser();\n\t\t\t\tchooser.setCurrentDirectory(new java.io.File(projectPath));\n\t\t\t\tchooser.setDialogTitle(\"Find Folder\");\n\t\t\t\tchooser.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);\n\t\t\t\tchooser.setAcceptAllFileFilterUsed(false);\n\n\t\t\t\tif (chooser.showOpenDialog(null) == JFileChooser.APPROVE_OPTION) {\n\t\t\t\t\tsaveTo.setText(chooser.getSelectedFile().toString());\t\t\n\t\t\t\t}\n\t\t\t\tchooser = null;\n\t\t\t}\t\n\t\t}else if(e.getSource()== save){\n\t\t\tsaveFile();\n\t\t}else if(e.getSource()==cancel){\n\t\t\tnameOfFile.setText(\"\");\n\t\t\tsaveTo.setText(\"\");\n\t\t\tthisFrame.dispose();\n\t\t}\n\t\t\n\t}",
"private void saveFile() {\n\t\ttry {\n\t\t\tFile file = jfc.getSelectedFile();\n\t\t\tint c = -1;\n\t\t\tif(file==null)\n\t\t\t{\n\t\t\t\tc = jfc.showSaveDialog(this);\n\t\t\t}\n\t\t\t\n\n\t\t\tif(file!= null || c ==0)\n\t\t\t{\t\n\t\t\t\tFileWriter fw = new FileWriter(jfc.getSelectedFile());\n\t\t\t\tfw.write(jta.getText());\n\t\t\t\tfw.close();\n\t\t\t\tSystem.out.println(\"파일을 저장하였습니다\");\n\t\t\t\t\n\t\t\t}\n\t\t\n\t\t\t\n\t\t} catch (Exception e2) {\n\t\t\t// TODO: handle exception\n\t\t\tSystem.out.println(e2.getMessage());\n\t\t}\n\t}",
"public void actionPerformed(java.awt.event.ActionEvent evt) {\n if (!askSave()) {\n return;\n }\n setSaveTitle(\"*untilted\");\n text.setText(\"\");\n file = null;\n }",
"public void actionPerformed(ActionEvent ev){\r\n\t\t\t//bring up a file dialog box\r\n\t\t\t//let the user name and save the set\r\n\t\t\t\r\n\t\t\tQuizCard card = new QuizCard(question.getText(), answer.getText());\r\n\t\t\tcardList.add(card);\r\n\t\t\t\r\n\t\t\tJFileChooser fileSave = new JFileChooser();\r\n\t\t\tfileSave.showSaveDialog(frame);\r\n\t\t\tsaveFile(fileSave.getSelectedFile()); //brings up a file dialog box and waits on this line until user chooses to save from the dialog box\r\n\t\t}",
"public static void save() {\n Game.save(UI.askNgetString(\"Filename for this save file?\")+\".xml\");\n }",
"@FXML\n public void saveFile(Event e) {\n String outputData = output.getText();\n\n File file = chooser.showSaveDialog(save.getScene().getWindow());\n\n if(file != null) {\n createFile(outputData, file);\n }\n }",
"public void saveTodo() {\r\n File file = new File(\"C:\\\\Users\\\\Dalia\\\\Desktop\\\\CPSC 210\\\\Project\\\\project_b2h3b\\\\data\");\r\n JFileChooser chooser = new JFileChooser();\r\n chooser.setDialogTitle(\"Specify a file to save\");\r\n chooser.setCurrentDirectory(file);\r\n int userSelection = chooser.showSaveDialog(null);\r\n if (userSelection == JFileChooser.APPROVE_OPTION) {\r\n File f = chooser.getSelectedFile();\r\n System.out.println(\"Save as file: \" + f.getAbsolutePath());\r\n String tempFileName = f.getAbsolutePath();\r\n writer = new MyTodoJsonWriter(tempFileName);\r\n try {\r\n writer.open();\r\n writer.write(myTodo);\r\n fileName = tempFileName;\r\n playSound(\"c1.wav\");\r\n } catch (IOException ioException) {\r\n JOptionPane.showMessageDialog(null, \"Cannot save todolist!\");\r\n } finally {\r\n writer.close();\r\n JOptionPane.showMessageDialog(null, \"Save successful!\");\r\n }\r\n todoListGui();\r\n }\r\n }",
"@Override\n public void actionPerformed(ActionEvent event)\n {\n Object source = event.getSource();\n\n if (source == fileNewItem)\n {\n //\n // File->New is clicked.\n //\n parent.onFileNew();\n }\n else if (source == fileOpenItem)\n {\n //\n // File->Open is clicked.\n //\n parent.onFileOpen();\n }\n else if (source == fileEditItem)\n {\n //\n // File->Edit is clicked.\n //\n parent.onFileEdit();\n }\n else if (source == fileCloseItem)\n {\n //\n // File->Close is clicked.\n //\n parent.onFileClose();\n }\n else if (source == fileAboutItem)\n {\n //\n // File->About is clicked.\n //\n parent.onFileAbout();\n }\n else if (source == fileExitItem)\n {\n //\n // File->Exit is clicked.\n //\n parent.onFileExit();\n }\n }",
"public void saveCurList() {\n // Save the selected list by checking to see which list\n // was clicked on in the ComboBox\n\n // Create a new .txt file of the name given by the item that was clicked in the ComboBox\n\n // if: folder \"ToDoList\" exists?\n // store .txt inside of this folder\n // else:\n // create folder \"ToDoList\" on the user's desktop\n // with an appropriate path and then store the .txt\n // inside\n }",
"public void newFileButtonListener() {\r\n workSpace.setText(null);\r\n fileName = null;\r\n sansSerifButton.setSelected(true);\r\n italicFormatCheckBox.setSelected(false);\r\n boldFormatCheckBox.setSelected(false);\r\n }",
"void ajouterMenu(){\r\n\t\t\tJMenuBar menubar = new JMenuBar();\r\n\t \r\n\t JMenu file = new JMenu(\"File\");\r\n\t file.setMnemonic(KeyEvent.VK_F);\r\n\t \r\n\t JMenuItem eMenuItemNew = new JMenuItem(\"Nouvelle Partie\");\r\n\t eMenuItemNew.addActionListener(new ActionListener() {\r\n\t @Override\r\n\t public void actionPerformed(ActionEvent event) {\r\n\t \t\r\n\t \t\t\r\n\t \t\t\r\n\t \tnew NouvellePartie();\r\n\t }\r\n\t });\r\n\t file.add(eMenuItemNew);\r\n\t \r\n\t JMenuItem eMenuItemFermer = new JMenuItem(\"Fermer\");\r\n\t eMenuItemFermer.setMnemonic(KeyEvent.VK_E);\r\n\t eMenuItemFermer.setToolTipText(\"Fermer l'application\");\r\n\t \r\n\t eMenuItemFermer.addActionListener(new ActionListener() {\r\n\t @Override\r\n\t public void actionPerformed(ActionEvent event) {\r\n\t System.exit(0);\r\n\t }\r\n\t });\r\n\r\n\t file.add(eMenuItemFermer);\r\n\r\n\t menubar.add(file);\r\n\t \r\n\t JMenu aide = new JMenu(\"?\");\r\n\t JMenuItem eMenuItemRegle = new JMenuItem(\"Règles\");\r\n\t aide.add(eMenuItemRegle);\r\n\t menubar.add(aide);\r\n\r\n\t final String regles=\"<html><p>Le but est de récupérer les 4 objets Graal puis de retourner au château.</p>\"\t\r\n\t +\"<p>Après avoir récupéré un objet, chaque déplacement vous enlève autant de vie que le poids de l'objet</p></html>\";\r\n\t eMenuItemRegle.addActionListener(new ActionListener() {\r\n\t @Override\r\n\t public void actionPerformed(ActionEvent event) {\r\n\t \t//default title and icon\r\n\t \t\t\tJOptionPane.showMessageDialog(gameFrame,\r\n\t \t\t\t regles,\"Règles du jeu\", JOptionPane.INFORMATION_MESSAGE);\r\n\t \t\t\t\r\n\t }\r\n\t });\r\n\t \t\r\n\t\t\t\r\n\t this.setJMenuBar(menubar);\t\r\n\t\t}",
"private void newMenuItemActionPerformed() {//GEN-FIRST:event_newMenuItemActionPerformed\r\n stopSlideMenuItemActionPerformed();\r\n JFileChooser fc = new JFileChooser(\"C:\\\\\");\r\n fc.setFileFilter(new FileNameExtensionFilter(\"Album File (*.alb)\", \"alb\"));\r\n fc.showSaveDialog(null);\r\n File file = fc.getSelectedFile();\r\n controller.OnNewAlbum(file);\r\n controller.OnTimeChange(Integer.parseInt((delaySpinner.getValue().toString().trim())));\r\n }",
"public void saveFile(){\n returnValue = this.showSaveDialog(null);\n if (returnValue == JFileChooser.APPROVE_OPTION) {\n new CustomerFileWriter(new File(this.getSelectedFile().getAbsolutePath())).saveCustomer(Bank.customer);\n }\n }",
"private void btnSaveActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnSaveActionPerformed\r\n\r\n int returnVal = getOutChooser().showOpenDialog(this);\r\n \r\n if(returnVal == JFileChooser.APPROVE_OPTION) {\r\n try {\r\n Utils.saveFile(blackWords.getText(), getOutChooser().getSelectedFile());\r\n \r\n } catch (FileNotFoundException ex) {\r\n ex.printStackTrace();\r\n } catch (IOException ex) {\r\n ex.printStackTrace();\r\n }\r\n }\r\n \r\n putWizardData(\"blacksaved\", \"false\");\r\n }",
"public void actionPerformed(ActionEvent InputEvent)\r\n {\n String DefaultSaveFileName = createDefaultSaveFileName();\r\n File DefaultSaveFile = new File(FilePathnameString\r\n + File.separatorChar\r\n + DefaultSaveFileName);\r\n\t\t JFileChooser SaveFileChooser = new JFileChooser(DefaultSaveFile);\r\n SaveFileChooser.setDialogTitle(\"Select file into which to save search results\");\r\n SaveFileChooser.setSelectedFile(DefaultSaveFile);\r\n SaveFileChooser.setFileSelectionMode(JFileChooser.FILES_ONLY);\r\n\t\t int ChooseState = SaveFileChooser.showSaveDialog(MainFrame);\r\n\t\t if (ChooseState == JFileChooser.APPROVE_OPTION)\r\n\t\t {\r\n\t\t\t File SaveFile = SaveFileChooser.getSelectedFile();\r\n\t\t\t if (SaveFile == null)\r\n\t\t JOptionPane.showMessageDialog(MainFrame,\r\n\t\t \"No file chosen - no save performed\");\r\n\t\t\t else\r\n\t\t\t {\r\n String ResultsString = getResultsString();\r\n if (ResultsString == null)\r\n \t\t JOptionPane.showMessageDialog(MainFrame,\r\n\t\t \"No search results to save\");\r\n else\r\n {\r\n \t\t\t String SavePathString = SaveFile.getPath();\r\n try\r\n {\r\n FileWriter SaveFileWriter = new FileWriter(SavePathString);\r\n SaveFileWriter.write(ResultsString);\r\n SaveFileWriter.close();\r\n }\r\n catch (Exception InputException)\r\n {\r\n \t\t JOptionPane.showMessageDialog(MainFrame,\r\n\t\t \"Error writing results file \"\r\n + SavePathString\r\n + \": \"\r\n + InputException);\r\n }\r\n }\r\n\t\t\t }\r\n\t\t }\r\n }",
"private void saveFile(){\n\tif (numPlayers == 1 && 0 < numNPCs && numNPCs < 6){\n\t int returnVal = fileChooser.showSaveDialog(this);\n\t if (returnVal == JFileChooser.APPROVE_OPTION) {\n\t\ttry {\n\t\t FileWriter writer =\n\t\t\tnew FileWriter(fileChooser.getSelectedFile());\n\t\t writer.write(this.toXML());\n\t\t writer.close();\n\t\t} catch (Exception ex) {\n\t\t ex.printStackTrace();\n\t\t}\n\t }\n\t} else {\n\t //If it wouldn't make a valid game, warn the user\n\t JFrame f = new JFrame();\n\t JOptionPane.showMessageDialog(f,\n\t\t\t\t\t \"You must have exactly one playable\\n\"\n\t\t\t\t\t + \"character and 1-5 NPCs.\\n\" +\n\t\t\t\t\t \"Current PCs= \" + numPlayers +\n\t\t\t\t\t \", NPCs = \" + numNPCs,\n\t\t\t\t\t \"Improper Game Configuration\",\n\t\t\t\t\t JOptionPane.WARNING_MESSAGE);\t \n\t}\n }",
"public void actionPerformed(ActionEvent e) {\r\n\r\n JMenuItem menuItem = (JMenuItem) e.getSource();\r\n String itemText = menuItem.getName();\r\n\r\n if (itemText.equalsIgnoreCase(\"save\")) {\r\n\r\n } else if (itemText.equalsIgnoreCase(\"print\")) {\r\n\r\n } else if (itemText.equalsIgnoreCase(\"close\")) {\r\n\r\n this.parentWindow.setVisible(false);\r\n this.parentWindow.dispose();\r\n\r\n }\r\n }",
"static String save() {\n JFileChooser fileChooser;\n String path = FileLoader.loadFile(\"path.txt\");\n if (path != null) {\n fileChooser = new JFileChooser(path);\n } else {\n fileChooser = new JFileChooser((FileSystemView.getFileSystemView().getHomeDirectory()));\n }\n\n fileChooser.setDialogTitle(\"Save text file\");\n fileChooser.setDialogType(JFileChooser.SAVE_DIALOG);\n\n if (fileChooser.showSaveDialog(null) == JFileChooser.APPROVE_OPTION) {\n FileLoader.saveFile(\"path.txt\", fileChooser.getSelectedFile().getParent(), false);\n return fileChooser.getSelectedFile().getAbsolutePath() + \".mytxt\" ;\n }\n return null;\n }",
"@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tif (e.getSource()==mniOpen){\n\t\t\t\t\tOpenFile();\n\t\t\t\t}else if(e.getSource()==mniExit){\n\t\t\t\t\tcloseApplication();\n\t\t\t\t}else if(e.getSource()==mniChangeBgColor){\n\t\t\t\t\tchangeBGColor();\n\t\t\t\t}else if(e.getSource()==mniChangeFontColor){\n\t\t\t\t\tChangeFontColor();\n\t\t\t\t}else if(e.getSource()==mniSaveAs){\n\t\t\t\t\tsaveAs();\n\t\t\t\t}else if(e.getSource()==mniSave){\n\t\t\t\t\tsave();\n\t\t\t\t}\n\t\t\t}",
"public void actionPerformed(final ActionEvent e) {\r\n\t\tFileDialog chooser = new FileDialog(this,\r\n\t\t\t\t\"Use a .png or .jpg extension\", FileDialog.SAVE);\r\n\t\tchooser.setVisible(true);\r\n\t\tif (chooser.getFile() != null) {\r\n\t\t\tsave(chooser.getDirectory() + File.separator + chooser.getFile());\r\n\t\t}\r\n\t}",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\n\t\tmenu.add(MENU_ANSWERSHEET, SAVE, 0, R.string.lbl_menu_save);\n\n\t\treturn true;\n\t}"
] | [
"0.7627091",
"0.7508781",
"0.727885",
"0.7144489",
"0.71146643",
"0.7053926",
"0.7050855",
"0.7016424",
"0.69953394",
"0.6990305",
"0.6957697",
"0.694871",
"0.681613",
"0.6814443",
"0.6790593",
"0.6781699",
"0.6755321",
"0.67244875",
"0.67244047",
"0.6720808",
"0.67128",
"0.6676266",
"0.6659718",
"0.66533506",
"0.66178024",
"0.66165704",
"0.66114074",
"0.6608597",
"0.6579436",
"0.6574846",
"0.65655833",
"0.6562517",
"0.65576804",
"0.65560144",
"0.6538859",
"0.65207213",
"0.65074843",
"0.6500865",
"0.64948237",
"0.64929813",
"0.6483671",
"0.6477546",
"0.64645046",
"0.6464213",
"0.64619786",
"0.6444662",
"0.6416847",
"0.6415181",
"0.64066553",
"0.63991493",
"0.63977534",
"0.63974977",
"0.6393045",
"0.6386728",
"0.6368115",
"0.6366444",
"0.6366291",
"0.63620234",
"0.6361167",
"0.6359923",
"0.63558894",
"0.634685",
"0.63461304",
"0.6337851",
"0.6327441",
"0.63256526",
"0.6323924",
"0.6323098",
"0.6317274",
"0.6314575",
"0.6313999",
"0.6313661",
"0.6307128",
"0.6305133",
"0.629837",
"0.6297411",
"0.62887394",
"0.62879217",
"0.62878644",
"0.62807894",
"0.6279946",
"0.62752944",
"0.6262225",
"0.6254739",
"0.6247045",
"0.62442666",
"0.62396824",
"0.6236114",
"0.6232859",
"0.6228589",
"0.62280035",
"0.6226799",
"0.6216044",
"0.62100303",
"0.6202241",
"0.62021095",
"0.62002164",
"0.61940897",
"0.6192468",
"0.6170544",
"0.6169869"
] | 0.0 | -1 |
/ Checks if the player is banned | @EventHandler(priority = EventPriority.HIGHEST) // set to highest because this is most important
public void playerBanned(PlayerLoginEvent event){
UUID uuid = event.getPlayer().getUniqueId();
String reason = bm.isBanned(uuid);
if (reason.equals("")) return;
Player p = event.getPlayer();
event.setKickMessage(reason);
event.setResult(Result.KICK_BANNED);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void checkBanStatus() {\n if(getBanned() != null && getBanned().after(getLast_join())) {\n Date today = new Date();\n Date banDate = getBanned();\n String timeLeft = ClymeSkyblockCore.getInstance().getTimeUtil().getTimeDifference(banDate, today);\n\n Bukkit.getScheduler().runTask(ClymeSkyblockCore.getInstance(), () -> {\n getPlayer().kickPlayer(\" \\n\" +\n ClymeSkyblockCore.getInstance().getClymeMessage().getRawPrefix() + \"\\n\" +\n \" \\n\" +\n \" \\n\" +\n \"§cYou are banned from the Server!\\n\" +\n \" \\n\" +\n \"§f§lReason: §7\" + getBanReason() + \"\\n\" +\n \"§f§lTime left: §7\" + timeLeft + \"\\n\" +\n \"\\n\\n\" +\n \"§c§oIf you think you have been wrongly punished,\\n\" +\n \"please contact our support team!\\n\" +\n \"§c§oor purchase a ban evasion in our store: §fshop.clyme.games§c§o!\" +\n \"\\n\");\n\n Bukkit.getConsoleSender().sendMessage(\"[ClymeGames] §4Player \" + getUsername() + \" tried to join but is banned!\");\n });\n }\n }",
"public boolean isBanned() {\n\t\treturn banned;\n\t}",
"@Override\n\tpublic boolean getBanned() {\n\t\treturn this.banned;\n\t}",
"public boolean isBanned ( ) {\n\t\treturn extract ( handle -> handle.isBanned ( ) );\n\t}",
"private int handleBannedResponses(final JSONArray array) throws JSONException{\n if (array == null || array.length() <= 0){\n return 0;\n }\n \n for (int v = 0; v < array.length(); v++) {\n String[] response = array.getString(v).split(\";\");\n OfflinePlayer player = plugin.getServer().getOfflinePlayer(response[0]);\n if (player == null){\n continue;\n }\n \n if(player.isBanned() && \"u\".equals(response[1])){\n player.setBanned(false); // unbanning player\n }\n else if(!player.isBanned() && \"b\".equals(response[1])){\n player.setBanned(true); // banning player\n }\n } \n return array.length();\n }",
"public static boolean isBusted(Player player) {\r\n if(total(player).min() > 21 && total(player).min() != 32) {\r\n return true;\r\n }\r\n return false;\r\n }",
"boolean hasPlayerBag();",
"boolean canRobPlayer(HexLocation location, int victimIndex);",
"private void bannedAlert() {\n Alert alert = new Alert(Alert.AlertType.WARNING);\n alert.initOwner(_dialogStage);\n alert.setTitle(\"Account blocked\");\n alert.setHeaderText(\"Account blocked\");\n alert.setContentText(\"Your account has been blocked due\"\n + \" to too many incorrect login attempts. To \"\n + \"unblock your account, please contact an \"\n + \"administrator.\");\n\n alert.showAndWait();\n return;\n }",
"void ban(String user);",
"private static void ban(String user) { sendMessage(\"/ban \" + user); }",
"private void CheckFaintedPokemon() {\n \tif(user.getTeam(user.getCurrentPokemonIndex()).getStats().getStatus()==Status.FNT){\n \t\tuser.getTeam(user.getCurrentPokemonIndex()).getInfo().setUsedInBattle(false);\n \t\tbattleMessage.add(user.getTeam(user.getCurrentPokemonIndex()).getInfo().getNickname()+\" has lost the battle. \");\n \t\tbattleOver=true;\n \t}\n \tif(opponent.getTeam(opponent.getCurrentPokemonIndex()).getStats().getStatus()==Status.FNT){\n \t\topponent.getTeam(opponent.getCurrentPokemonIndex()).getInfo().setUsedInBattle(false);\n \t\tCalculateXP(user.getTeam(),opponent.getTeam(opponent.getCurrentPokemonIndex()));\n \t\tbattleMessage.add(opponent.getTeam(opponent.getCurrentPokemonIndex()).getInfo().getNickname()+\" has lost the battle. \");\n \t\tbattleOver=true;\n \t}\n \t\n }",
"private void checkDeath() {\n\t\tif (player.getLives() == 0) {\n shooty.setIv(new Image(\"/img/shipdeath.png\"));\n\t\t\tdie();\n\t\t}\n\t\t// another way to die: the blocks hit you\n\t\tif(btnList.get(0).getLayoutY() >= FATAL_BUTTON_DIST) {\n\t\t\tendGame.play();\n\t\t\tdie();\n\t\t}\n\t}",
"public abstract void banUser(String nickname, String reason);",
"public void playerHasInvincibility() {\n\t\tthis.state = canBeKilled;\n\t}",
"public void ban(User other)\n {\n other.setBanned(true);\n }",
"public int isSafe(){\n int nbEnnemies = 0;\n List<Player> players = state.getPlayers();\n Player currentPlayer = state.getCurrentPlayer();\n for(Player p : players){\n if(!p.equals(currentPlayer)) {\n nbEnnemies += currentPlayerReachable(state.getCurrentPlayer(), p);\n //nbEnnemies += manhattan(currentPlayer, p); //naive version\n }\n }\n return nbEnnemies;\n }",
"public void blockedAndBlock(){\n\t\tif(player.isAttacking() && random(BASE_BLOCK_PERCENTAJE + ((double)difficulty)/10)){\n\t\t\tplayer.hasBeenBlocked();\n\t\t\tthis.setCurrentAnimation(\"blocked and prepare block_\" + orientation, FRAME_DURATION);\n\t\t\tmanageSword(\"blocked and prepare block\", 0, false);\n\t\t} else{\n\t\t\tthis.setCurrentAnimation(\"attack end blocked_\" + orientation, FRAME_DURATION);\n\t\t\tmanageSword(\"attack end blocked\", 0, false);\n\t\t}\n\t}",
"public Boolean checkBust() {\n\t\tif (getHandValue() > 21) {\n\t\t\tSystem.out.println(name + \" Busted!\");\n\t\t\treturn true;\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}",
"public void checkHealth()\n {\n if(player.getHealth() <= 0)\n {\n System.out.println(\"\\n\" + \"You are dead :(\" + \"\\n\");\n alive = false;\n }\n }",
"private void checkPlayerCondition()\n\t{\n\t\tif (playerExists() && PlayerAccess.getPlayer().isInExit())\n\t\t{\n\t\t\twon = true;\n\t\t}\n\t\tif (playerIsDead())\n\t\t{\n\t\t\tMapInstance.getInstance().levelRestart();\n\t\t}\n\t\tif (playerHasLost())\n\t\t{\n\t\t\tlost = true;\n\t\t}\n\t\tif (runOutOfTime())\n\t\t{\n\t\t\tPlayerAccess.getPlayer().die();\n\t\t}\n\t}",
"private boolean IsBust(Player player) {\n if (CalcHandSum(player, player.getHand()) > 21) {\n return true;\n } else {\n return false;\n }\n }",
"public int canPoseBombAndStillBeSafe() {\n Player currentPlayer = state.getCurrentPlayer();\n List<Player> players = state.getPlayers();\n Maze maze = state.getMaze();\n Cell[][] tabcells = maze.getCells();\n for (Player p : players) {\n if (!p.equals(currentPlayer)) {\n if (canBombThisEnemyAndRunSafe(currentPlayer,p)) {\n return 1;\n }\n }\n }\n return 0;\n }",
"private boolean isBlocked() {\n return block_state <= 1;\n }",
"public abstract boolean isPossible(Player p);",
"@Override\r\n\tpublic boolean isBlocked() {\r\n\t\tif (this.status.equals(Status.BLOCKED)) {\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\telse {\r\n\t\t\treturn false;\r\n\t\t}\r\n\t}",
"boolean GameOver() {\n\t\treturn player.isDead();\n\t}",
"private boolean isCreateBattle() {\r\n int percent = ConfigUtil.getConfigInteger(\"battlePercent\", 30);\r\n if(RandomUtil.nextInt(100) < percent){\r\n return true;\r\n }\r\n return false;\r\n }",
"boolean canReceiveManaFromPool(BlockEntity pool);",
"private void checkForPlayerChance()\n\t\t\t{\n\t\t\t\tf = false;\n\t\t\t\tfor (j = 0; j < 8; ++j)\n\t\t\t\t\t{\n\t\t\t\t\t\tif (win[j] == 2 && lose[j] == 0)\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tf = true;\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t}\n\t\t\t\tif (f == false)\n\t\t\t\t\tj = 10;\n\n\t\t\t}",
"public void setBannedList(boolean b){\n useList = b;\n }",
"public void checkGameStatus() {\n everyTenthGoalCongrats();\n randomPopUpBecauseICan();\n }",
"public void checkDeath()\n {\n if (player.getY() >= 549)\n {\n gameOver();\n }\n }",
"public boolean hasWon(){\n boolean winStatus = false;\n if(balance >= 3000){\n winStatus = true;\n }\n return winStatus;\n }",
"private boolean isOver() {\r\n return players.size() == 1;\r\n }",
"public boolean checkIfBlocked(){\n\t\tsetNextXY();\n\t\t/*if(Physics.hitWall(this, game.wi)){\n\t\t\tblocked=true;\n\t\t}\n\t\telse{\n\t\t\tblocked=false;\n\t\t}\n\t\t*/\n\t\t\n\t\ttry{\n\t\t\tif(game.getController().wallArray[lastX][lastY]||game.getController().wallArray[nextX][nextY]){\n\t\t\t\treturn true;\n\t\t\t}\t\n\t\t}catch(IndexOutOfBoundsException x){\n\t\t\t\n\t\t\n\t\t}\n\t\treturn false;\n\t\t\n\t}",
"public boolean isPlayerAlive() {\r\n\t\treturn !(this.getRobotsAlive().isEmpty());\r\n\t}",
"public static boolean isInBank(){\n return isInBank(Players.localPlayer());\n }",
"private boolean isOnline(@NonNull final UUID playerID) {\n if(Bukkit.getPlayer(playerID) == null) {\n return false;\n } else {\n return true;\n }\n }",
"public boolean gameWon(){\n return false;\n }",
"public boolean canMine(EntityPlayer player, int X, int Y, int Z);",
"protected boolean isGameOver(){\n return (getShipsSunk()==10);\n }",
"boolean hasPlayerBagId();",
"boolean hasPlayerBagId();",
"boolean hasPlayerBagId();",
"public void gameOverCheck() {\n //users\n if (tankTroubleMap.getUsers().size() != 0) {\n tankTroubleMap.setWinnerGroup(tankTroubleMap.getUsers().get(0).getGroupNumber());\n for (int i = 1; i < tankTroubleMap.getUsers().size(); i++) {\n if (tankTroubleMap.getUsers().get(i).getGroupNumber() != tankTroubleMap.getWinnerGroup())\n return;\n }\n }\n //bots\n int firstBot = 0;\n if (tankTroubleMap.getBots().size() != 0) {\n if (tankTroubleMap.getWinnerGroup() == -1) {\n firstBot = 1;\n tankTroubleMap.setWinnerGroup(tankTroubleMap.getBots().get(0).getGroupNumber());\n }\n for (int i = firstBot; i < tankTroubleMap.getBots().size(); i++) {\n if (tankTroubleMap.getBots().get(i).getGroupNumber() != tankTroubleMap.getWinnerGroup())\n return;\n }\n }\n tankTroubleMap.setGameOver(true);\n }",
"public abstract void isUsedBy(Player player);",
"private void bust() {\n //Dialog box pop-up\n JOptionPane.showMessageDialog(this, this.getPlayerName() + \" busted with a value of: \" + this.getValue(), \"BUSTED!\", JOptionPane.INFORMATION_MESSAGE);\n busted = true; //Hand busted\n }",
"public boolean isAvailable(Player player) {\n return playerList.contains(player);\n }",
"public boolean blockedGame() {\r\n int pointsperplayer = 0;\r\n if (playedDominoes.size() > 9) {\r\n if (end[0] == end[1]) {\r\n List<Domino> aux = new ArrayList();\r\n for (Domino d : playedDominoes) {\r\n if (d.getBothNumbers().contains(end[0])) {\r\n System.out.println(\"Adding domino\" + d.toString());\r\n aux.add(d);\r\n }\r\n }\r\n return aux.size() == 7;\r\n }\r\n }\r\n return false;\r\n }",
"private void checkLoosePLayer(){\n if (hero.getHp()<=0){\n loose();\n }\n\n }",
"public boolean checkPlays(Player player){\n return true;\n }",
"@Override\n public void banPlayer(UUID uuid, String reason, String source) {\n String uuidString = uuid.toString();\n if (getServer().getBanList(BanList.Type.NAME).addBan(uuidString, reason, null, source) == null) {\n Logger logger = getLogger();\n logger.warning(\"No player to ban with UUID \" + uuidString);\n return;\n }\n\n // Notify others of the ban\n OfflinePlayer offlinePlayer = getServer().getOfflinePlayer(uuid);\n getServer().broadcast(source + \" banned \" + offlinePlayer.getName() + \" for \" + reason, \"matrix.ban.notify\");\n\n // If online, kick now\n Player player = offlinePlayer.getPlayer();\n if (player != null) {\n getServer().getScheduler().runTask(this, new Runnable() {\n public void run() {\n player.kickPlayer(\"You have been banned: \" + reason);\n }\n });\n }\n }",
"public void youWinByAbandonment() {\n try {\n if (getClientInterface() != null)\n getClientInterface().gameEndedByAbandonment(\"YOU WON BECAUSE YOUR OPPONENTS HAVE ABANDONED!!\");\n }\n catch (RemoteException e) {\n System.out.println(\"remote sending ended by abandonment error\");\n }\n }",
"private void checkVictory()\n {\n if(throne.getEnemyHealth() <= 0)\n {\n System.out.println(\"Congrats! The land is now free from all chaos and destruction. You are now very rich and wealthy. Yay\");\n alive = false;\n }\n }",
"@Override\n \tpublic boolean canLeave(ArenaPlayer p) {\n \t\treturn true;\n \t}",
"public boolean isPlayerDefeated() {\n if (player.getHealth() <= 0) {\n return true;\n }\n return false;\n }",
"public boolean gameOver(){\n\t\treturn this.lives < 1;\n\t}",
"private void invalidTry(){\n setButtons(false);\n setMsgText(\"There are 2 players in game, you cannot join in now.\");\n }",
"@Override\n public void run() {\n secondsLeft--;\n Bukkit.getBanList(BanList.Type.NAME).addBan(player.getName(), bold(ChatColor.BOLD) + String.format(\"BANNED FOR %s SECONDS FOR JOHN LOGGING!\", secondsLeft), null, null);\n if (secondsLeft == 1) {\n Bukkit.getBanList(BanList.Type.NAME).pardon(player.getName());\n this.cancel();\n }\n }",
"private boolean try2GetBluePlayerFromHome(Player player)\n {\n try\n {\n BluePlayer bluePlayer = (BluePlayer) player;\n if (BluePlayer.getNumber_of_buttons_allowed() > 0)\n {\n ludo.getPlayerFromHome(player);\n //BluePlayer.setNumber_of_buttons_allowed(BluePlayer.decrementNumberOfAllowedPlayers());\n return true;\n }\n return false;\n }\n catch (Exception e)\n {\n return false;\n }\n }",
"public static void checkQueue(){\n if(Duel.getLobby().getQueue().size() >= 2){\n Duel.getGameManager().startingAGame();\n// for(Player player : Bukkit.getOnlinePlayers()){\n// if(Lobby.getQueue().get(0).equals(player.getUniqueId()) || Lobby.getQueue().get(1).equals(player.getUniqueId())){\n// Duel.getGameManager().startingAGame();\n// }\n// for(UUID uuid : Lobby.getQueue()){\n// Duel.getGameManager().startingAGame();\n// }\n }\n }",
"public boolean isBot(){\n return false;\n }",
"@EventHandler(priority = EventPriority.HIGH, ignoreCancelled = true)\n public void onPlayerLogin(PlayerLoginEvent event) {\n String playerName = event.getPlayer().getName();\n \n if(plugin.bannedPlayers.contains(playerName)){\n \t event.setKickMessage(\"You are banned from this server!\");\n \t event.setResult(Result.KICK_BANNED);\n \t \n }\n \n \n }",
"private boolean isBlocked(Intent intent)\n {\n String newState = intent.getStringExtra(PortalDetectorService.EXTRA_PORTAL_STATE);\n \n return !(State.NO_PORTAL.equals(newState) || State.SIGNED_IN.equals(newState));\n }",
"public boolean inArena(Player p)\n {\n return arenaPlayers.contains(p);\n }",
"protected boolean processPlayerDeclined(int gameNum, String playerName, String offer){\n return false;\n }",
"public boolean isStudentBanned(long reservationTime, long currentTime){\n return (currentTime - reservationTime > 5*60000);\n }",
"public boolean needPlayer() {\n\t\treturn false;\n\t}",
"public void checkWin(){\n boolean result = false;\n if(game.getTurn() > 3){\n Player currentPlayer = game.getPlayerTurn();\n int playernumber = currentPlayer.getPlayericon();\n result = game.winChecker(game.getBored(),playernumber);\n if(result == true) {\n setWinMsgBox(currentPlayer.getPlayerName() + \" Is victorious :)\",\"WIN\");\n }else if(game.getTurn() == 8 && result == false){\n setWinMsgBox(\"Too bad it is a draw, No one out smarted the other -_-\",\"DRAW\");\n }else{}\n }else{\n result = false;\n }\n }",
"public static void checkWinner() {\n\t\tcontinueGame = false;\n\t\tfor (int k = 0; k < secretWordLength; k++) {\n\t\t\tif (!unseenBoard.get(k).equals(\"*\")) {\n\t\t\t\tcontinueGame = true;\n\t\t\t}\n\t\t}\n\t}",
"public boolean isTokenInBlacklist(String username) {\n return redisService.isAvailable(username);\n }",
"public boolean canAttackWithItem() {\n/* 215 */ return false;\n/* */ }",
"public boolean isGameOver ()\n\t{\n\t\t return lives <= 0;\n\t}",
"public boolean shouldDeathban(Player player) {\n\t\tPlayerInventory pi = player.getInventory();\n\t\ttry {\n\t\t\tfor (Method m : ARMOR_METHODS) {\n\n\t\t\t\tItemStack item = (ItemStack) m.invoke(pi);\n\t\t\t\tif (item == null) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\n\t\t\t\tString name = item.getType().name();\n\n\t\t\t\tif (!(name.contains(\"IRON_\") || name.contains(\"DIAMOND_\"))) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tcatch (IllegalAccessException | IllegalArgumentException | InvocationTargetException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\treturn false;\n\t}",
"static boolean canWin() throws GameActionException {\n\t\tfloat difference = 1000 - rc.getTeamVictoryPoints();\n\t\tif ((rc.getTeamBullets() / 10) >= difference) {\n\t\t\trc.donate(rc.getTeamBullets());\n\t\t\treturn true;\n\t\t} else\n\t\t\treturn false;\n\t}",
"boolean isPlayableInGame();",
"public int checkBankrupt(Player p, int nextPlayerIndex){\n\t\tif (p.getBankrupt() == true){ \r\n\t\tplayerList.remove(p);\r\n\t\treturn nextPlayerIndex - 1;\r\n\t\t}\r\n\t\telse{return nextPlayerIndex;}\r\n\t}",
"@Override\r\n public void checkWarGameOver(){\r\n if(this.checkOnePlayerDecksEmpty(0)){\r\n // Set gameOver flag to true\r\n this.isGameOver = true; \r\n \r\n }\r\n \r\n }",
"private boolean checkNearbyVillagers() {\n\t\tIterator<Integer> it = sprites.keySet().iterator();\n\t\twhile (it.hasNext()) {\n\t\t\tSprite as = sprites.get(it.next());\n\t\t\tif (as instanceof Villager) {\n\t\t\t\tVillager v = (Villager) as;\n\t\t\t\tif (v.checkTalkable(player.pos, player.direction)) {\n\t\t\t\t\treturn executeTalkableVillager(v);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}",
"public boolean isBattleOver(){\n\n if(battleEnemies.size() == 0) {\n System.out.println(\"Battle over all enemies dead\");\n findDefeated();\n cleanStatuses();\n result = true;\n\n return true;\n }\n if(character.getCurrHP() <= 0){\n System.out.println(\"Battle over character has died\");\n //findDefeated();\n cleanStatuses();\n result = false;\n\n return true;\n }\n //System.out.printf(\"remaining enemies: %s\\n\", battleEnemies.size());\n return false;\n }",
"public boolean userStillInGame() {\n return playersInGame.contains(humanPlayer);\n }",
"public boolean isOnline()\n\t{\n\t\treturn PlayerManager.getPlayer(name)!=null;\n\t}",
"public boolean canAttackWithItem() {\n/* 253 */ return false;\n/* */ }",
"private int banBlueChampion(String cN) {\n\t\tif (bannedChamps.contains(cN)) {\n\t\t\treturn -1;\n\t\t}\n\t\tif (!cN.equals(\"noban\")) {\n\t\t\tURL url = getClass().getResource(\".coredata/championicons/32px/\" + cN + \"Square.png\");\n\t\t\tImageIcon champIcon = new ImageIcon(Toolkit.getDefaultToolkit().getImage(url));\n\t\t\tJLabel champLabel = new JLabel();\n\t\t\tJLabel champName = new JLabel(cN);\n\t\t\tchampName.setBackground(Color.BLACK);\n\t\t\tchampName.setForeground(Color.WHITE);\n\t\t\tchampLabel.setIcon(champIcon);\n\t\t\tbottomPanel.add(champLabel, new Integer(3));\n\t\t\tint i = blueBans.size();\n\t\t\tchampLabel.setBounds(29, 32 + 36*i, 32, 32);\n\t\t\tbottomPanel.add(champName, new Integer(3));\n\t\t\tchampName.setBounds(64, 24 + 36*i, 150, 50);\n\t\t\tblueBans.add(cN);\n\t\t\tbannedChamps.add(cN);\n\t\t}\n\t\tnumBlueBans += 1;\n\t\treturn 0;\n\t}",
"public boolean mayPickup(Player debug1) {\n/* 112 */ return true;\n/* */ }",
"public void checkActivation() {\n\t\tplayer.getPackets().sendConfigByFile(10907, 1);\n\t\tplayer.getPackets().sendConfigByFile(10902, 1);\n\t\tfor (int x = 0; x <= 12; x++) {\n\t\t\tif (player.getActivatedLodestones()[x] == true) {\n\t\t\t\tplayer.getPackets().sendConfigByFile(CONFIG_IDS[x], 1);\n\t\t\t}\n\t\t}\n\t\tif (player.getActivatedLodestones()[13] == true) {\n\t\t\tplayer.getPackets().sendConfigByFile(CONFIG_IDS[13], 190);\n\t\t}\n\t\tif (player.getActivatedLodestones()[14] == true) {\n\t\t\tplayer.getPackets().sendConfigByFile(CONFIG_IDS[14], 15);\n\t\t}\n\t}",
"boolean hasSendPlayerName();",
"public boolean isGameOver() {\r\n if(timesAvoid == 3) {\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }",
"boolean hasPlayer(String player);",
"boolean isPlayerTurn();",
"public boolean meWin(){\n return whitePieces.size() > blackPieces.size() && isWhitePlayer;\n }",
"public void checkGameEndState() {\n\t\tfor(MapCharacter c : friendlyMissionCriticals) {\n\t\t\tif(!friendlies.contains(c))\n\t\t\t\tthrow new PlayerLosesException();\n\t\t}\n\t\tif(getEnemies().size() == 0)\n\t\t\tthrow new PlayerWinsException();\n\t}",
"boolean isGameOver();",
"boolean isGameOver();",
"private boolean isPlayerNameFreeToUse(String clientName){\n\t\tfor (Player p : getPlayerMap().values()) {\n\t\t\tif(p.getName().equals(clientName)){\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}",
"public boolean checkBlackJack() {\r\n if(cards.size() == 2 && score() == 21){\r\n blackJack = true;\r\n over = true;\r\n return true;\r\n }else{\r\n return false;\r\n }\r\n }",
"public static boolean checkBlackjack(ArrayList<Player> players) {\r\n for(Player player : players) {\r\n if(total(player).min() == 32) {\r\n return true;\r\n }\r\n }\r\n return false;\r\n }",
"public boolean canTravelFromWorld(Player p, MultiverseWorld w) {\n List<String> blackList = w.getWorldBlacklist();\n \n boolean returnValue = true;\n \n for (String s : blackList) {\n if (s.equalsIgnoreCase(p.getWorld().getName())) {\n returnValue = false;\n break;\n }\n }\n \n return returnValue;\n }",
"public boolean continueGame(){\n for (Player p : super.getPlayers()) {\n // check if p is dead\n if (p.isDead()) {\n return false;\n }\n }\n return true;\n }"
] | [
"0.75169057",
"0.72291327",
"0.65479445",
"0.65213627",
"0.6520459",
"0.64913183",
"0.64345133",
"0.6412864",
"0.63035434",
"0.6152821",
"0.6127508",
"0.61110723",
"0.60764927",
"0.6066605",
"0.60479355",
"0.5984156",
"0.59456015",
"0.5945175",
"0.59419787",
"0.5934316",
"0.59135103",
"0.5912937",
"0.591036",
"0.59049743",
"0.5902089",
"0.58998096",
"0.5892949",
"0.5889225",
"0.58867043",
"0.58549535",
"0.5836363",
"0.58231825",
"0.58155036",
"0.5815251",
"0.581467",
"0.5806547",
"0.58049464",
"0.5795028",
"0.577772",
"0.57737213",
"0.5771481",
"0.57709557",
"0.57655275",
"0.57655275",
"0.57655275",
"0.5745768",
"0.57413185",
"0.5732632",
"0.5728121",
"0.5725044",
"0.57159746",
"0.5708909",
"0.5704036",
"0.5691018",
"0.5680633",
"0.5679884",
"0.56721675",
"0.5668776",
"0.56617147",
"0.5653704",
"0.56450534",
"0.5631555",
"0.56301695",
"0.5630147",
"0.56160164",
"0.5614341",
"0.56080115",
"0.56059724",
"0.5605161",
"0.5602399",
"0.5595803",
"0.5589509",
"0.55889094",
"0.55848837",
"0.55835277",
"0.5581338",
"0.55796146",
"0.5578923",
"0.5578878",
"0.5575275",
"0.5571173",
"0.55660427",
"0.5562549",
"0.5557003",
"0.55561256",
"0.55547583",
"0.5549593",
"0.55468506",
"0.5544937",
"0.55441755",
"0.5540438",
"0.553876",
"0.55363166",
"0.5525425",
"0.5525425",
"0.55243486",
"0.5515028",
"0.5510004",
"0.55085415",
"0.55083233"
] | 0.6503988 | 5 |
/ sets the amount of alts a player can have logged on at once | @EventHandler(priority = EventPriority.LOWEST)
public void tooManyLoggedInAccounts(PlayerLoginEvent event){ // Set to join because if kicked on login ip info isnt tracked.
UUID name = event.getPlayer().getUniqueId();
int count = 0;
int allowed = plugin.getConfig().getInt("banmanager.set.altlimit");
if (allowed == 0) return;
List<UUID> alts = am.getAltsListUUID(name);
Player[] players = Bukkit.getOnlinePlayers();
for (Player p: players)
if(alts.contains(p.getUniqueId())) count++;
if (count > allowed){
String reason = plugin.getConfig().getString("banmanager.set.altlimitreason");
event.setKickMessage(reason);
event.setResult(Result.KICK_BANNED);
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setPassCounter()\r\n {\r\n passCounter++;\r\n\r\n }",
"void setAccessCounterForSession(int cnt);",
"private void logino(int selected) {\n ExtendedAccountData data = queriedaccounts.get(selected);\n AltManager.getInstance().setUserOffline(data.alias);\n loginfailed = null;\n Minecraft.getMinecraft().displayGuiScreen(null);\n ExtendedAccountData current = getCurrentAsEditable();\n current.useCount++;\n current.lastused = JavaTools.getJavaCompat().getDate();\n }",
"public static void setPlayerCount(int playerCount) {\n PLAYER_COUNT = playerCount;\n }",
"int getNumberOfLoginAttempts()\r\n\t{\r\n\t\treturn 0;\r\n\t}",
"private void login(int selected) {\n ExtendedAccountData data = queriedaccounts.get(selected);\n loginfailed = AltManager.getInstance().setUser(data.user, data.pass);\n if (loginfailed == null) {\n Minecraft.getMinecraft().displayGuiScreen(null);\n ExtendedAccountData current = getCurrentAsEditable();\n current.premium = EnumBool.TRUE;\n current.useCount++;\n current.lastused = JavaTools.getJavaCompat().getDate();\n } else if (loginfailed instanceof AlreadyLoggedInException) {\n getCurrentAsEditable().lastused = JavaTools.getJavaCompat().getDate();\n } else if (HttpTools.ping(\"http://minecraft.net\")) {\n getCurrentAsEditable().premium = EnumBool.FALSE;\n }\n }",
"void incrementLoginAttempts(String username);",
"public static void SetMaxPassengers(double inLimit) \r\n {\r\n if (inLimit > 0) \r\n {\r\n maxPassengers = inLimit;\r\n } \r\n else \r\n {\r\n maxPassengers = 0;\r\n }\r\n }",
"public LimitedPlayer() {\r\n\t\tsuper.setturnsLimit(10);\r\n\t}",
"@Override\n\tpublic int numberOfAccounts() {\n\t\treturn counter;\n\t}",
"public void setActiveUserCount(int value) {\n this.activeUserCount = value;\n }",
"public void addConsecutiveLoginAttempts(){\n\t\tconsecutiveLoginAttempts++;\t\n\t}",
"public void ability(LevelManager lm){\n\n int prevDamage = lm.player.getDamage();\n int newDamage = prevDamage+12;\n lm.player.setDamage(newDamage);\n }",
"public void incrementNumAttacked( ){\n this.numAttacked++;\n }",
"public void attemptAttack() {\r\n\t\tattackAttempts += 100;\r\n\t}",
"public void setTotalPassengers(int value) {\n this.totalPassengers = value;\n }",
"protected void setPassagiersaantal(int aantal) {\r\n maxaantalpassagiersintrein = aantal;\r\n }",
"public void augActivePortalCount(UUID uuid, int amount) {\n\n if (!getConfig().getBoolean(\"metadata.track-active-portal-counts\")) {\n return;\n }\n ConfigurationSection ymlPlayerActivePortalCounts =\n metadataYaml.getConfigurationSection(\"player-active-portal-counts\");\n\n if (ymlPlayerActivePortalCounts == null) {\n metadataYaml.createSection(\"player-active-portal-counts\");\n return;\n }\n String key = uuid.toString();\n int total = amount;\n\n if (ymlPlayerActivePortalCounts.contains(key)) {\n total += ymlPlayerActivePortalCounts.getInt(key);\n }\n ymlPlayerActivePortalCounts.set(key, Math.max(total, 0));\n }",
"public void givePlayerLevelBonus() {\n\t\tfor(Player p : playerList) {\n\t\t\tif(p.getType() == PlayerType.Agent) {\n\t\t\t\tp.addScore(5 * (currentLevel-1));\n\t\t\t}\n\t\t}\n\t\tserver.updateHighscoreList();\n\t\tserver.addTextToLoggingWindow(\"Server gives all players level bonus\");\n\t}",
"private void getNumPlayers() {\n\t\tSystem.out.println(\"How many people are playing? (must be between \"+MIN_PLAYERS+\" and \"+MAX_PLAYERS+\")\");\n\t\tnumPlayers = GetInput.getInstance().anInteger(MIN_PLAYERS, MAX_PLAYERS);\n\t}",
"private void increaseAttempts() {\n attempts++;\n }",
"public void increaseTurnCount()\n\t{\n\t\tturnNumber++;\n\t\tthis.currentPlayerID++;\n\t\tthis.currentPlayerID = this.currentPlayerID % this.playerList.size();\n\t}",
"private void addPlayerSheild() {\n this.playerShield += 1;\n }",
"public int getPlayerCount() {\n return 0;\n }",
"private void setAttemptsPerTurn(final String s) {\n attemptsPerTurn = getInt(s);\n setAttemptsLeftThisTurn(attemptsPerTurn);\n }",
"public void setWins() {\r\n this.wins++;\r\n }",
"private void increaseScore() {\n this.game.getPlayers().values().forEach(ship -> {\n ship.increaseScore();\n if (ship.getScore() % 5 == 0) {\n this.asteroidsLimit++;\n }\n });\n }",
"public void setNumberOfPlayers(int numberOfPlayers) {\n this.numberOfPlayers = numberOfPlayers;\n }",
"void incrementAccessCounterForSession();",
"public void setAceCount(int aceCount){\n this.aceCount = aceCount;\n }",
"void setAccessCounter(int cnt);",
"public int checkNoOfExplosivesPlayerHolds () { return noOfExplosives; }",
"public void setAttempts(int value) {\n this.attempts = value;\n }",
"public void setAttempts(int A)\t\n\t{\t//start of setAttempts method\n\t\tattempts = A;\n\t}",
"public void action(Player myPlayer)\n {\n if (getNbUtilisation() == 0) {\n System.out.println(\"Not possible\");\n } else {\n int nHealthy = getPointsHealthy();\n myPlayer.addLifePoints(nHealthy);\n\n }\n }",
"private int getAttemptsPerTurn() {\n return attemptsPerTurn;\n }",
"public void setPlayerCount(short pPlayerCount) {\n\t\tthis.mPlayerCount = pPlayerCount;\n\t}",
"void setOverdraftLimit(double overdraftLimit) {\n\t\tSystem.out.println(\"Your account is not current account.\");\n\t}",
"public void setMaxLoginTrialCnt(Integer maxLoginTrialCnt) {\r\n this.maxLoginTrialCnt = maxLoginTrialCnt;\r\n }",
"@Override\n public int getTotalHumanPlayers() {\n return totalHumanPlayers;\n }",
"public void setBonusScore() {\r\n count = count+50;\r\n }",
"public void setPlayerRoll20()\r\n {\r\n \r\n roll2 = ((int)(Math.random() * 100) % HIGHEST_DIE_VALUE20 + LOWEST_DIE_VALUE20);\r\n \r\n }",
"public void rollStats() {\n\t\tRandom roll = new Random();\n\t\tint rolled;\n\t\tint sign;\n\t\t\n\t\t\n\t\trolled = roll.nextInt(4);\n\t\tsign = roll.nextInt(2);\n\t\tif (sign == 0) {\n\t\t\tsetMaxHealth(getMaxHealth() + rolled*(getDifficulty()+5/5));\n\t\t\tsetHealth(getMaxHealth());\n\t\t} else {\n\t\t\tsetMaxHealth(getMaxHealth() - rolled*(getDifficulty()+5/5));\n\t\t\tsetHealth(getMaxHealth());\n\t\t}\n\t\t\n\t\trolled = roll.nextInt(2);\n\t\tsign = roll.nextInt(2);\n\t\tif (sign == 0) {\n\t\t\tsetAttack(getAttack() + rolled*(getDifficulty()+5/5));\n\t\t} else {\n\t\t\tsetAttack(getAttack() - rolled*(getDifficulty()+5/5));\n\t\t}\n\t\t\n\t\trolled = roll.nextInt(2);\n\t\tsign = roll.nextInt(2);\n\t\tif (sign == 0) {\n\t\t\tsetDefense(getDefense() + rolled*(getDifficulty()+5/5));\n\t\t} else {\n\t\t\tsetDefense(getDefense() - rolled*(getDifficulty()+5/5));\n\t\t}\n\t\t\n\t\trolled = roll.nextInt(2);\n\t\tsign = roll.nextInt(2);\n\t\tif (sign == 0) {\n\t\t\tsetSpeed(getSpeed() + rolled*(getDifficulty()+5/5));\n\t\t} else {\n\t\t\tsetSpeed(getSpeed() - rolled*(getDifficulty()+5/5));\n\t\t}\n\t\t\n\t}",
"public int getNumberOfSeatsHeld() { return numberOfSeatsHeld; }",
"private void allowNewRoll(){\r\n\t\tdidBust = false;\r\n\t\tgameOver = false;\r\n\t\troll.setEnabled(true);\r\n\t\tsubmit.setEnabled(false);\r\n\t\tagain.setEnabled(false);\r\n\t\tnoMore.setEnabled(false);\r\n\t\tfor(int i = 0; i < rolls.length; i++){\r\n\t\t\trolls[i] = 0;\r\n\t\t\tselectedDice[i] = false;\r\n\t\t}\r\n\t\tstatusLabel.setText(\"Roll the dice!\");\r\n\t\tupdate();\r\n\t}",
"public void setBankroll(double money) {\n bankroll += money;\n if (bankroll <= 0){\n activePlayer = false;\n }\n }",
"@Override\n public void attackedByPaladin(double attack) {\n this.attack += (2 * attack) / 3;\n damageCounter = Math.max(damageCounter - (2 * attack) / 3, 0);\n }",
"public int numPlayers(){\n return this.members.size();\n }",
"public static int useFreeSign(UUID player){\n if(!storage.getConfig().contains(\"player.\" + player + \".free_signs\")){\n int amount = Conf.free_deathsigns - 1;\n if(amount >= 0) {\n storage.getConfig().set(\"player.\" + player + \".free_signs\", amount);\n saveSignFile();\n }\n return amount;\n }else {\n int amount = storage.getConfig().getInt(\"player.\" + player + \".free_signs\") - 1;\n if(amount >= 0) {\n storage.getConfig().set(\"player.\" + player + \".free_signs\", amount);\n saveSignFile();\n }\n return amount;\n }\n }",
"public static void main(String[] args) {\n int i = 3;\n boolean state;\n do {\n if (i == 0) {\n System.out.println(\"Acess denied\");\n break;\n }\n state = auth();\n if (!state) {\n i--;\n if (i >= 1) {\n System.out.println(\"You have \" + i + \" chances\");\n }\n } else {\n System.out.println(\"Acess granted\");\n }\n } while (!state);\n }",
"public void setAchievements(int achievements) {\n this.achievements = achievements;\n }",
"public void setNumDeparting() {\n if (isStopped() && !embarkingPassengersSet){\n \tRandom rand = new Random();\n \tint n = rand.nextInt(this.numPassengers+1);\n \tif (this.numPassengers - n <= 0) {\n \t\tthis.numPassengers = 0;\n n = this.numPassengers;\n \t} else {\n this.numPassengers = this.numPassengers - n;\n }\n trkMdl.passengersUnboarded(trainID, n);\n }\n \t//return 0;\n }",
"public void setMaximumPlayers(int maximumPlayers) {\n setOptionValue(ArenaOption.MAXIMUM_PLAYERS, maximumPlayers);\n }",
"int getAuthenticationCount();",
"public int getPlayerCount() {\n \n \treturn playerCount;\n \t\n }",
"public int getNumPlayerProtections(Player player) {\n List list;\n try {\n list = (List) plugin.map.get(player.getName());\n return list.size();\n } catch (NullPointerException e) {\n plugin.map.put(player.getName(), new ArrayList<>());\n return 0;\n }\n }",
"private void updatePlayersWorth(){\n for (Player e : playerList) {\n e.setPlayerWorth(getTotalShareValue(e) + e.getFunds());\n }\n }",
"int getAchieveInfoCount();",
"public void updatePlayerScore()\n\t{\n\t\tthis.score = (int)(getBalance() - 500) - (getNumberOfLoans()*500); \n\t}",
"int getAchievementsCount();",
"public int checkNoOfRapelPlayerHolds () { return noOfRapels; }",
"public void acivatePlayer() {\n\t\tthis.setEnabled(true);\n\t}",
"public void setAuthCnt(Integer authCnt) {\r\n this.authCnt = authCnt;\r\n }",
"public void setSteak(double countNo) {\n steak = countNo;\r\n }",
"public void setNumberOfSeatsHeld(int numberOfSeatsHeld) {\n this.numberOfSeatsHeld = numberOfSeatsHeld;\n }",
"public void setKills(Player player, int newCount) {\n\t\tsetStatsProperty(StatsProperty.KILLS, player, newCount);\n\t}",
"public int countPlayers(){\n return players.size();\n }",
"public static void playerWonInc(){\r\n\t\t_playerWon++;\r\n\t}",
"public void update(int count){\n\t\tthis.count += count;\n\n\t\tif(this.count >= totalCount)\n\t\t\tachieved = true;\n\t}",
"void gainHealth(int points) {\n this.health += points;\n }",
"public void setLoses() {\r\n this.losses++;\r\n }",
"public void setMinimumPlayers(int nPlayers)\r\n {\n \r\n }",
"@Override\n public void attackedByShaman(double attack) {\n damageCounter += (2 * attack) / 3;\n this.attack = Math.max(this.attack - (2 * attack) / 3, 0);\n }",
"private void setLikesCount(int value) {\n \n likesCount_ = value;\n }",
"Status setWornCount();",
"public void setLives(int lives){\n liveCount = lives;\n }",
"private void increaseCurrentPlayerIndex() {\n\t\tcurrentPlayer++;\n\t\tif(currentPlayer>3)\n\t\t\tcurrentPlayer=0;\n\t}",
"public static void setCount(int aCount) {\n count = aCount;\n }",
"public void updatePatience(){\n Patience = Patience - 1;\n }",
"public int getPlayerCount() {\n\t\treturn playerCount;\n\t}",
"public void increaseWins(){\n this.numberOfWins=this.numberOfWins+1;\n }",
"public void win(int player)\r\n\t{\r\n\t\taccountValue[player]+=pool;\r\n\t\tendRund();\r\n\t}",
"private void setHealth() {\n eliteMob.setHealth(maxHealth = (maxHealth > 2000) ? 2000 : maxHealth);\n }",
"public void resetAttackAttempts() {\r\n\t\tattackAttempts = 0;\r\n\t}",
"String getLoginapifailhitcount();",
"public int askHowManyUsers() {\r\n\t\tint userAmount = 0;\r\n\t\tboolean correctInput = false;\r\n\r\n\t\twhile (correctInput == false) {\r\n\t\t\tSystem.out.println(\r\n\t\t\t\t\t\"How many players would like to participate in the game?\\nPlease type 1,2,3 or 4. If you type 1 a virtual user will automatically be created. Otherwise have fun playing with your human friends!\");\r\n\t\t\ttry {\r\n\t\t\t\tuserAmount = input.nextInt();\r\n\t\t\t\tinput.nextLine();\r\n\t\t\t\tif (userAmount == 1 || userAmount == 2 || userAmount == 3 || userAmount == 4 || userAmount == 5) {\r\n\t\t\t\t\tcorrectInput = true;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tif (userAmount > 5) {\r\n\t\t\t\t\t\tSystem.out.println(\"Five players is the maximum!\");\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif (userAmount == 0) {\r\n\t\t\t\t\t\tSystem.out.println(\"At least one person should play!\");\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t} catch (InputMismatchException e) {\r\n\t\t\t\tSystem.out.println(\"Please type a number\");\r\n\t\t\t\tinput.nextLine();\r\n\t\t\t\tcontinue;\r\n\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn userAmount;\r\n\t}",
"public void setAmmount(int ammount) {\r\n this.ammount = ammount;\r\n }",
"public Integer getMaxLoginTrialCnt() {\r\n return maxLoginTrialCnt;\r\n }",
"public void abstractUpdateAI()\n {\n player.setClock(player.getClock()+1);\n \n if (player.getClock() > 15 && player.getAlive()) { \n updateAI();\n } \n }",
"@Test\r\n public void testAuthSessionAfterTimeoutPassUnderMax() {\r\n try {\r\n SessionThrottler throttler = new SessionThrottler(mockHelper);\r\n throttler.setMaxAuthSession(2);\r\n String userId = \"FDJTEST\";\r\n boolean allowAuthSession = throttler.allowAuthSession(\"abcd1234\", userId);\r\n assertTrue(\"Failed to allow auth session\", allowAuthSession);\r\n } catch (Exception e) {\r\n fail(e.getMessage());\r\n e.printStackTrace();\r\n }\r\n }",
"Player(String name){\n this.name = name;\n funds = 500;\n shares = new ArrayList<>(5);\n votedStocks = new StringBuilder();\n votesLeft = 2;\n tradesLeft = 2;\n playerWorth = 0;\n botMode = false;\n addShares();\n }",
"public BigDecimal getLoginCount() {\r\n return loginCount;\r\n }",
"public void nextPlayer() {\r\n if (currentPlayer == totalPlayer) {\r\n currentPlayer = 1;\r\n } else {\r\n currentPlayer++;\r\n }\r\n }",
"public void increaseVictoriesBy(final int amount) {\n victories += amount;\n }",
"public void setCurrentAlloment(int value) {\n this.currentAlloment = value;\n }",
"public int getActiveUserCount() {\n return activeUserCount;\n }",
"int getUserCount();",
"int getUserCount();",
"public void setExpiredSessions(long expiredSessions);",
"@Override\n public int howManyActivated(){\n return (gameboardPanel.howManyActivated() + leaderCardsPanel.howManyActivated());\n }"
] | [
"0.6170548",
"0.6025706",
"0.5988223",
"0.5929131",
"0.5880658",
"0.58723813",
"0.58681047",
"0.5848667",
"0.58198625",
"0.57715124",
"0.5760487",
"0.5753714",
"0.5741544",
"0.57314545",
"0.57112753",
"0.5692178",
"0.5675468",
"0.5674531",
"0.56702256",
"0.5668734",
"0.56494445",
"0.56454295",
"0.5598318",
"0.5597552",
"0.5575781",
"0.55709237",
"0.5567267",
"0.55639344",
"0.5562552",
"0.5548671",
"0.5548218",
"0.5528406",
"0.5519334",
"0.55127907",
"0.55110973",
"0.5497551",
"0.54627544",
"0.54599196",
"0.54541904",
"0.5453107",
"0.5413428",
"0.5412795",
"0.5404175",
"0.53917736",
"0.5384675",
"0.5373064",
"0.53597784",
"0.5352593",
"0.5347951",
"0.5347022",
"0.53408754",
"0.53318244",
"0.5327648",
"0.53275406",
"0.53192127",
"0.5311621",
"0.5308501",
"0.53059655",
"0.5289513",
"0.52833235",
"0.5268703",
"0.52661854",
"0.5265279",
"0.52627003",
"0.5262302",
"0.5262179",
"0.5254908",
"0.524834",
"0.5242416",
"0.5239671",
"0.523687",
"0.52222186",
"0.52221334",
"0.5221056",
"0.521908",
"0.5216043",
"0.5208282",
"0.5192517",
"0.519154",
"0.51913315",
"0.51905084",
"0.5189486",
"0.51782477",
"0.51752853",
"0.51627463",
"0.5161281",
"0.5159683",
"0.51568747",
"0.5156716",
"0.5154829",
"0.5150887",
"0.51504385",
"0.51474786",
"0.51391476",
"0.51352394",
"0.51306015",
"0.51302004",
"0.51302004",
"0.5129882",
"0.5129695"
] | 0.6467195 | 0 |
shows one or to additional textAreas, depending on which shape is chosen | private void sizeBoxAction(ChoiceBox<String> box) {
if (box.getId().equals("inRecipeBox")) {
if (inRecipeBox.getValue().equals("Rectangular")) { // both areas are set visible bc we need two sides of rectangle
inRecipeArea1.setVisible(false);
inRecipeArea2.setVisible(false);
cm1.setText("");
inRecipeSize.setText("Size:");
inRecipeArea1.setVisible(true);
inRecipeArea2.setVisible(true);
x1.setText(" x");
cm1.setText(" cm");
} else {
cm1.setText("");
inRecipeArea1.setVisible(false);
inRecipeArea2.setVisible(false);
inRecipeArea1.setText("");
inRecipeArea2.setText("");
inRecipeSize.setText("Diameter:");
inRecipeArea1.setVisible(true);
x1.setText(" cm");
}
}
else {
if (IHaveBox.getValue().equals("Rectangular")) { // one area is set visible bc we only need a diameter of circle
IHaveArea1.setVisible(false);
IHaveArea2.setVisible(false);
cm2.setText("");
IHaveSize.setText("Size:");
IHaveArea1.setVisible(true);
IHaveArea2.setVisible(true);
x2.setText(" x");
cm2.setText(" cm");
} else {
cm2.setText("");
IHaveArea1.setVisible(false);
IHaveArea2.setVisible(false);
IHaveArea1.setText("");
IHaveArea2.setText("");
IHaveSize.setText("Diameter:");
IHaveArea1.setVisible(true);
x2.setText(" cm");
}
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setShape(String shape)\n\t{\n \t \n \tlength.setVisible(false); \n \twidth.setVisible(false); \n \theight.setVisible(false); \n \tradius.setVisible(false); \n \tradius2.setVisible(false); \n \troll.setVisible(false); \n \tpitch.setVisible(false); \n \tyaw.setVisible(false); \n \tquality.setVisible(false); \n \tsides.setVisible(false);\n \t\n \tlengthText.setVisible(false); \n \twidthText.setVisible(false); \n \theightText.setVisible(false); \n \tradiusText.setVisible(false); \n \tradius2Text.setVisible(false); \n \trollText.setVisible(false); \n \tpitchText.setVisible(false); \n \tyawText.setVisible(false); \n \tqualityText.setVisible(false); \n \tsidesText.setVisible(false);\n \t\n\t\tif(shape.equals(\"Cube\"))\n \t{\n \t\tlengthText.setVisible(true);\n \t\tlength.setVisible(true);\n \t\twidthText.setVisible(true);\n \t\twidth.setVisible(true);\n \t\theightText.setVisible(true);\n \t\theight.setVisible(true);\n \t\trollText.setVisible(true);\n \t\troll.setVisible(true);\n \t\tpitchText.setVisible(true);\n \t\tpitch.setVisible(true);\n \t\tyawText.setVisible(true);\n \t\tyaw.setVisible(true);\n \t\t\n \t\tlength.setText(\"1\");\n \t\twidth.setText(\"1\");\n \t\theight.setText(\"1\");\n \t\troll.setText(\"0\");\n \t\tpitch.setText(\"0\");\n \t\tyaw.setText(\"0\");\n \t}\n \telse if(shape.equals(\"Sphere\"))\n \t{\n \t\tradiusText.setVisible(true);\n \t\tradius.setVisible(true);\n \t\tqualityText.setVisible(true);\n \t\tquality.setVisible(true);\n \t\t\n \t\tradius.setText(\"1\");\n \t\tquality.setText(\"15\");\n \t}\n \telse if(shape.equals(\"Prism\"))\n \t{\n \t\theightText.setVisible(true);\n \t\theight.setVisible(true);\n \t\tradiusText.setVisible(true);\n \t\tradius.setVisible(true);\n \t\tsidesText.setVisible(true);\n \t\tsides.setVisible(true);\n \t\trollText.setVisible(true);\n \t\troll.setVisible(true);\n \t\tpitchText.setVisible(true);\n \t\tpitch.setVisible(true);\n \t\tyawText.setVisible(true);\n \t\tyaw.setVisible(true);\n \t\t\n \t\theight.setText(\"1\");\n \t\tradius.setText(\"1\");\n \t\tsides.setText(\"4\");\n \t\troll.setText(\"0\");\n \t\tpitch.setText(\"0\");\n \t\tyaw.setText(\"0\");\n \t\t\n \t}\n \telse if(shape.equals(\"Cylinder\"))\n \t{\n \t\theightText.setVisible(true);\n \t\theight.setVisible(true);\n \t\tradiusText.setVisible(true);\n \t\tradius.setVisible(true);\n \t\trollText.setVisible(true);\n \t\troll.setVisible(true);\n \t\tpitchText.setVisible(true);\n \t\tpitch.setVisible(true);\n \t\t//yawText.setVisible(true);\n \t\t//yaw.setVisible(true);\n \t\t\n \t\theight.setText(\"1\");\n \t\tradius.setText(\"1\");\n \t\troll.setText(\"0\");\n \t\tpitch.setText(\"0\");\n \t\t//yaw.setText(\"0\");\n \t}\n \telse if(shape.equals(\"Torus\"))\n \t{\n \t\tradiusText.setVisible(true);\n \t\tradius.setVisible(true);\n \t\tradius2Text.setVisible(true);\n \t\tradius2.setVisible(true);\n \t\tqualityText.setVisible(true);\n \t\tquality.setVisible(true);\n \t\trollText.setVisible(true);\n \t\troll.setVisible(true);\n \t\tpitchText.setVisible(true);\n \t\tpitch.setVisible(true);\n \t\tyawText.setVisible(true);\n \t\tyaw.setVisible(true);\n \t\t\n \t\tradius.setText(\"1\");\n \t\tradius2.setText(\"2\");\n \t\tquality.setText(\"15\");\n \t\troll.setText(\"0\");\n \t\tpitch.setText(\"0\");\n \t\tyaw.setText(\"0\");\n \t}\n \t\n\t}",
"private void generateTextArea()\n {\n //Clear the textArea\n textArea.selectAll();\n textArea.replaceSelection(\"\");\n\n MyCircle circle = panel.getCircle();\n\n //Add all of the required information to the textarea\n textArea.append(String.format(\"AREA: %.2f %n\", circle.getArea()));\n textArea.append(\"RADIUS: \"+circle.getRadius()+\"\\n\");\n textArea.append(\"DIAMETER: \"+circle.getDiameter()+\"\\n\");\n textArea.append(String.format(\"CIRCUMFERENCE: %.2f %n\", circle.getCircumference()));\n }",
"private void drawtab(Graphics g1, int startoffset, int endoffset, boolean isUpwardTab, String text, Color color, String flag){\n\n // ~~~~ 1 ~~~~ revursive for one situation that this annotation are \n // layout on more than one line\n try{\n \n // ~~~~ 1.1 ~~~~ get rectangle of the annotation\n Rectangle rect1 = this.getUI().modelToView(this, startoffset);\n int y1 = rect1.y; // get the Y coordinate of the upper-left corner of the Rectangle.\n Rectangle rect2 = this.getUI().modelToView(this, endoffset);\n int y2 = rect2.y; // get the Y coordinate of the upper-left corner of the Rectangle.\n \n // ~~~~ 1.2 ~~~~ get \n // this annotation are layout on more than one line, if the span \n // start and the span end have different Y coordinate of their \n // upper-left corner of the their rectangle.\n if( y1!=y2){\n for( int i=startoffset; i<=endoffset;i++){\n Rectangle recttemp = this.getUI().modelToView(this, i);\n int ytemp = recttemp.y;\n if( ytemp == y1 )\n continue;\n else{\n //System.out.println(\"i=\"+i+\", start = \" + startoffset + \", endoffset = \"+ endoffset);\n drawtab(g1, startoffset, i-1, isUpwardTab, text.substring(0, i-1-startoffset), color, flag);//\n drawtab(g1, i, endoffset, isUpwardTab, text.substring(i-startoffset, text.length()), color, \"dead\");//\n return;\n }\n\n }\n }\n\n }catch(Exception ex){\n log.LoggingToFile.log( Level.SEVERE, ex.getMessage() );\n }\n\n \n // ~~~~ 2 ~~~~\n // This part is used to draw the rectangle area of a tab \n try {\n // color for line\n //Color linecolor_outer = new Color(153,153,102);\n Color linecolor;\n \n if(( flag!=null)&&(flag.equals(\"father\")))\n linecolor = new Color(204,0,0);\n else\n linecolor = new Color(0,0,204);\n \n Color linecolor_outer = linecolor;\n Color linecolor_inner = new Color(204,204,204);\n \n\n // get rectangle of the annotation\n Rectangle re = this.getUI().modelToView(this, startoffset);\n\n // coordinates (x1,y1) of the upper left point of the rectangle\n // view to this caret point\n int rect_upperleftX = re.x, rect_upperleftY = re.y;\n int rect_height = re.height;\n // coordinates (x2,y2) of the upper right point of the rectangle\n // view to this caret point\n re = this.getUI().modelToView(this, endoffset);\n int rect_upperrightX = re.x, rect_upperrightY = re.y;\n\n int extraheight = 3;\n\n // dirction of tab's head: to top or to bottom\n if( isUpwardTab ){\n\n Color fillcolor;\n fillcolor = ( color==null? new Color(204,204,204) : color);\n \n //g1.setColor( new Color(204,204,204) );\n //g1.fillRect(rect_upperleftX+3, rect_upperleftY-extraheight+3, \n // Math.abs(rect_upperrightX - rect_upperleftX)-3,\n // rect_height+extraheight-3);\n\n //g1.setColor(fillcolor);\n //g1.fillRect(rect_upperleftX, rect_upperleftY - extraheight , rect_upperrightX - rect_upperleftX + 2, extraheight+4);\n\n //g1.setColor(linecolor_outer);\n //g1.drawRect(rect_upperleftX, rect_upperleftY - extraheight-1, rect_upperrightX - rect_upperleftX, rect_height+extraheight+2);\n \n g1.setColor( Color.WHITE ); \n g1.fillRect(rect_upperleftX, rect_upperleftY - extraheight , rect_upperrightX - rect_upperleftX + 2, re.height + 2);\n g1.setColor( linecolor );\n //g1.fillRoundRect(re.x, re.y, re.width, re.height, 10, 10);\n g1.fillRect(rect_upperleftX, rect_upperleftY - extraheight , rect_upperrightX - rect_upperleftX + 2, re.height + 2 );\n g1.setColor( color );\n g1.fillRect(rect_upperleftX+2, rect_upperleftY - extraheight + 2 , rect_upperrightX - rect_upperleftX -2, re.height - 2 );\n //g1.drawRect(+1, rect_upperleftY - extraheight, rect_upperrightX - rect_upperleftX-2, rect_height+extraheight-0);\n //.setColor(linecolor_inner);\n //g1.drawRect(rect_upperleftX+2, rect_upperleftY - extraheight+1, rect_upperrightX - rect_upperleftX-4, rect_height+extraheight-2);\n\n g1.setColor(Color.black);\n\n // draw point\n if(( flag!=null)&&(flag.equals(\"dead\"))){\n \n } else {\n\n int cx = rect_upperleftX+2;\n int cy = rect_upperleftY - extraheight+2;\n g1.fillOval( cx, cy, 10, 10);\n\n if(( flag!=null)&&(flag.equals(\"father\")))\n g1.setColor( Color.red );\n else\n g1.setColor( new Color(255,153,0) );\n \n g1.fillOval( cx, cy, 8, 8);\n }\n\n g1.setColor(Color.black);\n int elementindex = this.getDocument().getDefaultRootElement().getElementIndex(startoffset);\n Element e = this.getDocument().getDefaultRootElement().getElement(elementindex);\n Font font = this.getStyledDocument().getFont( e.getAttributes() );\n\n int r = color.getAlpha();\n int b = color.getBlue();\n int gg = color.getGreen();\n double grayLevel = r * 0.299 + gg * 0.587 + b * 0.114;\n Color textcolor = grayLevel > 192 ? Color.BLACK : Color.white;\n \n g1.setFont( font );\n g1.setColor( textcolor );\n // draw text\n if((text!=null)&&(text.length()>0))\n //g1.drawString(text, rect_upperleftX+2, rect_upperleftY + rect_height-2);\n g1.drawString(text, rect_upperleftX, rect_upperleftY + re.height - 7 );\n \n // opinion1: draw rect\n /*\n\n // lining: lowerleft - lowerright\n g1.drawLine(rect_upperleftX+i, rect_upperleftY-i+rect_height, rect_upperrightX - i,\n rect_upperleftY - i+rect_height );\n\n // lining: topleft - lowerleft\n g1.drawLine(rect_upperleftX+i, rect_upperleftY+i, rect_upperleftX+i,\n rect_upperleftY - i + rect_height );\n\n // lining: topright - lowerright\n g1.drawLine(rect_upperrightX - i, rect_upperrightY + i, rect_upperrightX - i,\n rect_upperrightY - i + rect_height );\n */\n\n }\n\n\n\n //System.out.println(\"start startOffset = \" + re2.startOffset + \", endOffset = \" + re2.endOffset + \"; width = \"+re2.width + \", height = \" + re2.height);\n\n } catch (Exception ex) {\n log.LoggingToFile.log( Level.SEVERE, \"Error 1010140012:: fail to draw tab\" + ex.toString());\n }\n }",
"@Override\r\n public boolean isText ()\r\n {\r\n Shape shape = getShape();\r\n\r\n return (shape != null) && shape.isText();\r\n }",
"public void changeText(VecShape.Mode mode){\n if (mode == VecShape.Mode.PLOT){\n this.setText(\"PLOT: Click mouse to draw a plot\");\n } else if (mode == VecShape.Mode.LINE){\n this.setText(\"LINE: Click & Drag mouse to draw. Release to finish drawing a line \");\n } else if (mode == VecShape.Mode.RECTANGLE){\n this.setText(\"RECTANGLE: Click & Drag mouse to draw. Release to finish drawing a rectangle\");\n } else if (mode == VecShape.Mode.ELLIPSE){\n this.setText(\"Ellipse: Click & Drag mouse to draw. Release to finish drawing a ellipse\");\n } else if (mode == VecShape.Mode.POLYGON) {\n this.setText(\"POLYGON: Double click to finish drawing a polygon. Drag mouse to draw a free shape\");\n }\n }",
"@Override\n\tpublic void drawShape(Graphics2D g) {\n\t\tsuper.drawShape(g);\n\t\trect.drawAndFillShape(g);\n\t\tuiText.drawShape(g);\n\t}",
"@Override\n\tpublic String shape() {\n\t\treturn \"Text\";\n\t}",
"public void mouseClicked(MouseEvent e) {\n\t\t\tint x = e.getX();\n\t\t\tint y = e.getY();\n\n\t\t\t// selected area is highlighted by drawing a rectangle around it\n\t\t\t// areaLabel flashes the name of the area selected\n\t\t\tif ((x >= 230 && x <= 329) && (y >= 155 && y <= 295)) {\n\n\t\t\t\tsection = new Rectangle(230, 155, 99, 140);\n\t\t\t\trepaint();\n\t\t\t\tsectionLabel.setText(\"TOILET 1\");\n\n\t\t\t\tid = 1;\n\n\t\t\t} else if ((x >= 319 && x <= 480) && (y >= 225 && y <= 507)) {\n\t\t\t\tsection = new Rectangle(319, 225, 161, 282);\n\t\t\t\trepaint();\n\n\t\t\t\tsectionLabel.setText(\"BEDROOM 1\");\n\t\t\t\tsectionLabel.revalidate();\n\n\t\t\t\tid = 2;\n\n\t\t\t} else if ((x >= 478 && x <= 651) && (y >= 226 && y <= 437)) {\n\t\t\t\tsection = new Rectangle(478, 226, 173, 211);\n\t\t\t\trepaint();\n\n\t\t\t\tsectionLabel.setText(\"LIVING ROOM\");\n\t\t\t\tsectionLabel.revalidate();\n\n\t\t\t\tid = 3;\n\n\t\t\t} else if ((x >= 478 && x <= 686) && (y >= 450 && y <= 581)) {\n\t\t\t\tsection = new Rectangle(478, 450, 208, 131);\n\t\t\t\trepaint();\n\n\t\t\t\tsectionLabel.setText(\"DINING ROOM\");\n\t\t\t\tsectionLabel.revalidate();\n\n\t\t\t\tid = 4;\n\n\t\t\t} else if ((x >= 654 && x <= 779) && (y >= 227 && y <= 405)) {\n\t\t\t\tsection = new Rectangle(654, 227, 125, 178);\n\t\t\t\trepaint();\n\n\t\t\t\tsectionLabel.setText(\"KITCHEN\");\n\t\t\t\tsectionLabel.revalidate();\n\n\t\t\t\tid = 5;\n\n\t\t\t} else if ((x >= 776 && x <= 929) && (y >= 225 && y <= 404)) {\n\t\t\t\tsection = new Rectangle(776, 225, 153, 179);\n\t\t\t\trepaint();\n\n\t\t\t\tsectionLabel.setText(\"BEDROOM 2\");\n\t\t\t\tsectionLabel.revalidate();\n\n\t\t\t\tid = 6;\n\n\t\t\t} else if ((x >= 688 && x <= 782) && (y >= 460 && y <= 589)) {\n\t\t\t\tsection = new Rectangle(688, 460, 94, 129);\n\t\t\t\trepaint();\n\n\t\t\t\tsectionLabel.setText(\"TOILET 2\");\n\t\t\t\tsectionLabel.revalidate();\n\n\t\t\t\tid = 7;\n\t\t\t} else if ((x >= 929 && x <= 1094) && (y >= 226 && y <= 486)) {\n\t\t\t\tsection = new Rectangle(929, 224, 165, 262);\n\t\t\t\trepaint();\n\n\t\t\t\tsectionLabel.setText(\"MASTER BEDROOM\");\n\n\t\t\t\tsectionLabel.revalidate();\n\n\t\t\t\tid = 8;\n\n\t\t\t} else if ((x >= 958 && x <= 1095) && (y >= 489 && y <= 590)) {\n\t\t\t\tsection = new Rectangle(958, 489, 137, 101);\n\t\t\t\trepaint();\n\n\t\t\t\tsectionLabel.setText(\"TOILET 3\");\n\t\t\t\tsectionLabel.revalidate();\n\n\t\t\t\tid = 9;\n\n\t\t\t} else if ((x >= 346 && x <= 1095) && (y >= 138 && y <= 223)) {\n\t\t\t\tsection = new Rectangle(346, 138, 748, 85);\n\t\t\t\trepaint();\n\n\t\t\t\tsectionLabel.setText(\"BALCONY\");\n\t\t\t\tsectionLabel.revalidate();\n\n\t\t\t\tid = 10;\n\t\t\t} else {\n\t\t\t\tsection = null;\n\t\t\t\tsectionLabel.setText(\"\");\n\n\t\t\t\tid = 0;\n\t\t\t}\n\n\t\t}",
"@Override\n public void paint(Graphics g) {\n Graphics2D g2 = (Graphics2D) g;\n switch (type) {\n case TYPE_TEXT:\n Rectangle rect = new Rectangle(getLocalX(), getLocalY(), getRealWidth(), getRealHeight());\n PaintComp.paintText(g, getText(), rect, getFont(), this.getForeground(), getHorizontalAlignment(), getVerticalAlignment(), text_eNumeric, true);\n break;\n case TYPE_BANDA:\n super.paint(g);\n break;\n case TYPE_IMAGE:\n PaintComp.paintImage(g2, getText(), image_drawMode, getRealWidth(), getRealHeight(), getLocalX(), getLocalY(), true);\n break;\n }\n // add handlers\n if (selected) {\n lHandlers = new ArrayList<>();\n if (type != Types.TYPE_BANDA) {\n // colturi\n lHandlers.add(new EtiHandler(getLocalX() + getRealWidth(), getLocalY(), Cursor.NE_RESIZE_CURSOR));\n lHandlers.add(new EtiHandler(getLocalX(), getLocalY() + getRealHeight(), Cursor.SW_RESIZE_CURSOR));\n lHandlers.add(new EtiHandler(getLocalX(), getLocalY(), Cursor.NW_RESIZE_CURSOR));\n lHandlers.add(new EtiHandler(getLocalX() + getRealWidth(), getLocalY() + getRealHeight(), Cursor.SE_RESIZE_CURSOR));\n // mijloace\n lHandlers.add(new EtiHandler(getLocalX(), getLocalY() + getRealHeight() / 2, Cursor.W_RESIZE_CURSOR));\n lHandlers.add(new EtiHandler(getLocalX() + getRealWidth(), getLocalY() + getRealHeight() / 2, Cursor.E_RESIZE_CURSOR));\n lHandlers.add(new EtiHandler(getLocalX() + getRealWidth() / 2, getLocalY(), Cursor.N_RESIZE_CURSOR));\n lHandlers.add(new EtiHandler(getLocalX() + getRealWidth() / 2, getLocalY() + getRealHeight(), Cursor.S_RESIZE_CURSOR));\n }\n PaintComp.paintHandlers(g2, lHandlers);\n } else {\n lHandlers = new ArrayList<>();\n }\n\n }",
"void setShapeLabel(String Label);",
"String getShapeLabel();",
"public void addTextArea(String text) throws BadLocationException {\n\t\tcurrentTextArea = new JTextArea(text == null ? \"\" : text);\n AbstractDocument document = (AbstractDocument) currentTextArea.getDocument();\n document.setDocumentFilter(new Filter());\n\t\tcurrentTextArea.setBorder(BorderFactory.createLineBorder(Color.white));\n\t\tcurrentTextArea.setSize(750,2);\n\t\tcontainer.add(currentTextArea);\n\t\tcurrentTextArea.requestFocusInWindow();\n\t\tcurrentTextArea.setCaretPosition(currentTextArea.getDocument().getLength());\n\n\t\tcurrentTextArea.addKeyListener(new java.awt.event.KeyAdapter() {\n\t\t\tpublic void keyPressed(java.awt.event.KeyEvent evt) {\n\t\t\t\ttry {\n\t\t\t\t\tjTextArea1WriteCommand(evt);\n\t\t\t\t} catch (BadLocationException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\trefreshView();\n\t}",
"public Ventana() {\n initComponents();\n this.tipos.add(GD_C);\n this.tipos.add(GD_S);\n this.tipos.add(GND_C);\n this.tipos.add(GND_S);\n this.panel.setArea_text(text);\n\n }",
"private void writeTextArea(){\r\n try\r\n {\r\n //Fill in \"textArea\" with club names and results\r\n textArea.appendText(\"OK: \" + choiceHomeTeam.getValue() + \" - \" + choiceAwayTeam.getValue() + \" \" \r\n + Integer.valueOf(finalTimeHomeScore.getText()) + \":\"\r\n + Integer.valueOf(finalTimeAwayScore.getText()) + \"(\" \r\n + Integer.valueOf(halfTimeHomeScore.getText()) + \":\" \r\n + Integer.valueOf(halfTimeAwayScore.getText()) + \")\\n\");\r\n textArea.setWrapText(true);\r\n //the letters will be green\r\n textArea.setStyle(\"-fx-text-fill: #4F8A10;\"); \r\n }\r\n //Fill in \"textArea\" with erros\r\n catch(NumberFormatException e)\r\n {\r\n textArea.appendText(\"Error: \" + e.getMessage() + \"\\n\");\r\n textArea.setWrapText(true);\r\n //the letters will be red\r\n textArea.setStyle(\"-fx-text-fill: RED;\"); \r\n } \r\n }",
"@Override\r\n public void draw(Canvas canvas) {\r\n if (text == null) {\r\n throw new IllegalStateException(\"Attempting to draw a null text.\");\r\n }\r\n\r\n // Draws the bounding box around the TextBlock.\r\n RectF rect = new RectF(text.getBoundingBox());\r\n rect.left = translateX(rect.left);\r\n rect.top = translateY(rect.top);\r\n rect.right = translateX(rect.right);\r\n rect.bottom = translateY(rect.bottom);\r\n canvas.drawRect(rect, rectPaint);\r\n\r\n // Log.d(\"area\", \"text: \" + text.getText() + \"\\nArea: \" + Area);\r\n /**Here we are defining a Map which takes a string(Text) and a Integer X_Axis.The text will act as key to the X_Axis.\r\n Once We Got the X_Axis we will pass its value to a SparseIntArray which will Assign X Axis To Y Axis\r\n .Then We might Create another Map which will Store Both The text and the coordinates*/\r\n int X_Axis = (int) rect.left;\r\n int Y_Axis = (int) rect.bottom;\r\n\r\n // Renders the text at the bottom of the box.\r\n Log.d(\"PositionXY\", \"x: \"+X_Axis +\" |Y: \"+ Y_Axis);\r\n canvas.drawText(text.getText(), rect.left, rect.bottom, textPaint); // rect.left and rect.bottom are the coordinates of the text they can be used for mapping puposes\r\n\r\n\r\n }",
"public void title(){\n textFont(select,30);\n fill(150);\n text(\"PLANE SELECT\",482,72);\n fill(0);\n text(\"PLANE SELECT\",480,70);\n}",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jPanel1 = new javax.swing.JPanel();\n jLabel1 = new javax.swing.JLabel();\n jLabel2 = new javax.swing.JLabel();\n startTextField = new javax.swing.JTextField();\n stopTextField = new javax.swing.JTextField();\n jLabel3 = new javax.swing.JLabel();\n nameTextField = new javax.swing.JTextField();\n jLabel4 = new javax.swing.JLabel();\n jScrollPane1 = new javax.swing.JScrollPane();\n textPane = new javax.swing.JTextPane();\n jButton1 = new javax.swing.JButton();\n jButton2 = new javax.swing.JButton();\n nameTextField1 = new javax.swing.JTextField();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);\n setResizable(false);\n\n jPanel1.setBorder(javax.swing.BorderFactory.createTitledBorder(null, \"Custom Annotation\", javax.swing.border.TitledBorder.CENTER, javax.swing.border.TitledBorder.DEFAULT_POSITION));\n\n jLabel1.setText(\"Start\");\n\n jLabel2.setText(\"Stop\");\n\n startTextField.setEditable(false);\n\n stopTextField.setEditable(false);\n\n jLabel3.setText(\"Name\");\n\n jLabel4.setText(\"Notes\");\n\n textPane.setEditable(false);\n jScrollPane1.setViewportView(textPane);\n\n jButton1.setText(\"Add\");\n jButton1.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton1ActionPerformed(evt);\n }\n });\n\n jButton2.setText(\"Cancel\");\n jButton2.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton2ActionPerformed(evt);\n }\n });\n\n org.jdesktop.layout.GroupLayout jPanel1Layout = new org.jdesktop.layout.GroupLayout(jPanel1);\n jPanel1.setLayout(jPanel1Layout);\n jPanel1Layout.setHorizontalGroup(\n jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)\n .add(jPanel1Layout.createSequentialGroup()\n .addContainerGap()\n .add(jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING, false)\n .add(jPanel1Layout.createSequentialGroup()\n .add(jLabel2)\n .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)\n .add(stopTextField))\n .add(jPanel1Layout.createSequentialGroup()\n .add(jLabel1)\n .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)\n .add(startTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 60, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))\n .add(47, 47, 47)\n .add(jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)\n .add(jLabel3)\n .add(jLabel4))\n .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)\n .add(jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)\n .add(nameTextField1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 185, Short.MAX_VALUE)\n .add(nameTextField))\n .addContainerGap())\n .add(jScrollPane1)\n .add(org.jdesktop.layout.GroupLayout.TRAILING, jPanel1Layout.createSequentialGroup()\n .add(0, 0, Short.MAX_VALUE)\n .add(jButton2)\n .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)\n .add(jButton1))\n );\n jPanel1Layout.setVerticalGroup(\n jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)\n .add(jPanel1Layout.createSequentialGroup()\n .add(jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)\n .add(jLabel1)\n .add(startTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)\n .add(jLabel3)\n .add(nameTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)\n .add(jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)\n .add(stopTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)\n .add(jLabel2)\n .add(jLabel4)\n .add(nameTextField1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))\n .add(12, 12, 12)\n .add(jScrollPane1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 129, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 7, Short.MAX_VALUE)\n .add(jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)\n .add(jButton1)\n .add(jButton2)))\n );\n\n org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)\n .add(jPanel1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)\n .add(jPanel1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n );\n\n pack();\n }",
"public static void GenerateTextArea(int id)\n\t{\n\t\tareaHeight += 210;\n\t\tHome.createArticle.setPreferredSize(new Dimension(800, areaHeight));\n\t\ti++; \n\t\tgbc.gridx = 0;\n\t\tgbc.gridy = i;\n\t\tgbc.gridwidth = 1;\n\t\tgbc.insets = new Insets(10, 0, 0, 5);\n\t\tgbc.anchor = GridBagConstraints.LINE_END;\n\t\tHome.createArticle.add(textLabels.get(id), gbc);\n\t\t\n\t\tgbc.gridx = 1;\n\t\tgbc.gridwidth = 3;\n\t\tgbc.insets = new Insets(10, 0, 0, 0);\n\t\tgbc.anchor = GridBagConstraints.LINE_START;\n\t\tgbc.weighty = 10;\n\t\tHome.createArticle.add(textAreas.get(id), gbc);\n\t}",
"private void vbox_text(Group vbox, String text){\n vbox.getChildren().clear();\n vbox.setLayoutX(400);\n vbox.setLayoutY(100);\n\n Label label_help = new Label(text);\n label_help.setFont(Font.font(\"Cambria\", 20));\n label_help.setTextFill(Color.web(\"#000000\"));\n label_help.setWrapText(true);\n\n BorderPane canvasBorderPane = new BorderPane();\n canvasBorderPane.setPadding(new Insets(5));\n canvasBorderPane.setBackground(new Background(new BackgroundFill(Color.WHITE, new CornerRadii(0), Insets.EMPTY)));\n canvasBorderPane.setCenter(label_help);\n\n BorderPane border = new BorderPane();\n border.setCenter(canvasBorderPane);\n border.setPadding(new Insets(5));\n border.setBackground(new Background(new BackgroundFill(Color.GREY, new CornerRadii(0), Insets.EMPTY)));\n\n vbox.getChildren().add(border);\n }",
"public void renderTagCloud(List<Tag> tags, Text text, Rectangle2D renderArea) {\n List<TextLine> textLines = new ArrayList<TextLine>();\n\n BufferedImage image = new BufferedImage(1, 1, BufferedImage.TYPE_INT_RGB);\n Graphics2D g = image.createGraphics();\n String fontFamily = text.getFontFamily();\n int fontSize = (int) text.getFontSize();\n Font font = new Font(fontFamily, Font.PLAIN, fontSize);\n FontMetrics fm = g.getFontMetrics(font);\n Point2D currentPosition = new Point2D.Double(renderArea.getX(), renderArea.getY());\n TextLine textLine = null;\n double minPadding = fm.getHeight();\n\n try {\n for (int i = 0; i < tags.size(); i++) {\n Tag tag = tags.get(i);\n String value = tag.getValue();\n Rectangle2D rect = fm.getStringBounds(value, g);\n // create new textline if not exists\n if (i == 0) {\n textLine = new TextLine();\n textLines.add(textLine);\n }\n if (currentPosition.getX() + rect.getWidth() + minPadding >= (renderArea.getX() + renderArea.getWidth())) {\n currentPosition.setLocation(renderArea.getX(),\n currentPosition.getY() + fm.getHeight() * 1.2);\n if ((currentPosition.getY() + fm.getHeight()) >= (renderArea.getY() + renderArea.getHeight()))\n break;\n textLine = new TextLine();\n textLines.add(textLine);\n }\n TSpan tspan = new TSpan(currentPosition.getX(),\n currentPosition.getY() + Math.abs(rect.getY()),\n rect.getWidth(),\n rect.getHeight(),\n fontFamily, fontSize, value);\n currentPosition.setLocation(currentPosition.getX() + rect.getWidth() + minPadding,\n currentPosition.getY());\n textLine.getTspans().add(tspan);\n text.getTspans().add(tspan);\n }\n\n for (TextLine line : textLines) {\n if (line.getTspans().size() > 1) {\n TSpan span = line.getTspans().get(line.getTspans().size() - 1);\n double additionalXPadding = ((renderArea.getX() + renderArea.getWidth()) - (span.getX() + span.getWidth())) / (double) (line.getTspans().size());\n for (int i = 0; i < line.getTspans().size(); i++) {\n TSpan tSpan = line.getTspans().get(i);\n if (i != 0) {\n tSpan.setX(tSpan.getX() + ((i + 1) * additionalXPadding));\n }\n }\n }\n }\n // remove single entry text line\n if (textLines.get(textLines.size() - 1).getTspans().size() == 1) {\n text.getTspans().remove(textLines.get(textLines.size() - 1).getTspans().get(0));\n textLines.remove(textLines.size() - 1);\n }\n\n }\n finally {\n g.dispose();\n }\n }",
"public void infoDisplay()\n{\n image(logo, 710, 100);\n textSize(40);\n fill(0);\n text(\"Beijing Residents Trajectory\", 600, 50);\n textSize(30);\n fill(0, 102, 153);\n text(\"Movement Analysis\", 80, 30);\n textSize(18);\n// text(\"Mode Switch\", 150, 70);\n fill(0);\n textSize(30);\n text(\"Weekday\", 340, 90);\n text(\"Weekend\", 1180, 90);\n textSize(13);\n fill(0, 102, 153); \n text(\"Read Me\", tx, ty);\n text(\"SPACE - start & pause\", tx, ty+bl);\n text(\" TAB - change basemap\", tx, ty+2*bl);\n text(\" < - backwards\", tx, ty+3*bl);\n text(\" > - forwards\", tx, ty+4*bl);\n text(\" z - zoom to layer\", tx, ty+5*bl);\n text(\"Click legend button to select transport mode\", tx, ty+6*bl);\n textSize(15);\n fill(255, 0, 0);\n text(\"CURRENT TIME \" + timeh + \":\" + timem, 740, 650);\n}",
"private JTextArea Tekstas() {\n\t JTextArea detailTA = new JTextArea();\n\t detailTA.setFont(new Font(\"Monospaced\", Font.PLAIN, 14));\n\t detailTA.setTabSize(3);\n\t detailTA.setLineWrap(true);\n\t detailTA.setWrapStyleWord(false);\n\t return (detailTA);\n\t}",
"private void setTextViews() {\n TextView textToggleFilters = (TextView) findViewById(R.id.text_totalExpenditure);\n textToggleFilters.setPaintFlags(textToggleFilters.getPaintFlags() | Paint.FAKE_BOLD_TEXT_FLAG);\n }",
"public AreaMap()\r\n {\r\n map = new JTextArea[10][10];\r\n \r\n for (JTextArea[] map1 : map)\r\n {\r\n for (int i = 0; i<map[0].length; i++)\r\n {\r\n map1[i] = new JTextArea();\r\n map1[i].setBackground(Color.black);\r\n map1[i].setEditable(false);\r\n map1[i].setText(\"\");\r\n }\r\n }\r\n setup();\r\n \r\n \r\n }",
"@Override\n protected void paintComponent(Graphics g) {\n\t\tsuper.paintComponent(g);\n\t\tFont f = new Font(\"sansserif\", Font.BOLD, 12);\n\t\tg.setFont(f);\n\t\tif(type == 1){\n\t\t\t //draw the map\n\t g.drawImage(image, 0, 0, getWidth(), getHeight(), this);\n\t //draw the names on the map\n\t for (City city : cities) {\n\t \n\t \tif (city.hasLocation()) {\n\t \t\tPoint location = getLocationFromCoordinate(city.getLatitude(), city.getLongitude());\n\t \t\tg.drawString(city.getName(), (int)(location.getx())*multiplier, (int)(location.gety())*multiplier);\n\t \t\tg.fillRect((int)location.getx()*multiplier, (int)location.gety()*multiplier, 3, 3);\n\t \t}\n\t }\n\t\t}\n\t\tif(type == 2) {\n\t\t\t//draw the map\n\t g.drawImage(image, 0, 0, getWidth(), getHeight(), this);\n\t //draw the names on the map\n\t for (PointOfInterest point : points) {\n\t \tif (point.hasLocation()) {\n\t \t\tPoint location = getLocationFromCoordinate(point.getLatitude(), point.getLongitude());\n\t \t\tg.drawString(point.getName(), (int)(location.getx())*multiplier, (int)(location.gety())*multiplier);\n\t \t}\n\t }\n\t\t}\n\t\tif (type == 3) {\n\t\t\tg.drawImage(image, 0,0,getWidth(),getHeight(), this);\n\t\t\tfor(Region region : regions) {\n\t\t\t\tif (region.hasLocation()) {\n\t\t\t\t\tPoint location = getLocationFromCoordinate(region.getLatitude(), region.getLongitude());\n\t\t\t\t\tg.drawString(region.getName(), (int)location.getx()*multiplier, (int)(location.gety())*multiplier);\n\t\t\t\t\tg.drawRect((int)location.getx()*multiplier - (length/2)*3, (int)(location.gety())*multiplier - (breadth/2)*3, \n\t\t\t\t\t\t\tlength*multiplier, breadth*multiplier);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n }",
"private void showPopText(Canvas canvas, String content, float x, float y) {\n int heightOffSet = 40;\n int margin = 10;\n int rectRadius = 4;\n\n //draw rounded rectangle\n Rect popupTextRect = new Rect();\n Paint paint = new Paint();\n paint.getTextBounds(content + \" \", 0, content.length() + 2, popupTextRect);\n paint.setAntiAlias(true);\n paint.setColor(Color.BLACK);\n paint.setTextSize(heightOffSet / 2);\n RectF r =\n new RectF(x - popupTextRect.width() - margin, y - (mFontSize * heightOffSet + 0.5f),\n x + popupTextRect.width() / 6 + (mFontSize * margin + 0.5f),\n y - (mFontSize * heightOffSet * 2 / 5));\n canvas.drawRoundRect(r, (mFontSize * rectRadius), (mFontSize * rectRadius), paint);\n\n //draw triangle.\n Path path = new Path();\n path.moveTo(x, y - (mFontSize * heightOffSet * 2 / 5));\n path.lineTo(x, y - (mFontSize * 10));\n path.lineTo(x - (mFontSize * 5), y - (mFontSize * heightOffSet / 2));\n path.close();\n canvas.drawPath(path, paint);\n\n //draw text\n paint.setColor(Color.WHITE);\n FontMetricsInt fontMetrics = paint.getFontMetricsInt();\n int baseline =\n (int) (r.top + (r.bottom - r.top - fontMetrics.bottom + fontMetrics.top) / 2 -\n fontMetrics.top);\n paint.setTextAlign(Paint.Align.CENTER);\n canvas.drawText(content, r.centerX(), baseline, paint);\n }",
"private void makeOutro()\r\n\t{\r\n\t TextProperties outroProperties = new TextProperties();\r\n\t outroProperties.set(AnimationPropertiesKeys.FONT_PROPERTY, new Font(Font.SANS_SERIF, Font.PLAIN, width >= 80 ? 18 : 13));\r\n\t outroProperties.set(AnimationPropertiesKeys.COLOR_PROPERTY, Color.blue);\r\n\t \r\n\t String outro1Text = \"In the result all \"+amountOfStars+\" points are assigned to groups.\";\r\n\t String outro2Text = width > 80 ? \"This is used in astrophysics to find clusters of stars or dark matter out of millions of 2D or 3D points.\" : \"This is used in astrophysics to find clusters\";\r\n\t String outro3Text = \" of stars or dark matter out of millions of 2D or 3D points.\";\r\n\t \r\n\t\toutro1 = lang.newText(getStarPosition(0, height+3), outro1Text, \"outro1\", null, outroProperties);\r\n\t\toutro2 = lang.newText(new Offset(0, 0, \"outro1\", AnimalScript.DIRECTION_SW), outro2Text, \"outro2\", null, outroProperties);\r\n\t\tif(width <= 80) outro3 = lang.newText(new Offset(0, 0, \"outro2\", AnimalScript.DIRECTION_SW), outro3Text, \"outro3\", null, outroProperties);\r\n\t}",
"public void setLocationText(String textToShow) {\n this.location_line2 = textToShow;\n }",
"public void onClick(View v){\n\n TextView abc = (TextView) findViewById(R.id.txtShape);\n\n\n if(v.getId() == R.id.imgBtnTriangle) {\n Log.d(\"test\", \"Triangle was Clicked\");\n\n // Set selection based on shape\n selection = \"Triangle\";\n\n // Set Length 2 stuff to visible\n (findViewById(R.id.txtLength2)).setVisibility(View.VISIBLE);\n (findViewById(R.id.inputLength2)).setVisibility(View.VISIBLE);\n }\n else if(v.getId() == R.id.imgBtnCircle) {\n Log.d(\"test\", \"Circle was Clicked\");\n ((EditText) findViewById(R.id.inputLength2)).setText(\"\");\n // Set selection based on shape\n selection = \"Circle\";\n\n // Set Length 2 stuff to invisible\n (findViewById(R.id.txtLength2)).setVisibility(View.INVISIBLE);\n (findViewById(R.id.inputLength2)).setVisibility(View.INVISIBLE);\n }\n else if(v.getId() == R.id.imgBtnSquare) {\n Log.d(\"test\", \"Square was Clicked\");\n ((EditText) findViewById(R.id.inputLength2)).setText(\"\");\n // Set selection based on shape\n selection = \"Square\";\n\n // Set Length 2 stuff to invisible\n (findViewById(R.id.txtLength2)).setVisibility(View.INVISIBLE);\n (findViewById(R.id.inputLength2)).setVisibility(View.INVISIBLE);\n }\n abc.setText(selection);\n }",
"public void setTextSettings(){\n\n ArrayList<Text> headlines = new ArrayList<>();\n //Add any text element here\n //headlines.add(this.newText);\n\n Color textColorHeadlines = new Color(0.8,0.8,0.8,1);\n\n for ( Text text : headlines ){\n text.setFont(Font.font(\"verdana\", FontWeight.BOLD, FontPosture.REGULAR, 20));\n text.setFill(textColorHeadlines);\n text.setEffect(new DropShadow(30, Color.BLACK));\n\n }\n\n }",
"public String toString(){\n return (\"TextShape \"+x+\" \"+y+\" \"+col.getRed()+\" \"+col.getGreen()+\" \"+col.getBlue()+\" \"+str);\n }",
"public JTextArea createText(JTextArea a, String name, Font newFont, int boundX, int boundY, int x, int y) {\r\n\t\ta = new JTextArea(name);\r\n\t\ta.setFont(newFont);\r\n\t\ta.setBounds(boundX, boundY, x, y);\r\n\t\ta.setBackground(Color.lightGray);\r\n\t\treturn a;\r\n\t}",
"private void initCharAreas() {\n\n characterAreas = new LinkedList<CharacterArea>();\n float x = 0;\n float y = 0;\n //TODO do this nice @me\n if (KeyboardHandler.character_set.length() > 36) {\n\n float width = mWidth / 10;\n float height = mHeight / 2;\n characterAreas.add(new CharacterArea(x, y, width * 3, height,\n KeyboardHandler.char_view_dark_color));\n characterAreas.add(new CharacterArea(x + width * 3, y, width * 4, height,\n KeyboardHandler.char_view_light_color));\n characterAreas.add(new CharacterArea(x + width * 7, y, width * 3, height,\n KeyboardHandler.char_view_dark_color));\n characterAreas.add(new CharacterArea(x, y + height, width * 3, height,\n KeyboardHandler.char_view_light_color));\n characterAreas.add(new CharacterArea(x + width * 3, y + height, width * 4,\n height, KeyboardHandler.char_view_dark_color));\n characterAreas.add(new CharacterArea(x + width * 7, y + height, width * 3,\n height, KeyboardHandler.char_view_light_color));\n } else {\n float width = mWidth / 3;\n float height = mHeight / 2;\n characterAreas.add(new CharacterArea(x, y, width, height,\n KeyboardHandler.char_view_dark_color));\n characterAreas.add(new CharacterArea(x + width, y, width, height,\n KeyboardHandler.char_view_light_color));\n characterAreas.add(new CharacterArea(x + 2 * width, y, width, height,\n KeyboardHandler.char_view_dark_color));\n characterAreas.add(new CharacterArea(x, y + height, width, height,\n KeyboardHandler.char_view_light_color));\n characterAreas.add(new CharacterArea(x + width, y + height, width,\n height, KeyboardHandler.char_view_dark_color));\n characterAreas.add(new CharacterArea(x + 2 * width, y + height, width,\n height, KeyboardHandler.char_view_light_color));\n }\n\n setLevelUpChars();\n }",
"private static <T extends Shape> void showShapeInfo(T shape){\r\n\t\t// Implement method and handle exception if there's not shape created\r\n\t\tif(shapes[0] != null){\r\n\t\t\tSystem.out.println();\r\n\t\t\tSystem.out.println(shapes[0].toString());\r\n\t\t}\r\n\t\telse{\r\n\t\t\ttry {\r\n\t\t\t\tthrow new IndexOutOfBoundsException(\"No shape has been created yet.\");\r\n\t\t\t} catch (Exception e) {\r\n\t\t\t\tSystem.out.println(e);\r\n\t\t\t}\r\n\t\t}\r\n\t}",
"public void paint(MapCanvas canvas, Point insertPoint) {\n Graphics2D graphics = null;\n if ((this.text != null) && (insertPoint != null) && (canvas != null) && \n ((graphics = canvas.graphics) != null)) {\n Font curFont = graphics.getFont();\n Color curColor = graphics.getColor();\n AffineTransform curTransForm = graphics.getTransform();\n try {\n TextStyle style = this.getTextStyle();\n FontMetrics fontMetrics = this.textFont.setCanvas(canvas);\n int textHeight = fontMetrics.getHeight();\n int x = insertPoint.x;\n int y = insertPoint.y;\n int textWidth = fontMetrics.stringWidth(this.text);\n// if ((style.orientation == TextStyle.Orientation.VerticalDn) || \n// (style.orientation == TextStyle.Orientation.VerticalUp)) {\n// if (style.hAlign == TextStyle.Horizontal.Center) {\n// y -= textWidth/2;\n// } else if (style.hAlign == TextStyle.Horizontal.Right) {\n// y -= textWidth;\n// }\n//\n// if (style.vAlign == TextStyle.Vertical.Middle) {\n// x += textHeight/2;\n// } else if (style.vAlign == TextStyle.Vertical.Top) {\n// x += textHeight;\n// }\n// } else {\n if (style.hAlign == TextStyle.Horizontal.Center) {\n x -= textWidth/2;\n } else if (style.hAlign == TextStyle.Horizontal.Right) {\n x -= textWidth;\n }\n\n if (style.vAlign == TextStyle.Vertical.Middle) {\n y += textHeight/2;\n } else if (style.vAlign == TextStyle.Vertical.Top) {\n y += textHeight;\n }\n //} \n float rotate = style.orientation.rotate;\n if (rotate != 0.0f) {\n AffineTransform transform = new AffineTransform();\n transform.translate(0.0d, 0.0d);\n transform.rotate(rotate, insertPoint.x, insertPoint.y);\n graphics.transform(transform);\n }\n \n graphics.drawString(this.text, x, y - fontMetrics.getDescent());\n } catch (Exception exp) {\n LOGGER.log(Level.WARNING, \"{0}.paint Error:\\n {1}\",\n new Object[]{this.getClass().getSimpleName(), exp.getMessage()});\n } finally {\n if (curFont != null) {\n graphics.setFont(curFont);\n }\n if (curColor != null) {\n graphics.setColor(curColor);\n }\n if (curTransForm != null) {\n graphics.setTransform(curTransForm);\n }\n }\n }\n }",
"public void renderSelectedRegion() {\n textBuffer.renderInit();\n renderFlag = 2;\n Text text;\n root.getChildren().removeAll(renderPieces);\n renderPieces.clear();\n if (!reversed) {\n while ((text = textBuffer.getTextToRender()) != null) {\n addRenderPieces(text);\n }\n } else {\n while ((text = textBuffer.getPreToRender()) != null) {\n addRenderPieces(text);\n }\n }\n\n }",
"public void OkActionPerformed(java.awt.event.ActionEvent evt) {\n // Add your handling code here:\n\n letterTool.currentFont = families.getSelectedIndex();\n letterTool.currentSize = size.getSelectedIndex();\n letterTool.boldness = bold.isSelected();\n letterTool.italicness = italics.isSelected(); /*FAULT:: letterTool.italicness = !italics.isSelected(); */\n letterTool.underlineness = underline.isSelected();\n\n\n\n BufferedImage im = ((Paint) this.getParent()).center.getBufferedImage();\n Graphics2D g2d = im.createGraphics();\n\n g2d.setPaint(((Paint) this.getParent()).center.left_color);\n int style = Font.PLAIN;\n if (bold.isSelected()) {\n style += Font.BOLD;\n }\n if (italics.isSelected()) {\n style += Font.ITALIC;\n }\n Font newFont = new Font(myFont.font, style, myFont.size);\n g2d.setFont(newFont);\n g2d.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);\n\n String myText = text.getText();\n\n g2d.drawString(myText, x, y);\n ((Paint) this.getParent()).center.setBufferedImage(im);\n if (underline.isSelected()) {\n /*AttributedString newString = new AttributedString(myText);\n newString.addAttribute(TextAttribute.UNDERLINE, TextAttribute.UNDERLINE_ON, 0, myText.length());\n g2d.draw*/\n im = ((Paint) this.getParent()).center.getBufferedImage();\n g2d = im.createGraphics();\n g2d.setPaint(((Paint) this.getParent()).center.left_color);\n //STUFF I JUST ADDED\n FontRenderContext rend = new FontRenderContext(new AffineTransform(), true, true);\n\n if (newFont.getStringBounds(myText, rend).getMaxX() > 0) {\n g2d.drawLine(x, y + 1, (int) (x + newFont.getStringBounds(myText, rend).getMaxX()), y + 1);\n// +1 removed from before ,y\n //END OF STUFF I JUST ADDED\n }\n ((Paint) this.getParent()).center.setBufferedImage(im);\n }\n ((Paint) this.getParent()).center.setBufferedImage(im);\n this.setVisible(false);\n dispose();\n ok_action = true;\n im.flush();\n }",
"public static void fillTextArea() {\r\n\t\tString choice = (String) comboBox.getSelectedItem();\r\n\t\tStatement statement;\r\n\t\ttry {\r\n\t\t\tstatement = connection.createStatement();\r\n\t\t\tresults = statement\r\n\t\t\t\t\t.executeQuery(\"Select People.PeopleName,paragraph.text \"\r\n\t\t\t\t\t\t\t+ \"From People \" + \"inner join paragraph \"\r\n\t\t\t\t\t\t\t+ \"on People.peopleKey=paragraph.peopleKey \"\r\n\t\t\t\t\t\t\t+ \"where PeopleName = '\" + choice + \"'\");\r\n\r\n\t\t\tparagraphtextArea.setText(\"\");\r\n\t\t\tparagraphtextArea.setEditable(true);\r\n\t\t\twhile (results.next()) {\r\n\t\t\t\tparagraphtextArea.append(results.getString(\"text\"));\r\n\t\t\t}\r\n\t\t} catch (SQLException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}",
"@Override\r\n\tprotected JPanel InitTextPane(Dimension size) {\n\t\treturn null;\r\n\t}",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jLabel8 = new javax.swing.JLabel();\n jPanel2 = new javax.swing.JPanel();\n jLabel1 = new javax.swing.JLabel();\n jScrollPane3 = new javax.swing.JScrollPane();\n jTextArea3 = new javax.swing.JTextArea();\n jLabel2 = new javax.swing.JLabel();\n jPanel1 = new javax.swing.JPanel();\n jScrollPane2 = new javax.swing.JScrollPane();\n jTextArea2 = new javax.swing.JTextArea();\n jLabel3 = new javax.swing.JLabel();\n jLabel4 = new javax.swing.JLabel();\n jPanel3 = new javax.swing.JPanel();\n jScrollPane1 = new javax.swing.JScrollPane();\n jTextArea1 = new javax.swing.JTextArea();\n jLabel7 = new javax.swing.JLabel();\n jLabel6 = new javax.swing.JLabel();\n jButton7 = new javax.swing.JButton();\n jButton8 = new javax.swing.JButton();\n l1 = new javax.swing.JLabel();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n setTitle(\"Features\");\n\n jLabel8.setFont(new java.awt.Font(\"Algerian\", 0, 24)); // NOI18N\n jLabel8.setForeground(new java.awt.Color(255, 51, 102));\n jLabel8.setText(\"Features that you can stay without word - AWESOME!!\");\n\n jPanel2.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED));\n\n jLabel1.setFont(new java.awt.Font(\"Book Antiqua\", 2, 24));\n jLabel1.setForeground(new java.awt.Color(0, 102, 204));\n jLabel1.setText(\"Workout Areas\");\n\n jTextArea3.setColumns(20);\n jTextArea3.setEditable(false);\n jTextArea3.setRows(5);\n jTextArea3.setText(\"Workout Areas Are Awesome..\\nTHey Include A large No.\\nOf Machines...\\n\");\n jScrollPane3.setViewportView(jTextArea3);\n\n jLabel2.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/finaltheoberoiproject/gym.png\"))); // NOI18N\n jLabel2.setText(\"jLabel2\");\n\n javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);\n jPanel2.setLayout(jPanel2Layout);\n jPanel2Layout.setHorizontalGroup(\n jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel2Layout.createSequentialGroup()\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(jScrollPane3, javax.swing.GroupLayout.PREFERRED_SIZE, 267, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addContainerGap())\n .addGroup(jPanel2Layout.createSequentialGroup()\n .addGap(58, 58, 58)\n .addComponent(jLabel1)\n .addContainerGap(82, Short.MAX_VALUE))\n .addGroup(jPanel2Layout.createSequentialGroup()\n .addContainerGap()\n .addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 267, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n );\n jPanel2Layout.setVerticalGroup(\n jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup()\n .addComponent(jLabel1)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(jLabel2)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 89, Short.MAX_VALUE)\n .addComponent(jScrollPane3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addContainerGap())\n );\n\n jPanel1.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED));\n\n jTextArea2.setColumns(20);\n jTextArea2.setEditable(false);\n jTextArea2.setRows(5);\n jTextArea2.setText(\"Beautiful Corridors that \\nprovide us peace of Mind\");\n jScrollPane2.setViewportView(jTextArea2);\n\n jLabel3.setFont(new java.awt.Font(\"Candara\", 2, 24));\n jLabel3.setForeground(new java.awt.Color(255, 0, 102));\n jLabel3.setText(\"Awesome Corridors\");\n\n jLabel4.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/finaltheoberoiproject/corridors.png\"))); // NOI18N\n\n javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);\n jPanel1.setLayout(jPanel1Layout);\n jPanel1Layout.setHorizontalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(29, 29, 29)\n .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 221, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addContainerGap(32, Short.MAX_VALUE))\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()\n .addContainerGap(21, Short.MAX_VALUE)\n .addComponent(jLabel4))\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()\n .addContainerGap(51, Short.MAX_VALUE)\n .addComponent(jLabel3)\n .addGap(39, 39, 39))\n );\n jPanel1Layout.setVerticalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addContainerGap()\n .addComponent(jLabel3)\n .addGap(7, 7, 7)\n .addComponent(jLabel4)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 108, Short.MAX_VALUE)\n .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 107, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addContainerGap())\n );\n\n jPanel3.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED));\n\n jTextArea1.setColumns(20);\n jTextArea1.setEditable(false);\n jTextArea1.setRows(5);\n jTextArea1.setText(\"Vast Party Halls used for \\nWedding , Engagement ,\\nAnniverasry Celebration,\\netc.\");\n jScrollPane1.setViewportView(jTextArea1);\n\n jLabel7.setFont(new java.awt.Font(\"Arial Narrow\", 2, 24));\n jLabel7.setForeground(new java.awt.Color(51, 51, 255));\n jLabel7.setText(\"Vast party Hall\");\n\n jLabel6.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/finaltheoberoiproject/party hall.png\"))); // NOI18N\n\n javax.swing.GroupLayout jPanel3Layout = new javax.swing.GroupLayout(jPanel3);\n jPanel3.setLayout(jPanel3Layout);\n jPanel3Layout.setHorizontalGroup(\n jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel3Layout.createSequentialGroup()\n .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel3Layout.createSequentialGroup()\n .addGap(61, 61, 61)\n .addComponent(jLabel7, javax.swing.GroupLayout.PREFERRED_SIZE, 148, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(jPanel3Layout.createSequentialGroup()\n .addGap(25, 25, 25)\n .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 237, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel6))))\n .addContainerGap(24, Short.MAX_VALUE))\n );\n jPanel3Layout.setVerticalGroup(\n jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel3Layout.createSequentialGroup()\n .addComponent(jLabel7)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(jLabel6)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 111, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(25, 25, 25))\n );\n\n jButton7.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/finaltheoberoiproject/back-arrow.png\"))); // NOI18N\n jButton7.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton7ActionPerformed(evt);\n }\n });\n\n jButton8.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/finaltheoberoiproject/forward.png\"))); // NOI18N\n jButton8.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton8ActionPerformed(evt);\n }\n });\n\n new Thread ()\n {\n public void run ()\n {while(true)\n {\n Calendar cal= new GregorianCalendar();\n\n int h = cal .get(Calendar.HOUR);\n int m = cal .get(Calendar.MINUTE);\n int s = cal .get(Calendar.SECOND);\n int a = cal .get(Calendar.AM_PM);\n String x=\"\";\n if (a==1 ){x=\"PM\";}\n else{x=\"AM\";}\n\n String net = h+\":\"+m+\":\"+s+\" \"+x;\n l1.setText(net);\n }\n\n }\n\n }.start();\n l1.setFont(new java.awt.Font(\"DS-Digital\", 0, 18)); // NOI18N\n l1.setText(\"jLabel1\");\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(19, 19, 19)\n .addComponent(jButton7, javax.swing.GroupLayout.PREFERRED_SIZE, 70, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(50, 50, 50)\n .addComponent(jLabel8)\n .addGap(54, 54, 54)\n .addComponent(jButton8, javax.swing.GroupLayout.PREFERRED_SIZE, 71, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(layout.createSequentialGroup()\n .addComponent(jPanel3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(32, 32, 32)\n .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(35, 35, 35)\n .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addContainerGap(874, Short.MAX_VALUE)\n .addComponent(l1, javax.swing.GroupLayout.PREFERRED_SIZE, 78, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addContainerGap())\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addContainerGap()\n .addComponent(l1, javax.swing.GroupLayout.PREFERRED_SIZE, 22, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(25, 25, 25)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(jButton8, 0, 0, Short.MAX_VALUE)\n .addComponent(jButton7, javax.swing.GroupLayout.PREFERRED_SIZE, 73, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addComponent(jLabel8))\n .addGap(74, 74, 74)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(jPanel3, javax.swing.GroupLayout.DEFAULT_SIZE, 412, Short.MAX_VALUE)\n .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(38, 38, 38))\n );\n\n pack();\n }",
"public static void tweakTipEditorPane(JEditorPane textArea) {\n\n // Jump through a few hoops to get things looking nice in Nimbus\n if (UIManager.getLookAndFeel().getName().equals(\"Nimbus\")) {\n Color selBG = textArea.getSelectionColor();\n Color selFG = textArea.getSelectedTextColor();\n textArea.setUI(new javax.swing.plaf.basic.BasicEditorPaneUI());\n textArea.setSelectedTextColor(selFG);\n textArea.setSelectionColor(selBG);\n }\n\n textArea.setEditable(false); // Required for links to work!\n textArea.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5));\n\n // Make selection visible even though we are not (initially) focusable.\n textArea.getCaret().setSelectionVisible(true);\n\n // Make it use the \"tool tip\" background color.\n textArea.setBackground(TipUtil.getToolTipBackground());\n\n // Force JEditorPane to use a certain font even in HTML.\n // All standard LookAndFeels, even Nimbus (!), define Label.font.\n Font font = UIManager.getFont(\"Label.font\");\n if (font == null) { // Try to make a sensible default\n font = new Font(\"SansSerif\", Font.PLAIN, 12);\n }\n HTMLDocument doc = (HTMLDocument) textArea.getDocument();\n doc.getStyleSheet().addRule(\n \"body { font-family: \" + font.getFamily() + \"; font-size: \"\n + font.getSize() + \"pt; }\");\n\n }",
"private boolean modifyTextArea(Class swingClass) {\n boolean hasStringConstructor = false;\n for (Constructor con : swingClass.getConstructors()) {\n if (con.toString().contains(\"(java.lang.String)\")) {\n hasStringConstructor = true;\n break;\n }\n }\n\n if (hasStringConstructor) {\n textLabel.setVisible(true);\n text.setVisible(true);\n } else {\n textLabel.setVisible(false);\n text.setVisible(false);\n }\n\n return hasStringConstructor;\n }",
"void draw(Annotation annotation, GC gc, StyledText textWidget, int offset, int length, Color color);",
"private void setupTextArea() {\n\t\tcourseInfo = new JTextPane();\n\t\tinfoScrollPane = new JScrollPane(courseInfo);\n\t\tinfoScrollPane.setPreferredSize(new Dimension(350, 175));\n\t\tcourseInfo.setEditable(false);\n\t\tdisplay.add(infoScrollPane);\n\t}",
"private void prepareAnnotations() {\n\n // get the annotation object\n SKAnnotation annotation1 = new SKAnnotation();\n // set unique id used for rendering the annotation\n annotation1.setUniqueID(10);\n // set annotation location\n annotation1.setLocation(new SKCoordinate(-122.4200, 37.7765));\n // set minimum zoom level at which the annotation should be visible\n annotation1.setMininumZoomLevel(5);\n // set the annotation's type\n annotation1.setAnnotationType(SKAnnotation.SK_ANNOTATION_TYPE_RED);\n // render annotation on map\n mapView.addAnnotation(annotation1);\n\n SKAnnotation annotation2 = new SKAnnotation();\n annotation2.setUniqueID(11);\n annotation2.setLocation(new SKCoordinate(-122.410338, 37.769193));\n annotation2.setMininumZoomLevel(5);\n annotation2.setAnnotationType(SKAnnotation.SK_ANNOTATION_TYPE_GREEN);\n mapView.addAnnotation(annotation2);\n\n SKAnnotation annotation3 = new SKAnnotation();\n annotation3.setUniqueID(12);\n annotation3.setLocation(new SKCoordinate(-122.430337, 37.779776));\n annotation3.setMininumZoomLevel(5);\n annotation3.setAnnotationType(SKAnnotation.SK_ANNOTATION_TYPE_BLUE);\n mapView.addAnnotation(annotation3);\n\n selectedAnnotation = annotation1;\n // set map zoom level\n mapView.setZoom(14);\n // center map on a position\n mapView.centerMapOnPosition(new SKCoordinate(-122.4200, 37.7765));\n updatePopupPosition();\n }",
"private void textInfoBottom(JPanel panel_TextInfo) {\n\t\tcontentPane.setLayout(gl_contentPane_1);\n\t\ttxtrPreparing = new JTextArea();\n\t\ttxtrPreparing.setBackground(Color.WHITE);\n\t\ttxtrPreparing.setText(\"Preparing... \");\n\t\t\n\t\tJTextArea textArea = new JTextArea();\n\t\ttextArea.setBackground(Color.WHITE);\n\t\ttextArea.setText(\" $10\");\n\t\tGroupLayout gl_panel_TextInfo = new GroupLayout(panel_TextInfo);\n\t\tgl_panel_TextInfo.setHorizontalGroup(\n\t\t\tgl_panel_TextInfo.createParallelGroup(Alignment.LEADING)\n\t\t\t\t.addGroup(gl_panel_TextInfo.createSequentialGroup()\n\t\t\t\t\t.addContainerGap()\n\t\t\t\t\t.addComponent(txtrPreparing, GroupLayout.PREFERRED_SIZE, 232, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t.addGap(18)\n\t\t\t\t\t.addComponent(textArea, GroupLayout.DEFAULT_SIZE, 228, Short.MAX_VALUE))\n\t\t);\n\t\tgl_panel_TextInfo.setVerticalGroup(\n\t\t\tgl_panel_TextInfo.createParallelGroup(Alignment.LEADING)\n\t\t\t\t.addGroup(gl_panel_TextInfo.createSequentialGroup()\n\t\t\t\t\t.addGroup(gl_panel_TextInfo.createParallelGroup(Alignment.BASELINE)\n\t\t\t\t\t\t.addComponent(txtrPreparing, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addComponent(textArea, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t.addContainerGap(GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n\t\t);\n\t\tpanel_TextInfo.setLayout(gl_panel_TextInfo);\n\t}",
"private void populateSection1() {\r\n\t\t\r\n\t\tJTextArea section1 = new JTextArea(\"Blah blah blah\");\r\n\t\t// set alignment\r\n\t\tsection1.setFont(new Font(\"DejaVu Sans\", Font.PLAIN, 10));\r\n\t\tsection1.setForeground(Color.WHITE);\r\n\t\tadd(section1);\r\n\t\t\r\n\t}",
"public void colorText() {\r\n String theColor = textShape.getText();\r\n if (theColor.contains(\"blue\")) {\r\n textShape.setForegroundColor(Color.BLUE);\r\n }\r\n else if (theColor.contains(\"red\")) {\r\n textShape.setForegroundColor(Color.RED);\r\n }\r\n else {\r\n textShape.setForegroundColor(Color.BLACK);\r\n }\r\n }",
"public void updateText()\r\n\t{\r\n\t\tdouble smallest = Math.min(menu.getController().getWidth(), menu.getController().getHeight());\r\n\t\tdouble equivalent12 = smallest/55;//Equivalent of 12 point font on base dimensions\r\n\t\t\r\n\t\ttextRenderer = new TextRenderer(new Font(fontName, Font.PLAIN, (int)(equivalent12*size)), true, true);\r\n\t}",
"private void initializeAnimalIText() {\r\n\t\tiText = lang.newText(new Offset(0, 178, rowText, AnimalScript.DIRECTION_SW), \"\", \"iText\", null);\r\n\t\tiText.hide();\r\n\t}",
"public face2(){\r\n\tsuper(\"library\");\r\n\tface1.any1();\r\n\t//y=new GridLayout(face1.b,0);\r\n\tsetLayout(new BorderLayout());\r\n\tString s=\"\";\r\n\t//d=new JLabel[face1.b];\r\n\t\r\n\tfor(int i=0;i<face1.b;i++)\r\n\t{//d[i]=new JLabel(face1.a[i]);\r\n\t//add (d[i]);\r\n\ts=s+face1.a[i]+\"\\n\";\r\n\t}\r\n\tJTextArea f=new JTextArea(s,5,5);\r\n\t\t\tf.setEditable(false);\r\n\t\t\tadd(new JScrollPane(f), BorderLayout.CENTER);\r\n\t\t\r\n\t}",
"private JTextArea getJTextArea1() {\r\n\t\tif (jTextArea1 == null) {\r\n\t\t\tjTextArea1 = new JTextArea();\r\n\t\t\tjTextArea1.setBounds(new Rectangle(21, 331, 185, 94));\r\n\t\t\tjTextArea1.setText(\"You can use '*' or '?'.\\n If you type 'ma*' ,\" +\r\n\t\t\t\t\t\" will appear\\n all the words wich start with 'ma'.\" +\r\n\t\t\t\t\t\"\\n If you type 'm?' ,\" +\r\n\t\t\t\t\t\" will appear\\n all the words with two letters\\nwich start with 'm'.\");\r\n\t\t\tjTextArea1.setBackground(Color.green);\r\n\t\t\tjTextArea1.setEditable(false);\r\n\t\t}\r\n\t\treturn jTextArea1;\r\n\t}",
"private void draw(){\n\t\t\t Point level = new Point(txtBoard_top_left.x, txtBoard_top_left.y);\n\t\t\t level_info = new TextInfo(g, level, txt_width, size*4, LEVEL, this.level);\n\t\t\t level_info.drawTextInfo();\n\t\t\t \n\t\t\t // draw 2nd text info\n\t\t\t Point lines = new Point(level.x, level.y+size*2);\n\t\t\t lines_info = new TextInfo(g, lines, txt_width, size*4, LINES, this.lines);\n\t\t\t lines_info.drawTextInfo();\n\t\t\t \n\t\t\t // draw 3rd text info\n\t\t\t Point score = new Point(lines.x, lines.y+size*2);\n\t\t\t score_info = new TextInfo(g, score, txt_width, size*4, SCORE, this.score);\n\t\t\t score_info.drawTextInfo();\t\t\n\t\t}",
"public void setAppearanceStream(Rectangle bbox) {\r\n\r\n matrix = new AffineTransform();\r\n this.bbox = new Rectangle();\r\n this.bbox.setRect(bbox);\r\n if (shapes == null) {\r\n shapes = new Shapes();\r\n }\r\n\r\n // remove any previous text\r\n this.shapes.getShapes().clear();\r\n\r\n // setup the space for the AP content stream.\r\n AffineTransform af = new AffineTransform();\r\n af.scale(1, -1);\r\n af.translate(-this.bbox.getMinX(),\r\n -this.bbox.getMaxY());\r\n\r\n shapes.add(new TransformDrawCmd(af));\r\n\r\n // create the new font to draw with\r\n Font awtFont = new Font(fontName, fontStyle, fontSize);\r\n OFont font = new OFont(awtFont);\r\n // init font's metrics\r\n font.echarAdvance(' ');\r\n TextSprite textSprites =\r\n new TextSprite(font,\r\n content.length(),\r\n new AffineTransform(new AffineTransform()));\r\n textSprites.setRMode(TextState.MODE_FILL);\r\n textSprites.setStrokeColor(fontColor);\r\n\r\n // iterate over each line of text painting the strings.\r\n String[] lines = content.split(\"[\\\\r\\\\n]+\");\r\n\r\n float padding = 10; // border padding of the component\r\n float lineHeight = (float) font.getDescent() +\r\n (float) (font.getAscent());\r\n\r\n float advanceX = (float) bbox.getMinX() + padding;\r\n float advanceY = (float) bbox.getMinY() + padding;\r\n\r\n float currentX;\r\n float currentY = advanceY + lineHeight;\r\n\r\n float lastx = 0;\r\n\r\n for (String line : lines) {\r\n char currentChar;\r\n // glyph placement params\r\n float newAdvanceX;\r\n GlyphText glyphText = null;\r\n for (int i = 0; i < line.length(); i++) {\r\n currentChar = line.charAt(i);\r\n\r\n newAdvanceX = (float) font.echarAdvance(currentChar).getX();\r\n currentX = advanceX + lastx;\r\n lastx += newAdvanceX;\r\n\r\n // get normalized from from text sprite\r\n glyphText = textSprites.addText(\r\n String.valueOf(currentChar), // cid\r\n String.valueOf(currentChar), // unicode value\r\n currentX, currentY, newAdvanceX);\r\n }\r\n\r\n if (glyphText != null) {\r\n currentY += lineHeight;\r\n advanceX = (float) bbox.getMinX() + padding;\r\n lastx = 0;\r\n }\r\n }\r\n BasicStroke stroke;\r\n if (borderStyle.isStyleDashed()) {\r\n stroke = new BasicStroke(\r\n borderStyle.getStrokeWidth(), BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER,\r\n 10.0f, borderStyle.getDashArray(), 0.0f);\r\n } else {\r\n stroke = new BasicStroke(borderStyle.getStrokeWidth());\r\n }\r\n\r\n // background colour\r\n shapes.add(new ShapeDrawCmd(bbox));\r\n if (fillType) {\r\n shapes.add(new ColorDrawCmd(fillColor));\r\n shapes.add(new FillDrawCmd());\r\n }\r\n // border\r\n if (strokeType) {\r\n shapes.add(new StrokeDrawCmd(stroke));\r\n shapes.add(new ColorDrawCmd(color));\r\n shapes.add(new DrawDrawCmd());\r\n }\r\n // actual font.\r\n shapes.add(new ColorDrawCmd(fontColor));\r\n shapes.add(new TextSpriteDrawCmd(textSprites));\r\n }",
"private void draw_text() {\n\t\tcopy_text_into_buffer();\n\t\tVoteVisApp.instance().image(text_buffer_, frame_height_ / 2,\n\t\t\t-text_graphics_.height / 2);\n\t}",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jScrollPane1 = new javax.swing.JScrollPane();\n mapTextArea = new javax.swing.JTextArea();\n jScrollPane2 = new javax.swing.JScrollPane();\n statsArea = new javax.swing.JTextArea();\n jScrollPane3 = new javax.swing.JScrollPane();\n logArea = new javax.swing.JTextArea();\n jScrollPane4 = new javax.swing.JScrollPane();\n OutputLogArea = new javax.swing.JTextArea();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n setResizable(false);\n\n mapTextArea.setEditable(false);\n mapTextArea.setBackground(new java.awt.Color(0, 0, 0));\n mapTextArea.setColumns(20);\n mapTextArea.setFont(new java.awt.Font(\"Monospaced\", 0, 35)); // NOI18N\n mapTextArea.setForeground(new java.awt.Color(255, 255, 255));\n mapTextArea.setLineWrap(true);\n mapTextArea.setRows(8);\n mapTextArea.setAutoscrolls(false);\n mapTextArea.setCaretColor(new java.awt.Color(240, 240, 240));\n mapTextArea.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyPressed(java.awt.event.KeyEvent evt) {\n mapTextAreaKeyPressed(evt);\n }\n public void keyReleased(java.awt.event.KeyEvent evt) {\n mapTextAreaKeyReleased(evt);\n }\n });\n jScrollPane1.setViewportView(mapTextArea);\n\n statsArea.setBackground(new java.awt.Color(0, 0, 0));\n statsArea.setColumns(20);\n statsArea.setFont(new java.awt.Font(\"Monospaced\", 0, 14)); // NOI18N\n statsArea.setForeground(new java.awt.Color(255, 255, 255));\n statsArea.setLineWrap(true);\n statsArea.setRows(6);\n statsArea.setWrapStyleWord(true);\n statsArea.setFocusable(false);\n jScrollPane2.setViewportView(statsArea);\n\n logArea.setBackground(new java.awt.Color(0, 0, 0));\n logArea.setColumns(20);\n logArea.setFont(new java.awt.Font(\"Monospaced\", 0, 14)); // NOI18N\n logArea.setForeground(new java.awt.Color(255, 255, 255));\n logArea.setLineWrap(true);\n logArea.setRows(1);\n logArea.setWrapStyleWord(true);\n logArea.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyPressed(java.awt.event.KeyEvent evt) {\n logAreaKeyPressed(evt);\n }\n public void keyReleased(java.awt.event.KeyEvent evt) {\n logAreaKeyReleased(evt);\n }\n });\n jScrollPane3.setViewportView(logArea);\n\n OutputLogArea.setBackground(new java.awt.Color(0, 0, 0));\n OutputLogArea.setColumns(20);\n OutputLogArea.setFont(new java.awt.Font(\"Monospaced\", 0, 14)); // NOI18N\n OutputLogArea.setForeground(new java.awt.Color(255, 255, 255));\n OutputLogArea.setLineWrap(true);\n OutputLogArea.setRows(5);\n OutputLogArea.setCursor(new java.awt.Cursor(java.awt.Cursor.TEXT_CURSOR));\n OutputLogArea.setFocusable(false);\n jScrollPane4.setViewportView(OutputLogArea);\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap()\n .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 481, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jScrollPane3, javax.swing.GroupLayout.DEFAULT_SIZE, 493, Short.MAX_VALUE)\n .addComponent(jScrollPane2, javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(jScrollPane4))\n .addContainerGap())\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(jScrollPane1)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 287, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(jScrollPane4, javax.swing.GroupLayout.PREFERRED_SIZE, 153, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(jScrollPane3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))\n .addContainerGap())\n );\n\n pack();\n }",
"private void drawAgentInfo(Graphics2D graphics, int x, int y,\n int width, int height, Insets borders)\n {\n final int verticalSpaceBeforeText = 20;\n // Find the size of string in the font being used by the current\n // Graphics2D context.\n FontMetrics font = graphics.getFontMetrics();\n String agentInfo = null;\n int textWidth = 0;\n int textHeight = 0;\n int totalTextHeight = 0;\n int maxTextWidth = 0;\n\n if (GRID_LEGEND_HORIZONTAL) {\n agentInfo = \"Infected: \" + simulation.getNumInfectedHumans() +\n \" \" +\n \"Uninfected: \" + simulation.getNumUninfectedAgents() +\n \" \" +\n \"Infested: \" + simulation.getNumInfestedHosts() +\n \" \" +\n \"Uninfested: \" + simulation.getNumUninfestedHosts() +\n \" \" +\n \"Treated: \" + simulation.getNumTreatedAgents();\n \n Rectangle2D rect = font.getStringBounds(agentInfo, graphics);\n\n textWidth = (int)(rect.getWidth());\n textHeight = (int)(rect.getHeight());\n totalTextHeight = textHeight;\n maxTextWidth = textWidth;\n int startStringAt = (width - textWidth) / 2;\n\n // center text horizontally (max sure left side at least draws w/in\n // the viewport window -- i.e., x at least 0)\n graphics.drawString(agentInfo, Math.max(x + startStringAt, 0), \n y + height + verticalSpaceBeforeText);\n\n } else {\n agentInfo = \"Infected: \" + simulation.getNumInfectedHumans();\n Rectangle2D rect = font.getStringBounds(agentInfo, graphics);\n\n textWidth = (int)(rect.getWidth());\n textHeight = (int)(rect.getHeight());\n totalTextHeight = textHeight;\n maxTextWidth = textWidth;\n \n int startStringAt = (width - textWidth) / 2;\n\n graphics.drawString(agentInfo, Math.max(x + startStringAt, 0), \n y + height + totalTextHeight + verticalSpaceBeforeText);\n \n agentInfo = \"Uninfected: \" + simulation.getNumUninfectedAgents();\n rect = font.getStringBounds(agentInfo, graphics);\n\n textWidth = (int)(rect.getWidth());\n textHeight = (int)(rect.getHeight());\n totalTextHeight += textHeight;\n if (textWidth > maxTextWidth){\n maxTextWidth = textWidth;\n }\n //startStringAt = (width - textWidth) / 2;\n\n graphics.drawString(agentInfo, Math.max(x + startStringAt, 0), \n y + height + totalTextHeight + verticalSpaceBeforeText);\n \n agentInfo = \"Infested: \" + simulation.getNumInfestedHosts();\n rect = font.getStringBounds(agentInfo, graphics);\n\n textWidth = (int)(rect.getWidth());\n textHeight = (int)(rect.getHeight());\n totalTextHeight += textHeight;\n if (textWidth > maxTextWidth){\n maxTextWidth = textWidth;\n }\n //startStringAt = (width - textWidth) / 2;\n \n graphics.drawString(agentInfo, Math.max(x + startStringAt, 0), \n y + height + totalTextHeight + verticalSpaceBeforeText);\n \n agentInfo = \"Uninfested: \" + simulation.getNumUninfestedHosts();\n rect = font.getStringBounds(agentInfo, graphics);\n\n textWidth = (int)(rect.getWidth());\n textHeight = (int)(rect.getHeight());\n totalTextHeight += textHeight;\n if (textWidth > maxTextWidth){\n maxTextWidth = textWidth;\n }\n //startStringAt = (width - textWidth) / 2;\n \n graphics.drawString(agentInfo, Math.max(x + startStringAt, 0), \n y + height + totalTextHeight + verticalSpaceBeforeText);\n agentInfo = \"Treated: \" + simulation.getNumTreatedAgents();\n rect = font.getStringBounds(agentInfo, graphics);\n\n textWidth = (int)(rect.getWidth());\n textHeight = (int)(rect.getHeight());\n totalTextHeight += textHeight;\n if (textWidth > maxTextWidth){\n maxTextWidth = textWidth;\n }\n //startStringAt = (width - textWidth) / 2;\n \n graphics.drawString(agentInfo, Math.max(x + startStringAt, 0), \n y + height + totalTextHeight + verticalSpaceBeforeText);\n }\n\n // Make sure the image plus text (which may be a new one loaded in) is\n // visible in the scroll pane. If this isn't somewhere, scrollbars \n // won't work in the main screen's encompassing JScrollPane.\n setPreferredSize(\n new Dimension(\n Math.max(width + borders.left + borders.right, maxTextWidth + 10),\n height + borders.top + borders.bottom \n + verticalSpaceBeforeText + totalTextHeight + 10));\n\n }",
"void draw_text(int x, int y, char[][] _display, String txt) {\n for (int i = 0; i < txt.length(); i++)\n {\n draw_char(x + i, y, _display, txt.charAt(i));\n }\n }",
"private void addRenderPieces(Text text) {\n Rectangle rectangle = new Rectangle();\n rectangle.setX(text.getX());\n rectangle.setY(text.getY());\n rectangle.setWidth(text.getLayoutBounds().getWidth());\n rectangle.setHeight(lineHeight);\n rectangle.setFill(Color.VIOLET);\n rectangle.toBack();\n root.getChildren().add(rectangle);\n renderPieces.add(rectangle);\n }",
"private void populateSection3() {\r\n\t\t\r\n\t\tJTextArea section3 = new JTextArea(\"Blah blah blah\");\r\n\t\t// set alignment\r\n\t\tsection3.setFont(new Font(\"DejaVu Sans\", Font.PLAIN, 10));\r\n\t\tsection3.setForeground(Color.WHITE);\r\n\t\tadd(section3);\r\n\t\t\r\n\t}",
"public void drawTextualMap(){\n\t\tfor(int i=0; i<grid.length; i++){\n\t\t\tfor(int j=0; j<grid[0].length; j++){\n\t\t\t\tif(grid[i][j] instanceof Room){\n\t\t\t\t\tif(((Room)grid[i][j]).getItems().size()>0)\n\t\t\t\t\t\tSystem.out.print(\" I \");\n\t\t\t\t\telse\n\t\t\t\t\t\tSystem.out.print(\" R \");\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.print(\" = \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\n\t\tSystem.out.println(\"rows = \"+grid.length+\" cols = \"+grid[0].length);\n\t\tSystem.out.println(\"I = Room has Item, R = Room has no Item, '=' = Is a Hallway\");\n\n\t}",
"public static boolean advancedShapeUp() {\n return TUIMenu.displayValueMenu(\n \"Utiliser les règles Advanced Shape Up! ?\",\n List.of(\n new SupplierAction<>() {\n public String name() {\n return \"Oui\";\n }\n\n public Boolean get() {\n return true;\n }\n },\n new SupplierAction<>() {\n public String name() {\n return \"Non\";\n }\n\n public Boolean get() {\n return false;\n }\n }\n )\n );\n }",
"private void populateSection2() {\r\n\t\t\r\n\t\tJTextArea section2 = new JTextArea(\"Blah blah blah\");\r\n\t\t// set alignment\r\n\t\tsection2.setFont(new Font(\"DejaVu Sans\", Font.PLAIN, 10));\r\n\t\tsection2.setForeground(Color.WHITE);\r\n\t\tadd(section2);\r\n\t\t\r\n\t}",
"public void mouseDblClicked(GraphicObject graphicObject, Event event) {\n /** if it's a polyline, then we close it's path and therefore finish it */\n if(action.isPolyline() && (curr_obj != null)) {\n ((Path)this.curr_obj).closePath();\n curr_obj = null;\n\t\t\taux_obj = null;\n\n /** if the user double clicked on a text object, a textbox or the text itself, this method spawns a Textarea above the text in the canvas so that the user can edit the text that was created., */\n } else if(action.isSelect() && (graphicObject != null) && (graphicObject.getType() == 7 || graphicObject.getType() == 8) ) {\n this.curr_obj = graphicObject;\n\n /** TextArea initialization */\n this.editor = new TextArea();\n this.editor.setWidth((int)(graphicObject.getBounds().getWidth()+20)+\"px\");\n this.editor.setHeight((int)(graphicObject.getBounds().getHeight()+20)+\"px\");\n if(graphicObject.getType() == 7) {\n this.editor.setText( ((Text)graphicObject).getText() );\n } else {\n this.editor.setText( ((TextBox)graphicObject).text.getText() );\n }\n /** We add a keyboard listener to handle the Esc key. In the event of a Esc key, the TextArea should disapear and the text object should be updated. */\n this.editor.addKeyboardListener(new KeyboardListenerAdapter() {\n public void onKeyDown(Widget sender, char keyCode, int modifiers) {\n if (keyCode == (char) KEY_ESCAPE) {\n\n editor.cancelKey();\n\n aux_obj = null;\n aux_obj = new Text(editor.getText());\n if(curr_obj.getType() == 7) {\n ((Text)aux_obj).setFont( ((Text)curr_obj).getFont());\n addTextObject(aux_obj, (int)curr_obj.getX(), (int)curr_obj.getY());\n\n canvas.remove(((Text)curr_obj).bounder);\n } else {\n ((Text)aux_obj).setFont( ((TextBox)curr_obj).text.getFont());\n addTextObject(aux_obj, (int)((TextBox)curr_obj).text.getX(), (int)((TextBox)curr_obj).text.getY());\n canvas.remove(((TextBox)curr_obj).text);\n }\n canvas.remove(curr_obj);\n\n curr_obj = null;\n curr_obj = new TextBox(aux_obj.getBounds(), (Text)aux_obj);\n addTextBox(curr_obj, (int)aux_obj.getBounds().getX(), (int)aux_obj.getBounds().getY());\n ((Text)aux_obj).bounder = (TextBox)curr_obj;\n\n Color textColor = new Color(aux_obj.getFillColor().getRed(), aux_obj.getFillColor().getGreen(), aux_obj.getFillColor().getBlue(), 0);\n curr_obj.setFillColor(textColor);\n curr_obj.setStroke(textColor, 1);\n\n aux_obj = null;\n curr_obj = null;\n apanel.remove(editor);\n editor = null;\n }\n }\n });\n this.apanel.add(editor, (int)this.curr_obj.getX() + this.canvas.getAbsoluteLeft() - Window.getScrollLeft() - 2, (int)this.curr_obj.getY() + this.canvas.getAbsoluteTop() - Window.getScrollTop() - 2);\n }\n }",
"@Override\r\n public void writeText(String text) {\n String[] lines = text.split(\"\\n\");\r\n JLabel[] labels = new JLabel[lines.length];\r\n for (int i = 0; i < lines.length; i++) {\r\n labels[i] = new JLabel(lines[i]);\r\n labels[i].setFont(new Font(\"Monospaced\", Font.PLAIN, 20));\r\n }\r\n JOptionPane.showMessageDialog(null, labels);\r\n }",
"@Override\r\n\tpublic void paint(Object g) {\n\t\tGraphics2D graphics = (Graphics2D) g;\r\n\t\t\r\n\t\t\r\n\t\tlargeFontMetrics = graphics.getFontMetrics(largeFont);\r\n\t\tmediumFontMetrics = graphics.getFontMetrics(mediumFont);\r\n\t\tsmallFontMetrics = graphics.getFontMetrics(smallFont);\t\r\n\t\tlargeHeight = largeFontMetrics.getHeight();\r\n\t\tmediumHeight = mediumFontMetrics.getHeight();\r\n\t\tsmallHeight = smallFontMetrics.getHeight();\t\r\n\t\tint firstLineYBase = largeHeight + FIRST_LINE_Y_OFFSET;\r\n\t\tint secondLineYBase = firstLineYBase + mediumHeight;\r\n\t\tint thirdLineYBase = secondLineYBase + smallHeight;\r\n\t\tint fourthLineYBase = thirdLineYBase + smallHeight;\t\t\r\n\t\tgraphics.setColor(ABOUT_BACKGROUND);\r\n\t\tgraphics.fillRect(BORDER_OFFSET,BORDER_OFFSET, drawComponent.getWidth() -BORDER_OFFSET*2, OBJECT_EDITOR_HEIGHT);\r\n\t\tgraphics.setColor(ABOUT_FOREGROUND);\r\n\t\tgraphics.setFont(largeFont);\r\n\t\tgraphics.drawString(OBJECT_EDITOR_NAME, LINE_X_OFFSET, OBJECT_EDITOR_Y + firstLineYBase);\t\r\n\t\tgraphics.setFont(mediumFont);\r\n//\t\tgraphics.drawString(\"(\" + objectEditorVersion + \": \" + objectEditorBuildTime + \")\", 90, 20);\r\n\t\tgraphics.drawString(versionDetails, LINE_X_OFFSET, OBJECT_EDITOR_Y + secondLineYBase );\t\r\n\t\tgraphics.setFont(smallFont);\r\n\t\tgraphics.drawString(AboutManager.getObjectEditorDescription().getCopyRight(), LINE_X_OFFSET, OBJECT_EDITOR_Y + thirdLineYBase);\r\n\t\tgraphics.drawString(AboutManager.getObjectEditorDescription().getPatent(), LINE_X_OFFSET, OBJECT_EDITOR_Y + fourthLineYBase);\r\n\t\tgraphics.setColor(STATUS_BACKGROUND);\r\n\t\tgraphics.fillRect(BORDER_OFFSET, STATUS_Y, drawComponent.getWidth() -BORDER_OFFSET*2, STATUS_HEIGHT);\r\n//\t\tgraphics.setColor(Color.DARK_GRAY);\r\n\t\tgraphics.setColor(STATUS_FOREGROUND);\r\n//\t\tgraphics.drawLine(0, 32, drawComponent.getWidth(), 33);\r\n\t\tgraphics.setFont(largeFont);\r\n//\t\tSystem.out.println(\"Drawstring edited object:\" + editedObject);\r\n//\r\n//\t\tSystem.out.println(\"Drawstring edited object toSTring:\" + editedObject.toString());\r\n//\t\tSystem.out.println(\"Drawstring firstLine Base:\" + firstLineYBase);\r\n\r\n//\t\tif (mainHeader != null)\r\n//\t\tgraphics.drawString( mainHeader.toString(), LINE_X_OFFSET, STATUS_Y + firstLineYBase);\r\n//\t\tSystem.out.println(\" Painting main header to string \");\r\n\r\n\t\tif (mainHeaderToString != null)\r\n\t\t\tgraphics.drawString( mainHeaderToString, LINE_X_OFFSET, STATUS_Y + firstLineYBase); // this will deadlock\r\n//\t\t\tgraphics.drawString( mainHeader.toString(), LINE_X_OFFSET, STATUS_Y + firstLineYBase);\r\n\r\n\r\n//\t\tgraphics.drawString( \"\" + editedObject + \"(\" + editorGenerationMessage + \")\", 5, 80);\r\n\t\tgraphics.setFont(mediumFont);\r\n\t\tgraphics.drawString( majorStepMessage, LINE_X_OFFSET, STATUS_Y + secondLineYBase);\r\n\t\tgraphics.setFont(smallFont);\t\t\r\n\t\tgraphics.drawString(statusMessage, LINE_X_OFFSET, STATUS_Y + thirdLineYBase);\r\n\t\tString timeString = \"(\" + numSeconds +\"s)\";\r\n\t\tgraphics.drawString( timeString, LINE_X_OFFSET, STATUS_Y + fourthLineYBase);\r\n\t\tint timeStringLength = smallFontMetrics.stringWidth(timeString);\r\n\t\tgraphics.setColor(PROGRESS_COLOR);\r\n\t\tgraphics.fillRect(LINE_X_OFFSET + timeStringLength + 3, STATUS_Y + fourthLineYBase -10, numSeconds*5, 12);\r\n\t\tgraphics.setColor(DEFINITION_BACKGROUND);\r\n\t\tgraphics.fillRect(BORDER_OFFSET, DEFINITION_Y, drawComponent.getWidth()-BORDER_OFFSET*2, drawComponent.getHeight()- DEFINITION_Y - BORDER_OFFSET);\t\r\n\t\tgraphics.setFont(largeFont);\r\n\t\tgraphics.setColor(DEFINITION_FOREGROUND);\r\n\t\tif (computerDefinition != null) {\r\n\t\tgraphics.drawString(computerDefinition.getWord(), LINE_X_OFFSET, DEFINITION_Y + firstLineYBase);\r\n\t\tgraphics.setFont(mediumFont);\r\n\t\tgraphics.drawString(computerDefinition.getMeaning(), LINE_X_OFFSET, DEFINITION_Y + secondLineYBase);\r\n\t\tgraphics.setFont(smallFont);\r\n\t\tgraphics.drawString(DEFINITIONS_BEHAVIOR_MESSAGE, LINE_X_OFFSET, DEFINITION_Y + thirdLineYBase);\r\n\t\t} else {\r\n\t\t\tgraphics.drawString(\"Missing definition file:\" + ComputerDefinitionsGenerator.DICTIONARY_FILE, LINE_X_OFFSET, DEFINITION_Y + firstLineYBase);\r\n\r\n\t\t}\r\n\t\t\r\n\t\tif (logoImage != null) {\r\n\t\t\tgraphics.drawImage(logoImage, LOGO_X, LOGO_Y, LOGO_WIDTH, LOGO_HEIGHT, drawComponent);\r\n//\t\t\tgraphics.drawImage(logoImage, LOGO_X, LOGO_Y, drawComponent);\r\n\r\n\t\t}\r\n//\t\tSystem.out.println(\"End Paint start view\");\r\n\r\n\r\n\r\n//\t\tgraphics.drawString(ComputerDefinitions.definitions[0], LINE_X_OFFSET, DEFINITION_Y + firstLineYBase);\r\n\r\n\r\n//\t\tgraphics.drawString(editorGenerationMessage, 10, 40);\r\n//\t\tgraphics.drawString(\"\" + numSeconds +\"s\", 50, 80);\r\n//\t\tgraphics.drawString(lastTraceable, 100, 100);\r\n\t}",
"public JAnnotationCheckBox(){\n super();\n this.setOpaque(true);\n /*//this.setVerticalTextPosition(0);\n selectionBorderColor = UIManager.getColor(\"Tree.selectionBorderColor\");\n selectionForeground = UIManager.getColor(\"Tree.selectionForeground\");\n selectionBackground = UIManager.getColor(\"Tree.selectionBackground\");\n textForeground = UIManager.getColor(\"Tree.textForeground\");\n textBackground = UIManager.getColor(\"Tree.textBackground\");\n\n if (isHighlighted){\n\n this.setForeground(selectionForeground);\n this.setBackground(selectionBackground);\n } else {\n this.setForeground(textForeground);\n this.setBackground(textBackground);\n }*/\n\n }",
"void displayShape(Shape shape);",
"private void createTextPanel() {\r\n Composite textPanel = new Composite(this, SWT.NONE);\r\n textPanel.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));\r\n textPanel.setLayout(new GridLayout(2, true));\r\n\r\n createLabel(textPanel, \"Name\");\r\n _nameText = new Text(textPanel, SWT.BORDER | SWT.RIGHT);\r\n _nameText.setLayoutData(new GridData(SWT.FILL, SWT.HORIZONTAL, true, true));\r\n _nameText.addKeyListener(new TextKeyListener());\r\n\r\n createLabel(textPanel, \"Group\");\r\n _numberGroupText = new Text(textPanel, SWT.BORDER | SWT.RIGHT);\r\n _numberGroupText.setLayoutData(new GridData(SWT.FILL, SWT.HORIZONTAL, true, true));\r\n _numberGroupText.addKeyListener(new TextKeyListener());\r\n\r\n createCheckButtonPanel(textPanel);\r\n }",
"@Override\n\tprotected void drawSub(Canvas canvas) {\n\t\tpaint.setTextSize(30);\n\t\tcanvas.drawText(\"Logic View\", rx, 30, paint);\n\t\t\n\t\tcanvas.drawArc(oval, 0, sweepAngle, true, paint);\n\n\t}",
"void doThreshDisplay(){\n\t /// init colors\n\t int greenFill = color(125,125,0, 65);\n\t int redFill = color(255,0,0,65);\n\t int blueFill = color(0,0,255, 85);\n\t //\n\t float spacing = 15;\n\t // \n\t textFont(SanSerif);\n\t /// hint(ENABLE_NATIVE_FONTS) ;\n\t \n\t /// position\n\t float dPosY3 = 0-height/2;\n\t float dPosY2 = 0-height/2 + spacing;\n\t float dPosY1 = 0-height/2 + spacing + spacing;\n\t \n\t /// make the text flush with the display bar\n\t float dPosX3 = 0-width/2 + (threshold3 * .5f) + 10f;\n\t float dPosX2 = 0-width/2 + (threshold2 * .5f) + 10f;\n\t float dPosX1 = 0-width/2 + (threshold1 * .5f) + 10f;\n\t \n\t // thresh 3 -- green squares\n\t strokeWeight(1);\n\t \n\t fill(greenFill);\n\t stroke(64,208,0);\n\t rect(0-width/2, dPosY3, threshold3 * .5f, 10f);\n\t fill(255,255,0);\n\t text(\"BACKGROUND: \" + threshold3 * .5, dPosX3, dPosY3 + 10);\n\t \n\t \n\t /// thresh 2 -- red circles\n\t fill(redFill);\n\t stroke(204,0,0);\n\t /// rotate(-15);\n\t rect(0-width/2,dPosY2, threshold2 * .5f, 10f);\n\t fill(204,0,0);\n\t text(\"MIDDLEGROUND: \" + threshold2 * .5f, dPosX2, dPosY2 + 10f);\n\t \n\t //// thresh 1 -- blue triangles\n\t fill(blueFill);\n\t stroke(0,24,255);\n\t /// rotate(-15);\n\t rect(0-width/2, dPosY1, threshold1 * .5f, 10f);\n\t fill(0,24,255);\n\t text(\"FOREGROUND: \" + threshold1 * .5, dPosX1, dPosY1 + 10);\n\t \n\t \n\n\n\t}",
"private void createSingleTab(String text, Path path) {\r\n\t\tif (text == null) {\r\n\t\t\ttext = \"\";\r\n\t\t}\r\n\t\t\r\n\t\tJTextArea txtArea = new JTextArea(text);\r\n\t\ttxtArea.getDocument().addDocumentListener(new DocumentListener() {\r\n\t\t\t\r\n\t\t\t@Override\r\n\t\t\tpublic void removeUpdate(DocumentEvent e) {\t\t\r\n\t\t\t\tchangeIcon();\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t@Override\r\n\t\t\tpublic void insertUpdate(DocumentEvent e) {\t\t\r\n\t\t\t\tchangeIcon();\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t@Override\r\n\t\t\tpublic void changedUpdate(DocumentEvent e) {\r\n\t\t\t\tchangeIcon();\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tprivate void changeIcon() {\r\n\t\t\t\ttabbedPane.setIconAt(tabbedPane.getSelectedIndex(), redIcon);\r\n\t\t\t}\r\n\t\t});\r\n\t\ttxtArea.addCaretListener(new CaretListener() {\r\n\t\t\t\r\n\t\t\t@Override\r\n\t\t\tpublic void caretUpdate(CaretEvent e) {\r\n\t\t\t\tlengthLab.setText(\"Length: \"+txtArea.getText().length());\r\n\t\t\t\t\r\n\t\t\t\tint offset = txtArea.getCaretPosition();\r\n\t int line= 1;\r\n\t\t\t\ttry {\r\n\t\t\t\t\tline = txtArea.getLineOfOffset(offset);\r\n\t\t\t\t} catch (BadLocationException ignorable) {}\r\n\t\t\t\tlnLab.setText(\"Ln: \"+(line+1));\r\n\t\t\t\t\r\n\t\t\t\tint col = 1;\r\n\t\t\t\ttry {\r\n\t\t\t\t\tcol = offset - txtArea.getLineStartOffset(line);\r\n\t\t\t\t} catch (BadLocationException ignorable) {}\r\n\t\t\t\tcolLab.setText(\"Col: \"+ (col+1));\r\n\t\t\t\t\r\n\t\t\t\tint sel = Math.abs(txtArea.getSelectionStart() - txtArea.getSelectionEnd());\t\r\n\t\t\t\tselLab.setText(\"sel: \"+sel);\r\n\t\t\t\tfor (JMenuItem i : toggable) {\r\n\t\t\t\t\tboolean enabled;\r\n\t\t\t\t\tenabled = sel != 0;\r\n\t\t\t\t\ti.setEnabled(enabled);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\t\t\r\n\t\tJScrollPane scrPane = new JScrollPane(txtArea);\r\n\t\tif (path == null) {\t//create empty tab\t\r\n\t\t\tString name = \"New \" + (count +1);\r\n\t\t\ttabbedPane.addTab(name, greenIcon, scrPane, \"\");\r\n\t\t\tcount++;\r\n\t\t\treturn;\r\n\t\t}\r\n\t\ttabbedPane.addTab(path.getFileName().toString(), greenIcon, scrPane, path.toString());\r\n\t\tcount++;\r\n\t}",
"private void makeLabels() {\n infoPanel = new JPanel();\n\n infoText = new JTextArea(30,25);\n\n infoPanel.add(infoText);\n }",
"private TextBox[] drawShape(Group group, boolean forConfigure) {\n\n List<Match> matchs = new ArrayList<Match>();\n\n int nbJoueur = joueurs.size();\n int nbTourBeforeDemi = 0;\n if (nbJoueur <= 2) {\n nbTourBeforeDemi = -1;\n }\n if (nbJoueur > 2 && nbJoueur <= 4) {\n nbTourBeforeDemi = 0;\n if (nbJoueur < 4) {\n for (int i = nbJoueur; i < 4; i++) {\n ParticipantBean participantBean = new ParticipantBean(\"\", \"\");\n participantBean.setPlaceOnGrid(joueurs.size() + 1);\n joueurs.add(participantBean);\n }\n }\n } else if (nbJoueur > 4 && nbJoueur <= 8) {\n nbTourBeforeDemi = 1;\n if (nbJoueur < 8) {\n for (int i = nbJoueur; i < 8; i++) {\n ParticipantBean participantBean = new ParticipantBean(\"\", \"\");\n participantBean.setPlaceOnGrid(joueurs.size() + 1);\n joueurs.add(participantBean);\n }\n }\n } else if (nbJoueur > 8 && nbJoueur <= 16) {\n nbTourBeforeDemi = 2;\n if (nbJoueur < 16) {\n for (int i = nbJoueur; i < 16; i++) {\n ParticipantBean participantBean = new ParticipantBean(\"\", \"\");\n participantBean.setPlaceOnGrid(joueurs.size() + 1);\n joueurs.add(participantBean);\n }\n }\n } else if (nbJoueur > 16 && nbJoueur <= 32) {\n nbTourBeforeDemi = 3;\n if (nbJoueur < 32) {\n for (int i = nbJoueur; i < 32; i++) {\n ParticipantBean participantBean = new ParticipantBean(\"\", \"\");\n participantBean.setPlaceOnGrid(joueurs.size() + 1);\n joueurs.add(participantBean);\n }\n }\n }\n\n this.sortedJoueurs = new SortedList(FXCollections.observableArrayList(joueurs));\n this.sortedJoueurs.setAll(joueurs);\n this.sortedJoueurs.setComparator(new ComparatorParticipantPlaceOnGrid());\n this.sortedJoueurs.sort(new ComparatorParticipantPlaceOnGrid());\n nbJoueur = sortedJoueurs.size();\n Iterator<ParticipantBean> iterator = sortedJoueurs.iterator();\n while (iterator.hasNext()) {\n ParticipantBean joueur = iterator.next();\n Match match = new Match();\n match.setJoueur1(joueur);\n if (iterator.hasNext()) {\n ParticipantBean joueur2 = iterator.next();\n match.setJoueur2(joueur2);\n }\n matchs.add(match);\n }\n\n\n TextBox[] matchFirstStep = null;\n while(nbTourBeforeDemi > 0) {\n if (matchFirstStep == null) {\n matchFirstStep = computeFirstRound(nbJoueur, matchs, group, false);\n if (forConfigure) {\n return matchFirstStep;\n }\n } else {\n matchFirstStep = computeOtherRound(matchFirstStep, group);\n }\n nbTourBeforeDemi --;\n }\n if (nbTourBeforeDemi >= 0) {\n if (matchFirstStep == null) {\n //In case of categorie contains less than 4 participant\n //1st match is the demi final\n matchFirstStep = computeFirstRound(nbJoueur, matchs, group, true);\n if (forConfigure) {\n return matchFirstStep;\n }\n }\n\n\n TextBox[] resultatsDemi1 = drawMatch(matchFirstStep[0], matchFirstStep[1], group, 1, Phase.DEMI_FINALE);\n TextBox[] resultatsDemi2 = drawMatch(matchFirstStep[2], matchFirstStep[3], group, 2, Phase.DEMI_FINALE);\n TextBox[] resultatsFinale = drawMatch(resultatsDemi1[0], resultatsDemi2[0], group, 2, Phase.FINALE);\n TextBox[] resultatsPetiteFinale = drawMatch(resultatsDemi1[1], resultatsDemi2[1], group, 2, Phase.PETITE_FINALE);\n return new TextBox[]{resultatsFinale[0], resultatsFinale[1], resultatsPetiteFinale[0], resultatsPetiteFinale[1]};\n } else {\n matchFirstStep = computeFirstRound(nbJoueur, matchs, group, true);\n if (forConfigure) {\n return matchFirstStep;\n }\n TextBox[] resultatsFinale = drawMatch(matchFirstStep[0], matchFirstStep[1], group, 2, Phase.FINALE);\n return new TextBox[]{resultatsFinale[0], resultatsFinale[1]};\n }\n }",
"private void addText(Graphics g, Font font, Color frontColor, Rectangle rectangle, Color backColor, String str, int xPos, int yPos) {\n g.setFont(font);\n g.setColor(frontColor);\n if (rectangle != null) {\n g.drawRect(rectangle.x, rectangle.y, rectangle.width, rectangle.height);\n }\n g.setColor(backColor);\n if (rectangle != null) {\n g.fillRect(rectangle.x, rectangle.y, rectangle.width, rectangle.height);\n }\n g.setColor(frontColor);\n g.drawString(str, xPos, yPos);\n }",
"private void initHighlightLines()\r\n\t{\t\t\r\n\t\tfofHighlightRect = lang.newRect(new Offset(-2, -2, \"sourceCode\", AnimalScript.DIRECTION_NW), new Offset(2, 13*21, \"sourceCode\", AnimalScript.DIRECTION_NE), \"fofHighlightRect\", null, fofSourceCodeHighlightRect);\r\n\t\taddAdjHighlightRect = lang.newRect(new Offset(0, 5, \"fofHighlightRect\", AnimalScript.DIRECTION_SW), new Offset(2, 2, \"sourceCode\", AnimalScript.DIRECTION_SE), \"addAdjHighlightRect\", null, addAdjSourceCodeHighlightRect);\r\n\t\t\r\n\t\tfofHighlightRect.hide();\r\n\t\taddAdjHighlightRect.hide();\r\n\t}",
"private void addFormattedQuestionText(String question){\n Font font = new Font(\"Areal\", Font.ITALIC + Font.BOLD,50);\n FontMetrics metrics = getFontMetrics(font);\n int numLines = (metrics.stringWidth(question)+100)/(getWidth()-MARGIN*4) + 1;\n\n double y = (numLines - 1) * -0.5;\n\n ArrayList<String> lines = split(question,getWidth()-MARGIN*4,metrics);\n \n for (int i = 0; i < numLines; i++){\n JLabel label = new JLabel(lines.get(i));\n label.setFont(font);\n label.setHorizontalAlignment(JLabel.CENTER);\n label.setHorizontalTextPosition(JLabel.CENTER);\n label.setBounds(MARGIN*2,(int)(metrics.getHeight()*y) + i*metrics.getHeight() ,getWidth()-MARGIN*4,getHeight());\n label.setForeground(MainScreen.TEXT_COLOR);\n add(label);\n }\n }",
"@Override\n public void actionPerformed(ActionEvent e)\n {\n area2.setText(area1.getText());\n }",
"private void populateSection4() {\r\n\t\t\r\n\t\tJTextArea section4 = new JTextArea(\"Blah blah blah\");\r\n\t\t// set alignment\r\n\t\tsection4.setFont(new Font(\"DejaVu Sans\", Font.PLAIN, 10));\r\n\t\tsection4.setForeground(Color.WHITE);\r\n\t\tadd(section4);\r\n\t\t\r\n\t}",
"private static void drawOutlineText(Canvas canvas, Paint textPaint, String str,\n float x, float y) {\n // Is there a better way to do this?\n textPaint.setColor(0xff000000);\n canvas.drawText(str, x-1, y, textPaint);\n canvas.drawText(str, x+1, y, textPaint);\n canvas.drawText(str, x, y-1, textPaint);\n canvas.drawText(str, x, y+1, textPaint);\n canvas.drawText(str, x-0.7f, y-0.7f, textPaint);\n canvas.drawText(str, x+0.7f, y-0.7f, textPaint);\n canvas.drawText(str, x-0.7f, y+0.7f, textPaint);\n canvas.drawText(str, x+0.7f, y+0.7f, textPaint);\n textPaint.setColor(0xffffffff);\n canvas.drawText(str, x, y, textPaint);\n }",
"private void drawHelp(Graphics2D g2d) {\n Composite orig_comp = g2d.getComposite();\n g2d.setColor(RTColorManager.getColor(\"brush\", \"dim\")); g2d.setComposite(AlphaComposite.getInstance(AlphaComposite.SRC_OVER, 0.8f)); g2d.fillRect(0,0,getWidth(),getHeight()); g2d.setComposite(orig_comp);\n int base_x = 5, base_y = Utils.txtH(g2d,\"0\");\n base_y = drawKeyCombo(g2d, base_x, base_y, \"Key\", \"Normal\", \"Shift\", \"Ctrl\", \"Ctrl-Shift\");\n base_y = drawKeyCombo(g2d, base_x, base_y, \"E\", \"Expand Selection\", \"Use Directed Graph\");\n base_y = drawKeyCombo(g2d, base_x, base_y, \"1 - 9\", \"Select Degree\", \"Subtract\", \"Add\", \"Intersect\");\n base_y = drawKeyCombo(g2d, base_x, base_y, \"0\", \"Select Degree > 10\", \"Subtract\", \"Add\", \"Intersect\");\n base_y = drawKeyCombo(g2d, base_x, base_y, \"R\", \"Select Cut Vertices\", \"Subtract\", \"Add\", \"Intersect\");\n base_y = drawKeyCombo(g2d, base_x, base_y, \"Q\", \"Invert Selection\");\n base_y = drawKeyCombo(g2d, base_x, base_y, \"X\", \"Hide Selection\");\n base_y = drawKeyCombo(g2d, base_x, base_y, \"M\", \"Toggle Mode\");\n base_y = drawKeyCombo(g2d, base_x, base_y, \"G\", \"Grid Layout Mode\");\n base_y = drawKeyCombo(g2d, base_x, base_y, \"Y\", \"Line Layout Mode\");\n base_y = drawKeyCombo(g2d, base_x, base_y, \"C\", \"Circle Layout Mode\");\n base_y = drawKeyCombo(g2d, base_x, base_y, \"T\", \"Group Nodes\", \"Align Horizontally\", \"Align Vertically\", \"\");\n base_y = drawKeyCombo(g2d, base_x, base_y, \"S\", \"Set/Clear Sticky Labels\", \"Subtract From\", \"Add To\", \"Intersect With\");\n base_y = drawKeyCombo(g2d, base_x, base_y, \"V\", \"Toggle Node Size\");\n base_y = drawKeyCombo(g2d, base_x, base_y, \"L\", \"Toggle Labels\", \"Toggle Edge Templates\", \"Toggle Node Legend\", \"\");\n base_y = drawKeyCombo(g2d, base_x, base_y, \"W\", \"Make One Hops Visible\", \"Use Directed Graph\");\n base_y = drawKeyCombo(g2d, base_x, base_y, \"N\", \"Add Note\");\n base_y = drawKeyCombo(g2d, base_x, base_y, \"A\", \"Pan Mode\");\n base_y = drawKeyCombo(g2d, base_x, base_y, \"F\", \"Fit\");\n base_y = drawKeyCombo(g2d, base_x, base_y, \"Minus (-)\", \"Zoom Out\", \"Fit\");\n base_y = drawKeyCombo(g2d, base_x, base_y, \"Plus (+)\", \"Zoom In\");\n base_y = drawKeyCombo(g2d, base_x, base_y, \"Cursor Keys\", \"Shift Selected Nodes\");\n base_y = drawKeyCombo(g2d, base_x, base_y, \"< >\", \"Rotate Selected Nodes\", \"15 Degs\", \"90 Degs\", \"\");\n base_y = drawKeyCombo(g2d, base_x, base_y, \"{ }\", \"Scale Selected Nodes\", \"More\", \"Even More\", \"\");\n base_y = drawKeyCombo(g2d, base_x, base_y, \"F[2-5]\", \"Save Layout To Fx\", \"Restore\", \"Delete\", \"Restore\");\n }",
"@Test\n public void test12() throws Throwable {\n CombinedDomainCategoryPlot combinedDomainCategoryPlot0 = new CombinedDomainCategoryPlot();\n TextBlock textBlock0 = new TextBlock();\n TextBox textBox0 = new TextBox(textBlock0);\n RectangleInsets rectangleInsets0 = textBox0.getInteriorGap();\n combinedDomainCategoryPlot0.setAxisOffset(rectangleInsets0);\n }",
"@Override\n\tprotected void outlineShape(Graphics graphics) {\n\t}",
"private void drawXYZText() {\n\t\t//Draw text X - red\n\t\tgl.glColor3f(1.0f, 0.0f, 0.0f);\n\t\tgl.glRasterPos3f(1,0,0);\n\t\tglut.glutBitmapString(GLUT.BITMAP_HELVETICA_18, \"X\");\n\t\tgl.glEnd();\n\t\t//Draw text -X - red\n\t\tgl.glColor3f(1.0f, 0.0f, 0.0f);\n\t\tgl.glRasterPos3f(-1,0,0);\n\t\tglut.glutBitmapString(GLUT.BITMAP_HELVETICA_18, \"-X\");\n\t\tgl.glEnd();\n\t\t\n\t\t//Draw text Y - Green\n\t\tgl.glColor3f(0.0f, 1.0f, 0.0f);\n\t\tgl.glRasterPos3f(0,1,0);\n\t\tglut.glutBitmapString(GLUT.BITMAP_HELVETICA_18, \"Y\");\n\t\tgl.glEnd();\n\t\t//Draw text -Y - Green\n\t\tgl.glColor3f(0.0f, 1.0f, 0.0f);\n\t\tgl.glRasterPos3f(0,-1,0);\n\t\tglut.glutBitmapString(GLUT.BITMAP_HELVETICA_18, \"-Y\");\n\t\tgl.glEnd();\n\t\t\n\t\t//Draw text Z - Blue\n\t\tgl.glColor3f(0.0f, 0.0f, 1.0f);\n\t\tgl.glRasterPos3f(0,0,1);\n\t\tglut.glutBitmapString(GLUT.BITMAP_HELVETICA_18, \"Z\");\n\t\tgl.glEnd();\n\t\t//Draw text -Z - Blue\n\t\tgl.glColor3f(0.0f, 0.0f, 1.0f);\n\t\tgl.glRasterPos3f(0,0,-1);\n\t\tglut.glutBitmapString(GLUT.BITMAP_HELVETICA_18, \"-Z\");\n\t\tgl.glEnd();\n\t}",
"public interface IText extends ISinglePoint {\n\n /**\n * Defines whether the text rotation is relative to the screen or geographic\n * north\n * \n * @author sgilbert\n * \n */\n public static enum TextRotation {\n SCREEN_RELATIVE, NORTH_RELATIVE\n }\n\n /**\n * Defines the text justification options\n * \n * @author sgilbert\n * \n */\n public static enum TextJustification {\n LEFT_JUSTIFY, CENTER, RIGHT_JUSTIFY\n }\n\n /**\n * Defines available font styles\n * \n * @author sgilbert\n * \n */\n public static enum FontStyle {\n REGULAR, BOLD, ITALIC, BOLD_ITALIC\n }\n\n public static enum DisplayType {\n NORMAL, BOX, UNDERLINE, OVERLINE\n }\n\n /**\n * Gets the text to draw\n * \n * @return Array of text strings\n */\n public String[] getString();\n\n /**\n * Gets the name of the font to use\n * \n * @return font name\n */\n public String getFontName();\n\n /**\n * Gets the size of the font\n * \n * @return font size\n */\n public float getFontSize();\n\n /**\n * Gets the font style to use\n * \n * @return font style\n */\n public FontStyle getStyle();\n\n /**\n * Gets the lat/lon refernce position for the text display\n * \n * @return lat/lon coordinate\n */\n public Coordinate getPosition();\n\n /**\n * Gets the color to use for the text\n * \n * @return text color\n */\n public Color getTextColor();\n\n /**\n * Gets the specified justification\n * \n * @return the text justification\n */\n public TextJustification getJustification();\n\n /**\n * Gets the rotation angle to use\n * \n * @return rotation angle\n */\n public double getRotation();\n\n /**\n * Gets how the rotation angle is applied\n * \n * @return the rotation relativity\n */\n public TextRotation getRotationRelativity();\n\n /**\n * Determines whether the text should be displayed with an outline box\n * \n * @return true, if outline box should be displayed\n */\n public DisplayType getDisplayType();\n\n /**\n * Determines whether text background should be masked out.\n * \n * @return true, if background is to be masked\n */\n public Boolean maskText();\n\n /**\n * Gets the offset in the x direction for the text location. The offset is\n * specified in half-characters.\n * \n * @return The x direction offset\n */\n public int getXOffset();\n\n /**\n * Gets the offset in the y direction for the text location. The offset is\n * specified in half-characters.\n * \n * @return The y direction offset\n */\n public int getYOffset();\n\n public Boolean getHide();\n\n public Boolean getAuto();\n\n public int getIthw();\n\n public int getIwidth();\n\n}",
"private void createGrpLabel() {\n\n\t\tgrpLabel = new Group(grpPharmacyDetails, SWT.NONE);\n\t\tgrpLabel.setText(\"Preview of Label\");\n\t\tgrpLabel.setBounds(new Rectangle(390, 40, 310, 230));\n\t\tgrpLabel.setFont(ResourceUtils.getFont(iDartFont.VERASANS_8));\n\n\t\tcanvasLabel = new Canvas(grpLabel, SWT.NONE);\n\t\tcanvasLabel.setBounds(new org.eclipse.swt.graphics.Rectangle(12, 18,\n\t\t\t\t285, 200));\n\t\tcanvasLabel.setBackground(ResourceUtils.getColor(iDartColor.WHITE));\n\t\tcreateCanvasBorders();\n\n\t\tlblCanvasPharmName = new Label(canvasLabel, SWT.NONE);\n\t\tlblCanvasPharmName.setText(\"Facility Name\");\n\t\tlblCanvasPharmName.setFont(ResourceUtils.getFont(iDartFont.VERASANS_8));\n\t\tlblCanvasPharmName.setBackground(ResourceUtils\n\t\t\t\t.getColor(iDartColor.WHITE));\n\t\tlblCanvasPharmName.setBounds(5, 6, 273, 20);\n\t\tlblCanvasPharmName\n\t\t.setFont(ResourceUtils.getFont(iDartFont.VERASANS_10));\n\t\tlblCanvasPharmName.setAlignment(SWT.CENTER);\n\n\t\tlblCanvasPharmacist = new Label(canvasLabel, SWT.NONE);\n\t\tlblCanvasPharmacist.setText(\"Pharmacist\");\n\t\tlblCanvasPharmacist\n\t\t.setFont(ResourceUtils.getFont(iDartFont.VERASANS_8));\n\t\tlblCanvasPharmacist.setBackground(ResourceUtils\n\t\t\t\t.getColor(iDartColor.WHITE));\n\t\tlblCanvasPharmacist.setBounds(5, 27, 273, 20);\n\t\tlblCanvasPharmacist.setFont(ResourceUtils\n\t\t\t\t.getFont(iDartFont.VERASANS_10));\n\t\tlblCanvasPharmacist.setAlignment(SWT.CENTER);\n\n\t\tlblCanvasAddress = new Label(canvasLabel, SWT.NONE);\n\t\tlblCanvasAddress.setText(\"Physical Address\");\n\t\tlblCanvasAddress.setFont(ResourceUtils.getFont(iDartFont.VERASANS_8));\n\t\tlblCanvasAddress\n\t\t.setBackground(ResourceUtils.getColor(iDartColor.WHITE));\n\t\tlblCanvasAddress.setBounds(5, 49, 273, 20);\n\t\tlblCanvasAddress.setFont(ResourceUtils.getFont(iDartFont.VERASANS_10));\n\t\tlblCanvasAddress.setAlignment(SWT.CENTER);\n\n\t}",
"public void paint(final Graphics g, final int p0, final int p1,\n final Shape shape, final JTextComponent jtc) {\n TextUI textUI = jtc.getUI();\n if (textUI == null) {\n return;\n }\n\n int start = Math.min(p0, p1);\n int end = Math.max(p0, p1);\n Rectangle startRect = null;\n Rectangle endRect = null;\n Rectangle shapeBounds = shape.getBounds();\n\n try {\n startRect = textUI.modelToView(jtc, start,\n Position.Bias.Forward);\n endRect = textUI.modelToView(jtc, end, Position.Bias.Backward);\n } catch (final BadLocationException e) {\n }\n\n if (startRect == null || endRect == null) {\n return;\n }\n int startRectMaxY = startRect.y + startRect.height;\n boolean isLineGap = (startRectMaxY < endRect.y);\n boolean isDifferentLine = (startRectMaxY <= endRect.y);\n g.setColor(getRealColor(jtc));\n //It need to add 1 to width and height as that requires fillRect\n if (isLineGap) {\n g.fillRect(shapeBounds.x,\n startRectMaxY,\n shapeBounds.width + 1,\n endRect.y - startRectMaxY + 1);\n }\n\n if (isDifferentLine) {\n g.fillRect(startRect.x,\n startRect.y,\n shapeBounds.width - startRect.x + 1 + shapeBounds.x,\n startRect.height + 1);\n g.fillRect(shapeBounds.x, endRect.y,\n endRect.x - shapeBounds.x + 1,\n endRect.height + 1);\n } else {\n g.fillRect(Math.min(startRect.x, endRect.x),\n startRect.y,\n Math.abs(endRect.x - startRect.x + 1),\n startRect.height + 1);\n\n }\n }",
"@Override\r\n\t\tprotected void paintComponent(Graphics g) {\n\t\t\tsuper.paintComponents(g);\r\n\t\t\t\t//drawing image\r\n\t\t\t\tg.drawImage(image, 0, 0, null);\r\n\t\t\t\t\r\n\t\t\t\tQuery q = getQuery();\r\n\t\t\t\tif(q == null || q.getSelectedQuery() == null)\r\n\t\t\t\t\treturn;\r\n\t\t\t\t\r\n\t\t\t\tif(q.getSelectedQuery().trim().equalsIgnoreCase(\"Whole Region\"))\r\n\t\t\t\t{\r\n\t\t\t\t\tif(getQuery().isSubmitFlag())\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\ttry\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tStringBuffer sqlText = new StringBuffer();\r\n\t\t\t\t\t\t\t\tConnection con=hw2.getDBConnection();\r\n\t\t\t\t\t\t\t\tStatement st=con.createStatement();\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\tif(getQuery().isBuildingFlag())\r\n\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\tString sqlAll=\"select shape from buildings1\";\r\n\t\t\t\t\t\t\t\t\tResultSet rs=st.executeQuery(sqlAll);\r\n\t\t\t\t\t\t\t\t\tdrawCustomPolygon(g,FeatureTypeEnum.BUILDINGS,rs,Color.YELLOW);\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\tif(getQuery().isAsFlag())\r\n\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\tString sqlAll=\"select loc,rad from announcementsystems\";\r\n\t\t\t\t\t\t\t\t\tResultSet rs=st.executeQuery(sqlAll);\r\n\t\t\t\t\t\t\t\t\tdrawCustomPolygon(g,FeatureTypeEnum.AS,rs,Color.RED);\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\tif(getQuery().isStudentFlag())\r\n\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\tString sqlAll=\"select cord from test1\";\r\n\t\t\t\t\t\t\t\t\tResultSet rs=st.executeQuery(sqlAll);\r\n\t\t\t\t\t\t\t\t\tdrawCustomPolygon(g,FeatureTypeEnum.STUDENTS,rs,Color.GREEN);\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tcatch(Exception e)\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}//whole region ends\r\n\t\t\t\t\r\n\t\t\t\tif(q.getSelectedQuery().trim().equalsIgnoreCase(\"Point Query\")){\r\n\t\t\t\t\tg.setColor(Color.RED);\r\n\t\t\t\t\tg.drawRect(pqX, pqY, 5, 5);\r\n\t\t\t\t\tg.drawOval(pqX-50, pqY-50, 50*2, 50*2);\r\n\t\t\t\t\tif(getQuery().isSubmitFlag())\r\n\t\t\t\t\t{\r\n\t\t\t\t\tStringBuffer sqlText = new StringBuffer();\r\n\t\t\t\t\ttry {\r\n\t\t\t\t\t\tConnection con=hw2.getDBConnection();\r\n\t\t\t\t\t\tStatement st=con.createStatement();\r\n\t\t\t\t\t\tif(getQuery().isBuildingFlag()){\r\n\t\t\t\t\t\t\tString sqlAll=\"select a.shape from buildings1 a where \" +\r\n\t\t\t\t\t\t\t\t\t\"sdo_geom.relate(sdo_geometry(2003,null\" +\r\n\t\t\t\t\t\t\t\t\t\",null,sdo_elem_info_array(1,1003,4),sdo_ordinate_array(\"+(pqX-50)+\",\"+(pqY)+\",\"+(pqX+50)+\",\"+(pqY)+\",\"+(pqX)+\",\"+(pqY-50)+\")),\" +\r\n\t\t\t\t\t\t\t\t\t\"'anyinteract',a.shape,0.005)='TRUE'\";\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tString sqlNearest=\"select b.shape from buildings1 b where \" +\r\n\t\t\t\t\t\t\t\t\t\"sdo_nn(b.shape,sdo_geometry(2001,null\" +\r\n\t\t\t\t\t\t\t\t\t\",sdo_point_type(\"+pqX+\",\"+(pqY)+\",null),null,null),\"+\r\n\t\t\t\t\t\t\t\t\t\"'sdo_num_res=1')='TRUE'\";\r\n\t\t\t\t\t\t\tResultSet rs1=st.executeQuery(sqlAll);\r\n\t\t\t\t\t\t\tdrawCustomPolygon(g,FeatureTypeEnum.BUILDINGS,rs1,Color.GREEN);\r\n\t\t\t\t\t\t\tResultSet rs2=st.executeQuery(sqlNearest);\r\n\t\t\t\t\t\t\tdrawCustomPolygon(g,FeatureTypeEnum.BUILDINGS,rs2,Color.YELLOW);\r\n\t\t\t\t\t\t\tsqlText.append(sqlAll + \"\\n\" +sqlNearest);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif(getQuery().isAsFlag())\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tString sqlAll =\"select a.loc,a.rad from announcementsystems a where \" +\r\n\t\t\t\t\t\t\t\t\t\"sdo_geom.relate(sdo_geometry(2003,null,null,sdo_elem_info_array(1,1003,4),\" +\r\n\t\t\t\t\t\t\t\t\t\"sdo_ordinate_array(\"+(pqX-50)+\",\"+(pqY)+\",\"+(pqX+50)+\",\"+(pqY)+\",\"+(pqX)+\",\"+(pqY-50)+\")),'anyinteract',a.loc,0.005)='TRUE'\";\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tString sqlNearest=\"select b.loc,b.rad from announcementsystems b where \" +\r\n\t\t\t\t\t\t\t\t\t\"sdo_nn(b.loc,sdo_geometry(2001,null\" +\r\n\t\t\t\t\t\t\t\t\t\",sdo_point_type(\"+pqX+\",\"+(pqY)+\",null),null,null),\"+\r\n\t\t\t\t\t\t\t\t\t\"'sdo_num_res=1')='TRUE'\";\r\n\t\t\t\t\t\t\tResultSet rs1=st.executeQuery(sqlAll);\r\n\t\t\t\t\t\t\tdrawCustomPolygon(g,FeatureTypeEnum.AS,rs1,Color.GREEN);\r\n\t\t\t\t\t\t\tResultSet rs2=st.executeQuery(sqlNearest);\r\n\t\t\t\t\t\t\tdrawCustomPolygon(g,FeatureTypeEnum.AS,rs2,Color.YELLOW);\r\n\t\t\t\t\t\t\tsqlText.append(sqlAll + \"\\n\" +sqlNearest);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif(getQuery().isStudentFlag())\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tString sqlAll=\" select s.cord from test1 s where \" +\r\n\t\t\t\t\t\t\t\t\t\"sdo_geom.relate(sdo_geometry(2003,null\" +\r\n\t\t\t\t\t\t\t\t\t\",null,sdo_elem_info_array(1,1003,4),sdo_ordinate_array(\"+(pqX-50)+\",\"+(pqY)+\",\"+(pqX+50)+\",\"+(pqY)+\",\"+(pqX)+\",\"+(pqY-50)+\")),\" +\r\n\t\t\t\t\t\t\t\t\t\"'anyinteract',s.cord,0.005)='TRUE'\";\r\n\t\t\t\t\t\t\tString sqlNearest=\"select s.cord from test1 s where \" +\r\n\t\t\t\t\t\t\t\t\t\"sdo_nn(s.cord,sdo_geometry(2001,null\" +\r\n\t\t\t\t\t\t\t\t\t\",sdo_point_type(\"+pqX+\",\"+(pqY)+\",null),null,null),\"+\r\n\t\t\t\t\t\t\t\t\t\"'sdo_num_res=1')='TRUE'\";\r\n\t\t\t\t\t\t\tResultSet rs1=st.executeQuery(sqlAll);\r\n\t\t\t\t\t\t\tdrawCustomPolygon(g,FeatureTypeEnum.STUDENTS,rs1,Color.GREEN);\r\n\t\t\t\t\t\t\tResultSet rs2=st.executeQuery(sqlNearest);\r\n\t\t\t\t\t\t\tdrawCustomPolygon(g,FeatureTypeEnum.STUDENTS,rs2,Color.YELLOW);\r\n\t\t\t\t\t\t\tsqlText.append(sqlAll + \"\\n\" +sqlNearest);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tgetDispQuery().setText(sqlText.toString());\r\n\t\t\t\t\t\tst = null;\r\n\t\t\t\t\t} catch (SQLException e) {\r\n\t\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t\t}\r\n\t\t\t\t\t}\t\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tif(q.getSelectedQuery().trim().equalsIgnoreCase(\"Range Query\")){\r\n\t\t\t\t\tif(path.size() == 1){\r\n\t\t\t\t\t\tg.setColor(Color.RED);\r\n\t\t\t\t\t\tg.drawRect(path.get(0).x, path.get(0).y, 10, 10);\r\n\t\t\t\t\t}else{\r\n\t\t\t\t\t\tg.setColor(Color.RED);\r\n\t\t\t\t\t\tfor(int i=1;i<path.size();i++){\r\n\t\t\t\t\t\t\tint a = path.get(i-1).x;\r\n\t\t\t\t\t\t\tint b = path.get(i-1).y;\r\n\t\t\t\t\t\t\tint c = path.get(i).x;\r\n\t\t\t\t\t\t\tint d = path.get(i).y;\r\n\t\t\t\t\t\t\txi= path.get(i).x;\r\n\t\t\t\t\t\t\tyi= path.get(i).y;\r\n\t\t\t\t\t\t\tg.drawLine(a, b, c, d);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\tif(getQuery().isSubmitFlag())\r\n\t\t\t\t\t{\r\n\t\t\t\t\tStringBuffer sqlText = new StringBuffer();\r\n\t\t\t\t\ttry {\r\n\t\t\t\t\t\tConnection con=hw2.getDBConnection();\r\n\t\t\t\t\t\tStatement st=con.createStatement();\r\n\t\t\t\t\t\tString coordinates=\"\";\r\n\t\t\t\t\t\tfor(int i=0;i<path.size();i++)\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tcoordinates+=path.get(i).x+\",\"+path.get(i).y+\",\";\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tcoordinates+=path.get(0).x+\",\"+path.get(0).y;\r\n\t\t\t\t\t\tif(getQuery().isBuildingFlag()){\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tString sqlAll=\"select a.shape from buildings1 a where \" +\r\n\t\t\t\t\t\t\t\t\t\"sdo_geom.relate(sdo_geometry(2003,null\" +\r\n\t\t\t\t\t\t\t\t\t\",null,sdo_elem_info_array(1,1003,1),sdo_ordinate_array(\"+coordinates+\")),\" +\r\n\t\t\t\t\t\t\t\t\t\"'anyinteract',a.shape,0.005)='TRUE'\";\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tResultSet rs1=st.executeQuery(sqlAll);\r\n\t\t\t\t\t\t\tdrawCustomPolygon(g,FeatureTypeEnum.BUILDINGS,rs1,Color.YELLOW);\r\n\t\t\t\t\t\t\tsqlText.append(sqlAll + \"\\n\" );\r\n\t\t\t\t\t\t\tgetDispQuery().setText(sqlText.toString());\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif(getQuery().isAsFlag())\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tString sqlAll =\"select a.loc,a.rad from announcementsystems a where \" +\r\n\t\t\t\t\t\t\t\t\t\"sdo_geom.relate(sdo_geometry(2003,null,null,sdo_elem_info_array(1,1003,1),\" +\r\n\t\t\t\t\t\t\t\t\t\"sdo_ordinate_array(\"+coordinates+\")),'anyinteract',a.loc,0.005)='TRUE'\";\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tResultSet rs1=st.executeQuery(sqlAll);\r\n\t\t\t\t\t\t\tdrawCustomPolygon(g,FeatureTypeEnum.AS,rs1,Color.RED);\r\n\t\t\t\t\t\t\tsqlText.append(sqlAll + \"\\n\" );\r\n\t\t\t\t\t\t\tgetDispQuery().setText(sqlText.toString());\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tif(getQuery().isStudentFlag())\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tString sqlAll=\" select s.cord from test1 s where \" +\r\n\t\t\t\t\t\t\t\t\t\"sdo_geom.relate(sdo_geometry(2003,null\" +\r\n\t\t\t\t\t\t\t\t\t\",null,sdo_elem_info_array(1,1003,1),sdo_ordinate_array(\"+coordinates+\")),\" +\r\n\t\t\t\t\t\t\t\t\t\"'anyinteract',s.cord,0.005)='TRUE'\";\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tResultSet rs1=st.executeQuery(sqlAll);\r\n\t\t\t\t\t\t\tdrawCustomPolygon(g,FeatureTypeEnum.STUDENTS,rs1,Color.GREEN);\r\n\t\t\t\t\t\t\tsqlText.append(sqlAll + \"\\n\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tgetDispQuery().setText(sqlText.toString());\r\n\t\t\t\t\t\tst = null;\r\n\t\t\t\t\t}\t\t\r\n\t\t\t\t\tcatch(Exception e)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t}\t// end of Range Query\r\n\t\t\t\t\r\n\t\t\t\tif(q.getSelectedQuery().trim().equalsIgnoreCase(\"Surrounding Student\"))\r\n\t\t\t\t{\r\n\t\t\t\t\tg.setColor(Color.RED);\r\n\t\t\t\t\tStringBuffer sqlText = new StringBuffer();\r\n\t\t\t\t\tg.drawRect(pqX, pqY, 5, 5);\r\n\t\t\t\t\ttry {\r\n\t\t\t\t\t\tConnection con=hw2.getDBConnection();\r\n\t\t\t\t\t\tStatement st=con.createStatement();\r\n\t\t\t\t\t\tString sqlNearest=\"select a.loc,a.rad from announcementsystems a where \" +\r\n\t\t\t\t\t\t\t\t\"sdo_nn(a.loc,sdo_geometry(2001,null\" +\r\n\t\t\t\t\t\t\t\t\",sdo_point_type(\"+pqX+\",\"+(pqY)+\",null),null,null),\"+\r\n\t\t\t\t\t\t\t\t\"'sdo_num_res=1')='TRUE'\";\r\n\t\t\t\t\t\tResultSet rs2=st.executeQuery(sqlNearest);\r\n\t\t\t\t\t\tdrawCustomPolygon(g,FeatureTypeEnum.AS,rs2,Color.RED);\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tif(getQuery().isSubmitFlag())\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tint xco,yco,rad;\r\n\t\t\t\t\t\t\tString sqlAll=\"select p.rad,q.X,q.Y from announcementsystems p\" +\r\n\t\t\t\t\t\t\t\t\t\",table(sdo_util.getvertices(p.loc))q where p.bid in\" +\r\n\t\t\t\t\t\t\t\t\t\"(select a.bid from announcementsystems a where sdo_nn\" +\r\n\t\t\t\t\t\t\t\t\t\"(a.loc,sdo_geometry(2001,null\" +\r\n\t\t\t\t\t\t\t\t\t\",sdo_point_type(\"+pqX+\",\"+(pqY)+\",null),null,null),\"+\r\n\t\t\t\t\t\t\t\t\t\"'sdo_num_res=1')='TRUE')\";\r\n\t\t\t\t\t\t\tResultSet rs3=st.executeQuery(sqlAll);\r\n\t\t\t\t\t\t\trs3.next();\r\n\t\t\t\t\t\t\t rad=rs3.getInt(1);\r\n\t\t\t\t\t\t\t xco=rs3.getInt(2);\r\n\t\t\t\t\t\t\t yco=rs3.getInt(3);\r\n\t\t\t\t\t\t\tString sqlsurr=\"select c.cord from test1 c where sdo_geom.relate\" +\r\n\t\t\t\t\t\t\t\t\t\"(c.cord,'anyinteract',sdo_geometry(2003,null,null,sdo_elem_info_array(1,1003,4)\" +\r\n\t\t\t\t\t\t\t\t\t\",sdo_ordinate_array(\"+(xco+rad)+\",\"+(yco)+\",\"+(xco-rad)+\",\"+(yco)+\",\"+(xco)+\",\"+(yco+rad)+\r\n\t\t\t\t\t\t\t\t\t\")),0.005)='TRUE'\";\r\n\t\t\t\t\t\t\tResultSet rs8=st.executeQuery(sqlsurr);\r\n\t\t\t\t\t\t\tdrawCustomPolygon(g,FeatureTypeEnum.STUDENTS,rs8,Color.GREEN);\t\r\n\t\t\t\t\t\t\tsqlText.append(\"Query1:\"+sqlAll + \"\\n\"+\"Query2:\" +sqlNearest+\"\\n\"+\"Query3:\"+sqlsurr);\r\n\t\t\t\t\t\t\tgetDispQuery().setText(sqlText.toString());\r\n\t\t\t\t\t\t}\t\r\n\t\t\t\t\t}\r\n\t\t\t\t\tcatch(Exception e)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\t\r\n\t\t\t\t}//surronding query end\r\n\t\t\t\t\r\n\t\t\t\tif(q.getSelectedQuery().trim().equalsIgnoreCase(\"Emergency Query\"))\r\n\t\t\t\t{\r\n\t\t\t\t\tg.setColor(Color.RED);\r\n\t\t\t\t\tStringBuffer sqlText = new StringBuffer();\r\n\t\t\t\t\tg.drawRect(pqX, pqY, 5, 5);\r\n\t\t\t\t\tint no4=0;\r\n\t\t\t\t\ttry {\r\n\t\t\t\t\t\tConnection con=hw2.getDBConnection();\r\n\t\t\t\t\t\tStatement st=con.createStatement();\r\n\t\t\t\t\t\tString sqlNearest=\"select a.loc,a.rad from announcementsystems a where \" +\r\n\t\t\t\t\t\t\t\t\"sdo_nn(a.loc,sdo_geometry(2001,null\" +\r\n\t\t\t\t\t\t\t\t\",sdo_point_type(\"+pqX+\",\"+(pqY)+\",null),null,null),\"+\r\n\t\t\t\t\t\t\t\t\"'sdo_num_res=1')='TRUE'\";\r\n\t\t\t\t\t\tno4++;\r\n\t\t\t\t\t\tsqlText.append(\"Query\"+no4+\":\"+sqlNearest+\"\\n\");\r\n\t\t\t\t\t\tResultSet rs2=st.executeQuery(sqlNearest);\r\n\t\t\t\t\t\tdrawCustomPolygon(g,FeatureTypeEnum.AS,rs2,Color.RED);\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tif(getQuery().isSubmitFlag())\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tint xco,yco,rad;\r\n\t\t\t\t\t\t\tString aname;\r\n\t\t\t\t\t\t\tno4++;\r\n\t\t\t\t\t\t\tString sqlAll=\"select p.rad,p.bid,q.X,q.Y from announcementsystems p\" +\r\n\t\t\t\t\t\t\t\t\t\",table(sdo_util.getvertices(p.loc))q where p.bid in\" +\r\n\t\t\t\t\t\t\t\t\t\"(select a.bid from announcementsystems a where sdo_nn\" +\r\n\t\t\t\t\t\t\t\t\t\"(a.loc,sdo_geometry(2001,null\" +\r\n\t\t\t\t\t\t\t\t\t\",sdo_point_type(\"+pqX+\",\"+(pqY)+\",null),null,null),\"+\r\n\t\t\t\t\t\t\t\t\t\"'sdo_num_res=1')='TRUE')\";\r\n\t\t\t\t\t\t\tsqlText.append(\"Query\"+no4+\":\"+sqlAll+\"\\n\");\r\n\t\t\t\t\t\t\tResultSet rs3=st.executeQuery(sqlAll);\r\n\t\t\t\t\t\t\trs3.next();\r\n\t\t\t\t\t\t\trad=rs3.getInt(1);\r\n\t\t\t\t\t\t\taname=rs3.getString(2);\r\n\t\t\t\t\t\t\txco=rs3.getInt(3);\r\n\t\t\t\t\t\t\tyco=rs3.getInt(4);\r\n\t\t\t\t\t\t\tString[] A=new String[200];\r\n\t\t\t\t\t\t\tString[] alt=new String[100];\r\n\t\t\t\t\t\t\tString rem=\"select bid from announcementsystems where bid \" +\r\n\t\t\t\t\t\t\t\t\t\"not like '%\"+aname+\"%'\";\r\n\t\t\t\t\t\t\tno4++;\r\n\t\t\t\t\t\t\tsqlText.append(\"Query\"+no4+\":\"+rem+\"\\n\");\r\n\t\t\t\t\t\t\tResultSet remAS=st.executeQuery(rem);\r\n\t\t\t\t\t\t\tint i=0;\r\n\t\t\t\t\t\t\twhile(remAS.next())\r\n\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\tA[i]=remAS.getString(1);\r\n\t\t\t\t\t\t\t\ti++;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tint k=0;\r\n\t\t\t\t\t\t\tfor(k=0;k<i;k++)\r\n\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\tno4++;\r\n\t\t\t\t\t\t\t\talt[k]=\"select x.cord from announcementsystems y,test1 x \" +\r\n\t\t\t\t\t\t\t\t\t\t\"where sdo_nn(y.loc,x.cord,'sdo_num_res=2')='TRUE' and y.bid \" +\r\n\t\t\t\t\t\t\t\t\t\t\"like '%\" +A[k]+\"%'\"+\" and x.name in \" +\r\n\t\t\t\t\t\t\t\t\t\t\"(select a.name from test1 a where sdo_geom.relate\" +\r\n\t\t\t\t\t\t\t\t\t\t\"(a.cord,'anyinteract',sdo_geometry(2003,null,\" +\r\n\t\t\t\t\t\t\t\t\t\t\"null,sdo_elem_info_array(1,1003,4)\" +\r\n\t\t\t\t\t\t\t\t\t\t\",sdo_ordinate_array(\"+(xco+rad)+\",\"+(yco)+\",\"+(xco-rad)\r\n\t\t\t\t\t\t\t\t\t\t+\",\"+(yco)+\",\"+(xco)+\",\"+(yco+rad)+\r\n\t\t\t\t\t\t\t\t\t\t\")),0.005)='TRUE')\";\r\n\t\t\t\t\t\t\t\tsqlText.append(\"Query\"+no4+\":\"+alt[k]+\"\\n\");\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tResultSet rs7=st.executeQuery(alt[0]);\r\n\t\t\t\t\t\t\tdrawCustomPolygon(g,FeatureTypeEnum.STUDENTS,rs7,Color.WHITE);\r\n\t\t\t\t\t\t\tResultSet rs8=st.executeQuery(alt[1]);\r\n\t\t\t\t\t\t\tdrawCustomPolygon(g,FeatureTypeEnum.STUDENTS,rs8,Color.BLUE);\r\n\t\t\t\t\t\t\tResultSet rs9=st.executeQuery(alt[2]);\r\n\t\t\t\t\t\t\tdrawCustomPolygon(g,FeatureTypeEnum.STUDENTS,rs9,Color.CYAN);\r\n\t\t\t\t\t\t\tResultSet rs10=st.executeQuery(alt[2]);\r\n\t\t\t\t\t\t\tdrawCustomPolygon(g,FeatureTypeEnum.STUDENTS,rs10,Color.MAGENTA);\r\n\t\t\t\t\t\t\tResultSet rs11=st.executeQuery(alt[2]);\r\n\t\t\t\t\t\t\tdrawCustomPolygon(g,FeatureTypeEnum.STUDENTS,rs11,Color.green);\r\n\t\t\t\t\t\t\tgetDispQuery().setText(sqlText.toString());\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\tcatch(Exception e)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t}//Emergency Query Ends\r\n\t\t\t\t\t\r\n\t\t\t}",
"private void putDataToTextArea() {\n jTextArea1.setEditable(false);\n jTextArea1.setText(selectedFoods);\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jLabelTareas = new javax.swing.JLabel();\n jScrollPaneTareas = new javax.swing.JScrollPane();\n jPanelTareas = new javax.swing.JPanel();\n\n setBackground(new java.awt.Color(204, 204, 204));\n setMinimumSize(new java.awt.Dimension(934, 449));\n setPreferredSize(new java.awt.Dimension(934, 449));\n\n jLabelTareas.setFont(new java.awt.Font(\"Ubuntu\", 1, 30)); // NOI18N\n jLabelTareas.setForeground(new java.awt.Color(0, 0, 0));\n jLabelTareas.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);\n jLabelTareas.setText(\"Tareas\");\n\n jScrollPaneTareas.setBackground(new java.awt.Color(204, 204, 204));\n jScrollPaneTareas.setBorder(null);\n jScrollPaneTareas.setForeground(new java.awt.Color(204, 204, 204));\n\n jPanelTareas.setBackground(new java.awt.Color(204, 204, 204));\n jPanelTareas.setForeground(new java.awt.Color(204, 204, 204));\n jPanelTareas.setLayout(new java.awt.GridBagLayout());\n jScrollPaneTareas.setViewportView(jPanelTareas);\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n this.setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addContainerGap()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(jScrollPaneTareas)\n .addComponent(jLabelTareas, javax.swing.GroupLayout.DEFAULT_SIZE, 922, Short.MAX_VALUE))\n .addContainerGap())\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(6, 6, 6)\n .addComponent(jLabelTareas)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(jScrollPaneTareas, javax.swing.GroupLayout.DEFAULT_SIZE, 396, Short.MAX_VALUE))\n );\n }",
"public void createTextBox(){\n // Check if theGreenFootImage was set, otherwise create a blanco image\n // with the specific heights.\n if(theGreenfootImage != null){\n image = new GreenfootImage(theGreenfootImage);\n }else{\n image = new GreenfootImage(fieldWidth, fieldHeight);\n }\n \n if(hasBackground){\n if(borderWidth == 0 || borderHeight == 0){\n createAreaWithoutBorder();\n } else{\n createAreaWithBorder(borderWidth, borderHeight);\n }\n }\n \n // Create the default dont with given fontsize and color.\n font = image.getFont();\n font = font.deriveFont(fontSize);\n image.setFont(font);\n image.setColor(fontColor);\n \n // Draw the string in the image with the input, on the given coordinates.\n image.drawString(input, drawStringX, drawStringY);\n \n setImage(image); // Place the image\n }",
"@Override\r\n protected void paintChildren(Graphics g) {\n ((Graphics2D)g).setRenderingHint(RenderingHints.KEY_TEXT_ANTIALIASING, \r\n RenderingHints.VALUE_TEXT_ANTIALIAS_ON);\r\n super.paintChildren(g);\r\n }",
"public static void printAreas(String information) {\r\n //String information = stage + \"_\" + day + \"_\" + startTime;\r\n boolean bool = false;\r\n for (int i = 0; i <= 2976; i ++) {\r\n opCount++;\r\n if (LSItemsArray[i].getInformation().equals(information)){\r\n System.out.println(\"Load Shedding Inforamtion: \" + LSItemsArray[i].getInformation()\r\n + \": Corresponding Areas: \" + LSItemsArray[i].getAreas());\r\n bool = true;\r\n break;\r\n }\r\n\r\n }\r\n if (bool == false)\r\n System.out.println(\"Areas not found\");\r\n }",
"private static void showReservedSpacePolygons(HashSet<Polygon> reservedSpacePolygons) {\r\n\t\tfor (Polygon polygon : reservedSpacePolygons) {\r\n\t\t\tpolygon.display(RESERVED_SPACE_COLOR, true, POLYGON_VERTEX_RADIUS, false);\r\n\t\t}\r\n\t}",
"void enterShapeEditor(String layer, String shape);",
"private void setTextArea(String type)\n\t{\n\t\tif (type.equals(\"CreditTransaction\"))\n\t\t\ttaDSIXML.setText(mCreditTran);\n\t\telse if (type.equals(\"GiftTransaction\"))\n\t\t\ttaDSIXML.setText(mGiftTran);\t\n\t}",
"public void setAreaText(String text) {\n description.setText(text);\n }",
"protected void ifLost(){\n canvas.add(titleBorder);\n canvas.add(titleBox);\n Image lostText = new Image(213, 400, \"124-hw4/BreakoutText/lostText.png\");\n canvas.add(lostText);\n }",
"public JTextPane getTextPane(int a, int b) { return paneList[a%3][b%3].getPane();}",
"public void paint(Graphics g) {\r\n\r\n\t\tGraphics2D graphics2D = (Graphics2D) g;\r\n\r\n\t\tPoint2D origin = computeLayoutOrigin();\r\n\r\n\t\t// Since the caret Shapes are relative to the origin\r\n\t\t// of textLayout, we'll translate the graphics so that\r\n\t\t// the origin of the graphics is where we want textLayout\r\n\t\t// to appear.\r\n\r\n\t\tgraphics2D.translate(origin.getX(), origin.getY());\r\n\r\n\t\tboolean haveCaret = start1 == end1;\r\n\r\n\t\tif (!haveCaret) {\r\n\t\t\tShape highlight = textLayout.getLogicalHighlightShape(start1, end1);\r\n\t\t\tgraphics2D.setColor(new Color(184, 255, 183));\r\n\t\t\tgraphics2D.fill(highlight);\r\n\t\t}\r\n\r\n\t\t\r\n\t\thaveCaret = start0 == end0;\r\n\r\n\t\tif (!haveCaret) {\r\n\t\t\tShape highlight = textLayout.getLogicalHighlightShape(start0, end0);\r\n\t\t\tgraphics2D.setColor(Color.red);\r\n\t\t\tgraphics2D.draw(highlight);\r\n\t\t}\r\n\r\n\r\n\t\t\r\n\t\tgraphics2D.setColor(Color.black);\r\n\r\n\t\t// Draw textLayout.\r\n\t\ttextLayout.draw(graphics2D, 0, 0);\r\n\r\n/*\t\t// Retrieve caret Shapes for insertionIndex.\r\n\t\tShape[] carets = textLayout.getCaretShapes(insertionIndex);\r\n\r\n\t\t// Draw the carets. carets[0] is the strong caret, and\r\n\t\t// is never null. carets[1], if it is not null, is the\r\n\t\t// weak caret.\r\n\t\tgraphics2D.setColor(STRONG_CARET_COLOR);\r\n\t\tgraphics2D.draw(carets[0]);\r\n\r\n\t\tif (carets[1] != null) {\r\n\t\t\tgraphics2D.setColor(WEAK_CARET_COLOR);\r\n\t\t\tgraphics2D.draw(carets[1]);\r\n\t\t}*/\r\n\t}",
"protected void ifWon(){\n canvas.add(titleBorder);\n canvas.add(titleBox);\n Image wonText = new Image(205, 400, \"124-hw4/BreakoutText/wonText.png\");\n canvas.add(wonText);\n }"
] | [
"0.5895677",
"0.5659664",
"0.5507625",
"0.5460966",
"0.5408941",
"0.53900737",
"0.5373181",
"0.53527284",
"0.53434014",
"0.53430134",
"0.52866197",
"0.52861565",
"0.5273769",
"0.52698976",
"0.52501726",
"0.5243409",
"0.52272236",
"0.521945",
"0.5205299",
"0.51903254",
"0.51644146",
"0.5156773",
"0.51345193",
"0.5106432",
"0.5096668",
"0.50937927",
"0.50685",
"0.50576055",
"0.5045965",
"0.5041177",
"0.5035413",
"0.50342816",
"0.5023313",
"0.50020075",
"0.50006044",
"0.49978936",
"0.49955752",
"0.49953073",
"0.49933058",
"0.49839297",
"0.49822283",
"0.4974713",
"0.49606234",
"0.49577823",
"0.49435878",
"0.4942621",
"0.4938005",
"0.4932525",
"0.49312136",
"0.49299446",
"0.4926567",
"0.49223122",
"0.492165",
"0.49176902",
"0.49065",
"0.48971853",
"0.48945266",
"0.48880458",
"0.4887229",
"0.48843494",
"0.48815992",
"0.48810056",
"0.4878779",
"0.48754624",
"0.48709926",
"0.48681962",
"0.48661098",
"0.48625576",
"0.485527",
"0.48549065",
"0.48547772",
"0.4852683",
"0.48509294",
"0.48494875",
"0.48478326",
"0.48425126",
"0.48414358",
"0.48412684",
"0.48354417",
"0.4834504",
"0.4830653",
"0.48247066",
"0.4821537",
"0.48199236",
"0.4816633",
"0.48135197",
"0.4810456",
"0.480652",
"0.4806102",
"0.4804588",
"0.48023996",
"0.4796478",
"0.47884053",
"0.47849435",
"0.47835073",
"0.4782657",
"0.47782654",
"0.47727215",
"0.47718963",
"0.47707742",
"0.47704718"
] | 0.0 | -1 |
converts mold sizes, displays how much of ingredient user need to use | private void okMoldAction(){
String a1 = IHaveArea1.getText();
String b1 = IHaveArea2.getText();
String h1 = Height1.getText();
String a2 = inRecipeArea1.getText();
String b2 = inRecipeArea2.getText();
String h2 = Height2.getText();
double IHaveVolume;
double inRecipeVolume;
moldLabel.setWrapText(true);
if (a1.equals("") || h1.equals("") || a2.equals("")|| h2.equals("")){
moldLabel.setText("Too little information");
return;
}
try {
if (b1.equals("")) {
IHaveVolume = converter.getRoundMoldVolume(Double.parseDouble(a1), Double.parseDouble(h1)); // volume of round mold user has
} else {
IHaveVolume = converter.getRectangularMoldVolume(Double.parseDouble(a1), Double.parseDouble(b1), Double.parseDouble(h1)); // volume of rectangular mold user has
}
if (b2.equals("")) {
inRecipeVolume = converter.getRoundMoldVolume(Double.parseDouble(a2), Double.parseDouble(h2)); // volume of round mold used in recipe
} else {
inRecipeVolume = converter.getRectangularMoldVolume(Double.parseDouble(a2), Double.parseDouble(b2), Double.parseDouble(h2)); // volume of rectangular mold used in recipe
}
if (IHaveVolume == 0){
moldLabel.setText("Wrong values were given");
return;
}
double result = inRecipeVolume / IHaveVolume;
moldLabel.setWrapText(true);
DecimalFormat df = new DecimalFormat("###.###");
moldLabel.setText("You need to use " + df.format(result) + "x ingredients in recipe");
}
catch(NumberFormatException e){
moldLabel.setText("Wrong values were given");
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void scaleRecipe(double newSize, String newUnits) {\n \t\tdouble currentSize = getPostBoilVol(getVolUnits());\n \t\tcurrentSize = Quantity.convertUnit(getVolUnits(), newUnits, currentSize);\n \t\tdouble conversionFactor = newSize / currentSize;\n \n \t\tif (conversionFactor != 1) {\n \t\t\tsetPostBoil(newSize);\n \t\t\tsetVolUnits(newUnits);\n \n \t\t\t// TODO: figure out a way to make sure old IBU = new IBU\n \t\t\tfor (int i = 0; i < getHopsListSize(); i++) {\n \t\t\t\tHop h = getHop(i);\n \t\t\t\th.setAmount(h.getAmountAs(h.getUnits()) * conversionFactor);\n \t\t\t}\n \t\t\tfor (int i = 0; i < getMaltListSize(); i++) {\n \t\t\t\tFermentable f = getFermentable(i);\n \t\t\t\tf.setAmount(f.getAmountAs(f.getUnits()) * conversionFactor);\n \t\t\t}\n \t\t\tcalcHopsTotals();\n \t\t\tcalcMaltTotals();\n \n \t\t}\n \t}",
"@Override\n\tpublic String getSize() {\n\t\treturn sizeOfTheBeverage;\n\t}",
"private String calculateRefillSize() { // ORDER [k - s - f - n]\n\t\tArrayList<Integer> items_stock = new ArrayList<>();\n\t\tint k, s, f, n;\n\t\tk = getSetUpMachine().getKnife_stock() > 0 ? 20 - getSetUpMachine().getKnife_stock() : 0;\n\t\ts = getSetUpMachine().getSpoon_stock() > 0 ? 20 - getSetUpMachine().getSpoon_stock() : 0;\n\t\tf = getSetUpMachine().getFork_stock() > 0 ? 20 - getSetUpMachine().getFork_stock() : 0;\n\t\tn = getSetUpMachine().getNapkin_stock() > 0 ? 20 - getSetUpMachine().getNapkin_stock() : 0;\n\t\titems_stock.add(k);\n\t\titems_stock.add(s);\n\t\titems_stock.add(f);\n\t\titems_stock.add(n);\n\n\t\tSystem.out.format(\"\\n[ %d: K %d: S %d: F %d: N ]\\n\", k, s, f, n);\n\t\treturn String.format(\"\\n[ %d: K %d: S %d: F %d: N ]\\n\", k, s, f, n);\n\n\t}",
"public String getGoodsSize() {\n return goodsSize;\n }",
"public static String getFormattedSize(long size) {\r\n float localSize = (float)(size / Math.pow(2, 30));\r\n Formatter formatter = new Formatter();\r\n if (localSize > 1) {\r\n return formatter.format(\"%.2fG\", Math.round(localSize * 100) / 100f).toString();\r\n } else if ((localSize = (float)(size / Math.pow(2, 20))) > 1) {\r\n return formatter.format(\"%.2fM\", Math.round(localSize * 100) / 100f).toString();\r\n } else if ((localSize = (float)(size / Math.pow(2, 10))) > 1) {\r\n return formatter.format(\"%.2fK\", Math.round(localSize * 100) / 100f).toString();\r\n } else {\r\n return formatter.format(\"%dB\", size).toString();\r\n }\r\n }",
"public int getSetSize(){ return Integer.parseInt(setSize.getText()); }",
"public int getSizeMultipler() {\n return (int) Math.ceil(numberOfWordsOriginal / Parameters.SIZE_MULTIPLIER);\n }",
"public int inventorySize (TheGroceryStore g);",
"public int reproduct_sizes() {\n int prosize_id = 0;\n try (Connection con = DBUtil.getConnection();\n Statement stm = con.createStatement();\n ResultSet rs = stm.executeQuery(\"select size_id from sizes order by size_id desc limit 1;\");) {\n if (rs.next()) {\n prosize_id = rs.getInt(\"size_id\");\n } else {\n System.out.println(\"not set id!\");\n }\n } catch (SQLException e) {\n e.printStackTrace();\n }\n return prosize_id;\n }",
"public float sizeMultiplier();",
"public void updateInventory(Drink drink, int numDrinks)\n {\n\n String name = drink.getName();\n double size = drink.getSize();\n String type = drink.getType();\n if(drink.getType().equals(\"Small Draft Beer\") || drink.getType().equals(\"Large Draft Beer\")){\n //update size to account for quantities\n size = size * numDrinks;\n inventoryDB.updateQuantity(name.substring(6), size);\n }else if(drink.getType().equals(\"Mixed Drink\")){\n MixedDrink md = (MixedDrink)(drink); \n for(NonAlcoholic component: md.getMixer()){\n name = component.getName();\n size = component.getSize();\n //update size to account for quantities\n size = size * numDrinks;\n inventoryDB.updateQuantity(name, size);\n }\n for(Liquor component: md.getLiquor()){\n name = component.getName();\n size = component.getSize();\n //update size to account for quantities\n size = size * numDrinks;\n inventoryDB.updateQuantity(name, size);\n }\n }else{\n //update size to account for quantities\n size = size * numDrinks;\n inventoryDB.updateQuantity(name, size);\n }\n }",
"@Override\n public int pizzaPrice() {\n if (size.equals(\"Small\"))\n return SMALLPIZZA;\n else if (size.equals(\"Medium\"))\n return SMALLPIZZA + 2;\n else\n return SMALLPIZZA + 4;\n }",
"@Override\r\n\tpublic int getRecipeSize() {\r\n\t\treturn this.recipeWidth * this.recipeHeight;\r\n\t}",
"public double getCost() {\r\n\t\t\r\n\t\tif (super.getSize() == \"Small\") { totalCost = 2.00; }\r\n\t\t\r\n\t\tif (super.getSize() == \"Medium\") { totalCost = 2.50; }\r\n\t\t\r\n\t\tif (super.getSize() == \"Large\") { totalCost = 3.00; }\r\n\t\t\r\n\t\treturn totalCost;\r\n\t}",
"private String getBillPrice() {\n double cost = 0.00;\n\n for (MenuItem item : bill.getItems()) {\n cost += (item.getPrice() * item.getQuantity());\n cost += item.getExtraIngredientPrice();\n cost -= item.getRemovedIngredientsPrice();\n }\n\n return String.format(\"%.2f\", cost);\n }",
"public static String humanize (long size)\n {\n\n long b = 1;\n long Kb = b * 1024;\n long Mb = Kb * 1024;\n long Gb = Mb * 1024;\n long Tb = Gb * 1024;\n long Pb = Tb * 1024;\n long Eb = Pb * 1024;\n\n if (size < Kb) return format2( size ) + \" byte\";\n if (size >= Kb && size < Mb) return format2((double)size / Kb) + \" Kb\";\n if (size >= Mb && size < Gb) return format2((double)size / Mb) + \" Mb\";\n if (size >= Gb && size < Tb) return format2((double)size / Gb) + \" Gb\";\n if (size >= Tb && size < Pb) return format2((double)size / Tb) + \" Tb\";\n if (size >= Pb && size < Eb) return format2((double)size / Pb) + \" Pb\";\n if (size >= Eb) return format2((double)size / Eb) + \" Eb\";\n\n return \"???\";\n }",
"protected static String fileSize(long size) {\n\t\tString[] sizes = { \"B\", \"KB\", \"MB\", \"GB\", \"TB\" };\n\t\tint order = (int) Math.floor(Math.log(size) / Math.log(1024));\n\t\tif (order == 0)\n\t\t\treturn String.format(\"%d %s\", size, sizes[order]);\n\t\treturn String.format(\"%.5g %s\", size / Math.pow(1024, order), sizes[order]);\n\t}",
"@Override\n\tpublic String toString() {\n\t\treturn getFluidId().toString() + \", \" + NumberUtilities.shorten(getAmount().doubleValue(), \"\") + \"/\" + NumberUtilities.shorten(getSize().doubleValue(), \"\") + \" Buckets\";\n\t}",
"@Override\r\n public String receita() {\n return \"Misturar os ingredientes; bater no liquidificador; colocar na máquina de waffle por 10m\";\r\n }",
"private int calculateInputStock_Items() {\n\t\tint total = 0;\n\t\tArrayList<Integer> stock = getAllStockValues();\n\t\tif (!stock.isEmpty()) {\n\t\t\t// get for all K\n\t\t\ttotal += (stock.get(0) * getSetUpMachine().getVending_item().get(\"K\"));\n\t\t\t// get for all S\n\t\t\ttotal += (stock.get(1) * getSetUpMachine().getVending_item().get(\"S\"));\n\t\t\t// get for all F\n\t\t\ttotal += (stock.get(2) * getSetUpMachine().getVending_item().get(\"F\"));\n\t\t\t// get for all N\n\t\t\ttotal += (stock.get(3) * getSetUpMachine().getVending_item().get(\"N\"));\n\t\t}\n\t\treturn total;\n\t}",
"private void calcAndSetImageSize() {\r\n\t\tint alphabetSize = ((Number) jSpinnerAlphabetSize.getValue()).intValue();\r\n\t\tint subWordLength = ((Number) jSpinnerSubWordLength.getValue()).intValue();\r\n\t\tint mag = ((Number) jSpinnerMag.getValue()).intValue();\t\r\n\t\tint imageSize = ((int) (Math.sqrt(alphabetSize))) * (int) Math.pow(2, subWordLength-1) * mag;\r\n\t\tjLabelImageSize.setText(\"Image size: \" + imageSize + \"x\" + imageSize);\r\n\t}",
"double getSize();",
"private double calculatePrice(boolean hasExtraCheese, boolean hasPepperoni, boolean hasHawaiian, String size) {\n double basePrice = PIZZA_PRICE;\n if (hasExtraCheese) {\n basePrice += BASIC_TOPPING_PRICE;\n }\n if (hasPepperoni) {\n basePrice += BASIC_TOPPING_PRICE;\n }\n if (hasHawaiian) {\n basePrice += HAWAIIAN_PRICE;\n }\n\n if (size.equals(getString(R.string.personal))){\n basePrice += PERSONAL_PRICE;\n }else if (size.equals(getString(R.string.medium))){\n basePrice += MEDIUM_PRICE;\n }else if (size.equals(getString(R.string.large))){\n basePrice += LARGE_PRICE;\n }else if (size.equals(getString(R.string.xtra))){\n basePrice += XTRA_PRICE;\n }\n return quantity * basePrice;\n }",
"@Override\n\tpublic void setSize(String sizeOfTheBeverage) {\n\t\tthis.sizeOfTheBeverage = sizeOfTheBeverage;\n\t}",
"private void updateSizeSpinner(Product product, ProductColor productColor) {\n if (product != null) {\n ArrayList<ProductVariant> variantSizeArrayList = new ArrayList<>();\n\n for (ProductVariant pv : product.getVariants()) {\n if (pv.getColor().equals(productColor)) {\n variantSizeArrayList.add(pv);\n }\n }\n\n // Show sizes\n CartSizeSpinnerAdapter adapterSize = new CartSizeSpinnerAdapter(getActivity(), variantSizeArrayList);\n itemSizesSpinner.setAdapter(adapterSize);\n // Select actual size\n if (!variantSizeArrayList.isEmpty()) {\n int sizeSelection = 0;\n for (int i = 0; i < variantSizeArrayList.size(); i++) {\n// Timber.d(\"Compare list: \" + variantSizeArrayList.get(i).getId() + \" == \" + cartProductItem.getVariant().getId() + \" as actual\");\n if (variantSizeArrayList.get(i).getId() == cartProductItem.getVariant().getId()) {\n sizeSelection = i;\n }\n }\n itemSizesSpinner.setSelection(sizeSelection);\n }\n } else {\n Timber.e(\"UpdateImagesAndSizeSpinner with null product.\");\n }\n }",
"private String syuneri_gumar(ArrayList<Integer> syun, int size) {\n int summa = 0, i = 0;\n do {\n summa = summa + syun.get(i);\n i++;\n }\n while (i < size);\n return \"\" + summa;\n }",
"private int calcSize(int size)\n {\n return (((size - 1) / 9) + 1) * 9;\n }",
"public static String convert2MB_GB(double size) {\r\n\t\t\tString sizeNew = null;\r\n\t\t\tif (size > 1024) {\r\n\t\t\t\tsize = Math.round(size / 1024);\r\n\t\t\t\tif (size > 1024) {\r\n\t\t\t\t\tsize = Math.round(size / 1024);\r\n\t\t\t\t\tif (size > 1024) {\r\n\t\t\t\t\t\tsize = Math.round(size / 1024);\r\n\t\t\t\t\t\tsizeNew = String.valueOf(size) + \" GB\";\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tsizeNew = String.valueOf(size) + \" MB\";\r\n\t\t\t\t\t}\r\n\t\t\t\t} else {\r\n\t\t\t\t\tsizeNew = String.valueOf(size) + \" KB\";\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tsizeNew = String.valueOf(size) + \" Byte\";\r\n\t\t\t}\r\n\t\t\treturn sizeNew;\r\n\r\n\t\t}",
"public void calcAction(View v) \n\t{\n\t\ttry\n\t\t{\n\t\t\tString initial = size.getText().toString(); /* the following gets user input, in order to do calculations */\n\t\t\tString end = \"Nothing\"; /* This is the default text in case the unexpected happens */\n\t\t\tunit = selection.getSelectedItem().toString(); /* this gets the unit of measure that the user specifies */\n\t\tdouble convert = Double.parseDouble(initial); /* this converts the size input to numerical data, in order for calculations to be done */\n\t\t\tcapacity.setStorage(convert); /* send input to external class */\n\t\t\tDecimalFormat twop = new DecimalFormat(\"#.##\"); /* created new object, in order to format output to display two decimal places at most */\n\n\t\t\t/* the following conditional statement reads the unit of measure specify by the user, puts the data into the proper formula, and returns the results */\n\n\t\t\tif (unit.equals(\"KB\")) // runs if user specifies KB\n\t\t\t{\n\t\t\t\tend = twop.format(capacity.getKB());\n\t\t\t}\n\n\t\t\telse if (unit.equals(\"MB\")) /* runs if user specifies MB */\n\t\t\t{\n\t\t\t\tend = twop.format(capacity.getMB());\n\t\t\t}\n\n\t\t\telse if (unit.equals(\"GB\")) /* runs if user specifies GB */\n\t\t\t{\n\t\t\t\tend = twop.format(capacity.getGB());\n\t\t\t}\n\n\t\t\telse if (unit.equals(\"TB\")) /* runs if user specifies TB */\n\t\t\t{\n\t\t\t\tend = twop.format(capacity.getTB());\n\t\t\t}\n\n\t\t\telse if (unit.equals(\"PB\")) /* runs if user specifies PB */\n\t\t\t{\n\t\t\t\tend = twop.format(capacity.getPB());\n\t\t\t}\n\n\t\t\telse if (unit.equals(\"EB\")) /* runs if user specifies EB */\n\t\t\t{\n\t\t\t\tend = twop.format(capacity.getEB());\n\t\t\t}\n\n\t\t\telse if (unit.equals(\"ZB\")) /* runs if user specifies ZB */\n\t\t\t{\n\t\t\t\tend = twop.format(capacity.getZB());\n\t\t\t}\n\n\t\t\telse if (unit.equals(\"YB\")) /* runs if user specifies YB */\n\t\t\t{\n\t\t\t\tend = twop.format(capacity.getYB());\n\t\t\t}\n\n\t\t\telse; // send default text, if unexpected happens.\n\n\t\t\tresult.setText(end); // display results\n\t\t}\n\n\t\tcatch (NumberFormatException e)\n\t\t{\n\t\t\tAlertDialog.Builder m = new AlertDialog.Builder(this);\n\t\t\tm.setTitle(R.string.error); // set dialog title\n\t\t\tm.setMessage(R.string.error_message).setCancelable(true).setPositiveButton(R.string.ok, new DialogInterface.OnClickListener()\n\t\t\t{\n\t\t\t\tpublic void onClick(DialogInterface dialog, int id)\n\t\t\t\t{\n\t\t\t\t\tdialog.cancel();\n\t\t\t\t}\n\t\t\t});\n\t\t\tm.create();\n\t\t\tm.show();\n\t\t}\t\n\t}",
"public void changeSquareSize(){\r\n for(Square i : sqList){\r\n i.setSize(48);\r\n } \r\n }",
"public String readableFileSize(long size) {\r\n\t\tif(size <= 0) return \"0\";\r\n\t\tfinal String[] units = new String[] { \"B\", \"kB\", \"MB\", \"GB\", \"TB\" };\r\n\t\tint digitGroups = (int) (Math.log10(size)/Math.log10(1024));\r\n\t\treturn new DecimalFormat(\"#,##0.#\").format(size/Math.pow(1024, digitGroups)) + \" \" + units[digitGroups];\r\n\t}",
"public double getSize() \n {\n return size;\n }",
"private String formatSize(long size) {\n\t return Formatter.formatFileSize(this, size);\n\t}",
"public void sizeActionPerformed(java.awt.event.ActionEvent evt) {\n myFont.size = ((Integer) size.getSelectedItem()).intValue(); /*FAULT:: myFont.size = 5; */\n }",
"double getOrderSize();",
"private CharSequence calculateTotalPrice() {\n float totalPrice = 0.0f;\n totalPrice += UserScreen.fishingRodQuantity * 25.50;\n totalPrice += UserScreen.hockeyStickQuantity * 99.99;\n totalPrice += UserScreen.runningShoesQuantity * 85.99;\n totalPrice += UserScreen.proteinBarQuantity * 5.25;\n totalPrice += UserScreen.skatesQuantity * 50.79;\n return Float.toString(totalPrice);\n }",
"public void setPizzaSize(String size) {\n pizzaSize = size;\n }",
"public int getSize() {\n\treturn sizeNumber;\r\n}",
"public int getSize()\n\t{\n\n\t\t// Return the number of Products in the inventory\n\t\treturn myProductInventory.size();\n\n\t}",
"private void printDecreaseItemQuantityMenu(Shop shop, FileManager fileManager) {\n ArrayList<Tool> toolList = new ArrayList<Tool>();\n String selection = \"Y\";\n toolList = sellTools(shop, toolList, selection);\n createAutoOrder(shop, fileManager, toolList);\n }",
"private void minusQuantity(TextField source, Clothing clothing) {\n clothing.setCount(-1);\n int quantity = clothing.getCount();\n double totalPriceOfClothing = 0;\n\n for (int i = 0; i < clothingArrayList.size(); i++) {\n double countOfItems = clothingArrayList.get(i).getCount();\n double clothingPricePerUnit = Double.valueOf(clothingArrayList.get(i).getPrice());\n totalPriceOfClothing += clothingPricePerUnit * countOfItems;\n\n }\n source.setText(\"\" + (quantity));\n totalPrices.setText(\"\" + totalPriceOfClothing );\n\n }",
"private String bulkorderqtycalculation() {\n String strSubtotal = estimatedSubTotalPriceDisplayShoppingCart.getText();\n float intSubtotal = Float.parseFloat(strSubtotal.replaceAll(\"[^0-9.]\", \"\"));\n DecimalFormat df = new DecimalFormat(\"#\");\n String forSubtotal = df.format(intSubtotal);\n int forIntSubtotal = Integer.parseInt(forSubtotal);\n System.out.println(\"=== Subtotal after trimming: \" + forIntSubtotal);\n int reqqty = 0;\n reqqty = (3000 / forIntSubtotal);\n System.out.println(\"=== Qty Require is: \" + reqqty);\n String qtystr = String.valueOf(reqqty);\n return qtystr;\n }",
"public String getProdSizeMeaning() {\n return (String)getAttributeInternal(PRODSIZEMEANING);\n }",
"public double getOriginalGravity() {\n\t\tdouble gravity = 0;\n\t\tfor (RecipeIngredient ri : m_ingredientList) {\n\t\t\tif (ri.getIngredient().getType() == Ingredient.Type.MALT) {\n\t\t\t\tMalt m = (Malt) ri.getIngredient();\n\t\t\t\tgravity += 1000 * (m.getGravity() - 1) * ri.getAmount();\n\t\t\t}\n\t\t}\n\t\treturn 1 + (gravity / m_batchSize) / 1000;\n\t}",
"@Override\n public int summarizeQuantity() {\n int sum = 0;\n\n for ( AbstractItem element : this.getComponents() ) {\n sum += element.summarizeQuantity();\n }\n\n return sum;\n }",
"public float getSize()\n {\n return size;\n }",
"private String validateQuantityAmountNumPromotionShop(List<PromotionShopMap> lstCurrentPromotionShopMap, List<PromotionShopMap> lstNewPromotionShopMap) {\n\t\tint size = lstCurrentPromotionShopMap.size();\n\t\tint allocateQuantity = 0;\n\t\tint allocateAmount = 0;\n\t\tint allocateNum = 0;\n\t\tfor (int i = 0; i < size; i++) {\n\t\t\tPromotionShopMap psm = lstCurrentPromotionShopMap.get(i);\n\t\t\tif (psm.getQuantityMax() != null) {\n\t\t\t\tallocateQuantity++;\n\t\t\t}\n\t\t\tif (psm.getAmountMax() != null) {\n\t\t\t\tallocateAmount++;\n\t\t\t}\n\t\t\tif (psm.getNumMax() != null) {\n\t\t\t\tallocateNum++;\n\t\t\t}\n\t\t}\n\t\tfor (int j = 0, n = lstNewPromotionShopMap.size(); j < n; j++) {\n\t\t\tPromotionShopMap promotionShopMap = lstNewPromotionShopMap.get(j);\n\t\t\tString shopName = promotionShopMap.getShop() == null ? \"\" : (promotionShopMap.getShop().getShopCode() + \" - \" + promotionShopMap.getShop().getShopName());\n\t\t\tif (promotionShopMap.getQuantityMax() != null && allocateQuantity == 0) {\n\t\t\t\treturn Configuration.getResourceString(ConstantManager.VI_LANGUAGE, \"promotion.program.shop.denied.allcate.quantity\", shopName);\n\t\t\t}\n\t\t\tif (promotionShopMap.getQuantityMax() == null && allocateQuantity > 0) {\n\t\t\t\treturn Configuration.getResourceString(ConstantManager.VI_LANGUAGE, \"promotion.program.shop.no.allcate.quantity\", shopName);\n\t\t\t}\n\t\t\tif (promotionShopMap.getAmountMax() != null && allocateAmount == 0) {\n\t\t\t\treturn Configuration.getResourceString(ConstantManager.VI_LANGUAGE, \"promotion.program.shop.denied.allcate.amount\", shopName);\n\t\t\t}\n\t\t\tif (promotionShopMap.getAmountMax() == null && allocateAmount > 0) {\n\t\t\t\treturn Configuration.getResourceString(ConstantManager.VI_LANGUAGE, \"promotion.program.shop.no.allcate.amount\", shopName);\n\t\t\t}\n\t\t\tif (promotionShopMap.getNumMax() != null && allocateNum == 0) {\n\t\t\t\treturn Configuration.getResourceString(ConstantManager.VI_LANGUAGE, \"promotion.program.shop.denied.allcate.num\", shopName);\n\t\t\t}\n\t\t\tif (promotionShopMap.getNumMax() == null && allocateNum > 0) {\n\t\t\t\treturn Configuration.getResourceString(ConstantManager.VI_LANGUAGE, \"promotion.program.shop.no.allcate.num\", shopName);\n\t\t\t}\n\t\t}\n\t\treturn \"\";\n\t}",
"private void sizeBoxAction(ChoiceBox<String> box) {\n if (box.getId().equals(\"inRecipeBox\")) {\n if (inRecipeBox.getValue().equals(\"Rectangular\")) { // both areas are set visible bc we need two sides of rectangle\n inRecipeArea1.setVisible(false);\n inRecipeArea2.setVisible(false);\n cm1.setText(\"\");\n inRecipeSize.setText(\"Size:\");\n inRecipeArea1.setVisible(true);\n inRecipeArea2.setVisible(true);\n x1.setText(\" x\");\n cm1.setText(\" cm\");\n } else {\n cm1.setText(\"\");\n inRecipeArea1.setVisible(false);\n inRecipeArea2.setVisible(false);\n inRecipeArea1.setText(\"\");\n inRecipeArea2.setText(\"\");\n inRecipeSize.setText(\"Diameter:\");\n inRecipeArea1.setVisible(true);\n x1.setText(\" cm\");\n }\n }\n else {\n if (IHaveBox.getValue().equals(\"Rectangular\")) { // one area is set visible bc we only need a diameter of circle\n IHaveArea1.setVisible(false);\n IHaveArea2.setVisible(false);\n cm2.setText(\"\");\n IHaveSize.setText(\"Size:\");\n IHaveArea1.setVisible(true);\n IHaveArea2.setVisible(true);\n x2.setText(\" x\");\n cm2.setText(\" cm\");\n } else {\n cm2.setText(\"\");\n IHaveArea1.setVisible(false);\n IHaveArea2.setVisible(false);\n IHaveArea1.setText(\"\");\n IHaveArea2.setText(\"\");\n IHaveSize.setText(\"Diameter:\");\n IHaveArea1.setVisible(true);\n x2.setText(\" cm\");\n }\n }\n }",
"@Override\n public void onItemSelected(AdapterView<?> adapterView, View view, int i, long l) {\n String sizeAsString = adapterView.getItemAtPosition(i).toString();\n if(sizeAsString.equals(\"TINY\"))\n size = Dog.enumSize.TINY;\n\n else if(sizeAsString.equals(\"SMALL\"))\n size = Dog.enumSize.SMALL;\n\n else if(sizeAsString.equals(\"MEDIUM\"))\n size = Dog.enumSize.MEDIUM;\n\n else if(sizeAsString.equals(\"LARGE\"))\n size = Dog.enumSize.LARGE;\n\n }",
"public double getFoodQuantity() {\r\n\t\treturn fruitQuantity + meatQuantity;\r\n\t}",
"public void setSize(String size) throws IllegalPizza{\n\t\tif(size == null)\n\t\t\tthrow new IllegalPizza(\"Illegal, pizza size is not null!\");\n\t\tString size1 = size.toLowerCase();\n\t\tif (Objects.equals(size1, \"small\"))\n\t\t\tSize = size1;\n\t\telse if (Objects.equals(size1, \"medium\"))\n\t\t\tSize = size1;\n\t\telse if (Objects.equals(size1, \"large\"))\n\t\t\tSize = size1;\n\t\telse \n\t\t\tthrow new IllegalPizza(\"Illegal pizza size\");\n\t}",
"public String getPizzaSize() {\n return pizzaSize;\n }",
"protected abstract long getAmount(ItemVariant currentVariant);",
"private void drawDeckSize(Graphics2D g2)\n\t{\n\t\tFont fontyFont = new Font(\"IMPACT\", Font.BOLD, LARGE_FONT);\n\t\tg2.setFont(fontyFont);\n\t\tg2.setColor(Color.WHITE);\n\t\tString cardAmt = sizeOfDeck + \" card\";\n\t\tif (sizeOfDeck > 1)\n\t\t\tcardAmt += \"s in deck\";\n\t\telse\n\t\t\tcardAmt += \" in deck\";\n\t\tint curWidth = WIDTH_OF_SIZE_TEXT;\n\t\tif (sizeOfBurnDeck > 0)\n\t\t{\n\t\t\tcardAmt += \" ( \" + sizeOfBurnDeck + \" burned )\";\n\t\t\tcurWidth = WIDTH_OF_SIZE_TEXT_EXTENDED;\n\t\t}\n\t\tif (sizeOfDeck > 0)\n\t\t\tg2.drawString(cardAmt, frameWidth / 2 - curWidth / 2,\n\t\t\t\t\tDISTANCE_OF_SIZE_TEXT_FROM_TOP_OF_SCREEN);\n\t}",
"public ArrayList<String> Mass(String from, float amount, String[] units) {\n\t\tfrom = findFrom(from);\n\t\tif (from.equals(\"gram\")) {\n\t\t\tArrayList<String> kaduvil = new ArrayList<String>();\n\t\t\tkaduvil.add(\"\" + amount + \" \" + units[0] );\n\t\t\tkaduvil.add(\"\" + amount / 1000 + \" \" + units[1] );\n\t\t\tkaduvil.add(\"\" + amount / 453.59237f + \" \" + units[2] );\n\t\t\treturn kaduvil;\n\t\t} else {\n\t\t\tif (from.equals(\"pounds\")) {\n\t\t\t\treturn Mass(\"gram\", amount * 453.59237f, units);\n\t\t\t} else {\n\t\t\t\treturn Mass(\"gram\", amount * 1000, units);\n\t\t\t}\n\t\t}\n\t}",
"public int getSize() {\n return cart.size();\n }",
"@Override\n\tpublic double getSize() {\n\t\treturn Math.sqrt(getMySize())/2;\n\t}",
"private int getNormalTextSizeWeight() {\n return Integer.parseInt(getMessage(\"report.tabular.normal.text.size.weight\"));\n }",
"protected String sizeString()\n {\n return (\" (\" + map.getSizeX() + \" x \" + map.getSizeY() + \")\");\n }",
"public static Data<String> weaponMunitionQuantity(){\n\t\tData<String> res = new Data<String>();\n\t\tres.add(new Tuple<String, Integer>(\"2d10\", 10));\n\t\tres.add(new Tuple<String, Integer>(\"4d10\", 10));\n\t\tres.add(new Tuple<String, Integer>(\"1\", 60));\n\t\tres.add(new Tuple<String, Integer>(\"2d10\", 10));\n\t\tres.add(new Tuple<String, Integer>(\"4d10\", 10));\n\t\t\n\t\treturn res;\n\t}",
"public float getSize() {\n return size;\n }",
"public void addSizeModfier(int newSize) {\n\t\tif (size != null) {\n\t\t\tthrow new IllegalStateException(\"Multiple font sizes specified\");\n\t\t}\n\t\tthis.size = newSize;\n\t}",
"public void styleIngredientAddedListCell(ListView<Ingredient> lv){\n Callback<ListView<Ingredient>, ListCell<Ingredient>> ingredientsQuantityFormat = new Callback<ListView<Ingredient>, ListCell<Ingredient>>() {\n @Override\n public ListCell<Ingredient> call(ListView<Ingredient> ingredientListView) {\n ListCell<Ingredient> cell = new ListCell<>(){\n @Override\n protected void updateItem(Ingredient ingredient, boolean empty) {\n super.updateItem(ingredient, empty);\n if (empty){\n setText(null);\n } else {\n String quantityName = ingredient.getQuantityName();\n double quantityInGrams = ingredient.getQuantityInGrams();\n double quantityRatio = (quantityInGrams / ingredient.getSingleQuantityInGrams());\n\n //for formating. quantity in grams is to have no decimal places and the quantity\n //ratio is to have a maximum of one decimal place\n DecimalFormat df = new DecimalFormat(\"#.#\");\n DecimalFormat df2 = new DecimalFormat(\"#\");\n\n //eg if more than one egg, it should read eggs\n if (quantityRatio > 1){\n quantityName = quantityName + \"s\";\n }\n\n setText( ingredient.getName() + \" ( \" + df2.format(quantityInGrams) + \" grams / \" +\n df.format(quantityRatio) + \" \" + quantityName + \")\");\n }\n setFont(InterfaceStyling.textFieldFont);\n }\n };\n return cell;\n }\n };\n lv.setCellFactory(ingredientsQuantityFormat);\n }",
"@Override\n\tpublic int getSizeInventory() {\n\t\treturn inputInventory.length + outputInventory.length ;\n\t}",
"public abstract VehicleSize getSize();",
"public void verifyProductDetailAttribute(String Sku, String totalGemAmount, String MetalType, String height, String width,\r\n\r\n\t\t\tString MetalWeight, String Catagory, String TypeOfProduct, String DiamondShape, String NoOfDiamonds,\r\n\r\n\t\t\tString Collection, String GemstoneType, String GemstoneShape, String NoOfGemstones, String TotalGemWeight,\r\n\r\n\t\t\tString TotalDiamondWeight, Product productItms) {\n\r\n\t\tif (productItms.getTGemAmount() != null && !productItms.getTGemAmount().trim().equals(\"N/A\")) {\r\n\r\n\t\t\tString actualTGemAmount = utility.converPrice(productItms.getTGemAmount());\r\n\r\n\t\t\tif (!(actualTGemAmount.trim().toUpperCase().equals(totalGemAmount.trim().toUpperCase()))) {\r\n\r\n\t\t\t\tfinalResult.put(\"totalGemAmount\", finalResult.get(\"totalGemAmount\") & false);\r\n\r\n\t\t\t}\r\n\r\n\t\t}\r\n\r\n\t\telse\r\n\r\n\t\t{\r\n\r\n\t\t\tfinalResult.put(totalGemAmount, finalResult.get(\"totalGemAmount\") & false);\r\n\r\n\t\t\ttotalGemAmount = \"N/A\";\r\n\r\n\t\t}\r\n\r\n\t\t// verification of Metal type\r\n\r\n\t\tif (productItms.getmetalPurity() != null && !productItms.getmetalPurity().trim().equals(\"N/A\")) {\r\n\r\n\t\t\tString actualmetalPurity = productItms.getmetalPurity();\r\n\r\n\t\t\tif (!(actualmetalPurity.trim().toUpperCase().equals(MetalType.trim().toUpperCase()))) {\r\n\r\n\t\t\t\tfinalResult.put(\"MetalType\", finalResult.get(\"MetalType\") & false);\r\n\r\n\t\t\t}\r\n\r\n\t\t}\r\n\r\n\t\telse\r\n\r\n\t\t{\r\n\r\n\t\t\tfinalResult.put(MetalType, finalResult.get(\"MetalType\") & false);\r\n\r\n\t\t\tMetalType = \"N/A\";\r\n\r\n\t\t}\r\n\r\n\t\t// Verification of height of the product page\r\n\r\n\t\tif (productItms.getHeight() != null && !productItms.getHeight().trim().equals(\"N/A\")) {\r\n\r\n\t\t\tString actualHeight = utility.convertDecimal(productItms.getHeight());\r\n\r\n\t\t\tString expectedHeight = utility.convertDecimal(height);\r\n\r\n\t\t\tif (!(actualHeight.trim().toUpperCase().equals(expectedHeight.trim().toUpperCase()))) {\r\n\r\n\t\t\t\tfinalResult.put(\"height\", finalResult.get(\"height\") & false);\r\n\r\n\t\t\t}\r\n\r\n\t\t}\r\n\r\n\t\telse if (height == \"0\")\r\n\r\n\t\t{\r\n\r\n\t\t\theight = \"N/A\";\r\n\r\n\t\t\tfinalResult.put(height, finalResult.get(\"height\") & false);\r\n\r\n\t\t}\r\n\r\n\t\t// verification of width of the product page\r\n\r\n\t\tif (productItms.getWidth() != null && !productItms.getWidth().trim().equals(\"N/A\")) {\r\n\r\n\t\t\tString actualWidth = utility.convertDecimal(productItms.getWidth());\r\n\r\n\t\t\tString expectedWidth = utility.convertDecimal(width);\r\n\r\n\t\t\tif (!(actualWidth.trim().toUpperCase().equals(expectedWidth.trim().toUpperCase()))) {\r\n\r\n\t\t\t\tfinalResult.put(\"width\", finalResult.get(\"width\") & false);\r\n\r\n\t\t\t}\r\n\r\n\t\t}\r\n\r\n\t\telse if (width == \"0\")\r\n\r\n\t\t{\r\n\r\n\t\t\tfinalResult.put(\"width\", finalResult.get(\"width\") & false);\r\n\r\n\t\t\twidth = \"N/A\";\r\n\r\n\t\t}\r\n\r\n\t\t// verification of gold weight\r\n\r\n if((Sku.contains(\"RG\")||Sku.contains(\"BR\")))\r\n {\r\n MetalWeight=\"N/A\";\r\n \r\n }\r\n else {\r\n \r\n if(productItms.getGoldWeight() != null && !productItms.getGoldWeight().trim().equals(\"N/A\")){\r\n\r\n\r\n\t\t\tString actualGoldWeight = utility.convertDecimal(productItms.getGoldWeight().split(\" \")[0].toString());\r\n\r\n\t\t\tString expectedGoldWeight = utility.convertDecimal(MetalWeight);\r\n\r\n\t\t\tif (!(actualGoldWeight.trim().toUpperCase().equals(expectedGoldWeight.trim().toUpperCase()))) {\r\n\r\n\t\t\t\tfinalResult.put(\"MetalWeight\", finalResult.get(\"MetalWeight\") & false);\r\n\r\n\t\t\t}\r\n\r\n\t\t}\r\n\r\n\t\telse\r\n\r\n\t\t{\r\n\r\n\t\t\tfinalResult.put(\"MetalWeight\", finalResult.get(\"MetalWeight\") & false);\r\n\r\n\t\t\tMetalWeight = \"N/A\";\r\n\r\n\t\t}\r\n\r\n\t\t// verification of Design Type\r\n\r\n\t\tif (productItms.getDesignType() != null && !productItms.getDesignType().trim().equals(\"N/A\")) {\r\n\r\n\t\t\tString actualDesignType = productItms.getDesignType();\r\n\r\n\t\t\tif (!(actualDesignType.trim().toUpperCase().equals(Catagory.trim().toUpperCase()))) {\r\n\r\n\t\t\t\tfinalResult.put(\"Catagory\", finalResult.get(\"Catagory\") & false);\r\n\r\n\t\t\t}\r\n\r\n\t\t}\r\n\r\n\t\telse\r\n\r\n\t\t{\r\n\r\n\t\t\tfinalResult.put(\"Catagory\", finalResult.get(\"Catagory\") & false);\r\n\r\n\t\t\tCatagory = \"N/A\";\r\n\r\n\t\t}\r\n\r\n\t\t// Verification of style of the product in Product Page. String\r\n\r\n\t\tif (productItms.getstyle() != null && !productItms.getstyle().trim().equals(\"N/A\")) {\r\n\r\n\t\t\tif (!(utility.matchTwoString(productItms.getstyle(), TypeOfProduct)))\r\n\r\n\t\t\t\tfinalResult.put(\"TypeOfProduct\", finalResult.get(\"TypeOfProduct\") & false);\r\n\r\n\t\t}\r\n\r\n\t\telse\r\n\r\n\t\t{\r\n\r\n\t\t\tfinalResult.put(\"TypeOfProduct\", finalResult.get(\"TypeOfProduct\") & false);\r\n\r\n\t\t\tTypeOfProduct = \"N/A\";\r\n\r\n\t\t}\r\n\r\n\t\t// verification of Diamond shape\r\n\r\n\t\tif (productItms.getDshape() != null && !productItms.getDshape().trim().equals(\"N/A\")) {\r\n\r\n\t\t\tif (!(utility.matchTwoString(productItms.getDshape(), DiamondShape)))\r\n\r\n\t\t\t\tfinalResult.put(\"DiamondShape\", finalResult.get(\"DiamondShape\") & false);\r\n\r\n\t\t}\r\n\r\n\t\telse\r\n\r\n\t\t{\r\n\r\n\t\t\tfinalResult.put(\"DiamondShape\", finalResult.get(\"TypeOfProduct\") & false);\r\n\r\n\t\t\tDiamondShape = \"N/A\";\r\n\r\n\t\t}\r\n\r\n\t\t// verification of Total number of Diamonds\r\n\r\n\t\tString actualTotalnoDiamonds = productItms.getTotalnoDiamonds();\r\n\r\n\t\tif (!(actualTotalnoDiamonds.trim().toUpperCase().equals(NoOfDiamonds.trim().toUpperCase()))) {\r\n\r\n\t\t\tfinalResult.put(\"NoOfDiamonds\", finalResult.get(\"NoOfDiamonds\") & false);\r\n\r\n\t\t}\r\n\r\n\t\t// verification of Diamond total Weight\r\n\r\n\t\tString actualDtotalWeight = utility.convertDecimal(productItms.getDtotalWeight().split(\"ct\")[0].toString());\r\n\r\n\t\tString expetedDtotalWeight1 = utility.convertDecimal(TotalDiamondWeight.trim());\r\n\r\n\t\tif (!(actualDtotalWeight.trim().toUpperCase().equals(expetedDtotalWeight1.trim().toUpperCase()))) {\r\n\r\n\t\t\tfinalResult.put(\"TotalDiamondWeight\", finalResult.get(\"TotalDiamondWeight\") & false);\r\n\r\n\t\t}\r\n\r\n\t\t// verification of Collections\r\n\r\n\t\tif (!(utility.matchTwoString(productItms.getCollections(), Collection)))\r\n\r\n\t\t\tfinalResult.put(\"Collection\", finalResult.get(\"Collection\") & false);\r\n\r\n\t\t// verification of Gemstone Type\r\n\r\n\t\tif (GemstoneType.length() > 0)\r\n\r\n\t\t\tif (!(utility.matchTwoString(productItms.getGemType(), GemstoneType)))\r\n\r\n\t\t\t\tfinalResult.put(\"GemstoneType\", finalResult.get(\"GemstoneType\") & false);\r\n\r\n\t\t// verification of Gemstone shape\r\n\r\n\t\tif (GemstoneShape.length() > 0)\r\n\r\n\t\t\tif (!(utility.matchTwoString(productItms.getGemShape(), GemstoneShape)))\r\n\r\n\t\t\t\tfinalResult.put(\"GemstoneShape\", finalResult.get(\"GemstoneShape\") & false);\r\n\r\n\t\t// verification of Number of Gemstones\r\n\r\n\t\tif (!(NoOfGemstones.equals(\"0\"))) {\r\n\r\n\t\t\tString actualTotalNoGem = productItms.getTotalNoGem();\r\n\r\n\t\t\tif (!(actualTotalNoGem.trim().toUpperCase().equals(NoOfGemstones.trim().toUpperCase()))) {\r\n\r\n\t\t\t\tfinalResult.put(\"NoOfGemstones\", finalResult.get(\"NoOfGemstones\") & false);\r\n\r\n\t\t\t}\r\n\r\n\t\t}\r\n\r\n\t\t// verification of Total Gemstone weight\r\n\r\n\t\tif (!(TotalGemWeight.equals(\"0\"))) {\r\n\r\n\t\t\tString actualTotalGemWeight = utility\r\n\r\n\t\t\t\t\t.convertDecimal(productItms.getTotalGemWeight().split(\"ct\")[0].toString());\r\n\r\n\t\t\tString expectedTotalGemWeight = utility.convertDecimal(TotalGemWeight);\r\n\r\n\t\t\tif (!(actualTotalGemWeight.trim().toUpperCase().equals(expectedTotalGemWeight.trim().toUpperCase()))) {\r\n\r\n\t\t\t\tfinalResult.put(\"TotalGemWeight\", finalResult.get(\"TotalGemWeight\") & false);\r\n\r\n\t\t\t}\r\n\t\t}\r\n }\r\n\r\n\t\t\r\n\r\n\t}",
"public double calcTotal(){\n\t\tdouble total; // amount to be returned\n\t\t\n\t\t// add .50 cents for any milk that isn't whole or skim, and .35 cents for flavoring\n\t\tif ((milk != \"whole\" && milk != \"skim\") && flavor != \"no\"){\n\t\t\tcost += 0.85;\t\n\t\t}\n\t\t\n\t\t// add .35 cents for flavoring\n\t\telse if (flavor != \"no\"){\n\t\t\tcost += 0.35;\t\n\t\t}\n\t\t\n\t\t// add .50 cents for milk that isn't whole or skim\n\t\telse if (milk != \"whole\" && milk != \"skim\"){\n\t\t\tcost += 0.50;\n\t\t}\n\t\t\n\t\telse{\n\t\t}\n\t\t\n\t\t// add .50 cents for extra shot of espresso\n\t\tif (extraShot != false){\n\t\t\ttotal = cost + 0.50;\n\t\t}\n\t\telse\n\t\t\ttotal = cost;\n\t\t\n\t\treturn total;\n\t}",
"private static int multAndDivFixer(int size){\n return size;\n }",
"public void calcular(View view) {\n int quilos = Integer.valueOf(editTextQuantidade.getText().toString());\n int total = (quilos *1000)/500;\n \n String message = \"Com \" + quilos + \"kg de chocolate da para fazer \" + total + \" ovos de 500g.\";\n textViewTotal.setText(message);\n }",
"private String validateQuantityAmountNumPromotionShop(List<PromotionShopMap> lstPromotionShopMap) {\n\t\tint size = lstPromotionShopMap.size();\n\t\tint ALL_ALLOCATE = size;\n\t\tint NO_ALLOCATE = 0;\n\t\tint allocateQuantity = 0;\n\t\tint allocateAmount = 0;\n\t\tint allocateNum = 0;\n\t\tfor (int i = 0; i < size; i++) {\n\t\t\tPromotionShopMap psm = lstPromotionShopMap.get(i);\n\t\t\tif (psm.getQuantityMax() != null) {\n\t\t\t\tallocateQuantity++;\n\t\t\t}\n\t\t\tif (psm.getAmountMax() != null) {\n\t\t\t\tallocateAmount++;\n\t\t\t}\n\t\t\tif (psm.getNumMax() != null) {\n\t\t\t\tallocateNum++;\n\t\t\t}\n\t\t}\n\t\t// neu co phan bo thi phai phan bo tat ca cac dong\n\t\tif (NO_ALLOCATE < allocateQuantity && allocateQuantity < ALL_ALLOCATE) {\n\t\t\treturn Configuration.getResourceString(ConstantManager.VI_LANGUAGE, \"promotion.program.shop.no.allcate.all.quantity\");\n\t\t}\n\t\tif (NO_ALLOCATE < allocateAmount && allocateAmount < ALL_ALLOCATE) {\n\t\t\treturn Configuration.getResourceString(ConstantManager.VI_LANGUAGE, \"promotion.program.shop.no.allcate.all.amount\");\n\t\t}\n\t\tif (NO_ALLOCATE < allocateNum && allocateNum < ALL_ALLOCATE) {\n\t\t\treturn Configuration.getResourceString(ConstantManager.VI_LANGUAGE, \"promotion.program.shop.no.allcate.all.num\");\n\t\t}\n\t\t// phai phan bo it nhat 1 loai (so suat/so tien/so luong)\n\t\tif (allocateQuantity == NO_ALLOCATE && allocateAmount == NO_ALLOCATE && allocateNum == NO_ALLOCATE) {\n\t\t\treturn Configuration.getResourceString(ConstantManager.VI_LANGUAGE, \"promotion.program.shop.no.allocate.all\");\n\t\t}\n\t\treturn \"\";\n\t}",
"public Quill copySize(float newSize) { Quill quill = new Quill(this); quill.fontMgr.size = newSize ; quill.setFont(); return quill ; }",
"public abstract int getSmallStackSizeWishInKb();",
"private void resizeInternal(int size) {\n // save effort if the size did not change\n if (size == this.inventory.size()) {\n return;\n }\n ItemStackList newInventory = ItemStackList.withSize(size);\n\n for (int i = 0; i < size && i < this.inventory.size(); i++) {\n newInventory.set(i, this.inventory.get(i));\n }\n this.inventory = newInventory;\n }",
"public void updateAmmo(){\n if(shots >= 9999)\n shots = 9999;\n ammo.setText(\"x\" + String.format(\"%04d\", shots));\n }",
"private void calcPrice() {\n double itemPrice = 0;\n \n //get price of burger (base)\n if (singleRad.isSelected())\n {\n itemPrice = 3.50;\n }\n else \n {\n itemPrice = 4.75;\n }\n \n //check options add to item price\n if(cheeseCheckbox.isSelected())\n itemPrice = itemPrice += 0.50;\n if(baconCheckbox.isSelected())\n itemPrice = itemPrice += 1.25;\n if(mealCheckbox.isSelected())\n itemPrice = itemPrice += 4.00;\n \n //include the quantity for the item price\n int quantity= 1;\n if (quantityTextField.getText().equals(\"\"))\n quantityTextField.setText(\"1\");\n quantity = Integer.parseInt(quantityTextField.getText());\n itemPrice = itemPrice * quantity;\n\n \n //show the price no $ symbol\n \n itemPriceTextField.setText(d2.format(itemPrice));\n }",
"float getSize(float[] sizes);",
"public String getFamiliesSize() {\n return (String) families.getItemAt(0); /*Fault:: return \"xx\"; */\n }",
"@Override\n public USMoney calculatePrice() {\n USMoney sumPrice = new USMoney();\n for (int i = 0; i < curArrayIndex; i++) {\n sumPrice = sumPrice.add(items[i].getPrice());\n if (items[i].isFragile()) {\n sumPrice.addTo(10, 0);\n }\n }\n sumPrice.addTo(100, 0);\n return sumPrice;\n }",
"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tint i,j;\n\t\t\t\tfor(i=0;i<a;i++){\n\t\t\t\t\tfor(j=0;j<a-i-1;j++){\n\t\t\t\t\t\tint num1=det[j].size;\n\t\t\t\t\t\tint num2=det[j+1].size;\n\t\t\t\t\t\tif(num1>num2){\n\t\t\t\t\t\t\tdetails tempo=det[j];\n\t\t\t\t\t\t\tdet[j]=det[j+1];\n\t\t\t\t\t\t\tdet[j+1]=tempo;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tfor(i=0;i<a;i++){\n\t\t\t\t\tHashMap<String,String> temp1 = new HashMap<String,String>();\n\t\t\t\t\ttemp1.put(\"name\",det[i].name);\n\t\t\t\t\ttemp1.put(\"size\",String.valueOf(det[i].size));\n\t\t\t\t\ttemp1.put(\"extn\",det[i].extn);\n\t\t\t\t\tsizes.add(temp1);\n\t\t\t\t}\n\t\t\t\tDisp1();\t\n\t\t\t}",
"public VehicleSize getSize(){\r\n // return statement\r\n return sizeOfSp;\r\n }",
"public int getGallerySize(){\r\n int size = 0;\r\n if(recipe != null){\r\n size = recipe.getImageGallery().size();\r\n }\r\n return size;\r\n }",
"public abstract void adjustSize(long size);",
"@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tvmvcpumhztotalsize.setText(getVmvcpumhztotal(vmvcpumhztxt.getText(),\n\t\t\t\t\t\tvmvcpucombo.getSelectedItem().toString(), vmvcpumhzoverheadcombo.getSelectedItem().toString()));\n\n\t\t\t}",
"@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tvmvcpumhztotalsize.setText(getVmvcpumhztotal(vmvcpumhztxt.getText(),\n\t\t\t\t\t\tvmvcpucombo.getSelectedItem().toString(), vmvcpumhzoverheadcombo.getSelectedItem().toString()));\n\n\t\t\t}",
"@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tvmvcpumhztotalsize.setText(getVmvcpumhztotal(vmvcpumhztxt.getText(),\n\t\t\t\t\t\tvmvcpucombo.getSelectedItem().toString(), vmvcpumhzoverheadcombo.getSelectedItem().toString()));\n\n\t\t\t}",
"public void calculateSale()\n {\n double total = 0.00;\n int numTimbits = 0;\n int numDoughnuts = 0;\n int smallCoffee = 0;\n int mediumCoffee = 0;\n int largeCoffee = 0;\n String order;\n \n for(int i = 0; salesItem[i] != null && i < salesItem.length; i++)\n {\n if(salesItem[i] instanceof Timbit) \n {\n numTimbits = numTimbits + salesItem[i].getNumOfItems();\n }\n else if(salesItem[i] instanceof Doughnut)\n {\n numDoughnuts = numDoughnuts + salesItem[i].getNumOfItems();\n }\n else if(salesItem[i] instanceof Coffee)\n {\n if(salesItem[i].getNumOfItems()==1)\n {\n smallCoffee ++;\n }\n else if(salesItem[i].getNumOfItems()==2)\n {\n mediumCoffee ++;\n }\n else\n {\n largeCoffee ++;\n }\n }\n \n total += salesItem[i].getFinalPrice();\n }\n \n order = \"Timbits: \" + numTimbits + \"\\nDoughnuts: \" + numDoughnuts + \"\\nSmall Coffees: \" + smallCoffee + \"\\nMedium Coffees: \" + mediumCoffee + \"\\nLarge Coffees: \" + largeCoffee ; \n showText(order + String.format(\"\\nTotal Price: $%5.2f\", total), 150, 175);\n }",
"public long getSize()\n {\n return getLong(\"Size\");\n }",
"private double generateEngineSize(String model) {\n\t\tif (model.equals(\"compact\")) {\n\t\t\treturn (double) Math.round((90 + (150 - 90) * randomGenerator.nextDouble()) * 100) / 100;\n\t\t} else if (model.equals(\"intermediate\")) {\n\t\t\treturn (double) Math.round((150 + (250 - 150) * randomGenerator.nextDouble()) * 100) / 100;\n\t\t} else {\n\t\t\treturn (double) Math.round((250 + (400 - 250) * randomGenerator.nextDouble()) * 100) / 100;\n\t\t}\n\t}",
"@Override\n\tpublic int getEquipmentListSize(Map map) {\n\t\treturn cardoneinfoDao.getEquipmentListSize(map);\n\t}",
"public void setSize(int size) {\n\tthis.sizeNumber = sizeNumber;\r\n}",
"public String getSize(Integer iteration) {\n if (getCustomizations() != null && getCustomizations().size() > 0) {\n for (ItemCustomization customization : getCustomizations()) {\n if (customization.getSize() != null && customization.getSetNumber().equals(iteration))\n return customization.getSize();\n }\n }\n\n return null;\n }",
"public void printDogsOfSize(String size){\n System.out.println(\"Here are the \" + size + \" dogs in the shelter:\");\n ArrayList<Dog> smallDogs = dogsOfSize(size);\n for(Dog d : smallDogs){d.printInfo();}\n }",
"public static void calculateTotal(){\n int i=0;\n total=0;\n while(i<CustomAdapter.selecteditems.size()){\n total+= CustomAdapter.selecteditems.get(i).getPrice() * CustomAdapter.selecteditems.get(i).getQuantity();\n i++;\n }\n String s=\"Rs \"+String.valueOf(total);\n tv_total.setText(s);\n }",
"@ApiModelProperty(required = true, value = \"Amount of disk space used by the volume (in bytes). This information is only available for volumes created with the `\\\"local\\\"` volume driver. For volumes created with other volume drivers, this field is set to `-1` (\\\"not available\\\")\")\n\n public Long getSize() {\n return size;\n }",
"public double getMySize() {\n\t\treturn size;\n\t}",
"public void calculateCost() {\n \tdouble costToShipPack;\n \tint numOfPacks = 1;\n \t\n \tfor(Package p: this.packages) {\n \t\tcostToShipPack = 3 + (p.calcVolume() - 1);\n \t\tthis.totalAmounts.put(\"Package \"+numOfPacks, costToShipPack);\n \t\tnumOfPacks++;\n \t}\n \t\n }",
"public int askSize(String sizeName, int min, int max, String titel);",
"@Override\n\tpublic double mangeLegumes() {\n\t\treturn quantiteLegumes*this.getPoids();\n\t}",
"public int getUnitsSold(){\n\t\treturn unitsSold;\n\t}",
"public String formatSize(long size) {\n return Formatter.formatFileSize(mContext, size);\n }"
] | [
"0.6425572",
"0.61106044",
"0.6006847",
"0.5909138",
"0.57823557",
"0.574263",
"0.5592859",
"0.5537455",
"0.5517958",
"0.55029964",
"0.5488555",
"0.54307765",
"0.5430481",
"0.54145575",
"0.54009825",
"0.5396085",
"0.53933764",
"0.5374657",
"0.5351873",
"0.5348541",
"0.52973944",
"0.5279358",
"0.5278155",
"0.52774006",
"0.52692693",
"0.5260654",
"0.5249769",
"0.52450943",
"0.52360773",
"0.5229445",
"0.5229194",
"0.5218926",
"0.52121335",
"0.5209684",
"0.5208943",
"0.5201354",
"0.5180996",
"0.5165146",
"0.51428837",
"0.5135942",
"0.5132212",
"0.51289076",
"0.5124203",
"0.51230186",
"0.5119667",
"0.5113537",
"0.5107996",
"0.5107795",
"0.5102148",
"0.50994843",
"0.5093008",
"0.5083081",
"0.50809324",
"0.5069491",
"0.50618637",
"0.5058781",
"0.5054366",
"0.50367934",
"0.5036106",
"0.50334954",
"0.5033302",
"0.5025116",
"0.50243574",
"0.50242937",
"0.5023634",
"0.50217235",
"0.50197124",
"0.50194",
"0.5019179",
"0.5013796",
"0.50081724",
"0.5007553",
"0.49998677",
"0.49957982",
"0.49787974",
"0.49775887",
"0.49770033",
"0.49745798",
"0.49638388",
"0.495745",
"0.4956136",
"0.49540254",
"0.49505",
"0.49505",
"0.49505",
"0.494643",
"0.49454603",
"0.49446207",
"0.49403965",
"0.49388638",
"0.49363378",
"0.49348432",
"0.49338144",
"0.49234408",
"0.49200183",
"0.49176735",
"0.49122086",
"0.4906666",
"0.4900803",
"0.4899018"
] | 0.53436816 | 20 |
Hides the current window | public void actionPerformed(ActionEvent e) {
DeleteItem.this.setVisible(false);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void hide() {\n synchronized (ownedWindows) {\n for (int i = 0; i < ownedWindows.size(); i++) {\n Window child = (Window) ownedWindows.elementAt(i);\n if (child != null) {\n child.hide();\n }\n }\n }\n super.hide();\n }",
"public native void hide(GInfoWindow self)/*-{\r\n\t\tself.hide();\r\n\t}-*/;",
"public void hideIt(){\n this.setVisible(false);\n }",
"public void hideFrame() {\r\n this.setVisible(false);\r\n this.dispose();\r\n }",
"@Override\n public void hide() {\n displayWindow.setVisible(false);\n displayWindow.removeWindowFocusListener(this);\n parentDatePicker = null;\n }",
"public void hideProjectWindow() {\n\t\tprojectWindow.hide();\n\t}",
"public void hide() {\n/* 122 */ Component component = getComponent();\n/* */ \n/* 124 */ if (component instanceof JWindow) {\n/* 125 */ component.hide();\n/* 126 */ ((JWindow)component).getContentPane().removeAll();\n/* */ } \n/* 128 */ dispose();\n/* */ }",
"public void setHide()\n\t{\n\t\tMainController.getInstance().setVisible(name, false);\n\t}",
"@Override\n public void windowClosing(java.awt.event.WindowEvent e) {\n setVisible(false);\n }",
"protected void hide() {\n fQuickAssistAssistantImpl.closeBox();\n }",
"@Override\r\n\tpublic void hide() {\n\t\tthis.dispose();\r\n\t\t\r\n\t}",
"@Override\n\tpublic void hide() {\n\t\tdispose();\n\t}",
"@Override\n\tpublic void hide() {\n\t\tdispose();\n\n\t}",
"public void exitWindow()\n {\n //hide all windows except intro screen\n introScreen.setVisible(true);\n optionsScreen.setVisible(false);\n instructionScreen.setVisible(false);\n gameSelectScreen.setVisible(false);\n lobbyScreen.setVisible(false);\n revealedCardsScreen.setVisible(false);\n accusationScreen.setVisible(false);\n mainGameScreen.setVisible(false);\n\n clientController.leaveLobby();\n\n //set state to INTRO\n state = CurrentWindow.INTRO;\n }",
"public void hide() {\n visible=false;\n }",
"public void setWindowNotVisible()\n {\n lobbyWindowFrame.setVisible(false);\n }",
"public void hide() {\n\t\thidden = true;\n\t}",
"void hide();",
"public static void HideLoginScreen() {\n Login.window.setVisible(false);\n ControlPanelFrameHandler.bar.setVisible(true);\n }",
"public static void hideNew() {\n\t\tDIALOG.setVisible(false);\n\t}",
"public void hideScreen() {\n\t}",
"public void hide() {\n hidden = true;\n }",
"public void hide(){\n developmentGroup.setVisible(false);\n }",
"@Override\n public void onCloseWindow(WebView window) {\n window.setVisibility(View.GONE);\n webview.removeView(window);\n }",
"@Override\n\t\t\t\t\t\t\tpublic void handleEvent(MessageBoxEvent be) {\n\t\t\t\t\t\t\t\tthisWindow.hide();\n\t\t\t\t\t\t\t}",
"@Override\n public void windowClosing(WindowEvent e) {\n getTextArea().append(\"Hide log via window button\\n\");\n setVisible(false);\n }",
"public native boolean isHidden(GInfoWindow self)/*-{\r\n\t\treturn self.isHidden();\r\n\t}-*/;",
"void close() {\r\n this.setVisible(false);\r\n this.dispose();\r\n }",
"public void hide() {\n super.hide();\n }",
"public void close()\n {\n setVisible (false);\n dispose();\n }",
"public void hideDialog() {\n if (activeDialog != null) {\n activeDialog.hide();\n activeDialog = null;\n }\n }",
"public void hide() {\n\t\t\n\t\tfor(CustomScoreboardEntry entry : entries)\n\t\t\tentry.hide();\n\t\t\n\t\tthis.board.clearSlot(DisplaySlot.SIDEBAR);\n\t\t\n\t\tshown = false;\n\t}",
"private void hide() {\n\t}",
"public void close() {\n\t\tframe.setVisible(false);\n\t}",
"public void closeWindows() {\n\n waitingForPlayers.setVisible(false);\n bonusTilePane.setVisible(false);\n chooseCostPane.setVisible(false);\n payToObtainPane.setVisible(false);\n chooseEffectPane.setVisible(false);\n choosePrivilegePane.setVisible(false);\n chooseWorkersPane.setVisible(false);\n prayPane.setVisible(false);\n yourTurnPane.setVisible(false);\n suspendedPane.setVisible(false);\n yourTurnPane.setVisible(false);\n throwDicesPane.setVisible(false);\n bonusActionPane.setVisible(false);\n\n }",
"public void hide() {\n \t\tmContext.unregisterReceiver(mHUDController.mConfigChangeReceiver);\n \t\tmHighlighter.hide();\n \t\tmHUDController.hide();\n \t}",
"protected void closeThis() {\n\t\tthis.setVisible(false);\n\t}",
"public void hide() {\n }",
"@Override\r\n public void hide() {\r\n dispose();\r\n }",
"private final void closePanel() {\r\n\r\n\t\tthis.pnlMain.getRootPane().getParent().setVisible(false);\r\n\t\t\r\n\t}",
"public void hide() {\n\t\t// Useless if called in outside animation loop\n\t\tactive = false;\n\t}",
"@Override\n\t\t\t\t\t\tpublic void handleEvent(MessageBoxEvent be) {\n\t\t\t\t\t\t\tthisWindow.hide();\n\t\t\t\t\t\t}",
"public void windowClosing(WindowEvent e)\n {\n this.setVisible(false); /* hide frame which can be shown later */\n //e.getWindow().dispose();\n }",
"public void leavepage() {\n this.setVisible(false);\n }",
"public void hideGebruikersBeheerPanel() {gebruikersBeheerView.setVisible(false);}",
"public void hideWindowSoftKeyboard() {\n getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_HIDDEN);\n }",
"@Override\n\tpublic void windowClosing(WindowEvent arg0) {\n\t\tthis.setVisible(false);\n\t\tthis.dispose();\n\t}",
"private void hideTheWindowTitle() {\n\t\tgetWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,\n\t\t\t\tWindowManager.LayoutParams.FLAG_FULLSCREEN);\n\t\trequestWindowFeature(Window.FEATURE_NO_TITLE);\n\t}",
"public void stop()\r\n\t{\n\t\tif(theGridView != null)\r\n\t\t{\r\n\t\t\t// keep track of their visibility before they are all hidden\r\n\t\t\troomDescriptionWindowVisible = theGridView.roomDescriptionWindow.isVisible();\r\n\t\t\tmessagesWindowVisible = theGridView.messagesWindow.isVisible();\r\n\t\t\tinventoryWindowVisible = theGridView.inventoryWindow.isVisible();\r\n\t\t\tshopWindowVisible = theGridView.shopWindow.isVisible();\r\n\t\t\tclothingWindowVisible = theGridView.clothingWindow.isVisible();\r\n\t\t\tsettingsWindowVisible = theGridView.settingsWindow.isVisible();\r\n\t\t\thelpWindowVisible = theGridView.helpWindow.isVisible();\r\n\t\t\tavatarInfoWindowVisible = theGridView.avatarInfoWindow.isVisible();\r\n\t\t\tmapWindowVisible = theGridView.mapWindow.isVisible();\r\n\t\t\tloadingWindowVisible = loadingWindow.isVisible();\r\n\t\t\t\r\n\t\t\t// hide the UI elements\r\n\t\t\ttheGridView.roomDescriptionWindow.setVisible(false);\r\n\t\t\ttheGridView.messagesWindow.setVisible(false);\r\n\t\t\ttheGridView.inventoryWindow.setVisible(false);\r\n\t\t\ttheGridView.shopWindow.setVisible(false);\r\n\t\t\ttheGridView.clothingWindow.setVisible(false);\r\n\t\t\ttheGridView.settingsWindow.setVisible(false);\r\n\t\t\ttheGridView.helpWindow.setVisible(false);\r\n\t\t\ttheGridView.avatarInfoWindow.setVisible(false);\r\n\t\t\ttheGridView.mapWindow.setVisible(false);\r\n\t\t\tloadingWindow.setVisible(false);\r\n\t\t}\r\n\t}",
"private void closeDialog(java.awt.event.WindowEvent evt)//GEN-FIRST:event_closeDialog\r\n {\r\n setVisible(false);\r\n }",
"@Override\n public void hide() {\n if (!unit.player.isPlayerDead) {\n MyPreference.setIsNewGame(false);\n saves.Save();\n }\n GameController.allFalse();\n dispose();\n }",
"private void closeDialog(java.awt.event.WindowEvent evt) {//GEN-FIRST:event_closeDialog\r\n setVisible(false);\r\n setVisible(false);\r\n }",
"private void hideMe() {\n\t\tthis.setVisible(false);\n\t\ttxtName.setText(\"\");\n\t\ttxtEmail.setText(\"\");\n\t\ttxtPhone.setText(\"\");\n\t}",
"public void hide() {\n getRoot().hide();\n }",
"protected void closeDialog() { setVisible(false); dispose(); }",
"public void hideKeyboard() {\n try {\n InputMethodManager inputmanager = (InputMethodManager)this.getSystemService(Context.INPUT_METHOD_SERVICE);\n if (inputmanager != null) {\n inputmanager.hideSoftInputFromWindow(this.getCurrentFocus().getWindowToken(), 0);\n }\n } catch (Exception var2) {\n }\n }",
"@Override\r\n\tpublic void hide() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void hide() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void hide() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void hide() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void hide() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void hide() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void hide() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void hide() {\n\t\t\r\n\t}",
"@Override\n\tpublic void hide() {\n\t\tGdx.app.log(\"GameScreen\", \"Hidden\");\n\n\t}",
"@Override\r\n public void hide() {\r\n\r\n }",
"public void hideFrmMantenerEmpleado(){\n this.mFrmMantenerEmpleado.setVisible(false);\n }",
"public void close()\n {\n\n window.close();\n try\n {\n screen.close();\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n }",
"public static void closeMe() {\n window.close();\n }",
"public void closeDialog(java.awt.event.WindowEvent evt) {\n setVisible(false);\n dispose();\n }",
"@Override\r\n public void hide() {\n }",
"@Override\n\tpublic void hide() {\n\t\t\n\t}",
"@Override\n\tpublic void hide() {\n\t\t\n\t}",
"@Override\n\tpublic void hide() {\n\t\t\n\t}",
"@Override\n\tpublic void hide() {\n\t\t\n\t}",
"@Override\n\tpublic void hide() {\n\t\t\n\t}",
"@Override\n\tpublic void hide() {\n\t\t\n\t}",
"@Override\n\tpublic void hide() {\n\t\t\n\t}",
"@Override\n\tpublic void hide() {\n\t\t\n\t}",
"@Override\n\tpublic void hide() {\n\t\t\n\t}",
"@Override\n\tpublic void hide() {\n\t\t\n\t}",
"@Override\n\tpublic void hide() {\n\t\t\n\t}",
"@Override\n\tpublic void hide() {\n\t\t\n\t}",
"@Override\n\tpublic void hide() {\n\t\t\n\t}",
"@Override\n\tpublic void hide() {\n\t\t\n\t}",
"@Override\n\tpublic void hide() {\n\t\t\n\t}",
"@Override\n\tpublic void hide() {\n\t\t\n\t}",
"@Override\n\tpublic void hide() {\n\t\t\n\t}",
"@Override\n\tpublic void hide() {\n\t\t\n\t}",
"@Override\n\tpublic void hide() {\n\t\t\n\t}",
"@Override\n\tpublic void hide() {\n\t\t\n\t}",
"@Override\n\tpublic void hide() {\n\t\t\n\t}",
"@Override\n\tpublic void hide() {\n\t\t\n\t}",
"private void thisWindowClosed(WindowEvent evt) {\n\t\tthis.setVisible(false);\n\t\tnew MainFrame().setVisible(true);\n\t}",
"private void hideApplications() {\n \t\tif (mBlockAnimation) {\n \t\t\treturn;\n \t\t}\n \t\tmBlockAnimation = true;\n \n \t\tif (mHideLayoutAnimation == null) {\n \t\t\tmHideLayoutAnimation = AnimationUtils.loadLayoutAnimation(\n \t\t\t\t\tthis, R.anim.hide_applications);\n \t\t}\n \n \t\tmGridExit.setAnimationListener(new HideGrid());\n \t\tmGrid.startAnimation(mGridExit);\n \t\tmGrid.setVisibility(View.INVISIBLE);\n \n \t}",
"public void hide() {\r\n\t\tif (item != null) { \r\n\t ShowCaseStandalone.slog(Level.FINEST, \"Hiding showcase: \" + getSHA1());\r\n\t item.remove();\r\n\t \r\n\t int\t\tx\t= getSpawnLocation().getBlockX();\r\n\t int \ty \t= 0;\r\n\t int \tz\t= getSpawnLocation().getBlockZ();\r\n\t World\tw\t= getSpawnLocation().getWorld();\r\n\t \r\n\t item.teleport(new Location(w, x, y, z));\r\n\t\t\titem \t= null;\r\n\t\t}\r\n\t\tisVisible\t= false;\r\n\t}",
"public void dismiss() {\r\n\t\tmWindow.dismiss();\r\n\t}",
"public void hide() {\n // TODO(mschillaci): Add a FrameLayout wrapper so the view can be removed.\n if (mView != null && mView.getVisibility() == View.VISIBLE) {\n Animation animation = getOutAnimation();\n mView.startAnimation(animation);\n mView.setVisibility(View.GONE);\n }\n }",
"public void closeWindow() {\n\t\tframeUnableToBuyPopup.dispose();\n\t}",
"void close() {\n\t\t\n\t\tthis.frame.setVisible(false);\n\t\tthis.frame.dispose();\n\t\t\n\t}",
"public void hide() {\n isVisible = false;\n this.saveBorderColor(Color.BLACK);\n this.setBorderColor(Color.BLACK);\n }"
] | [
"0.77961785",
"0.7753554",
"0.76544565",
"0.7623348",
"0.74531513",
"0.7415016",
"0.7407435",
"0.71337754",
"0.7123721",
"0.71160966",
"0.7080964",
"0.705921",
"0.70351785",
"0.70190233",
"0.7008931",
"0.6997006",
"0.6993453",
"0.69813204",
"0.69378155",
"0.6844601",
"0.68413293",
"0.68383914",
"0.68219554",
"0.679882",
"0.6771166",
"0.6767531",
"0.6766764",
"0.6764161",
"0.67613286",
"0.673969",
"0.66781116",
"0.6658593",
"0.66538715",
"0.6646937",
"0.66208494",
"0.6620144",
"0.6612526",
"0.6572927",
"0.65710753",
"0.6558901",
"0.6548852",
"0.65401936",
"0.65343654",
"0.6523352",
"0.6523328",
"0.6498692",
"0.64828354",
"0.6464098",
"0.64544857",
"0.6447346",
"0.6440616",
"0.6430175",
"0.6427172",
"0.64096737",
"0.6402314",
"0.6398382",
"0.6387542",
"0.6387542",
"0.6387542",
"0.6387542",
"0.6387542",
"0.6387542",
"0.6387542",
"0.6387542",
"0.6371378",
"0.6367324",
"0.6364978",
"0.6361395",
"0.6347091",
"0.63440627",
"0.63404906",
"0.6335009",
"0.6335009",
"0.6335009",
"0.6335009",
"0.6335009",
"0.6335009",
"0.6335009",
"0.6335009",
"0.6335009",
"0.6335009",
"0.6335009",
"0.6335009",
"0.6335009",
"0.6335009",
"0.6335009",
"0.6335009",
"0.6335009",
"0.6335009",
"0.6335009",
"0.6335009",
"0.6335009",
"0.6335009",
"0.632668",
"0.63250446",
"0.6321899",
"0.63179004",
"0.63070965",
"0.63004893",
"0.6298732",
"0.6292773"
] | 0.0 | -1 |
Updates the item list prior to deletion | public void itemListAdd(ArrayList<String> list) {
itemList.addAll(list);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void deleteItem() {\n\t\taPList.remove();\r\n\t}",
"public void deleteItem(ActionEvent actionEvent) {\n // find the list that the item belongs in\n // removeItem() from its parenting list\n }",
"@Override\n\t\t\t\t\tpublic void OnSelectItem(Item item) {\n\n\t\t\t\t\t\tif(!toDelete.contains(item))\n\t\t\t\t\t\t\ttoDelete.add(item);\n\t\t\t\t\t}",
"private void undoDelete() {\n if (!mReversDeleteItemPositionsList.isEmpty()) {\n\n mAllItems.add(mReversDeleteItemPositionsList.get(mReversDeleteItemPositionsList.size() - 1),\n mReverseDeleteItemsList.get(mReverseDeleteItemsList.size() - 1));\n //subtract from pallet total\n mPickHandlerInterface.subtractFromTOtal(Integer.parseInt(mReverseDeleteItemsList.get(mReversDeleteItemPositionsList.size() - 1).getCaseQuantity()));\n notifyItemInserted(mReversDeleteItemPositionsList.get(mReversDeleteItemPositionsList.size() - 1));\n mReverseDeleteItemsList.remove(mReverseDeleteItemsList.size() - 1);\n mReversDeleteItemPositionsList.remove(mReversDeleteItemPositionsList.size() - 1);\n showUndoSnackbar();\n SendInformationToActivity();\n\n }\n\n }",
"void onItemDeleted();",
"void notifyListItemRemoved(int position);",
"@Override\n public void updateItem(DataModel newItem, int position) {\n\n deleteItem(position);\n originalData.add(0, newItem);\n currentData.add(0, newItem);\n }",
"public List onStartUp() {\n\t\t// TODO - implement ItemManager.onStartUp\n\n\t\tItemDAO itemDAO = new ItemDAO();\n\n\t\tList listOfItems = itemDAO.retrieveAll();\n\n\t\tfor (int i = 0; i < listOfItems.size(); i++) {\n\t\t\tItem tempItem = (Item) listOfItems.get(i);\n\n\t\t\tif (tempItem.getRemoved() == true) {\n\t\t\t\tlistOfItems.remove(i);\n\t\t\t\ti = i - 1;\n\t\t\t}\n\t\t}\n\n\t\treturn listOfItems;\n\n\t}",
"public void setCurrentListToBeUndoneList();",
"@Override\r\n\t\tpublic boolean deleteItem() {\n\t\t\treturn false;\r\n\t\t}",
"protected abstract void removeItem();",
"private void deleteitem() {\n if (mCurrentItemInfoUri != null) {\n DialogInterface.OnClickListener yesButtonClickListener =\n new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialogInterface, int i) {\n mProgressbarView.setVisibility(View.VISIBLE);\n ContentValues values = null;\n new updateDeleteItemToDbTask().execute(values);\n }\n };\n // Show dialog that there are unsaved changes\n showConfirmationDeleteDialog(yesButtonClickListener);\n }\n }",
"boolean removAble(InputItem item);",
"private void deleteItem(Item item) {\n updateItemInStoreList(item, DELETE_ITEM_OP);\n itemListViewModel.setList(storeList);\n }",
"public abstract boolean depleteItem();",
"@Override\n\tpublic void deleteItem(Object toDelete) {}",
"public void restorePreviousDeletion(){\n int cachePosition = deletedEntry.cachePosition;\n sortedFilesArrList.add(cachePosition, deletedEntry.cacheFileName);\n tag1ArrList.add(cachePosition, deletedEntry.cacheTag1);\n tag2ArrList.add(cachePosition, deletedEntry.cacheTag2);\n tag3ArrList.add(cachePosition, deletedEntry.cachetTag3);\n favArrList.add(cachePosition, deletedEntry.cacheFileIsFavorite);\n deletedEntry = null;\n\n notifyItemInserted(cachePosition);\n notifyItemRangeChanged(cachePosition, this.getItemCount());\n }",
"public void delete(MainItemOrdered mainItemOrdered);",
"public boolean onOptionsItemSelected(MenuItem item) {\n String input = note_input.getText().toString();\n\n switch (item.getItemId()) {\n case R.id.add:\n try {\n Log.i(tag, \"ADD: \" + input);\n\n //Adds item to adapter\n adapter.add(adapter.getCount() + 1 + \". \" + input);\n adapter.notifyDataSetChanged();\n\n //Every time after first adding new items. It appends the ArrayList too\n if (adapter.getCount() != listItem.size()) {\n Log.i(tag, \"Added by list...\");\n listItem.add(listItem.size() + 1 + \". \" + input);\n }\n\n //Resets the EditText box\n note_input.setText(\"\");\n\n for (int i = 0; i < listItem.size(); i++) {\n Log.i(tag, i + \": \" + listItem.get(i));\n }\n\n current_pos = -1; //Resets position\n return true;\n } catch (Exception e) {\n Toast.makeText(getApplicationContext(), \"Error, nothing selected\", Toast.LENGTH_SHORT).show();\n return true;\n }\n case R.id.delete:\n try {\n Log.i(tag, \"Delete: \" + input);\n Log.i(tag, \"Current pos: \" + current_pos);\n\n\n listItem.remove(current_pos); //Removes item from list\n listItem = remake_array(listItem); //Remakes list so that number labels are in order\n\n Log.i(tag, \"After Remake\");\n\n for (int i = 0; i < listItem.size(); i++) {\n Log.i(tag, i + \": \" + listItem.get(i));\n }\n\n //Following three lines are to update the adapter\n adapter.clear();\n adapter.addAll(listItem);\n adapter.notifyDataSetChanged();\n\n //Resets the edit text box and current position\n note_input.setText(\"\");\n current_pos = -1;\n return true;\n } catch (Exception e) {\n Toast.makeText(getApplicationContext(), \"Nothing selected to delete\", Toast.LENGTH_SHORT).show();\n return true;\n }\n case R.id.update:\n try {\n\n Log.i(tag, \"Update: \" + input);\n Log.i(tag, \"Current pos: \" + current_pos);\n\n //Updates the adapter\n adapter.remove(listItem.get(current_pos));\n adapter.insert(current_pos+1 + \". \" + input,current_pos);\n\n //Updates the ArrayList\n listItem.remove(current_pos); //Removes item from list\n listItem.add(current_pos, current_pos+1 + \". \" + input);\n listItem = remake_array(listItem); //Remakes list so that number labels are in order\n\n adapter.notifyDataSetChanged();\n\n Log.i(tag, \"After Update\");\n\n for (int i = 0; i < listItem.size(); i++) {\n Log.i(tag, i + \": \" + listItem.get(i));\n }\n\n\n\n note_input.setText(\"\");\n current_pos = -1;\n return true;\n } catch (Exception e) {\n Toast.makeText(getApplicationContext(), \"Nothing selected to update\", Toast.LENGTH_SHORT).show();\n return true;\n }\n //If the user presses the close or save button it closes the app\n case R.id.close:\n finish();\n return true;\n\n case R.id.save:\n finish();\n return true;\n\n default:\n return super.onOptionsItemSelected(item);\n }\n\n }",
"public void setArrayListOfItemsToBeDeletedViaNotificationModal() {\n List<WebElement> itemsToBeRemoved = UnavailableItems_Modal.findElements(By.xpath(\".//*[@class='mjr-product-name']\"));\n for (WebElement item : itemsToBeRemoved) {\n listOfDeletedItemNameShoppingCart.add(UtilityHelper.elementGetText(item));\n }\n }",
"@Override\n public void onItemLongClicked(int position) {\n items.remove(position);\n // Notify the adapter\n itemsAdapter.notifyItemRemoved(position);\n Toast.makeText(getContext(), \"Item was removed\", Toast.LENGTH_SHORT).show();\n saveItems();\n }",
"public void onDeleteList() {\n ListsManager listManager = ListsManager.getInstance(context);\n listManager.deleteTable(deletePosition,context);\n Toast.makeText(context, \"deleted TodoList\", Toast.LENGTH_SHORT).show();\n data.remove(deletePosition);\n notifyItemRemoved(deletePosition);\n }",
"public void removeAllItem() {\n orderList.clear();\n }",
"@FXML\r\n\tpublic void deleteItem() {\r\n\t\tcontroller.deleteWishlistItem(listView.getSelectionModel().getSelectedItem().getId());\r\n\t\tlistView.setItems(controller.getWishlistWatchesForCurrentUser());\r\n\t\tlistView.getSelectionModel().select(-1);\r\n\t}",
"public void setCurrentListToBeDoneList();",
"private void updateList() {\n Model.instace.getAllArticles(new ArticleFirebase.GetAllArticlesAndObserveCallback() {\n @Override\n public void onComplete(List<Article> list) {\n data.clear();\n data = list;\n adapter.notifyDataSetChanged();\n }\n\n @Override\n public void onCancel() {\n\n }\n });\n }",
"public void hapusItem(Item objItem) {\n arrItem.remove(objItem); //buang item\n }",
"public void update(T item) \t\n\t{\n\t\t/**Variable used to keep track of node removed*/\n\t\tListItem<T> lineRemoved = null;\n\t\t/**Variable to temporarily store old head*/\n\t\tListItem<T> temp = head;\n\n\t\tif(item.compareTo(temp.getItem()) == 0)\n\t\t{\n\t\t\thead = temp.next;\n\t\t\tnumItems--;\n\t\t\tlineRemoved = temp;\n\t\t\tlineRemoved.setNext(null);\t\n\t\t}\n\t\t\n\t\t/**Variable to track head*/\n\t\tListItem<T> previous = head;\n\t\t\t\n\t\twhile(temp.getNext() != null)\n\t\t{\n\t\t\ttemp = temp.getNext();\n\t\t\tif(item.compareTo(temp.getItem()) == 0)\n\t\t\t{\n\t\t\t\tprevious.setNext(temp.getNext());\n\t\t\t\tnumItems--;\n\t\t\t\ttemp.setNext(null);\n\t\t\t\tlineRemoved = temp;\n\t\t\t}\n\t\t\tprevious = temp;\n\t\t}\n\t\t\n\t\tif(lineRemoved != null)\n\t\t{\n\t\t\toffer(lineRemoved.item);\n\t\t}\n\t}",
"@Override\n public void onSuccess()\n {\n mItems.remove(position);\n notifyItemRemoved(position);\n notifyItemRangeChanged(position, mItems.size());\n }",
"@Override\n public void onSuccess()\n {\n mItems.remove(position);\n notifyItemRemoved(position);\n notifyItemRangeChanged(position, mItems.size());\n }",
"void notifyListItemInserted(int position);",
"private void removeList()\r\n {\n if (tableCheckBinding != null)\r\n {\r\n tableCheckBinding.dispose();\r\n tableCheckBinding = null;\r\n }\r\n\r\n // m_TableViewer.setInput(null);\r\n WritableList newList = new WritableList(SWTObservables.getRealm(Display.getDefault()));\r\n for (int i = 0; i < 10; ++i)\r\n {\r\n newList.add(this.generateNewDataModelItem());\r\n }\r\n m_TableViewer.setInput(newList);\r\n }",
"@Override\n public void deleteItem(P_CK t) {\n \n }",
"public void actionPerformed(ActionEvent e) {\n\t\t\t\tItemType i = getSelectedItem();\n\t\t\t\tif(i != null)\n\t\t\t\t{\t\n\n\t\t\t\t\tfinal String msg = \"Delete \"+i.getName() + \"?\";\n\t\t\t\t\tif(!confirmDelete(msg))\n\t\t\t\t\t\treturn;\n\t\t\t\t\ti.removeContainer(GeneralItemList.this);\n\t\t\t\t\ti.destroy();\n\t\t\t\t}\n\t\t\t\titems.remove(i);\n\t\t\t\tlist.clearSelection();\n\t\t\t\tlist.repaint(100);\t\t\t\t\n\t\t\t}",
"@FXML\n public void removeListItem(ActionEvent event) throws IOException {\n int removeItemIndex = unseenPacketList.getSelectionModel().getSelectedIndex();\n if (removeItemIndex < 0) {\n \tJOptionPane.showMessageDialog(null, \"Cannot remove from already empty list.\");\n } else {\n \tUpdateHandler.getAllPacketsList().remove(removeItemIndex);\n unseenPacketList.getItems().remove(removeItemIndex);\n UpdateHandler.getUnseenPacketListIndex().remove(removeItemIndex);\n }\n \n }",
"@Override\n\tpublic void modifyItem(Object toUpdated) {}",
"private void updateItemInStoreList(Item item, String operation) {\n if (item != null) {\n String storeId = item.getItemStoreId();\n if (!TextUtils.isEmpty(storeId)) {\n int storeObjIndex = getIndexIfStoreObjWithIdAlreadyExists(storeId, storeList);\n if (storeObjIndex != -1) {\n Store storeObj = storeList.get(storeObjIndex);\n List<Item> itemList = storeObj.getItems();\n int itemObjIndex = getIndexIfItemObjAlreadyExists(item.getItemId(), itemList);\n if (itemObjIndex != -1) {\n if (operation.equals(EDIT_ITEM_OP))\n itemList.set(itemObjIndex, item);\n else {\n // Delete item\n itemList.remove(itemObjIndex);\n // If itemList gets empty, remove store from the store-list\n if (itemList.isEmpty())\n storeList.remove(storeObjIndex);\n }\n }\n }\n }\n }\n }",
"public void deleteItem() {\n\t\t\tAsyncCallback<BmUpdateResult> callback = new AsyncCallback<BmUpdateResult>() {\n\t\t\t\t@Override\n\t\t\t\tpublic void onFailure(Throwable caught) {\n\t\t\t\t\tstopLoading();\n\t\t\t\t\tshowErrorMessage(this.getClass().getName() + \"-deleteItem(): ERROR \" + caught.toString());\n\t\t\t\t}\n\n\t\t\t\t@Override\n\t\t\t\tpublic void onSuccess(BmUpdateResult result) {\n\t\t\t\t\tstopLoading();\n\t\t\t\t\tprocessItemDelete(result);\n\t\t\t\t}\n\t\t\t};\n\n\t\t\t// Llamada al servicio RPC\n\t\t\ttry {\n\t\t\t\tif (!isLoading()) {\n\t\t\t\t\tstartLoading();\n\t\t\t\t\tgetUiParams().getBmObjectServiceAsync().delete(bmoRequisitionItem.getPmClass(), bmoRequisitionItem, callback);\n\t\t\t\t}\n\t\t\t} catch (SFException e) {\n\t\t\t\tstopLoading();\n\t\t\t\tshowErrorMessage(this.getClass().getName() + \"-deleteItem(): ERROR \" + e.toString());\n\t\t\t}\n\t\t}",
"public static void syncItems() {\n ArrayList<Contest> keep = null;\n if (contestItems.size() > CONTEST_LIST_SIZE) {\n keep = new ArrayList<>(contestItems.subList(0, CONTEST_LIST_SIZE));\n keep = removeDups(keep);\n // sort and redraw\n Collections.sort(keep, new ContestComparator());\n adapter.clear();\n adapter.addAll(keep);\n //adapter = new ContestItemsAdapter(mCtx, keep);\n }\n\n adapter.notifyDataSetChanged();\n }",
"boolean updateItems() {\n return updateItems(selectedIndex);\n }",
"public void removeItem(){\n\t\tthis.item = null;\n\t}",
"private void onItemDeleted() {\n Log.i(\"BasketFragment\",\"deleted\");\n }",
"public void updateAfterDeletion(List<Integer> pageList) {\n if (pageList == null || pageList.size() == 0) {\n return;\n }\n\n mDocPagesModified = true;\n mCurrentPage -= pageList.size();\n\n Collections.sort(pageList); // since we will use binary search\n\n // Update page numbers\n ListIterator<Map<String, Object>> it = mDataList.listIterator();\n int deleteCnt = 0;\n Integer pageNum;\n while (it.hasNext()) {\n Map<String, Object> item = it.next();\n pageNum = (Integer) item.get(PAGE_NUMBER_SRC);\n try {\n if (Collections.binarySearch(pageList, pageNum) >= 0) {\n mDataLock.lock();\n item.put(THUMB_IMAGE, null);\n mDataLock.unlock();\n\n it.remove();\n\n // Update cached page list\n removeCachedPage(pageNum);\n\n ++deleteCnt;\n } else {\n item.put(PAGE_NUMBER_SRC, pageNum - deleteCnt);\n }\n } catch (Exception ignored) {\n }\n }\n\n Utils.safeNotifyDataSetChanged(this);\n\n // scroll to the item after the first deleted item\n pageNum = Collections.min(pageList);\n if (pageNum == mDataList.size()) {\n --pageNum;\n }\n safeScrollToPosition(pageNum - 1);\n }",
"int restoreDeletedItem(int id);",
"void update ( priorizedListObject v ) throws DAOException;",
"void updateChecklist(List<ChecklistItem> items) {\n ChecklistItemDiffCallback diffCallback = new ChecklistItemDiffCallback(mItems, items);\n DiffUtil.DiffResult diffResult = DiffUtil.calculateDiff(diffCallback);\n mItems.clear();\n mItems.addAll(items);\n // this handles all updates, so we don't need manual notifyItem* calls\n diffResult.dispatchUpdatesTo(ChecklistAdapter.this);\n\n if (mCanAddItems) checkLastItem();\n }",
"@Override\n public void sure() {\n orderListAdpater.notifyDataSetChanged();\n onOrderUpdate();\n }",
"public void removeAddedItem(OrderItem OldOrderItem) {\n int i;\n\n for (i = 0; i < itemsInOrder.size(); i++) {\n if (itemsInOrder.get(i).equals(OldOrderItem)) {\n itemsInOrder.remove(i);\n }\n }\n }",
"public void updateList() \n { \n model.clear();\n for(int i = ScholarshipTask.repository.data.size() - 1; i >= 0; i--) \n {\n model.addElement(ScholarshipTask.repository.data.get(i));\n }\n }",
"public static void deleteItem()\r\n\t{\r\n\t\tif(receiptList.getSelectedIndex() < listModel.getSize()-4 && receiptList.getSelectedIndex() > -1)\r\n\t\t{\r\n\t\t\tString itemPrice = receiptList.getSelectedValue().substring(0,\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treceiptList.getSelectedValue().indexOf(\" \"));\r\n\t\t\t\r\n\t\t\tsubtotalAmount = subtotalAmount - Functions.toAmount(itemPrice);\r\n\t\t\tupdateTotals();\r\n\t\t\t\r\n\t\t\tlistModel.removeElementAt(receiptList.getSelectedIndex());\r\n\t\t\tif(listModel.getSize() == 4)\r\n\t\t\t\tclearReceipt();\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\tfor(int count=0; count < 4; count++)\r\n\t\t\t\t\tlistModel.removeElementAt(listModel.getSize()-1);\r\n\t\t\t\tlistModel.addElement(\" \");\r\n\t\t\t\tlistModel.addElement(Functions.toMoney(subtotalAmount) + manualTab(Functions.toMoney(subtotalAmount)) + \"Subtotal \");\r\n\t\t\t\tlistModel.addElement(Functions.toMoney(taxAmount) + manualTab(Functions.toMoney(taxAmount)) + \"Tax\");\r\n\t\t\t\tlistModel.addElement(Functions.toMoney(totalAmount) + manualTab(Functions.toMoney(totalAmount)) + \"Total\");\r\n\t\t\t}\r\n\t\t}\r\n\t}",
"public void remove()\r\n { Exceptions.unmodifiable(\"list\"); }",
"@Override\n public void onClick(DialogInterface dialog, int item) {\n if (item == 0) {\n deleteList(parent, position);\n } else if (item == 1) {\n updateList(parent, position);\n }\n\n }",
"@Override\r\n\tpublic void undo() {\n\t\tstack.push(data);\r\n\t\tJList1.setListData(stack.getStackVector()); // refresh the JList\r\n\r\n\t}",
"@Override\n public void sure() {\n orderListAdpater.notifyDataSetChanged();\n onOrderUpdate();\n }",
"@Override\n\t\t\tpublic boolean onActionItemClicked(ActionMode mode, MenuItem item) {\n\t\t\n\t\t\t\t \n\t\t\t\tswitch (item.getItemId()) {\n\t\t\t\tcase R.id.delete:\n\t\t\t\t\t\n\t\t\t\t\tfor(messagewrapper obje:dummyList){\n\t\t\t\t\t\t\n\t\t\t\t\t\tmAdapter.remove(obje);\n\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tcheckedCount=0;\n\t\t\t\t\t\n\t\t\t\t\tmode.finish();\n\t\t\t\t\treturn true;\n\t\t\n\t\t\t\tdefault:\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t}",
"void updateList(ShoppingList _ShoppingList);",
"@Override\n public void updateItem(P_CK t) {\n \n }",
"public void deleteTDList(ActionEvent actionEvent) {\n // find the tdlist being referenced by the button,\n // removeList() from it's parenting group\n }",
"@After(value = \"@deleteList\", order = 1)\n public void deleteList() {\n String listId = context.getDataCollection((\"list\")).get(\"id\");\n context.setRequestSpec(AuthenticationUtils.getLoggedReqSpec());\n given(context.getRequestSpecification()).when().delete(\"/lists/\".concat(listId));\n }",
"public void update (List<Dependency> list)\n {\n this.list.clear();\n this.list.addAll(list);\n notifyDataSetChanged();\n }",
"private void delete() {\n\t\tfor (int i = 0; i < list.size(); i++) {\r\n\t\t\tif (list.get(i).toString().equals(lu.toString())) {\r\n\t\t\t\tlist.remove(i);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\ttry {\r\n\t\t\tll.makeXml(list);\r\n\t\t} catch (Exception e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\tinitTableView();\r\n\t}",
"@Override\n public void sure() {\n onOrderUpdate();\n orderListAdpater.notifyDataSetChanged();\n }",
"@Override\n public void sure() {\n onOrderUpdate();\n orderListAdpater.notifyDataSetChanged();\n }",
"private void update(int position) {\n File f = list_items[position];\n list_items = f.listFiles();\n notifyDataSetChanged();\n }",
"void clearDeletedItemsTable();",
"public void onSetNewCurrentItem() {\n }",
"public void updateList()\r\n\t{\r\n\t\tclientQueue.offer(name);\r\n\t}",
"@Override\n public void sure() {\n orderListAdpater.notifyDataSetChanged();\n onOrderUpdate();\n }",
"protected void doListEdit() {\r\n String nameInput = mEditTextForList.getText().toString();\r\n\r\n /**\r\n * Set input text to be the current list item name if it is not empty and is not the\r\n * previous name.\r\n */\r\n if (!nameInput.equals(\"\") && !nameInput.equals(mItemName)) {\r\n Firebase firebaseRef = new Firebase(Constants.FIREBASE_URL);\r\n\r\n /* Make a map for the item you are editing the name of */\r\n HashMap<String, Object> updatedItemToAddMap = new HashMap<String, Object>();\r\n\r\n /* Add the new name to the update map*/\r\n updatedItemToAddMap.put(\"/\" + Constants.FIREBASE_LOCATION_SHOPPING_LIST_ITEMS + \"/\"\r\n + mListId + \"/\" + mItemId + \"/\" + Constants.FIREBASE_PROPERTY_ITEM_NAME,\r\n nameInput);\r\n\r\n /* Make the timestamp for last changed */\r\n HashMap<String, Object> changedTimestampMap = new HashMap<>();\r\n changedTimestampMap.put(Constants.FIREBASE_PROPERTY_TIMESTAMP, ServerValue.TIMESTAMP);\r\n\r\n /* Add the updated timestamp */\r\n updatedItemToAddMap.put(\"/\" + Constants.FIREBASE_LOCATION_ACTIVE_LISTS +\r\n \"/\" + mListId + \"/\" + Constants.FIREBASE_PROPERTY_TIMESTAMP_LAST_CHANGED, changedTimestampMap);\r\n\r\n /* Do the update */\r\n firebaseRef.updateChildren(updatedItemToAddMap);\r\n\r\n }\r\n }",
"void delete(int index) throws ListException;",
"public void remove(ItemData data) {\n int position = list.indexOf(data);\n list.remove(position);\n notifyItemRemoved(position);\n }",
"@Override\n\tpublic void undo() {\n\t\tthis.list.delete(shape);\n\n\t}",
"public void updateList() {\n\t\tthis.myList.clear();\n\t\tIterator<String> item = this.myHashMap.keySet().iterator();\n\n\t\twhile (item.hasNext())\n\t\t{\n\t\t\tString name = (String)item.next();\n\t\t\tthis.myList.add(name);\n\t\t}\n\t\tthis.nameId = -1;\n\t\t\n\t}",
"@Override\n public void onClick(View view) {\n adapter.restoreItem(deletedModel, deletedPosition);\n }",
"@Override\n\t\t\t\t\tpublic void update(float delta) {\n\t\t\t\t\t\tUpdateItem(delta);\n\t\t\t\t\t}",
"public void deleteList() {\n this.head = deleteListWrap(this.head);\n }",
"public void updateItemsList(List<Image> list) {\n\n\t\tthis.itemsList = list;\n\n\t}",
"void removeList(ShoppingList _ShoppingList);",
"@Override\n public void onClick(View view)\n {\n Snackbar snackbar1 = Snackbar.make(view, R.string.undo_track_delete, Snackbar.LENGTH_LONG);\n snackbar1.show();\n tracks.add(position, temp);\n DBHelper.get(v.getContext()).save(temp);\n list.getAdapter().notifyItemInserted(position);\n list.getAdapter().notifyItemRangeChanged(0, tracks.size());\n }",
"@Test\r\n\tvoid testDeleteToDoItem() {\r\n\t\tSortedList list = new SortedList(\"List\");\r\n\r\n\t\t// case 1: deleting one item from a one-item list\r\n\t\tlist.insert(toDoItem1);\r\n\t\tlist.remove(\"Item 1\");\r\n\t\tif (list.getSize() != 0 || list.getHead() != null) {\r\n\t\t\tfail(\"Removed a single item from a size 1 list incorrectly\");\r\n\t\t}\r\n\r\n\t\t// case 2: deleting one item from a two-item list\r\n\t\tlist.insert(toDoItem1);\r\n\t\tlist.insert(toDoItem2);\r\n\t\tlist.remove(\"Item 2\");\r\n\t\tif (list.getSize() != 1) {\r\n\t\t\tfail(\"Incorrect size: should be 1\");\r\n\t\t}\r\n\t\tif (!list.getHead().getName().equals(\"Item 1\")) {\r\n\t\t\tfail(\"Head set incorrectly: should be \\\"Item 1\\\"\");\r\n\t\t}\r\n\t\tif (list.getHead().getNext() != null) {\r\n\t\t\tfail(\"The next item for head was set incorrectly\");\r\n\t\t}\r\n\r\n\t\tlist.clear();\r\n\r\n\t\t// case 3: adding several items and removing multiple\r\n\t\tlist.insert(toDoItem1);\r\n\t\tlist.insert(toDoItem2);\r\n\t\tlist.insert(toDoItem3);\r\n\t\tlist.insert(toDoItem4);\r\n\t\tlist.insert(toDoItem5);\r\n\t\tlist.insert(toDoItem6);\r\n\t\tlist.remove(\"Item 1\");\r\n\t\tlist.remove(\"Item 6\");\r\n\t\tlist.remove(\"Item 4\");\r\n\r\n\t\tToDoItem tempHead = list.getHead();\r\n\t\tString currList = \"|\";\r\n\t\tString correctList = \"|Item 2|Item 3|Item 5|\";\r\n\r\n\t\twhile (tempHead != null) {\r\n\t\t\tcurrList += tempHead.getName() + \"|\";\r\n\t\t\ttempHead = tempHead.getNext();\r\n\t\t}\r\n\t\tif (!currList.equals(correctList)) {\r\n\t\t\tfail(\"The list was ordered incorrectly after inserting and deleting the case 3 items\");\r\n\t\t}\r\n\t}",
"void checkLastItem() {\n if (!mItems.isEmpty() && !mItems.get(mItems.size() - 1).equals(ADD_NEW_ENTRY)) {\n // add last item again if missing\n mItems.add(ADD_NEW_ENTRY);\n // need to manually call, since this item is not in Db and hence ignored by DiffUtil\n notifyItemInserted(mItems.size() - 1);\n }\n }",
"private void deleteItem()\n {\n Category categoryToDelete = dataCategories.get(dataCategories.size()-1);\n AppDatabase db = Room.databaseBuilder(getApplicationContext(),\n AppDatabase.class, \"database-name\").allowMainThreadQueries().build();\n db.categoryDao().delete(categoryToDelete);\n testDatabase();\n }",
"public ModifyCitedPublicationList( ArrayList <CitedPublication> StartedList ){\n \n modifiedList = new ArrayList<Integer>(); \n IndexDeletedItem = new ArrayList<Integer>();\n deletedItem = new ArrayList <CitedPublication>();\n \n KeepItem = StartedList;\n \n }",
"void maintainUpdatedProductsList(MarketDataCacheClient cacheUser);",
"@Override\r\n public void onClick(View view) {\n entries.remove(position);\r\n notifyItemRemoved(position);\r\n notifyItemRangeChanged(position, entries.size());\r\n Toast.makeText(mContext, \"Rejected : \" + u, Toast.LENGTH_SHORT).show();\r\n }",
"@Override\r\n\tpublic void onSongListDeleteClick(View v) {\n\t\tint position = (Integer) ((ImageView)v).getTag();\r\n\t\tMPService.SongList.remove(position);\r\n\t\tadapter.notifyDataSetChanged();\r\n\t\ttv_songlist.setText(\"播放列表(\" + MPService.SongList.size() + \")\" );\r\n\t}",
"Item update(Item item);",
"@Override\r\n\t\t\t\t\tprotected void updateItem(Object arg0, boolean arg1) {\n\t\t\t\t\t\tsuper.updateItem(arg0, arg1);\r\n\t\t\t\t\t\tif (arg1) {\r\n\t\t\t\t\t\t\tsetGraphic(null);\r\n\t\t\t\t\t\t\tsetText(null);\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tbtn.setOnAction(new EventHandler<ActionEvent>() {\r\n\r\n\t\t\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\t\t\tpublic void handle(ActionEvent arg0) {\r\n\t\t\t\t\t\t\t\t\t// TODO Auto-generated method stub\r\n\r\n\t\t\t\t\t\t\t\t\tProducts data=(Products) tbl_view.getItems().get(getIndex());\r\n\t\t\t\t\t\t\t\t\t//\t\t\t\t\t\t\t\t\tProducts data=(Products) tbl_view.getSelectionModel().getSelectedItem();\r\n\t\t\t\t\t\t\t\t\tSystem.out.println(data.toString());\r\n\t\t\t\t\t\t\t\t\tif(ConnectionManager.queryInsert(conn, \"DELETE FROM dbo.product WHERE id=\"+data.getId())>0) {\r\n\t\t\t\t\t\t\t\t\t\ttxt_cost.clear();\r\n\t\t\t\t\t\t\t\t\t\ttxt_date.clear();\r\n\t\t\t\t\t\t\t\t\t\ttxt_name.clear();\r\n\t\t\t\t\t\t\t\t\t\ttxt_price.clear();\r\n\t\t\t\t\t\t\t\t\t\ttxt_qty.clear();\r\n\t\t\t\t\t\t\t\t\t\ttxt_reorder.clear();\r\n\t\t\t\t\t\t\t\t\t\ttxt_search.clear();\r\n\t\t\t\t\t\t\t\t\t\tfetchData(FETCH_DATA);\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t});\r\n\r\n\t\t\t\t\t\t\tsetGraphic(btn);\r\n\t\t\t\t\t\t\tsetText(null);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}",
"@Override\n public void onClick(View view) {\n db.restoreDeletedItem(name, group_id, tally, actual_index);\n items = db.groupItemsToHashmap(group_id);\n adapter.restore_item(deletedItem, deletedIndex);\n adapter.notifyDataSetChanged();\n drawbars();\n }",
"@Override\n public void onClick(DialogInterface dialog, int which) {\n mAdapter.notifyItemRemoved(position); //item removed from recylcerview\n mAdapter.removeItem(position);\n dataList.remove(position); //then remove item\n mAdapter.notifyDataSetChanged();\n deleteEntry(dataList.get(position).getDocId());\n }",
"public void removeItem(int id);",
"@Override\n public void refreshList(ArrayList<String> newList){\n }",
"private void updateItems()\n\t{\t\n\t\tupdatePizzaTypes(items);\n\t\tupdateSidesTypes(items);\n\t\tupdateDrinksTypes(items);\n\t}",
"void delete()\n\t{\n\t\tif (length == 0) \n\t\t{\n\t\t\tthrow new RuntimeException(\"List Error: cannot call delete() on empty List\");\n\t\t}\n\t\tif (cursor == null) \n\t\t{\n\t\t\tthrow new RuntimeException(\"List Error: cannot call delete() on cursor that is off the list\");\n\t\t}\n\t\tif (cursor == front) \n\t\t{\n\t\t\tdeleteFront(); //deletes the front if the cursor is at the front\n\n\t\t}\n\t\telse if(cursor == back)\n\t\t{\n\t\t\tdeleteBack(); //deletes the back if the cursor is at the back\n\t\t}\n\t\telse\n\t\t{\n\t\t\tcursor.prev.next=cursor.next; \n\t\t\tcursor.next.prev=cursor.prev;\n\t\t\tcursor = null; \n\t\t\tindex = -1;\n\t\t\tlength--;\n\t\t}\n\t\t\n\t}",
"void onItemDelete(int position);",
"public void updateData(List<AddingTopItem> mList){\n mData.clear();\n mData.addAll(mList);\n this.notifyDataSetChanged();\n }",
"public void clearList() {\n\t\tdeletedList.clear();\n\t}",
"public abstract void refreshItem();",
"@Override\n public void removeFirstObjectInAdapter() {\n Log.d(\"LIST\", \"removed object!\");\n rowItem.remove(0);\n arrayAdapter.notifyDataSetChanged();\n }",
"@Override\n\t\tpublic void deleteItem(int index) {\n\t\t\tmGuanzhuList.remove(index);\n\t\t}",
"public void update() {\n\t\tthis.quantity = item.getRequiredQuantity();\n\t}"
] | [
"0.7107748",
"0.68328226",
"0.68070287",
"0.6694769",
"0.6649015",
"0.6644323",
"0.65591246",
"0.65383774",
"0.65147877",
"0.6502924",
"0.6455972",
"0.6435737",
"0.6432032",
"0.64140874",
"0.63733625",
"0.63553536",
"0.6351761",
"0.6332381",
"0.6304345",
"0.6304073",
"0.622045",
"0.62028086",
"0.6162579",
"0.61602837",
"0.6151086",
"0.6136638",
"0.6121326",
"0.6100609",
"0.60799176",
"0.60799176",
"0.60634184",
"0.6051774",
"0.60474586",
"0.6026535",
"0.60229325",
"0.6015816",
"0.60105664",
"0.6007189",
"0.6000817",
"0.5989141",
"0.59800947",
"0.5966394",
"0.5962666",
"0.5953662",
"0.5949151",
"0.5940282",
"0.5923231",
"0.59085786",
"0.5908023",
"0.59028023",
"0.5897191",
"0.5893172",
"0.5892234",
"0.5891666",
"0.5890091",
"0.58897316",
"0.5883337",
"0.5880456",
"0.58777416",
"0.58708584",
"0.5869335",
"0.58691317",
"0.58691317",
"0.58619225",
"0.58605844",
"0.5852342",
"0.5851658",
"0.5850597",
"0.58485806",
"0.58452886",
"0.58446455",
"0.58428246",
"0.5836618",
"0.5818093",
"0.58180594",
"0.5808516",
"0.58061475",
"0.58034235",
"0.5797723",
"0.5793294",
"0.5786335",
"0.5783191",
"0.5780339",
"0.5777431",
"0.5768178",
"0.5762319",
"0.57617164",
"0.57581586",
"0.57564515",
"0.57559294",
"0.5755106",
"0.5752124",
"0.57480246",
"0.5747675",
"0.5746494",
"0.57375985",
"0.57373977",
"0.57347065",
"0.5732003",
"0.5724055",
"0.57237923"
] | 0.0 | -1 |
Clear the deleted list | public void clearList() {
deletedList.clear();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tprotected void clearBuffer() {\n\t\tsynchronized (listLock) {\n\t\t\tif (deleteList != null && deleteList.size() > 0) {\n\t\t\t\tdeleteList.clear();\n\t\t\t}\n\t\t}\n\n\t}",
"public void clear() {\n\t\tlists.clear();\n\t}",
"void clear() {\n\t\tfor (int list = getFirstList(); list != -1;) {\n\t\t\tlist = deleteList(list);\n\t\t}\n\t}",
"public void deleteList() {\n this.head = deleteListWrap(this.head);\n }",
"void clearDeletedItemsTable();",
"public void reset() {\n this.list.clear();\n }",
"public void clear(){\n\n \tlist = new ArrayList();\n\n }",
"public void deleteAll(){\r\n\t\thead = null;\r\n\t}",
"public void clear(){\r\n NotesList.clear();\r\n }",
"private void clearLists() {\r\n if (memoryLists == null) return;\r\n\r\n for (int i = 0; i < this.memoryLists.length; i++) {\r\n this.lastChanged[i] = -1;\r\n\r\n // clear list\r\n memoryLists[i].setModel(new DefaultListModel());\r\n }\r\n\r\n this.memoryBlocks = null;\r\n this.memoryLists = null;\r\n }",
"public void clearList() {\n\t\thead = null;\n\t\tlength = 0;\n\t}",
"public void emptyArrayList_DeletedItemsFromShoppingCard() {\n listOfDeletedItemNameShoppingCart.clear();\n System.out.println(\" Clear Deleted Items stored in Shopping Cart Array List: \" + listOfDeletedItemNameShoppingCart);\n }",
"public void clearList() {\n data.clear();\n notifyDataSetChanged();\n }",
"public void doEmptyTableList() {\n tableList.deleteList();\n }",
"public void clear()\n {\n int llSize = ll.getSize();\n for(int i=0; i<llSize; i++){\n ll.remove(0);\n }\n }",
"public void deleteWholeList()\n {\n head = null;\n }",
"public void clean() {\n Long now = System.currentTimeMillis();\n for (Iterator<Long> iterator = this.deleted.iterator(); iterator.hasNext();) {\n Long l = iterator.next();\n if (l < now) {\n iterator.remove();\n }\n }\n }",
"public void clearList()\n\t{\n\t\tnodeManager.clearList();\n\t}",
"public void clearLists() {\r\n\t\ttweets.clear();\r\n\t}",
"void delete()\n\t{\n\t\tif (length == 0) \n\t\t{\n\t\t\tthrow new RuntimeException(\"List Error: cannot call delete() on empty List\");\n\t\t}\n\t\tif (cursor == null) \n\t\t{\n\t\t\tthrow new RuntimeException(\"List Error: cannot call delete() on cursor that is off the list\");\n\t\t}\n\t\tif (cursor == front) \n\t\t{\n\t\t\tdeleteFront(); //deletes the front if the cursor is at the front\n\n\t\t}\n\t\telse if(cursor == back)\n\t\t{\n\t\t\tdeleteBack(); //deletes the back if the cursor is at the back\n\t\t}\n\t\telse\n\t\t{\n\t\t\tcursor.prev.next=cursor.next; \n\t\t\tcursor.next.prev=cursor.prev;\n\t\t\tcursor = null; \n\t\t\tindex = -1;\n\t\t\tlength--;\n\t\t}\n\t\t\n\t}",
"public void clear()\n {\n dessertList.clear();\n }",
"protected void clear() {\n\n\t\tthis.myRRList.clear();\n\t}",
"public void Reset()\n {\n this.list1.clear();\n }",
"public void clearDeviceLists()\n {\n deviceList.clear();\n deviceMap.clear();\n adapter.notifyDataSetChanged();\n }",
"public void delAll(List list);",
"private void deleteAllTodo() {\n todos.clear();\n adapter.notifyDataSetChanged();\n }",
"@Override\n public void clear() {\n checkNotDeleted();\n super.clear();\n }",
"public void clearList() {\n\t\tthis.head = null;\n\t\tthis.tail = null;\n\t\tlength = 0;\n\t}",
"public void clear() {\n list.clear();\n notifyDataSetChanged();\n }",
"public void clearConcertList(){\n concertList.clear();\n }",
"public void clearList(View view) {\n list.clear();\n adapter.notifyDataSetChanged();\n progressBar.setProgress(0);\n\n Toast toast = Toast.makeText(getApplicationContext(), \"List cleared\", Toast.LENGTH_SHORT);\n toast.show();\n }",
"private void clearLists() {\n\t\tobjects = new ArrayList<Entity>();\n\t\tenemies.clear();\n\t\titemList.clear();\n\t}",
"public void clearListNotIndex(){\n for(int z=0; z<list.length; z++){\n list [z] = 0;\n }\n }",
"void clear(int list) {\n\t\tint last = getLast(list);\n\t\twhile (last != nullNode()) {\n\t\t\tint n = last;\n\t\t\tlast = getPrev(n);\n\t\t\tfreeNode_(n);\n\t\t}\n\t\tm_lists.setField(list, 0, -1);\n\t\tm_lists.setField(list, 1, -1);\n\t\tsetListSize_(list, 0);\n\t}",
"public void clear() {\n \tthis.listShapes.clear();\n }",
"public void removeAll() {\n this.arrayList = null;\n this.arrayList = new ArrayList<>();\n }",
"public void clear(){\n this.items.clear();\n }",
"public void clear() {\n\t\twordList.removeAll(wordList);\n\t\t// TODO Add your code here\n\t}",
"public void clear(){\r\n MetersList.clear();\r\n }",
"private void delete() {\n\t\tfor (int i = 0; i < list.size(); i++) {\r\n\t\t\tif (list.get(i).toString().equals(lu.toString())) {\r\n\t\t\t\tlist.remove(i);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\ttry {\r\n\t\t\tll.makeXml(list);\r\n\t\t} catch (Exception e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\tinitTableView();\r\n\t}",
"public void clear() {\n list = new Object[MIN_CAPACITY];\n n = 0;\n }",
"public void clear(){\r\n BarsList.clear();\r\n }",
"public void clear() {\n\t\tstringList = null;\n\t}",
"private void removeList()\r\n {\n if (tableCheckBinding != null)\r\n {\r\n tableCheckBinding.dispose();\r\n tableCheckBinding = null;\r\n }\r\n\r\n // m_TableViewer.setInput(null);\r\n WritableList newList = new WritableList(SWTObservables.getRealm(Display.getDefault()));\r\n for (int i = 0; i < 10; ++i)\r\n {\r\n newList.add(this.generateNewDataModelItem());\r\n }\r\n m_TableViewer.setInput(newList);\r\n }",
"@AfterMethod(description = \"After method: deleting all list\")\n public void clearList()\n {\n HTMLReport htmlReport = new HTMLReport();\n TodoMVCWorkFlow flow = new TodoMVCWorkFlow();\n htmlReport.log(\"STARTING AfterMethod\");\n htmlReport.logINFO(\"Clearing of the rows in the list before new session\");\n flow.deleteAllList();\n }",
"public TempList<T> clear() {\n chk();\n list.clear();\n return this;\n }",
"public void clear()\r\n {\r\n phoneList = new ArrayList<String>();\r\n }",
"@Override\r\n\tpublic void deleteAll() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void deleteAll() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void deleteAll() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void deleteAll() {\n\t\t\r\n\t}",
"public void clearList() {\n ShoppingList.deleteAll(ShoppingList.class);\n ShoppingItem.deleteAll(ShoppingItem.class);\n lists.clear();\n notifyDataSetChanged();\n }",
"public void clear(){\n listData.clear();\n notifyDataSetChanged();\n }",
"public void clear() {\n\t\tlist = new ArrayList<String>();\n\t\tword = \"\";\n\t}",
"public void deleteAll() {\n\n\t}",
"public void clear() {\n lists = new TernarySearchTree<>();\n }",
"public void clear() {\n listItems.clear();\n notifyDataSetChanged();\n }",
"public void deleteAll() {\n\t\t\n\t}",
"public void clearItems(){\n items.clear();\n }",
"public void removeAllItem() {\n orderList.clear();\n }",
"public void clear() {\r\n\t\titems.clear();\r\n\t}",
"public void clear() {\n items.clear();\n update();\n }",
"public void clearDeletedSecrets() {\n deletedSecrets.clear();\n }",
"public void deleteAll()\n\t{\n\t}",
"public void deleteAll()\n\t{\n\t}",
"public void clear() {\r\n items.clear();\r\n keys.clear();\r\n }",
"public void eliminarTodosLosElementos(){\n\t\tlistModel.removeAllElements();\n\t}",
"void clear()\n\t{\n\t\tgetItems().clear();\n\t}",
"public void deleteAll();",
"@FXML\n void clearEntireListClicked(ActionEvent event)\n {\n Item.getToDoList().clear();\n\n // Clear the table view\n listView.getItems().clear();\n\n // Reset the index to 0 and clear\n index = 0;\n clear();\n\n }",
"public void clear() {\n this.next = null;\n this.mList.clear();\n this.notifyDataSetChanged();\n }",
"public void clear() {\n this.layers.clear();\n list.clear();\n }",
"public void deleteAll();",
"public void deleteAll();",
"public void deleteAll();",
"void clear() {\n\t\t// Initialize new empty list, clearing out old data\n\t\tmNewsList = new ArrayList<>();\n\t}",
"@Override\n\tpublic void deleteAll() {\n\n\t}",
"@Override\n\tpublic void deleteAll() {\n\n\t}",
"@Override\n\tpublic void deleteAll() {\n\n\t}",
"public void clear() {\n\t\tentries.clear();\n\t}",
"@Override\n public void clear() {\n for (LinkedList<Entry<K,V>> list : table) {\n list = null;\n }\n }",
"public void clear() {\n duplicates.clear();\n }",
"public void deleteAll(){\n editor.clear();\n editor.apply();\n }",
"@Override\r\n\tpublic void deleteAll() {\n\r\n\t}",
"public void clear() {\n\t\t//Kill all entities\n\t\tentities.parallelStream().forEach(e -> e.kill());\n\n\t\t//Clear the lists\n\t\tentities.clear();\n\t\tdrawables.clear();\n\t\tcollidables.clear();\n\t}",
"@Override\n public void clear() {\n size = 0;\n first = null;\n last = null;\n }",
"@Override\n\tpublic void deleteAll() {\n\t\t\n\t}",
"@Override\n\tpublic void deleteAll() {\n\t\t\n\t}",
"@Override\n\tpublic void deleteAll() {\n\t\t\n\t}",
"@Override\n\tpublic void deleteAll() {\n\t\t\n\t}",
"@Override\n\tpublic void deleteAll() {\n\t\t\n\t}",
"@Override\n\tpublic void deleteAll() {\n\t\t\n\t}",
"@Override\n\tpublic void deleteAll() {\n\t\t\n\t}",
"@Override\n\tpublic void deleteAll() {\n\t\t\n\t}",
"@Test\n public void clearList(){\n List<Integer> list = new ArrayList<>();\n list.add(1);\n list.add(2);\n list.add(3);\n list.add(4);\n list.add(5);\n\n assertEquals(5,list.size());\n\n list.clear();\n\n assertEquals(0,list.size());\n }",
"public void resetListaId()\r\n {\r\n this.listaId = null;\r\n }",
"public void empty() {\n _items.clear();\n }",
"@Test\r\n\tvoid testClear() {\r\n\t\tSortedList list = new SortedList(\"List\");\r\n\t\tlist.insert(toDoItem1);\r\n\t\tlist.insert(toDoItem2);\r\n\t\tlist.insert(toDoItem3);\r\n\t\tlist.insert(toDoItem4);\r\n\r\n\t\tlist.clear();\r\n\t\tif (list.getSize() != 0 || list.getHead() != null || list.getTail() != null) {\r\n\t\t\tfail(\"Clear failed\");\r\n\t\t}\r\n\t}",
"public List<Todo> clear() {\n final Collection<Todo> values = get();\n todos.remove(new BasicDBObject());\n return new ArrayList<Todo>(values);\n }",
"public void clearMoteList()\n {\n swapMotes.removeAllElements();\n }"
] | [
"0.7708844",
"0.761317",
"0.7527915",
"0.74840736",
"0.7441514",
"0.73816335",
"0.73239",
"0.731177",
"0.72646546",
"0.72487223",
"0.7223529",
"0.7217549",
"0.71916527",
"0.71665394",
"0.7163463",
"0.71466964",
"0.71359235",
"0.70936817",
"0.70467454",
"0.70347923",
"0.6997129",
"0.69965667",
"0.69708174",
"0.69600683",
"0.6958571",
"0.6942775",
"0.6930002",
"0.6927816",
"0.6898765",
"0.687269",
"0.68528086",
"0.6841624",
"0.6840552",
"0.68354285",
"0.683336",
"0.68217736",
"0.6816203",
"0.68147874",
"0.6803677",
"0.6800206",
"0.67638993",
"0.67575943",
"0.67444557",
"0.67306095",
"0.67280805",
"0.67231345",
"0.66875595",
"0.66812706",
"0.66812706",
"0.66812706",
"0.66812706",
"0.6677735",
"0.6667724",
"0.6667001",
"0.6641898",
"0.6636997",
"0.66241086",
"0.6614295",
"0.66023904",
"0.659921",
"0.65957385",
"0.6595686",
"0.65944123",
"0.65943956",
"0.65943956",
"0.65900546",
"0.6584421",
"0.658308",
"0.6555333",
"0.65538",
"0.65510714",
"0.65373176",
"0.6536804",
"0.6536804",
"0.6536804",
"0.6533326",
"0.65332246",
"0.65332246",
"0.65332246",
"0.652426",
"0.65222555",
"0.6517555",
"0.65133786",
"0.6511341",
"0.6510967",
"0.6505178",
"0.6497104",
"0.6497104",
"0.6497104",
"0.6497104",
"0.6497104",
"0.6497104",
"0.6497104",
"0.6497104",
"0.64967513",
"0.6494225",
"0.64864033",
"0.64802706",
"0.6475865",
"0.6473945"
] | 0.88435566 | 0 |
method sends notification to admin notifying them of request made. | public void sendToAdmin(String sessionid, Smsmodel sms, String vals) throws ProtocolException, MalformedURLException, IOException {
String val = null;
System.out.println("hello boy " + vals);
String sender = "DND_BYPASSGetItDone";
URL url = new URL("http://www.smslive247.com/http/index.aspx?cmd=sendmsg&sessionid=" + sessionid + "&message=" + sms.getVendorMessage() + "&sender=" + sender + "&sendto=" + vals + "&msgtype=0");
//http://www.bulksmslive.com/tools/geturl/Sms.php?username=abc&password=xyz&sender="+sender+"&message="+message+"&flash=0&sendtime=2009-10- 18%2006:30&listname=friends&recipients="+recipient;
//URL gims_url = new URL("http://smshub.lubredsms.com/hub/xmlsmsapi/send?user=loliks&pass=GJP8wRTs&sender=nairabox&message=Acct%3A5073177777%20Amt%3ANGN1%2C200.00%20CR%20Desc%3ATesting%20alert%20Avail%20Bal%3ANGN%3A1%2C342%2C158.36&mobile=08065711040&flash=0");
final String USER_AGENT = "Mozilla/5.0";
HttpURLConnection con = (HttpURLConnection) url.openConnection();
con.setRequestMethod("GET");
con.setRequestProperty("User-Agent", USER_AGENT);
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
// System.out.println(messageModel.getBody() + " dude");
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
String responseCod = response.toString();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void sendNotification() {\n }",
"protected void notifyUser()\n {\n }",
"@Override\r\n\tpublic void sendNotifications() {\n\r\n\t}",
"@Override\r\n\tpublic void sendGeneralNotification() {\n\t\t\r\n\t}",
"private void sendNotify(JSONObject notification, String staffID) {\r\n JsonObjectRequest jsonObjectRequest = new JsonObjectRequest(FCM_API, notification,\r\n new Response.Listener<JSONObject>() {\r\n @Override\r\n public void onResponse(JSONObject response) {\r\n Toast.makeText(BookingListDetails.this, \"\"+ staffID + \" has been Notified!\", Toast.LENGTH_SHORT).show();\r\n Log.i(TAG, \"onResponse: \" + response);\r\n startActivity(new Intent(getApplicationContext(), AdminBookingList.class));\r\n finish();\r\n }\r\n },\r\n new Response.ErrorListener() {\r\n @Override\r\n public void onErrorResponse(VolleyError error) {\r\n Toast.makeText(BookingListDetails.this, \"Request error\", Toast.LENGTH_LONG).show();\r\n Log.i(TAG, \"onErrorResponse: Didn't work\");\r\n }\r\n }) {\r\n @Override\r\n public Map<String, String> getHeaders() throws AuthFailureError {\r\n Map<String, String> params = new HashMap<>();\r\n params.put(\"Authorization\", serverKey);\r\n params.put(\"Content-Type\", contentType);\r\n return params;\r\n }\r\n };\r\n MySingleton.getInstance(getApplicationContext()).addToRequestQueue(jsonObjectRequest);\r\n }",
"private void sendNotifications() {\n this.sendNotifications(null);\n }",
"private void setNotification() {\n mBuilder.setProgress(updateMax, ++updateProgress, false)\n .setContentTitle(getResources().getString(R.string.notification_message));\n // Issues the notification\n nm.notify(0, mBuilder.build());\n }",
"void sendScheduledNotifications(JobProgress progress);",
"private void showNotification() {\n\n }",
"static void sendNotifications() {\n\t\testablishConnection();\n\t\tSystem.out.println(\"sending multiple notificatiosn\");\n\t}",
"private void note(Notification n){\r\n\t\tusers.get(n.userID).addNotification(n);\r\n\t\tif (loggedInUsers.contains(n.userID))\r\n\t\t\tcomms.sendMessage(n);\r\n\t}",
"private void sendNotification() {\n int mNotificationId = 001;\n NotificationCompat.Builder mBuilder = new NotificationCompat.Builder(this)\n .setSmallIcon(R.drawable.ic_action_camera)\n .setContentTitle(\"Daily Selfie\")\n .setContentText(\"Time for another selfie\");\n Intent resultIntent = new Intent(this, MainActivity.class);\n PendingIntent resultPendingIntent =\n PendingIntent.getActivity(\n this,\n 0,\n resultIntent,\n PendingIntent.FLAG_UPDATE_CURRENT\n );\n mBuilder.setContentIntent(resultPendingIntent);\n // Gets an instance of the NotificationManager service\n NotificationManager mNotifyMgr = (NotificationManager) getSystemService(NOTIFICATION_SERVICE);\n // Builds the notification and issues it.\n mNotifyMgr.notify(mNotificationId, mBuilder.build());\n }",
"public void sendAlert(String notificationInfo, ILabMember personInCharge) {\n }",
"private void showNotification() {\n }",
"@Override\r\n\tpublic void sendNotification(String notificationType) {\n\t\t\r\n\t}",
"@Override\n public void doUpdate(NotificationMessage notification) {\n \n }",
"public void notify(String userId);",
"private void sendNotification(JSONObject notification, final String staffID) {\r\n JsonObjectRequest jsonObjectRequest = new JsonObjectRequest(FCM_API, notification,\r\n new Response.Listener<JSONObject>() {\r\n @Override\r\n public void onResponse(JSONObject response) {\r\n Toast.makeText(BookingListDetails.this, \"\"+ staffID + \" has been Notified!\", Toast.LENGTH_SHORT).show();\r\n Log.i(TAG, \"onResponse: \" + response);\r\n }\r\n },\r\n new Response.ErrorListener() {\r\n @Override\r\n public void onErrorResponse(VolleyError error) {\r\n Toast.makeText(BookingListDetails.this, \"Request error\", Toast.LENGTH_LONG).show();\r\n Log.i(TAG, \"onErrorResponse: Didn't work\");\r\n }\r\n }) {\r\n @Override\r\n public Map<String, String> getHeaders() throws AuthFailureError {\r\n Map<String, String> params = new HashMap<>();\r\n params.put(\"Authorization\", serverKey);\r\n params.put(\"Content-Type\", contentType);\r\n return params;\r\n }\r\n };\r\n MySingleton.getInstance(getApplicationContext()).addToRequestQueue(jsonObjectRequest);\r\n }",
"private void sendEmailToSubscriberForHealthTips() {\n\n\n\n }",
"public static void aviUsers() {\n\t\tsendNotification();\r\n\t}",
"public void sendStatusUpdateNotification() {\n\n ParseQuery<ParseObject> query = ParseQuery.getQuery(\"IncidentReports\");\n query.whereEqualTo(\"username\", ParseUser.getCurrentUser().getUsername());\n query.whereEqualTo(\"notified\", \"false\");\n query.findInBackground(new FindCallback<ParseObject>() {\n @Override\n public void done(List<ParseObject> objects, ParseException e) {\n if (e == null && objects.size()>0) {\n\n Intent activityIntent = new Intent(getApplicationContext(), MyActivity.class);\n PendingIntent contentIntent = PendingIntent.getActivity(getApplicationContext(), 0,activityIntent, 0);\n\n String message = \"An incident report you have submitted has been reviewed. Go to 'My Activity' to view update.\";\n android.app.Notification notification = new NotificationCompat.Builder(mContext, StarterApplication.CHANNEL_1_ID)\n .setSmallIcon(R.drawable.unnamed)\n .setLargeIcon(BitmapFactory.decodeResource(mContext.getResources(),\n R.drawable.unnamed))\n .setContentTitle(\"Status Update\")\n .setContentText(message)\n .setStyle(new NotificationCompat.BigTextStyle())\n .setPriority(NotificationCompat.PRIORITY_HIGH)\n .setCategory(NotificationCompat.CATEGORY_MESSAGE)\n .setContentIntent(contentIntent)\n .build();\n\n for (ParseObject object : objects) {\n object.put(\"notified\", \"true\");\n object.saveInBackground();\n }\n\n notificationManager.notify(1, notification);\n Log.i(\"Notification\", \"sent\");\n\n }\n\n else {\n Log.i(\"Notification\", \"Not sent\");\n if (e != null) {\n Log.i(\"Error:\", e.getMessage());\n }\n\n\n }\n }\n });\n }",
"void criticalNotification(PortletRequest request, MimeResponse response,\n String caption, String message, String details, String url)\n throws IOException {\n \n // clients JS app is still running, but server application either\n // no longer exists or it might fail to perform reasonably.\n // send a notification to client's application and link how\n // to \"restart\" application.\n \n if (caption != null) {\n caption = \"\\\"\" + caption + \"\\\"\";\n }\n if (details != null) {\n if (message == null) {\n message = details;\n } else {\n message += \"<br/><br/>\" + details;\n }\n }\n if (message != null) {\n message = \"\\\"\" + message + \"\\\"\";\n }\n if (url != null) {\n url = \"\\\"\" + url + \"\\\"\";\n }\n \n // Set the response type\n response.setContentType(\"application/json; charset=UTF-8\");\n final OutputStream out = response.getPortletOutputStream();\n final PrintWriter outWriter = new PrintWriter(new BufferedWriter(\n new OutputStreamWriter(out, \"UTF-8\")));\n outWriter.print(\"for(;;);[{\\\"changes\\\":[], \\\"meta\\\" : {\"\n + \"\\\"appError\\\": {\" + \"\\\"caption\\\":\" + caption + \",\"\n + \"\\\"message\\\" : \" + message + \",\" + \"\\\"url\\\" : \" + url\n + \"}}, \\\"resources\\\": {}, \\\"locales\\\":[]}]\");\n outWriter.close();\n }",
"@Override\n public void actionPerformed(ActionEvent e){\n \tframe.getNotif().update();\n ArrayList<Notification> newNotif;\n if (Application.getApplication().getCurrentUser() != null)\n newNotif = Application.getApplication().getCurrentUser().getNotifications();\n else\n newNotif = Application.getApplication().getAdmin().getNotifications();\n frame.getNotif().setNotifications(newNotif);\n this.frame.showPanel(\"notif\");\n }",
"protected void notify(Employee e) {\n\t}",
"void enableNotifications();",
"public void notifyAdmins(){\n \tfor(PlayerHandler player : players){\n \t\tif(player.isAdmin()){\n \t\t\tplayer.notify(1);\n \t\t}\n \t}\n }",
"private void sendNotifications() {\n for (long sid : self.getCurrentAndNextConfigVoters()) {\n QuorumVerifier qv = self.getQuorumVerifier();\n ToSend notmsg = new ToSend(\n ToSend.mType.notification,\n proposedLeader,\n proposedZxid,\n logicalclock.get(),\n QuorumPeer.ServerState.LOOKING,\n sid,\n proposedEpoch,\n qv.toString().getBytes(UTF_8));\n\n LOG.debug(\n \"Sending Notification: {} (n.leader), 0x{} (n.zxid), 0x{} (n.round), {} (recipient),\"\n + \" {} (myid), 0x{} (n.peerEpoch) \",\n proposedLeader,\n Long.toHexString(proposedZxid),\n Long.toHexString(logicalclock.get()),\n sid,\n self.getMyId(),\n Long.toHexString(proposedEpoch));\n\n sendqueue.offer(notmsg);\n }\n }",
"public abstract void sendNotification(String sendFrom, List<Object> sendTo, String sendToProperty, NoticeTemplate noticeTemplate, Object noticeData);",
"Order sendNotificationNewOrder(Order order);",
"@Override\n\tpublic void sendNotification(User notifier, User guest, Notification notification) {\n\t\tnotifier.getRequetes().add(notification);\n\t\tguest.getInvitations().add(notification);\n\t\tnotifier=userRepository.save(notifier);\n\t\tguest=userRepository.save(guest);\n\t\tNotificationWebSocketToken token=new NotificationWebSocketToken(1,notifier.getId(),2);\n\t\ttoken.setUser(notifier);\n\t\tnotify(token,guest.getUsername());\n\t}",
"private void sendNotification(Download download) {\n }",
"public void notifyCustomer(String message) {}",
"public void notifyUserInfo(String userInfo);",
"public abstract void sendNotification(T notification) throws NotificationException;",
"private static void notifyUser(ArrayList<Map> res) {\n\t\t\r\n\t\tFile htmlFile = new File(NOTIFICATION_FILE_PATH);\r\n\t\t\r\n\t\ttry {\r\n\t\t\tDesktop.getDesktop().browse(htmlFile.toURI());\r\n\t\t} catch (IOException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\t\r\n\t}",
"public void notifyUpdate(String publicID) {\n }",
"private void sendNotification(Map<String, String> serverData) {\n Intent intent = new Intent(serverData.get(\"click_action\"));\n String title = serverData.get(\"title\");\n String body = serverData.get(\"body\");\n intent.putExtra(\"title\",title);\n intent.putExtra(\"body\",body);\n intent.putExtra(\"order\" , serverData.get(\"order\"));\n intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);\n PendingIntent pendingIntent = PendingIntent.getActivity(this,0 /* request code */, intent, PendingIntent.FLAG_UPDATE_CURRENT);\n\n long[] pattern = {500,500,500,500,500};\n\n Uri defaultSoundUri= RingtoneManager.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION);\n\n NotificationCompat.Builder notificationBuilder = (NotificationCompat.Builder) new NotificationCompat.Builder(this)\n .setSmallIcon(R.drawable.ok)\n .setContentTitle(serverData.get(\"title\"))\n .setContentText(serverData.get(\"body\"))\n .setAutoCancel(true)\n .setVibrate(pattern)\n .setLights(Color.BLUE,1,1)\n .setSound(defaultSoundUri)\n .setContentIntent(pendingIntent);\n\n NotificationManager notificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);\n notificationManager.notify(0 , notificationBuilder.build());\n }",
"@Scheduled\n\tpublic void executeNotification();",
"public void sendNotification(View view) {\n\t\t Intent intent = new Intent(this, MainActivity.class);\r\n\t\t PendingIntent pIntent = PendingIntent.getActivity(this, 0, intent, 0);\r\n\r\n\t\t // Build notification\r\n\t\t // Actions are just fake\r\n\t\t Notification noti = new Notification.Builder(this)\r\n\t\t .setContentTitle(\"TodoList Item\")\r\n\t\t .setContentText(\"A New Item was Added\").setSmallIcon(R.drawable.ic_launcher)\r\n\t\t .setContentIntent(pIntent).build();\r\n\t\t //.addAction(R.drawable.ic_launcher, \"Call\", pIntent);\r\n\t\t //.addAction(R.drawable.ic_launcher, \"More\", pIntent)\r\n\t\t //.addAction(R.drawable.ic_launcher, \"And more\", pIntent).build();\r\n\t\t NotificationManager notificationManager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE);\r\n\t\t // hide the notification after its selected\r\n\t\t noti.flags |= Notification.FLAG_AUTO_CANCEL;\r\n\r\n\t\t notificationManager.notify(0, noti);\r\n\r\n\t\t }",
"private void sendNotification(String notificationDetails)\r\n {\n NotificationManager notificationManager =\r\n (NotificationManager) this.getSystemService(Context.NOTIFICATION_SERVICE);\r\n\r\n // 2. Create a PendingIntent for AllGeofencesActivity\r\n Intent intent = new Intent(this, MainActivity.class);\r\n intent.addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP | Intent.FLAG_ACTIVITY_CLEAR_TOP);\r\n PendingIntent pendingNotificationIntent = PendingIntent.getActivity(this, 0, intent, PendingIntent.FLAG_UPDATE_CURRENT);\r\n\r\n // 3. Create and send a notification\r\n Notification notification = new NotificationCompat.Builder(this)\r\n .setSmallIcon(R.mipmap.ic_launcher)\r\n .setContentTitle(\"notification,\")\r\n .setContentText(notificationDetails)\r\n .setContentIntent(pendingNotificationIntent)\r\n .setStyle(new NotificationCompat.BigTextStyle().bigText(notificationDetails))\r\n .setPriority(NotificationCompat.PRIORITY_HIGH)\r\n .setAutoCancel(true)\r\n .build();\r\n notificationManager.notify(0, notification);\r\n\r\n\r\n\r\n\r\n }",
"private void sendNotification(NotificationCompat.Builder notification){\n NotificationManager notifier = (NotificationManager)getSystemService(Context.NOTIFICATION_SERVICE);\n NotificationChannel channel = new NotificationChannel(\"default\", \"notification\", NotificationManager.IMPORTANCE_DEFAULT);\n notifier.createNotificationChannel(channel);\n NotificationManagerCompat notificationManager = NotificationManagerCompat.from(this);\n\n notificationManager.notify(0, notification.build());\n }",
"private void showNotification() {\n\n Intent intent = new Intent(this, DashboardActivity.class);\n TaskStackBuilder stackBuilder = TaskStackBuilder.create(this);\n stackBuilder.addParentStack(DashboardActivity.class);\n stackBuilder.addNextIntent(intent);\n\n final NotificationCompat.Builder builder = new NotificationCompat.Builder(this);\n\n builder.setSmallIcon(R.drawable.ic_gps);\n builder.setContentText(getText(R.string.local_service_started));\n builder.setContentTitle(getText(R.string.local_service_label));\n builder.setOngoing(true);\n builder.setContentIntent(stackBuilder.getPendingIntent(0, PendingIntent.FLAG_UPDATE_CURRENT));\n\n final Notification notification = builder.build();\n\n // Send the notification.\n mNotificationManager.notify(NOTIFICATION, notification);\n }",
"public void sendStatusNotification(String msg){\n this.sendNotification(2, \"Lawnmower Status\", msg, R.drawable.logomarkerr);\n }",
"protected void notificationOnExpiration() {\n }",
"private void sendStatusUpdateMailToOperators()\n {\n if (sendMail == false) {\n return;\n }\n\n wikiContext.runInTenantContext(branch, getWikiSelector(), new CallableX<String, RuntimeException>()\n {\n @Override\n public String call() throws RuntimeException\n {\n BranchFileStats stats = PlcUtils.getBranchFileStats(wikiContext);\n if (stats == null) {\n return StringUtils.EMPTY;\n }\n FileStatsDO statsForId = stats.getFileStatsForId(pageId);\n if (statsForId == null) {\n return StringUtils.EMPTY;\n }\n\n // retrieve operators and send email to each of them in their specisifed language (if no language is specified english will be taken\n // as default)\n final String currentUserName = wikiContext.getWikiWeb().getAuthorization().getCurrentUserName(wikiContext);\n for (final String operator : statsForId.getOperators()) {\n try {\n wikiContext.getWikiWeb().getAuthorization().runAsUser(operator, wikiContext,\n new CallableX<Void, RuntimeException>()\n {\n\n GWikiI18nProvider i18n = wikiContext.getWikiWeb().getI18nProvider();\n\n @Override\n public Void call() throws RuntimeException\n {\n String email = wikiContext.getWikiWeb().getAuthorization().getCurrentUserEmail(wikiContext);\n if (StringUtils.isEmpty(email) == true) {\n GLog.warn(GWikiLogCategory.Wiki, \"User has no mail specified. No status article update mail sent.\",\n new LogAttribute(GenomeAttributeType.UserEmail, operator));\n return null;\n }\n\n // prepare email contents\n String subject = i18n.translate(wikiContext, \"gwiki.plc.dashpoard.popup.mail.subject\",\n \"Article status updated\",\n getPageTitle());\n String bodyString = getBodyString(currentUserName);\n\n final Map<String, String> ctx = new HashMap<String, String>();\n ctx.put(GWikiEmailProvider.FROM, wikiContext.getWikiWeb().getWikiConfig().getSendEmail());\n ctx.put(GWikiEmailProvider.SUBJECT, subject);\n ctx.put(GWikiEmailProvider.TEXT, bodyString);\n ctx.put(GWikiEmailProvider.MAILTEMPLATE, \"edit/pagelifecycle/mailtemplates/StatusUpdateMailTemplate\");\n ctx.put(GWikiEmailProvider.TO, email);\n\n GLog.note(GWikiLogCategory.Wiki, \"Sent status update mail to: \" + email);\n wikiContext.getWikiWeb().getDaoContext().getEmailProvider().sendEmail(ctx);\n return null;\n }\n\n /**\n * Get body contents\n * \n * @param currentUserName\n * @return\n */\n private String getBodyString(final String currentUserName)\n {\n StringBuffer bodyString = new StringBuffer();\n String body = i18n.translate(wikiContext, \"gwiki.plc.dashpoard.popup.mail.body\", \"\",\n wikiContext.getWikiWeb()\n .getAuthorization().getCurrentUserName(wikiContext),\n getPageTitle(), wikiContext.globalUrl(pageId), currentUserName,\n newPageState);\n bodyString.append(body);\n if (StringUtils.isNotBlank(comment) == true) {\n bodyString.append(i18n.translate(wikiContext, \"gwiki.plc.dashpoard.popup.mail.comment\", \"\", comment));\n }\n bodyString.append(i18n.translate(wikiContext, \"gwiki.plc.dashpoard.popup.mail.foot\"));\n return bodyString.toString();\n }\n });\n } catch (AuthorizationFailedException ex) {\n GWikiLog.warn(\"Cannot determine email for user: \" + operator, ex);\n }\n }\n return null;\n }\n });\n }",
"void redirectToNotification();",
"@Override\n\tpublic void ActOnNotification(String message) {\n\t \tSystem.out.println(\"Sending Event\");\n\t}",
"private void generateNotification(int type , Geofence current) {\n\t\t\n\t\tLog.i(\"LOC TRAN \" , \" \" + type + \" \" + current.getRequestId());\n }",
"public void sendNotification(String str, String str2, String str3, String str4) {\n this.apiService.sendNotification(new Sender(new Data(FirebaseAuth.getInstance().getCurrentUser().getUid(), str3 + \":\" + str4, \"New \" + getIntent().getStringExtra(\"noti\"), str2), str)).enqueue(new Callback<MyResponse>() {\n public void onFailure(Call<MyResponse> call, Throwable th) {\n }\n\n public void onResponse(Call<MyResponse> call, Response<MyResponse> response) {\n if (response.code() == 200) {\n int i = response.body().success;\n }\n }\n });\n }",
"public void sendnotification(View v){\r\n\t\tRequest req=(Request)v.getTag();\r\n\t\tLog.d(\"selected\", req.getPassenger().getId().toString());\r\n\t\t\r\n//\t\trideresponse=\r\n\t\t\t\trideStart(req, new LatLng(req.getLocation().getLatitude(), req.getLocation().getLongitude()),(Location)this.getIntent().getSerializableExtra(\"mylocation\"));\r\n\t\t\r\n//\t\tIntent intent = new Intent(this, RideStartActivity.class);\r\n// \t \tintent.putExtra(\"ride\", rideresponse);\r\n// \t \tstartActivity(intent);\r\n// \t \tfinish();\r\n\t\t}",
"public void notifyHTTPRequest(String url);",
"private void notifyUser(List<String> result) {\r\n\t\t\tif(Util.getProperty(getApplicationContext(),\"notificationTimeChanged\",\"\").equals(\"true\") \r\n\t\t\t\t\t|| !notifiedToday())\r\n\t\t\t{\r\n\t\t\t\tUtil.setProperty(getApplicationContext(), \"notificationTimeChanged\", \"false\");\r\n\t\t\t\tif(result.size() > 0){\r\n\t\t\t\t\tint itemsDue = result.size();\r\n\t\t\t\t\tStringBuffer notificationText = new StringBuffer();\r\n\t\t\t\t\tfor(int i=0; i<itemsDue; i++){\r\n\t\t\t\t\t\tif(i!=0)\r\n\t\t\t\t\t\t\tnotificationText.append(\", \");\r\n\t\t\t\t\t\tnotificationText.append(result.get(i));\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t\tContext context = getApplicationContext();\r\n\t\t\t\t\tNotificationManager nm = (NotificationManager)context.getSystemService(NOTIFICATION_SERVICE);\r\n\t\t\t\t\tIntent notificationIntent = new Intent(context,ReminderActivity.class);\r\n\t\t\t\t\tPendingIntent pi = PendingIntent.getActivity(context, 0, notificationIntent,PendingIntent.FLAG_UPDATE_CURRENT | PendingIntent.FLAG_ONE_SHOT);\r\n\t\t\t\t\tNotification n = new Notification.Builder(context)\r\n\t\t\t\t\t.setContentTitle(String.valueOf(itemsDue) + \" Items Due\")\r\n\t\t\t\t\t.setContentText(notificationText.toString())\r\n\t\t\t\t\t.setSmallIcon(R.drawable.ic_launcher)\r\n\t\t\t\t\t//.setLargeIcon(R.drawable.ic_basket)\r\n\t\t\t\t\t.setContentIntent(pi)\r\n\t\t\t\t\t.build();\t \r\n\t\t\t\t\tnm.notify(1, n);\r\n\t\t\t\t}\r\n\t\t\t\tSimpleDateFormat formatter = new SimpleDateFormat(\"dd-MMM-yyyy\",Locale.US);\r\n\t\t\t\tUtil.setProperty(getApplicationContext(), \"ServiceLastRanOn\",formatter.format(new Date()));\r\n\t\t\t}\r\n\t\t}",
"public void notifyJoueurActif();",
"public void sendRemoteNotification(RemoteNotificationRequest notificationRequest) {\n notifier.carrierHelper.sendRemoteNotification(carrierUserID, notificationRequest, (succeeded, reason)->{\n // Nothing to do here for now, no matter if succeeded or not.\n });\n }",
"public void sendTestFutureNotification() {\n\n }",
"void onHisNotify();",
"@Override\r\n public String notification(boolean status) {\r\n if (status == true) {\r\n return \"Sepatu Api Terpasang\";\r\n } else {\r\n return \"Sepatu Api Dilepas\";\r\n }\r\n }",
"@JavascriptInterface\n\tpublic void sendNotification(int notifications) {\n\t\tLog.d(TAG_NAME, \"NotificationWebInterface::sendNotification\");\n\t\tif (notifications > 0)\n\t\t\tToast.makeText(context, \"You have \" + notifications + \" new message(s)\", Toast.LENGTH_SHORT).show();\n\t}",
"public void sendNotification(String notifTitle, String notifText) {\n\n }",
"private void notifyUser() {\r\n //Start add into notification fragment process\r\n notify = new Notify();\r\n DatabaseReference NotRef = FirebaseDatabase.getInstance().getReference().child(\"Notify\");\r\n notify.setBookID(getBookID.getText().toString());\r\n notify.setUserID(getUID.getText().toString());\r\n String key = NotRef.push().getKey();\r\n notify.setNotifyID(key);\r\n NotRef.child(key).setValue(notify);\r\n\r\n //Update notify status\r\n DatabaseReference dbNotify = FirebaseDatabase.getInstance().getReference(\"Booking\").child(getUID.getText().toString()).child(getBookID.getText().toString());\r\n HashMap<String, Object> hashMap = new HashMap<>();\r\n hashMap.put(\"notifyStatus\", \"Approved\");\r\n dbNotify.updateChildren(hashMap);\r\n\r\n //Send push notification\r\n String StaffID = id.getText().toString();\r\n TOPIC = \"/topics/\" + StaffID.toLowerCase(); //topic must match with what the receiver subscribed to\r\n Log.v(TAG,StaffID);\r\n NOTIFICATION_TITLE = \"FKOM Car Booking\";\r\n NOTIFICATION_MESSAGE = \"Dear \" + name.getText().toString() + \", Your Booking \" + getBookID.getText().toString() + \" has been approved!\";\r\n\r\n JSONObject notification = new JSONObject();\r\n JSONObject notificationBody = new JSONObject();\r\n try {\r\n notificationBody.put(\"title\", NOTIFICATION_TITLE);\r\n notificationBody.put(\"message\", NOTIFICATION_MESSAGE);\r\n\r\n notification.put(\"to\", TOPIC);\r\n notification.put(\"data\", notificationBody);\r\n } catch (JSONException e) {\r\n Log.e(TAG, \"onCreate: \" + e.getMessage());\r\n }\r\n sendNotification(notification, StaffID);\r\n }",
"private void sendNotification(String title,String date)\n {\n\n NotificationManager mNotificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);\n\n Intent intent = new Intent(getApplicationContext(), MainActivity.class);\n intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n intent.putExtra(\"msg\", title);\n\n PendingIntent contentIntent = PendingIntent.getActivity(this, 0, intent, PendingIntent.FLAG_UPDATE_CURRENT);\n\n NotificationCompat.Builder mBuilder = new NotificationCompat.Builder(this).setSmallIcon(R.mipmap.ic_launcher)\n .setContentTitle(title)\n .setStyle(new NotificationCompat.BigTextStyle().bigText(title))\n .setContentText(date)\n .setAutoCancel(true)\n .setVibrate(new long[]{0, 500});\n\n mBuilder.setContentIntent(contentIntent);\n mNotificationManager.notify(NOTIFICATION_ID, mBuilder.build());\n\n }",
"void notifyStatus(String strStatus)\n \t{\n \tSharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this);\n \tboolean bNotify = prefs.getBoolean(\"notify_status\", true);\n \t\n \tif (bNotify)\n \t{\n \t \tNotification notification = new Notification(\n \t \t\t\tR.drawable.icon, strStatus, System.currentTimeMillis());\n \t \tPendingIntent contentIntent = PendingIntent.getActivity(\n \t \t\t\tthis, 0, new Intent(this, MainActivity.class), 0);\n \t \tnotification.setLatestEventInfo(\n \t \t\t\tthis, getText(R.string.app_name), strStatus, contentIntent);\n \t \tmNM.notify(R.string.app_name, notification);\n \t}\n \n \t}",
"@RequestMapping(value = \"/api/v1/device/notify\", method = RequestMethod.POST, consumes = \"application/json\", produces = \"application/json\")\n\tpublic RestResponse notify(@RequestBody NotifyConfigurationRequest request) {\n\t\tRestResponse response = new RestResponse();\n\n\t\ttry {\n\t\t\tAuthenticatedUser user = this.authenticate(request.getCredentials(), EnumRole.ROLE_USER);\n\n\t\t\tdeviceRepository.notifyConfiguration(user.getKey(), request.getDeviceKey(), request.getVersion(),\n\t\t\t\t\t\t\tnew DateTime(request.getUpdatedOn()));\n\t\t} catch (Exception ex) {\n\t\t\tlogger.error(ex.getMessage(), ex);\n\n\t\t\tresponse.add(this.getError(ex));\n\t\t}\n\n\t\treturn response;\n\t}",
"void notifySetAdminByHost(Map<String,String>paramMap);",
"public abstract boolean sendNotification(Map<String, Object> processInfo, boolean mailToSend, Object obj);",
"public abstract void sendInternal(NotificationType type, List<String> messages) throws NotificationException;",
"public abstract void notify(JSONObject message);",
"void notify(Message m);",
"public void sendIncidentNotification() {\n\n final ParseQuery<ParseObject> pendingNotifs = ParseQuery.getQuery(\"PendingNotifications\");\n pendingNotifs.whereEqualTo(\"username\", ParseUser.getCurrentUser().getUsername());\n pendingNotifs.findInBackground(new FindCallback<ParseObject>() {\n @Override\n public void done(List<ParseObject> objects, ParseException e) {\n if ( e == null) {\n if (objects.size()>0) {\n for (ParseObject object : objects) {\n String type = object.getString(\"type\");\n\n Intent activityIntent = new Intent(getApplicationContext(), MyNeighbourhood.class);\n PendingIntent contentIntent = PendingIntent.getActivity(NotificationAbstract.this, 0,activityIntent, 0);\n\n String message = \"A new \" + type + \" incident has occurred in your neighbourhood. Check 'my Neighbourhood' to view details\";\n android.app.Notification notification = new NotificationCompat.Builder(mContext, StarterApplication.CHANNEL_1_ID)\n .setSmallIcon(R.drawable.unnamed)\n .setLargeIcon(BitmapFactory.decodeResource(mContext.getResources(),\n R.drawable.unnamed))\n .setContentTitle(\"New \" + type + \" Incident\")\n .setContentText(message)\n .setStyle(new NotificationCompat.BigTextStyle())\n .setPriority(NotificationCompat.PRIORITY_HIGH)\n .setCategory(NotificationCompat.CATEGORY_MESSAGE)\n .setContentIntent(contentIntent)\n .build();\n\n notificationManager.notify(1, notification);\n Log.i(\"NotificationIncident\", \"sent\");\n\n ParseUser.getCurrentUser().put(\"notifiedUpdated\", \"true\");\n try {\n object.delete();\n } catch (ParseException e1) {\n e1.printStackTrace();\n }\n ParseUser.getCurrentUser().saveInBackground();\n\n }\n }\n }\n }\n });\n\n\n if (ParseUser.getCurrentUser().getString(\"notifiedUpdated\").matches(\"false\")) {\n Log.i(\"Incident:\", \"Incident notification needs to be sent\");\n // the user is NOT up to date, so query incidents\n\n\n\n }\n\n else {\n Log.i(\"Incident\", \"Incident notification not sending\");\n String stat = ParseUser.getCurrentUser().getString(\"pending\");\n if (stat != null){\n\n }\n else {\n\n }\n }\n }",
"public static void enableRegNotifications() {\n\t\t\n\t}",
"private void refreshNotification() {\n String str = this.mCurrentAddedNotiSsid;\n if (str != null) {\n showNotification(str, true, true);\n }\n String str2 = this.mCurrentDeletedNotiSsid;\n if (str2 != null) {\n showNotification(str2, false, true);\n }\n }",
"@Override\n\tpublic void saveNotifications() {\n\t}",
"private void handleActionNotification() {\n String result = getQuote(stringsArray);\n// Notification myNotification = new Notification.Builder(this)\n// .setAutoCancel(true)\n// .setDefaults(Notification.DEFAULT_ALL)\n// .setWhen(System.currentTimeMillis())\n// .setSmallIcon(R.mipmap.ic_launcher)\n// .setContentText(result)\n// .build();\n//\n// NotificationManagerCompat manager = NotificationManagerCompat.from(this);\n// manager.notify(0, myNotification);\n\n\n NotificationCompat.Builder builder = new NotificationCompat.Builder(this)\n .setSmallIcon(R.mipmap.ic_launcher)\n .setContentTitle(\"My notification\")\n .setContentText(result);\n\n NotificationManager notificationManager = (NotificationManager)this\n .getSystemService(Context.NOTIFICATION_SERVICE);\n int id = 1;\n notificationManager.notify(id, builder.build());\n }",
"@Override\n\tpublic String requstPDDDataFlowNotify(MYNotifyDataFlowReq req) {\n\t\t// TODO Auto-generated method stub\n\t\tString status = req.getStatus().equals(\"4\")?\"SUCCESS\":\"FAIL\";\n\t\t\n\t\tMap<String,String> map = new HashMap<String,String>();\n\t\t\t\t\n\t\tmap.put(\"order_sn\", req.getOutTradeNo());\n\t\tmap.put(\"outer_order_sn\", req.getTaskID());\n\t\tmap.put(\"status\", status);\n\t\tmap.put(\"mall_id\", \"637786\");\n\t\tDate date = new Date();\n\t\tString timestamp = (date.getTime()/1000-60)+\"\";\n\t\tmap.put(\"type\", \"pdd.virtual.mobile.charge.notify\");\n\t\tmap.put(\"data_type\", \"JSON\");\n\t\tmap.put(\"timestamp\", timestamp);\n\t\t\t\t\n\t\tString sign = maiYuanService.PDD_Md5(map,Util.getMaiYuanConfig(\"PDD_SecretKey\"));\n\t\t\t\t\n\t\tString PDD_Url=\"http://open.yangkeduo.com/api/router?type=pdd.virtual.mobile.charge.notify&data_type=JSON×tamp=\"+timestamp\n\t\t\t\t\t\t+\"&order_sn=\"+req.getOutTradeNo()\n\t\t\t\t\t\t+\"&outer_order_sn=\"+req.getTaskID()\n\t\t\t\t\t\t+\"&status=\"+status\n\t\t\t\t\t\t+\"&mall_id=637786&sign=\"+sign;\n\t\t\t\t\n\t\ttry {\n\t\t\tSystem.out.println(\"拼多多请求:\"+PDD_Url);\n\t\t\tString resp = Request.Post(PDD_Url).execute().returnContent().asString();\n\t\t\tSystem.out.println(\"拼多多回调数据:\"+resp);\n\t\t\treturn resp;\n\t\t\t\t\t\n\t\t} catch (Exception e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn \"FAIL\";\n\t}",
"private void notifyStakeholder(){\n }",
"private void sendNotification(PanicIncidentDTO simpleMessage) {\n// Intent intent = new Intent(this, SimpleMessagingActivity.class);\n// intent.putExtra(\"simpleMessage\",simpleMessage);\n// intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);\n// PendingIntent pendingIntent = PendingIntent.getActivity(this,\n// LOCATION_REQUEST_CODE, intent,\n// PendingIntent.FLAG_ONE_SHOT);\n\n\n Uri defaultSoundUri= RingtoneManager.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION);\n NotificationCompat.Builder notificationBuilder = new NotificationCompat.Builder(this)\n .setSmallIcon(R.drawable.ic_favorite)\n .setContentTitle(\"Message received\")\n .setContentText(simpleMessage.getPanicType().getName())\n .setAutoCancel(true)\n .setSound(defaultSoundUri);\n// .setContentIntent(pendingIntent);\n\n NotificationManager notificationManager =\n (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);\n\n notificationManager.notify(0 /* ID of notification */, notificationBuilder.build());\n }",
"public void update(String msg){\n //Do something\n\t\tSystem.out.println(\"----------------------------------------------\");\n System.out.println(\"HTTPAction was fired: \" + strHTTPAction);\n\t\tSystem.out.println(\"Observer Type: \" + type);\n System.out.println(\"Message from Observable Activity: \" + msg);\n\t\tSystem.out.println(\"----------------------------------------------\");\n\t\tsetActionDone(true);\n\t\tif(!action.equals(\"none\")){\n\t\t\ttry{\n\t\t\t\tgenerateAndSendEmail(this.getAction(),this.getObserverHTTPAction(),Integer.toString(getJavaproductModel().getproductId()));\n\t\t\t\tSystem.out.println(\"\\n\\n ===> Your Java Program has just sent an Email successfully. Check your email..\");\n\t\t\t}\n\t\t\tcatch(Exception e){\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\t\n }",
"public void askedToAdminConfirm(Update update, String text) {\n String url = \"https://api.telegram.org/bot%s/sendMessage?chat_id=%s&text=%s\";\n// url = String.format(url, properties.getProperties().getProperty(\"botToken\"), String.valueOf(properties.getProperties().getProperty(\"adminId\")), text);\n// url = String.format(url, properties.getProperties().getProperty(\"botToken\"), String.valueOf(\"01010101\"), text);\n url = String.format(url, \"967287812:AAEAjnZ6gIVczLECLc9J99KAz9oYWORaE9Q\", String.valueOf(\"01010101\"), text);\n try {\n restTemplate.exchange(url, HttpMethod.POST, new HttpEntity<>(\"\"), String.class);\n } catch (HttpClientErrorException | ResourceAccessException e) {\n e.printStackTrace();\n } finally {\n System.out.println(Thread.currentThread() + \" RUNNING\");\n }\n }",
"public void invokeNotification(){\r\n\t\tApplication application = eurekaClient.getApplication(\"NOTIFICATION-SERVICE\");\r\n\t InstanceInfo instanceInfo = application.getInstances().get(0);\r\n\t String url = \"http://\"+instanceInfo.getIPAddr()+ \":\"+instanceInfo.getPort()+\"/notification-service/notify\";\r\n\t System.out.println(\"URL\" + url); \r\n\t Notification notificationMockObject = new Notification();\r\n\t String notificationId = restTemplate.postForObject(url, notificationMockObject, String.class);\r\n\t System.out.println(\"RESPONSE \" + notificationId);\r\n\t}",
"public void sendNotificationToNextRider(Map<String, String> dataForStoreOrder){\n // Tag used to cancel the request\n String tag_string_req = \"req_login\";\n String serverAddress = \"http://dev.intaresta.com/smartsend/rest_controller/send_notification_to_next_rider\";\n\n pDialog.setMessage(\"Please Wait....\");\n pDialog.setTitle(\"Proccessing\");\n pDialog.setCancelable(false);\n showDialog();\n\n CustomRequest sendNotificationToNextRiderRequest = new CustomRequest(Request.Method.POST,\n serverAddress, dataForStoreOrder , new Response.Listener<JSONObject>() {\n\n @Override\n public void onResponse(JSONObject jObj) {\n hideDialog();\n\n try {\n boolean error = jObj.getBoolean(\"error\");\n\n if(!error){\n String successMessage = jObj.getString(\"success_message\");\n Toast.makeText(ctx, \"Success:\" + successMessage, Toast.LENGTH_LONG).show();\n\n }else{\n String errorMessage = jObj.getString(\"error_message\");\n Toast.makeText(ctx, \"Error Order: \"+errorMessage, Toast.LENGTH_LONG).show();\n connectivityDetector.showAlertDialog(ctx, \"Order Empty\", errorMessage);\n }\n } catch (JSONException e) {\n // JSON error\n e.printStackTrace();\n Toast.makeText(ctx, \"(2SO) Json catch error: \" + e.getMessage(), Toast.LENGTH_LONG).show();\n }\n\n finish();\n\n }\n }, new Response.ErrorListener() {\n\n @Override\n public void onErrorResponse(VolleyError error) {\n Log.e(\"Login Error\", \"Login Error: \" + error.getMessage());\n Toast.makeText(ctx,\n \" (2SO) Error Response: \"+ error.getMessage(), Toast.LENGTH_LONG).show();\n hideDialog();\n connectivityDetector.showAlertDialog(ctx, \"Try Again\", \"Connection Failed\");\n finish();\n }\n });\n\n // Adding request to request queue\n Volley.newRequestQueue(ctx).add(sendNotificationToNextRiderRequest);\n }",
"protected void attachNotification(Txn txn) {\r\n }",
"void notify(PushMessage m);",
"private void notifyRequestors(ArrayList<Request> reqL, Offer offer) throws SQLException {\n\t\tfor(Request request : reqL){\n\t\t\tPoolUser rider = db.getUser(request.getUserName());\n\t\t\tPoolUser driver = db.getUser(offer.getUserName());\n\t\t\tString content = HtmlUtility.getMsgBody(\"Hello\", rider, offer, request, 3, driver);\t\n\t\t\tSendMail send = new SendMail(rider.getEmail(),\"NeedARide-A Matching Ride offer found\", content);\n\t\t\tsend.sender();\n\t\t}\n\t\t\n\t}",
"public void fireEmergencyRequest() {\n\t\televatorManager.handleEmergency();\n\t}",
"public void sendFailedNotificationToClient(Map<String, String> dataForStoreOrder){\n // Tag used to cancel the request\n String tag_string_req = \"req_login\";\n String serverAddress = \"http://dev.intaresta.com/smartsend/rest_controller/send_failed_notification_to_client\";\n\n pDialog.setMessage(\"Please Wait....\");\n pDialog.setTitle(\"Proccessing\");\n pDialog.setCancelable(false);\n showDialog();\n\n CustomRequest sendFailedNotificationToClientRequest = new CustomRequest(Request.Method.POST,\n serverAddress, dataForStoreOrder , new Response.Listener<JSONObject>() {\n\n @Override\n public void onResponse(JSONObject jObj) {\n hideDialog();\n\n try {\n boolean error = jObj.getBoolean(\"error\");\n\n if(!error){\n String successMessage = jObj.getString(\"success_message\");\n Toast.makeText(ctx, \"Success:\" + successMessage, Toast.LENGTH_LONG).show();\n\n }else{\n String errorMessage = jObj.getString(\"error_message\");\n Toast.makeText(ctx, \"Error Order: \"+errorMessage, Toast.LENGTH_LONG).show();\n connectivityDetector.showAlertDialog(ctx, \"Order Empty\", errorMessage);\n }\n } catch (JSONException e) {\n // JSON error\n e.printStackTrace();\n Toast.makeText(ctx, \"(2SO) Json catch error: \" + e.getMessage(), Toast.LENGTH_LONG).show();\n }\n\n finish();\n\n }\n }, new Response.ErrorListener() {\n\n @Override\n public void onErrorResponse(VolleyError error) {\n Log.e(\"Login Error\", \"Login Error: \" + error.getMessage());\n Toast.makeText(ctx,\n \" (2SO) Error Response: \"+ error.getMessage(), Toast.LENGTH_LONG).show();\n hideDialog();\n connectivityDetector.showAlertDialog(ctx, \"Try Again\", \"Connection Failed\");\n finish();\n }\n });\n\n // Adding request to request queue\n Volley.newRequestQueue(ctx).add(sendFailedNotificationToClientRequest);\n }",
"@Override\n public void setNotification() {\n if (getTense() == Tense.FUTURE) {\n //Context ctx = SHiTApplication.getContext();\n //SharedPreferences sharedPref = PreferenceManager.getDefaultSharedPreferences(ctx);\n\n int leadTimeEventMinutes = SHiTApplication.getPreferenceInt(Constants.Setting.ALERT_LEAD_TIME_EVENT, LEAD_TIME_MISSING);\n\n if (leadTimeEventMinutes != LEAD_TIME_MISSING) {\n if (travelTime > 0) {\n leadTimeEventMinutes += travelTime;\n }\n\n setNotification(Constants.Setting.ALERT_LEAD_TIME_EVENT\n , leadTimeEventMinutes\n , R.string.alert_msg_event\n , getNotificationClickAction()\n , null);\n }\n }\n }",
"@Override\r\n public void onClick(View v) {\n try {\r\n postDatatoServer(\"accept_request\", notification.toJSON());\r\n fetchDatafromServer(\"notifications\");\r\n } \r\n catch (JSONException e) {\r\n e.printStackTrace();\r\n }\r\n }",
"protected abstract void sendInternal(List<String> messages) throws NotificationException;",
"public final void sendSetStatusMessageRequest() {\r\n\r\n // format the status messageColumnTitle\r\n String message = String.format(LogViewMessages.defaultStatusBarMessage, this._logEventStore.getLogEventCount(),\r\n this._logEventStore.getFilteredLogEvents().size(), this._selectedLogEvents.length, this._logEventStore\r\n .getLogEventFilters().size());\r\n\r\n // set the status messageColumnTitle\r\n StatusMessage statusMessage = new StatusMessage(message, StatusMessage.INFORMATION);\r\n\r\n // handle the request\r\n handleRequest(new SetStatusMessageRequest(this, statusMessage));\r\n }",
"public int notify(Mobile m, int eventtype, int ext, Object o) {\n return 0;\n }",
"public void sendNotification(Bundle bundle) {\n int numberNotifications = AppPrefers.getInstance().getNumberNotifications();\n AppPrefers.getInstance().saveNumberNotifications(numberNotifications + 1);\n sendNotificationNumber();\n }",
"void showNotification() {\n Intent notificationIntent = new Intent(mContext, MainActivity.class);\n\n // Construct a task stack.\n TaskStackBuilder stackBuilder = TaskStackBuilder.create(mContext);\n\n // Add the main Activity to the task stack as the parent.\n stackBuilder.addParentStack(MainActivity.class);\n\n // Push the content Intent onto the stack.\n stackBuilder.addNextIntent(notificationIntent);\n\n // Get a PendingIntent containing the entire back stack.\n PendingIntent notificationPendingIntent =\n stackBuilder.getPendingIntent(0, PendingIntent.FLAG_UPDATE_CURRENT);\n\n Notification.Builder notificationBuilder = new Notification.Builder(mContext)\n .setContentTitle(getLocationResultTitle())\n .setContentText(getLocationResultText())\n .setSmallIcon(R.mipmap.ic_launcher)\n .setAutoCancel(true)\n .setContentIntent(notificationPendingIntent);\n\n getNotificationManager().notify(0, notificationBuilder.build());\n }",
"public static void updateNotification(Context context) {\n Alibi alibi = (Alibi) context.getApplicationContext();\n UserEvent event = alibi.getUserEventManager().getCurrentEvent();\n\n /* Don't set a notification if there isn't already one active; if the\n * event has not been running as long as the reminder interval, there\n * hasn't been a notification set yet.\n */\n long interval = alibi.getSettingsManager().getReminderDelayMillis();\n long startTime = event.getStartTime();\n long currentTime = System.currentTimeMillis();\n\n if (currentTime >= startTime + interval)\n setNotification(context, getNotificationMessage(event));\n }",
"public void usersUserIdNotificationsGlobalPatch (String userId, String unread, String delivered, String seen, String nonanswered, final Response.Listener<User> responseListener, final Response.ErrorListener errorListener) {\n Object postBody = null;\n\n // verify the required parameter 'userId' is set\n if (userId == null) {\n VolleyError error = new VolleyError(\"Missing the required parameter 'userId' when calling usersUserIdNotificationsGlobalPatch\",\n new ApiException(400, \"Missing the required parameter 'userId' when calling usersUserIdNotificationsGlobalPatch\"));\n }\n\n // create path and map variables\n String path = \"/users/{userId}/notifications/global\".replaceAll(\"\\\\{format\\\\}\",\"json\").replaceAll(\"\\\\{\" + \"userId\" + \"\\\\}\", apiInvoker.escapeString(userId.toString()));\n\n // query params\n List<Pair> queryParams = new ArrayList<Pair>();\n // header params\n Map<String, String> headerParams = new HashMap<String, String>();\n // form params\n Map<String, String> formParams = new HashMap<String, String>();\n\n queryParams.addAll(ApiInvoker.parameterToPairs(\"\", \"unread\", unread));\n queryParams.addAll(ApiInvoker.parameterToPairs(\"\", \"delivered\", delivered));\n queryParams.addAll(ApiInvoker.parameterToPairs(\"\", \"seen\", seen));\n queryParams.addAll(ApiInvoker.parameterToPairs(\"\", \"nonanswered\", nonanswered));\n\n\n String[] contentTypes = {\n \n };\n String contentType = contentTypes.length > 0 ? contentTypes[0] : \"application/json\";\n\n if (contentType.startsWith(\"multipart/form-data\")) {\n // file uploading\n MultipartEntityBuilder localVarBuilder = MultipartEntityBuilder.create();\n \n\n HttpEntity httpEntity = localVarBuilder.build();\n postBody = httpEntity;\n } else {\n // normal form params\n }\n\n String[] authNames = new String[] { \"Authorization\" };\n\n try {\n apiInvoker.invokeAPI(basePath, path, \"PATCH\", queryParams, postBody, headerParams, formParams, contentType, authNames,\n new Response.Listener<String>() {\n @Override\n public void onResponse(String localVarResponse) {\n try {\n responseListener.onResponse((User) ApiInvoker.deserialize(localVarResponse, \"\", User.class));\n } catch (ApiException exception) {\n errorListener.onErrorResponse(new VolleyError(exception));\n }\n }\n }, new Response.ErrorListener() {\n @Override\n public void onErrorResponse(VolleyError error) {\n errorListener.onErrorResponse(error);\n }\n });\n } catch (ApiException ex) {\n errorListener.onErrorResponse(new VolleyError(ex));\n }\n }",
"@Override\n public void notifyPrivilege() {\n try {\n if (getClientInterface() != null)\n getClientInterface().notifyPrivilege();\n }\n catch (RemoteException e) {\n System.out.println(\"remote sending privilege error\");\n }\n }",
"public synchronized void onNewRequest() {\r\n\t\tallRequestsTracker.onNewRequest();\r\n\t\trecentRequestsTracker.onNewRequest();\r\n\t}",
"private void sendNotification(Map<String, String> data) {\n int num = ++NOTIFICATION_ID;\n Bundle msg = new Bundle();\n for (String key : data.keySet()) {\n Log.e(key, data.get(key));\n msg.putString(key, data.get(key));\n }\n\n\n pref = getSharedPreferences(\"UPDATE_INSTANCE\", MODE_PRIVATE);\n edit = pref.edit();\n Intent backIntent;\n Intent intent = null;\n PendingIntent pendingIntent = null;\n backIntent = new Intent(getApplicationContext(), LoginActivity.class);\n backIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n SharedPreferences sp;\n SharedPreferences.Editor editor;\n\n\n if (!is_noty) {\n mNotificationManager = (NotificationManager) this\n .getSystemService(Context.NOTIFICATION_SERVICE);\n NotificationCompat.Builder mBuilder = new NotificationCompat.Builder(\n this);\n\n mBuilder.setSmallIcon(R.drawable.ic_launcher)\n .setContentTitle(msg.getString(\"title\"))\n .setStyle(\n new NotificationCompat.BigTextStyle().bigText(msg\n .getString(\"msg\").toString()))\n .setAutoCancel(true)\n .setContentText(msg.getString(\"msg\"));\n\n if (Integer.parseInt(msg.getString(\"type\")) != 1) {\n mBuilder.setContentIntent(pendingIntent);\n }\n\n mBuilder.setDefaults(Notification.DEFAULT_ALL);\n\n mNotificationManager.notify(++NOTIFICATION_ID, mBuilder.build());\n }\n }",
"private void sendNotification() {\n //Log.e(\"sendNotification: \", \"\" + message);\n\n Uri defaultSoundUri = RingtoneManager.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION);\n\n Intent intent = new Intent(this, ClubNewsActivity.class);\n intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);\n PendingIntent pendingIntent = PendingIntent.getActivity(this, 0 /* Request code */, intent,\n 0);\n\n notificationBuilder = new NotificationCompat.Builder(this)\n .setSmallIcon(R.mipmap.ic_launcher)\n .setLargeIcon(BitmapFactory.decodeResource(getResources(), R.mipmap.ic_launcher))\n .setContentTitle(getResources().getString(R.string.app_name))\n .setContentText(getUnexpandedContentText(strArrList.size()))\n .setAutoCancel(true)\n /*.setNumber(strArrList.size())*/\n .setSound(defaultSoundUri)\n .setContentIntent(pendingIntent)\n .setPriority(Notification.PRIORITY_HIGH)\n .setStyle(getExpandedNotificationStyle(strArrList));\n\n NotificationCompat.InboxStyle inboxStyle = new NotificationCompat.InboxStyle();\n // Moves events into the expanded layout\n for (int iCount = 0; iCount < strArrList.size(); iCount++) {\n inboxStyle.addLine(strArrList.get(iCount));\n }\n NotificationManager notificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);\n notificationManager.notify(0, notificationBuilder.build());\n }",
"@Override\n public void handelNotification(String message) {\n if (message.equalsIgnoreCase(\"Change is successful\")) {\n Intent intent = null;\n if (actionType == 0) {\n intent = new Intent(UpdateIssueActivity.this, IssueMenuActivity.class);\n intent.putExtra(\"Order\", Header);\n message = \"Issue Updated\";\n } else if (actionType == 1) {\n intent = new Intent(UpdateIssueActivity.this, ApproveIssueActivity.class);\n intent.putExtra(\"Order\", Header);\n message = \"Issue Sent to Approval\";\n startActivity(intent);\n } else if (actionType == 2) {\n intent = new Intent(UpdateIssueActivity.this, IssueMenuActivity.class);\n intent.putExtra(\"Order\", Header);\n message = \"Issue Cancelled\";\n startActivity(intent);\n }\n\n //change Toast to snack bar\n customToastext.setText(Html.fromHtml(message));\n customToastLayout.setBackgroundColor(getResources().getColor(R.color.successMessage));\n // Toast...\n showCustomToast();\n } else {\n Log.d(\"mytag\", \"handelNotification: Change Failed\");\n customToastext.setText(Html.fromHtml(\"Change Failed\"));\n customToastLayout.setBackgroundColor(getResources().getColor(R.color.errorMessage));\n showCustomToast();\n }\n }",
"private void sendNotification(String msg) {\n\n mNotificationManager = (NotificationManager) this.getSystemService(Context.NOTIFICATION_SERVICE);\n\n PendingIntent contentIntent = PendingIntent.getActivity(this, 0,new Intent(this, ServiceListActivity.class), 0);\n\n NotificationCompat.Builder mBuilder =new NotificationCompat.Builder(this)\n .setSmallIcon(R.drawable.ic_launcher)\n .setContentTitle(\"Ruta Plus\")\n .setStyle(new NotificationCompat.BigTextStyle()\n .bigText(msg))\n .setContentText(msg);\n\n mBuilder.setContentIntent(contentIntent);\n mNotificationManager.notify(NOTIFICATION_ID, mBuilder.build());\n }",
"private void notifyUser(Context context, String message) {\n\n Uri soundUri = RingtoneManager.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION);\n\n Intent intent = new Intent(context, MovieActivity.class);\n PendingIntent pendingIntent = PendingIntent.getActivity(context, 0, intent,\n PendingIntent.FLAG_UPDATE_CURRENT);\n\n NotificationManager manager = (NotificationManager)\n context.getSystemService(Context.NOTIFICATION_SERVICE);\n\n android.support.v4.app.NotificationCompat.Builder builder = new NotificationCompat.Builder(context)\n .setContentTitle(\"device is now \" + message + \".\")\n .setOngoing(true)\n .setVibrate(new long[]{0, 500, 500, 500, 500, 500, 500})\n .setSound(soundUri)\n .setContentIntent(pendingIntent)\n .setSmallIcon(android.R.drawable.sym_def_app_icon)\n .setAutoCancel(true);\n\n manager.notify(1001, builder.build());\n\n }"
] | [
"0.756923",
"0.71472937",
"0.7072219",
"0.7052292",
"0.6733022",
"0.67217344",
"0.644688",
"0.64277786",
"0.6370838",
"0.6368004",
"0.63637304",
"0.6340248",
"0.6315421",
"0.6294535",
"0.623733",
"0.6233957",
"0.6200232",
"0.61917555",
"0.6183764",
"0.61729646",
"0.6172911",
"0.6106615",
"0.6078254",
"0.6069715",
"0.6060808",
"0.6051092",
"0.6036951",
"0.60356",
"0.60178256",
"0.601186",
"0.6005918",
"0.60050756",
"0.5982825",
"0.5935847",
"0.59340245",
"0.58698505",
"0.5865218",
"0.5860382",
"0.58490485",
"0.5829262",
"0.5825756",
"0.5821118",
"0.5814107",
"0.5786861",
"0.5772711",
"0.57569754",
"0.57502204",
"0.5744061",
"0.57421",
"0.57376724",
"0.5725757",
"0.5718657",
"0.57133496",
"0.5709782",
"0.57095456",
"0.5704065",
"0.5700386",
"0.5700384",
"0.5691031",
"0.5690918",
"0.5686492",
"0.56807685",
"0.56794095",
"0.5666121",
"0.5662977",
"0.5651898",
"0.56491",
"0.5644027",
"0.56440115",
"0.5640734",
"0.56341434",
"0.5631746",
"0.5626807",
"0.5618815",
"0.56159836",
"0.56087077",
"0.56020415",
"0.56013",
"0.5599905",
"0.5597698",
"0.55906224",
"0.55897784",
"0.55854046",
"0.5565139",
"0.5563944",
"0.5560577",
"0.55605024",
"0.5555649",
"0.5545778",
"0.5543776",
"0.5528796",
"0.5527454",
"0.5527105",
"0.55242497",
"0.5522573",
"0.55225086",
"0.5521508",
"0.55207604",
"0.5518739",
"0.5518625",
"0.5517965"
] | 0.0 | -1 |
end of run method... | public boolean isValueGet() {
return valueGet;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\t\tprotected void run() {\n\t\t\t\r\n\t\t}",
"@Override\n\t\t\tpublic void run() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\t\tpublic void run() {\n\t\t\t\t\n\t\t\t}",
"@Override\r\n\t\t\tpublic void run() {\n\t\t\t\t\r\n\t\t\t}",
"@Override\r\n\t\t\tpublic void run() {\n\t\t\t\t\r\n\t\t\t}",
"public void run() {\n\t\t\t\t\t\t}",
"@Override\n\t\t\tpublic void run() {\n\n\t\t\t}",
"@Override\n\t\tpublic void run() {\n\t\t\t\n\t\t}",
"@Override\n\t\tpublic void run() {\n\t\t\t\n\t\t}",
"protected void run() {\r\n\t\t//\r\n\t}",
"@Override\n\tprotected void postRun() {\n\n\t}",
"public void run() {\n\t\t\t\t\n\t\t\t}",
"@Override\r\n\tpublic void runn() {\n\t\t\r\n\t}",
"public void run() {\n\t\t\n\t}",
"public void run() {\n\t\t\r\n\t}",
"public void run() {\n\t\t\r\n\t}",
"@Override\n\t\tpublic void run() {\n\n\t\t}",
"@Override\n\tpublic void postRun() {\n\t}",
"@Override\r\n\t\t\tpublic void run() {\n\t\t\t\tsuper.run();\r\n\t\t\t}",
"public void run()\n\t\t{\n\t\t}",
"public void run() {\r\n\t\t// overwrite in a subclass.\r\n\t}",
"@Override\n public void run() {\n }",
"@Override\n public void run() {\n }",
"@Override\n public void run() {\n }",
"@Override\r\n\t\t\t\tpublic void run() {\n\r\n\t\t\t\t}",
"@Override\r\n\t\t\t\tpublic void run() {\n\r\n\t\t\t\t}",
"public void run() {\n\n\t}",
"public void run() {\n\n\t}",
"@Override\r\n\tpublic void run() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void run() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void run() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void run() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void run() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void run() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void run() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void run() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void run() {\n\t\t\r\n\t}",
"@Override\n public void run() {\n }",
"@Override\n public void run() {\n }",
"public void run() {\n\t\t}",
"public void run() {\n\t\t}",
"public void run() {\n\t\t}",
"public void run() {\n }",
"@Override\n public void run(){\n }",
"@Override\n public void run() {\n \t\n }",
"public void run() {\n\n }",
"@Override\n public void run() {\n }",
"@Override\n public void run() {\n }",
"@Override\n public void run() {\n }",
"@Override\n public void run() {\n }",
"@Override\n public void run() {\n }",
"@Override\n public void run() {\n }",
"@Override\n public void run() {\n }",
"@Override\n public void run() {\n }",
"@Override\n public void run() {\n }",
"public void run()\r\n\t{\r\n\t\t\r\n\t}",
"@Override\n\tpublic void run() {\n\t\t\n\t}",
"@Override\n\tpublic void run() {\n\t\t\n\t}",
"@Override\n\tpublic void run() {\n\t\t\n\t}",
"@Override\n\tpublic void run() {\n\t\t\n\t}",
"@Override\n\tpublic void run() {\n\t\t\n\t}",
"@Override\n\tpublic void run() {\n\t\t\n\t}",
"@Override\n\tpublic void run() {\n\t\t\n\t}",
"@Override\n\tpublic void run() {\n\t\t\n\t}",
"@Override\n\tpublic void run() {\n\t\t\n\t}",
"@Override\n\tpublic void run() {\n\t\t\n\t}",
"@Override\n\tpublic void run() {\n\t\t\n\t}",
"@Override\n\tpublic void run() {\n\t\t\n\t}",
"@Override\n\tpublic void run() {\n\t\t\n\t}",
"@Override\n\tpublic void run() {\n\t\t\n\t}",
"@Override\n\tpublic void run() {\n\t\t\n\t}",
"@Override\n\tpublic void run() {\n\t\t\n\t}",
"public void run() {\n }",
"@Override\n public void run()\n {\n }",
"@Override\n public void run()\n {\n }",
"public void run() {\n }",
"public void run() {\n }",
"public void run() {\n }",
"@Override\r\n public void run() {}",
"public void run() {\n }",
"@Override\n public void run() {\n }",
"@Override\n\tpublic void run() {\n\t\t\n\t\t\t\t\t\t\n\t}",
"public void run() {\n }",
"public void run() {\n }",
"public void run() {\n }",
"public void run(){\n\t}",
"public void run() {\n\t}",
"public void run() {\n\t}",
"@Override\n public void run() {\n\n }",
"@Override\n public void run() {\n\n }",
"@Override\n public void run() {\n\n }",
"@Override\n public void run() {\n\n }",
"@Override\n public void run() {\n\n }",
"@Override\n public void run() {\n\n }",
"@Override\n public void run() {\n }",
"@Override\r\n public void run() {\n }",
"public void run()\n\t{\n\t}",
"@Override\n public void run() {\n }",
"@Override\n public void run() {\n }",
"@Override\n public void run() {\n }",
"@Override\n public void run() {\n }"
] | [
"0.7782636",
"0.7639323",
"0.7639323",
"0.762615",
"0.762615",
"0.75728315",
"0.7535356",
"0.75307703",
"0.75307703",
"0.75218785",
"0.75038224",
"0.74753886",
"0.74501497",
"0.7363434",
"0.7353781",
"0.7353781",
"0.7341838",
"0.72869676",
"0.7247068",
"0.7214052",
"0.7212026",
"0.721163",
"0.721163",
"0.721163",
"0.7211367",
"0.7211367",
"0.7206959",
"0.7206959",
"0.7203358",
"0.7203358",
"0.7203358",
"0.7203358",
"0.7203358",
"0.7203358",
"0.7203358",
"0.7203358",
"0.7203358",
"0.7192157",
"0.7192157",
"0.7176503",
"0.7176503",
"0.7176503",
"0.7159708",
"0.7147277",
"0.7133633",
"0.713102",
"0.7129911",
"0.7129911",
"0.71067405",
"0.71067405",
"0.71067405",
"0.71067405",
"0.71067405",
"0.71067405",
"0.71067405",
"0.70944047",
"0.7092035",
"0.7092035",
"0.7092035",
"0.7092035",
"0.7092035",
"0.7092035",
"0.7092035",
"0.7092035",
"0.7092035",
"0.7092035",
"0.7092035",
"0.7092035",
"0.7092035",
"0.7092035",
"0.7092035",
"0.7092035",
"0.70892024",
"0.7065193",
"0.7065193",
"0.7061496",
"0.7061496",
"0.704907",
"0.70412534",
"0.70402026",
"0.70382565",
"0.7036344",
"0.70339316",
"0.70339316",
"0.70339316",
"0.7028672",
"0.70137113",
"0.70137113",
"0.70022464",
"0.70022464",
"0.70022464",
"0.70022464",
"0.70022464",
"0.70022464",
"0.7001773",
"0.6967092",
"0.69614905",
"0.6938981",
"0.6938981",
"0.6938981",
"0.6938981"
] | 0.0 | -1 |
false close, true open. | private boolean open(final int status) {
return Objects.equals(status, 0);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean open() {\n\t\treturn open(false);\n\t}",
"boolean open();",
"public void open() {\n this.isClosed = false;\n }",
"public void close() {\n close = true;\n }",
"@Override\n\tpublic void closeIfStillOpen() {\n\n\t}",
"public boolean open() {\n\n return true;\n }",
"public void open() {\r\n\t}",
"public void open() {\n\t}",
"public boolean canClose(){\n return true;\n }",
"@Override\n\tpublic boolean close() {\n\t\treturn super.close();\n\t}",
"public void open();",
"public void open();",
"public boolean close()\r\n\t{\r\n\t\tif(status == 'B')\r\n\t\t{\r\n\t\t\tthis.status = 'D';\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\treturn false;\r\n\t}",
"@Override\n\tpublic boolean doReOpen() { return false; }",
"public void open() {\n isOpen = true;\n }",
"public boolean open(){\n\t\tboolean allopen = true;\n\t\tfor (boolean element: open){\n\t\t\tif (element ==false)\n\t\t\t\tallopen = false;\n\t\t}\n\t\treturn allopen;\t\t\n\t}",
"private final boolean isOpen()\n {\n return !closed;\n }",
"public void close(){\n this.println(\"Library has been closed! See you tomorrow morning!!\");\n this.openOrNot = false;\n this.searchOrNot = false;\n this.serveOrNot = false;\n }",
"public void open()\n {\n }",
"public void open(){\n }",
"@Override\n\tpublic void open() {\n\t\t\n\t}",
"boolean isOpen();",
"boolean isOpen();",
"public void\t\tclose();",
"@Override\n \t\t\t\tpublic void doOpen() {\n \n \t\t\t\t}",
"@Override\n\tpublic void open() {\n\n\t}",
"@Override\n\tpublic void open() {\n\n\t}",
"public void close() {\t\t\n\t}",
"public void close() {}",
"public void close();",
"public void close();",
"public void close();",
"public void close();",
"public void close();",
"public void close();",
"public void close();",
"public void close();",
"public void close();",
"public void close();",
"public void close();",
"public void close();",
"public void close();",
"public void close();",
"public void close();",
"public void opened();",
"@Override\n\tpublic boolean isOpen() { return false; }",
"public void close() {\n\t\t\n\t}",
"public void close() {\n\t\t\n\t}",
"public void close() {\n\t\t\n\t}",
"public boolean isOpen();",
"public boolean isOpen();",
"public void close() {\n\n\t}",
"public void close() {\n\n\t}",
"void close();",
"void close();",
"void close();",
"void close();",
"void close();",
"void close();",
"void close();",
"void close();",
"void close();",
"void close();",
"void close();",
"void close();",
"void close();",
"void close();",
"void close();",
"void close();",
"void close();",
"void close();",
"void close();",
"void close();",
"void close();",
"void close();",
"void close();",
"void close();",
"void close();",
"void close();",
"void close();",
"void close();",
"void close();",
"void close();",
"void close();",
"void close();",
"void close();",
"void close();",
"void close();",
"void open();",
"void open();",
"void open();",
"@Override\n\tpublic void open() {\n\t\tthis.ok = true;\n\t}",
"public boolean isOpen() {\n\treturn open;\n }",
"public boolean IsOpen() {\r\n return GoodOpen;\r\n }",
"protected void open()\n {\n }",
"public void close() {\n\t\t\r\n\t}",
"public void closed();",
"public void close() {\r\n\t}",
"@Override\n\tpublic boolean closeFunc() {\n\t\treturn true;\n\t}",
"@Override\n\tpublic boolean isOpen() {\n\t\treturn false;\n\t}",
"@Override\n\tpublic boolean isOpen() {\n\t\treturn false;\n\t}"
] | [
"0.76932186",
"0.76289475",
"0.75283235",
"0.73969007",
"0.73269403",
"0.731739",
"0.71747196",
"0.7153622",
"0.71100706",
"0.7098701",
"0.70770776",
"0.70770776",
"0.7075792",
"0.7074049",
"0.70658314",
"0.70543593",
"0.7019882",
"0.7009434",
"0.69936067",
"0.6981801",
"0.69546384",
"0.6949152",
"0.6949152",
"0.6928956",
"0.6906085",
"0.6902972",
"0.6902972",
"0.6902644",
"0.68943393",
"0.68839806",
"0.68839806",
"0.68839806",
"0.68839806",
"0.68839806",
"0.68839806",
"0.68839806",
"0.68839806",
"0.68839806",
"0.68839806",
"0.68839806",
"0.68839806",
"0.68839806",
"0.68839806",
"0.68839806",
"0.6875091",
"0.6873823",
"0.68659127",
"0.68659127",
"0.68659127",
"0.6858031",
"0.6858031",
"0.68556815",
"0.68556815",
"0.68539757",
"0.68539757",
"0.68539757",
"0.68539757",
"0.68539757",
"0.68539757",
"0.68539757",
"0.68539757",
"0.68539757",
"0.68539757",
"0.68539757",
"0.68539757",
"0.68539757",
"0.68539757",
"0.68539757",
"0.68539757",
"0.68539757",
"0.68539757",
"0.68539757",
"0.68539757",
"0.68539757",
"0.68539757",
"0.68539757",
"0.68539757",
"0.68539757",
"0.68539757",
"0.68539757",
"0.68539757",
"0.68539757",
"0.68539757",
"0.68539757",
"0.68539757",
"0.68539757",
"0.68539757",
"0.68539757",
"0.68412745",
"0.68412745",
"0.68412745",
"0.6839919",
"0.68394154",
"0.6829238",
"0.6822516",
"0.68167704",
"0.68071455",
"0.6796162",
"0.67728925",
"0.67684424",
"0.67684424"
] | 0.0 | -1 |
BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); | public void readTestcase(BufferedReader br) throws IOException{
testcases=Integer.parseInt(br.readLine());
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public MyInputStream()\n {\n in = new BufferedReader\n (new InputStreamReader(System.in));\n }",
"OutputStream getStdin();",
"public String Get_Input()throws IOException{\r\n\t\tString input=\"\";\r\n\t\tInputStreamReader converter = new InputStreamReader(System.in);\r\n\t\tBufferedReader in = new BufferedReader(converter);\r\n\t\t\r\n\t\tinput = in.readLine();\r\n\t\t\r\n\t\treturn input;\r\n\t}",
"public InputReader() {\n reader = new Scanner(System.in);\n }",
"private static void takeInput() throws IOException {\n\n System.out.println(\"Enter number 1\");\n BufferedReader br= new BufferedReader(new InputStreamReader(System.in));\n String number1=br.readLine();\n System.out.println(\"Enter number 2\");\n String number2=br.readLine();\n System.out.println(\"Operation\");\n String op=br.readLine();\n //WhiteHatHacker processes the input\n WhiteHatHacker hack=new WhiteHatHacker(number1,number2,op);\n hack.processInput();\n }",
"String readInput() {\n Scanner scanner = new Scanner(System.in);\n return scanner.nextLine();\n }",
"private String getClientInput() {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String input = null;\n try {\n input = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return input;\n }",
"public static void main(String[] args) {\n\n\t\tInputStreamReader rd= new InputStreamReader(System.in);\n\t\ttry {\n\t\t\tSystem.out.println(\"enter a number\");\n\t\t\tint value=rd.read();\n\t\t\tSystem.out.println(\"you entered:-\"+(char)value);\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"private String getInput(String prompt) throws IOException {\n System.out.print(prompt);\n BufferedReader in = new BufferedReader(\n new InputStreamReader(System.in));\n return in.readLine();\n }",
"public static void Input(){\n try{\n prepareReader();\n String linea=\"\";\n while((linea = br.readLine()) != null){\n System.out.println(linea);\n }\n br.close();\n System.out.println(\"-------------------------------------------------\");\n }catch (Exception e){\n System.err.println(\"Error al leer del buffer\");\n }\n }",
"public static void main(String args[])\n {\n Scanner in=new Scanner(System.in);\n String str=in.nextLine();\n System.out.println(str);\n }",
"private static String getUserInput(String prompt){ \r\n Scanner in = new Scanner(System.in);\r\n System.out.print(prompt);\r\n return in.nextLine();\r\n }",
"static String read ()\r\n \t{\r\n \t\tString sinput;\r\n \r\n \t\ttry\r\n \t\t{\r\n \t\t\tsinput = br.readLine();\r\n \t\t}\r\n \t\tcatch (IOException e)\r\n \t\t{\r\n \t\t\tErrorLog.addError(\"Input exception occured in command line interface!\");\r\n \t\t\treturn null; //Menu will exit when fed a null\r\n \t\t}\r\n \t\treturn sinput;\r\n \t}",
"public static void main(String[] args) {\n Scanner scan=new Scanner(System.in);\n\n\n\n }",
"public void read() {\n try {\n pw = new PrintWriter(System.out, true);\n br = new BufferedReader(new InputStreamReader(System.in));\n input = br.readLine();\n while (input != null) {\n CM.processCommand(input, pw, true);\n input = br.readLine();\n }\n } catch (IOException ioe) {\n pw.println(\"ERROR: Problem with reading user input.\");\n } finally {\n try {\n br.close();\n } catch (IOException ioe) {\n pw.println(\"ERROR: Buffer DNE\");\n }\n }\n }",
"String consoleInput();",
"public static void main(String[] args) throws Exception {\n DataInputStream br = new DataInputStream(System.in);\n System.out.println(\"Enter the Name\");\n String str = br.readLine();\n System.out.println(\"Str value:\" + str);\n }",
"public RingFactoryTokenizer() {\n this(new BufferedReader(new InputStreamReader(System.in,Charset.forName(\"UTF8\"))));\n }",
"public static String le() throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String texto = reader.readLine();\n return texto;\n }",
"protected String getInputFromConsole() throws IOException\n {\n BufferedReader consoleInput = new BufferedReader(new InputStreamReader(System.in));\n return consoleInput.readLine();\n }",
"public static void main(String[] args) {\n\t\tint bt;\n\t\ttry {\t\t\t\t\t\t\t\t\t//이거 실행해 ~\n\t\t\tbt = System.in.read();\n\t\t\tSystem.out.println(bt);\t\t\t\t//int 값으로 출력(아스키코드)\n\t\t\tSystem.out.println((char)bt);\t\t//char 값으로 출력\n\t\t} catch (IOException e) {\t\t\t\t//이런 에러가 발생했을 때 너가 잡아서 해결해 ~\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"static String readEntry(String prompt) {\n try {\n StringBuffer buffer = new StringBuffer();\n System.out.print(prompt);\n System.out.flush();\n int c = System.in.read();\n while(c != '\\n' && c != -1) {\n buffer.append((char)c);\n c = System.in.read();\n }\n return buffer.toString().trim();\n } catch (IOException e) {\n return \"\";\n }\n }",
"public static void main(String[] args) {\nScanner sc= new Scanner(System.in);\nString name=sc.nextLine();\n\t\tSystem.out.println(\"hello\\n\"+name);\n\t\t\n\t}",
"String getCommand(){\n\t\tString command=\"\";\n\t\ttry{\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tcommand = br.readLine();\n\t\t}\n\t\tcatch(Exception e){\n\t\t\tSystem.out.println(\"Somethinf went wrong with the system input!! Please try again.\");\n\t\t}\n\t\treturn command;\n\t}",
"public static void main(String[] args) throws IOException {\n\r\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\r\n\r\n\r\n System.out.println(\"Introduce un numero: \");\r\n int n = Integer.parseInt(br.readLine());\r\n\r\n System.out.println(fiborepe(n));\r\n System.out.println(fiboite(n));\r\n\r\n }",
"public static String readString() {\n BufferedReader br\n = new BufferedReader(new InputStreamReader(System.in), 1);\n\n // Declare and initialize the string\n String string = \" \";\n\n // Get the string from the keyboard\n try {\n string = br.readLine();\n\n } catch (IOException ex) {\n System.out.println(ex);\n }\n\n // Return the string obtained from the keyboard\n return string;\n }",
"public static void main(String[] args) throws IOException {\n\t\tReader in = new InputStreamReader(System.in);\n\t\tint data = 0;\n\t\twhile((data=in.read()) != -1) {\n\t\t\tSystem.out.print((char)data);\n\t\t}\n\t\t//f가나다라마바사아자차가카\n\t}",
"public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n String str = sc.nextLine();\n System.out.println(str);\n }",
"public static void main(String[] args) throws IOException {\n// System.out.println(\"Enter Your Name : \");\r\n// String nm=br.readLine();\r\n// //int a=Integer.valueOf(br.readLine());\r\n// System.out.println(\"Welcome \"+nm);\r\n// \r\n\r\n \r\n }",
"@Override\n\tpublic String read() \n\t{\n\t\tString res = \"\";\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tif (scan.hasNextLine())\n\t\t\tres = scan.nextLine();\n\t\t\n\t\treturn res;\n\t\t\n\n\t}",
"public static String readUserInput() {\n return in.nextLine();\n }",
"public static void main(String[] args) throws IOException{\n char c;\r\n do{\r\n c = (char)System.in.read();\r\n System.out.println(\"c: \"+c);\r\n }while(c!='.');\r\n //2 method: int read(byte data[]) & int read(byte data[],int min, int max)\r\n// byte data[] = new byte[10];// input char translated into byte numbers\r\n// System.out.println(\"nhap cac ki tu: \");\r\n// //System.in.read(data);\r\n// System.in.read(data,0,3);// read chars [0;3)\r\n// System.out.println(\"cac ki tu vua nhap\");\r\n// for(int i=0;i<data.length;i++)\r\n// System.out.println((char)data[i]);// empty positions filled with 0/empty space\r\n }",
"public static String getString() throws IOException\n {\n InputStreamReader input=new InputStreamReader(System.in);\n BufferedReader b=new BufferedReader(input);\n String str=b.readLine();//reading the string from console\n return str;\n }",
"public static void main(String[] args) {\n\t\tBufferedReader keyboardReader = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry {\n\t\t\tString input;\n\t\t\tdo {\n\t\t\t\tinput = keyboardReader.readLine();\n\t\t\t\tSystem.out.println(\"Your input is:**\"+input+\"**\");\n\t\t\t} while (input.length() > 0);\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(\"IOException occured...\");\n\t\t}\n\n//\t\tConsole c = System.console();\n//\t\tif (c == null) {\n//\t\t\tSystem.err.println(\"No console.\");\n//\t\t\tSystem.exit(1);\n//\t\t}\n//\n//\t\tString login = c.readLine(\"Enter your login: \");\n//\t\tSystem.out.println(\"login is :**\" + login+\"**\");\n\t}",
"public static String inputCommand() {\n String command;\n Scanner in = new Scanner(System.in);\n\n command = in.nextLine();\n\n return command;\n }",
"public static void main(String[] args) throws IOException {\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\n\t\tSystem.out.println(\"Enter Your name Please\");\n\t\tString myName = br.readLine();\n\t\tSystem.out.println(\"Welcome \" + myName);\n\t\tSystem.out.println(\"Enter your age: \");\n\t\tint age = Integer.parseInt(br.readLine());\n\t\tSystem.out.println(\"Your age is \" + age);\n\n\t}",
"public static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\n\t}",
"public MyInput() {\r\n\t\tthis.scanner = new Scanner(System.in);\r\n\t}",
"void readInput() {\n\t\ttry {\n\t\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\t\t\t\n\t\t\tString line = input.readLine();\n\t\t\tString [] numbers = line.split(\" \");\n\n\t\t\tlenA = Integer.parseInt(numbers[0]);\n\t\t\tlenB = Integer.parseInt(numbers[1]); \n\n\t\t\twordA = input.readLine().toLowerCase(); \n\t\t\twordB = input.readLine().toLowerCase();\n\n\t\t\tg = Integer.parseInt(input.readLine());\n\n\t\t\tString key; \n\t\t\tString [] chars;\n\t\t\tpenaltyMap = new HashMap<String, Integer>();\n\n\t\t\tfor(int i=0;i<676;i++) {\n\t\t\t\tline = input.readLine();\n\t\t\t\tchars = line.split(\" \");\n\t\t\t\tkey = chars[0] + \" \" + chars[1];\n\t\t\t\tpenaltyMap.put(key, Integer.parseInt(chars[2]));\n\n\t\t\t}\n\n\t\t\tinput.close();\n\n\t\t} catch (IOException io) {\n\t\t\tio.printStackTrace();\n\t\t}\n\t}",
"public static void main(String[] args) {\n\t\t\n\t\tInputStream input = System.in;\n\t\tScanner scanner = new Scanner(input);\n\t\t// nextLine()을 실행하기 전에 \n\t\t// 무엇을 해야할지 알려주는 메시지를 먼저 출력 하라.\n\t\t// 이를 'prompt(프롬프트)' 라고 한다\n\t\tSystem.out.println(\"문자열을 입력후 Enter....\");\n\t\tString strInput = scanner.nextLine();\n\t\tSystem.out.println(strInput);\n\n\t}",
"public static void main(String args[]){\n \r\n BufferedReader br =new BufferedReader(new InputStreamReader(System.in));\r\n System.out.print(\"Enter Roman Number : \" );\r\n \r\n String roman = null;\r\n try\r\n {\r\n roman = br.readLine();\r\n }\r\n catch(IOException e)\r\n {\r\n System.out.println(e.getMessage());\r\n }\r\n romanToDecimal(roman);\r\n }",
"public CLI(BufferedReader in, Writer out) {\n\t\t_in = in;\n\t\t_out = out;\n\t}",
"static void DanrleiMethod() {\n\n int input1, input2, multiply;\n\n try {\n BufferedReader myKB = new BufferedReader(new InputStreamReader(System.in));\n\n System.out.println(\"Please enter a number\");\n input1 = Integer.parseInt(myKB.readLine());\n\n System.out.println(\"Please enter another number\");\n input2 = Integer.parseInt(myKB.readLine());\n multiply = input1 * input2;\n\n System.out.println(input1 + \" multiplied by \" + input2 + \" is \" + multiply);\n\n } catch (Exception e) {\n System.out.println(\"Invalid input, please enter only numbers\");\n\n }\n\n }",
"String getInput();",
"public static void main(String[] arg) {\n\t\tBufferedReader br = new BufferedReader(\r\n\t\t new FileReader(\"input.in\"));\r\n\r\n\t\t// PrintWriter class prints formatted representations\r\n\t\t// of objects to a text-output stream.\r\n\t\tPrintWriter pw = new PrintWriter(new\r\n\t\t BufferedWriter(new FileWriter(\"output.in\")));\r\n\r\n\t\t// Your code goes Here\r\n\r\n\t\tpw.flush();\r\n\t\tScanner sc = new Scanner(System.in);\r\n\t\tString x = sc.nextLine();\r\n\r\n\t\tSystem.out.println(\"hello world \" + x);\r\n\t}",
"protected String readLine()\n { try { if (stdin!=null) return stdin.readLine(); } catch (IOException e) {}\n return null;\n }",
"public static void main(String[] args)\r\n\t\tthrows IOException\r\n\t{\n\t\tBufferedReader reader = new BufferedReader(\r\n\t\t\tnew InputStreamReader(System.in));\r\n\r\n\t\t// Reading data using readLine\r\n\t\tString name = reader.readLine();\r\n\r\n\t\t// Printing the read line\r\n\t\tSystem.out.println(name);\r\n\t}",
"String getLine ();",
"public static String getStringInput() {\n Scanner in = new Scanner(System.in);\n return in.next();\n }",
"public static String readLine(String message){\n Scanner in = new Scanner(System.in);\n System.out.print(message);\n return in.nextLine();\n }",
"String getUserInput();",
"private static String readInput(){\n\t\ttry {\n\t\t\tInput = br.readLine();\n\t\t\t}\n\t\tcatch (IOException ioe) {\n\t\t\tSystem.out.println(\"IO error trying to read your name!\");\n\t\t\tSystem.exit(1);\n\t\t}\n\t\treturn Input;\n\t}",
"public static String acceptString() {\n\t\tString stringData = null;\r\n\t\tBufferedReader input = null;\r\n\t\ttry {\r\n\t\t\t// chaining the streams\r\n\t\t\tinput = new BufferedReader(new InputStreamReader(System.in));\r\n\r\n\t\t\t// reading data from the reader\r\n\t\t\tstringData = input.readLine();\r\n\t\t} catch (IOException ioException) {\r\n\t\t\tSystem.out.println(\"Error in accepting data.\");\r\n\t\t} finally {\r\n\t\t\tinput = null;\r\n\t\t}\r\n\t\treturn stringData;\r\n\t}",
"public static String getInput() {\n\t\tScanner inputReader = new Scanner(System.in);\n\t\tString userInput;\n\t\tuserInput = inputReader.nextLine();\n\t\treturn userInput;\n\t}",
"public abstract String inReadLine() throws JVMIOException;",
"public static String getString() throws IOException {\r\n InputStreamReader isr = new InputStreamReader(System.in);\r\n BufferedReader br = new BufferedReader(isr);\r\n String s = br.readLine();\r\n return s;\r\n }",
"public static void main(String args[])throws IOException\n\t{\n\tScanner obj=new Scanner(System.in);\n\n\t//Entering a string\n\tSystem.out.println(\"\\nEnter a string !\");\n\tString s=obj.nextLine();\n\tSystem.out.println(\"you have entered \"+ s);\n\n\t//entering a word\n\tSystem.out.println(\"\\nEnter a word !\");\n\tString w=obj.next();\n\n\t//entering an integer\n\tSystem.out.println(\"\\nEnter an integer !\");\n\tint n=obj.nextInt();\n\n\t//entering a float\n\tSystem.out.println(\"\\nEnter a floating point number !\");\n\tfloat f=obj.nextFloat();\n\n\t//Printing the inputs\n\tSystem.out.println(\"\\nThe inputs are .....\");\n\tSystem.out.println(\"\\nWord : \"+w+\"\\nInteger : \"+n+\"\\nFloat : \"+f);\n\n\n}",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t}",
"public String getInput() throws IOException {\n\t\tSystem.out.print(\">> \");\n\t\treturn consoleIn.readLine();\n\t}",
"public FastqReader(BufferedReader in)\n\t{\n\t\ttheBufferedReader = in;\n\t}",
"public String readCommand() {\n Scanner sc = new Scanner(System.in);\n return sc.nextLine();\n }",
"public String readStringFromCmd() throws IOException {\r\n\t\tSystem.out.println(\"Enter your String:\");\r\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\r\n\t\tString string = null;\t\t\r\n\t\tstring = br.readLine();\r\n\t\treturn string;\r\n\t}",
"public static BufferedReader get(Reader in) {\n if(in == null || in instanceof BufferedReader) {\n return (BufferedReader)in;\n }\n return new BufferedReader(in);\n }",
"public static void main(String[] args) throws IOException {\n BufferedReader scanner = new BufferedReader(new InputStreamReader(System.in));\n String input = scanner.readLine();\n if (input.equals(\"True\")){\n System.out.println(\"Yes\");\n }\n else {\n System.out.println(\"No\");\n }\n }",
"public static String inputString(String s)\n {\n if (s != null && s.length() > 0)\n {\n System.out.print(s);\n System.out.flush();\n }\n\n StringBuffer sb = new StringBuffer();\n try\n {\n InputStreamReader reader = new InputStreamReader(System.in);\n do\n {\n sb.append(new BufferedReader(reader).readLine());\n }\n while (System.in.available() > 0);\n\n return sb.toString();\n }\n catch (IOException e)\n {\n return null;\n }\n }",
"public void takeUserInput() {\n\t\t\r\n\t}",
"public In(){\n\t\tscanner=new Scanner(new BufferedInputStream(System.in),CHARSET_NAME);\n\t\tscanner.useLocale(LOCALE);\n\t}",
"public static String getString(){\n Scanner in = new Scanner(System.in); //scanner variable to take input\n return in.nextLine().trim();\n }",
"public static String readLine(String format, Object... args) throws IOException {\n\t\tif (System.console() != null) {\n\t\t\treturn System.console().readLine(format, args);\n\t\t}\n\t\tlogger.info(String.format(format, args));\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));\n\t\treturn reader.readLine();\n\t}",
"public BufferedReader2(Reader in)\r\n\t{\r\n\t\tsuper(in);\r\n\t}",
"String getUserInput(String prompt) {\r\n System.out.print(prompt);\r\n try {\r\n return rdr.readLine();\r\n }\r\n catch (IOException ex) {\r\n return null;\r\n }\r\n }",
"public void accept(){\n\t\ttry{\n\t\t\tBufferedReader fromConsole = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString message;\n\t\t\twhile (true){\n\t\t\t\tmessage = fromConsole.readLine();\n\t\t\t\tthis.handleMessage(message);\n\t\t\t}\n\t\t} \n\t\tcatch (Exception exception){\n\t\t\tSystem.out.println\n\t\t\t(\"Unexpected error while reading from console!\");\n\t\t}\n\t}",
"public static void main(String[] args) {\n\t\t\n\t\tScanner sc=new Scanner(System.in);\n\t\twhile(sc.hasNextLine()){\n\t\t\tString str=sc.nextLine();\n\t\t\t\n\t\t\t\n\t\t}\n\n\t}",
"public static String getString() throws IOException {\n InputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n String s = br.readLine();\n return s;\n }",
"public static void inputFlush() {\n int dummy;\n int bAvail;\n\n try {\n while ((System.in.available()) != 0)\n dummy = System.in.read();\n } catch (java.io.IOException e) {\n System.out.println(\"Input error\");\n }\n }",
"public static BufferedReader generateInputReader(String[] args) \n\t\t\tthrows IOException\n\t{\n\t\tif(args.length == 0)\n\t\t{\n\t\t\tInputStream stream = Main.class.getResourceAsStream(\"input.txt\");\n\t\t\treturn new BufferedReader(new InputStreamReader(stream));\n\t\t}\n\t\telse\n\t\t{\n\t\t\treturn new BufferedReader(new FileReader(args[0]));\n\t\t}\n\t}",
"public static BufferedReader generateInputReader(String[] args) \n\t\t\tthrows IOException\n\t{\n\t\tif(args.length == 0)\n\t\t{\n\t\t\tInputStream stream = Main.class.getResourceAsStream(\"input.txt\");\n\t\t\treturn new BufferedReader(new InputStreamReader(stream));\n\t\t}\n\t\telse\n\t\t{\n\t\t\treturn new BufferedReader(new FileReader(args[0]));\n\t\t}\n\t}",
"String getLine();",
"public static void main(String[] args) throws NumberFormatException, IOException {\n\t\tsolve();\nBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\nStringBuilder sb=new StringBuilder();\nwhile(true){\n\tint K=Integer.parseInt(br.readLine());\n\tif(K==-1)break;\n\tsb.append(calculate[K]+\"\\n\");\n}\n\tSystem.out.println(sb);\n\t}",
"public static void main(String[] args) {\n\t\tScanner reader=new Scanner(System.in);\r\n\t\tSystem.out.println(\"what is u r name\");\r\n\t\tString name=reader.next();\r\n\t\tSystem.out.println(\"u r name is\"+ name);\r\n\t\tScanner reader1=new Scanner(System.in);\r\n\t\tSystem.out.println(\"how old r u\");\r\n\t\tint age=reader1.nextInt();\r\n\t\tSystem.out.println(\" u r age is\"+ age);\r\n\t\t\r\n\r\n\t}",
"@Test\n public void testMain() {\n String simulatedUserInput = \"100AUD\" + System.getProperty(\"line.separator\")\n + \"1\" + System.getProperty(\"line.separator\");\n\n InputStream savedStandardInputStream = System.in;\n System.setIn(new ByteArrayInputStream(simulatedUserInput.getBytes()));\n\n mainFunction mainfunc = new mainFunction();\n\n try {\n mainfunc.start();\n } catch(Exception e) {\n System.out.println(\"Exception!\");\n }\n\n assertEquals(1,1);\n }",
"public static String readConsole(){\r\n\t\tString number = new String(\"\");\r\n\t\t\r\n\t\tSystem.out.println(\"Bitte geben Sie eine Zahl ein!\");\r\n\t\tBufferedReader bufferOne = new BufferedReader(new InputStreamReader(System.in));\r\n\r\n\t\ttry {\r\n\t\t\tnumber = bufferOne.readLine();\r\n\t\t\t\r\n\t\t} catch (IOException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn number;\r\n\t}",
"public void doIt(Input in);",
"public void readUserInput(){\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n try {\n String input = reader.readLine();\n while (!userValidation.validateUserInput(input)){\n input = reader.readLine();\n }\n elevatorController.configureNumberOfElevators(input);\n\n } catch (\n IOException e) {\n logger.error(e);\n }\n\n }",
"public static String GetInput() {\r\n\t\t// Scanner is created and a value is set for input\r\n\t\tScanner in = new Scanner(System.in);\r\n\t\tString input = in.nextLine();\r\n\t\treturn input;\r\n\r\n\t}",
"public static void main(String[] args) throws IOException {\n\n\t\tScanner scanner = new Scanner(System.in);\n\t\tSystem.out.println(\"enter ur name\");\n\t\tString name = scanner.nextLine();\n\t\tSystem.out.println(name);\n\t\tscanner.close();\n\t}",
"public static void main(String[] args) {\n//\t\tStringBuffer stringBuffer=new StringBuffer(\"aaaa\");\n//\t\t\n//\t\tSystem.out.println(stringBuffer);\n//\t\t\n\t\tScanner scanner=new Scanner(System.in);\n\t\t\n\t\tStringBuffer stringBuffer2=new StringBuffer();\n\t\tfor(int i=0;i<10;i++){\n\t\tString input =scanner.nextLine();\n\t\tstringBuffer2.append(input);\n\t\t}\n\t\tSystem.out.println(stringBuffer2);\n\t\t\n\t}",
"static String lireClavier() {\n\ttry {\n\t BufferedReader clavier =\n\t\tnew BufferedReader(new InputStreamReader(System.in));\n\t return clavier.readLine();\n\t} catch (Exception e) {\n\t return \"erreur dans fonction lireClavier\";\n\t}\n }",
"public static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\t\n\t\tprocess(s);\n\t}",
"private static String readLine() {\r\n String input=\"\";\r\n try {\r\n input = in.readLine();\r\n } catch (IOException e) {\r\n System.out.println(e.getMessage());\r\n }\r\n return input;\r\n }",
"@Override\n public int read() throws IOException {\n int c;\n\n do {\n c = System.in.read();\n } while(c != -1 && (c == '\\n' || c == '\\r'));\n\n return c;\n }",
"public static String readLine()\n\t{\n\t\tif (bJunit == true)\n\t\t{\n\t\t\tsLastLine = sJunitInput;\n\t\t\twriteLine(\"JUnit INPUT: \" + sJunitInput);\n\t\t\treturn sLastLine;\n\t\t}\n\t\n\t\ttry {\n\t\t\tsLastLine = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(\"Error reading from STDIN\");\n\t\t}\n\t\t\n\t\treturn sLastLine;\n\t\t\n\t}",
"public static void main (String[] args) {\n Scanner s = new Scanner(System.in);\r\n System.out.print(BinaryReversalMethod(s.nextLine()));\r\n s.close();\r\n }",
"public interface Input \n{\n\t/*\n\t * Use to initialise input\n\t */\n\tboolean initialise (String args);\n\t/*\n\t * Return a line or return null\n\t */\n\tString getLine ();\n\t\n}",
"public String readCommand() {\n sc = new Scanner(System.in);\n userInput = new TextField();\n return userInput.getText();\n }",
"public static void main(String[] args) {\n\t\tConsole console = System.console();\n\t\tSystem.out.println(\"console value is : \" + console);\n\t\t\n\t\tString name = console.readLine();\n\t\t\n\t\tSystem.out.println(\"Enter input is: \" + name);\n\t}",
"public Scanner(java.io.InputStream in) {\r\n this(new java.io.InputStreamReader(in));\r\n }",
"public static void main(String[] args) throws Exception {\n BufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\n //declare variables\n String roll,name,interest;\n\t\n //accept data\n System.out.println(\"Enter Name: \");\n name = input.readLine();\n\n //accept roll\n System.out.println(\"Enter roll num: \");\n roll = input.readLine();\n\n //accept interest\n System.out.println(\"field of interest: \");\n interest = input.readLine();\n\n //print information\n System.out.println(\"\\nEntered info: \");\n System.out.println(\"My name is \" + name + \" and my roll number is \" + roll + \". My field of interest is \"+ interest);\n\n }",
"public void readFromPc(String input) {\n\n }",
"public static void main(String[] args) throws IOException{\n BufferedReader f = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));\n String a = f.readLine();\n String b = f.readLine();\n out.println(equal(a, b) ? \"YES\" : \"NO\");\n f.close();\n out.close();\n }",
"private static String receiveInput(String message) {\n BufferedReader buffyTheVampireSlayer = new BufferedReader(new InputStreamReader(System.in));\n try {\n System.out.printf(\"%s: \", message);\n return buffyTheVampireSlayer.readLine();\n } catch (IOException e) {\n System.out.println(e);\n System.out.println(\"an unexpected error occured\");\n return null;\n }\n }"
] | [
"0.7524985",
"0.70503765",
"0.6994383",
"0.6814538",
"0.6713509",
"0.66611755",
"0.6618324",
"0.65547657",
"0.6552924",
"0.6512248",
"0.64937323",
"0.6447457",
"0.6435025",
"0.64340365",
"0.64177114",
"0.6416354",
"0.63605946",
"0.6358812",
"0.6357953",
"0.63576293",
"0.6283996",
"0.6278005",
"0.6264798",
"0.6260739",
"0.620911",
"0.6201019",
"0.61824286",
"0.6141016",
"0.61396086",
"0.6134909",
"0.6122596",
"0.6120968",
"0.6108978",
"0.6088519",
"0.60745186",
"0.604257",
"0.6025943",
"0.60151136",
"0.5990378",
"0.59887606",
"0.59770685",
"0.59764946",
"0.5956506",
"0.5931836",
"0.590634",
"0.59013724",
"0.58721274",
"0.5864966",
"0.5856436",
"0.5845656",
"0.5842754",
"0.58356375",
"0.5811418",
"0.5804381",
"0.58014864",
"0.57981217",
"0.57846737",
"0.57822746",
"0.5782181",
"0.5760175",
"0.5744923",
"0.57374865",
"0.5737325",
"0.57342553",
"0.5731848",
"0.5731545",
"0.5724192",
"0.57173747",
"0.57093936",
"0.5707172",
"0.56993693",
"0.5695473",
"0.5691735",
"0.56902736",
"0.568284",
"0.5677011",
"0.5677011",
"0.56673837",
"0.56619155",
"0.5649961",
"0.5645502",
"0.564071",
"0.56404954",
"0.5639303",
"0.5637695",
"0.5617277",
"0.5615229",
"0.5614701",
"0.5613653",
"0.5609452",
"0.56067574",
"0.56020814",
"0.56008214",
"0.5600284",
"0.55995196",
"0.55790323",
"0.5575075",
"0.5574619",
"0.5566488",
"0.5562636",
"0.55528957"
] | 0.0 | -1 |
Insert controller method that inserts the story into the database | @PostMapping(value = "/insertstory")
public void insertPost(@RequestBody String jsonString) {
Story s = null;
try {
s = new ObjectMapper().readValue(jsonString, Story.class);
} catch (IOException e) {
e.printStackTrace();
}
loggy.info("Insert Story Controller Accessed");
storyServ.insert(s);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"int insert(Storydetail record);",
"public void submitStory(Story story) {\n storyRepository.save(story);\n }",
"@Override\n\tpublic Tutorial insert(Tutorial t) {\n\t\treturn cotizadorRepository.save(t);\n\n\t\t\n\t}",
"int insert(BlogDetails record);",
"public void insertCourse(){\n \n }",
"int insert(TrainingCourse record);",
"@Override\n\tpublic TimelineStory select_insert_TimelineStory_id(String storyId) {\n\t\tPageHelper.startPage(1,0);\n\t\treturn timelineStoryMapper.select_insert_TimelineStory_id(storyId);\n\t}",
"int insert(Model record);",
"int insert(TrainCourse record);",
"int insert(News record);",
"int insert(Tourst record);",
"WriteRequest insert(PiEntity entity);",
"int insert(QuestionOne record);",
"int insert(Article record);",
"int insert(PmPost record);",
"@Test\n public void testInsert() throws Exception {\n // create citation entites to reflect the change that happens after calling edit\n Citation entity = getSampleCitation();\n\n // pretend the entity was inserted \n doNothing().when(Service).insertCitation(any(Citation.class));\n\n // call insert\n ModelAndView mav = Controller.insert(entity.getPurl(),\n entity.getUrl(),\n entity.getErc(),\n entity.getWho(),\n entity.getWhat(),\n entity.getDate());\n\n // test to see that the correct view is returned\n Assert.assertEquals(\"result\", mav.getViewName());\n\n // test to see that Json is formated properly\n Map<String, Object> map = mav.getModel();\n String jsonObject = (String) map.get(\"message\");\n testJsonObject(jsonObject, entity);\n }",
"int insert(NewsInfo record);",
"int insert(CmsVoteTitle record);",
"int insert(Tour record);",
"int insert(CmsRoomBook record);",
"public void insert(Spot spot) { mRepository.insert(spot); }",
"int insert(Course record);",
"int insert(Course record);",
"int insert(Nutrition record);",
"int insert(WizardValuationHistoryEntity record);",
"int insert(ArticleDo record);",
"@RequestMapping(value = \"insert\", method = RequestMethod.POST)\r\n\tpublic String insert(HttpServletRequest request) {\n\t\tint id = Integer.parseInt(request.getParameter(\"id\"));\r\n\t\tString name = request.getParameter(\"name\");\r\n\t\tint marks = Integer.parseInt(request.getParameter(\"marks\"));\r\n\t\t// Create the student\r\n\t\tStudent student = new Student(id, name,marks);\r\n\t\tSystem.out.println(student);\r\n\t\t// insert student to db\r\n\r\n\t\tString res = studentService.insert(student);\r\n\r\n\t\tif (res.equals(\"SUCCESS\"))\r\n\t\t\trequest.setAttribute(\"msg\", \"Record Inserted\");\r\n\t\telse\r\n\t\t\trequest.setAttribute(\"msg\", \"Record Not Inserted\");\r\n\t\treturn \"insert\";\r\n\t}",
"int insert(Question record);",
"int insert(Question record);",
"int insert(Question record);",
"int insert(Question record);",
"int insert(AccessModelEntity record);",
"int insert(Forumpost record);",
"int insert(StudentEntity record);",
"public void insert() {\n\t\tSession session = DBManager.getSession();\n\t\tsession.beginTransaction();\n\t\tsession.save(this);\n\t\tsession.getTransaction().commit();\n\t}",
"void insert(TResearchTeach record);",
"@RequestMapping(method=RequestMethod.POST,consumes=MediaType.APPLICATION_JSON_VALUE)\r\n\t\tpublic void insert(@RequestBody Doctor doctor){\r\n\t\t\r\n\t\t\tdoctorService.insert(doctor);\r\n\t\t\r\n\t\t}",
"int insert(AnnouncementDO record);",
"int insert(SecondSlideshow record);",
"int insert(courses record);",
"int insert(TestActivityEntity record);",
"int insert(KnowledgeComment record);",
"int insert(Comments record);",
"int insert(ArticleTag record);",
"public void insert()\n\t{\n\t}",
"int insert(TherapyAction record);",
"@Override\n\tpublic void insertArticle(BoardVO vo) {\n\t\tString sql = \"INSERT INTO board VALUES(board_id_seq.NEXTVAL,?,?,?)\";\n\t\ttemplate.update(sql,vo.getWriter(),vo.getTitle(),vo.getContent());\n\t}",
"int insert(FinMonthlySnapModel record);",
"public void insert() throws SQLException;",
"int insert(CmsActivity record);",
"void insertOne(Document person);",
"public int insert(Listing listing) throws SQLException;",
"int insert(ExamRoom record);",
"@Override\n\tpublic int insert_TimelineStory(TimelineStory timelineStory) {\n\t\treturn timelineStoryMapper.insert_TimelineStory(timelineStory);\n\t}",
"int insert(Discuss record);",
"@Insert({\n \"insert into NEWS (NEWS_ID, TITLE, \",\n \"BODY, IMG_URL, URL, \",\n \"CREATE_TIME)\",\n \"values (#{newsId,jdbcType=INTEGER}, #{title,jdbcType=VARCHAR}, \",\n \"#{body,jdbcType=VARCHAR}, #{imgUrl,jdbcType=VARCHAR}, #{url,jdbcType=VARCHAR}, \",\n \"#{createTime,jdbcType=TIMESTAMP})\"\n })\n int insert(News record);",
"int insert(RepStuLearning record);",
"int insert(FeiWenComment record);",
"int insert(GirlInfo record);",
"int insert(TempletLink record);",
"int insert(WordSchool record);",
"int insert(NewsFile record);",
"int insert(ActivityHongbaoPrize record);",
"@InsertProvider(type = ServeInfoSqlProvider.class, method = \"insert\")\n int insert(ServeInfoDO model);",
"ActionResult onInsert(HopperBlockEntity hopperBlockEntity, BlockPos insertPosition);",
"int insert(Teacher record);",
"int insert(Comment record);",
"@org.junit.Test\r\n\tpublic void insert() {\n\t\tParameters parameters = new Parameters();\r\n\t\tparameters.setUrl(\"/org/save\");\r\n\t\tparameters.setList(new ArrayList<NameValuePair>());\r\n\t\tparameters.getList().add(new BasicNameValuePair(\"name\", \"112\"));\r\n\t\t@SuppressWarnings(\"unused\")\r\n\t\tString string = (String) MainUtilityTools.execute(parameters);\r\n\t\tSystem.out.println(string);\r\n\t}",
"public void databaseinsert() {\n\n\t\tStringBuilder sb = new StringBuilder();\n\t\tSite site = new Site(Sid.getText().toString().trim(), Scou.getText().toString().trim());\n\t\tlong rowId = dbHlp.insertDB(site);\n\t\tif (rowId != -1) {\n\t\t\tsb.append(getString(R.string.insert_success));\n\n\t\t} else {\n\n\t\t\tsb.append(getString(R.string.insert_fail));\n\t\t}\n\t\tToast.makeText(Stu_state.this, sb, Toast.LENGTH_SHORT).show();\n\t}",
"int insert(Prueba record);",
"@RequestMapping(method = RequestMethod.POST)\r\n public ResponseObject insert(@Validated @RequestBody Candidate candidate) {\r\n return candidateService.insert(candidate);\r\n }",
"public void insert(TdiaryArticle obj) throws SQLException {\n\r\n\t}",
"int insert(Question14 record);",
"@Insert\n long insert(SpeciesCategory speciesCategory);",
"@Insert({\n \"insert into `category` (`cate_id`, `cate_name`)\",\n \"values (#{cateId,jdbcType=INTEGER}, #{cateName,jdbcType=VARCHAR})\"\n })\n int insert(Category record);",
"int insert(Pet record);",
"public ResponseEntity<String> insert(@Valid @RequestBody Pais insertMODEL) {\n\t\treturn null;\r\n\t}",
"public void insertBooking(Booking booking) throws SQLException, Exception;",
"int insert(TestEntity record);",
"int insert(QuestionWithBLOBs record);",
"int insert(CommentLike record);",
"int insert(WstatTeachingClasshourTeacher record);",
"int insert(Assist_table record);",
"int insert(Body record);",
"int insert(HomeWork record);",
"int insert(DashboardGoods record);",
"public JsonNode insert(String resourcePath, String model, JsonNode jsonNode) {\n\t\tNitrite db = nitriteDbConnection.getConnection(resourcePath, model);\n\t\tNitriteCollection collection = db.getCollection(model);\n\t\tDocument doc = getDocument(jsonNode);\n\t\tcollection.insert(doc);\n\t\treturn getJsonNode(doc);\n\t}",
"int insert(Project record);",
"int insert(AuthorDO record);",
"int insert(Ltsprojectpo record);",
"public void insert(Student student) {\t\t\r\n\t\tdao.insertStudent(student); \r\n\t}",
"@Override\r\n\tpublic String insert() {\n\t\treturn \"insert\";\r\n\t}",
"int insert(Dress record);",
"String insert(BookDO record);",
"int insert(Question11 record);",
"int insert(FactRoomLog record);",
"public RutaPk insert(Ruta dto) throws RutaDaoException;",
"int insert(WechatDemo record);",
"int insert(trackcomment record);",
"void create(int id, int authorId, String title);"
] | [
"0.74322546",
"0.6988823",
"0.66247684",
"0.64735055",
"0.6437458",
"0.6334962",
"0.63190925",
"0.6278791",
"0.62759835",
"0.62422705",
"0.62412375",
"0.6207457",
"0.62072015",
"0.62049365",
"0.6188785",
"0.6159968",
"0.6157704",
"0.6112649",
"0.61125076",
"0.6063299",
"0.60440624",
"0.6042794",
"0.6042794",
"0.6040571",
"0.60299593",
"0.60109806",
"0.6010682",
"0.59987956",
"0.59987956",
"0.59987956",
"0.59987956",
"0.59923786",
"0.5982808",
"0.59635",
"0.59609616",
"0.59538716",
"0.5948058",
"0.59463704",
"0.5944425",
"0.5927532",
"0.5923756",
"0.5919233",
"0.59189534",
"0.5913393",
"0.5901744",
"0.5880009",
"0.5876025",
"0.5873032",
"0.58708113",
"0.58696425",
"0.58679503",
"0.5864907",
"0.58640707",
"0.5857836",
"0.5843864",
"0.58304226",
"0.58166474",
"0.5815757",
"0.5812884",
"0.58121204",
"0.5807284",
"0.5799348",
"0.57964593",
"0.5795023",
"0.57848316",
"0.5780776",
"0.5777991",
"0.57748896",
"0.57279915",
"0.5719595",
"0.5717251",
"0.5711921",
"0.5702877",
"0.5701256",
"0.5699303",
"0.5697562",
"0.56941915",
"0.5687415",
"0.5680698",
"0.56662595",
"0.5663971",
"0.566323",
"0.5661367",
"0.56604165",
"0.56577384",
"0.56539094",
"0.56463176",
"0.5639836",
"0.5639239",
"0.5638607",
"0.56381685",
"0.5637724",
"0.563381",
"0.5633284",
"0.56201094",
"0.56200457",
"0.56176156",
"0.5614471",
"0.5614348",
"0.5613268"
] | 0.730545 | 1 |
Controller method that updates the story in the database | @PutMapping(value = "/updatestory")
public void updatePost(@RequestBody String jsonString) {
Story s = null;
try {
s = new ObjectMapper().readValue(jsonString, Story.class);
} catch (IOException e) {
e.printStackTrace();
}
loggy.info("Update Story Controller Accessed");
storyServ.update(s);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@SecureSocial.SecuredAction\r\n\tpublic static Result editStory(Long storyId) throws ModelAlreadyExistsException, IOException, ModelNotFountException {\n\t\tUser currentuser = getCurrentUser();\r\n\t\tStory story = Story.findById(storyId);\r\n\t\tif (story == null) return badRequest(\"Invalid story id.\");\r\n\t\tcontrollers.json.Story jsonStory = controllers.json.Story.getStory(story,currentuser,false);\r\n\t\tString jsonLocation;\r\n\t\tSystem.out.println(\"getting story location\");\r\n\t\tif (jsonStory.location != null)\r\n\t\t\tjsonLocation = new Gson().toJson(jsonStory.location);\r\n\t\telse\r\n\t\t\tjsonLocation = \"\";\r\n\t\tSystem.out.println(\"got story location??: \" + jsonStory.location);\r\n\t\tif (story.getFormat() == Constants.STORY_FORMAT_OPEN)\r\n\t\t\treturn ok(views.html.create.render(jsonStory,jsonLocation));\r\n\t\telse if (story.getFormat() == Constants.STORY_FORMAT_SINGLE)\r\n\t\t\treturn ok(views.html.index.render(jsonStory,jsonStory.location,true));\r\n\t\treturn badRequest(\"No format specified.\");\r\n\t}",
"public void submitStory(Story story) {\n storyRepository.save(story);\n }",
"private void updateStoryTable() {\n List<Story> stories = getModel().getAllStories();\n observableStories.setAll(stories);\n\n if (selectedStory.get() != null) {\n storyTable.getSelectionModel().select(selectedStory.get());\n }\n\n }",
"@PutMapping(\"{id}\")\n public Lesson updateLesson(@RequestBody Lesson lesson,\n @PathVariable long id) {\n //code\n return null;\n }",
"void updateViewFromModel();",
"public void updateEntity();",
"void updateModelFromView();",
"@ResponseStatus(code=HttpStatus.OK)\r\n\t@RequestMapping(value=\"/update\", method=RequestMethod.GET)\r\n\tpublic void update() {\r\n\t\tSystem.out.println(\"StudentRestController.Update()_________\");\r\n\t}",
"@PostMapping(\"/updateNote\")\n public String updateNote(@ModelAttribute Note note){\n noteService.update(note);\n return \"redirect:/mods\";\n }",
"@PostMapping(\"/posts/{id}/edit\")\n public String editThisPost(\n Model model,\n @PathVariable(name = \"id\") long id,\n @RequestParam(name = \"title\") String title,\n @RequestParam(name = \"body\") String body,\n @RequestParam(name = \"team\") String teamIDString,\n @RequestParam(name = \"sport\") String sportIDString) {\n\n Post post = postRepository.findOne(id);\n\n\n// change our id strings into longs\n\n long teamID = Long.parseLong(teamIDString);\n long sportID = Long.parseLong(sportIDString);\n\n\n// Make changes to post\n\n post.setTitle(title);\n post.setBody(body);\n post.setSport(sportRepository.findOne(sportID));\n post.setTeam(teamRepository.findOne(teamID));\n\n\n postRepository.save(post);\n\n// Return page after edit\n\n Post editedPost = postRepository.findOne(post.getId());\n model.addAttribute(\"editedPost\", editedPost);\n\n return \"posts/edit-success\";\n }",
"private CommandResult updateLesson() throws KolinuxException {\n timetable.executeUpdate(parsedArguments);\n logger.log(Level.INFO, \"User has updated the timetable.\");\n return new CommandResult(parsedArguments[0].toUpperCase() + \" \"\n +\n parsedArguments[1].toUpperCase() + \" has been updated\");\n }",
"private void updateDB() {\n }",
"int updateByPrimaryKey(TrainingCourse record);",
"int updateByPrimaryKey(News record);",
"int updateByPrimaryKey(TrainCourse record);",
"public void saveorupdate(Blog blog) {\n\t\t\r\n\t}",
"private static void LessonDAOUpdate() {\n PersonDAO personDAO = new PersonDAOImpl();\n\n Person person = personDAO.getPersonById(7);\n person.setFirstName(\"Teddy\");\n\n if(personDAO.updatePerson(person)) {\n System.out.println(\"Person Update Success!\");\n } else {\n System.out.println(\"Person Update Fail!\");\n }\n }",
"int updateByPrimaryKey(SecondSlideshow record);",
"CounselorBiographyTemp update(CounselorBiographyTemp entity);",
"private void updateAssessment() {\n Converters c = new Converters();\n\n //get UI fields\n int courseId = thisCourseId;\n String title = editTextAssessmentTitle.getText().toString();\n LocalDate dueDate = c.stringToLocalDate(textViewAssessmentDueDate.getText().toString());\n String status = editTextAssessmentStatus.getText().toString();\n String note = editTextAssessmentNote.getText().toString();\n String type = editTextAssessmentType.getText().toString();\n\n if (title.trim().isEmpty() || dueDate == null || status.trim().isEmpty() || type.trim().isEmpty()) {\n Toast.makeText(this, \"Please complete all fields\", Toast.LENGTH_SHORT).show();\n return;\n }\n\n //instantiate Assessment object\n Assessment assessment = new Assessment(courseId, title, dueDate, status, note, type);\n //since we're updating, add the assessmentId to the assessment object\n assessment.setAssessmentId(thisAssessmentId);\n\n\n //add new assessment\n addEditAssessmentViewModel.update(assessment);\n finish();\n }",
"void update(Student entity);",
"public void updatePost(Long id, BlogPost post);",
"int updateByPrimaryKey(NewsInfo record);",
"@GetMapping(\"/updateMovie/{id}\") // This is Movie ID\n public String updateMovie(@PathVariable(\"id\") long id, Model model)\n {\n Movie m = movieRepo.findOne(id);\n model.addAttribute(\"newMovie\", m);\n return \"movieForm\";\n }",
"void update(int id, int teacherid, int noteid );",
"int updateByPrimaryKey(Article record);",
"public PtJJdwcy update(PtJJdwcy entity);",
"int updateByPrimaryKey(CmsVoteTitle record);",
"int updateByPrimaryKey(KnowledgeComment record);",
"int updateByPrimaryKey(courses record);",
"@RequestMapping(value = \"/update\", method = RequestMethod.POST)\n public String updateStudent(ModelMap view, Student student) {\n studentService.update(student);\n view.addAttribute(\"msg\", new String(\"\"));\n return(\"redirect:/list\");\n }",
"int updateByPrimaryKey(WxNews record);",
"public void updateReview() throws ServletException, IOException {\r\n\t\tInteger reviewId = Integer.parseInt(request.getParameter(\"reviewId\"));\r\n\t\tString headline = request.getParameter(\"headline\");\r\n\t\tString comment = request.getParameter(\"comment\");\r\n\t\t\r\n\t\tReview review = reviewDAO.get(reviewId);\r\n\t\treview.setHeadline(headline);\r\n\t\treview.setComment(comment);\r\n\t\t\r\n\t\treviewDAO.update(review);\r\n\t\t\r\n\t\tString message = \"The review has been updated successfully.\";\r\n\t\t\r\n\t\tlistAllReview(message);\r\n\t\t\r\n\t}",
"public int updateById(WeChatPublic wp);",
"int updateByPrimaryKey(QuestionOne record);",
"@Query(\"UPDATE wellbeing_questions SET question = :question, positive_message = :positiveMessage , negative_message = :negativeMessage WHERE wellbeing_questions.wellbeing_question_id = :id\")\n void updateQuestion(long id, String question, String positiveMessage, String negativeMessage);",
"@RequestMapping(value = \"/enquirys\",\n method = RequestMethod.PUT,\n produces = MediaType.APPLICATION_JSON_VALUE)\n @Timed\n public ResponseEntity<Void> update(@Valid @RequestBody Enquiry enquiry) throws URISyntaxException {\n log.debug(\"REST request to update Enquiry : {}\", enquiry);\n if (enquiry.getId() == null) {\n return create(enquiry);\n }\n enquiryRepository.save(enquiry);\n return ResponseEntity.ok().build();\n }",
"@Override\n\tpublic void update(Observable o, Object arg) {\n\t\tupdateUI();\n\t\tStoryFactory.getInstance().saveState();\n\t\tupdateServer();\n\t}",
"@Test\r\n public void testUpdate() {\r\n System.out.println(\"update\");\r\n Title t = new Title();\r\n t.setIsbn(\"test\");\r\n t.setTitle(\"aaaaaaaaaaaaaaaaaa\");\r\n t.setAuthor(\"kkkkkkkkkkkkkk\");\r\n t.setType(\"E\");\r\n int expResult = 1;\r\n int result = TitleDao.update(t);\r\n assertEquals(expResult, result);\r\n }",
"int updateByPrimaryKey(RepStuLearning record);",
"public void update(Triplet t) throws DAOException;",
"void updateEntry(BlogEntry entry) throws DAOException;",
"int updateByPrimaryKey(Tourst record);",
"void update(Employee nurse);",
"int updateByPrimaryKey(Tour record);",
"int updateByPrimaryKey(Course record);",
"int updateByPrimaryKey(Course record);",
"@Update({\n \"update NEWS\",\n \"set TITLE = #{title,jdbcType=VARCHAR},\",\n \"BODY = #{body,jdbcType=VARCHAR},\",\n \"IMG_URL = #{imgUrl,jdbcType=VARCHAR},\",\n \"URL = #{url,jdbcType=VARCHAR},\",\n \"CREATE_TIME = #{createTime,jdbcType=TIMESTAMP}\",\n \"where NEWS_ID = #{newsId,jdbcType=INTEGER}\"\n })\n int updateByPrimaryKey(News record);",
"int updateByPrimaryKey(WpPosts record);",
"public void update() {\r\n\t\tCampLeaseDAO leaseDao = (CampLeaseDAO) getApplicationContext().getBean(\"leaseDaoBean\", CampLeaseDAO.class);\r\n\t\tleaseDao.update(this); // routine now uses leaseDao to get CampLease class\r\n\t}",
"@Override\r\n\tpublic String update() {\n\t\tSystem.out.println(\"updateView.\");\r\n\t\t\r\n\t\t//javax.servlet.http.HttpSession session=request.getSession();\r\n\t\t//javax.servlet.ServletContext application=request.getServletContext();\r\n\t\t\r\n\t\t//String vId=request.getParameter(\"id\");\r\n\t\tif(!SysFun.isNullOrEmpty(id)) {\r\n\t\t\tLong iId=SysFun.parseLong(id);\r\n\t\t\tHeadLine bean=headLineService.load(iId);\r\n\t\t\t\r\n\t\t\tif(bean!=null) {\r\n\t\t\t\t\r\n\t\t\t\trequest.put(\"Id\", bean.getId());\r\n\t\t\t\trequest.put(\"lineName\", bean.getLineName());\r\n\t\t\t\trequest.put(\"lineLink\", bean.getLineLink());\r\n\t\t\t\t//request.put(\"lineImg\", bean.getLineImg());\r\n\t\t\t\treturn \"update\";\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t\t\r\n\t\t}\r\n\t\t\r\n\t\treturn \"go_preload\";\r\n\t}",
"int updateByPrimaryKey(WordSchool record);",
"public Future<CtxModelObject> update(CtxModelObject identifier);",
"int updateByPrimaryKey(ExamRoom record);",
"int updateByPrimaryKey(Comments record);",
"@RequestMapping(value = \"update\", method = RequestMethod.POST)\r\n\tpublic String update(HttpServletRequest request) {\n\t\tint id = Integer.parseInt(request.getParameter(\"id\"));\r\n\t\tString name = request.getParameter(\"name\");\r\n\t\tint marks = Integer.parseInt(request.getParameter(\"marks\"));\r\n\t\t// Create the student\r\n\t\tStudent student = new Student(id, name,marks);\r\n\t\tSystem.out.println(student);\r\n\t\t// insert student to db\r\n\r\n\t\tString res = studentService.update(student);\r\n\r\n\t\tif (res.equals(\"SUCCESS\"))\r\n\t\t\trequest.setAttribute(\"msg\", \"Record Updated\");\r\n\t\telse\r\n\t\t\trequest.setAttribute(\"msg\", \"Record Not Updated\");\r\n\t\treturn \"update\";\r\n\t}",
"@GetMapping(\"/update/{id}\")\n public String showSocioToUpdate(@PathVariable Integer id, Model model) {\n List<Cargo> cargos = cargoService.getCargos();\n Persona persona = personaService.getById(id);\n model.addAttribute(\"cargos\", cargos);\n model.addAttribute(\"persona\", persona);\n return \"/backoffice/socioFormEdit\";\n }",
"int updateByPrimaryKey(NewsFile record);",
"@PostMapping(\"/update\")\n public String update(@ModelAttribute Mod mod){\n modService.update(mod);\n return \"redirect:/mods\";\n }",
"@Test\r\n\tpublic void update() throws Exception {\r\n\t\t\r\n\t\ttr.deleteAll();\r\n\t\tTransformer tf = new Transformer( null, \"Soundwave\", Team.DECEPTICON, 8, 9, 2, 6, 7, 5, 6, 10); \r\n\t\ttf = tr.save(tf);\r\n\t\tint id=tf.getId();\r\n\t\t\r\n\t\tString content = \"{\\r\\n\" + \r\n\t\t\t\t\" \\\"id\\\": 3,\\r\\n\" + \r\n\t\t\t\t\" \\\"name\\\": \\\"TF1\\\",\\r\\n\" + \r\n\t\t\t\t\" \\\"team\\\": \\\"DECEPTICON\\\",\\r\\n\" + \r\n\t\t\t\t\" \\\"strength\\\": 8,\\r\\n\" + \r\n\t\t\t\t\" \\\"intelligence\\\": 9,\\r\\n\" + \r\n\t\t\t\t\" \\\"speed\\\": 2,\\r\\n\" + \r\n\t\t\t\t\" \\\"endurance\\\": 6,\\r\\n\" + \r\n\t\t\t\t\" \\\"rank\\\": 7,\\r\\n\" + \r\n\t\t\t\t\" \\\"courage\\\": 5,\\r\\n\" + \r\n\t\t\t\t\" \\\"firepower\\\": 6,\\r\\n\" + \r\n\t\t\t\t\" \\\"skill\\\": 1\\r\\n\" + \r\n\t\t\t\t\"}\";\r\n\t\t\r\n\t\tmockMvc.perform(put(\"/transformers/\" + id ).contentType(MediaType.APPLICATION_JSON).content(content.getBytes(\"UTF-8\")))\r\n\t\t\t\t.andExpect(status().isCreated())\r\n\t\t\t\t.andExpect(content().contentTypeCompatibleWith(\"application/json\"))\r\n\t\t\t\t;\r\n\t\t\r\n\t\tTransformer res = tr.findById(id).get();\r\n\t\tassertEquals( \"TF1\", res.getName());\r\n\t\tassertEquals( 1, res.getSkill());\r\n\t\t\r\n\t}",
"@Transactional\r\n\tpublic void updateScore(Trip trip) {\n\t\t\r\n\t}",
"public boolean update(ModelObject obj);",
"@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 String update(String id, String datetime, String description, String request, String status);",
"@RequestMapping(value=\"/put\", method = RequestMethod.POST, produces=MediaType.APPLICATION_JSON_VALUE)\n\t@ResponseStatus(value = HttpStatus.OK)\n\tpublic void put(@RequestBody ArticleEntity detail) {\n\t\tserviceFactory.getArticleService().update(convertEntity2Vo(detail));\n\t}",
"@GetMapping(\"/updateDirector/{id}\")\n public String updateDirector(@PathVariable(\"id\") long id, Model model)\n {\n Director d = directorRepo.findOne(id);\n model.addAttribute(\"newDirector\", d);\n return \"directorForm\";\n }",
"public void update(){}",
"public void update(){}",
"int insert(Storydetail record);",
"@RequestMapping(value = \"/update\", method = RequestMethod.POST) \n public RedirectView saveUpdate(@RequestParam(required = true) Long id, String isbn, String judul, String penulis, String penerbit, \n String tahun_terbit, String jenis_cover, String jml_hal, String bahasa, String deskripsi, String gambar, \n int harga, int stok, Long category){ //RequestParam disini kita tulis name inputannnya dan type datanya apa.\n \n //Buku buku1 = new Buku(id, isbn, judul, penulis, penerbit, tahun_terbit, jenis_cover,\n //jml_hal, bahasa, deskripsi, gambar, harga, stok, new Category(category));\n //this.bukuService.update(buku1);\n //atao\n this.bukuService.update(new Buku(id, isbn, judul, penulis, penerbit, tahun_terbit, jenis_cover,\n jml_hal, bahasa, deskripsi, gambar, harga, stok, new Category(category)));\n return new RedirectView(\"/admin/buku/list\", true); \n }",
"public void editHouse() {\n System.out.println(\"-----Update House-----\");\n System.out.println(\"enter id(-1 cancel): \");\n int updateId = Utility.readInt();\n if (updateId == -1) {\n System.out.println(\"cancel update program\");\n return;\n }\n House h = houseService.searchHouse(updateId);\n if(h == null) {\n System.out.println(\"no house you needed found\");\n return;\n }\n //update owner name\n System.out.print(\"owner = \" + h.getOwner() + \": \");\n String owner = Utility.readString(10, \"\");\n if(!\"\".equals(owner)) {\n h.setOwner(owner);\n }\n\n //update phone\n System.out.print(\"phone = \" + h.getPhone() + \": \");\n String phone = Utility.readString(10, \"\");\n if(!\"\".equals(phone)) {\n h.setPhone(phone);\n }\n\n //update address\n System.out.print(\"address = \" + h.getAddress() + \": \");\n String address = Utility.readString(20, \"\");\n if(!\"\".equals(address)) {\n h.setAddress(address);\n }\n\n //update rent\n System.out.print(\"rent = \" + h.getRent() + \": \");\n int rent = Utility.readInt(-1);\n if(! (-1 == rent)) {\n h.setRent(rent);\n }\n\n //update state\n System.out.print(\"state = \" + h.getState() + \": \");\n String state = Utility.readString(10, \"\");\n if(!\"\".equals(state)) {\n h.setState(state);\n }\n\n System.out.println(\"update successful\");\n }",
"int updateByPrimaryKey(AnnouncementDO record);",
"void editMyPost(Post post);",
"public void updateSnippetInDB(\r\n String countryName,\r\n int totalCases,\r\n int totalDeaths,\r\n int newCases,\r\n int statId\r\n ) {\r\n Optional<Statictics> stats = statsRepo.findById(statId);\r\n if (stats.isPresent()) {\r\n stats.get().setCountryName(countryName);\r\n stats.get().setTotalCases(totalCases);\r\n stats.get().setTotalDeaths(totalDeaths);\r\n stats.get().setNewCases(newCases);\r\n statsRepo.save(stats.get());\r\n }\r\n }",
"int updateByExample(@Param(\"record\") News record, @Param(\"example\") NewsExample example);",
"int updateByPrimaryKey(Question record);",
"int updateByPrimaryKey(Question record);",
"int updateByPrimaryKey(Question record);",
"int updateByPrimaryKey(Question record);",
"int updateByPrimaryKey(Question record);",
"public void updateJoueurs();",
"int updateByPrimaryKey(Crawl record);",
"@PreAuthorize(\"hasAuthority('SECRETARY')\")\n @PostMapping(\"/document/edit\")\n public ResponseEntity<Response> editSecretaryDocument(@RequestParam(value = \"id\") String id,\n @RequestParam(value = \"name\") String name,\n @RequestParam(value = \"description\") String description,\n @RequestParam(value = \"endDateOfUpload\") String endDateOfUpload) {\n return ResponseEntity.ok(secretaryService.editSecretaryDocument(SecretaryDocumentModel.builder()\n .id(Long.valueOf(id))\n .endDateOfUpload(LocalDateTime.parse(endDateOfUpload, DateTimeFormatter.ISO_DATE_TIME))\n .name(name)\n .description(description)\n .build()));\n }",
"int updateByPrimaryKey(Nutrition record);",
"public static void updateMission(String gamecode, String title){\n try{\n DBHandler.completedMission(gamecode,title,c);\n } catch (SQLException e){\n e.printStackTrace();\n }\n\n }",
"void update(Comment comment);",
"public void update() {\n\n dbWork.cleanAll();\n\n List<DataFromServiceKudaGo> list = requestDataFromService();\n\n List<Film> films = new ArrayList<>();\n for (DataFromServiceKudaGo data : list) {\n Film film = new Film(list.indexOf(data), data.getNameMovie(), data.getPosterMoviePath(),\n data.getRunning_time(), data.getPrice(), data.getImax(),\n data.getCountryFilm(), data.getYearFilm(), data.getTrailerFilm(),\n data.getAgeFilm(), data.getDirectorFilm(), data.getNameCinema(),\n data.getAddressCinema(), data.getPhone(), data.getStationAboutCinema(),\n data.getPosterCinemaPath(), data.getBeginning_time(), data.getDescription());\n films.add(film);\n }\n\n dbWork.setFilms(films);\n\n fillShows();\n }",
"@PatchMapping(\"{id}\")\n public Lesson updateLessonName(@RequestBody String name, @PathVariable long id) {\n //code\n return null;\n }",
"public void updateBook(View view){\n update();\n }",
"void updateSkill(Skill skill);",
"@RestAPI\n \t@PreAuthorize(\"hasAnyRole('A')\")\n \t@RequestMapping(value = \"/api/{id}\", params = \"action=update\", method = RequestMethod.PUT)\n \tpublic HttpEntity<String> update(@PathVariable(\"id\") Long id) {\n \t\tagentManagerService.update(id);\n \t\treturn successJsonHttpEntity();\n \t}",
"public static void updateKitchen(KitchenModel kitchen) {\n //Creating session\n Session session = SetupPersistence.getSession();\n //Updating object in database\n session.update(kitchen);\n //Closing session\n SetupPersistence.closeSession(session);\n }",
"@Override\n\tpublic void execute(HttpServletRequest request,\n\t\t\tHttpServletResponse response) throws Exception {\n\t\tint newsId = 1000;\n\t\tString catCode = \"\";\n\t\tString userInfoCode = \"\";\n\t\tString newsTittle = \"\";\n\t\tString newsDesc = \"\";\n\t\tString newsPath = \"\";\n\t\tString newsImg = \"\";\n\t\tString newsDate = \"\";\n\t\tNewsDAO dao = new NewsDAO(); /* Instantiate DAO object */\n\t\t\n\t\tif(dao.update(new News(newsId, catCode, userInfoCode, \n\t\t\t\tnewsTittle, newsDesc, newsPath, newsImg, newsDate))){\n\t\t\tresponse.getWriter().write(\"News Updated\"); /* Update Successful */\n\t\t}\n\t\telse{\n\t\t\tresponse.getWriter().write(\"New Update Unsuccessfuly\"); /* Update Unsuccessful */\n\t\t}\n\t\t\n\n\t\n\t}",
"public void update(TdiaryArticle obj) throws SQLException {\n\r\n\t}",
"int updateByPrimaryKey(FeiWenComment record);",
"@Override\r\n\tpublic int update(Article article) {\n\t\treturn dao.update(article);\r\n\t}",
"public static void update() {\n String sql = \"UPDATE dateGame SET level = ? , \"\n + \"score = ?,\"\n + \"hearts = ?, \"\n + \"sound = ?, \"\n + \"speed = ?, \"\n + \"path = ? \"\n + \"WHERE id = ?\";\n\n try (Connection conn = connect();\n PreparedStatement pstmt = conn.prepareStatement(sql)) {\n\n // set the corresponding param\n pstmt.setInt(1, level);\n pstmt.setInt(2, score);\n pstmt.setInt(3, hearts);\n pstmt.setInt(4, sound);\n pstmt.setInt(5, speed);\n pstmt.setString(6, path);\n //id-ul este hardcoded setat pe 1\n pstmt.setInt(7, 1);\n\n // update\n pstmt.executeUpdate();\n } catch (SQLException e) {\n System.out.println(e.getMessage());\n }\n }",
"Update withTitle(String title);",
"int updTravelById(Travel record) throws TravelNotFoundException;",
"public void updateChapter(Chapter chapter);"
] | [
"0.6620543",
"0.64227664",
"0.6059151",
"0.60181814",
"0.6017111",
"0.5953755",
"0.5917033",
"0.59151244",
"0.5866172",
"0.5865318",
"0.5855343",
"0.58121735",
"0.5802287",
"0.5761895",
"0.5752114",
"0.57503444",
"0.574792",
"0.572567",
"0.57228106",
"0.57196474",
"0.5704822",
"0.5680993",
"0.56645656",
"0.5659702",
"0.565818",
"0.5651389",
"0.5636479",
"0.56319374",
"0.5630153",
"0.5629994",
"0.5629265",
"0.56278557",
"0.56176186",
"0.5611443",
"0.5610126",
"0.56098604",
"0.5608767",
"0.56046903",
"0.5602043",
"0.55987334",
"0.55973303",
"0.5584815",
"0.55800986",
"0.557218",
"0.5554934",
"0.55520946",
"0.55520946",
"0.5550878",
"0.5545354",
"0.55359006",
"0.5527433",
"0.5523006",
"0.55205095",
"0.5516881",
"0.5512075",
"0.5511595",
"0.5502075",
"0.54971164",
"0.54934597",
"0.5480519",
"0.5472588",
"0.54700494",
"0.5464318",
"0.5461302",
"0.5460097",
"0.5454534",
"0.5445157",
"0.5445157",
"0.5444573",
"0.5441724",
"0.5438626",
"0.5431023",
"0.54241925",
"0.5424015",
"0.54226035",
"0.5422358",
"0.5422358",
"0.5422358",
"0.5422358",
"0.5422358",
"0.54201865",
"0.5419315",
"0.5417271",
"0.54098487",
"0.5408899",
"0.54000604",
"0.5395692",
"0.53876597",
"0.5385347",
"0.5384283",
"0.5380933",
"0.537572",
"0.53734004",
"0.53671634",
"0.53576916",
"0.53544337",
"0.5352714",
"0.5341705",
"0.5341313",
"0.5340185"
] | 0.6854414 | 0 |
Controller method that selects all storys based on the user email | @GetMapping(value="{email}/userstorys")
public @ResponseBody List<Story> selectUserPosts(@PathVariable("email") String email) {
loggy.info("List of a User's Stories pulled from the database");
return storyServ.selectStoriesByEmail(email);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void queryStoriesFromUser() {\n ParseQuery<Story> query = ParseQuery.getQuery(Story.class);\n // include objects related to a story\n query.include(Story.KEY_AUTHOR);\n query.include(Story.KEY_ITEM);\n query.include(Story.KEY_LIST);\n query.include(Story.KEY_CATEGORY);\n // where author is current user and order by time created\n query.whereEqualTo(Story.KEY_AUTHOR, user);\n query.orderByDescending(Story.KEY_CREATED_AT);\n query.findInBackground((stories, e) -> {\n mUserStories.clear();\n for (int i = 0; i < stories.size(); i++) {\n Story story = stories.get(i);\n Item item = (Item) story.getItem();\n mUserStories.add(story);\n queryPhotosInStory(story, item);\n }\n\n if (stories.size() == 0) {\n emptyLayout.setVisibility(View.VISIBLE);\n } else {\n emptyLayout.setVisibility(View.GONE);\n }\n });\n }",
"@GetMapping(\"/{email:.+}\")\n\t@CrossOrigin(origins = \"http://localhost:3000\")\n\tpublic List<Project> getProjectsByEmail(@PathVariable(\"email\") String email) {\n\t\tStakeholder user = userService.findStakeholderByEmail(email);\n\t\tList<Project> projects = userService.getStakeholderProjects(user);\n\t\treturn projects;\n\t}",
"Coach findByEmail(String email);",
"@GetMapping(value=\"/allstorys\")\n\tpublic @ResponseBody List<Story> selectAllPosts() {\n\t\tloggy.info(\"List of all Stories pulled from the database\");\n\t\treturn storyServ.selectAllStories();\n\t}",
"@GetMapping(\"/mysurveys\")\n public String showMyPage(Model model, @RequestParam(defaultValue = \"0\") int page) {\n Authentication auth = SecurityContextHolder.getContext().getAuthentication();\n UserAdapter userAdapter = userAdapterService.getUserAdapterbyUsername(auth.getName());\n Long userId = userAdapter.getUser().getId();\n model.addAttribute(\"userId\", userId);\n // model.addAttribute(\"data\", surveyRepository.findAll(PageRequest.of(page, 5)));\n model.addAttribute(\"data\", surveyRepository.findByUserId(userId,PageRequest.of(page, 5)));\n model.addAttribute(\"currentPage\", page);\n return \"mySurveys\";\n }",
"@GetMapping(\"/users/{name}/tasks\")\n public List<Task> getTaskByAssignee(@PathVariable String name){\n List<Task> allTask = taskRepository.findByAssignee(name);\n return allTask;\n }",
"List<Post> getPostForUser(String email) throws Exception;",
"@RequestMapping(value={\"/projects\"}, method= RequestMethod.GET)\r\n\tpublic String myOwnedProjects(Model model) {\r\n\t\tUser loggedUser= sessionData.getLoggedUser();\r\n\t\tList<Project> projectsList= this.projectService.retrieveProjectsOwnedBy(loggedUser);\r\n\t\tmodel.addAttribute(\"loggedUser\", loggedUser);\r\n\t\tmodel.addAttribute(\"projectsList\", projectsList);\r\n\t\treturn \"projects\";\r\n\t\t\r\n\t}",
"@GetMapping(\"/surveys\")\n public String showPage(Model model, @RequestParam(defaultValue = \"0\") int page) {\n Authentication auth = SecurityContextHolder.getContext().getAuthentication();\n model.addAttribute(\"principal\", auth.getPrincipal());\n model.addAttribute(\"data\",\n surveyRepository.findByActive(true, PageRequest.of(page, 5)));\n model.addAttribute(\"currentPage\", page);\n return \"surveys\";\n }",
"public List<Teacher> getByUniversity(String email) {\n Session session = sessionFactory.openSession();\n University university = (University) session.get(University.class, email);\n Query query = session.createQuery(\"FROM Teacher WHERE university = :university\").setParameter(\"university\", university);\n return query.list();\n }",
"@GetMapping(\"/profile\")\n\tpublic String showProfilePage(Model model, Principal principal) {\n\t\t\n\t\tString email = principal.getName();\n\t\tUser user = userService.findOne(email);\n\t\t\n\t\tmodel.addAttribute(\"tasks\", taskService.findUserTask(user));\n\t\t\n\t\t\n\t\treturn \"views/profile\";\n\t}",
"public User getUserByEmail(String email);",
"public User getUserByEmail(String email);",
"@RequestMapping(\"/authors\")\n public String getAuthors(Model model){\n model.addAttribute(\"authors\", authorRepository.findAll());\n return \"authors/list\";\n }",
"@RequestMapping(\"findUser\")\r\n public String getSearch(ModelMap model) {\r\n\r\n List<User> userList = null;\r\n\r\n model.addAttribute(\"users\", userList);\r\n\r\n return \"search\";\r\n }",
"@RequestMapping(value = \"/personal-datas\", method = RequestMethod.GET)\n\tpublic ModelAndView action2() {\n\t\tModelAndView result;\n\t\tActor a;\n\n\t\tfinal UserAccount user = LoginService.getPrincipal();\n\t\ta = this.actorService.getActorByUserAccount(user.getId());\n\n\t\tresult = new ModelAndView(\"profile/action-2\");\n\t\tresult.addObject(\"actor\", a);\n\n\t\treturn result;\n\t}",
"@RequestMapping(\"/inbox\")\n public String listInbox(Model model) {\n model.addAttribute(\"posts\", educationFeedbackService.listInbox());\n return \"admin/education/listInbox\";\n }",
"@GetMapping(\"/postsByUser\")\n public String postByUser(Model viewModel) {\n User user = (User) SecurityContextHolder.getContext().getAuthentication().getPrincipal();\n viewModel.addAttribute(\"posts\", postRepository.findByUser(user));\n return \"/users/posts_by_user\";\n }",
"User getUserByEmail(String email);",
"@RequestMapping(method = RequestMethod.GET, value = \"/teamsForUser\")\n public JSONArray getAllTeamsForUserPage() {\n return teamService.getAllTeamsForUser();\n }",
"@RequestMapping(value = \"/tutorlist\", method = RequestMethod.GET)\n\tpublic String listTutors(ModelMap model)\n\t{\n\t\tList<User> users = userService.findAllTutors();\n\t\tmodel.addAttribute(\"users\", users);\n\t\tmodel.addAttribute(\"loggedinuser\", getPrincipalUsername());\n\t\treturn \"tutorslist\";\n\t}",
"People getUser(int index);",
"@RequestMapping(value=\"/listall/users\", method = RequestMethod.GET) \n\t\n\tpublic String findByUsername(ModelMap model) {\n\t\t \n\t return \"displayUserProfile\" ;\t\n\t}",
"@GetMapping(path = \"email/{email}\")\n public ResponseEntity<List<Contractor>> findAllByEmail(@PathVariable String email){\n logger.debug(\"findAllByEmail(\" + email + \")\");\n\t\tAssert.notNull(email, \"Expects a valid email\");\n\n List<Contractor> contractors = contractorService.findAllByEmail(email);\n if(contractors == null || contractors.size() < 1) throw new ResourceNotFoundException(\"Unable to find any contractors matching criteria\");\n return new ResponseEntity(getDTOs(contractors), HttpStatus.ACCEPTED);\n }",
"@Link(label = \"contest.caption\", family = \"adminOptions\", parent = \"\")\n\t@PreAuthorize(\"hasRole('ROLE_ADMIN')\")\n\t@RequestMapping(value = \"/listContests\", method = RequestMethod.GET)\n\tpublic String userRequests(Principal principal, Model model) {\n\t\tLOG.info(\"\\\"\" + principal.getName()\n\t\t\t\t+ \"\\\" entered to administrator page \\\"List of contests\\\".\");\n\t\tmodel.addAttribute(\"pageName\", \"listContests\");\n\t\treturn \"nwcserver.adminOptions.listContests\";\n\t}",
"public UsersModel getUserById(String userEmail);",
"@RequestMapping(value = \"/userList\", method = RequestMethod.GET)\n\tpublic String find(Model model) {\n\t\treturn \"userList\";\n\t}",
"public Student findByEmail(String email);",
"@GetMapping\n public String getPage(Map<String, Object> model) {\n model.put(\"users\", userService.getAll());\n return \"users\";\n }",
"@RequestMapping(value = \"/viewJobAlerts{username}\", method = RequestMethod.GET)\n\tpublic String dashBoardContent(Model m, HttpServletRequest req, @PathVariable String username) {\n\t\tHttpSession session = req.getSession();\n\t\tString uname = (String) session.getAttribute(\"username\");\n\t\tsession.setAttribute(\"username\", uname);\n\t\tString firstname = (String) session.getAttribute(\"firstname\");\n\t\tm.addAttribute(\"state\", \"alerts\");\n\n\t\tsession.setAttribute(\"username\", username);\n\t\tm.addAttribute(\"username\", username);\n\t\tRestTemplate restTemplate = new RestTemplate();\n\t\trestTemplate.setErrorHandler(new DefaultResponseErrorHandler() {\n\t\t\tprotected boolean hasError(HttpStatus statusCode) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t});\n\n\t\tResponseEntity<JobAlert[]> reGetAllJobAlerts = restTemplate.getForEntity(uriReadAllAlerts + uname + \"/\",\n\t\t\t\tJobAlert[].class);\n\t\tif (reGetAllJobAlerts.getStatusCode().equals(HttpStatus.OK)) {\n\t\t\tSystem.out.println(\"Success read all job alerts\");\n\t\t\tm.addAttribute(\"jpAlerts\", reGetAllJobAlerts.getBody());\n\t\t} else {\n\t\t\tSystem.err.println(\"Failed to read alerts!\");\n\t\t}\n\n\t\treturn \"js.home\";\n\t}",
"@Override\n public List<Assessment> getAllAssessmentsByEmail(String email) {\n return null;\n }",
"@RequestMapping(\"/\")\n public String showIndex(Model model, Authentication auth) {\n\n if (auth == null) {\n //Show only 10 items if the user is not logged in\n model.addAttribute(\"items\", items.findTop10ByOrderById());\n } else {\n //Show all Items if the user is logged in\n model.addAttribute(\"items\", users.showListedItems());\n }\n\n return \"index\";\n }",
"@RequestMapping(method = RequestMethod.GET, path = \"/allUsers\")\n\t\tpublic List<leaderBoard> getAllUsers(){\n\t\t\t logger.info(\"Entered into Controller Layer\");\n\t\t List<leaderBoard> results = leaderboardrepository.findAll();\n\t\t logger.info(\"Number of Records Fetched:\" + results.size());\n\t\t \n\t\t return results;\n\t\t //this works\n\t\t \n\t\t \n\t\t}",
"@GetMapping(\"/student/{email:.+}\")\n\t@CrossOrigin(origins = \"http://localhost:3000\")\n\tpublic @ResponseBody Project getUserProject(@PathVariable(\"email\") String email) {\n\t\tStudent user = (Student) userService.findUserByEmail(email);\n\t\tSystem.out.println(user.getProject().getProjectName());\n\t\treturn user.getProject();\n\t}",
"public AppUser findByEmail(String email);",
"public List<Story> getStories(String userId) {\n return storyRepository.findByUserEquals(userId);\n }",
"@GetMapping\n public List<Recipe> get(HttpSession httpSession){\n List<Recipe> recipes = new ArrayList<>();\n String username = (String) httpSession.getAttribute(\"username\");\n\n //recipeRepository.findByAcess(\"PUBLIC\").iterator().forEachRemaining(x -> recipes.add(x));\n\n if(username != null){\n recipeRepository.findByEmail(username).iterator().forEachRemaining(x -> recipes.add(x));\n }\n System.out.println(recipes);\n return recipes;\n }",
"User getUserByEmail(final String email);",
"List<UserTopic> selectByExample(UserTopicExample example);",
"List<UserTopic> selectByExample(UserTopicExample example);",
"@RequestMapping(value = \"/my/{year}\", method = RequestMethod.GET)\r\n\tpublic String getWebItemByUser(@PathVariable int year, Model model) {\r\n\t\tList<WebItem> webItemList = new ArrayList<WebItem>();\r\n\r\n\t\twebItemList.addAll(webItemService.getWebItemsByUserId(securityContext\r\n\t\t\t\t.getLoggedInUser().getId(), -1, year));\r\n\r\n\t\t//order webItems by descending createdate order\r\n\t\tCollections.sort(webItemList, new Comparator<WebItem>() {\r\n\t\t\t public int compare(WebItem o1, WebItem o2) {\r\n\t\t\t return o2.getCreateDate().compareTo(o1.getCreateDate());\r\n\t\t\t }\r\n\t\t});\r\n\r\n\t\tmodel.addAttribute(\"webItemList\", webItemList);\r\n\r\n\t\treturn \"webItemByUserView\";\r\n\t}",
"user showGoodsByUserId(long userId);",
"@RequestMapping(value = \"home\", method = RequestMethod.GET)\n public String home(Model model, HttpServletRequest request){\n IronUser user = (IronUser)request.getSession().getAttribute(\"user\");\n\n Long usrId = user.getId();\n\n // get users favorites\n Set<Movie> favs = userRepository.findOne(usrId).getFavs();\n\n\n // put them in a model\n model.addAttribute(\"favs\", favs);\n\n // send them to the dam\n return \"home\";\n }",
"@RequestMapping(value = \"/events\", method = RequestMethod.GET)\r\n public ModelAndView showEvents() {\r\n ModelAndView mav = new ModelAndView(\"events\");\r\n User loggedIn = (User) SecurityContextHolder.getContext().getAuthentication().getPrincipal();\r\n User user = hibernateTemplate.get(User.class, loggedIn.getUsername());\r\n List<Event> events = dataAccessService.getEventsForUser(user, null);\r\n mav.addObject(\"events\", events);\r\n return mav;\r\n }",
"@Test\n\tvoid findAllForMyCompanyFilter() {\n\t\tinitSpringSecurityContext(\"assist\");\n\n\t\tfinal TableItem<UserOrgVo> tableItem = resource.findAll(\"ing\", null, null, newUriInfoAsc(\"id\"));\n\t\tAssertions.assertEquals(8, tableItem.getRecordsTotal());\n\t\tAssertions.assertEquals(8, tableItem.getRecordsFiltered());\n\t\tAssertions.assertEquals(8, tableItem.getData().size());\n\n\t\t// Check the users\n\t\tAssertions.assertEquals(\"fdoe2\", tableItem.getData().get(0).getId());\n\t\tAssertions.assertTrue(tableItem.getData().get(0).isCanWrite());\n\n\t\t// Check the groups\n\t\tAssertions.assertEquals(0, tableItem.getData().get(0).getGroups().size());\n\t}",
"Set<String> getUsers(String page);",
"@RequestMapping(value = { \"/\", \"/list\" }, method = RequestMethod.GET)\r\n public String listusers(ModelMap model) {\r\n List users = service.findAllUser();\r\n model.addAttribute(\"users\", users);\r\n return \"allusers\";\r\n }",
"@RequestMapping(value = { \"/\", \"/list\" }, method = RequestMethod.GET)\n\tpublic String listEntities(ModelMap model) {\n\n\t\tList<ENTITY> entities = abm.listar();\n\n\t\tlogger.info(\"Tengo {} usuarios registrados\", entities.size());\n\n\t\tmodel.addAttribute(\"entities\", entities);\n\t\tmodel.addAttribute(\"loggedinuser\", getPrincipal());\n\t\treturn viewBaseLocation + \"/list\";\n\t}",
"@GetMapping(\"/listAll\")\n public String listAll(Model model) {\n List<Person> people = personRepo.getAll();\n\n model.addAttribute(\"people\", people);\n\n return \"listAll\";\n }",
"@RequestMapping(value = \"/list\", method = RequestMethod.GET)\n\tpublic String listUsers(ModelMap model)\n\t{\n\t\tList<User> users = userService.findAllUsers();\n\t\tmodel.addAttribute(\"users\", users);\n\t\tmodel.addAttribute(\"loggedinuser\", getPrincipalUsername());\n\t\treturn \"userslist\";\n\t}",
"Student findByEmail(String email);",
"public User getUser(String emailId);",
"List<Email> selectByExample(EmailCriteria example);",
"@RequestMapping(value = \"/all\", method = RequestMethod.GET)\r\n\t@PreAuthorize(\"hasRole('ROLE_MODERATOR')\")\r\n\tpublic String showAllItems(Model model) {\r\n\t\tList<WebItem> webItemList = new ArrayList<WebItem>();\r\n\r\n\t\twebItemList.addAll(webItemService.getWebItems(1000));\r\n\t\t//order webItems by descending createdate order\r\n\t\tCollections.sort(webItemList, new Comparator<WebItem>() {\r\n\t\t\t public int compare(WebItem o1, WebItem o2) {\r\n\t\t\t return o2.getCreateDate().compareTo(o1.getCreateDate());\r\n\t\t\t }\r\n\t\t});\r\n\r\n\t\tmodel.addAttribute(\"webItemList\", webItemList);\r\n\t\treturn \"webItemByUserView\";\r\n\t}",
"public User get(String emailID);",
"@Query(\"select u from User u where u.email = :email\")\n User getUserByEmail(@Param(\"email\") String email);",
"@Query(value = \"SELECT user FROM User user WHERE user.active = 1 AND user.email = :email\")\n User findByEmailId(@Param(\"email\") String email);",
"@RequestMapping(\"/archive\")\n public String list(Model model) {\n model.addAttribute(\"posts\", educationFeedbackService.list());\n return \"admin/education/listArchive\";\n }",
"@Override\n\tpublic ERSUser getUserByEmail(String email) {\n\t\treturn userDao.selectUserByEmail(email);\n\t}",
"@RequestMapping(value = \"/users\")\n\tpublic String index(Model model){\n \tList<Users> list = userService.getAll();\n \tcheckUser();\n \t\n \tmodel.addAttribute(\"loginusername\", loginUser.getUsername());\n \tmodel.addAttribute(\"loginemailuser\", loginUser.getEmail());\n \tmodel.addAttribute(\"loginuserid\", loginUser.getId());\n \tmodel.addAttribute(\"loginuser\", loginUser);\n \tmodel.addAttribute(\"s3awsurl\", new Constantes().s3awsurl);\n \t\n \tmodel.addAttribute(\"list\", list);\n\t\t\n\t\treturn \"users/list\";\n\t}",
"List<ChallengeTo> findAllChallengesByUser(int userId);",
"@Secured(\"ROLE_ADMIN\")\n\t@RequestMapping(method = RequestMethod.GET)\n\tpublic Iterable<SubjectEntity> getAllSubjects() {\n\treturn subjectRepository.findAll();\n\t}",
"@RequestMapping(value = \"/list\", method = RequestMethod.GET)\n public String loadUsers(Model model) {\n if (logger.isInfoEnabled()) {\n logger.info(\"TCH User Management sub menu Viewed by user {}\", SecurityContextHolder.getContext()\n .getAuthentication().getName());\n }\n List<UserConfigurationProperties> userConfigurationProperties = userConfigurationService.loadUsers();\n model.addAttribute(\"users\",\n new JsonObjectConverter<List<UserConfigurationProperties>>().stringify(userConfigurationProperties));\n model.addAttribute(C_MODEL_ATTR_ROLES, userConfigurationService.getAllRoles());\n model.addAttribute(C_MODEL_ATTR_ISSUER, issuerService.getIssuersSortedAscendingByName());\n return V_USER_PAGE;\n\n }",
"private static Result renderHome(Skier loggedInSkier){\n int openMeetings=0;\n int doneMeetings=0;\n for(Meeting m : Meeting.getBySkier(loggedInSkier)){\n if(m.getDate().before(new Date())){\n doneMeetings++;\n } else openMeetings++;\n }\n List<Meeting> usermeetings =Meeting.getBySkier(loggedInSkier);\n Collections.sort(usermeetings);\n return ok(home.render(loggedInSkier,Interests.getAll(),Skiarena.getAll(),Integer.valueOf(openMeetings), Integer.valueOf(doneMeetings),usermeetings));\n }",
"public User findByEmail(String email);",
"public User findByEmail(String email);",
"public User findByEmail(String email);",
"List<OfUserWechat> selectByExample(OfUserWechatExample example);",
"com.heroiclabs.nakama.api.User getUsers(int index);",
"public UserModel getUserWithEventsById(String account);",
"public User getUser(String email);",
"@RequestMapping(value = {\"/users/list\"}, method = RequestMethod.GET)\n\tpublic ResponseEntity<List<User>> fetchUsers() {\n\t\t\tSystem.out.println(\"fetching users\");\n\t\t\tList<User> user = userDAO.list(\"APPROVED\");\n\t\t\tSystem.out.println(user);\n\t\t\treturn new ResponseEntity<List<User>>(user, HttpStatus.OK);\n\t\t}",
"@RequestMapping(\"/viewBoards\")\n public String viewAllBoards(Model model,\n Authentication auth) {\n List<Board> board = boardController.findByUser(auth.getName());\n model.addAttribute(\"boards\", board);\n model.addAttribute(\"firstName\", userRepository.findByUsername(auth.getName()).getFirstName());\n\n return \"boardTemplates/viewBoards\";\n }",
"private ShowConferenceSectionsPage() {\n this.service = UserService.retrieve();\n this.validator = Validator.retrieve();\n }",
"@RequestMapping(method = RequestMethod.GET, path = \"/patients/{userEmail}\")\n @Secured({\"ROLE_DOCTOR\"})\n @ResponseStatus(HttpStatus.OK)\n public List<Result> fetchPatientResults(\n @PathVariable(value = \"userEmail\") String userEmail) {\n log.info(\"Fetching results of patient with Id [{}]\", userEmail);\n return resultService.fetchResultsWithUserEmail(userEmail);\n }",
"@RequestMapping(\"/agent/enrollment/\")\n public ModelAndView view() throws PortalServiceException {\n String signature = \"EnrollmentController#view()\";\n LogUtil.traceEntry(getLog(), signature, null, null);\n ProviderSearchCriteria criteria = new ProviderSearchCriteria();\n ArrayList<String> statuses = new ArrayList<String>();\n criteria.setShowFilterPanel(true);\n statuses.add(\"Draft\");\n criteria.setStatuses(statuses);\n return LogUtil.traceExit(getLog(), signature, doSearch(criteria, \"draft\"));\n }",
"@Override\n public List<GoodsIssuedDocument> viewGoodsIssuedDocumentIndividual(GoodsIssuedDocument grd) {\n Query q = em.createQuery(\"SELECT s FROM GoodsIssuedDocument s WHERE s.id=\" + grd.getId());\n return q.getResultList();\n }",
"@GetMapping(\"/author/list\")\n public String viewAuthors(ModelMap model, @SortDefault(\"firstName\") Pageable pageable) {\n //\n //List<Author> listAuthors = authorservice.listAll();\n List<Author> listAuthors = authorservice.listAll();\n for (Author author : authorRepository.findAll()) {\n log.info(author.toString());\n }\n //\n model.addAttribute(\"authors\", authorservice.find(pageable));\n //model.addAttribute(\"authors\", book.getAuthors());\n //model.addAttribute(\"listAuthors\", listAuthors);\n return \"author/list\";\n }",
"@RequestMapping(value = \"/subject\", method = RequestMethod.GET)\n public ModelAndView listSubject() {\n List<SubjectType> divSubjects = userBean.getDividedSubject();\n ModelAndView view = new ModelAndView(\"subject\");\n // view.addObject(\"sub\", subjects);\n view.addObject(\"div\", divSubjects);\n return view;\n }",
"public List<Story> getLatestChallengesUndertaken() {\n return storyRepository.findTop50ByApprovedIsTrueOrderByLastUpdatedDesc();\n }",
"@RequestMapping(value = \"/getUser/{userEmail}\", method = RequestMethod.GET)\n @Secured({})\n public ResponseEntity<User> getUser(@PathVariable String userEmail){\n User user = userRepository.findByEmail(userEmail);\n if (user != null) {\n return ResponseEntity.ok(user);\n } else {\n return ResponseEntity.notFound().build();\n }\n }",
"@GetMapping(\"/fetchProfile\")\n public String fetchProfile(HttpServletRequest request,Model model){\n Map<String, String[]> userNameParam = request.getParameterMap();\n String userName[] = userNameParam.get(\"userName\");\n String searchParam = userName[0];\n ApplicationUser userProfileDetails = sportyShoesService.fetchProfile(searchParam);\n model.addAttribute(\"adminId\", userProfileDetails.getAdminId());\n model.addAttribute(\"adminFName\", userProfileDetails.getAdminFName());\n model.addAttribute(\"adminLName\", userProfileDetails.getAdminLName());\n model.addAttribute(\"role\", userProfileDetails.getRole());\n model.addAttribute(\"username\", userProfileDetails.getUsername());\n model.addAttribute(\"password\", userProfileDetails.getPassword());\n model.addAttribute(\"email\", userProfileDetails.getEmail());\n model.addAttribute(\"phone\", userProfileDetails.getPhone());\n model.addAttribute(\"appName\", appName);\n return \"profileDetails\";\n }",
"@RequestMapping(method = RequestMethod.GET, value = \"/token/{rs}/email/{email:.+}\")\n public ResponseEntity<Token> getTokenByEmail(@Validated @PathVariable(\"rs\") String rs, @Validated @PathVariable(\"email\") String email) {\n \n if (rs.equals(\"fb\")){\n rs = \"Facebook\";\n } else if (rs.equals(\"twitter\")){\n rs = \"Twitter\";\n }\n System.out.println(\"getTokenByEmailAndSN\");\n System.out.println(\"Email: \" + email);\n System.out.println(\"Social Network: \" + rs);\n \n Token token = usuarioService.getTokenByEmailAndSN(email, rs);\n //Token token = usuarioService.getTokenByEmail(email);\n /*Collection<Token> tokens = usuarioService.getTokenByEmail(email);\n for(Token atoken: tokens)\n {\n if(atoken.getSocialnetwork().equals(socialnetwork))\n {\n token = atoken;\n }\n }*/\n //System.out.println(token.getToken());\n if (null == token) {\n throw new EmptyResultException(Usuario.class);\n }\n \n return super.singleResult(token);\n\n }",
"List<ClientName> findNameByEmail(String email);",
"@RequestMapping(value = \"/surveys\", method = RequestMethod.GET)\n\tpublic @ResponseBody List<Survey>getSurveyList(){\n\t\treturn (List<Survey>)surveyRepository.findAll();\n\t}",
"public List<BarrioCovid> readAll(String email);",
"@RequestMapping(value = \"/*\", method = RequestMethod.GET)\r\n public ModelAndView handleRequest() {\r\n User loggedIn = (User) SecurityContextHolder.getContext().getAuthentication().getPrincipal();\r\n User user = hibernateTemplate.get(User.class, loggedIn.getUsername());\r\n ModelAndView mav = new ModelAndView(\"home\");\r\n List<Project> projs = hibernateTemplate.find(\"from Project\");\r\n mav.addObject(\"projs\", projs);\r\n List<Event> events = dataAccessService.getEventsForUser(user, 10);\r\n Map<String, Integer> stats = dataAccessService.getStatistics();\r\n List<SubProject> followedProjects = dataAccessService.getFollowedSubProjectsForUser(user);\r\n Collections.sort(followedProjects, new Comparator<SubProject>() {\r\n\r\n @Override\r\n public int compare(SubProject o1, SubProject o2) {\r\n Integer into1 = o1.getParent().getId();\r\n Integer into2 = o2.getParent().getId();\r\n return into1.compareTo(into2);\r\n }\r\n });\r\n mav.addObject(\"followProjects\", followedProjects);\r\n mav.addObject(\"events\", events);\r\n mav.addObject(\"projects\", stats.get(\"projects\"));\r\n mav.addObject(\"users\", stats.get(\"users\"));\r\n mav.addObject(\"subprojects\", stats.get(\"subprojects\"));\r\n mav.addObject(\"methods\", stats.get(\"methods\"));\r\n mav.addObject(\"results\", stats.get(\"results\"));\r\n mav.addObject(\"comments\", stats.get(\"comments\"));\r\n mav.addObject(\"eventstat\", stats.get(\"events\"));\r\n mav.addObject(\"data\", stats.get(\"data\"));\r\n return mav;\r\n }",
"@RequestMapping(value = \"/home\", method = RequestMethod.GET)\n\tpublic String dataCollect(Model m, HttpServletRequest req) {\n\t\tSystem.out.println(\"I'm jobseeker home\");\n\t\tHttpSession session = req.getSession();\n\t\tString username = (String) session.getAttribute(\"username\");\n\t\tString auth = (String) session.getAttribute(\"auth\");\n\n\t\tString facebookImport = \"\", twitterImport = \"\", linkedInImport = \"\", upWorkImport = \"\";\n\t\tboolean charImport = false;\n\t\tboolean skillImport = false;\n\n\t\t// check social media access\n\t\tRestTemplate restTemplate = new RestTemplate();\n\t\trestTemplate.setErrorHandler(new DefaultResponseErrorHandler() {\n\t\t\tprotected boolean hasError(HttpStatus statusCode) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t});\n\n\t\tResponseEntity<JobSeeker> rejs = restTemplate.getForEntity(uriReadJobSeeker + username + \"/\", JobSeeker.class);\n\t\tJobSeeker jSeeker = rejs.getBody();\n\t\tm.addAttribute(\"firstname\", jSeeker.getFirstname());\n\t\tsession.setAttribute(\"firstname\", jSeeker.getFirstname());\n\n\t\tSystem.out.println(\"Checking social account imports\");\n\t\tResponseEntity<SocialMediaAccess> smaFb = restTemplate.getForEntity(uriReadSM + username + \"/facebook/\",\n\t\t\t\tSocialMediaAccess.class);\n\n\t\tResponseEntity<SocialMediaAccess> smaTwitter = restTemplate.getForEntity(uriReadSM + username + \"/twitter/\",\n\t\t\t\tSocialMediaAccess.class);\n\n\t\tResponseEntity<SocialMediaAccess> smaLinkedIn = restTemplate.getForEntity(uriReadSM + username + \"/linkedIn/\",\n\t\t\t\tSocialMediaAccess.class);\n\n\t\tResponseEntity<SocialMediaAccess> smaUpwork = restTemplate.getForEntity(uriReadSM + username + \"/upwork/\",\n\t\t\t\tSocialMediaAccess.class);\n\n\t\tSystem.out.println(\"--------------------------START check in smaFB\");\n\t\tif (smaFb.getStatusCode().equals(HttpStatus.OK)) {\n\t\t\tSystem.out.println(\"--------------------------HttpStatus.OK\");\n\t\t\tif (smaFb.getBody().equals(null)) {\n\t\t\t\tSystem.out.println(\"No SMA facebook for (username):\" + username);\n\t\t\t\tm.addAttribute(\"facebook\", \"Not Yet Added.\");\n\t\t\t\tm.addAttribute(\"facebookImport\", \"Import from Facebook\");\n\t\t\t\tfacebookImport = \"\";\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"There is SMA facebook for (username):\" + username);\n\t\t\t\t// display the date of last_update of access_token\n\t\t\t\tm.addAttribute(\"facebook\", \"Updated Last: \" + smaFb.getBody().getLast_update());\n\t\t\t\tm.addAttribute(\"facebookImport\", \"Update Facebook data\");\n\t\t\t\tfacebookImport = \"authenticated\";\n\n\t\t\t}\n\t\t} else {\n\t\t\tSystem.out.println(\"Facebook Not Yet Added\");\n\t\t\tm.addAttribute(\"facebook\", \"Not Yet Added\");\n\t\t\tm.addAttribute(\"facebookImport\", \"Import from Facebook\");\n\t\t\tfacebookImport = \"\";\n\t\t}\n\t\tSystem.out.println(\"--------------------------END check in smaFB\");\n\t\tSystem.out.println(\"--------------------------START check in smaTwitter\");\n\t\tif (smaTwitter.getStatusCode().equals(HttpStatus.OK)) {\n\t\t\tSystem.out.println(\"--------------------------HttpStatus.OK\");\n\t\t\tif (smaTwitter.getBody().equals(null)) {\n\t\t\t\tSystem.out.println(\"No SMA twitter for (username):\" + username);\n\t\t\t\tm.addAttribute(\"twitter\", \"Not Yet Added.\");\n\t\t\t\tm.addAttribute(\"twitterImport\", \"Import from Twitter\");\n\t\t\t\ttwitterImport = \"\";\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"There is SMA twitter for (username):\" + username);\n\t\t\t\t// display the date of last_update of twitter user_name\n\t\t\t\tm.addAttribute(\"twitter\", smaTwitter.getBody().getToken_data());\n\t\t\t\tm.addAttribute(\"t_last_update\", smaTwitter.getBody().getLast_update());\n\t\t\t\tm.addAttribute(\"twitterImport\", \"Update Twitter Data\");\n\t\t\t\ttwitterImport = \"authenticated\";\n\t\t\t}\n\t\t} else {\n\t\t\tSystem.out.println(\"Twitter Not Yet Added.\");\n\t\t\tm.addAttribute(\"twitter\", \"Not Yet Added.\");\n\t\t\tm.addAttribute(\"twitterImport\", \"Import from Twitter\");\n\t\t\ttwitterImport = \"\";\n\t\t}\n\t\tSystem.out.println(\"--------------------------END check in smaTwitter\");\n\t\tSystem.out.println(\"--------------------------START check in smaLinkedIn\");\n\t\tif (smaLinkedIn.getStatusCode().equals(HttpStatus.OK)) {\n\t\t\tSystem.out.println(\"--------------------------HttpStatus.OK\");\n\t\t\tif (smaLinkedIn.getBody().equals(null)) {\n\t\t\t\tSystem.out.println(\"No SMA linkedIn for (username):\" + username);\n\t\t\t\tm.addAttribute(\"linkedIn\", \"Not Yet Added.\");\n\t\t\t\tm.addAttribute(\"linkedInImport\", \"Import from LinkedIn\");\n\t\t\t\tlinkedInImport = \"\";\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"There is SMA linkedIn for (username):\" + username);\n\t\t\t\t// display the date of last_update of twitter user_name\n\t\t\t\tm.addAttribute(\"linkedIn\", smaLinkedIn.getBody().getToken_data());\n\t\t\t\tm.addAttribute(\"l_last_update\", smaLinkedIn.getBody().getLast_update());\n\t\t\t\tm.addAttribute(\"linkedInImport\", \"Update LinkedIn Data\");\n\t\t\t\tlinkedInImport = \"authenticated\";\n\n\t\t\t}\n\t\t} else {\n\t\t\tSystem.out.println(\"linkedIn Not Yet Added.\");\n\t\t\tm.addAttribute(\"linkedIn\", \"Not Yet Added.\");\n\t\t\tm.addAttribute(\"linkedInImport\", \"Import from LinkedIn\");\n\t\t\tlinkedInImport = \"\";\n\t\t}\n\t\tSystem.out.println(\"--------------------------END check in smaLinkedIn\");\n\t\tSystem.out.println(\"--------------------------START check in smaUpWork\");\n\t\tif (smaUpwork.getStatusCode().equals(HttpStatus.OK)) {\n\t\t\tSystem.out.println(\"--------------------------HttpStatus.OK\");\n\t\t\tif (smaUpwork.getBody().equals(null)) {\n\t\t\t\tSystem.out.println(\"No SMA UpWork for (username):\" + username);\n\t\t\t\tm.addAttribute(\"upWorkImport\", \"Import from Upwork\");\n\t\t\t\tm.addAttribute(\"UpWork\", \"Not Yet Added.\");\n\t\t\t\tupWorkImport = \"\";\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"There is SMA UpWork for (username):\" + username);\n\t\t\t\t// display the date of last_update of UpWork user_name\n\t\t\t\tm.addAttribute(\"UpWork\", smaUpwork.getBody().getToken_data());\n\t\t\t\tm.addAttribute(\"u_last_update\", smaUpwork.getBody().getLast_update());\n\t\t\t\tm.addAttribute(\"upWorkImport\", \"Update Upwork Data\");\n\t\t\t\tupWorkImport = \"authenticated\";\n\t\t\t}\n\t\t} else {\n\t\t\tSystem.out.println(\"UpWork Not Yet Added.\");\n\t\t\tm.addAttribute(\"upWorkImport\", \"Import from Upwork\");\n\t\t\tm.addAttribute(\"UpWork\", \"Not Yet Added.\");\n\t\t\tupWorkImport = \"\";\n\t\t}\n\t\tSystem.out.println(\"--------------------------END check in smaUpwork\");\n\n\t\t// read profile ready to display CV\n\t\trestTemplate = new RestTemplate();\n\t\trestTemplate.setErrorHandler(new DefaultResponseErrorHandler() {\n\t\t\tprotected boolean hasError(HttpStatus statusCode) {\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t});\n\n\t\tSystem.out.println(\"Preparing jobseeker CV\");\n\t\t// get All Skills\n\t\tString uriGetAllSkillsByUsername = SMART_HIRE_URL + \"/jobSeekerSkills/getAllSkillsByUsername/\";\n\t\tResponseEntity<JobSeekerSkills[]> reGetAllSkills = restTemplate\n\t\t\t\t.getForEntity(uriGetAllSkillsByUsername + username + \"/\", JobSeekerSkills[].class);\n\t\tJobSeekerSkills[] sList = null;\n\t\tif (reGetAllSkills.getBody() != null) {\n\t\t\tsList = reGetAllSkills.getBody();\n\t\t}\n\t\t/*\n\t\t * List<String> skillsList = new LinkedList<>(); for(JobSeekerSkills s:\n\t\t * sList){ skillsList.add(s.getSkill_name()); }\n\t\t */\n\n\t\tm.addAttribute(\"skills\", sList);\n\n\t\tString uriGetAllEducation = SMART_HIRE_URL + \"/educationRC/getAllEducationByUser/\";\n\t\tResponseEntity<Education[]> reGetAllEdu = restTemplate.getForEntity(uriGetAllEducation + username + \"/\",\n\t\t\t\tEducation[].class);\n\t\tEducation[] eduList = null;\n\t\tif (reGetAllEdu.getBody() != null) {\n\t\t\teduList = reGetAllEdu.getBody();\n\t\t}\n\n\t\tm.addAttribute(\"educ\", eduList);\n\n\t\tString uriGetAllExp = SMART_HIRE_URL + \"/experienceRC/getAllExperienceByUser/\";\n\t\tResponseEntity<Experience[]> reGetAllExp = restTemplate.getForEntity(uriGetAllExp + username + \"/\",\n\t\t\t\tExperience[].class);\n\t\tExperience[] expList = null;\n\t\tif (reGetAllExp.getBody() != null) {\n\t\t\texpList = reGetAllExp.getBody();\n\t\t}\n\n\t\tm.addAttribute(\"exp\", expList);\n\n\t\tString uriGetAllCertificates = SMART_HIRE_URL + \"/certificateRC/getAllCertificatesByUser/\";\n\t\tResponseEntity<Certificate[]> reGetAllCert = restTemplate.getForEntity(uriGetAllCertificates + username + \"/\",\n\t\t\t\tCertificate[].class);\n\t\tCertificate[] certList = null;\n\t\tif (reGetAllCert.getBody() != null) {\n\t\t\tcertList = reGetAllCert.getBody();\n\t\t}\n\n\t\tm.addAttribute(\"cert\", certList);\n\n\t\tString uriGetAllTests = SMART_HIRE_URL + \"/testRC/getAllTestByUser/\";\n\t\tResponseEntity<Test[]> reGetAllTests = restTemplate.getForEntity(uriGetAllTests + username + \"/\", Test[].class);\n\t\tTest[] testList = null;\n\t\tif (reGetAllTests.getBody() != null) {\n\t\t\ttestList = reGetAllTests.getBody();\n\t\t}\n\n\t\tm.addAttribute(\"cert\", certList);\n\t\tm.addAttribute(\"test\", testList);\n\t\tm.addAttribute(\"username\", username);\n\t\tm.addAttribute(\"js\", jSeeker);\n\n\t\tif (!facebookImport.isEmpty() || !twitterImport.isEmpty()) {\n\t\t\tcharImport = true;\n\t\t}\n\t\tif (!linkedInImport.isEmpty() || !upWorkImport.isEmpty()) {\n\t\t\tskillImport = true;\n\t\t}\n\t\tif (charImport && skillImport) {\n\t\t\tSystem.out.println(\"User \" + username + \" is authenticated proceed view profile\");\n\t\t\tsession.setAttribute(\"auth\", \"authenticated\");\n\t\t\tm.addAttribute(\"state\", \"authenticated\");\n\t\t} else {\n\t\t\tsession.setAttribute(\"auth\", \"toComplete\");\n\t\t\tm.addAttribute(\"state\", \"toComplete\");\n\t\t}\n\n\t\treturn \"js.home\";\n\t}",
"List<ChallengeTo> findAllChallenges();",
"@RequestMapping(value = \"/searchUserPicbyemailid\")\r\n\tprotected String getPicsbyemail_id(String email_id,Model model, RedirectAttributes redir) throws Exception {\r\n\t\t\r\n\t\tif(email_id == null && email_id.equals(\"\")){\r\n\t\t\tredir.addFlashAttribute(\"error\", \"Invalid Data\");\r\n\t\t\treturn \"redirect:/user/dashboard\";\r\n\t\t}else{\r\n\t\tLOG.info(\" LOG User Dashboard from getPicsbyemail_id controlller==>\"+email_id);\r\n\t\tUser u = SecurityLibrary.getLoggedInUser();\r\n\t\tPictureUploadPojo searchPic = picsService.findPicsbyemail(email_id);\r\n\t\tif(searchPic!=null){\r\n\t\t\tmodel.addAttribute(\"searchPic\", searchPic);\r\n\t\t\treturn \"dashboard\";\r\n\t\t\t\r\n\t\t}else{\r\n\t\t\tredir.addFlashAttribute(\"error\", \"Pic Does not exit\");\r\n\t\treturn \"redirect:/user/dashboard\";\r\n\t\t}\r\n\t\t}\r\n\t}",
"@RequestMapping(value = { \"/subjectPaper\", \"/listSubjectPapers\" }, method = RequestMethod.GET)\n\tpublic String listSubjectPapers(ModelMap model) {\n\n\t\tList<SubjectPaper> subjectPapers = service.findAllSubjectPapers();\n\t\tmodel.addAttribute(\"subjectPapers\", subjectPapers);\n\t\treturn \"allSubjectPapers\";\n\t}",
"@PostMapping(path = \"login_user\")\n public String logIn(User user, Model model){\n for (User currUser: users){\n if(currUser.getEmailId().equals(user.getEmailId()) && currUser.getPassword().equals(user.getPassword())){\n model.addAttribute(\"feeds\",feeds);\n return \"user_page\";\n }\n }\n return \"user_not_found\";\n }",
"@Override\n public User getUserByEmail(final String email){\n Query query = sessionFactory.getCurrentSession().createQuery(\"from User where email = :email\");\n query.setParameter(\"email\", email);\n return (User) query.uniqueResult();\n }",
"@GetMapping(\"/triplist.html\")\r\n public String showTripList(Model model) {\n\t\tTrips trips = new Trips();\r\n\t\tString currentUserName = SecurityContextHolder.getContext().getAuthentication().getName();\r\n\t\t// if admin user, return all the trip records\r\n\t\tif(\"admin\".equalsIgnoreCase(currentUserName)) {\r\n\t\t\ttrips.getTripList().addAll(tripRepository.findAll());\r\n\t\t} else {\r\n \t// if an ordinary user, return only the trip records of the logged in employee\r\n\t\t\tint empId=Integer.parseInt(currentUserName);\r\n\t\t\ttrips.getTripList().addAll(tripRepository.findByEmpId(empId));\r\n\t\t}\r\n model.addAttribute(\"trips\", trips);\r\n return \"trips\";\r\n\t}",
"@RequestMapping(value = \"/broadband-user/index\")\n\tpublic String userIndex(Model model,\n\t\t\tHttpServletRequest req) {\n\t\tPage<ContactUs> pageContactUsStatusSum = new Page<ContactUs>();\n\t\tpageContactUsStatusSum.getParams().put(\"status\", \"new\");\n\t\tmodel.addAttribute(\"newContactUsSum\", this.provisionService.queryContactUssSumByPage(pageContactUsStatusSum));\n\t\t// END QUERY SUM BY CONTACT US STATUS\n\t\t\n\n\t\tUser user = (User) req.getSession().getAttribute(\"userSession\");\n\t\t\n\t\tPage<Ticket> pageSum = new Page<Ticket>();\n\t\tpageSum.getParams().put(\"where\", \"query_by_public_protected\");\n\t\tpageSum.getParams().put(\"public_protected\", \"public_protected\");\n\t\tpageSum.getParams().put(\"protected_viewer\", user.getId());\n\t\tpageSum.getParams().put(\"double_not_yet_viewer\", user.getId());\n\t\tpageSum.getParams().put(\"existing_customer\", true);\n\t\treq.getSession().setAttribute(\"existingSum\", this.crmService.queryTicketsBySum(pageSum));\n\t\tpageSum.getParams().put(\"existing_customer\", false);\n\t\treq.getSession().setAttribute(\"newSum\", this.crmService.queryTicketsBySum(pageSum));\n\t\t\n\t\t\n\t\treturn \"broadband-user/index\";\n\t}",
"@RequestMapping(value=\"/show\",method = RequestMethod.GET)\n\n public List<Student> show_data() \n {\n return srt.findAll();\n }",
"List<UserContentAccess> findContentAccess();",
"List<User> loadActiveUsers(User user);",
"@GetMapping(\"/users\")\n\tpublic ResponseEntity<User> user(@RequestParam String email) {\n\t\treturn ResponseEntity.ok(userservice.getUser(email));\n\t}",
"public final List<Meeting> getAllUserMeeting(SocialEntity se) {\n\t\tif (se == null) {\n\t\t\tthrow new IllegalArgumentException();\n\t\t}\n\t\tList<Meeting> listMeeting;\n\t\tlistMeeting = em.createQuery(\n\t\t\t\t\"SELECT e FROM Meeting e ORDER BY e.startDate DESC\",\n\t\t\t\tMeeting.class).getResultList();\n\n\t\tFilterInteractionByUserGroup filter = new FilterInteractionByUserGroup(\n\t\t\t\tem);\n\t\tlistMeeting = filter.filterInteraction(se, listMeeting);\n\t\treturn listMeeting;\n\t}"
] | [
"0.57785565",
"0.56109494",
"0.54366237",
"0.5370971",
"0.52851164",
"0.52748895",
"0.5256146",
"0.51947576",
"0.51901954",
"0.5167549",
"0.51502633",
"0.51501",
"0.51501",
"0.51426315",
"0.5136621",
"0.51287377",
"0.5107799",
"0.5068229",
"0.5062864",
"0.505642",
"0.5055675",
"0.50385547",
"0.50227135",
"0.5016103",
"0.5015498",
"0.49779633",
"0.4963122",
"0.49626753",
"0.49538556",
"0.49312788",
"0.4931026",
"0.49037525",
"0.48952144",
"0.48934868",
"0.48876354",
"0.48819703",
"0.48752362",
"0.4872052",
"0.48689753",
"0.48689753",
"0.4867777",
"0.48561245",
"0.48527676",
"0.48480013",
"0.48448133",
"0.48428443",
"0.48410794",
"0.48361665",
"0.48336083",
"0.48313752",
"0.48210984",
"0.48209503",
"0.48203158",
"0.48178416",
"0.48040158",
"0.4786929",
"0.47788095",
"0.47697",
"0.47655746",
"0.47588247",
"0.47531813",
"0.47492853",
"0.4747941",
"0.47461134",
"0.47427407",
"0.47427407",
"0.47427407",
"0.4742581",
"0.47412825",
"0.47411072",
"0.4737646",
"0.4737252",
"0.47362128",
"0.47283265",
"0.47253314",
"0.471338",
"0.47131854",
"0.47130522",
"0.47129607",
"0.47122005",
"0.47093126",
"0.4709014",
"0.47071004",
"0.47056246",
"0.4702166",
"0.46996236",
"0.4698148",
"0.46929353",
"0.46878132",
"0.46877477",
"0.4674791",
"0.46737403",
"0.46708727",
"0.4670795",
"0.4666128",
"0.46654257",
"0.46604282",
"0.4658545",
"0.4657428",
"0.4651507"
] | 0.7522903 | 0 |
Controller method that selects all storys from all users | @GetMapping(value="/allstorys")
public @ResponseBody List<Story> selectAllPosts() {
loggy.info("List of all Stories pulled from the database");
return storyServ.selectAllStories();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void queryStoriesFromUser() {\n ParseQuery<Story> query = ParseQuery.getQuery(Story.class);\n // include objects related to a story\n query.include(Story.KEY_AUTHOR);\n query.include(Story.KEY_ITEM);\n query.include(Story.KEY_LIST);\n query.include(Story.KEY_CATEGORY);\n // where author is current user and order by time created\n query.whereEqualTo(Story.KEY_AUTHOR, user);\n query.orderByDescending(Story.KEY_CREATED_AT);\n query.findInBackground((stories, e) -> {\n mUserStories.clear();\n for (int i = 0; i < stories.size(); i++) {\n Story story = stories.get(i);\n Item item = (Item) story.getItem();\n mUserStories.add(story);\n queryPhotosInStory(story, item);\n }\n\n if (stories.size() == 0) {\n emptyLayout.setVisibility(View.VISIBLE);\n } else {\n emptyLayout.setVisibility(View.GONE);\n }\n });\n }",
"@GetMapping(value=\"{email}/userstorys\")\n\tpublic @ResponseBody List<Story> selectUserPosts(@PathVariable(\"email\") String email) {\n\t\tloggy.info(\"List of a User's Stories pulled from the database\");\n\t\treturn storyServ.selectStoriesByEmail(email);\n\t}",
"public List<Story> getStories(String userId) {\n return storyRepository.findByUserEquals(userId);\n }",
"@RequestMapping(method = RequestMethod.GET, path = \"/allUsers\")\n\t\tpublic List<leaderBoard> getAllUsers(){\n\t\t\t logger.info(\"Entered into Controller Layer\");\n\t\t List<leaderBoard> results = leaderboardrepository.findAll();\n\t\t logger.info(\"Number of Records Fetched:\" + results.size());\n\t\t \n\t\t return results;\n\t\t //this works\n\t\t \n\t\t \n\t\t}",
"List<User> selectAll();",
"List<User> selectAll();",
"@GetMapping(path=\"/load\")\n\tpublic @ResponseBody Iterable<Resource> loadAllUsers() {\n\t\t try {\n\t\t\tList<Resource> resources = DataLoader.loadData(DataUtils.SLA2017);\n\t\t\tresourceRepository.save(resources);\n\t\t\tList<Resource> resourcesFalabella = DataLoader.loadData(DataUtils.FALABELLA);\n\t\t\tresourceRepository.save(resourcesFalabella);\n\t\t\tList<Resource> resourcesSantiago = DataLoader.loadData(DataUtils.SANTIAGO2017);\n\t\t\tresourceRepository.save(resourcesSantiago);\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\t return null;\n\t}",
"List<SysUser> selectAll();",
"@RequestMapping(value = \"/list\", method = RequestMethod.GET)\n public String loadUsers(Model model) {\n if (logger.isInfoEnabled()) {\n logger.info(\"TCH User Management sub menu Viewed by user {}\", SecurityContextHolder.getContext()\n .getAuthentication().getName());\n }\n List<UserConfigurationProperties> userConfigurationProperties = userConfigurationService.loadUsers();\n model.addAttribute(\"users\",\n new JsonObjectConverter<List<UserConfigurationProperties>>().stringify(userConfigurationProperties));\n model.addAttribute(C_MODEL_ATTR_ROLES, userConfigurationService.getAllRoles());\n model.addAttribute(C_MODEL_ATTR_ISSUER, issuerService.getIssuersSortedAscendingByName());\n return V_USER_PAGE;\n\n }",
"@Transactional\n\tpublic List<University> listAllUniversity() {\n\n\t\tCriteriaBuilder builder = getSession().getCriteriaBuilder();\n\t\tCriteriaQuery<University> criteriaQuery = builder.createQuery(University.class);\n\t\tRoot<University> root = criteriaQuery.from(University.class);\n\t\tcriteriaQuery.select(root);\n\t\tQuery<University> query = getSession().createQuery(criteriaQuery);\n\n\t\t// query.setFirstResult((page - 1) * 5);\n\t\t// query.setMaxResults(5);\n\t\treturn query.getResultList();\n\t}",
"@GetMapping(path=\"/all\")\n\tpublic @ResponseBody Iterable<Resource> getAllUsers() {\n\t\treturn resourceRepository.findAll();\n\t}",
"List<User> loadAll();",
"@GetMapping\n public String getPage(Map<String, Object> model) {\n model.put(\"users\", userService.getAll());\n return \"users\";\n }",
"List<UmsMenu> selectAll();",
"@RequestMapping(value = \"/tutorlist\", method = RequestMethod.GET)\n\tpublic String listTutors(ModelMap model)\n\t{\n\t\tList<User> users = userService.findAllTutors();\n\t\tmodel.addAttribute(\"users\", users);\n\t\tmodel.addAttribute(\"loggedinuser\", getPrincipalUsername());\n\t\treturn \"tutorslist\";\n\t}",
"List<Article> selectAll();",
"public void getAllUsers() {\n\t\t\n\t}",
"@GetMapping(\"/allUsersPosts\")\n public ResponseEntity<List<PostResource>> retrieveAllPostsForAllUsers() {\n //first we will retrieve all users to get their ids\n List<Long> userIds = externalService.retrieveAllUserIds();\n\n //then we will search for every post based on userId\n List<PostResource> postResources = new ArrayList<>();\n for (Long userId : userIds) {\n postResources.addAll(externalService.retrievePostsForUser(userId));\n }\n\n return new ResponseEntity<>(postResources, HttpStatus.ACCEPTED);\n }",
"private void updateStoryTable() {\n List<Story> stories = getModel().getAllStories();\n observableStories.setAll(stories);\n\n if (selectedStory.get() != null) {\n storyTable.getSelectionModel().select(selectedStory.get());\n }\n\n }",
"@GetMapping(\"/allusers\")\n\t@Secured({CommonConstants.ROLE_EMPLOYEE,CommonConstants.ROLE_ADMIN})\n\tpublic ResponseEntity<List<UserEntity>> fetchUsers(){\n\t\treturn new ResponseEntity<List<UserEntity>>(this.service.findAll(), HttpStatus.OK);\n\t}",
"List<Course> selectAll();",
"List<Userinfo> selectAll();",
"@RequestMapping(value = {\"/allUsersGames\"}, method = RequestMethod.GET)\n\t@ResponseBody\n\tpublic List<GameUserDTO> showGames(@RequestParam(\"username\") String username) {\n\t\tList<GameUserDTO> allGames = gameUserService.getGameUsersFromUsername(username);\n\t\treturn allGames;\n\t}",
"@RequestMapping(value = { \"/\", \"/list\" }, method = RequestMethod.GET)\r\n public String listusers(ModelMap model) {\r\n List users = service.findAllUser();\r\n model.addAttribute(\"users\", users);\r\n return \"allusers\";\r\n }",
"List<User> loadActiveUsers(User user);",
"public List getAllUsers();",
"@GetMapping(path = \"/all\")\n public @ResponseBody\n Iterable<User> getAllUsers() {\n LOG.info(\"Displays all the users from the database\");\n return userRepository.findAll();\n }",
"public void loadStoriesUrl(String username) {\r\n\t\tfin.clear();\r\n\t\tList<Reel> reels = new ArrayList<>();\r\n new FeedReelsTrayRequest().execute(client)\r\n \t.thenAccept(response -> {\r\n \t\treels.addAll(response.getTray()); \r\n }).join();\r\n String s = \"\";\r\n for(Reel reel: reels) \r\n \t//User\r\n \tif(reel.getUser().getUsername().equals(username)) { \t\t\r\n \t\tfor(int j = 0; j<reel.getMedia_count(); j++) { \r\n \t\t\ts = reel.getMedia_ids()[j]+\"_\"+reel.getUser().getPk(); \t\t\r\n new MediaInfoRequest(s).execute(client)\r\n .thenAccept(r -> {\r\n \t//check if video or img\r\n \tswitch(textBetweenWords(r.toString(), \"media_type=\", \", code\")) {\r\n \t\t//image\r\n \t\tcase \"1\":\r\n \t\t\tfin.add(new Story(textBetweenWords(r.toString().substring(1000), \"candidates=[ImageVersionsMeta(url=\", \", width=\"), 1, reel.getUser()));\r\n \t\t\tbreak; \t\t\r\n \t\t//video\r\n \t\tcase \"2\":\r\n \t\t\tfin.add(new Story(textBetweenWords(r.toString(), \"type=101, url=\", \"), VideoVersionsMeta(height=\"), 2, reel.getUser()));\r\n \t\t\tbreak;\r\n \t} \t\r\n }).join();\r\n \t\t}\r\n \t\tbreak; \t\t \r\n \t} \t \r\n\t}",
"public List<Person> UserSelect() {\n\t\t System.out.println(\"UserSelect\");\n\t\t return personDAO.getPersons();\n\t}",
"List<Teacher> selectAll();",
"@RequestMapping(\"/user/all\")\n public @ResponseBody Iterable<Tbl_Web_User_Info> getAllUsers(){\n \treturn userRepository.findAll();\n }",
"@RequestMapping(value=\"/admin/viewAllUsers.htm\", method=RequestMethod.GET)\n public String viewAllUsers(Model model) {\n \tList<User> userList = dao.getAllUsers();\n \t//Create user list categories\n \tList<User> pendingUsers = new ArrayList<User>();\n \tList<User> basicUsers = new ArrayList<User>();\n \tList<User> adminUsers = new ArrayList<User>();\n \t//Add users to lists\n \tfor(User user: userList){\n \t\tSet<UserRole> roles = user.getRoles();\n \t\tif(roles.isEmpty()){\n \t\t\tpendingUsers.add(user);\n \t\t}else{\n \t\t\tboolean isAdmin = false;\n \t\t\tfor(UserRole role:roles){\n \t\t\t\t//admins only shown in admin list\n \t\t\t\tif(role.getAuthority().equals(UserRole.ROLE_ADMIN)){\n \t\t\t\t\tisAdmin = true;\n \t\t\t\t}\n \t\t\t}\n \t\t\tif(isAdmin){\n\t\t\t\t\tadminUsers.add(user);\n\t\t\t\t}else{\n\t\t\t\t\tbasicUsers.add(user);\n\t\t\t\t}\n \t\t}\n \t}\n \t\n model.addAttribute(\"pendingUsers\", pendingUsers);\n model.addAttribute(\"basicUsers\", basicUsers);\n model.addAttribute(\"adminUsers\", adminUsers);\n \t\n return \"admin/all-users\";\n }",
"@GetMapping(path=\"/all\",produces = MediaType.APPLICATION_JSON_VALUE)\r\n public @ResponseBody\r\n Iterable<UserEntity> getAllUsers() {\n return userService.getAllUsers();\r\n }",
"@Override\r\n\tpublic void viewAllAccountsAllUsers() {\n\t\tas.getAllAccountsAllUsers();\r\n\t}",
"@RequestMapping(\"/alluser\")\n\t@ResponseBody\n\t@Secured({CommonConstants.ROLE_EMPLOYEE,CommonConstants.ROLE_ADMIN})\n\tpublic List<UserEntity> findAll() {\n\t\treturn this.service.findAll();\n\t}",
"public List<UserModel> getAllUsers()\n {\n List<UserModel> userModels =new ArrayList<>();\n //user.findAll().forEach(topics::add);\n for(UserModel userModel : userRepository.findAll())\n {\n userModels.add(userModel);\n }\n return userModels;\n }",
"@FXML\n void allSelected(ActionEvent event) {\n //Gets all auctions not being sold by you.\n String sqlSelect = \"Select * from artwork, auction where auction.auctionid = artwork.artworkid and auctioncomp = 0 and auction.seller <> '\" + this.username + \"';\";\n artworkTilePane.getChildren().clear(); //delete all previous artworks.\n getImages(FXCollections.observableArrayList(artworkDatabaseManager.getAllArtworks(sqlSelect)));\n }",
"@GetMapping(\"/all\")\r\n\tpublic List<Users> findAll()\r\n\t{\r\n\t\treturn userJPARepository.findAll(); //findAll() method is implemented ins Spring JpaRepository, which fetch and returns all the records from database using the give entity \r\n\t}",
"user showGoodsByUserId(long userId);",
"List<KingdomUser> getAllUsers();",
"ArrayList<Storydetail> selectAll(Integer mapId);",
"@RequestMapping(value = \"/user\", method = RequestMethod.GET)\n @PreAuthorize(\"hasRole('ADMIN')\")\n public ResponseEntity<List<UserAccount>> listAllUsers() {\n List<UserAccount> users = userAccountDetailsService.findAllUsers();\n if (users.isEmpty()) {\n return new ResponseEntity<List<UserAccount>>(HttpStatus.NO_CONTENT);//You many decide to return HttpStatus.NOT_FOUND\n }\n return new ResponseEntity<List<UserAccount>>(users, HttpStatus.OK);\n }",
"public List getAllStu();",
"@RequestMapping(method=RequestMethod.GET)\n\tpublic List<User> getAll() {\n\t\treturn repo.findAll();\n\t}",
"List<User_Role> selectAll();",
"List<Usertype> selectAll();",
"@RequestMapping(method = RequestMethod.GET)\n\tpublic List<User> getAll() {\n\t\tList<User> users = dao.getAll();\n\t\treturn users;\n\t}",
"@Deferred\n @RequestAction\n @IgnorePostback\n public void loadData() {\n users = userRepository.findAll();\n }",
"public void findAllUsers(Model model) {\n\t\tList<User> users = userRepo.findAll(Sort.by(Sort.Direction.ASC, \"role\"));\n\t\tmodel.addAttribute(\"listUsers\", users);\n\t}",
"@RequestMapping(value = \"list\", method = RequestMethod.GET)\n public String list(Model model) {\n LOGGER.info(\"Invoke list()\");\n List<TbUser> tbUsers = tbUserService.selectAll();\n model.addAttribute(\"tbUsers\", tbUsers);\n return \"user_list\";\n }",
"List<ExamRoom> selectAll();",
"@RequestMapping(method = RequestMethod.GET, value = \"/teamsForUser\")\n public JSONArray getAllTeamsForUserPage() {\n return teamService.getAllTeamsForUser();\n }",
"public List<User> getAllUsers();",
"@Override\r\n\tpublic List<User> viewUsers() {\n\t\treturn user.viewUsers();\r\n\t}",
"@PreAuthorize(\"hasAuthority('ADMIN')\")\n @GetMapping(\"/all\")\n public ResponseEntity<List<SecretaryModel>> getAllSecretaries() {\n return ResponseEntity.ok(secretaryService.getAllSecretaries());\n }",
"@RequestMapping(value = {\"/users/list\"}, method = RequestMethod.GET)\n\tpublic ResponseEntity<List<User>> fetchUsers() {\n\t\t\tSystem.out.println(\"fetching users\");\n\t\t\tList<User> user = userDAO.list(\"APPROVED\");\n\t\t\tSystem.out.println(user);\n\t\t\treturn new ResponseEntity<List<User>>(user, HttpStatus.OK);\n\t\t}",
"@Override\n public ObservableList<User> getAllUsers() {\n return controller.getAllUsers();\n }",
"@GetMapping(path = \"/all\")\n\tpublic @ResponseBody Iterable<SFDC> getAllUsers() {\n\t\treturn sfdcRepository.findAll();\n\t}",
"@GetMapping(path=\"/all\")\n\tpublic @ResponseBody Iterable<User> getAllUsers() {\n\t\t// This returns a JSON or XML with the users\n\t\treturn userRepository.findAll();\n\t}",
"List<User> getAllUsers();",
"List<User> getAllUsers();",
"@GetMapping(value = URL)\n @ResponseBody\n public List<Users> listAll() {\n return usersService.listAll();\n }",
"List<ChallengeTo> findAllChallengesByUser(int userId);",
"List<BaseUser> selectAll();",
"@GetMapping(\"/listAll\")\n public String listAll(Model model) {\n List<Person> people = personRepo.getAll();\n\n model.addAttribute(\"people\", people);\n\n return \"listAll\";\n }",
"public List getUsers(User user);",
"@GetMapping(\"/findAllSurveys\")\n\tpublic List<Survey> getAllSurveys(){\n\t\treturn repository.findAll(); \n\t}",
"Collection<S> getStories ();",
"@GetMapping(\"/\")\n\tpublic ResponseEntity<List<UsersDTO>> listAllusers(){\n\t\tList<UsersDTO> users = userJpaRepository.findAll();\n\t\tif(users.isEmpty()) {\n\t\t\treturn new ResponseEntity<List<UsersDTO>>(HttpStatus.NO_CONTENT);\n\t\t}\n\t\treturn new ResponseEntity<List<UsersDTO>>(users, HttpStatus.OK);\n\t}",
"List<KingdomUser> getUsers();",
"@Override\r\n\tpublic List findAll() {\n\t\treturn usermaindao.findAll();\r\n\t}",
"public List<User> selectAll() {\n\t\treturn mapper.selectAll();\n\t}",
"public List<DBObject> getNews(List<ObjectId> userStories, int skip) \n throws InputException, MongoException;",
"@GetMapping(path=\"/all\")\n public @ResponseBody Iterable<ReportedUser> getAllUsers() {\n return userRepository.findAll();\n }",
"public Result allSemesters(){\n\t\tUser user = Application.getLoggedUser();\n\t\tif (user == null || user.userType != UserType.ADMIN) {\n\t\t\treturn unauthorized(message.render(\"Please log in to the system as administrator\"));\n\t\t}\n\t\ttry{\n\t\t\tList<Semester> sems = SemesterDB.allSemesters();\n\t\t\t\n\t\t\treturn ok(viewSemesters.render(asScalaBuffer(sems)));\n\t\t\t\n\t\t}\tcatch (Exception e){\t\t\t\n\t\t\treturn internalServerError(message.render(\"Internal Server Error\"));\n\t\t}\n\t}",
"public List<User> getAllUsers(){\n return userRepository.findAll();\n }",
"@Override\n\tpublic List<User> selectall() {\n\t\treturn userMapper.selectall();\n\t}",
"@Override\n\tpublic List findCollectionsByUsername(String username) {\n\t\treturn myCollectionDao.selectDetailByUsername(username);\n\t}",
"private void setStoriesCount() {\n ParseQuery<Story> query = ParseQuery.getQuery(Story.class);\n // include objects related to a story\n query.whereEqualTo(Story.KEY_AUTHOR, user);\n query.countInBackground((count, e) -> {\n mStoriesTextView.setText(String.valueOf(count));\n });\n }",
"@GetMapping(\"/listAllDirectors\")\n public String showAllDirectors(Model model) {\n\n// Director director = directorRepo.findOne(new Long(1));\n Iterable <Director> directorlist = directorRepo.findAll();\n\n model.addAttribute(\"alldirectors\", directorlist);\n return \"listAllDirectors\";\n }",
"@Override\r\n\tpublic List<User1> getAll() {\n\t\tSession session = sessionFactory.getCurrentSession();\r\n\t\tQuery query = session.createQuery(\"FROM User1\");\r\n\t\treturn query.list();\r\n\t}",
"@GetMapping\n\tpublic List<UniversityStaffMember> viewAllStaffs() {\n\t\tList<UniversityStaffMember> list = universityService.viewAllStaffs();\n\t\tif (list.size() == 0)\n\t\t\tthrow new EmptyDataException(\"No University Staff in Database.\");\n\t\treturn list;\n\t}",
"@RequestMapping(value = \"/user\", method = RequestMethod.GET)\n\t public ResponseEntity<List<Users>> listAllUsers() \n\t {\n\t List<Users> users = userService.findAllUsers();\n\t if(users.isEmpty())\n\t {\n\t return new ResponseEntity<List<Users>>(HttpStatus.NO_CONTENT);//You many decide to return HttpStatus.NOT_FOUND\n\t }\n\t else\n\t {\n\t \treturn new ResponseEntity<List<Users>>(users, HttpStatus.OK);\n\t }\n\t }",
"public List<Author> selectAllAuthors();",
"@RequestMapping(value = \"/listAllForSelect\", method = RequestMethod.GET)\n\tpublic ResponseEntity<List<Map<String, Object>>> listAllForSelect() {\n\t\tList<Map<String, Object>> usernames = userService.listAllForSelect();\n\t\t// return.\n\t\treturn new ResponseEntity<List<Map<String, Object>>>(usernames, HttpStatus.OK);\n\t}",
"public List<Story> getLatestChallengesUndertaken() {\n return storyRepository.findTop50ByApprovedIsTrueOrderByLastUpdatedDesc();\n }",
"@GetMapping()\n @ResponseBody\n public List<UserResult> findAll() {\n return userService.findAll();\n }",
"@RequestMapping(method = RequestMethod.GET, path = \"/\")\n @Secured({\"ROLE_DOCTOR\"})\n @ResponseStatus(HttpStatus.OK)\n public List<Result> fetchAllResults(Principal principal) {\n log.info(\"Fetching all results using user with Id [{}]\", principal.getName());\n return resultService.fetchAll();\n }",
"@RequestMapping(value = {\"/list\" }, method = RequestMethod.GET)\n\tpublic String listUsers(ModelMap model) {\n\n\t\tList<User> users = userService.findAll();\n\t\tmodel.addAttribute(\"users\", users);\n\t\treturn \"userslist\";\n\t}",
"public List<Utilizator> listUsers();",
"public static ObservableList<User> selectAll() {\n DBConnection.startConnection();\n ObservableList<User> userList = FXCollections.observableArrayList();\n\n try (PreparedStatement ps = DBConnection.getConnection().prepareStatement(SELECT_ALL)) {\n ResultSet rs = ps.executeQuery();\n\n while (rs.next()) {\n int id = rs.getInt(\"User_ID\");\n\n User user = selectById(id);\n userList.add(user);\n }\n\n } catch (SQLException err) {\n err.printStackTrace();\n }\n\n return userList;\n }",
"Iterable<User> getAllUsers();",
"@GetMapping(\"/users\")\n\tpublic List<User> getUsers(){\n\t\treturn userRepository.findAll();\n\t\t\n\t}",
"List<BlogDetails> selectAll();",
"@Secured(\"ROLE_ADMIN\")\n\t@RequestMapping(method = RequestMethod.GET)\n\tpublic Iterable<SubjectEntity> getAllSubjects() {\n\treturn subjectRepository.findAll();\n\t}",
"Set<String> getUsers(String page);",
"List<User> fetchAllUSers();",
"List<Model> selectAll();",
"@RequestMapping(path = \"/yadaUserJoinList\", method = RequestMethod.GET)\n public ResponseEntity getYadaUserJoinList(HttpSession session) {\n\n String username = (String) session.getAttribute(\"username\");\n User user = users.findFirstByUsername(username);\n\n List<YadaUserJoin> yadaUserJoinsByUser = user.getYadaUserJoinList();\n\n return new ResponseEntity<>(yadaUserJoinsByUser, HttpStatus.OK);\n }",
"@RequestMapping(value = \"/getAll\", method = RequestMethod.GET)\n public ResponseEntity getAllUsers() {\n List<User> users = userService.getAllUsers();\n if (CollectionUtils.isEmpty(users)) {\n return new ResponseEntity(HttpStatus.NO_CONTENT);\n }\n return new ResponseEntity(users, HttpStatus.OK);\n }"
] | [
"0.6826423",
"0.63526076",
"0.5994839",
"0.5788068",
"0.56902313",
"0.56902313",
"0.5662239",
"0.55214715",
"0.5438012",
"0.54352593",
"0.54224",
"0.5421002",
"0.53604716",
"0.534857",
"0.53451705",
"0.5330724",
"0.5326049",
"0.5323832",
"0.53012204",
"0.5285099",
"0.52450526",
"0.5242743",
"0.5242212",
"0.5235158",
"0.52164894",
"0.5215429",
"0.51937175",
"0.5193104",
"0.519081",
"0.51886326",
"0.5184957",
"0.51814085",
"0.517537",
"0.51752543",
"0.5174799",
"0.51716214",
"0.5171504",
"0.5153249",
"0.5148182",
"0.513389",
"0.5128298",
"0.51213485",
"0.5111023",
"0.51109827",
"0.5108342",
"0.51066715",
"0.5102929",
"0.5099651",
"0.5096835",
"0.50968325",
"0.5091806",
"0.5087581",
"0.50859094",
"0.5084203",
"0.5082578",
"0.5081235",
"0.5077966",
"0.5074339",
"0.50732017",
"0.5071842",
"0.5071842",
"0.50603175",
"0.50541604",
"0.5048681",
"0.504546",
"0.5041271",
"0.5037967",
"0.5029663",
"0.50272214",
"0.5024815",
"0.50238705",
"0.5022007",
"0.5019506",
"0.50121343",
"0.5012079",
"0.5004088",
"0.5002417",
"0.5001384",
"0.5000959",
"0.4994041",
"0.49925324",
"0.4991327",
"0.49899012",
"0.49896502",
"0.49894074",
"0.49823114",
"0.49786776",
"0.4978346",
"0.49707294",
"0.497057",
"0.49692345",
"0.49680936",
"0.4966627",
"0.49644768",
"0.49631488",
"0.49561742",
"0.49559203",
"0.4952399",
"0.49458706",
"0.49458152"
] | 0.65775365 | 1 |
This class was generated by Apache CXF 2.6.2 20130328T09:31:29.24805:00 Generated source version: 2.6.2 | @WebService(targetNamespace = "http://payment.services.adyen.com", name = "PaymentPortType")
@XmlSeeAlso({com.adyen.services.common.ObjectFactory.class, ObjectFactory.class})
public interface PaymentPortType {
@WebResult(name = "captureResult", targetNamespace = "http://payment.services.adyen.com")
@RequestWrapper(localName = "capture", targetNamespace = "http://payment.services.adyen.com", className = "com.adyen.services.payment.Capture")
@WebMethod
@ResponseWrapper(localName = "captureResponse", targetNamespace = "http://payment.services.adyen.com", className = "com.adyen.services.payment.CaptureResponse")
public com.adyen.services.payment.ModificationResult capture(
@WebParam(name = "modificationRequest", targetNamespace = "http://payment.services.adyen.com")
com.adyen.services.payment.ModificationRequest modificationRequest
) throws ServiceException;
@WebResult(name = "refundResult", targetNamespace = "http://payment.services.adyen.com")
@RequestWrapper(localName = "refund", targetNamespace = "http://payment.services.adyen.com", className = "com.adyen.services.payment.Refund")
@WebMethod
@ResponseWrapper(localName = "refundResponse", targetNamespace = "http://payment.services.adyen.com", className = "com.adyen.services.payment.RefundResponse")
public com.adyen.services.payment.ModificationResult refund(
@WebParam(name = "modificationRequest", targetNamespace = "http://payment.services.adyen.com")
com.adyen.services.payment.ModificationRequest modificationRequest
) throws ServiceException;
@WebResult(name = "result", targetNamespace = "http://payment.services.adyen.com")
@RequestWrapper(localName = "fundTransfer", targetNamespace = "http://payment.services.adyen.com", className = "com.adyen.services.payment.FundTransfer")
@WebMethod
@ResponseWrapper(localName = "fundTransferResponse", targetNamespace = "http://payment.services.adyen.com", className = "com.adyen.services.payment.FundTransferResponse")
public com.adyen.services.payment.FundTransferResult fundTransfer(
@WebParam(name = "request", targetNamespace = "http://payment.services.adyen.com")
com.adyen.services.payment.FundTransferRequest request
) throws ServiceException;
@WebResult(name = "authoriseReferralResult", targetNamespace = "http://payment.services.adyen.com")
@RequestWrapper(localName = "authoriseReferral", targetNamespace = "http://payment.services.adyen.com", className = "com.adyen.services.payment.AuthoriseReferral")
@WebMethod
@ResponseWrapper(localName = "authoriseReferralResponse", targetNamespace = "http://payment.services.adyen.com", className = "com.adyen.services.payment.AuthoriseReferralResponse")
public com.adyen.services.payment.ModificationResult authoriseReferral(
@WebParam(name = "modificationRequest", targetNamespace = "http://payment.services.adyen.com")
com.adyen.services.payment.ModificationRequest modificationRequest
) throws ServiceException;
@WebResult(name = "result", targetNamespace = "http://payment.services.adyen.com")
@RequestWrapper(localName = "refundWithData", targetNamespace = "http://payment.services.adyen.com", className = "com.adyen.services.payment.RefundWithData")
@WebMethod
@ResponseWrapper(localName = "refundWithDataResponse", targetNamespace = "http://payment.services.adyen.com", className = "com.adyen.services.payment.RefundWithDataResponse")
public com.adyen.services.payment.PaymentResult refundWithData(
@WebParam(name = "request", targetNamespace = "http://payment.services.adyen.com")
com.adyen.services.payment.PaymentRequest request
) throws ServiceException;
@WebResult(name = "cancelResult", targetNamespace = "http://payment.services.adyen.com")
@RequestWrapper(localName = "cancel", targetNamespace = "http://payment.services.adyen.com", className = "com.adyen.services.payment.Cancel")
@WebMethod
@ResponseWrapper(localName = "cancelResponse", targetNamespace = "http://payment.services.adyen.com", className = "com.adyen.services.payment.CancelResponse")
public com.adyen.services.payment.ModificationResult cancel(
@WebParam(name = "modificationRequest", targetNamespace = "http://payment.services.adyen.com")
com.adyen.services.payment.ModificationRequest modificationRequest
) throws ServiceException;
@WebResult(name = "paymentResult", targetNamespace = "http://payment.services.adyen.com")
@RequestWrapper(localName = "authorise3d", targetNamespace = "http://payment.services.adyen.com", className = "com.adyen.services.payment.Authorise3D")
@WebMethod(operationName = "authorise3d")
@ResponseWrapper(localName = "authorise3dResponse", targetNamespace = "http://payment.services.adyen.com", className = "com.adyen.services.payment.Authorise3DResponse")
public com.adyen.services.payment.PaymentResult authorise3D(
@WebParam(name = "paymentRequest3d", targetNamespace = "http://payment.services.adyen.com")
com.adyen.services.payment.PaymentRequest3D paymentRequest3D
) throws ServiceException;
@WebResult(name = "response", targetNamespace = "http://payment.services.adyen.com")
@RequestWrapper(localName = "balanceCheck", targetNamespace = "http://payment.services.adyen.com", className = "com.adyen.services.payment.BalanceCheck")
@WebMethod
@ResponseWrapper(localName = "balanceCheckResponse", targetNamespace = "http://payment.services.adyen.com", className = "com.adyen.services.payment.BalanceCheckResponse")
public com.adyen.services.payment.BalanceCheckResult balanceCheck(
@WebParam(name = "request", targetNamespace = "http://payment.services.adyen.com")
com.adyen.services.payment.BalanceCheckRequest request
) throws ServiceException;
@WebResult(name = "response", targetNamespace = "http://payment.services.adyen.com")
@RequestWrapper(localName = "directdebit", targetNamespace = "http://payment.services.adyen.com", className = "com.adyen.services.payment.Directdebit")
@WebMethod
@ResponseWrapper(localName = "directdebitResponse", targetNamespace = "http://payment.services.adyen.com", className = "com.adyen.services.payment.DirectdebitResponse")
public com.adyen.services.payment.DirectDebitResponse2 directdebit(
@WebParam(name = "request", targetNamespace = "http://payment.services.adyen.com")
com.adyen.services.payment.DirectDebitRequest request
) throws ServiceException;
@WebResult(name = "cancelOrRefundResult", targetNamespace = "http://payment.services.adyen.com")
@RequestWrapper(localName = "cancelOrRefund", targetNamespace = "http://payment.services.adyen.com", className = "com.adyen.services.payment.CancelOrRefund")
@WebMethod
@ResponseWrapper(localName = "cancelOrRefundResponse", targetNamespace = "http://payment.services.adyen.com", className = "com.adyen.services.payment.CancelOrRefundResponse")
public com.adyen.services.payment.ModificationResult cancelOrRefund(
@WebParam(name = "modificationRequest", targetNamespace = "http://payment.services.adyen.com")
com.adyen.services.payment.ModificationRequest modificationRequest
) throws ServiceException;
@WebResult(name = "paymentResult", targetNamespace = "http://payment.services.adyen.com")
@RequestWrapper(localName = "authorise", targetNamespace = "http://payment.services.adyen.com", className = "com.adyen.services.payment.Authorise")
@WebMethod
@ResponseWrapper(localName = "authoriseResponse", targetNamespace = "http://payment.services.adyen.com", className = "com.adyen.services.payment.AuthoriseResponse")
public com.adyen.services.payment.PaymentResult authorise(
@WebParam(name = "paymentRequest", targetNamespace = "http://payment.services.adyen.com")
com.adyen.services.payment.PaymentRequest paymentRequest
) throws ServiceException;
@WebResult(name = "paymentResult", targetNamespace = "http://payment.services.adyen.com")
@RequestWrapper(localName = "checkFraud", targetNamespace = "http://payment.services.adyen.com", className = "com.adyen.services.payment.CheckFraud")
@WebMethod
@ResponseWrapper(localName = "checkFraudResponse", targetNamespace = "http://payment.services.adyen.com", className = "com.adyen.services.payment.CheckFraudResponse")
public com.adyen.services.payment.PaymentResult checkFraud(
@WebParam(name = "paymentRequest", targetNamespace = "http://payment.services.adyen.com")
com.adyen.services.payment.PaymentRequest paymentRequest
) throws ServiceException;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@WebService(targetNamespace = \"http://demo.cxf.com/\", name = \"SampleService\")\n@XmlSeeAlso({ObjectFactory.class})\npublic interface SampleService {\n\n @WebMethod\n @RequestWrapper(localName = \"serviceMethod\", targetNamespace = \"http://demo.cxf.com/\", className = \"com.cxf.demo.sample.client.ServiceMethod\")\n @ResponseWrapper(localName = \"serviceMethodResponse\", targetNamespace = \"http://demo.cxf.com/\", className = \"com.cxf.demo.sample.client.ServiceMethodResponse\")\n @WebResult(name = \"return\", targetNamespace = \"\")\n public java.lang.String serviceMethod();\n}",
"@WebService(targetNamespace = \"http://soap.sforce.com/2005/09/outbound\", name = \"NotificationPort\")\n@XmlSeeAlso({ObjectFactory.class})\npublic interface NotificationPort {\n\n /**\n * Process a number of notifications.\n */\n @WebResult(name = \"Ack\", targetNamespace = \"http://soap.sforce.com/2005/09/outbound\")\n @RequestWrapper(localName = \"notifications\", targetNamespace = \"http://soap.sforce.com/2005/09/outbound\", className = \"com.barryku.cloud.cxf.Notifications\")\n @WebMethod\n @ResponseWrapper(localName = \"notificationsResponse\", targetNamespace = \"http://soap.sforce.com/2005/09/outbound\", className = \"com.barryku.cloud.cxf.NotificationsResponse\")\n public boolean notifications(\n @WebParam(name = \"OrganizationId\", targetNamespace = \"http://soap.sforce.com/2005/09/outbound\")\n java.lang.String organizationId,\n @WebParam(name = \"ActionId\", targetNamespace = \"http://soap.sforce.com/2005/09/outbound\")\n java.lang.String actionId,\n @WebParam(name = \"SessionId\", targetNamespace = \"http://soap.sforce.com/2005/09/outbound\")\n java.lang.String sessionId,\n @WebParam(name = \"EnterpriseUrl\", targetNamespace = \"http://soap.sforce.com/2005/09/outbound\")\n java.lang.String enterpriseUrl,\n @WebParam(name = \"PartnerUrl\", targetNamespace = \"http://soap.sforce.com/2005/09/outbound\")\n java.lang.String partnerUrl,\n @WebParam(name = \"Notification\", targetNamespace = \"http://soap.sforce.com/2005/09/outbound\")\n java.util.List<com.barryku.cloud.cxf.BookCNotification> notification\n );\n}",
"@WebService(name = \"HelloService\", targetNamespace = \"http://soap_spring_cxf.ws.demo/\")\r\n@XmlSeeAlso({\r\n ObjectFactory.class\r\n})\r\npublic interface HelloService {\r\n\r\n\r\n /**\r\n * \r\n * @param name\r\n * @return\r\n * returns java.lang.String\r\n */\r\n @WebMethod\r\n @WebResult(targetNamespace = \"\")\r\n @RequestWrapper(localName = \"say\", targetNamespace = \"http://soap_spring_cxf.ws.demo/\", className = \"demo.ws.soap_spring_cxf.Say\")\r\n @ResponseWrapper(localName = \"sayResponse\", targetNamespace = \"http://soap_spring_cxf.ws.demo/\", className = \"demo.ws.soap_spring_cxf.SayResponse\")\r\n public String say(\r\n @WebParam(name = \"name\", targetNamespace = \"\")\r\n String name);\r\n\r\n}",
"@WebService(targetNamespace = \"http://endpoint.apachecxf.soap.demo.uwefuchs.com/\", name = \"Baeldung\")\n@XmlSeeAlso({ObjectFactory.class})\npublic interface Baeldung {\n\n @WebMethod\n @RequestWrapper(localName = \"helloStudent\", targetNamespace = \"http://endpoint.apachecxf.soap.demo.uwefuchs.com/\", className = \"com.uwefuchs.demo.soap.apachecxf.endpoint.HelloStudent\")\n @ResponseWrapper(localName = \"helloStudentResponse\", targetNamespace = \"http://endpoint.apachecxf.soap.demo.uwefuchs.com/\", className = \"com.uwefuchs.demo.soap.apachecxf.endpoint.HelloStudentResponse\")\n @WebResult(name = \"return\", targetNamespace = \"\")\n public java.lang.String helloStudent(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n com.uwefuchs.demo.soap.apachecxf.endpoint.Student arg0\n );\n\n @WebMethod\n @RequestWrapper(localName = \"hello\", targetNamespace = \"http://endpoint.apachecxf.soap.demo.uwefuchs.com/\", className = \"com.uwefuchs.demo.soap.apachecxf.endpoint.Hello\")\n @ResponseWrapper(localName = \"helloResponse\", targetNamespace = \"http://endpoint.apachecxf.soap.demo.uwefuchs.com/\", className = \"com.uwefuchs.demo.soap.apachecxf.endpoint.HelloResponse\")\n @WebResult(name = \"return\", targetNamespace = \"\")\n public java.lang.String hello(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n java.lang.String arg0\n );\n\n @WebMethod\n @RequestWrapper(localName = \"getStudents\", targetNamespace = \"http://endpoint.apachecxf.soap.demo.uwefuchs.com/\", className = \"com.uwefuchs.demo.soap.apachecxf.endpoint.GetStudents\")\n @ResponseWrapper(localName = \"getStudentsResponse\", targetNamespace = \"http://endpoint.apachecxf.soap.demo.uwefuchs.com/\", className = \"com.uwefuchs.demo.soap.apachecxf.endpoint.GetStudentsResponse\")\n @WebResult(name = \"return\", targetNamespace = \"\")\n public com.uwefuchs.demo.soap.apachecxf.endpoint.StudentMap getStudents();\n}",
"@WebService(targetNamespace = \"http://interfaces.webService.xxdai.com/\", name = \"BaseInfoCXFService\")\n@XmlSeeAlso({ObjectFactory.class})\npublic interface BaseInfoCXFService {\n\n @WebResult(name = \"return\", targetNamespace = \"\")\n @RequestWrapper(localName = \"alterBaseInfo\", targetNamespace = \"http://interfaces.webService.xxdai.com/\", className = \"com.xxdai.person.ws.baseinfo.AlterBaseInfo\")\n @WebMethod\n @ResponseWrapper(localName = \"alterBaseInfoResponse\", targetNamespace = \"http://interfaces.webService.xxdai.com/\", className = \"com.xxdai.person.ws.baseinfo.AlterBaseInfoResponse\")\n public java.lang.String alterBaseInfo(\n @WebParam(name = \"alterBaseInfoJson\", targetNamespace = \"\")\n java.lang.String alterBaseInfoJson\n );\n}",
"@WebService(name = \"CustomerSoapType\", targetNamespace = \"http://test.co.id/ws/customer/\")\n@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface CustomerSoapType {\n\n\n /**\n * Request All Customer\n * \n * @return\n * returns id.co.bca.ws.mbs.soap.customer.ListOfCustomerType\n */\n @WebMethod(operationName = \"GetAllCustomer\")\n @WebResult(name = \"GetAllCustomerResponse\", targetNamespace = \"http://test.co.id/ws/customer/\", partName = \"parameters\")\n public ListOfCustomerType getAllCustomer();\n\n /**\n * Insert Customer\n * \n * @param parameters\n * @return\n * returns java.lang.String\n */\n @WebMethod(operationName = \"InsertCustomer\")\n @WebResult(name = \"InsertCustomerResponse\", targetNamespace = \"http://test.co.id/ws/customer/\", partName = \"parameters\")\n public String insertCustomer(\n @WebParam(name = \"InsertCustomer\", targetNamespace = \"http://test.co.id/ws/customer/\", partName = \"parameters\")\n CustomerType parameters);\n\n}",
"@WebService(targetNamespace = \"http://cxf.poc.ideo.com/\", name = \"OperationService\")\n@XmlSeeAlso({ObjectFactory.class})\n@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)\npublic interface OperationService {\n\n @WebResult(name = \"additionResponse\", targetNamespace = \"http://cxf.poc.ideo.com/\", partName = \"additionResponse\")\n @WebMethod\n public AdditionResponse addition(\n @WebParam(partName = \"additionRequest\", name = \"additionRequest\", targetNamespace = \"http://cxf.poc.ideo.com/\")\n AdditionRequest additionRequest\n );\n}",
"@WebService(targetNamespace = \"urn:sap-com:document:sap:rfc:functions\", name = \"ZSDRFC_AMC_CONTRACT_VALIDATION\")\n@XmlSeeAlso({ObjectFactory.class})\npublic interface ZSDRFCAMCCONTRACTVALIDATION {\n\n @WebMethod(operationName = \"ZSDRFC_AMC_CONTRACT_VALIDATION\", action = \"urn:sap-com:document:sap:rfc:functions:ZSDRFC_AMC_CONTRACT_VALIDATION:ZSDRFC_AMC_CONTRACT_VALIDATIONRequest\")\n @RequestWrapper(localName = \"ZSDRFC_AMC_CONTRACT_VALIDATION\", targetNamespace = \"urn:sap-com:document:sap:rfc:functions\", className = \"com.sap.document.sap.rfc.functions.ZSDRFCAMCCONTRACTVALIDATION_Type\")\n @ResponseWrapper(localName = \"ZSDRFC_AMC_CONTRACT_VALIDATIONResponse\", targetNamespace = \"urn:sap-com:document:sap:rfc:functions\", className = \"com.sap.document.sap.rfc.functions.ZSDRFCAMCCONTRACTVALIDATIONResponse\")\n public void zsdrfcAMCCONTRACTVALIDATION(\n @WebParam(name = \"CHASSIS_NO\", targetNamespace = \"\")\n java.lang.String chassisNO,\n @WebParam(name = \"CHASSIS_PL\", targetNamespace = \"\")\n java.lang.String chassisPL,\n @WebParam(name = \"CONTRACT_NO\", targetNamespace = \"\")\n java.lang.String contractNO,\n @WebParam(name = \"CRM_SALE_DATE\", targetNamespace = \"\")\n java.lang.String crmSALEDATE,\n @WebParam(mode = WebParam.Mode.INOUT, name = \"IT_AMC\", targetNamespace = \"\")\n javax.xml.ws.Holder<TABLEOFZSDAMCLINEITEM> itAMC,\n @WebParam(name = \"KMS\", targetNamespace = \"\")\n int kms,\n @WebParam(mode = WebParam.Mode.OUT, name = \"REMARKS\", targetNamespace = \"\")\n javax.xml.ws.Holder<java.lang.String> remarks\n );\n}",
"@WebService(wsdlLocation=\"https://salescloud-hostname/crmCommonSalesParties/AccountService?WSDL\",\n targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/\",\n name=\"AccountService\")\n@XmlSeeAlso(\n { ObjectFactory.class })\npublic interface AccountService\n{\n @WebMethod(action=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/processCSAccount\")\n @Action(input=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/processCSAccount\", fault =\n { @FaultAction(value=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/AccountService/processCSAccount/Fault/ServiceException\",\n className = ServiceException.class) }, output=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/AccountService/processCSAccountResponse\")\n @ResponseWrapper(localName=\"processCSAccountResponse\", targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.ProcessCSAccountResponse\")\n @RequestWrapper(localName=\"processCSAccount\", targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.ProcessCSAccount\")\n @WebResult(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"result\")\n public ProcessData processCSAccount(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"processData\")\n ProcessData processData, @WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"processControl\")\n ProcessControl processControl)\n throws ServiceException;\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/processCSAccountAsync\")\n @Action(input=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/processCSAccountAsync\")\n @RequestWrapper(localName=\"processCSAccountAsync\", targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.ProcessCSAccountAsync\")\n @Oneway\n public void processCSAccountAsync(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"processData\")\n ProcessData processData, @WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"processControl\")\n ProcessControl processControl);\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/getDfltObjAttrHints\")\n @Action(input=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/getDfltObjAttrHints\", fault =\n { @FaultAction(value=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/AccountService/getDfltObjAttrHints/Fault/ServiceException\",\n className = ServiceException.class) }, output=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/AccountService/getDfltObjAttrHintsResponse\")\n @ResponseWrapper(localName=\"getDfltObjAttrHintsResponse\",\n targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.GetDfltObjAttrHintsResponse\")\n @RequestWrapper(localName=\"getDfltObjAttrHints\", targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.GetDfltObjAttrHints\")\n @WebResult(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"result\")\n public ObjAttrHints getDfltObjAttrHints(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"viewName\")\n String viewName, @WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"localeName\")\n String localeName)\n throws ServiceException;\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/getServiceLastUpdateTime\")\n @Action(input=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/getServiceLastUpdateTime\", fault =\n { @FaultAction(value=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/AccountService/getServiceLastUpdateTime/Fault/ServiceException\",\n className = ServiceException.class) }, output=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/AccountService/getServiceLastUpdateTimeResponse\")\n @ResponseWrapper(localName=\"getServiceLastUpdateTimeResponse\",\n targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.GetServiceLastUpdateTimeResponse\")\n @RequestWrapper(localName=\"getServiceLastUpdateTime\", targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.GetServiceLastUpdateTime\")\n @WebResult(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"result\")\n public XMLGregorianCalendar getServiceLastUpdateTime()\n throws ServiceException;\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/getEntityList\")\n @Action(input=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/getEntityList\", fault =\n { @FaultAction(value=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/AccountService/getEntityList/Fault/ServiceException\",\n className = ServiceException.class) }, output=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/AccountService/getEntityListResponse\")\n @ResponseWrapper(localName=\"getEntityListResponse\", targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.GetEntityListResponse\")\n @RequestWrapper(localName=\"getEntityList\", targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.GetEntityList\")\n @WebResult(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"result\")\n public List<ServiceViewInfo> getEntityList()\n throws ServiceException;\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/getEntityListAsync\")\n @Action(input=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/getEntityListAsync\")\n @RequestWrapper(localName=\"getEntityListAsync\", targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.GetEntityListAsync\")\n @Oneway\n public void getEntityListAsync();\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/getDfltObjAttrHintsAsync\")\n @Action(input=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/getDfltObjAttrHintsAsync\")\n @RequestWrapper(localName=\"getDfltObjAttrHintsAsync\", targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.GetDfltObjAttrHintsAsync\")\n @Oneway\n public void getDfltObjAttrHintsAsync(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"viewName\")\n String viewName, @WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"localeName\")\n String localeName);\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/getServiceLastUpdateTimeAsync\")\n @Action(input=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/getServiceLastUpdateTimeAsync\")\n @RequestWrapper(localName=\"getServiceLastUpdateTimeAsync\",\n targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.GetServiceLastUpdateTimeAsync\")\n @Oneway\n public void getServiceLastUpdateTimeAsync();\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/getAccount\")\n @Action(input=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/getAccount\", fault =\n { @FaultAction(value=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/AccountService/getAccount/Fault/ServiceException\",\n className = ServiceException.class) }, output=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/AccountService/getAccountResponse\")\n @ResponseWrapper(localName=\"getAccountResponse\", targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.GetAccountResponse\")\n @RequestWrapper(localName=\"getAccount\", targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.GetAccount\")\n @WebResult(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"result\")\n public DataObjectResult getAccount(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"PartyId\")\n long partyId)\n throws ServiceException;\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/createAccount\")\n @Action(input=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/createAccount\", fault =\n { @FaultAction(value=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/AccountService/createAccount/Fault/ServiceException\",\n className = ServiceException.class) }, output=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/AccountService/createAccountResponse\")\n @ResponseWrapper(localName=\"createAccountResponse\", targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.CreateAccountResponse\")\n @RequestWrapper(localName=\"createAccount\", targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.CreateAccount\")\n @WebResult(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"result\")\n public DataObjectResult createAccount(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"account\")\n Account account)\n throws ServiceException;\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/updateAccount\")\n @Action(input=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/updateAccount\", fault =\n { @FaultAction(value=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/AccountService/updateAccount/Fault/ServiceException\",\n className = ServiceException.class) }, output=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/AccountService/updateAccountResponse\")\n @ResponseWrapper(localName=\"updateAccountResponse\", targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.UpdateAccountResponse\")\n @RequestWrapper(localName=\"updateAccount\", targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.UpdateAccount\")\n @WebResult(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"result\")\n public DataObjectResult updateAccount(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"account\")\n Account account)\n throws ServiceException;\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/deleteAccount\")\n @Action(input=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/deleteAccount\", fault =\n { @FaultAction(value=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/AccountService/deleteAccount/Fault/ServiceException\",\n className = ServiceException.class) }, output=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/AccountService/deleteAccountResponse\")\n @ResponseWrapper(localName=\"deleteAccountResponse\", targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.DeleteAccountResponse\")\n @RequestWrapper(localName=\"deleteAccount\", targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.DeleteAccount\")\n @WebResult(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"result\")\n public MethodResult deleteAccount(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"account\")\n Account account)\n throws ServiceException;\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/mergeAccount\")\n @Action(input=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/mergeAccount\", fault =\n { @FaultAction(value=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/AccountService/mergeAccount/Fault/ServiceException\",\n className = ServiceException.class) }, output=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/AccountService/mergeAccountResponse\")\n @ResponseWrapper(localName=\"mergeAccountResponse\", targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.MergeAccountResponse\")\n @RequestWrapper(localName=\"mergeAccount\", targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.MergeAccount\")\n @WebResult(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"result\")\n public DataObjectResult mergeAccount(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"account\")\n Account account)\n throws ServiceException;\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/findAccount\")\n @Action(input=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/findAccount\", fault =\n { @FaultAction(value=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/AccountService/findAccount/Fault/ServiceException\",\n className = ServiceException.class) }, output=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/AccountService/findAccountResponse\")\n @ResponseWrapper(localName=\"findAccountResponse\", targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.FindAccountResponse\")\n @RequestWrapper(localName=\"findAccount\", targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.FindAccount\")\n @WebResult(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"result\")\n public DataObjectResult findAccount(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"findCriteria\")\n FindCriteria findCriteria, @WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"findControl\")\n FindControl findControl)\n throws ServiceException;\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/processAccount\")\n @Action(input=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/processAccount\", fault =\n { @FaultAction(value=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/AccountService/processAccount/Fault/ServiceException\",\n className = ServiceException.class) }, output=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/AccountService/processAccountResponse\")\n @ResponseWrapper(localName=\"processAccountResponse\", targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.ProcessAccountResponse\")\n @RequestWrapper(localName=\"processAccount\", targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.ProcessAccount\")\n @WebResult(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"result\")\n public DataObjectResult processAccount(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"changeOperation\")\n String changeOperation, @WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"account\")\n List<Account> account, @WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"processControl\")\n ProcessControl processControl)\n throws ServiceException;\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/findAccountAsync\")\n @Action(input=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/findAccountAsync\")\n @RequestWrapper(localName=\"findAccountAsync\", targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.FindAccountAsync\")\n @Oneway\n public void findAccountAsync(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"findCriteria\")\n FindCriteria findCriteria, @WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"findControl\")\n FindControl findControl);\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/updateAccountAsync\")\n @Action(input=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/updateAccountAsync\")\n @RequestWrapper(localName=\"updateAccountAsync\", targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.UpdateAccountAsync\")\n @Oneway\n public void updateAccountAsync(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"account\")\n Account account);\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/createAccountAsync\")\n @Action(input=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/createAccountAsync\")\n @RequestWrapper(localName=\"createAccountAsync\", targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.CreateAccountAsync\")\n @Oneway\n public void createAccountAsync(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"account\")\n Account account);\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/mergeAccountAsync\")\n @Action(input=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/mergeAccountAsync\")\n @RequestWrapper(localName=\"mergeAccountAsync\", targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.MergeAccountAsync\")\n @Oneway\n public void mergeAccountAsync(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"account\")\n Account account);\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/getAccountAsync\")\n @Action(input=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/getAccountAsync\")\n @RequestWrapper(localName=\"getAccountAsync\", targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.GetAccountAsync\")\n @Oneway\n public void getAccountAsync(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"PartyId\")\n long partyId);\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/processAccountAsync\")\n @Action(input=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/processAccountAsync\")\n @RequestWrapper(localName=\"processAccountAsync\", targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.ProcessAccountAsync\")\n @Oneway\n public void processAccountAsync(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"changeOperation\")\n String changeOperation, @WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"account\")\n List<Account> account, @WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"processControl\")\n ProcessControl processControl);\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/deleteAccountAsync\")\n @Action(input=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/deleteAccountAsync\")\n @RequestWrapper(localName=\"deleteAccountAsync\", targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n className=\"oracle.cloud.sampleapps.nearmejwt.types.DeleteAccountAsync\")\n @Oneway\n public void deleteAccountAsync(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/\",\n name=\"account\")\n Account account);\n}",
"@WebService(name = \"HelloWS\", targetNamespace = \"http://ws.proxy.devwithimagination.com/\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface HelloWS {\n\n\n /**\n * \n * @param arg0\n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getHello\", targetNamespace = \"http://ws.proxy.devwithimagination.com/\", className = \"com.devwithimagination.proxy.ws.one.GetHello\")\n @ResponseWrapper(localName = \"getHelloResponse\", targetNamespace = \"http://ws.proxy.devwithimagination.com/\", className = \"com.devwithimagination.proxy.ws.one.GetHelloResponse\")\n @Action(input = \"http://ws.proxy.devwithimagination.com/HelloWS/getHelloRequest\", output = \"http://ws.proxy.devwithimagination.com/HelloWS/getHelloResponse\")\n public String getHello(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n String arg0);\n\n /**\n * \n * @param arg0\n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getHelloWithAuth\", targetNamespace = \"http://ws.proxy.devwithimagination.com/\", className = \"com.devwithimagination.proxy.ws.one.GetHelloWithAuth\")\n @ResponseWrapper(localName = \"getHelloWithAuthResponse\", targetNamespace = \"http://ws.proxy.devwithimagination.com/\", className = \"com.devwithimagination.proxy.ws.one.GetHelloWithAuthResponse\")\n @Action(input = \"http://ws.proxy.devwithimagination.com/HelloWS/getHelloWithAuthRequest\", output = \"http://ws.proxy.devwithimagination.com/HelloWS/getHelloWithAuthResponse\")\n public String getHelloWithAuth(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n String arg0);\n\n}",
"@WebService(targetNamespace = \"http://tempuri.org/\", name = \"WebService1Soap\")\r\n@XmlSeeAlso({ObjectFactory.class})\r\npublic interface WebService1Soap {\r\n\r\n @WebResult(name = \"SendMessageResult\", targetNamespace = \"http://tempuri.org/\")\r\n @RequestWrapper(localName = \"SendMessage\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.SendMessage\")\r\n @WebMethod(operationName = \"SendMessage\", action = \"http://tempuri.org/SendMessage\")\r\n @ResponseWrapper(localName = \"SendMessageResponse\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.SendMessageResponse\")\r\n public java.lang.String sendMessage(\r\n @WebParam(name = \"strConnectorName\", targetNamespace = \"http://tempuri.org/\")\r\n java.lang.String strConnectorName,\r\n @WebParam(name = \"strDisServerHost\", targetNamespace = \"http://tempuri.org/\")\r\n java.lang.String strDisServerHost,\r\n @WebParam(name = \"strMessage\", targetNamespace = \"http://tempuri.org/\")\r\n java.lang.String strMessage,\r\n @WebParam(name = \"strMessageType\", targetNamespace = \"http://tempuri.org/\")\r\n java.lang.String strMessageType,\r\n @WebParam(name = \"strMessageSchema\", targetNamespace = \"http://tempuri.org/\")\r\n java.lang.String strMessageSchema,\r\n @WebParam(name = \"strNull\", targetNamespace = \"http://tempuri.org/\")\r\n java.lang.String strNull\r\n );\r\n}",
"@WebService(targetNamespace = \"http://ws.integration.pizzashack.nz.co/\", name = \"BillingProcessWebServices\")\n@XmlSeeAlso({ObjectFactory.class})\npublic interface BillingProcessWebServices {\n\n @WebResult(name = \"return\", targetNamespace = \"\")\n @RequestWrapper(localName = \"billingProcess\", targetNamespace = \"http://ws.integration.pizzashack.nz.co/\", className = \"co.nz.pizzashack.client.integration.ws.client.stub.BillingProcess\")\n @WebMethod\n @ResponseWrapper(localName = \"billingProcessResponse\", targetNamespace = \"http://ws.integration.pizzashack.nz.co/\", className = \"co.nz.pizzashack.client.integration.ws.client.stub.BillingProcessResponse\")\n public co.nz.pizzashack.client.integration.ws.client.stub.BillingResponse billingProcess(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n co.nz.pizzashack.client.integration.ws.client.stub.BillingDto arg0\n ) throws FaultMessage;\n}",
"@WebService(name = \"zperson_communic\", targetNamespace = \"urn:sap-com:document:sap:soap:functions:mc-style\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface ZpersonCommunic {\n\n\n /**\n * \n * @param employeeId\n * @param lastnameM\n * @param fstnameM\n * @param telAts\n * @param orgtxt\n * @param job\n * @param orgUnit\n * @param jobtxt\n * @param checkCommunities\n * @param outTab\n * @return\n * returns test.Bapireturn\n */\n @WebMethod(operationName = \"ZPersonalSearch\")\n @WebResult(name = \"Return\", targetNamespace = \"\")\n @RequestWrapper(localName = \"ZPersonalSearch\", targetNamespace = \"urn:sap-com:document:sap:soap:functions:mc-style\", className = \"test.ZPersonalSearch\")\n @ResponseWrapper(localName = \"ZPersonalSearchResponse\", targetNamespace = \"urn:sap-com:document:sap:soap:functions:mc-style\", className = \"test.ZPersonalSearchResponse\")\n public Bapireturn zPersonalSearch(\n @WebParam(name = \"CheckCommunities\", targetNamespace = \"\")\n String checkCommunities,\n @WebParam(name = \"EmployeeId\", targetNamespace = \"\")\n String employeeId,\n @WebParam(name = \"FstnameM\", targetNamespace = \"\")\n String fstnameM,\n @WebParam(name = \"Job\", targetNamespace = \"\")\n String job,\n @WebParam(name = \"Jobtxt\", targetNamespace = \"\")\n String jobtxt,\n @WebParam(name = \"LastnameM\", targetNamespace = \"\")\n String lastnameM,\n @WebParam(name = \"OrgUnit\", targetNamespace = \"\")\n String orgUnit,\n @WebParam(name = \"Orgtxt\", targetNamespace = \"\")\n String orgtxt,\n @WebParam(name = \"OutTab\", targetNamespace = \"\", mode = WebParam.Mode.INOUT)\n Holder<TableOfZpernComm> outTab,\n @WebParam(name = \"TelAts\", targetNamespace = \"\")\n String telAts);\n\n}",
"@WebService(name = \"DocumentValidationSchemaService\", targetNamespace = \"http://schema.validation.doc.jaxws.invoice.samples.integ.softfly.pl/\")\n@XmlSeeAlso({\n pl.softfly.integ.doc.entity.ObjectFactory.class,\n pl.softfly.integ.endpoint.entity.ObjectFactory.class,\n pl.softfly.integ.entity.ObjectFactory.class,\n pl.softfly.integ.samples.invoice.jaxws.doc.validation.schema.ObjectFactory.class,\n pl.softfly.integ.shipment.entity.ObjectFactory.class\n})\npublic interface DocumentValidationSchemaService {\n\n\n /**\n * @param arg0\n * @return returns pl.softfly.integ.doc.entity.DocumentHeader\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"validate\", targetNamespace = \"http://schema.validation.doc.jaxws.invoice.samples.integ.softfly.pl/\", className = \"pl.softfly.integ.samples.invoice.jaxws.doc.validation.schema.Validate\")\n @ResponseWrapper(localName = \"validateResponse\", targetNamespace = \"http://schema.validation.doc.jaxws.invoice.samples.integ.softfly.pl/\", className = \"pl.softfly.integ.samples.invoice.jaxws.doc.validation.schema.ValidateResponse\")\n public DocumentHeader validate(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n DocumentHeader arg0);\n\n}",
"@WebService(targetNamespace = \"http://webservice.question.xxdai.com/\", name = \"QuestionCXFService\")\n@XmlSeeAlso({ObjectFactory.class})\npublic interface QuestionCXFService {\n\n @WebResult(name = \"return\", targetNamespace = \"\")\n @RequestWrapper(localName = \"saveUseQuestionAnswer\", targetNamespace = \"http://webservice.question.xxdai.com/\", className = \"com.xxdai.external.question.ws.SaveUseQuestionAnswer\")\n @WebMethod\n @ResponseWrapper(localName = \"saveUseQuestionAnswerResponse\", targetNamespace = \"http://webservice.question.xxdai.com/\", className = \"com.xxdai.external.question.ws.SaveUseQuestionAnswerResponse\")\n public java.lang.String saveUseQuestionAnswer(\n @WebParam(name = \"jsonstring\", targetNamespace = \"\")\n java.lang.String jsonstring\n );\n\n @WebResult(name = \"return\", targetNamespace = \"\")\n @RequestWrapper(localName = \"queryQuestionNaire\", targetNamespace = \"http://webservice.question.xxdai.com/\", className = \"com.xxdai.external.question.ws.QueryQuestionNaire\")\n @WebMethod\n @ResponseWrapper(localName = \"queryQuestionNaireResponse\", targetNamespace = \"http://webservice.question.xxdai.com/\", className = \"com.xxdai.external.question.ws.QueryQuestionNaireResponse\")\n public java.lang.String queryQuestionNaire(\n @WebParam(name = \"jsonstring\", targetNamespace = \"\")\n java.lang.String jsonstring\n );\n\n @WebResult(name = \"return\", targetNamespace = \"\")\n @RequestWrapper(localName = \"saveQuestionUser\", targetNamespace = \"http://webservice.question.xxdai.com/\", className = \"com.xxdai.external.question.ws.SaveQuestionUser\")\n @WebMethod\n @ResponseWrapper(localName = \"saveQuestionUserResponse\", targetNamespace = \"http://webservice.question.xxdai.com/\", className = \"com.xxdai.external.question.ws.SaveQuestionUserResponse\")\n public java.lang.String saveQuestionUser(\n @WebParam(name = \"jsonstring\", targetNamespace = \"\")\n java.lang.String jsonstring\n );\n\n @WebResult(name = \"return\", targetNamespace = \"\")\n @RequestWrapper(localName = \"queryQuestion\", targetNamespace = \"http://webservice.question.xxdai.com/\", className = \"com.xxdai.external.question.ws.QueryQuestion\")\n @WebMethod\n @ResponseWrapper(localName = \"queryQuestionResponse\", targetNamespace = \"http://webservice.question.xxdai.com/\", className = \"com.xxdai.external.question.ws.QueryQuestionResponse\")\n public java.lang.String queryQuestion(\n @WebParam(name = \"jsonstring\", targetNamespace = \"\")\n java.lang.String jsonstring\n );\n\n @WebResult(name = \"return\", targetNamespace = \"\")\n @RequestWrapper(localName = \"queryNaireByCode\", targetNamespace = \"http://webservice.question.xxdai.com/\", className = \"com.xxdai.external.question.ws.QueryNaireByCode\")\n @WebMethod\n @ResponseWrapper(localName = \"queryNaireByCodeResponse\", targetNamespace = \"http://webservice.question.xxdai.com/\", className = \"com.xxdai.external.question.ws.QueryNaireByCodeResponse\")\n public java.lang.String queryNaireByCode(\n @WebParam(name = \"jsonstring\", targetNamespace = \"\")\n java.lang.String jsonstring\n );\n}",
"@WebService(targetNamespace = \"http://webservice.account.xxdai.com/\", name = \"AccountQueryCXFService\")\n@XmlSeeAlso({ObjectFactory.class})\npublic interface AccountQueryCXFService {\n\n @WebResult(name = \"return\", targetNamespace = \"\")\n @RequestWrapper(localName = \"selectAccountLog2ByIdAndType\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.SelectAccountLog2ByIdAndType\")\n @WebMethod\n @ResponseWrapper(localName = \"selectAccountLog2ByIdAndTypeResponse\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.SelectAccountLog2ByIdAndTypeResponse\")\n public java.lang.String selectAccountLog2ByIdAndType(\n @WebParam(name = \"param\", targetNamespace = \"\")\n java.lang.String param\n );\n\n @WebResult(name = \"return\", targetNamespace = \"\")\n @RequestWrapper(localName = \"selectMoneyRecord\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.SelectMoneyRecord\")\n @WebMethod\n @ResponseWrapper(localName = \"selectMoneyRecordResponse\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.SelectMoneyRecordResponse\")\n public java.lang.String selectMoneyRecord(\n @WebParam(name = \"param\", targetNamespace = \"\")\n java.lang.String param\n );\n\n @WebResult(name = \"return\", targetNamespace = \"\")\n @RequestWrapper(localName = \"selectAccountByIdAndType\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.SelectAccountByIdAndType\")\n @WebMethod\n @ResponseWrapper(localName = \"selectAccountByIdAndTypeResponse\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.SelectAccountByIdAndTypeResponse\")\n public java.lang.String selectAccountByIdAndType(\n @WebParam(name = \"param\", targetNamespace = \"\")\n java.lang.String param\n );\n\n @WebResult(name = \"return\", targetNamespace = \"\")\n @RequestWrapper(localName = \"increaseAccountUsable\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.IncreaseAccountUsable\")\n @WebMethod\n @ResponseWrapper(localName = \"increaseAccountUsableResponse\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.IncreaseAccountUsableResponse\")\n public java.lang.String increaseAccountUsable(\n @WebParam(name = \"param\", targetNamespace = \"\")\n java.lang.String param\n );\n\n @WebResult(name = \"return\", targetNamespace = \"\")\n @RequestWrapper(localName = \"counttMoneyRecord\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.CounttMoneyRecord\")\n @WebMethod\n @ResponseWrapper(localName = \"counttMoneyRecordResponse\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.CounttMoneyRecordResponse\")\n public java.lang.String counttMoneyRecord(\n @WebParam(name = \"param\", targetNamespace = \"\")\n java.lang.String param\n );\n\n @WebResult(name = \"return\", targetNamespace = \"\")\n @RequestWrapper(localName = \"freezeAccount\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.FreezeAccount\")\n @WebMethod\n @ResponseWrapper(localName = \"freezeAccountResponse\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.FreezeAccountResponse\")\n public java.lang.String freezeAccount(\n @WebParam(name = \"param\", targetNamespace = \"\")\n java.lang.String param\n );\n\n @WebResult(name = \"return\", targetNamespace = \"\")\n @RequestWrapper(localName = \"coinExchange\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.CoinExchange\")\n @WebMethod\n @ResponseWrapper(localName = \"coinExchangeResponse\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.CoinExchangeResponse\")\n public java.lang.String coinExchange(\n @WebParam(name = \"param\", targetNamespace = \"\")\n java.lang.String param\n );\n\n @WebResult(name = \"return\", targetNamespace = \"\")\n @RequestWrapper(localName = \"selectOverdueRepaymentByUserId\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.SelectOverdueRepaymentByUserId\")\n @WebMethod\n @ResponseWrapper(localName = \"selectOverdueRepaymentByUserIdResponse\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.SelectOverdueRepaymentByUserIdResponse\")\n public java.lang.String selectOverdueRepaymentByUserId(\n @WebParam(name = \"param\", targetNamespace = \"\")\n java.lang.String param\n );\n\n @WebResult(name = \"return\", targetNamespace = \"\")\n @RequestWrapper(localName = \"getAccountLogSum\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.GetAccountLogSum\")\n @WebMethod\n @ResponseWrapper(localName = \"getAccountLogSumResponse\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.GetAccountLogSumResponse\")\n public java.lang.String getAccountLogSum(\n @WebParam(name = \"param\", targetNamespace = \"\")\n java.lang.String param\n );\n\n @WebResult(name = \"return\", targetNamespace = \"\")\n @RequestWrapper(localName = \"selectUserAccountAndCoupon\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.SelectUserAccountAndCoupon\")\n @WebMethod\n @ResponseWrapper(localName = \"selectUserAccountAndCouponResponse\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.SelectUserAccountAndCouponResponse\")\n public java.lang.String selectUserAccountAndCoupon(\n @WebParam(name = \"param\", targetNamespace = \"\")\n java.lang.String param\n );\n\n @WebResult(name = \"return\", targetNamespace = \"\")\n @RequestWrapper(localName = \"selectPageAccountMoneyRecord\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.SelectPageAccountMoneyRecord\")\n @WebMethod\n @ResponseWrapper(localName = \"selectPageAccountMoneyRecordResponse\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.SelectPageAccountMoneyRecordResponse\")\n public java.lang.String selectPageAccountMoneyRecord(\n @WebParam(name = \"param\", targetNamespace = \"\")\n java.lang.String param\n );\n\n @WebResult(name = \"return\", targetNamespace = \"\")\n @RequestWrapper(localName = \"selectSixAccountLogByUserId\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.SelectSixAccountLogByUserId\")\n @WebMethod\n @ResponseWrapper(localName = \"selectSixAccountLogByUserIdResponse\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.SelectSixAccountLogByUserIdResponse\")\n public java.lang.String selectSixAccountLogByUserId(\n @WebParam(name = \"param\", targetNamespace = \"\")\n java.lang.String param\n );\n\n @WebResult(name = \"return\", targetNamespace = \"\")\n @RequestWrapper(localName = \"queryLevelLogList\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.QueryLevelLogList\")\n @WebMethod\n @ResponseWrapper(localName = \"queryLevelLogListResponse\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.QueryLevelLogListResponse\")\n public java.lang.String queryLevelLogList(\n @WebParam(name = \"param\", targetNamespace = \"\")\n java.lang.String param\n );\n\n @WebResult(name = \"return\", targetNamespace = \"\")\n @RequestWrapper(localName = \"getAccountSum\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.GetAccountSum\")\n @WebMethod\n @ResponseWrapper(localName = \"getAccountSumResponse\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.GetAccountSumResponse\")\n public java.lang.String getAccountSum(\n @WebParam(name = \"param\", targetNamespace = \"\")\n java.lang.String param\n );\n\n @WebResult(name = \"return\", targetNamespace = \"\")\n @RequestWrapper(localName = \"saveAccountLog\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.SaveAccountLog\")\n @WebMethod\n @ResponseWrapper(localName = \"saveAccountLogResponse\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.SaveAccountLogResponse\")\n public java.lang.String saveAccountLog(\n @WebParam(name = \"param\", targetNamespace = \"\")\n java.lang.String param\n );\n\n @WebResult(name = \"return\", targetNamespace = \"\")\n @RequestWrapper(localName = \"selectAccountLogByUserId\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.SelectAccountLogByUserId\")\n @WebMethod\n @ResponseWrapper(localName = \"selectAccountLogByUserIdResponse\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.SelectAccountLogByUserIdResponse\")\n public java.lang.String selectAccountLogByUserId(\n @WebParam(name = \"param\", targetNamespace = \"\")\n java.lang.String param\n );\n\n @WebResult(name = \"return\", targetNamespace = \"\")\n @RequestWrapper(localName = \"selectIsUserOverdue\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.SelectIsUserOverdue\")\n @WebMethod\n @ResponseWrapper(localName = \"selectIsUserOverdueResponse\", targetNamespace = \"http://webservice.account.xxdai.com/\", className = \"com.xxdai.external.account.ws.SelectIsUserOverdueResponse\")\n public java.lang.String selectIsUserOverdue(\n @WebParam(name = \"param\", targetNamespace = \"\")\n java.lang.String param\n );\n}",
"@WebService(targetNamespace = \"http://www.nortel.com/soa/oi/cct/RoutePointConnectionService\", name = \"RoutePointConnectionService\")\r\n@XmlSeeAlso({com.nortel.soa.oi.cct.types.routepointconnectionservice.ObjectFactory.class, com.nortel.soa.oi.cct.faults.ObjectFactory.class, com.nortel.soa.oi.cct.types.ObjectFactory.class, org.xmlsoap.schemas.ws._2003._03.addressing.ObjectFactory.class, org.oasis_open.docs.wsrf._2004._06.wsrf_ws_basefaults_1_2_draft_01.ObjectFactory.class})\r\n@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)\r\npublic interface RoutePointConnectionService {\r\n\r\n @WebMethod(operationName = \"RoutePointRetrieve\", action = \"http://www.nortel.com/soa/oi/cct/RoutePointConnectionService/RoutePointRetrieve\")\r\n public void routePointRetrieve(\r\n @WebParam(partName = \"parameters\", name = \"RoutePointRetrieveRequest\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/RoutePointConnectionService\")\r\n com.nortel.soa.oi.cct.types.routepointconnectionservice.RoutePointRetrieveRequest parameters\r\n ) throws RoutePointRetrieveException, SessionNotCreatedException;\r\n\r\n @WebResult(name = \"GetVersionResponse\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/RoutePointConnectionService\", partName = \"response\")\r\n @WebMethod(operationName = \"GetVersion\", action = \"http://www.nortel.com/soa/oi/cct/RoutePointConnectionService/GetVersion\")\r\n public com.nortel.soa.oi.cct.types.GetVersionResponse getVersion(\r\n @WebParam(partName = \"parameters\", name = \"GetVersionRequest\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/RoutePointConnectionService\")\r\n com.nortel.soa.oi.cct.types.GetVersionRequest parameters\r\n ) throws GetVersionException, SessionNotCreatedException;\r\n\r\n @WebResult(name = \"GetCapabilitiesResponse\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/RoutePointConnectionService\", partName = \"response\")\r\n @WebMethod(operationName = \"GetCapabilities\", action = \"http://www.nortel.com/soa/oi/cct/RoutePointConnectionService/GetCapabilities\")\r\n public com.nortel.soa.oi.cct.types.routepointconnectionservice.ConnectionCapabilitiesResponse getCapabilities(\r\n @WebParam(partName = \"parameters\", name = \"GetCapabilitiesRequest\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/RoutePointConnectionService\")\r\n com.nortel.soa.oi.cct.types.routepointconnectionservice.ConnectionRequest parameters\r\n ) throws GetCapabilitiesException, SessionNotCreatedException;\r\n\r\n @WebResult(name = \"RouteResponse\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/RoutePointConnectionService\", partName = \"result\")\r\n @WebMethod(operationName = \"Route\", action = \"http://www.nortel.com/soa/oi/cct/RoutePointConnectionService/Route\")\r\n public com.nortel.soa.oi.cct.types.routepointconnectionservice.RouteResponse route(\r\n @WebParam(partName = \"parameters\", name = \"RouteRequest\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/RoutePointConnectionService\")\r\n com.nortel.soa.oi.cct.types.routepointconnectionservice.RouteRequest parameters\r\n ) throws RouteException, SessionNotCreatedException;\r\n\r\n @WebResult(name = \"GiveMediaTreatmentResponse\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/RoutePointConnectionService\", partName = \"response\")\r\n @WebMethod(operationName = \"GiveMediaTreatment\", action = \"http://www.nortel.com/soa/oi/cct/RoutePointConnectionService/GiveMediaTreatment\")\r\n public com.nortel.soa.oi.cct.types.routepointconnectionservice.GiveMediaTreatmentResponse giveMediaTreatment(\r\n @WebParam(partName = \"parameters\", name = \"GiveMediaTreatmentRequest\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/RoutePointConnectionService\")\r\n com.nortel.soa.oi.cct.types.routepointconnectionservice.GiveMediaTreatmentRequest parameters\r\n ) throws GiveMediaTreatmentException, SessionNotCreatedException;\r\n}",
"@WebService(name = \"wsFoo\", targetNamespace = \"http://helloworldws.yv84.me/\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface WsFoo {\n\n\n /**\n * \n * @param arg0\n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getEcho\", targetNamespace = \"http://helloworldws.yv84.me/\", className = \"me.yv84.helloworldws.GetEcho\")\n @ResponseWrapper(localName = \"getEchoResponse\", targetNamespace = \"http://helloworldws.yv84.me/\", className = \"me.yv84.helloworldws.GetEchoResponse\")\n @Action(input = \"http://helloworldws.yv84.me/wsFoo/getEchoRequest\", output = \"http://helloworldws.yv84.me/wsFoo/getEchoResponse\")\n public String getEcho(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n String arg0);\n\n /**\n * \n * @return\n * returns java.util.List<java.lang.String>\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getList\", targetNamespace = \"http://helloworldws.yv84.me/\", className = \"me.yv84.helloworldws.GetList\")\n @ResponseWrapper(localName = \"getListResponse\", targetNamespace = \"http://helloworldws.yv84.me/\", className = \"me.yv84.helloworldws.GetListResponse\")\n @Action(input = \"http://helloworldws.yv84.me/wsFoo/getListRequest\", output = \"http://helloworldws.yv84.me/wsFoo/getListResponse\")\n public List<String> getList();\n\n}",
"@WebService(name = \"ZWSVUR_UPDSTATUS\", targetNamespace = \"urn:sap-com:document:sap:rfc:functions\")\r\npublic interface ZWSVURUPDSTATUS {\r\n\r\n\r\n /**\r\n * \r\n * @param iNROLIQ\r\n * @param eRETURN\r\n * @param iESTADO\r\n * @param eMESSAGE\r\n */\r\n @WebMethod(operationName = \"ZPSCDFM_VUR_UPDSTATUS\")\r\n @RequestWrapper(localName = \"ZPSCDFM_VUR_UPDSTATUS\", targetNamespace = \"urn:sap-com:document:sap:rfc:functions\", className = \"co.com.realtech.mariner.model.ejb.ws.sap.mappers.vur_updstatus.ZPSCDFMVURUPDSTATUS\")\r\n @ResponseWrapper(localName = \"ZPSCDFM_VUR_UPDSTATUSResponse\", targetNamespace = \"urn:sap-com:document:sap:rfc:functions\", className = \"co.com.realtech.mariner.model.ejb.ws.sap.mappers.vur_updstatus.ZPSCDFMVURUPDSTATUSResponse\")\r\n public void zpscdfmVURUPDSTATUS(\r\n @WebParam(name = \"I_ESTADO\", targetNamespace = \"\")\r\n String iESTADO,\r\n @WebParam(name = \"I_NROLIQ\", targetNamespace = \"\")\r\n String iNROLIQ,\r\n @WebParam(name = \"E_MESSAGE\", targetNamespace = \"\", mode = WebParam.Mode.OUT)\r\n Holder<String> eMESSAGE,\r\n @WebParam(name = \"E_RETURN\", targetNamespace = \"\", mode = WebParam.Mode.OUT)\r\n Holder<Integer> eRETURN);\r\n\r\n}",
"@WebService(name = \"infra_PortType\", targetNamespace = PepConfig.TARGET_NAMESPACE)\n@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)\n@XmlSeeAlso({\n sk.gov.ekolky.estamp.fo10.nominal.ObjectFactory.class,\n sk.gov.ekolky.estamp.fo10.aponet.ObjectFactory.class,\n sk.gov.ekolky.estamp.fo10.assessment.ObjectFactory.class,\n sk.gov.ekolky.estamp.fo10.ObjectFactory.class,\n sk.gov.ekolky.estamp.fo10.cashdesk.ObjectFactory.class,\n sk.gov.ekolky.estamp.fo10.infra.ObjectFactory.class,\n sk.gov.ekolky.estamp.xsd10.ObjectFactory.class,\n com.jump_soft.estamp.fo10.common.ObjectFactory.class,\n sk.gov.ekolky.estamp.fo10.estamp.ObjectFactory.class\n})\npublic interface InfraPortType {\n\n\n /**\n * \n * @param parameters\n * @return\n * returns sk.gov.ekolky.estamp.fo10.infra.IncidentRegisterResponse\n * @throws BloxFaultMessage\n */\n @WebMethod\n @WebResult(name = \"incidentRegisterResponse\", targetNamespace = PepConfig.TARGET_NAMESPACE, partName = \"parameters\")\n public IncidentRegisterResponse incidentRegister(\n @WebParam(name = \"incidentRegisterRequest\", targetNamespace = PepConfig.TARGET_NAMESPACE, partName = \"parameters\")\n IncidentRegisterRequest parameters)\n throws BloxFaultMessage\n ;\n\n /**\n * \n * @param parameters\n * @return\n * returns sk.gov.ekolky.estamp.fo10.infra.DeviceStateCheckResponse\n * @throws BloxFaultMessage\n */\n @WebMethod\n @WebResult(name = \"deviceStateCheckResponse\", targetNamespace = PepConfig.TARGET_NAMESPACE, partName = \"parameters\")\n public DeviceStateCheckResponse deviceStateCheck(\n @WebParam(name = \"deviceStateCheckRequest\", targetNamespace = PepConfig.TARGET_NAMESPACE, partName = \"parameters\")\n DeviceStateCheckRequest parameters)\n throws BloxFaultMessage\n ;\n\n /**\n * \n * @param parameters\n * @return\n * returns sk.gov.ekolky.estamp.fo10.infra.ListParameterResponse\n * @throws BloxFaultMessage\n */\n @WebMethod\n @WebResult(name = \"listParameterResponse\", targetNamespace = PepConfig.TARGET_NAMESPACE, partName = \"parameters\")\n public ListParameterResponse listParameter(\n @WebParam(name = \"listParameterRequest\", targetNamespace = PepConfig.TARGET_NAMESPACE, partName = \"parameters\")\n ListParameterRequest parameters)\n throws BloxFaultMessage\n ;\n\n /**\n * \n * @param parameters\n * @return\n * returns sk.gov.ekolky.estamp.fo10.infra.ListServiceResponse\n * @throws BloxFaultMessage\n */\n @WebMethod\n @WebResult(name = \"listServiceResponse\", targetNamespace = PepConfig.TARGET_NAMESPACE, partName = \"parameters\")\n public ListServiceResponse listService(\n @WebParam(name = \"listServiceRequest\", targetNamespace = PepConfig.TARGET_NAMESPACE, partName = \"parameters\")\n ListServiceRequest parameters)\n throws BloxFaultMessage\n ;\n\n /**\n * \n * @param parameters\n * @return\n * returns sk.gov.ekolky.estamp.fo10.infra.ListFeeResponse\n * @throws BloxFaultMessage\n */\n @WebMethod\n @WebResult(name = \"listFeeResponse\", targetNamespace = PepConfig.TARGET_NAMESPACE, partName = \"parameters\")\n public ListFeeResponse listFee(\n @WebParam(name = \"listFeeRequest\", targetNamespace = PepConfig.TARGET_NAMESPACE, partName = \"parameters\")\n ListFeeRequest parameters)\n throws BloxFaultMessage\n ;\n\n /**\n * \n * @param parameters\n * @return\n * returns sk.gov.ekolky.estamp.fo10.infra.ListOfficeResponse\n * @throws BloxFaultMessage\n */\n @WebMethod\n @WebResult(name = \"listOfficeResponse\", targetNamespace = PepConfig.TARGET_NAMESPACE, partName = \"parameters\")\n public ListOfficeResponse listOffice(\n @WebParam(name = \"listOfficeRequest\", targetNamespace = PepConfig.TARGET_NAMESPACE, partName = \"parameters\")\n ListOfficeRequest parameters)\n throws BloxFaultMessage\n ;\n\n /**\n * \n * @param parameters\n * @return\n * returns sk.gov.ekolky.estamp.fo10.infra.ListSWPResponse\n * @throws BloxFaultMessage\n */\n @WebMethod\n @WebResult(name = \"listSWPResponse\", targetNamespace = PepConfig.TARGET_NAMESPACE, partName = \"parameters\")\n public ListSWPResponse listSWP(\n @WebParam(name = \"listSWPRequest\", targetNamespace = PepConfig.TARGET_NAMESPACE, partName = \"parameters\")\n ListSWPRequest parameters)\n throws BloxFaultMessage\n ;\n\n /**\n * \n * @param parameters\n * @return\n * returns sk.gov.ekolky.estamp.fo10.infra.ListCountryResponse\n * @throws BloxFaultMessage\n */\n @WebMethod\n @WebResult(name = \"listCountryResponse\", targetNamespace = PepConfig.TARGET_NAMESPACE, partName = \"parameters\")\n public ListCountryResponse listCountry(\n @WebParam(name = \"listCountryRequest\", targetNamespace = PepConfig.TARGET_NAMESPACE, partName = \"parameters\")\n ListCountryRequest parameters)\n throws BloxFaultMessage\n ;\n\n /**\n * \n * @param parameters\n * @return\n * returns sk.gov.ekolky.estamp.fo10.infra.ListDeviceInfoResponse\n * @throws BloxFaultMessage\n */\n @WebMethod\n @WebResult(name = \"listDeviceInfoResponse\", targetNamespace = PepConfig.TARGET_NAMESPACE, partName = \"parameters\")\n public ListDeviceInfoResponse listDeviceInfo(\n @WebParam(name = \"listDeviceInfoRequest\", targetNamespace = PepConfig.TARGET_NAMESPACE, partName = \"parameters\")\n ListDeviceInfoRequest parameters)\n throws BloxFaultMessage\n ;\n\n /**\n * \n * @param parameters\n * @return\n * returns sk.gov.ekolky.estamp.fo10.infra.ListFeDevicesResponse\n * @throws BloxFaultMessage\n */\n @WebMethod\n @WebResult(name = \"listFeDevicesResponse\", targetNamespace = PepConfig.TARGET_NAMESPACE, partName = \"parameters\")\n public ListFeDevicesResponse listFeDevices(\n @WebParam(name = \"listFeDevicesRequest\", targetNamespace = PepConfig.TARGET_NAMESPACE, partName = \"parameters\")\n ListFeDevicesRequest parameters)\n throws BloxFaultMessage\n ;\n\n}",
"@WebService(name = \"ListSubscriptions\", targetNamespace = \"http://soap/\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface ListSubscriptions {\n\n\n /**\n * \n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getList\", targetNamespace = \"http://soap/\", className = \"artifact_list.GetList\")\n @ResponseWrapper(localName = \"getListResponse\", targetNamespace = \"http://soap/\", className = \"artifact_list.GetListResponse\")\n public String getList();\n\n}",
"@WebService(targetNamespace = \"http://iso8583.org/payload\", name = \"CoreServicePortType\")\n@XmlSeeAlso({ObjectFactory.class, org.team5.bank.core.server.service.model.xsd.ObjectFactory.class})\npublic interface CoreServicePortType {\n\n @WebResult(name = \"return\", targetNamespace = \"http://iso8583.org/payload\")\n @Action(input = \"urn:getTransactionHistory\", output = \"urn:getTransactionHistoryResponse\")\n @RequestWrapper(localName = \"getTransactionHistory\", targetNamespace = \"http://iso8583.org/payload\", className = \"org.iso8583.payload.GetTransactionHistory\")\n @WebMethod(action = \"urn:getTransactionHistory\")\n @ResponseWrapper(localName = \"getTransactionHistoryResponse\", targetNamespace = \"http://iso8583.org/payload\", className = \"org.iso8583.payload.GetTransactionHistoryResponse\")\n public java.util.List<org.team5.bank.core.server.service.model.xsd.Transaction> getTransactionHistory(\n @WebParam(name = \"accountNo\", targetNamespace = \"http://iso8583.org/payload\")\n java.lang.String accountNo\n );\n\n @WebResult(name = \"return\", targetNamespace = \"http://iso8583.org/payload\")\n @Action(input = \"urn:getBalance\", output = \"urn:getBalanceResponse\")\n @RequestWrapper(localName = \"getBalance\", targetNamespace = \"http://iso8583.org/payload\", className = \"org.iso8583.payload.GetBalance\")\n @WebMethod(action = \"urn:getBalance\")\n @ResponseWrapper(localName = \"getBalanceResponse\", targetNamespace = \"http://iso8583.org/payload\", className = \"org.iso8583.payload.GetBalanceResponse\")\n public java.lang.String getBalance(\n @WebParam(name = \"accountNo\", targetNamespace = \"http://iso8583.org/payload\")\n java.lang.String accountNo\n );\n\n @WebResult(name = \"return\", targetNamespace = \"http://iso8583.org/payload\")\n @Action(input = \"urn:getAccount\", output = \"urn:getAccountResponse\")\n @RequestWrapper(localName = \"getAccount\", targetNamespace = \"http://iso8583.org/payload\", className = \"org.iso8583.payload.GetAccount\")\n @WebMethod(action = \"urn:getAccount\")\n @ResponseWrapper(localName = \"getAccountResponse\", targetNamespace = \"http://iso8583.org/payload\", className = \"org.iso8583.payload.GetAccountResponse\")\n public org.team5.bank.core.server.service.model.xsd.Account getAccount(\n @WebParam(name = \"userId\", targetNamespace = \"http://iso8583.org/payload\")\n java.lang.Long userId\n );\n\n @WebResult(name = \"return\", targetNamespace = \"http://iso8583.org/payload\")\n @Action(input = \"urn:withdraw\", output = \"urn:withdrawResponse\")\n @RequestWrapper(localName = \"withdraw\", targetNamespace = \"http://iso8583.org/payload\", className = \"org.iso8583.payload.Withdraw\")\n @WebMethod(action = \"urn:withdraw\")\n @ResponseWrapper(localName = \"withdrawResponse\", targetNamespace = \"http://iso8583.org/payload\", className = \"org.iso8583.payload.WithdrawResponse\")\n public org.team5.bank.core.server.service.model.xsd.TransactionResponse withdraw(\n @WebParam(name = \"accountNo\", targetNamespace = \"http://iso8583.org/payload\")\n java.lang.String accountNo,\n @WebParam(name = \"amount\", targetNamespace = \"http://iso8583.org/payload\")\n java.lang.Double amount\n );\n\n @WebResult(name = \"return\", targetNamespace = \"http://iso8583.org/payload\")\n @Action(input = \"urn:fundTransfer\", output = \"urn:fundTransferResponse\")\n @RequestWrapper(localName = \"fundTransfer\", targetNamespace = \"http://iso8583.org/payload\", className = \"org.iso8583.payload.FundTransfer\")\n @WebMethod(action = \"urn:fundTransfer\")\n @ResponseWrapper(localName = \"fundTransferResponse\", targetNamespace = \"http://iso8583.org/payload\", className = \"org.iso8583.payload.FundTransferResponse\")\n public org.team5.bank.core.server.service.model.xsd.TransactionResponse fundTransfer(\n @WebParam(name = \"from\", targetNamespace = \"http://iso8583.org/payload\")\n java.lang.String from,\n @WebParam(name = \"to\", targetNamespace = \"http://iso8583.org/payload\")\n java.lang.String to,\n @WebParam(name = \"amount\", targetNamespace = \"http://iso8583.org/payload\")\n java.lang.Double amount\n );\n\n @WebResult(name = \"return\", targetNamespace = \"http://iso8583.org/payload\")\n @Action(input = \"urn:deposit\", output = \"urn:depositResponse\")\n @RequestWrapper(localName = \"deposit\", targetNamespace = \"http://iso8583.org/payload\", className = \"org.iso8583.payload.Deposit\")\n @WebMethod(action = \"urn:deposit\")\n @ResponseWrapper(localName = \"depositResponse\", targetNamespace = \"http://iso8583.org/payload\", className = \"org.iso8583.payload.DepositResponse\")\n public org.team5.bank.core.server.service.model.xsd.TransactionResponse deposit(\n @WebParam(name = \"accountNo\", targetNamespace = \"http://iso8583.org/payload\")\n java.lang.String accountNo,\n @WebParam(name = \"amount\", targetNamespace = \"http://iso8583.org/payload\")\n java.lang.Double amount\n );\n}",
"@WebService(targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/requester\", name = \"ConnectionRequesterPort\")\n@XmlSeeAlso({net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.ObjectFactory.class, net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.ObjectFactory.class, net.es.nsi.lib.soap.gen.saml.assertion.ObjectFactory.class, net.es.nsi.lib.soap.gen.xmlenc.ObjectFactory.class, net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.types.ObjectFactory.class, net.es.nsi.lib.soap.gen.xmldsig.ObjectFactory.class})\npublic interface ConnectionRequesterPort {\n\n /**\n * This reserveFailed message is sent from a Provider NSA to\n * Requester NSA as an indication of a reserve failure. This\n * is in response to an original reserve request from the\n * associated Requester NSA.\n * \n */\n @WebMethod(action = \"http://schemas.ogf.org/nsi/2013/12/connection/service/reserveFailed\")\n @RequestWrapper(localName = \"reserveFailed\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.GenericFailedType\")\n @ResponseWrapper(localName = \"acknowledgment\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.GenericAcknowledgmentType\")\n public void reserveFailed(\n @WebParam(name = \"connectionId\", targetNamespace = \"\")\n java.lang.String connectionId,\n @WebParam(name = \"connectionStates\", targetNamespace = \"\")\n net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.ConnectionStatesType connectionStates,\n @WebParam(name = \"serviceException\", targetNamespace = \"\")\n net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.types.ServiceExceptionType serviceException,\n @WebParam(name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType header,\n @WebParam(mode = WebParam.Mode.OUT, name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n javax.xml.ws.Holder<net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType> header1\n ) throws net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.ifce.ServiceException;\n\n /**\n * This querySummaryConfirmed message is sent from the target NSA to\n * requesting NSA as an indication of a successful querySummary\n * operation. This is in response to an original querySummary request\n * from the associated Requester NSA.\n * \n */\n @WebMethod(action = \"http://schemas.ogf.org/nsi/2013/12/connection/service/querySummaryConfirmed\")\n @RequestWrapper(localName = \"querySummaryConfirmed\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.QuerySummaryConfirmedType\")\n @ResponseWrapper(localName = \"acknowledgment\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.GenericAcknowledgmentType\")\n public void querySummaryConfirmed(\n @WebParam(name = \"reservation\", targetNamespace = \"\")\n java.util.List<net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.QuerySummaryResultType> reservation,\n @WebParam(name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType header,\n @WebParam(mode = WebParam.Mode.OUT, name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n javax.xml.ws.Holder<net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType> header1\n ) throws net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.ifce.ServiceException;\n\n /**\n * This provisionConfirmed message is sent from a Provider NSA to\n * Requester NSA as an indication of a successful provision operation.\n * This is in response to an original provision request from the\n * associated Requester NSA.\n * \n */\n @WebMethod(action = \"http://schemas.ogf.org/nsi/2013/12/connection/service/provisionConfirmed\")\n @RequestWrapper(localName = \"provisionConfirmed\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.GenericConfirmedType\")\n @ResponseWrapper(localName = \"acknowledgment\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.GenericAcknowledgmentType\")\n public void provisionConfirmed(\n @WebParam(name = \"connectionId\", targetNamespace = \"\")\n java.lang.String connectionId,\n @WebParam(name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType header,\n @WebParam(mode = WebParam.Mode.OUT, name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n javax.xml.ws.Holder<net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType> header1\n ) throws net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.ifce.ServiceException;\n\n /**\n * The error message is sent from a Provider NSA to Requester\n * NSA as an indication of the occurence of an error condition.\n * This is in response to an original request from the associated\n * Requester NSA.\n * \n */\n @WebMethod(action = \"http://schemas.ogf.org/nsi/2013/12/connection/service/error\")\n @RequestWrapper(localName = \"error\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.GenericErrorType\")\n @ResponseWrapper(localName = \"acknowledgment\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.GenericAcknowledgmentType\")\n public void error(\n @WebParam(name = \"serviceException\", targetNamespace = \"\")\n net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.types.ServiceExceptionType serviceException,\n @WebParam(name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType header,\n @WebParam(mode = WebParam.Mode.OUT, name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n javax.xml.ws.Holder<net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType> header1\n ) throws net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.ifce.ServiceException;\n\n /**\n * This terminateConfirmed message is sent from a Provider NSA to\n * Requester NSA as an indication of a successful terminate operation.\n * This is in response to an original terminate request from the\n * associated Requester NSA.\n * \n */\n @WebMethod(action = \"http://schemas.ogf.org/nsi/2013/12/connection/service/terminateConfirmed\")\n @RequestWrapper(localName = \"terminateConfirmed\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.GenericConfirmedType\")\n @ResponseWrapper(localName = \"acknowledgment\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.GenericAcknowledgmentType\")\n public void terminateConfirmed(\n @WebParam(name = \"connectionId\", targetNamespace = \"\")\n java.lang.String connectionId,\n @WebParam(name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType header,\n @WebParam(mode = WebParam.Mode.OUT, name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n javax.xml.ws.Holder<net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType> header1\n ) throws net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.ifce.ServiceException;\n\n /**\n * This releaseConfirmed message is sent from a Provider NSA to\n * Requester NSA as an indication of a successful release operation.\n * This is in response to an original release request from the\n * associated Requester NSA.\n * \n */\n @WebMethod(action = \"http://schemas.ogf.org/nsi/2013/12/connection/service/releaseConfirmed\")\n @RequestWrapper(localName = \"releaseConfirmed\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.GenericConfirmedType\")\n @ResponseWrapper(localName = \"acknowledgment\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.GenericAcknowledgmentType\")\n public void releaseConfirmed(\n @WebParam(name = \"connectionId\", targetNamespace = \"\")\n java.lang.String connectionId,\n @WebParam(name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType header,\n @WebParam(mode = WebParam.Mode.OUT, name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n javax.xml.ws.Holder<net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType> header1\n ) throws net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.ifce.ServiceException;\n\n /**\n * An autonomous error message issued from a Provider NSA to Requester\n * NSA. The acknowledgment indicates that the Requester NSA has\n * accepted the notification request for processing. There are no\n * associated confirmed or failed messages.\n * \n */\n @WebMethod(action = \"http://schemas.ogf.org/nsi/2013/12/connection/service/errorEvent\")\n @RequestWrapper(localName = \"errorEvent\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.ErrorEventType\")\n @ResponseWrapper(localName = \"acknowledgment\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.GenericAcknowledgmentType\")\n public void errorEvent(\n @WebParam(name = \"connectionId\", targetNamespace = \"\")\n java.lang.String connectionId,\n @WebParam(name = \"notificationId\", targetNamespace = \"\")\n long notificationId,\n @WebParam(name = \"timeStamp\", targetNamespace = \"\")\n javax.xml.datatype.XMLGregorianCalendar timeStamp,\n @WebParam(name = \"event\", targetNamespace = \"\")\n net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.EventEnumType event,\n @WebParam(name = \"originatingConnectionId\", targetNamespace = \"\")\n java.lang.String originatingConnectionId,\n @WebParam(name = \"originatingNSA\", targetNamespace = \"\")\n java.lang.String originatingNSA,\n @WebParam(name = \"additionalInfo\", targetNamespace = \"\")\n net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.types.TypeValuePairListType additionalInfo,\n @WebParam(name = \"serviceException\", targetNamespace = \"\")\n net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.types.ServiceExceptionType serviceException,\n @WebParam(name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType header,\n @WebParam(mode = WebParam.Mode.OUT, name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n javax.xml.ws.Holder<net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType> header1\n ) throws net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.ifce.ServiceException;\n\n /**\n * An autonomous message issued from a Provider NSA to Requester\n * NSA. The acknowledgment indicates that the Requester NSA has\n * accepted the notification request for processing. There are no\n * associated confirmed or failed messages.\n * \n */\n @WebMethod(action = \"http://schemas.ogf.org/nsi/2013/12/connection/service/dataPlaneStateChange\")\n @RequestWrapper(localName = \"dataPlaneStateChange\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.DataPlaneStateChangeRequestType\")\n @ResponseWrapper(localName = \"acknowledgment\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.GenericAcknowledgmentType\")\n public void dataPlaneStateChange(\n @WebParam(name = \"connectionId\", targetNamespace = \"\")\n java.lang.String connectionId,\n @WebParam(name = \"notificationId\", targetNamespace = \"\")\n long notificationId,\n @WebParam(name = \"timeStamp\", targetNamespace = \"\")\n javax.xml.datatype.XMLGregorianCalendar timeStamp,\n @WebParam(name = \"dataPlaneStatus\", targetNamespace = \"\")\n net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.DataPlaneStatusType dataPlaneStatus,\n @WebParam(name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType header,\n @WebParam(mode = WebParam.Mode.OUT, name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n javax.xml.ws.Holder<net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType> header1\n ) throws net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.ifce.ServiceException;\n\n /**\n * This reserveAbortConfirmed message is sent from a Provider NSA to\n * Requester NSA as an indication of a successful reserveAbort.\n * This is in response to an original reserveAbort request from the\n * associated Requester NSA.\n * \n */\n @WebMethod(action = \"http://schemas.ogf.org/nsi/2013/12/connection/service/reserveAbortConfirmed\")\n @RequestWrapper(localName = \"reserveAbortConfirmed\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.GenericConfirmedType\")\n @ResponseWrapper(localName = \"acknowledgment\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.GenericAcknowledgmentType\")\n public void reserveAbortConfirmed(\n @WebParam(name = \"connectionId\", targetNamespace = \"\")\n java.lang.String connectionId,\n @WebParam(name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType header,\n @WebParam(mode = WebParam.Mode.OUT, name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n javax.xml.ws.Holder<net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType> header1\n ) throws net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.ifce.ServiceException;\n\n /**\n * An autonomous message issued from a Provider NSA to Requester\n * NSA. The acknowledgment indicates that the Requester NSA has\n * accepted the notification request for processing. There are no\n * associated confirmed or failed messages.\n * \n */\n @WebMethod(action = \"http://schemas.ogf.org/nsi/2013/12/connection/service/messageDeliveryTimeout\")\n @RequestWrapper(localName = \"messageDeliveryTimeout\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.MessageDeliveryTimeoutRequestType\")\n @ResponseWrapper(localName = \"acknowledgment\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.GenericAcknowledgmentType\")\n public void messageDeliveryTimeout(\n @WebParam(name = \"connectionId\", targetNamespace = \"\")\n java.lang.String connectionId,\n @WebParam(name = \"notificationId\", targetNamespace = \"\")\n long notificationId,\n @WebParam(name = \"timeStamp\", targetNamespace = \"\")\n javax.xml.datatype.XMLGregorianCalendar timeStamp,\n @WebParam(name = \"correlationId\", targetNamespace = \"\")\n java.lang.String correlationId,\n @WebParam(name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType header,\n @WebParam(mode = WebParam.Mode.OUT, name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n javax.xml.ws.Holder<net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType> header1\n ) throws net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.ifce.ServiceException;\n\n /**\n * This reserveCommitFailed message is sent from a Provider NSA to\n * Requester NSA as an indication of a modify failure. This\n * is in response to an original modify request from the\n * associated Requester NSA.\n * \n */\n @WebMethod(action = \"http://schemas.ogf.org/nsi/2013/12/connection/service/reserveCommitFailed\")\n @RequestWrapper(localName = \"reserveCommitFailed\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.GenericFailedType\")\n @ResponseWrapper(localName = \"acknowledgment\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.GenericAcknowledgmentType\")\n public void reserveCommitFailed(\n @WebParam(name = \"connectionId\", targetNamespace = \"\")\n java.lang.String connectionId,\n @WebParam(name = \"connectionStates\", targetNamespace = \"\")\n net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.ConnectionStatesType connectionStates,\n @WebParam(name = \"serviceException\", targetNamespace = \"\")\n net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.types.ServiceExceptionType serviceException,\n @WebParam(name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType header,\n @WebParam(mode = WebParam.Mode.OUT, name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n javax.xml.ws.Holder<net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType> header1\n ) throws net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.ifce.ServiceException;\n\n /**\n * This queryNotificationConfirmed message is sent from the Provider NSA to\n * Requester NSA as an indication of a successful queryNotification\n * operation. This is in response to an original queryNotification request\n * from the associated Requester NSA.\n * \n */\n @WebMethod(action = \"http://schemas.ogf.org/nsi/2013/12/connection/service/queryNotificationConfirmed\")\n @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)\n @WebResult(name = \"acknowledgment\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", partName = \"acknowledgment\")\n public net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.GenericAcknowledgmentType queryNotificationConfirmed(\n @WebParam(partName = \"queryNotificationConfirmed\", name = \"queryNotificationConfirmed\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\")\n net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.QueryNotificationConfirmedType queryNotificationConfirmed,\n @WebParam(partName = \"header\", mode = WebParam.Mode.INOUT, name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n javax.xml.ws.Holder<net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType> header\n ) throws net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.ifce.ServiceException;\n\n /**\n * This queryResultConfirmed message is sent from the Provider NSA to\n * Requester NSA as an indication of a successful queryResult operation.\n * This is in response to an original queryResult request from the\n * associated Requester NSA.\n * \n */\n @WebMethod(action = \"http://schemas.ogf.org/nsi/2013/12/connection/service/queryResultConfirmed\")\n @RequestWrapper(localName = \"queryResultConfirmed\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.QueryResultConfirmedType\")\n @ResponseWrapper(localName = \"acknowledgment\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.GenericAcknowledgmentType\")\n public void queryResultConfirmed(\n @WebParam(name = \"result\", targetNamespace = \"\")\n java.util.List<net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.QueryResultResponseType> result,\n @WebParam(name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType header,\n @WebParam(mode = WebParam.Mode.OUT, name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n javax.xml.ws.Holder<net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType> header1\n ) throws net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.ifce.ServiceException;\n\n /**\n * This reserveCommitConfirmed message is sent from a Provider NSA to\n * Requester NSA as an indication of a successful reserveCommit request.\n * This is in response to an original reserveCommit request from the\n * associated Requester NSA.\n * \n */\n @WebMethod(action = \"http://schemas.ogf.org/nsi/2013/12/connection/service/reserveCommitConfirmed\")\n @RequestWrapper(localName = \"reserveCommitConfirmed\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.GenericConfirmedType\")\n @ResponseWrapper(localName = \"acknowledgment\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.GenericAcknowledgmentType\")\n public void reserveCommitConfirmed(\n @WebParam(name = \"connectionId\", targetNamespace = \"\")\n java.lang.String connectionId,\n @WebParam(name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType header,\n @WebParam(mode = WebParam.Mode.OUT, name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n javax.xml.ws.Holder<net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType> header1\n ) throws net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.ifce.ServiceException;\n\n /**\n * An autonomous message issued from a Provider NSA to Requester\n * NSA. The acknowledgment indicates that the Requester NSA has\n * accepted the notification request for processing. There are no\n * associated confirmed or failed messages.\n * \n */\n @WebMethod(action = \"http://schemas.ogf.org/nsi/2013/12/connection/service/reserveTimeout\")\n @RequestWrapper(localName = \"reserveTimeout\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.ReserveTimeoutRequestType\")\n @ResponseWrapper(localName = \"acknowledgment\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.GenericAcknowledgmentType\")\n public void reserveTimeout(\n @WebParam(name = \"connectionId\", targetNamespace = \"\")\n java.lang.String connectionId,\n @WebParam(name = \"notificationId\", targetNamespace = \"\")\n long notificationId,\n @WebParam(name = \"timeStamp\", targetNamespace = \"\")\n javax.xml.datatype.XMLGregorianCalendar timeStamp,\n @WebParam(name = \"timeoutValue\", targetNamespace = \"\")\n int timeoutValue,\n @WebParam(name = \"originatingConnectionId\", targetNamespace = \"\")\n java.lang.String originatingConnectionId,\n @WebParam(name = \"originatingNSA\", targetNamespace = \"\")\n java.lang.String originatingNSA,\n @WebParam(name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType header,\n @WebParam(mode = WebParam.Mode.OUT, name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n javax.xml.ws.Holder<net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType> header1\n ) throws net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.ifce.ServiceException;\n\n /**\n * This reserveConfirmed message is sent from a Provider NSA to\n * Requester NSA as an indication of a successful reservation. This\n * is in response to an original reserve request from the\n * associated Requester NSA.\n * \n */\n @WebMethod(action = \"http://schemas.ogf.org/nsi/2013/12/connection/service/reserveConfirmed\")\n @RequestWrapper(localName = \"reserveConfirmed\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.ReserveConfirmedType\")\n @ResponseWrapper(localName = \"acknowledgment\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.GenericAcknowledgmentType\")\n public void reserveConfirmed(\n @WebParam(name = \"connectionId\", targetNamespace = \"\")\n java.lang.String connectionId,\n @WebParam(name = \"globalReservationId\", targetNamespace = \"\")\n java.lang.String globalReservationId,\n @WebParam(name = \"description\", targetNamespace = \"\")\n java.lang.String description,\n @WebParam(name = \"criteria\", targetNamespace = \"\")\n net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.ReservationConfirmCriteriaType criteria,\n @WebParam(name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType header,\n @WebParam(mode = WebParam.Mode.OUT, name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n javax.xml.ws.Holder<net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType> header1\n ) throws net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.ifce.ServiceException;\n\n /**\n * This queryRecursiveConfirmed message is sent from the Provider NSA to\n * Requester NSA as an indication of a successful queryRecursive\n * operation. This is in response to an original queryRecursive request\n * from the associated Requester NSA.\n * \n */\n @WebMethod(action = \"http://schemas.ogf.org/nsi/2013/12/connection/service/queryRecursiveConfirmed\")\n @RequestWrapper(localName = \"queryRecursiveConfirmed\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.QueryRecursiveConfirmedType\")\n @ResponseWrapper(localName = \"acknowledgment\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/connection/types\", className = \"net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.GenericAcknowledgmentType\")\n public void queryRecursiveConfirmed(\n @WebParam(name = \"reservation\", targetNamespace = \"\")\n java.util.List<net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.types.QueryRecursiveResultType> reservation,\n @WebParam(name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType header,\n @WebParam(mode = WebParam.Mode.OUT, name = \"nsiHeader\", targetNamespace = \"http://schemas.ogf.org/nsi/2013/12/framework/headers\", header = true)\n javax.xml.ws.Holder<net.es.nsi.lib.soap.gen.nsi_2_0_r117.framework.headers.CommonHeaderType> header1\n ) throws net.es.nsi.lib.soap.gen.nsi_2_0_r117.connection.ifce.ServiceException;\n}",
"@WebService(name = \"ProfilePort\", targetNamespace = \"http://ws.clkio.com\")\n@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)\n@XmlSeeAlso({\n com.clkio.schemas.ObjectFactory.class,\n com.clkio.schemas.adjusting.ObjectFactory.class,\n com.clkio.schemas.clockinclockout.ObjectFactory.class,\n com.clkio.schemas.common.ObjectFactory.class,\n com.clkio.schemas.day.ObjectFactory.class,\n com.clkio.schemas.email.ObjectFactory.class,\n com.clkio.schemas.login.ObjectFactory.class,\n com.clkio.schemas.manualentering.ObjectFactory.class,\n com.clkio.schemas.profile.ObjectFactory.class,\n com.clkio.schemas.reason.ObjectFactory.class,\n com.clkio.schemas.resetpassword.ObjectFactory.class,\n com.clkio.schemas.timecard.ObjectFactory.class,\n com.clkio.schemas.user.ObjectFactory.class\n})\npublic interface ProfilePort {\n\n\n /**\n * \n * @param request\n * @param clkioLoginCode\n * @return\n * returns com.clkio.schemas.profile.ListProfileResponse\n * @throws ResponseException\n */\n @WebMethod\n @WebResult(name = \"listProfileResponse\", targetNamespace = \"http://schemas.clkio.com\", partName = \"result\")\n public ListProfileResponse list(\n @WebParam(name = \"clkioLoginCode\", targetNamespace = \"http://schemas.clkio.com\", header = true, partName = \"clkioLoginCode\")\n String clkioLoginCode,\n @WebParam(name = \"listProfileRequest\", targetNamespace = \"http://schemas.clkio.com\", partName = \"request\")\n ListProfileRequest request)\n throws ResponseException\n ;\n\n /**\n * \n * @param request\n * @param clkioLoginCode\n * @return\n * returns com.clkio.schemas.common.ResponseCreated\n * @throws ResponseException\n */\n @WebMethod\n @WebResult(name = \"responseCreated\", targetNamespace = \"http://schemas.clkio.com\", partName = \"result\")\n public ResponseCreated insert(\n @WebParam(name = \"clkioLoginCode\", targetNamespace = \"http://schemas.clkio.com\", header = true, partName = \"clkioLoginCode\")\n String clkioLoginCode,\n @WebParam(name = \"insertProfileRequest\", targetNamespace = \"http://schemas.clkio.com\", partName = \"request\")\n InsertProfileRequest request)\n throws ResponseException\n ;\n\n /**\n * \n * @param request\n * @param clkioLoginCode\n * @return\n * returns com.clkio.schemas.common.Response\n * @throws ResponseException\n */\n @WebMethod\n @WebResult(name = \"response\", targetNamespace = \"http://schemas.clkio.com\", partName = \"result\")\n public Response update(\n @WebParam(name = \"clkioLoginCode\", targetNamespace = \"http://schemas.clkio.com\", header = true, partName = \"clkioLoginCode\")\n String clkioLoginCode,\n @WebParam(name = \"updateProfileRequest\", targetNamespace = \"http://schemas.clkio.com\", partName = \"request\")\n UpdateProfileRequest request)\n throws ResponseException\n ;\n\n /**\n * \n * @param request\n * @param clkioLoginCode\n * @return\n * returns com.clkio.schemas.common.Response\n * @throws ResponseException\n */\n @WebMethod\n @WebResult(name = \"response\", targetNamespace = \"http://schemas.clkio.com\", partName = \"result\")\n public Response delete(\n @WebParam(name = \"clkioLoginCode\", targetNamespace = \"http://schemas.clkio.com\", header = true, partName = \"clkioLoginCode\")\n String clkioLoginCode,\n @WebParam(name = \"deleteProfileRequest\", targetNamespace = \"http://schemas.clkio.com\", partName = \"request\")\n DeleteProfileRequest request)\n throws ResponseException\n ;\n\n}",
"@WebService(targetNamespace = \"http://demo.grails.org/\", name = \"CustomerService\")\n@XmlSeeAlso({ObjectFactory.class})\npublic interface CustomerService {\n\n @WebResult(name = \"Customer\", targetNamespace = \"\")\n @RequestWrapper(localName = \"GetCustomer\", targetNamespace = \"http://demo.grails.org/\", className = \"org.grails.demo.soap.customer.GetCustomer\")\n @WebMethod(operationName = \"GetCustomer\")\n @ResponseWrapper(localName = \"GetCustomerResponse\", targetNamespace = \"http://demo.grails.org\", className = \"org.grails.demo.soap.customer.GetCustomerResponse\")\n public org.grails.demo.soap.customer.Customer getCustomer(\n @WebParam(name = \"CustomerId\", targetNamespace = \"\")\n int customerId,\n @WebParam(name = \"FirstName\", targetNamespace = \"\")\n java.lang.String firstName\n );\n\n @WebResult(name = \"Customers\", targetNamespace = \"\")\n @RequestWrapper(localName = \"GetCustomers\", targetNamespace = \"http://demo.grails.org/\", className = \"org.grails.demo.soap.customer.GetCustomers\")\n @WebMethod(operationName = \"GetCustomers\")\n @ResponseWrapper(localName = \"GetCustomersResponse\", targetNamespace = \"http://demo.grails.org\", className = \"org.grails.demo.soap.customer.GetCustomersResponse\")\n public java.util.List<org.grails.demo.soap.customer.Customer> getCustomers();\n\n @WebResult(name = \"Customer\", targetNamespace = \"\")\n @RequestWrapper(localName = \"MakePayment\", targetNamespace = \"http://demo.grails.org/\", className = \"org.grails.demo.soap.customer.MakePayment\")\n @WebMethod(operationName = \"MakePayment\")\n @ResponseWrapper(localName = \"MakePaymentResponse\", targetNamespace = \"http://demo.grails.org\", className = \"org.grails.demo.soap.customer.MakePaymentResponse\")\n public org.grails.demo.soap.customer.Customer makePayment(\n @WebParam(name = \"CustomerId\", targetNamespace = \"\")\n int customerId,\n @WebParam(name = \"PaymentDate\", targetNamespace = \"\")\n java.util.Date paymentDate,\n @WebParam(name = \"PaymentAmount\", targetNamespace = \"\")\n java.lang.Double paymentAmount\n );\n}",
"@WebService(name = \"GetAllProductsSoap\", targetNamespace = \"http://tempuri.org/\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface GetAllProductsSoap {\n\n\n /**\n * \n * @return\n * returns org.tempuri.ArrayOfProductClass\n */\n @WebMethod(operationName = \"GetAllProductsList\", action = \"http://tempuri.org/GetAllProductsList\")\n @WebResult(name = \"GetAllProductsListResult\", targetNamespace = \"http://tempuri.org/\")\n @RequestWrapper(localName = \"GetAllProductsList\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.GetAllProductsList\")\n @ResponseWrapper(localName = \"GetAllProductsListResponse\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.GetAllProductsListResponse\")\n public ArrayOfProductClass getAllProductsList();\n\n /**\n * \n * @param serviceid\n * @return\n * returns org.tempuri.ArrayOfProductClass\n */\n @WebMethod(operationName = \"GetProductsByServiceID\", action = \"http://tempuri.org/GetProductsByServiceID\")\n @WebResult(name = \"GetProductsByServiceIDResult\", targetNamespace = \"http://tempuri.org/\")\n @RequestWrapper(localName = \"GetProductsByServiceID\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.GetProductsByServiceID\")\n @ResponseWrapper(localName = \"GetProductsByServiceIDResponse\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.GetProductsByServiceIDResponse\")\n public ArrayOfProductClass getProductsByServiceID(\n @WebParam(name = \"serviceid\", targetNamespace = \"http://tempuri.org/\")\n String serviceid);\n\n /**\n * \n * @param zip\n * @param serviceid\n * @return\n * returns org.tempuri.ArrayOfProductClass\n */\n @WebMethod(operationName = \"GetProductsByZipAndServiceID\", action = \"http://tempuri.org/GetProductsByZipAndServiceID\")\n @WebResult(name = \"GetProductsByZipAndServiceIDResult\", targetNamespace = \"http://tempuri.org/\")\n @RequestWrapper(localName = \"GetProductsByZipAndServiceID\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.GetProductsByZipAndServiceID\")\n @ResponseWrapper(localName = \"GetProductsByZipAndServiceIDResponse\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.GetProductsByZipAndServiceIDResponse\")\n public ArrayOfProductClass getProductsByZipAndServiceID(\n @WebParam(name = \"serviceid\", targetNamespace = \"http://tempuri.org/\")\n String serviceid,\n @WebParam(name = \"zip\", targetNamespace = \"http://tempuri.org/\")\n int zip);\n\n /**\n * \n * @param zip\n * @param stateCode\n * @return\n * returns org.tempuri.ArrayOfProductClass\n */\n @WebMethod(operationName = \"GetEnterpriseProducts\", action = \"http://tempuri.org/GetEnterpriseProducts\")\n @WebResult(name = \"GetEnterpriseProductsResult\", targetNamespace = \"http://tempuri.org/\")\n @RequestWrapper(localName = \"GetEnterpriseProducts\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.GetEnterpriseProducts\")\n @ResponseWrapper(localName = \"GetEnterpriseProductsResponse\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.GetEnterpriseProductsResponse\")\n public ArrayOfProductClass getEnterpriseProducts(\n @WebParam(name = \"state_code\", targetNamespace = \"http://tempuri.org/\")\n String stateCode,\n @WebParam(name = \"zip\", targetNamespace = \"http://tempuri.org/\")\n int zip);\n\n /**\n * \n * @return\n * returns org.tempuri.ArrayOfProductRate\n */\n @WebMethod(operationName = \"GetProductRates\", action = \"http://tempuri.org/GetProductRates\")\n @WebResult(name = \"GetProductRatesResult\", targetNamespace = \"http://tempuri.org/\")\n @RequestWrapper(localName = \"GetProductRates\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.GetProductRates\")\n @ResponseWrapper(localName = \"GetProductRatesResponse\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.GetProductRatesResponse\")\n public ArrayOfProductRate getProductRates();\n\n}",
"@WebService(targetNamespace = \"http://service.cxf.rain6.com/\", name = \"TestWebService\")\n@XmlSeeAlso({ObjectFactory.class})\npublic interface TestWebService {\n\n @WebMethod\n @RequestWrapper(localName = \"selectByPrimaryKey\", targetNamespace = \"http://service.cxf.rain6.com/\", className = \"com.rain6.cxf.service.SelectByPrimaryKey\")\n @ResponseWrapper(localName = \"selectByPrimaryKeyResponse\", targetNamespace = \"http://service.cxf.rain6.com/\", className = \"com.rain6.cxf.service.SelectByPrimaryKeyResponse\")\n @WebResult(name = \"return\", targetNamespace = \"\")\n public Lawyer selectByPrimaryKey(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n String arg0\n );\n}",
"@WebService(targetNamespace = \"http://jaxws.intergrupo.com.co/\", name = \"InterfaceWebService\")\r\n@XmlSeeAlso({ObjectFactory.class})\r\npublic interface InterfaceWebService {\r\n\r\n @WebResult(name = \"return\", targetNamespace = \"\")\r\n @RequestWrapper(localName = \"vehiculoReportado\", targetNamespace = \"http://jaxws.intergrupo.com.co/\", className = \"co.com.intergrupo.cxf.VehiculoReportado\")\r\n @WebMethod(action = \"urn:vehiculoReportado\")\r\n @ResponseWrapper(localName = \"vehiculoReportadoResponse\", targetNamespace = \"http://jaxws.intergrupo.com.co/\", className = \"co.com.intergrupo.cxf.VehiculoReportadoResponse\")\r\n public boolean vehiculoReportado(\r\n @WebParam(name = \"placa\", targetNamespace = \"\")\r\n java.lang.String placa\r\n );\r\n\r\n @WebResult(name = \"return\", targetNamespace = \"\")\r\n @RequestWrapper(localName = \"saludo\", targetNamespace = \"http://jaxws.intergrupo.com.co/\", className = \"co.com.intergrupo.cxf.Saludo\")\r\n @WebMethod\r\n @ResponseWrapper(localName = \"saludoResponse\", targetNamespace = \"http://jaxws.intergrupo.com.co/\", className = \"co.com.intergrupo.cxf.SaludoResponse\")\r\n public java.lang.String saludo(\r\n @WebParam(name = \"nombre\", targetNamespace = \"\")\r\n java.lang.String nombre\r\n );\r\n\r\n @WebResult(name = \"vehiculo\", targetNamespace = \"\")\r\n @RequestWrapper(localName = \"consultarVehiculo\", targetNamespace = \"http://jaxws.intergrupo.com.co/\", className = \"co.com.intergrupo.cxf.ConsultarVehiculo\")\r\n @WebMethod(action = \"urn:consultarVehiculo\")\r\n @ResponseWrapper(localName = \"consultarVehiculoResponse\", targetNamespace = \"http://jaxws.intergrupo.com.co/\", className = \"co.com.intergrupo.cxf.ConsultarVehiculoResponse\")\r\n public co.com.intergrupo.cxf.Vehiculo consultarVehiculo(\r\n @WebParam(name = \"placa\", targetNamespace = \"\")\r\n java.lang.String placa\r\n );\r\n\r\n @WebResult(name = \"return\", targetNamespace = \"\")\r\n @RequestWrapper(localName = \"vehiculoAlDiaConImpuesto\", targetNamespace = \"http://jaxws.intergrupo.com.co/\", className = \"co.com.intergrupo.cxf.VehiculoAlDiaConImpuesto\")\r\n @WebMethod(action = \"urn:vehiculoAlDiaConImpuesto\")\r\n @ResponseWrapper(localName = \"vehiculoAlDiaConImpuestoResponse\", targetNamespace = \"http://jaxws.intergrupo.com.co/\", className = \"co.com.intergrupo.cxf.VehiculoAlDiaConImpuestoResponse\")\r\n public boolean vehiculoAlDiaConImpuesto(\r\n @WebParam(name = \"placa\", targetNamespace = \"\")\r\n java.lang.String placa\r\n );\r\n\r\n @WebResult(name = \"return\", targetNamespace = \"\")\r\n @RequestWrapper(localName = \"registradoRunt\", targetNamespace = \"http://jaxws.intergrupo.com.co/\", className = \"co.com.intergrupo.cxf.RegistradoRunt\")\r\n @WebMethod(action = \"urn:registradoRunt\")\r\n @ResponseWrapper(localName = \"registradoRuntResponse\", targetNamespace = \"http://jaxws.intergrupo.com.co/\", className = \"co.com.intergrupo.cxf.RegistradoRuntResponse\")\r\n public boolean registradoRunt(\r\n @WebParam(name = \"placa\", targetNamespace = \"\")\r\n java.lang.String placa\r\n );\r\n}",
"@WebService(name = \"memberWs\", targetNamespace = \"http://webservice.cereme.org/\")\r\n@XmlSeeAlso({\r\n ObjectFactory.class\r\n})\r\npublic interface MemberWs {\r\n\r\n\r\n /**\r\n * \r\n */\r\n @WebMethod\r\n @RequestWrapper(localName = \"init\", targetNamespace = \"http://webservice.cereme.org/\", className = \"org.cereme.digital.library.clientws.Init\")\r\n @ResponseWrapper(localName = \"initResponse\", targetNamespace = \"http://webservice.cereme.org/\", className = \"org.cereme.digital.library.clientws.InitResponse\")\r\n public void init();\r\n\r\n /**\r\n * \r\n * @return\r\n * returns java.util.List<org.cereme.digital.library.clientws.Member>\r\n */\r\n @WebMethod\r\n @WebResult(targetNamespace = \"\")\r\n @RequestWrapper(localName = \"findAll\", targetNamespace = \"http://webservice.cereme.org/\", className = \"org.cereme.digital.library.clientws.FindAll\")\r\n @ResponseWrapper(localName = \"findAllResponse\", targetNamespace = \"http://webservice.cereme.org/\", className = \"org.cereme.digital.library.clientws.FindAllResponse\")\r\n public List<Member> findAll();\r\n\r\n /**\r\n * \r\n * @param arg0\r\n * @return\r\n * returns org.cereme.digital.library.clientws.Member\r\n */\r\n @WebMethod\r\n @WebResult(targetNamespace = \"\")\r\n @RequestWrapper(localName = \"findByUsername\", targetNamespace = \"http://webservice.cereme.org/\", className = \"org.cereme.digital.library.clientws.FindByUsername\")\r\n @ResponseWrapper(localName = \"findByUsernameResponse\", targetNamespace = \"http://webservice.cereme.org/\", className = \"org.cereme.digital.library.clientws.FindByUsernameResponse\")\r\n public Member findByUsername(\r\n @WebParam(name = \"arg0\", targetNamespace = \"\")\r\n String arg0);\r\n\r\n /**\r\n * \r\n * @param arg0\r\n * @return\r\n * returns java.lang.String\r\n */\r\n @WebMethod\r\n @WebResult(targetNamespace = \"\")\r\n @RequestWrapper(localName = \"updateMember\", targetNamespace = \"http://webservice.cereme.org/\", className = \"org.cereme.digital.library.clientws.UpdateMember\")\r\n @ResponseWrapper(localName = \"updateMemberResponse\", targetNamespace = \"http://webservice.cereme.org/\", className = \"org.cereme.digital.library.clientws.UpdateMemberResponse\")\r\n public String updateMember(\r\n @WebParam(name = \"arg0\", targetNamespace = \"\")\r\n Member arg0);\r\n\r\n /**\r\n * \r\n * @param arg1\r\n * @param arg0\r\n * @return\r\n * returns boolean\r\n */\r\n @WebMethod\r\n @WebResult(targetNamespace = \"\")\r\n @RequestWrapper(localName = \"isValidUser\", targetNamespace = \"http://webservice.cereme.org/\", className = \"org.cereme.digital.library.clientws.IsValidUser\")\r\n @ResponseWrapper(localName = \"isValidUserResponse\", targetNamespace = \"http://webservice.cereme.org/\", className = \"org.cereme.digital.library.clientws.IsValidUserResponse\")\r\n public boolean isValidUser(\r\n @WebParam(name = \"arg0\", targetNamespace = \"\")\r\n String arg0,\r\n @WebParam(name = \"arg1\", targetNamespace = \"\")\r\n String arg1);\r\n\r\n}",
"@WebService(name = \"CardWS\", targetNamespace = \"http://service.cbp.ws.cbp1.com/\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface CardWS {\n\n\n /**\n * \n * @param plastic\n * @param fechaCorte\n * @param fechaAsignacion\n * @param client\n * @param canal\n * @return\n * returns com.cbp1.ws.cbp.service.RespuestaDTO\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"assignCardToClientWS\", targetNamespace = \"http://service.cbp.ws.cbp1.com/\", className = \"com.cbp1.ws.cbp.service.AssignCardToClientWS\")\n @ResponseWrapper(localName = \"assignCardToClientWSResponse\", targetNamespace = \"http://service.cbp.ws.cbp1.com/\", className = \"com.cbp1.ws.cbp.service.AssignCardToClientWSResponse\")\n @Action(input = \"http://service.cbp.ws.cbp1.com/CardWS/assignCardToClientWSRequest\", output = \"http://service.cbp.ws.cbp1.com/CardWS/assignCardToClientWSResponse\")\n public RespuestaDTO assignCardToClientWS(\n @WebParam(name = \"client\", targetNamespace = \"\")\n Client client,\n @WebParam(name = \"plastic\", targetNamespace = \"\")\n Plastic plastic,\n @WebParam(name = \"fechaCorte\", targetNamespace = \"\")\n String fechaCorte,\n @WebParam(name = \"fechaAsignacion\", targetNamespace = \"\")\n String fechaAsignacion,\n @WebParam(name = \"canal\", targetNamespace = \"\")\n String canal);\n\n /**\n * \n * @param client\n * @param canal\n * @param status\n * @return\n * returns com.cbp1.ws.cbp.service.RespuestaDTO\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"cancelCardWS\", targetNamespace = \"http://service.cbp.ws.cbp1.com/\", className = \"com.cbp1.ws.cbp.service.CancelCardWS\")\n @ResponseWrapper(localName = \"cancelCardWSResponse\", targetNamespace = \"http://service.cbp.ws.cbp1.com/\", className = \"com.cbp1.ws.cbp.service.CancelCardWSResponse\")\n @Action(input = \"http://service.cbp.ws.cbp1.com/CardWS/cancelCardWSRequest\", output = \"http://service.cbp.ws.cbp1.com/CardWS/cancelCardWSResponse\")\n public RespuestaDTO cancelCardWS(\n @WebParam(name = \"client\", targetNamespace = \"\")\n Client client,\n @WebParam(name = \"status\", targetNamespace = \"\")\n String status,\n @WebParam(name = \"canal\", targetNamespace = \"\")\n String canal);\n\n /**\n * \n * @param plasticNumber\n * @return\n * returns com.cbp1.ws.cbp.service.Plastic\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"consultPlasticByNumberWS\", targetNamespace = \"http://service.cbp.ws.cbp1.com/\", className = \"com.cbp1.ws.cbp.service.ConsultPlasticByNumberWS\")\n @ResponseWrapper(localName = \"consultPlasticByNumberWSResponse\", targetNamespace = \"http://service.cbp.ws.cbp1.com/\", className = \"com.cbp1.ws.cbp.service.ConsultPlasticByNumberWSResponse\")\n @Action(input = \"http://service.cbp.ws.cbp1.com/CardWS/consultPlasticByNumberWSRequest\", output = \"http://service.cbp.ws.cbp1.com/CardWS/consultPlasticByNumberWSResponse\")\n public Plastic consultPlasticByNumberWS(\n @WebParam(name = \"plasticNumber\", targetNamespace = \"\")\n String plasticNumber);\n\n}",
"@WebService(name = \"SharesBrokeringSystem\", targetNamespace = \"http://sharesbrokeringsystem.me.org/\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface SharesBrokeringSystem {\n\n\n /**\n * \n * @param volume\n * @param client\n * @param company\n */\n @WebMethod\n @Oneway\n @RequestWrapper(localName = \"sellShares\", targetNamespace = \"http://sharesbrokeringsystem.me.org/\", className = \"org.me.sharesbrokeringsystem.SellShares\")\n @Action(input = \"http://sharesbrokeringsystem.me.org/SharesBrokeringSystem/sellShares\")\n public void sellShares(\n @WebParam(name = \"client\", targetNamespace = \"\")\n Client client,\n @WebParam(name = \"company\", targetNamespace = \"\")\n Company company,\n @WebParam(name = \"volume\", targetNamespace = \"\")\n int volume);\n\n /**\n * \n * @return\n * returns java.util.List<org.me.sharesbrokeringsystem.Company>\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"companyList\", targetNamespace = \"http://sharesbrokeringsystem.me.org/\", className = \"org.me.sharesbrokeringsystem.CompanyList\")\n @ResponseWrapper(localName = \"companyListResponse\", targetNamespace = \"http://sharesbrokeringsystem.me.org/\", className = \"org.me.sharesbrokeringsystem.CompanyListResponse\")\n @Action(input = \"http://sharesbrokeringsystem.me.org/SharesBrokeringSystem/companyListRequest\", output = \"http://sharesbrokeringsystem.me.org/SharesBrokeringSystem/companyListResponse\")\n public List<Company> companyList();\n\n /**\n * \n * @param company\n * @return\n * returns org.me.sharesbrokeringsystem.Company\n * @throws CertificateException_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"moreCompanyInfo\", targetNamespace = \"http://sharesbrokeringsystem.me.org/\", className = \"org.me.sharesbrokeringsystem.MoreCompanyInfo\")\n @ResponseWrapper(localName = \"moreCompanyInfoResponse\", targetNamespace = \"http://sharesbrokeringsystem.me.org/\", className = \"org.me.sharesbrokeringsystem.MoreCompanyInfoResponse\")\n @Action(input = \"http://sharesbrokeringsystem.me.org/SharesBrokeringSystem/moreCompanyInfoRequest\", output = \"http://sharesbrokeringsystem.me.org/SharesBrokeringSystem/moreCompanyInfoResponse\", fault = {\n @FaultAction(className = CertificateException_Exception.class, value = \"http://sharesbrokeringsystem.me.org/SharesBrokeringSystem/moreCompanyInfo/Fault/CertificateException\")\n })\n public Company moreCompanyInfo(\n @WebParam(name = \"_company\", targetNamespace = \"\")\n Company company)\n throws CertificateException_Exception\n ;\n\n /**\n * \n * @param password\n * @param username\n * @return\n * returns org.me.sharesbrokeringsystem.Client\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"logIn\", targetNamespace = \"http://sharesbrokeringsystem.me.org/\", className = \"org.me.sharesbrokeringsystem.LogIn\")\n @ResponseWrapper(localName = \"logInResponse\", targetNamespace = \"http://sharesbrokeringsystem.me.org/\", className = \"org.me.sharesbrokeringsystem.LogInResponse\")\n @Action(input = \"http://sharesbrokeringsystem.me.org/SharesBrokeringSystem/logInRequest\", output = \"http://sharesbrokeringsystem.me.org/SharesBrokeringSystem/logInResponse\")\n public Client logIn(\n @WebParam(name = \"username\", targetNamespace = \"\")\n String username,\n @WebParam(name = \"password\", targetNamespace = \"\")\n String password);\n\n /**\n * \n * @param currentTrades\n * @return\n * returns org.me.sharesbrokeringsystem.UpdateCompaniesResponse.Return\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"updateCompanies\", targetNamespace = \"http://sharesbrokeringsystem.me.org/\", className = \"org.me.sharesbrokeringsystem.UpdateCompanies\")\n @ResponseWrapper(localName = \"updateCompaniesResponse\", targetNamespace = \"http://sharesbrokeringsystem.me.org/\", className = \"org.me.sharesbrokeringsystem.UpdateCompaniesResponse\")\n @Action(input = \"http://sharesbrokeringsystem.me.org/SharesBrokeringSystem/updateCompaniesRequest\", output = \"http://sharesbrokeringsystem.me.org/SharesBrokeringSystem/updateCompaniesResponse\")\n public org.me.sharesbrokeringsystem.UpdateCompaniesResponse.Return updateCompanies(\n @WebParam(name = \"_currentTrades\", targetNamespace = \"\")\n org.me.sharesbrokeringsystem.UpdateCompanies.CurrentTrades currentTrades);\n\n /**\n * \n * @param password\n * @param username\n * @return\n * returns int\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"signUp\", targetNamespace = \"http://sharesbrokeringsystem.me.org/\", className = \"org.me.sharesbrokeringsystem.SignUp\")\n @ResponseWrapper(localName = \"signUpResponse\", targetNamespace = \"http://sharesbrokeringsystem.me.org/\", className = \"org.me.sharesbrokeringsystem.SignUpResponse\")\n @Action(input = \"http://sharesbrokeringsystem.me.org/SharesBrokeringSystem/signUpRequest\", output = \"http://sharesbrokeringsystem.me.org/SharesBrokeringSystem/signUpResponse\")\n public int signUp(\n @WebParam(name = \"username\", targetNamespace = \"\")\n String username,\n @WebParam(name = \"password\", targetNamespace = \"\")\n String password);\n\n /**\n * \n * @param client\n * @return\n * returns int\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"logOut\", targetNamespace = \"http://sharesbrokeringsystem.me.org/\", className = \"org.me.sharesbrokeringsystem.LogOut\")\n @ResponseWrapper(localName = \"logOutResponse\", targetNamespace = \"http://sharesbrokeringsystem.me.org/\", className = \"org.me.sharesbrokeringsystem.LogOutResponse\")\n @Action(input = \"http://sharesbrokeringsystem.me.org/SharesBrokeringSystem/logOutRequest\", output = \"http://sharesbrokeringsystem.me.org/SharesBrokeringSystem/logOutResponse\")\n public int logOut(\n @WebParam(name = \"client\", targetNamespace = \"\")\n Client client);\n\n /**\n * \n * @param amount\n * @param client\n * @param currency\n * @return\n * returns double\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"depositAmount\", targetNamespace = \"http://sharesbrokeringsystem.me.org/\", className = \"org.me.sharesbrokeringsystem.DepositAmount\")\n @ResponseWrapper(localName = \"depositAmountResponse\", targetNamespace = \"http://sharesbrokeringsystem.me.org/\", className = \"org.me.sharesbrokeringsystem.DepositAmountResponse\")\n @Action(input = \"http://sharesbrokeringsystem.me.org/SharesBrokeringSystem/depositAmountRequest\", output = \"http://sharesbrokeringsystem.me.org/SharesBrokeringSystem/depositAmountResponse\")\n public double depositAmount(\n @WebParam(name = \"client\", targetNamespace = \"\")\n Client client,\n @WebParam(name = \"amount\", targetNamespace = \"\")\n double amount,\n @WebParam(name = \"currency\", targetNamespace = \"\")\n String currency);\n\n /**\n * \n * @param volume\n * @param client\n * @param company\n */\n @WebMethod\n @Oneway\n @RequestWrapper(localName = \"buyShares\", targetNamespace = \"http://sharesbrokeringsystem.me.org/\", className = \"org.me.sharesbrokeringsystem.BuyShares\")\n @Action(input = \"http://sharesbrokeringsystem.me.org/SharesBrokeringSystem/buyShares\")\n public void buyShares(\n @WebParam(name = \"client\", targetNamespace = \"\")\n Client client,\n @WebParam(name = \"company\", targetNamespace = \"\")\n Company company,\n @WebParam(name = \"volume\", targetNamespace = \"\")\n int volume);\n\n /**\n * \n * @return\n * returns java.util.List<org.me.sharesbrokeringsystem.Company>\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getCompanies\", targetNamespace = \"http://sharesbrokeringsystem.me.org/\", className = \"org.me.sharesbrokeringsystem.GetCompanies\")\n @ResponseWrapper(localName = \"getCompaniesResponse\", targetNamespace = \"http://sharesbrokeringsystem.me.org/\", className = \"org.me.sharesbrokeringsystem.GetCompaniesResponse\")\n @Action(input = \"http://sharesbrokeringsystem.me.org/SharesBrokeringSystem/getCompaniesRequest\", output = \"http://sharesbrokeringsystem.me.org/SharesBrokeringSystem/getCompaniesResponse\")\n public List<Company> getCompanies();\n\n}",
"@WebService(name = \"Repositorio\", targetNamespace = \"http://Ecodex.WS.Model/2011/CFDI\")\n@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface Repositorio {\n\n\n /**\n * \n * @param parameters\n * @return\n * returns Repositorio.RespuestaEstatusComprobante\n * @throws RepositorioEstatusComprobanteFallaValidacionFaultFaultMessage\n * @throws RepositorioEstatusComprobanteFallaSesionFaultFaultMessage\n * @throws RepositorioEstatusComprobanteFallaServicioFaultFaultMessage\n */\n @WebMethod(operationName = \"EstatusComprobante\", action = \"http://Ecodex.WS.Model/2011/CFDI/ServicioRepositorio/EstatusComprobante\")\n @WebResult(name = \"RespuestaEstatusComprobante\", targetNamespace = \"http://Ecodex.WS.Model/2011/CFDI\", partName = \"parameters\")\n public RespuestaEstatusComprobante estatusComprobante(\n @WebParam(name = \"SolicitudEstatusComprobante\", targetNamespace = \"http://Ecodex.WS.Model/2011/CFDI\", partName = \"parameters\")\n SolicitudEstatusComprobante parameters)\n throws RepositorioEstatusComprobanteFallaServicioFaultFaultMessage, RepositorioEstatusComprobanteFallaSesionFaultFaultMessage, RepositorioEstatusComprobanteFallaValidacionFaultFaultMessage\n ;\n\n /**\n * \n * @param parameters\n * @return\n * returns Repositorio.RespuestaObtenerComprobante\n * @throws RepositorioObtenerComprobanteFallaValidacionFaultFaultMessage\n * @throws RepositorioObtenerComprobanteFallaServicioFaultFaultMessage\n * @throws RepositorioObtenerComprobanteFallaSesionFaultFaultMessage\n */\n @WebMethod(operationName = \"ObtenerComprobante\", action = \"http://Ecodex.WS.Model/2011/CFDI/Repositorio/ObtenerComprobante\")\n @WebResult(name = \"RespuestaObtenerComprobante\", targetNamespace = \"http://Ecodex.WS.Model/2011/CFDI\", partName = \"parameters\")\n public RespuestaObtenerComprobante obtenerComprobante(\n @WebParam(name = \"SolicitudObtenerComprobante\", targetNamespace = \"http://Ecodex.WS.Model/2011/CFDI\", partName = \"parameters\")\n SolicitudObtenerComprobante parameters)\n throws RepositorioObtenerComprobanteFallaServicioFaultFaultMessage, RepositorioObtenerComprobanteFallaSesionFaultFaultMessage, RepositorioObtenerComprobanteFallaValidacionFaultFaultMessage\n ;\n\n /**\n * \n * @param parameters\n * @return\n * returns Repositorio.RespuestaCancelaComprobante\n * @throws RepositorioCancelaComprobanteFallaValidacionFaultFaultMessage\n * @throws RepositorioCancelaComprobanteFallaSesionFaultFaultMessage\n * @throws RepositorioCancelaComprobanteFallaServicioFaultFaultMessage\n */\n @WebMethod(operationName = \"CancelaComprobante\", action = \"http://Ecodex.WS.Model/2011/CFDI/ServicioRepositorio/CancelaComprobante\")\n @WebResult(name = \"RespuestaCancelaComprobante\", targetNamespace = \"http://Ecodex.WS.Model/2011/CFDI\", partName = \"parameters\")\n public RespuestaCancelaComprobante cancelaComprobante(\n @WebParam(name = \"SolicitudCancelaComprobante\", targetNamespace = \"http://Ecodex.WS.Model/2011/CFDI\", partName = \"parameters\")\n SolicitudCancelaComprobante parameters)\n throws RepositorioCancelaComprobanteFallaServicioFaultFaultMessage, RepositorioCancelaComprobanteFallaSesionFaultFaultMessage, RepositorioCancelaComprobanteFallaValidacionFaultFaultMessage\n ;\n\n /**\n * \n * @param parameters\n * @return\n * returns Repositorio.RespuestaObtenerQR\n * @throws RepositorioObtenerQRFallaValidacionFaultFaultMessage\n * @throws RepositorioObtenerQRFallaSesionFaultFaultMessage\n * @throws RepositorioObtenerQRFallaServicioFaultFaultMessage\n */\n @WebMethod(operationName = \"ObtenerQR\", action = \"http://Ecodex.WS.Model/2011/CFDI/Repositorio/ObtenerQR\")\n @WebResult(name = \"RespuestaObtenerQR\", targetNamespace = \"http://Ecodex.WS.Model/2011/CFDI\", partName = \"parameters\")\n public RespuestaObtenerQR obtenerQR(\n @WebParam(name = \"SolicitudObtenerQR\", targetNamespace = \"http://Ecodex.WS.Model/2011/CFDI\", partName = \"parameters\")\n SolicitudObtenerQR parameters)\n throws RepositorioObtenerQRFallaServicioFaultFaultMessage, RepositorioObtenerQRFallaSesionFaultFaultMessage, RepositorioObtenerQRFallaValidacionFaultFaultMessage\n ;\n\n}",
"@WebService(name = \"InformacionClientePort\", targetNamespace = \"http://www.soaint.com/InformacionCliente/\")\n@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)\n@XmlSeeAlso({ ObjectFactory.class })\npublic interface InformacionClientePort {\n\n\n /**\n *\n * @param parameters\n * @return\n * returns com.soaint.informacioncliente.ListaCLienteType\n */\n @WebMethod(action = \"http://www.soaint.com/InformacionCliente/consultarClientes\")\n @WebResult(name = \"consultarClientesRs\", targetNamespace = \"http://www.soaint.com/InformacionCliente/\",\n partName = \"parameters\")\n public ListaCLienteType consultarClientes(@WebParam(name = \"consultarClientesRq\",\n targetNamespace = \"http://www.soaint.com/InformacionCliente/\",\n partName = \"parameters\") ClienteType parameters);\n\n /**\n *\n * @param parameters\n * @return\n * returns com.soaint.informacioncliente.MoraType\n */\n @WebMethod(action = \"http://www.soaint.com/InformacionCliente/clientePoseeMora\")\n @WebResult(name = \"clientePoseeMoraRs\", targetNamespace = \"http://www.soaint.com/InformacionCliente/\",\n partName = \"parameters\")\n public MoraType clientePoseeMora(@WebParam(name = \"clientePoseeMoraRq\",\n targetNamespace = \"http://www.soaint.com/InformacionCliente/\",\n partName = \"parameters\") ClienteType parameters);\n\n}",
"@WebService(name = \"ConfigurationService\", targetNamespace = \"http://ws.coverity.com/v7\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface ConfigurationService {\n\n\n /**\n * \n * @param message\n * @param usernames\n * @param subject\n * @return\n * returns java.util.List<java.lang.String>\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"notify\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.Notify\")\n @ResponseWrapper(localName = \"notifyResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.NotifyResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/notifyRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/notifyResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/notify/Fault/CovRemoteServiceException\")\n })\n public List<String> notify(\n @WebParam(name = \"usernames\", targetNamespace = \"\")\n List<String> usernames,\n @WebParam(name = \"subject\", targetNamespace = \"\")\n String subject,\n @WebParam(name = \"message\", targetNamespace = \"\")\n String message)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @return\n * returns java.util.List<com.coverity.ws.v7.AttributeDefinitionDataObj>\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getAttributes\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetAttributes\")\n @ResponseWrapper(localName = \"getAttributesResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetAttributesResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/getAttributesRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/getAttributesResponse\")\n public List<AttributeDefinitionDataObj> getAttributes();\n\n /**\n * \n * @param attributeDefinitionId\n * @return\n * returns com.coverity.ws.v7.AttributeDefinitionDataObj\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getAttribute\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetAttribute\")\n @ResponseWrapper(localName = \"getAttributeResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetAttributeResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/getAttributeRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/getAttributeResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/getAttribute/Fault/CovRemoteServiceException\")\n })\n public AttributeDefinitionDataObj getAttribute(\n @WebParam(name = \"attributeDefinitionId\", targetNamespace = \"\")\n AttributeDefinitionIdDataObj attributeDefinitionId)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @return\n * returns com.coverity.ws.v7.VersionDataObj\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getVersion\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetVersion\")\n @ResponseWrapper(localName = \"getVersionResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetVersionResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/getVersionRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/getVersionResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/getVersion/Fault/CovRemoteServiceException\")\n })\n public VersionDataObj getVersion()\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param filterSpec\n * @param pageSpec\n * @return\n * returns com.coverity.ws.v7.GroupsPageDataObj\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getGroups\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetGroups\")\n @ResponseWrapper(localName = \"getGroupsResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetGroupsResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/getGroupsRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/getGroupsResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/getGroups/Fault/CovRemoteServiceException\")\n })\n public GroupsPageDataObj getGroups(\n @WebParam(name = \"filterSpec\", targetNamespace = \"\")\n GroupFilterSpecDataObj filterSpec,\n @WebParam(name = \"pageSpec\", targetNamespace = \"\")\n PageSpecDataObj pageSpec)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param filterSpec\n * @param pageSpec\n * @return\n * returns com.coverity.ws.v7.UsersPageDataObj\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getUsers\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetUsers\")\n @ResponseWrapper(localName = \"getUsersResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetUsersResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/getUsersRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/getUsersResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/getUsers/Fault/CovRemoteServiceException\")\n })\n public UsersPageDataObj getUsers(\n @WebParam(name = \"filterSpec\", targetNamespace = \"\")\n UserFilterSpecDataObj filterSpec,\n @WebParam(name = \"pageSpec\", targetNamespace = \"\")\n PageSpecDataObj pageSpec)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param groupId\n * @return\n * returns com.coverity.ws.v7.GroupDataObj\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getGroup\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetGroup\")\n @ResponseWrapper(localName = \"getGroupResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetGroupResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/getGroupRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/getGroupResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/getGroup/Fault/CovRemoteServiceException\")\n })\n public GroupDataObj getGroup(\n @WebParam(name = \"groupId\", targetNamespace = \"\")\n GroupIdDataObj groupId)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param roleId\n * @return\n * returns com.coverity.ws.v7.RoleDataObj\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getRole\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetRole\")\n @ResponseWrapper(localName = \"getRoleResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetRoleResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/getRoleRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/getRoleResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/getRole/Fault/CovRemoteServiceException\")\n })\n public RoleDataObj getRole(\n @WebParam(name = \"roleId\", targetNamespace = \"\")\n RoleIdDataObj roleId)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param attributeDefinitionSpec\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"createAttribute\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.CreateAttribute\")\n @ResponseWrapper(localName = \"createAttributeResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.CreateAttributeResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/createAttributeRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/createAttributeResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/createAttribute/Fault/CovRemoteServiceException\")\n })\n public void createAttribute(\n @WebParam(name = \"attributeDefinitionSpec\", targetNamespace = \"\")\n AttributeDefinitionSpecDataObj attributeDefinitionSpec)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @return\n * returns java.util.List<com.coverity.ws.v7.RoleDataObj>\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getAllRoles\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetAllRoles\")\n @ResponseWrapper(localName = \"getAllRolesResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetAllRolesResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/getAllRolesRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/getAllRolesResponse\")\n public List<RoleDataObj> getAllRoles();\n\n /**\n * \n * @param groupSpec\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"createGroup\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.CreateGroup\")\n @ResponseWrapper(localName = \"createGroupResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.CreateGroupResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/createGroupRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/createGroupResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/createGroup/Fault/CovRemoteServiceException\")\n })\n public void createGroup(\n @WebParam(name = \"groupSpec\", targetNamespace = \"\")\n GroupSpecDataObj groupSpec)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param roleSpec\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"createRole\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.CreateRole\")\n @ResponseWrapper(localName = \"createRoleResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.CreateRoleResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/createRoleRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/createRoleResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/createRole/Fault/CovRemoteServiceException\")\n })\n public void createRole(\n @WebParam(name = \"roleSpec\", targetNamespace = \"\")\n RoleSpecDataObj roleSpec)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param groupId\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"deleteGroup\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.DeleteGroup\")\n @ResponseWrapper(localName = \"deleteGroupResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.DeleteGroupResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/deleteGroupRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/deleteGroupResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/deleteGroup/Fault/CovRemoteServiceException\")\n })\n public void deleteGroup(\n @WebParam(name = \"groupId\", targetNamespace = \"\")\n GroupIdDataObj groupId)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param groupSpec\n * @param groupId\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"updateGroup\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.UpdateGroup\")\n @ResponseWrapper(localName = \"updateGroupResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.UpdateGroupResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/updateGroupRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/updateGroupResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/updateGroup/Fault/CovRemoteServiceException\")\n })\n public void updateGroup(\n @WebParam(name = \"groupId\", targetNamespace = \"\")\n GroupIdDataObj groupId,\n @WebParam(name = \"groupSpec\", targetNamespace = \"\")\n GroupSpecDataObj groupSpec)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param roleSpec\n * @param roleId\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"updateRole\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.UpdateRole\")\n @ResponseWrapper(localName = \"updateRoleResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.UpdateRoleResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/updateRoleRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/updateRoleResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/updateRole/Fault/CovRemoteServiceException\")\n })\n public void updateRole(\n @WebParam(name = \"roleId\", targetNamespace = \"\")\n RoleIdDataObj roleId,\n @WebParam(name = \"roleSpec\", targetNamespace = \"\")\n RoleSpecDataObj roleSpec)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param roleId\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"deleteRole\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.DeleteRole\")\n @ResponseWrapper(localName = \"deleteRoleResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.DeleteRoleResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/deleteRoleRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/deleteRoleResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/deleteRole/Fault/CovRemoteServiceException\")\n })\n public void deleteRole(\n @WebParam(name = \"roleId\", targetNamespace = \"\")\n RoleIdDataObj roleId)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param streamSpec\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"createStream\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.CreateStream\")\n @ResponseWrapper(localName = \"createStreamResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.CreateStreamResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/createStreamRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/createStreamResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/createStream/Fault/CovRemoteServiceException\")\n })\n public void createStream(\n @WebParam(name = \"streamSpec\", targetNamespace = \"\")\n StreamSpecDataObj streamSpec)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param streamId\n * @param streamSpec\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"updateStream\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.UpdateStream\")\n @ResponseWrapper(localName = \"updateStreamResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.UpdateStreamResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/updateStreamRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/updateStreamResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/updateStream/Fault/CovRemoteServiceException\")\n })\n public void updateStream(\n @WebParam(name = \"streamId\", targetNamespace = \"\")\n StreamIdDataObj streamId,\n @WebParam(name = \"streamSpec\", targetNamespace = \"\")\n StreamSpecDataObj streamSpec)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param streamId\n * @param onlyIfEmpty\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"deleteStream\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.DeleteStream\")\n @ResponseWrapper(localName = \"deleteStreamResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.DeleteStreamResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/deleteStreamRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/deleteStreamResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/deleteStream/Fault/CovRemoteServiceException\")\n })\n public void deleteStream(\n @WebParam(name = \"streamId\", targetNamespace = \"\")\n StreamIdDataObj streamId,\n @WebParam(name = \"onlyIfEmpty\", targetNamespace = \"\")\n boolean onlyIfEmpty)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param userSpec\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"createUser\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.CreateUser\")\n @ResponseWrapper(localName = \"createUserResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.CreateUserResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/createUserRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/createUserResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/createUser/Fault/CovRemoteServiceException\")\n })\n public void createUser(\n @WebParam(name = \"userSpec\", targetNamespace = \"\")\n UserSpecDataObj userSpec)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param username\n * @param userSpec\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"updateUser\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.UpdateUser\")\n @ResponseWrapper(localName = \"updateUserResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.UpdateUserResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/updateUserRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/updateUserResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/updateUser/Fault/CovRemoteServiceException\")\n })\n public void updateUser(\n @WebParam(name = \"username\", targetNamespace = \"\")\n String username,\n @WebParam(name = \"userSpec\", targetNamespace = \"\")\n UserSpecDataObj userSpec)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param username\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"deleteUser\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.DeleteUser\")\n @ResponseWrapper(localName = \"deleteUserResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.DeleteUserResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/deleteUserRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/deleteUserResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/deleteUser/Fault/CovRemoteServiceException\")\n })\n public void deleteUser(\n @WebParam(name = \"username\", targetNamespace = \"\")\n String username)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param username\n * @return\n * returns java.util.List<com.coverity.ws.v7.PermissionDataObj>\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getAllIntegrityControlPermissions\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetAllIntegrityControlPermissions\")\n @ResponseWrapper(localName = \"getAllIntegrityControlPermissionsResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetAllIntegrityControlPermissionsResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/getAllIntegrityControlPermissionsRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/getAllIntegrityControlPermissionsResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/getAllIntegrityControlPermissions/Fault/CovRemoteServiceException\")\n })\n public List<PermissionDataObj> getAllIntegrityControlPermissions(\n @WebParam(name = \"username\", targetNamespace = \"\")\n String username)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param attributeDefinitionId\n * @param attributeDefinitionSpec\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"updateAttribute\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.UpdateAttribute\")\n @ResponseWrapper(localName = \"updateAttributeResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.UpdateAttributeResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/updateAttributeRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/updateAttributeResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/updateAttribute/Fault/CovRemoteServiceException\")\n })\n public void updateAttribute(\n @WebParam(name = \"attributeDefinitionId\", targetNamespace = \"\")\n AttributeDefinitionIdDataObj attributeDefinitionId,\n @WebParam(name = \"attributeDefinitionSpec\", targetNamespace = \"\")\n AttributeDefinitionSpecDataObj attributeDefinitionSpec)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param attributeDefinitionId\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"deleteAttribute\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.DeleteAttribute\")\n @ResponseWrapper(localName = \"deleteAttributeResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.DeleteAttributeResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/deleteAttributeRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/deleteAttributeResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/deleteAttribute/Fault/CovRemoteServiceException\")\n })\n public void deleteAttribute(\n @WebParam(name = \"attributeDefinitionId\", targetNamespace = \"\")\n AttributeDefinitionIdDataObj attributeDefinitionId)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param componentMapSpec\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"createComponentMap\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.CreateComponentMap\")\n @ResponseWrapper(localName = \"createComponentMapResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.CreateComponentMapResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/createComponentMapRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/createComponentMapResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/createComponentMap/Fault/CovRemoteServiceException\")\n })\n public void createComponentMap(\n @WebParam(name = \"componentMapSpec\", targetNamespace = \"\")\n ComponentMapSpecDataObj componentMapSpec)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param componentMapSpec\n * @param componentMapId\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"updateComponentMap\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.UpdateComponentMap\")\n @ResponseWrapper(localName = \"updateComponentMapResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.UpdateComponentMapResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/updateComponentMapRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/updateComponentMapResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/updateComponentMap/Fault/CovRemoteServiceException\")\n })\n public void updateComponentMap(\n @WebParam(name = \"componentMapId\", targetNamespace = \"\")\n ComponentMapIdDataObj componentMapId,\n @WebParam(name = \"componentMapSpec\", targetNamespace = \"\")\n ComponentMapSpecDataObj componentMapSpec)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param componentMapId\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"deleteComponentMap\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.DeleteComponentMap\")\n @ResponseWrapper(localName = \"deleteComponentMapResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.DeleteComponentMapResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/deleteComponentMapRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/deleteComponentMapResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/deleteComponentMap/Fault/CovRemoteServiceException\")\n })\n public void deleteComponentMap(\n @WebParam(name = \"componentMapId\", targetNamespace = \"\")\n ComponentMapIdDataObj componentMapId)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param projectSpec\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"createProject\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.CreateProject\")\n @ResponseWrapper(localName = \"createProjectResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.CreateProjectResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/createProjectRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/createProjectResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/createProject/Fault/CovRemoteServiceException\")\n })\n public void createProject(\n @WebParam(name = \"projectSpec\", targetNamespace = \"\")\n ProjectSpecDataObj projectSpec)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param projectSpec\n * @param projectId\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"updateProject\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.UpdateProject\")\n @ResponseWrapper(localName = \"updateProjectResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.UpdateProjectResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/updateProjectRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/updateProjectResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/updateProject/Fault/CovRemoteServiceException\")\n })\n public void updateProject(\n @WebParam(name = \"projectId\", targetNamespace = \"\")\n ProjectIdDataObj projectId,\n @WebParam(name = \"projectSpec\", targetNamespace = \"\")\n ProjectSpecDataObj projectSpec)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param projectId\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"deleteProject\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.DeleteProject\")\n @ResponseWrapper(localName = \"deleteProjectResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.DeleteProjectResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/deleteProjectRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/deleteProjectResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/deleteProject/Fault/CovRemoteServiceException\")\n })\n public void deleteProject(\n @WebParam(name = \"projectId\", targetNamespace = \"\")\n ProjectIdDataObj projectId)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param triageStoreSpec\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"createTriageStore\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.CreateTriageStore\")\n @ResponseWrapper(localName = \"createTriageStoreResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.CreateTriageStoreResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/createTriageStoreRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/createTriageStoreResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/createTriageStore/Fault/CovRemoteServiceException\")\n })\n public void createTriageStore(\n @WebParam(name = \"triageStoreSpec\", targetNamespace = \"\")\n TriageStoreSpecDataObj triageStoreSpec)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param triageStoreSpec\n * @param triageStoreId\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"updateTriageStore\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.UpdateTriageStore\")\n @ResponseWrapper(localName = \"updateTriageStoreResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.UpdateTriageStoreResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/updateTriageStoreRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/updateTriageStoreResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/updateTriageStore/Fault/CovRemoteServiceException\")\n })\n public void updateTriageStore(\n @WebParam(name = \"triageStoreId\", targetNamespace = \"\")\n TriageStoreIdDataObj triageStoreId,\n @WebParam(name = \"triageStoreSpec\", targetNamespace = \"\")\n TriageStoreSpecDataObj triageStoreSpec)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param triageStoreId\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"deleteTriageStore\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.DeleteTriageStore\")\n @ResponseWrapper(localName = \"deleteTriageStoreResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.DeleteTriageStoreResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/deleteTriageStoreRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/deleteTriageStoreResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/deleteTriageStore/Fault/CovRemoteServiceException\")\n })\n public void deleteTriageStore(\n @WebParam(name = \"triageStoreId\", targetNamespace = \"\")\n TriageStoreIdDataObj triageStoreId)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param componentId\n * @return\n * returns com.coverity.ws.v7.ComponentDataObj\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getComponent\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetComponent\")\n @ResponseWrapper(localName = \"getComponentResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetComponentResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/getComponentRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/getComponentResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/getComponent/Fault/CovRemoteServiceException\")\n })\n public ComponentDataObj getComponent(\n @WebParam(name = \"componentId\", targetNamespace = \"\")\n ComponentIdDataObj componentId)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param username\n * @return\n * returns com.coverity.ws.v7.UserDataObj\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getUser\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetUser\")\n @ResponseWrapper(localName = \"getUserResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetUserResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/getUserRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/getUserResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/getUser/Fault/CovRemoteServiceException\")\n })\n public UserDataObj getUser(\n @WebParam(name = \"username\", targetNamespace = \"\")\n String username)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param filterSpec\n * @return\n * returns java.util.List<com.coverity.ws.v7.StreamDataObj>\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getStreams\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetStreams\")\n @ResponseWrapper(localName = \"getStreamsResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetStreamsResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/getStreamsRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/getStreamsResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/getStreams/Fault/CovRemoteServiceException\")\n })\n public List<StreamDataObj> getStreams(\n @WebParam(name = \"filterSpec\", targetNamespace = \"\")\n StreamFilterSpecDataObj filterSpec)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param filterSpec\n * @return\n * returns java.util.List<com.coverity.ws.v7.CheckerPropertyDataObj>\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getCheckerProperties\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetCheckerProperties\")\n @ResponseWrapper(localName = \"getCheckerPropertiesResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetCheckerPropertiesResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/getCheckerPropertiesRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/getCheckerPropertiesResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/getCheckerProperties/Fault/CovRemoteServiceException\")\n })\n public List<CheckerPropertyDataObj> getCheckerProperties(\n @WebParam(name = \"filterSpec\", targetNamespace = \"\")\n CheckerPropertyFilterSpecDataObj filterSpec)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param snapshotId\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"deleteSnapshot\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.DeleteSnapshot\")\n @ResponseWrapper(localName = \"deleteSnapshotResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.DeleteSnapshotResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/deleteSnapshotRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/deleteSnapshotResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/deleteSnapshot/Fault/CovRemoteServiceException\")\n })\n public void deleteSnapshot(\n @WebParam(name = \"snapshotId\", targetNamespace = \"\")\n List<SnapshotIdDataObj> snapshotId)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param viewname\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"executeNotification\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.ExecuteNotification\")\n @ResponseWrapper(localName = \"executeNotificationResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.ExecuteNotificationResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/executeNotificationRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/executeNotificationResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/executeNotification/Fault/CovRemoteServiceException\")\n })\n public void executeNotification(\n @WebParam(name = \"viewname\", targetNamespace = \"\")\n String viewname)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param filterSpec\n * @return\n * returns java.util.List<com.coverity.ws.v7.ProjectDataObj>\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getProjects\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetProjects\")\n @ResponseWrapper(localName = \"getProjectsResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetProjectsResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/getProjectsRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/getProjectsResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/getProjects/Fault/CovRemoteServiceException\")\n })\n public List<ProjectDataObj> getProjects(\n @WebParam(name = \"filterSpec\", targetNamespace = \"\")\n ProjectFilterSpecDataObj filterSpec)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param projectId\n * @param sourceStreamId\n * @return\n * returns com.coverity.ws.v7.StreamDataObj\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"copyStream\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.CopyStream\")\n @ResponseWrapper(localName = \"copyStreamResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.CopyStreamResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/copyStreamRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/copyStreamResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/copyStream/Fault/CovRemoteServiceException\")\n })\n public StreamDataObj copyStream(\n @WebParam(name = \"projectId\", targetNamespace = \"\")\n ProjectIdDataObj projectId,\n @WebParam(name = \"sourceStreamId\", targetNamespace = \"\")\n StreamIdDataObj sourceStreamId)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param streamSpec\n * @param projectId\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"createStreamInProject\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.CreateStreamInProject\")\n @ResponseWrapper(localName = \"createStreamInProjectResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.CreateStreamInProjectResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/createStreamInProjectRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/createStreamInProjectResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/createStreamInProject/Fault/CovRemoteServiceException\")\n })\n public void createStreamInProject(\n @WebParam(name = \"projectId\", targetNamespace = \"\")\n ProjectIdDataObj projectId,\n @WebParam(name = \"streamSpec\", targetNamespace = \"\")\n StreamSpecDataObj streamSpec)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param arg0\n */\n @WebMethod\n @RequestWrapper(localName = \"setAcceptingNewCommits\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.SetAcceptingNewCommits\")\n @ResponseWrapper(localName = \"setAcceptingNewCommitsResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.SetAcceptingNewCommitsResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/setAcceptingNewCommitsRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/setAcceptingNewCommitsResponse\")\n public void setAcceptingNewCommits(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n boolean arg0);\n\n /**\n * \n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getMessageOfTheDay\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetMessageOfTheDay\")\n @ResponseWrapper(localName = \"getMessageOfTheDayResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetMessageOfTheDayResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/getMessageOfTheDayRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/getMessageOfTheDayResponse\")\n public String getMessageOfTheDay();\n\n /**\n * \n * @param message\n */\n @WebMethod\n @RequestWrapper(localName = \"setMessageOfTheDay\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.SetMessageOfTheDay\")\n @ResponseWrapper(localName = \"setMessageOfTheDayResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.SetMessageOfTheDayResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/setMessageOfTheDayRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/setMessageOfTheDayResponse\")\n public void setMessageOfTheDay(\n @WebParam(name = \"message\", targetNamespace = \"\")\n String message);\n\n /**\n * \n * @param filterSpec\n * @return\n * returns java.util.List<com.coverity.ws.v7.TriageStoreDataObj>\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getTriageStores\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetTriageStores\")\n @ResponseWrapper(localName = \"getTriageStoresResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetTriageStoresResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/getTriageStoresRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/getTriageStoresResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/getTriageStores/Fault/CovRemoteServiceException\")\n })\n public List<TriageStoreDataObj> getTriageStores(\n @WebParam(name = \"filterSpec\", targetNamespace = \"\")\n TriageStoreFilterSpecDataObj filterSpec)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @return\n * returns com.coverity.ws.v7.CommitStateDataObj\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getCommitState\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetCommitState\")\n @ResponseWrapper(localName = \"getCommitStateResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetCommitStateResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/getCommitStateRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/getCommitStateResponse\")\n public CommitStateDataObj getCommitState();\n\n /**\n * \n * @return\n * returns java.util.List<com.coverity.ws.v7.ServerDomainIdDataObj>\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getLdapServerDomains\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetLdapServerDomains\")\n @ResponseWrapper(localName = \"getLdapServerDomainsResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetLdapServerDomainsResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/getLdapServerDomainsRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/getLdapServerDomainsResponse\")\n public List<ServerDomainIdDataObj> getLdapServerDomains();\n\n /**\n * \n * @return\n * returns com.coverity.ws.v7.LicenseStateDataObj\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getLicenseState\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetLicenseState\")\n @ResponseWrapper(localName = \"getLicenseStateResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetLicenseStateResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/getLicenseStateRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/getLicenseStateResponse\")\n public LicenseStateDataObj getLicenseState();\n\n /**\n * \n * @param snapshotId\n * @param snapshotData\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"updateSnapshotInfo\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.UpdateSnapshotInfo\")\n @ResponseWrapper(localName = \"updateSnapshotInfoResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.UpdateSnapshotInfoResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/updateSnapshotInfoRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/updateSnapshotInfoResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/updateSnapshotInfo/Fault/CovRemoteServiceException\")\n })\n public void updateSnapshotInfo(\n @WebParam(name = \"snapshotId\", targetNamespace = \"\")\n SnapshotIdDataObj snapshotId,\n @WebParam(name = \"snapshotData\", targetNamespace = \"\")\n SnapshotInfoDataObj snapshotData)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @return\n * returns java.util.List<com.coverity.ws.v7.FeatureUpdateTimeDataObj>\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getLastUpdateTimes\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetLastUpdateTimes\")\n @ResponseWrapper(localName = \"getLastUpdateTimesResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetLastUpdateTimesResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/getLastUpdateTimesRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/getLastUpdateTimesResponse\")\n public List<FeatureUpdateTimeDataObj> getLastUpdateTimes();\n\n /**\n * \n * @param ldapConfigurationSpec\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"createLdapConfiguration\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.CreateLdapConfiguration\")\n @ResponseWrapper(localName = \"createLdapConfigurationResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.CreateLdapConfigurationResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/createLdapConfigurationRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/createLdapConfigurationResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/createLdapConfiguration/Fault/CovRemoteServiceException\")\n })\n public void createLdapConfiguration(\n @WebParam(name = \"ldapConfigurationSpec\", targetNamespace = \"\")\n LdapConfigurationSpecDataObj ldapConfigurationSpec)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param ldapConfigurationSpec\n * @param serverDomainIdDataObj\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"updateLdapConfiguration\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.UpdateLdapConfiguration\")\n @ResponseWrapper(localName = \"updateLdapConfigurationResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.UpdateLdapConfigurationResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/updateLdapConfigurationRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/updateLdapConfigurationResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/updateLdapConfiguration/Fault/CovRemoteServiceException\")\n })\n public void updateLdapConfiguration(\n @WebParam(name = \"serverDomainIdDataObj\", targetNamespace = \"\")\n ServerDomainIdDataObj serverDomainIdDataObj,\n @WebParam(name = \"ldapConfigurationSpec\", targetNamespace = \"\")\n LdapConfigurationSpecDataObj ldapConfigurationSpec)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @return\n * returns com.coverity.ws.v7.SnapshotPurgeDetailsObj\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getSnapshotPurgeDetails\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetSnapshotPurgeDetails\")\n @ResponseWrapper(localName = \"getSnapshotPurgeDetailsResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetSnapshotPurgeDetailsResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/getSnapshotPurgeDetailsRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/getSnapshotPurgeDetailsResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/getSnapshotPurgeDetails/Fault/CovRemoteServiceException\")\n })\n public SnapshotPurgeDetailsObj getSnapshotPurgeDetails()\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param purgeDetailsSpec\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"setSnapshotPurgeDetails\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.SetSnapshotPurgeDetails\")\n @ResponseWrapper(localName = \"setSnapshotPurgeDetailsResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.SetSnapshotPurgeDetailsResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/setSnapshotPurgeDetailsRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/setSnapshotPurgeDetailsResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/setSnapshotPurgeDetails/Fault/CovRemoteServiceException\")\n })\n public void setSnapshotPurgeDetails(\n @WebParam(name = \"purgeDetailsSpec\", targetNamespace = \"\")\n SnapshotPurgeDetailsObj purgeDetailsSpec)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param srcTriageStoreIds\n * @param triageStoreId\n * @param deleteSourceStores\n * @param assignStreamsToTargetStore\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"mergeTriageStores\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.MergeTriageStores\")\n @ResponseWrapper(localName = \"mergeTriageStoresResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.MergeTriageStoresResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/mergeTriageStoresRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/mergeTriageStoresResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/mergeTriageStores/Fault/CovRemoteServiceException\")\n })\n public void mergeTriageStores(\n @WebParam(name = \"srcTriageStoreIds\", targetNamespace = \"\")\n List<TriageStoreIdDataObj> srcTriageStoreIds,\n @WebParam(name = \"triageStoreId\", targetNamespace = \"\")\n TriageStoreIdDataObj triageStoreId,\n @WebParam(name = \"deleteSourceStores\", targetNamespace = \"\")\n boolean deleteSourceStores,\n @WebParam(name = \"assignStreamsToTargetStore\", targetNamespace = \"\")\n boolean assignStreamsToTargetStore)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @return\n * returns java.util.List<com.coverity.ws.v7.PermissionDataObj>\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getAllPermissions\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetAllPermissions\")\n @ResponseWrapper(localName = \"getAllPermissionsResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetAllPermissionsResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/getAllPermissionsRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/getAllPermissionsResponse\")\n public List<PermissionDataObj> getAllPermissions();\n\n /**\n * \n * @return\n * returns java.util.List<com.coverity.ws.v7.LdapConfigurationDataObj>\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getAllLdapConfigurations\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetAllLdapConfigurations\")\n @ResponseWrapper(localName = \"getAllLdapConfigurationsResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetAllLdapConfigurationsResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/getAllLdapConfigurationsRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/getAllLdapConfigurationsResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/getAllLdapConfigurations/Fault/CovRemoteServiceException\")\n })\n public List<LdapConfigurationDataObj> getAllLdapConfigurations()\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param snapshotId\n * @return\n * returns java.util.List<com.coverity.ws.v7.DeleteSnapshotJobInfoDataObj>\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getDeleteSnapshotJobInfo\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetDeleteSnapshotJobInfo\")\n @ResponseWrapper(localName = \"getDeleteSnapshotJobInfoResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetDeleteSnapshotJobInfoResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/getDeleteSnapshotJobInfoRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/getDeleteSnapshotJobInfoResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/getDeleteSnapshotJobInfo/Fault/CovRemoteServiceException\")\n })\n public List<DeleteSnapshotJobInfoDataObj> getDeleteSnapshotJobInfo(\n @WebParam(name = \"snapshotId\", targetNamespace = \"\")\n List<SnapshotIdDataObj> snapshotId)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param streamId\n * @param filterSpec\n * @return\n * returns java.util.List<com.coverity.ws.v7.SnapshotIdDataObj>\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getSnapshotsForStream\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetSnapshotsForStream\")\n @ResponseWrapper(localName = \"getSnapshotsForStreamResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetSnapshotsForStreamResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/getSnapshotsForStreamRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/getSnapshotsForStreamResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/getSnapshotsForStream/Fault/CovRemoteServiceException\")\n })\n public List<SnapshotIdDataObj> getSnapshotsForStream(\n @WebParam(name = \"streamId\", targetNamespace = \"\")\n StreamIdDataObj streamId,\n @WebParam(name = \"filterSpec\", targetNamespace = \"\")\n SnapshotFilterSpecDataObj filterSpec)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param serverDomainIdDataObj\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"deleteLdapConfiguration\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.DeleteLdapConfiguration\")\n @ResponseWrapper(localName = \"deleteLdapConfigurationResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.DeleteLdapConfigurationResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/deleteLdapConfigurationRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/deleteLdapConfigurationResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/deleteLdapConfiguration/Fault/CovRemoteServiceException\")\n })\n public void deleteLdapConfiguration(\n @WebParam(name = \"serverDomainIdDataObj\", targetNamespace = \"\")\n ServerDomainIdDataObj serverDomainIdDataObj)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param filterSpec\n * @return\n * returns java.util.List<com.coverity.ws.v7.ComponentMapDataObj>\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getComponentMaps\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetComponentMaps\")\n @ResponseWrapper(localName = \"getComponentMapsResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetComponentMapsResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/getComponentMapsRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/getComponentMapsResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/getComponentMaps/Fault/CovRemoteServiceException\")\n })\n public List<ComponentMapDataObj> getComponentMaps(\n @WebParam(name = \"filterSpec\", targetNamespace = \"\")\n ComponentMapFilterSpecDataObj filterSpec)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @return\n * returns java.util.List<java.lang.String>\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getDefectStatuses\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetDefectStatuses\")\n @ResponseWrapper(localName = \"getDefectStatusesResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetDefectStatusesResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/getDefectStatusesRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/getDefectStatusesResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/getDefectStatuses/Fault/CovRemoteServiceException\")\n })\n public List<String> getDefectStatuses()\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @param snapshotIds\n * @return\n * returns java.util.List<com.coverity.ws.v7.SnapshotInfoDataObj>\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getSnapshotInformation\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetSnapshotInformation\")\n @ResponseWrapper(localName = \"getSnapshotInformationResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetSnapshotInformationResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/getSnapshotInformationRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/getSnapshotInformationResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/getSnapshotInformation/Fault/CovRemoteServiceException\")\n })\n public List<SnapshotInfoDataObj> getSnapshotInformation(\n @WebParam(name = \"snapshotIds\", targetNamespace = \"\")\n List<SnapshotIdDataObj> snapshotIds)\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @return\n * returns javax.xml.datatype.XMLGregorianCalendar\n * @throws CovRemoteServiceException_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getServerTime\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetServerTime\")\n @ResponseWrapper(localName = \"getServerTimeResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetServerTimeResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/getServerTimeRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/getServerTimeResponse\", fault = {\n @FaultAction(className = CovRemoteServiceException_Exception.class, value = \"http://ws.coverity.com/v7/ConfigurationService/getServerTime/Fault/CovRemoteServiceException\")\n })\n public XMLGregorianCalendar getServerTime()\n throws CovRemoteServiceException_Exception\n ;\n\n /**\n * \n * @return\n * returns com.coverity.ws.v7.ConfigurationDataObj\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getSystemConfig\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetSystemConfig\")\n @ResponseWrapper(localName = \"getSystemConfigResponse\", targetNamespace = \"http://ws.coverity.com/v7\", className = \"com.coverity.ws.v7.GetSystemConfigResponse\")\n @Action(input = \"http://ws.coverity.com/v7/ConfigurationService/getSystemConfigRequest\", output = \"http://ws.coverity.com/v7/ConfigurationService/getSystemConfigResponse\")\n public ConfigurationDataObj getSystemConfig();\n\n}",
"@WebService(targetNamespace = \"http://xmlns.oracle.com/Interface/MDMTableConditionDataNew/MDMTableConditionDataNew\", name = \"MDMTableConditionDataNew\")\n@XmlSeeAlso({ObjectFactory.class})\npublic interface MDMTableConditionDataNew {\n\n @WebMethod(action = \"process\")\n @RequestWrapper(localName = \"process\", targetNamespace = \"http://xmlns.oracle.com/Interface/MDMTableConditionDataNew/MDMTableConditionDataNew\", className = \"com.microfar.Process\")\n @ResponseWrapper(localName = \"processResponse\", targetNamespace = \"http://xmlns.oracle.com/Interface/MDMTableConditionDataNew/MDMTableConditionDataNew\", className = \"com.microfar.ProcessResponse\")\n public void process(\n\n @WebParam(name = \"IN_SYS_NAME\", targetNamespace = \"http://xmlns.oracle.com/Interface/MDMTableConditionDataNew/MDMTableConditionDataNew\")\n String inSYSNAME,\n @WebParam(name = \"IN_MASTER_TYPE\", targetNamespace = \"http://xmlns.oracle.com/Interface/MDMTableConditionDataNew/MDMTableConditionDataNew\")\n String inMASTERTYPE,\n @WebParam(name = \"IN_TABLE_NAME\", targetNamespace = \"http://xmlns.oracle.com/Interface/MDMTableConditionDataNew/MDMTableConditionDataNew\")\n String inTABLENAME,\n @WebParam(name = \"IN_FIELDS_VALUE_TABLE\", targetNamespace = \"http://xmlns.oracle.com/Interface/MDMTableConditionDataNew/MDMTableConditionDataNew\")\n HAIERMDMFIELDSVALUETABLE inFIELDSVALUETABLE,\n @WebParam(mode = WebParam.Mode.OUT, name = \"OUT_RESULT\", targetNamespace = \"http://xmlns.oracle.com/Interface/MDMTableConditionDataNew/MDMTableConditionDataNew\")\n javax.xml.ws.Holder<String> outRESULT,\n @WebParam(mode = WebParam.Mode.OUT, name = \"OUT_RETMSG\", targetNamespace = \"http://xmlns.oracle.com/Interface/MDMTableConditionDataNew/MDMTableConditionDataNew\")\n javax.xml.ws.Holder<String> outRETMSG,\n @WebParam(mode = WebParam.Mode.OUT, name = \"OUT_RETCODE\", targetNamespace = \"http://xmlns.oracle.com/Interface/MDMTableConditionDataNew/MDMTableConditionDataNew\")\n javax.xml.ws.Holder<String> outRETCODE\n );\n}",
"@WebService(targetNamespace = \"http://esb.z-t-z.ru/Integration/SAP\", name = \"TestJaxWs\")\n@XmlSeeAlso({ObjectFactory.class})\n//@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.WRAPPED)\n@SOAPBinding(style = SOAPBinding.Style.DOCUMENT, use = SOAPBinding.Use.LITERAL, parameterStyle = SOAPBinding.ParameterStyle.WRAPPED) //28.12.2018 forum advice\npublic interface TestJaxWs {\n\n @WebMethod(operationName = \"jaxWsTest1\", action = \"http://sap.com/xi/WebService/soap1.1\")\n @RequestWrapper(localName = \"jaxWsTest1\", targetNamespace = \"http://esb.z-t-z.ru/Integration/SAP\", className = \"com.example.sample.JaxWsTest1\")\n @ResponseWrapper(localName = \"jaxWsTest1Response\", targetNamespace = \"http://esb.z-t-z.ru/Integration/SAP\", className = \"com.example.sample.JaxWsTest1Response\")\n //@WebResult(name = \"return\", targetNamespace = \"\")\n public java.lang.String jaxWsTest1(\n @WebParam(name = \"information\", targetNamespace = \"\")\n java.lang.String information,\n @WebParam(name = \"count\", targetNamespace = \"\")\n int count\n //@WebParam(name=\"jaxWsTest1\", targetNamespace = \"\")\n //JaxWsTest1 jaxWsTest1\n ) throws UserDefinedException;\n}",
"@WebService(targetNamespace = \"http://ws.jinouts.org/\", name = \"AndProxyClientRespTestWS\")\r\n@XmlSeeAlso({ObjectFactory.class})\r\npublic interface AndProxyClientRespTestWS {\r\n\r\n @WebResult(name = \"return\", targetNamespace = \"\")\r\n @RequestWrapper(localName = \"testPrimitiveResponse\", targetNamespace = \"http://ws.jinouts.org/\", className = \"org.jinouts.ws.TestPrimitiveResponse\")\r\n @WebMethod\r\n @ResponseWrapper(localName = \"testPrimitiveResponseResponse\", targetNamespace = \"http://ws.jinouts.org/\", className = \"org.jinouts.ws.TestPrimitiveResponseResponse\")\r\n public java.lang.String testPrimitiveResponse(\r\n @WebParam(name = \"user\", targetNamespace = \"\")\r\n java.lang.String user,\r\n @WebParam(name = \"pass\", targetNamespace = \"\")\r\n java.lang.String pass\r\n );\r\n\r\n @WebResult(name = \"return\", targetNamespace = \"\")\r\n @RequestWrapper(localName = \"testComplexResponseObject\", targetNamespace = \"http://ws.jinouts.org/\", className = \"org.jinouts.ws.TestComplexResponseObject\")\r\n @WebMethod\r\n @ResponseWrapper(localName = \"testComplexResponseObjectResponse\", targetNamespace = \"http://ws.jinouts.org/\", className = \"org.jinouts.ws.TestComplexResponseObjectResponse\")\r\n public org.jinouts.ws.TestComplexResponse testComplexResponseObject(\r\n @WebParam(name = \"user\", targetNamespace = \"\")\r\n java.lang.String user\r\n );\r\n\r\n @WebResult(name = \"return\", targetNamespace = \"\")\r\n @RequestWrapper(localName = \"testListResponse\", targetNamespace = \"http://ws.jinouts.org/\", className = \"org.jinouts.ws.TestListResponse\")\r\n @WebMethod\r\n @ResponseWrapper(localName = \"testListResponseResponse\", targetNamespace = \"http://ws.jinouts.org/\", className = \"org.jinouts.ws.TestListResponseResponse\")\r\n public java.util.List<java.lang.String> testListResponse(\r\n @WebParam(name = \"user\", targetNamespace = \"\")\r\n java.lang.String user\r\n );\r\n\r\n @WebResult(name = \"return\", targetNamespace = \"\")\r\n @RequestWrapper(localName = \"testDateResponse\", targetNamespace = \"http://ws.jinouts.org/\", className = \"org.jinouts.ws.TestDateResponse\")\r\n @WebMethod\r\n @ResponseWrapper(localName = \"testDateResponseResponse\", targetNamespace = \"http://ws.jinouts.org/\", className = \"org.jinouts.ws.TestDateResponseResponse\")\r\n public javax.xml.datatype.XMLGregorianCalendar testDateResponse(\r\n @WebParam(name = \"user\", targetNamespace = \"\")\r\n java.lang.String user\r\n );\r\n\r\n @WebResult(name = \"return\", targetNamespace = \"\")\r\n @RequestWrapper(localName = \"testListOfComplexResponseObject\", targetNamespace = \"http://ws.jinouts.org/\", className = \"org.jinouts.ws.TestListOfComplexResponseObject\")\r\n @WebMethod\r\n @ResponseWrapper(localName = \"testListOfComplexResponseObjectResponse\", targetNamespace = \"http://ws.jinouts.org/\", className = \"org.jinouts.ws.TestListOfComplexResponseObjectResponse\")\r\n public java.util.List<org.jinouts.ws.TestComplexResponse> testListOfComplexResponseObject(\r\n @WebParam(name = \"user\", targetNamespace = \"\")\r\n java.lang.String user\r\n );\r\n\r\n @WebResult(name = \"return\", targetNamespace = \"\")\r\n @RequestWrapper(localName = \"testArrayResponse\", targetNamespace = \"http://ws.jinouts.org/\", className = \"org.jinouts.ws.TestArrayResponse\")\r\n @WebMethod\r\n @ResponseWrapper(localName = \"testArrayResponseResponse\", targetNamespace = \"http://ws.jinouts.org/\", className = \"org.jinouts.ws.TestArrayResponseResponse\")\r\n public java.util.List<java.lang.String> testArrayResponse(\r\n @WebParam(name = \"user\", targetNamespace = \"\")\r\n java.lang.String user\r\n );\r\n\r\n @WebResult(name = \"return\", targetNamespace = \"\")\r\n @RequestWrapper(localName = \"testListOfObjResponse\", targetNamespace = \"http://ws.jinouts.org/\", className = \"org.jinouts.ws.TestListOfObjResponse\")\r\n @WebMethod\r\n @ResponseWrapper(localName = \"testListOfObjResponseResponse\", targetNamespace = \"http://ws.jinouts.org/\", className = \"org.jinouts.ws.TestListOfObjResponseResponse\")\r\n public java.util.List<org.jinouts.ws.MbrDetail> testListOfObjResponse(\r\n @WebParam(name = \"user\", targetNamespace = \"\")\r\n java.lang.String user\r\n );\r\n}",
"@WebService(targetNamespace = \"http://password_generator_ws.ws.campione_tech.com/\", name = \"PasswordGeneratorWSServer\")\n@XmlSeeAlso({ObjectFactory.class})\npublic interface PasswordGeneratorWSServer {\n\n @WebMethod(action = \"urn:GeneratePasswordAction\")\n @RequestWrapper(localName = \"generatePassword\", targetNamespace = \"http://password_generator_ws.ws.campione_tech.com/\", className = \"com.campione_tech.client.password_generator_ws.GeneratePassword\")\n @ResponseWrapper(localName = \"generatePasswordResponse\", targetNamespace = \"http://password_generator_ws.ws.campione_tech.com/\", className = \"com.campione_tech.client.password_generator_ws.GeneratePasswordResponse\")\n @WebResult(name = \"return\", targetNamespace = \"\")\n public java.lang.String generatePassword(\n @WebParam(name = \"length\", targetNamespace = \"\")\n java.lang.String length\n );\n\n @WebMethod(action = \"urn:VersionAction\")\n @RequestWrapper(localName = \"version\", targetNamespace = \"http://password_generator_ws.ws.campione_tech.com/\", className = \"com.campione_tech.client.password_generator_ws.Version\")\n @ResponseWrapper(localName = \"versionResponse\", targetNamespace = \"http://password_generator_ws.ws.campione_tech.com/\", className = \"com.campione_tech.client.password_generator_ws.VersionResponse\")\n @WebResult(name = \"return\", targetNamespace = \"\")\n public java.lang.String version();\n}",
"@WebService(name = \"CreditReportServiceDelegate\", targetNamespace = \"http://webservice.icrqs.cfcc.com/\")\n@SOAPBinding(style = SOAPBinding.Style.RPC)\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface CreditReportServiceDelegate {\n\n\n /**\n * \n * @param arg0\n * @return\n * returns com.cfcc.icrqs.webservice.CuResult\n */\n @WebMethod\n @WebResult(partName = \"return\")\n public CuResult sendCuRequest(\n @WebParam(name = \"arg0\", partName = \"arg0\")\n CuSingleRequest arg0);\n\n /**\n * \n * @param arg0\n * @return\n * returns com.cfcc.icrqs.webservice.CuSingleResult\n */\n @WebMethod\n @WebResult(partName = \"return\")\n public CuSingleResult getCuResult(\n @WebParam(name = \"arg0\", partName = \"arg0\")\n CuGetResult arg0);\n\n}",
"@WebService(name = \"SoapService\", targetNamespace = \"http://test/\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface SoapService {\n\n\n /**\n * \n * @param fileName\n * @return\n * returns java.lang.Integer\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getResult\", targetNamespace = \"http://test/\", className = \"test.GetResult\")\n @ResponseWrapper(localName = \"getResultResponse\", targetNamespace = \"http://test/\", className = \"test.GetResultResponse\")\n @Action(input = \"http://test/SoapService/getResultRequest\", output = \"http://test/SoapService/getResultResponse\")\n public Integer getResult(\n @WebParam(name = \"fileName\", targetNamespace = \"\")\n String fileName);\n\n /**\n * \n * @param path\n */\n @WebMethod\n @Oneway\n @RequestWrapper(localName = \"getFilePath\", targetNamespace = \"http://test/\", className = \"test.GetFilePath\")\n @Action(input = \"http://test/SoapService/getFilePath\")\n public void getFilePath(\n @WebParam(name = \"path\", targetNamespace = \"\")\n String path);\n\n}",
"@WebService(wsdlLocation=\"https://jcs.my-oraclecloudapps.com/HealthCare/HealthCarePort?WSDL\",\n targetNamespace=\"http://ws.healthcare.ptsdemo.oracle.com/\", name=\"HealthCare\")\n@XmlSeeAlso(\n { com.oracle.ptsdemo.healthcare.wsclient.healthcare.generated.ObjectFactory.class })\npublic interface HealthCare\n{\n @WebMethod\n @Action(input=\"http://ws.healthcare.ptsdemo.oracle.com/HealthCare/isMedicationReadyToPickupRequest\",\n output=\"http://ws.healthcare.ptsdemo.oracle.com/HealthCare/isMedicationReadyToPickupResponse\")\n @ResponseWrapper(localName=\"isMedicationReadyToPickupResponse\",\n targetNamespace=\"http://ws.healthcare.ptsdemo.oracle.com/\", className=\"com.oracle.ptsdemo.healthcare.wsclient.healthcare.generated.IsMedicationReadyToPickupResponse\")\n @RequestWrapper(localName=\"isMedicationReadyToPickup\", targetNamespace=\"http://ws.healthcare.ptsdemo.oracle.com/\",\n className=\"com.oracle.ptsdemo.healthcare.wsclient.healthcare.generated.IsMedicationReadyToPickup\")\n @WebResult(targetNamespace=\"\")\n public boolean isMedicationReadyToPickup(@WebParam(targetNamespace=\"\",\n name=\"arg0\")\n String arg0);\n\n @WebMethod\n @Action(input=\"http://ws.healthcare.ptsdemo.oracle.com/HealthCare/requestOrderStatusRequest\",\n output=\"http://ws.healthcare.ptsdemo.oracle.com/HealthCare/requestOrderStatusResponse\")\n @ResponseWrapper(localName=\"requestOrderStatusResponse\",\n targetNamespace=\"http://ws.healthcare.ptsdemo.oracle.com/\", className=\"com.oracle.ptsdemo.healthcare.wsclient.healthcare.generated.RequestOrderStatusResponse\")\n @RequestWrapper(localName=\"requestOrderStatus\", targetNamespace=\"http://ws.healthcare.ptsdemo.oracle.com/\",\n className=\"com.oracle.ptsdemo.healthcare.wsclient.healthcare.generated.RequestOrderStatus\")\n @WebResult(targetNamespace=\"\")\n public String requestOrderStatus(@WebParam(targetNamespace=\"\", name=\"arg0\")\n String arg0);\n\n @WebMethod\n @Action(input=\"http://ws.healthcare.ptsdemo.oracle.com/HealthCare/setMedicationReadyToPickup\")\n @RequestWrapper(localName=\"setMedicationReadyToPickup\", targetNamespace=\"http://ws.healthcare.ptsdemo.oracle.com/\",\n className=\"com.oracle.ptsdemo.healthcare.wsclient.healthcare.generated.SetMedicationReadyToPickup\")\n @Oneway\n public void setMedicationReadyToPickup(@WebParam(targetNamespace=\"\",\n name=\"arg0\")\n String arg0);\n\n @WebMethod\n @Action(input=\"http://ws.healthcare.ptsdemo.oracle.com/HealthCare/loadPrescriptionRequest\",\n output=\"http://ws.healthcare.ptsdemo.oracle.com/HealthCare/loadPrescriptionResponse\")\n @ResponseWrapper(localName=\"loadPrescriptionResponse\", targetNamespace=\"http://ws.healthcare.ptsdemo.oracle.com/\",\n className=\"com.oracle.ptsdemo.healthcare.wsclient.healthcare.generated.LoadPrescriptionResponse\")\n @RequestWrapper(localName=\"loadPrescription\", targetNamespace=\"http://ws.healthcare.ptsdemo.oracle.com/\",\n className=\"com.oracle.ptsdemo.healthcare.wsclient.healthcare.generated.LoadPrescription\")\n @WebResult(targetNamespace=\"\")\n public String loadPrescription(@WebParam(targetNamespace=\"\", name=\"arg0\")\n String arg0);\n}",
"@WebService(name = \"BankInterface\", targetNamespace = \"http://Bank.server_bank.mycompany.com/\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface BankInterface {\n\n\n /**\n * \n * @param arg0\n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getOperationByID\", targetNamespace = \"http://Bank.server_bank.mycompany.com/\", className = \"com.mycompany.ws_bank.GetOperationByID\")\n @ResponseWrapper(localName = \"getOperationByIDResponse\", targetNamespace = \"http://Bank.server_bank.mycompany.com/\", className = \"com.mycompany.ws_bank.GetOperationByIDResponse\")\n public String getOperationByID(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n int arg0);\n\n /**\n * \n * @return\n * returns com.mycompany.ws_bank.SET\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getConti\", targetNamespace = \"http://Bank.server_bank.mycompany.com/\", className = \"com.mycompany.ws_bank.GetConti\")\n @ResponseWrapper(localName = \"getContiResponse\", targetNamespace = \"http://Bank.server_bank.mycompany.com/\", className = \"com.mycompany.ws_bank.GetContiResponse\")\n public SET getConti();\n\n /**\n * \n * @param arg0\n * @return\n * returns java.util.List<java.lang.String>\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getOperationsByClientID\", targetNamespace = \"http://Bank.server_bank.mycompany.com/\", className = \"com.mycompany.ws_bank.GetOperationsByClientID\")\n @ResponseWrapper(localName = \"getOperationsByClientIDResponse\", targetNamespace = \"http://Bank.server_bank.mycompany.com/\", className = \"com.mycompany.ws_bank.GetOperationsByClientIDResponse\")\n public List<String> getOperationsByClientID(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n int arg0);\n\n /**\n * \n * @return\n * returns java.util.List<java.lang.String>\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getClientIDs\", targetNamespace = \"http://Bank.server_bank.mycompany.com/\", className = \"com.mycompany.ws_bank.GetClientIDs\")\n @ResponseWrapper(localName = \"getClientIDsResponse\", targetNamespace = \"http://Bank.server_bank.mycompany.com/\", className = \"com.mycompany.ws_bank.GetClientIDsResponse\")\n public List<String> getClientIDs();\n\n /**\n * \n * @return\n * returns com.mycompany.ws_bank.MAP\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getDbop\", targetNamespace = \"http://Bank.server_bank.mycompany.com/\", className = \"com.mycompany.ws_bank.GetDbop\")\n @ResponseWrapper(localName = \"getDbopResponse\", targetNamespace = \"http://Bank.server_bank.mycompany.com/\", className = \"com.mycompany.ws_bank.GetDbopResponse\")\n public MAP getDbop();\n\n /**\n * \n * @param arg0\n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getClientByID\", targetNamespace = \"http://Bank.server_bank.mycompany.com/\", className = \"com.mycompany.ws_bank.GetClientByID\")\n @ResponseWrapper(localName = \"getClientByIDResponse\", targetNamespace = \"http://Bank.server_bank.mycompany.com/\", className = \"com.mycompany.ws_bank.GetClientByIDResponse\")\n public String getClientByID(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n int arg0);\n\n}",
"@WebService(targetNamespace = \"http://www.polytech.unice.fr/si/4a/isa/tcf/cart\", name = \"CartWebService\")\n@XmlSeeAlso({ObjectFactory.class})\npublic interface CartWebService {\n\n @WebMethod\n @RequestWrapper(localName = \"validate\", targetNamespace = \"http://www.polytech.unice.fr/si/4a/isa/tcf/cart\", className = \"stubs.cart.Validate\")\n @ResponseWrapper(localName = \"validateResponse\", targetNamespace = \"http://www.polytech.unice.fr/si/4a/isa/tcf/cart\", className = \"stubs.cart.ValidateResponse\")\n @WebResult(name = \"order_id\", targetNamespace = \"\")\n public java.lang.String validate(\n @WebParam(name = \"customer_name\", targetNamespace = \"\")\n java.lang.String customerName\n ) throws PaymentException_Exception, UnknownCustomerException_Exception, EmptyCartException_Exception;\n\n @WebMethod\n @RequestWrapper(localName = \"removeItemToCustomerCart\", targetNamespace = \"http://www.polytech.unice.fr/si/4a/isa/tcf/cart\", className = \"stubs.cart.RemoveItemToCustomerCart\")\n @ResponseWrapper(localName = \"removeItemToCustomerCartResponse\", targetNamespace = \"http://www.polytech.unice.fr/si/4a/isa/tcf/cart\", className = \"stubs.cart.RemoveItemToCustomerCartResponse\")\n public void removeItemToCustomerCart(\n @WebParam(name = \"customer_name\", targetNamespace = \"\")\n java.lang.String customerName,\n @WebParam(name = \"item\", targetNamespace = \"\")\n stubs.cart.Item item\n ) throws UnknownCustomerException_Exception;\n\n @WebMethod\n @RequestWrapper(localName = \"addItemToCustomerCart\", targetNamespace = \"http://www.polytech.unice.fr/si/4a/isa/tcf/cart\", className = \"stubs.cart.AddItemToCustomerCart\")\n @ResponseWrapper(localName = \"addItemToCustomerCartResponse\", targetNamespace = \"http://www.polytech.unice.fr/si/4a/isa/tcf/cart\", className = \"stubs.cart.AddItemToCustomerCartResponse\")\n public void addItemToCustomerCart(\n @WebParam(name = \"customer_name\", targetNamespace = \"\")\n java.lang.String customerName,\n @WebParam(name = \"item\", targetNamespace = \"\")\n stubs.cart.Item item\n ) throws UnknownCustomerException_Exception;\n\n @WebMethod\n @RequestWrapper(localName = \"getCustomerCartContents\", targetNamespace = \"http://www.polytech.unice.fr/si/4a/isa/tcf/cart\", className = \"stubs.cart.GetCustomerCartContents\")\n @ResponseWrapper(localName = \"getCustomerCartContentsResponse\", targetNamespace = \"http://www.polytech.unice.fr/si/4a/isa/tcf/cart\", className = \"stubs.cart.GetCustomerCartContentsResponse\")\n @WebResult(name = \"cart_contents\", targetNamespace = \"\")\n public java.util.List<stubs.cart.Item> getCustomerCartContents(\n @WebParam(name = \"customer_name\", targetNamespace = \"\")\n java.lang.String customerName\n ) throws UnknownCustomerException_Exception;\n}",
"public sample.ws.HelloWorldWSStub.HelloResponse hello(\n\n sample.ws.HelloWorldWSStub.Hello hello4)\n \n\n throws java.rmi.RemoteException\n \n {\n org.apache.axis2.context.MessageContext _messageContext = null;\n try{\n org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[2].getName());\n _operationClient.getOptions().setAction(\"hello\");\n _operationClient.getOptions().setExceptionToBeThrownOnSOAPFault(true);\n\n \n \n addPropertyToOperationClient(_operationClient,org.apache.axis2.description.WSDL2Constants.ATTR_WHTTP_QUERY_PARAMETER_SEPARATOR,\"&\");\n \n\n // create a message context\n _messageContext = new org.apache.axis2.context.MessageContext();\n\n \n\n // create SOAP envelope with that payload\n org.apache.axiom.soap.SOAPEnvelope env = null;\n \n \n env = toEnvelope(getFactory(_operationClient.getOptions().getSoapVersionURI()),\n hello4,\n optimizeContent(new javax.xml.namespace.QName(\"http://ws.sample/\",\n \"hello\")));\n \n //adding SOAP soap_headers\n _serviceClient.addHeadersToEnvelope(env);\n // set the message context with that soap envelope\n _messageContext.setEnvelope(env);\n\n // add the message contxt to the operation client\n _operationClient.addMessageContext(_messageContext);\n\n //execute the operation client\n _operationClient.execute(true);\n\n \n org.apache.axis2.context.MessageContext _returnMessageContext = _operationClient.getMessageContext(\n org.apache.axis2.wsdl.WSDLConstants.MESSAGE_LABEL_IN_VALUE);\n org.apache.axiom.soap.SOAPEnvelope _returnEnv = _returnMessageContext.getEnvelope();\n \n \n java.lang.Object object = fromOM(\n _returnEnv.getBody().getFirstElement() ,\n sample.ws.HelloWorldWSStub.HelloResponse.class,\n getEnvelopeNamespaces(_returnEnv));\n\n \n return (sample.ws.HelloWorldWSStub.HelloResponse)object;\n \n }catch(org.apache.axis2.AxisFault f){\n\n org.apache.axiom.om.OMElement faultElt = f.getDetail();\n if (faultElt!=null){\n if (faultExceptionNameMap.containsKey(faultElt.getQName())){\n //make the fault by reflection\n try{\n java.lang.String exceptionClassName = (java.lang.String)faultExceptionClassNameMap.get(faultElt.getQName());\n java.lang.Class exceptionClass = java.lang.Class.forName(exceptionClassName);\n java.lang.Exception ex=\n (java.lang.Exception) exceptionClass.newInstance();\n //message class\n java.lang.String messageClassName = (java.lang.String)faultMessageMap.get(faultElt.getQName());\n java.lang.Class messageClass = java.lang.Class.forName(messageClassName);\n java.lang.Object messageObject = fromOM(faultElt,messageClass,null);\n java.lang.reflect.Method m = exceptionClass.getMethod(\"setFaultMessage\",\n new java.lang.Class[]{messageClass});\n m.invoke(ex,new java.lang.Object[]{messageObject});\n \n\n throw new java.rmi.RemoteException(ex.getMessage(), ex);\n }catch(java.lang.ClassCastException e){\n // we cannot intantiate the class - throw the original Axis fault\n throw f;\n } catch (java.lang.ClassNotFoundException e) {\n // we cannot intantiate the class - throw the original Axis fault\n throw f;\n }catch (java.lang.NoSuchMethodException e) {\n // we cannot intantiate the class - throw the original Axis fault\n throw f;\n } catch (java.lang.reflect.InvocationTargetException e) {\n // we cannot intantiate the class - throw the original Axis fault\n throw f;\n } catch (java.lang.IllegalAccessException e) {\n // we cannot intantiate the class - throw the original Axis fault\n throw f;\n } catch (java.lang.InstantiationException e) {\n // we cannot intantiate the class - throw the original Axis fault\n throw f;\n }\n }else{\n throw f;\n }\n }else{\n throw f;\n }\n } finally {\n _messageContext.getTransportOut().getSender().cleanup(_messageContext);\n }\n }",
"public interface ClientService {\r\n\r\n String fpkj(String wsdlUrl);\r\n}",
"public sample.ws.HelloWorldWSStub.HelloAuthenticatedResponse helloAuthenticated(\n\n sample.ws.HelloWorldWSStub.HelloAuthenticated helloAuthenticated8)\n \n\n throws java.rmi.RemoteException\n \n {\n org.apache.axis2.context.MessageContext _messageContext = null;\n try{\n org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[4].getName());\n _operationClient.getOptions().setAction(\"helloAuthenticated\");\n _operationClient.getOptions().setExceptionToBeThrownOnSOAPFault(true);\n\n \n \n addPropertyToOperationClient(_operationClient,org.apache.axis2.description.WSDL2Constants.ATTR_WHTTP_QUERY_PARAMETER_SEPARATOR,\"&\");\n \n\n // create a message context\n _messageContext = new org.apache.axis2.context.MessageContext();\n\n \n\n // create SOAP envelope with that payload\n org.apache.axiom.soap.SOAPEnvelope env = null;\n \n \n env = toEnvelope(getFactory(_operationClient.getOptions().getSoapVersionURI()),\n helloAuthenticated8,\n optimizeContent(new javax.xml.namespace.QName(\"http://ws.sample/\",\n \"helloAuthenticated\")));\n \n //adding SOAP soap_headers\n _serviceClient.addHeadersToEnvelope(env);\n // set the message context with that soap envelope\n _messageContext.setEnvelope(env);\n\n // add the message contxt to the operation client\n _operationClient.addMessageContext(_messageContext);\n\n //execute the operation client\n _operationClient.execute(true);\n\n \n org.apache.axis2.context.MessageContext _returnMessageContext = _operationClient.getMessageContext(\n org.apache.axis2.wsdl.WSDLConstants.MESSAGE_LABEL_IN_VALUE);\n org.apache.axiom.soap.SOAPEnvelope _returnEnv = _returnMessageContext.getEnvelope();\n \n \n java.lang.Object object = fromOM(\n _returnEnv.getBody().getFirstElement() ,\n sample.ws.HelloWorldWSStub.HelloAuthenticatedResponse.class,\n getEnvelopeNamespaces(_returnEnv));\n\n \n return (sample.ws.HelloWorldWSStub.HelloAuthenticatedResponse)object;\n \n }catch(org.apache.axis2.AxisFault f){\n\n org.apache.axiom.om.OMElement faultElt = f.getDetail();\n if (faultElt!=null){\n if (faultExceptionNameMap.containsKey(faultElt.getQName())){\n //make the fault by reflection\n try{\n java.lang.String exceptionClassName = (java.lang.String)faultExceptionClassNameMap.get(faultElt.getQName());\n java.lang.Class exceptionClass = java.lang.Class.forName(exceptionClassName);\n java.lang.Exception ex=\n (java.lang.Exception) exceptionClass.newInstance();\n //message class\n java.lang.String messageClassName = (java.lang.String)faultMessageMap.get(faultElt.getQName());\n java.lang.Class messageClass = java.lang.Class.forName(messageClassName);\n java.lang.Object messageObject = fromOM(faultElt,messageClass,null);\n java.lang.reflect.Method m = exceptionClass.getMethod(\"setFaultMessage\",\n new java.lang.Class[]{messageClass});\n m.invoke(ex,new java.lang.Object[]{messageObject});\n \n\n throw new java.rmi.RemoteException(ex.getMessage(), ex);\n }catch(java.lang.ClassCastException e){\n // we cannot intantiate the class - throw the original Axis fault\n throw f;\n } catch (java.lang.ClassNotFoundException e) {\n // we cannot intantiate the class - throw the original Axis fault\n throw f;\n }catch (java.lang.NoSuchMethodException e) {\n // we cannot intantiate the class - throw the original Axis fault\n throw f;\n } catch (java.lang.reflect.InvocationTargetException e) {\n // we cannot intantiate the class - throw the original Axis fault\n throw f;\n } catch (java.lang.IllegalAccessException e) {\n // we cannot intantiate the class - throw the original Axis fault\n throw f;\n } catch (java.lang.InstantiationException e) {\n // we cannot intantiate the class - throw the original Axis fault\n throw f;\n }\n }else{\n throw f;\n }\n }else{\n throw f;\n }\n } finally {\n _messageContext.getTransportOut().getSender().cleanup(_messageContext);\n }\n }",
"@WebService(name = \"Authentication\", targetNamespace = \"urn:authws.services.ecm.opentext.com\")\r\n@XmlSeeAlso({\r\n com.opentext.ecm.api.ObjectFactory.class,\r\n com.opentext.ecm.services.authws.ObjectFactory.class\r\n})\r\npublic interface Authentication {\r\n\r\n\r\n /**\r\n * \r\n * @return\r\n * returns java.lang.String\r\n * @throws AuthenticationException_Exception\r\n */\r\n @WebMethod(operationName = \"GetResourceId\")\r\n @WebResult(targetNamespace = \"\")\r\n @RequestWrapper(localName = \"GetResourceId\", targetNamespace = \"urn:authws.services.ecm.opentext.com\", className = \"com.opentext.ecm.services.authws.GetResourceId\")\r\n @ResponseWrapper(localName = \"GetResourceIdResponse\", targetNamespace = \"urn:authws.services.ecm.opentext.com\", className = \"com.opentext.ecm.services.authws.GetResourceIdResponse\")\r\n public String getResourceId()\r\n throws AuthenticationException_Exception\r\n ;\r\n\r\n /**\r\n * \r\n * @param resourceId\r\n * @param username\r\n * @return\r\n * returns java.lang.String\r\n * @throws AuthenticationException_Exception\r\n */\r\n @WebMethod(operationName = \"GetTicketForUser\")\r\n @WebResult(targetNamespace = \"\")\r\n @RequestWrapper(localName = \"GetTicketForUser\", targetNamespace = \"urn:authws.services.ecm.opentext.com\", className = \"com.opentext.ecm.services.authws.GetTicketForUser\")\r\n @ResponseWrapper(localName = \"GetTicketForUserResponse\", targetNamespace = \"urn:authws.services.ecm.opentext.com\", className = \"com.opentext.ecm.services.authws.GetTicketForUserResponse\")\r\n public String getTicketForUser(\r\n @WebParam(name = \"username\", targetNamespace = \"\")\r\n String username,\r\n @WebParam(name = \"resourceId\", targetNamespace = \"\")\r\n String resourceId)\r\n throws AuthenticationException_Exception\r\n ;\r\n\r\n /**\r\n * \r\n * @param username\r\n * @param password\r\n * @return\r\n * returns java.lang.String\r\n * @throws AuthenticationException_Exception\r\n */\r\n @WebMethod(operationName = \"Authenticate\")\r\n @WebResult(targetNamespace = \"\")\r\n @RequestWrapper(localName = \"Authenticate\", targetNamespace = \"urn:authws.services.ecm.opentext.com\", className = \"com.opentext.ecm.services.authws.Authenticate\")\r\n @ResponseWrapper(localName = \"AuthenticateResponse\", targetNamespace = \"urn:authws.services.ecm.opentext.com\", className = \"com.opentext.ecm.services.authws.AuthenticateResponse\")\r\n public String authenticate(\r\n @WebParam(name = \"username\", targetNamespace = \"\")\r\n String username,\r\n @WebParam(name = \"password\", targetNamespace = \"\")\r\n String password)\r\n throws AuthenticationException_Exception\r\n ;\r\n\r\n /**\r\n * \r\n * @return\r\n * returns java.lang.String\r\n * @throws AuthenticationException_Exception\r\n */\r\n @WebMethod(operationName = \"AuthenticateCurrentUser\")\r\n @WebResult(targetNamespace = \"\")\r\n @RequestWrapper(localName = \"AuthenticateCurrentUser\", targetNamespace = \"urn:authws.services.ecm.opentext.com\", className = \"com.opentext.ecm.services.authws.AuthenticateCurrentUser\")\r\n @ResponseWrapper(localName = \"AuthenticateCurrentUserResponse\", targetNamespace = \"urn:authws.services.ecm.opentext.com\", className = \"com.opentext.ecm.services.authws.AuthenticateCurrentUserResponse\")\r\n public String authenticateCurrentUser()\r\n throws AuthenticationException_Exception\r\n ;\r\n\r\n /**\r\n * \r\n * @param code\r\n * @return\r\n * returns java.lang.String\r\n * @throws AuthenticationException_Exception\r\n */\r\n @WebMethod(operationName = \"AuthenticateCurrentUserWithCode\")\r\n @WebResult(targetNamespace = \"\")\r\n @RequestWrapper(localName = \"AuthenticateCurrentUserWithCode\", targetNamespace = \"urn:authws.services.ecm.opentext.com\", className = \"com.opentext.ecm.services.authws.AuthenticateCurrentUserWithCode\")\r\n @ResponseWrapper(localName = \"AuthenticateCurrentUserWithCodeResponse\", targetNamespace = \"urn:authws.services.ecm.opentext.com\", className = \"com.opentext.ecm.services.authws.AuthenticateCurrentUserWithCodeResponse\")\r\n public String authenticateCurrentUserWithCode(\r\n @WebParam(name = \"code\", targetNamespace = \"\")\r\n String code)\r\n throws AuthenticationException_Exception\r\n ;\r\n\r\n /**\r\n * \r\n * @param username\r\n * @param code\r\n * @param password\r\n * @return\r\n * returns java.lang.String\r\n * @throws AuthenticationException_Exception\r\n */\r\n @WebMethod(operationName = \"AuthenticateWithPasswordAndCode\")\r\n @WebResult(targetNamespace = \"\")\r\n @RequestWrapper(localName = \"AuthenticateWithPasswordAndCode\", targetNamespace = \"urn:authws.services.ecm.opentext.com\", className = \"com.opentext.ecm.services.authws.AuthenticateWithPasswordAndCode\")\r\n @ResponseWrapper(localName = \"AuthenticateWithPasswordAndCodeResponse\", targetNamespace = \"urn:authws.services.ecm.opentext.com\", className = \"com.opentext.ecm.services.authws.AuthenticateWithPasswordAndCodeResponse\")\r\n public String authenticateWithPasswordAndCode(\r\n @WebParam(name = \"username\", targetNamespace = \"\")\r\n String username,\r\n @WebParam(name = \"password\", targetNamespace = \"\")\r\n String password,\r\n @WebParam(name = \"code\", targetNamespace = \"\")\r\n String code)\r\n throws AuthenticationException_Exception\r\n ;\r\n\r\n /**\r\n * \r\n * @param username\r\n * @param token\r\n * @return\r\n * returns java.lang.String\r\n * @throws AuthenticationException_Exception\r\n */\r\n @WebMethod(operationName = \"AuthenticateWithToken\")\r\n @WebResult(targetNamespace = \"\")\r\n @RequestWrapper(localName = \"AuthenticateWithToken\", targetNamespace = \"urn:authws.services.ecm.opentext.com\", className = \"com.opentext.ecm.services.authws.AuthenticateWithToken\")\r\n @ResponseWrapper(localName = \"AuthenticateWithTokenResponse\", targetNamespace = \"urn:authws.services.ecm.opentext.com\", className = \"com.opentext.ecm.services.authws.AuthenticateWithTokenResponse\")\r\n public String authenticateWithToken(\r\n @WebParam(name = \"username\", targetNamespace = \"\")\r\n String username,\r\n @WebParam(name = \"token\", targetNamespace = \"\")\r\n byte[] token)\r\n throws AuthenticationException_Exception\r\n ;\r\n\r\n /**\r\n * \r\n * @param username\r\n * @param token\r\n * @param code\r\n * @return\r\n * returns java.lang.String\r\n * @throws AuthenticationException_Exception\r\n */\r\n @WebMethod(operationName = \"AuthenticateWithTokenAndCode\")\r\n @WebResult(targetNamespace = \"\")\r\n @RequestWrapper(localName = \"AuthenticateWithTokenAndCode\", targetNamespace = \"urn:authws.services.ecm.opentext.com\", className = \"com.opentext.ecm.services.authws.AuthenticateWithTokenAndCode\")\r\n @ResponseWrapper(localName = \"AuthenticateWithTokenAndCodeResponse\", targetNamespace = \"urn:authws.services.ecm.opentext.com\", className = \"com.opentext.ecm.services.authws.AuthenticateWithTokenAndCodeResponse\")\r\n public String authenticateWithTokenAndCode(\r\n @WebParam(name = \"username\", targetNamespace = \"\")\r\n String username,\r\n @WebParam(name = \"token\", targetNamespace = \"\")\r\n byte[] token,\r\n @WebParam(name = \"code\", targetNamespace = \"\")\r\n String code)\r\n throws AuthenticationException_Exception\r\n ;\r\n\r\n}",
"@WebService(name = \"RPCLitSWA\", targetNamespace = \"http://org/apache/axis2/jaxws/proxy/rpclitswa\", wsdlLocation = \"RPCLitSWA.wsdl\")\r\n@SOAPBinding(style = Style.RPC)\r\npublic interface RPCLitSWA {\r\n\r\n\r\n /**\r\n * \r\n * @param request\r\n * @param dummyAttachmentINOUT\r\n * @param dummyAttachmentOUT\r\n * @param response\r\n * @param dummyAttachmentIN\r\n */\r\n @WebMethod\r\n public void echo(\r\n @WebParam(name = \"request\", partName = \"request\")\r\n String request,\r\n @WebParam(name = \"dummyAttachmentIN\", partName = \"dummyAttachmentIN\")\r\n String dummyAttachmentIN,\r\n @WebParam(name = \"dummyAttachmentINOUT\", mode = Mode.INOUT, partName = \"dummyAttachmentINOUT\")\r\n Holder<DataHandler> dummyAttachmentINOUT,\r\n @WebParam(name = \"response\", mode = Mode.OUT, partName = \"response\")\r\n Holder<String> response,\r\n @WebParam(name = \"dummyAttachmentOUT\", mode = Mode.OUT, partName = \"dummyAttachmentOUT\")\r\n Holder<String> dummyAttachmentOUT);\r\n\r\n}",
"@WebService(name = \"OrderPortType\", targetNamespace = \"http://www.ttu.ee/idu0075/2017/ws/restaurant2\")\n@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface OrderPortType {\n\n\n /**\n * \n * @param parameter\n * @return\n * returns ee.ttu.idu0075._2017.ws.restaurant2.DishType\n */\n @WebMethod\n @WebResult(name = \"getDishResponse\", targetNamespace = \"http://www.ttu.ee/idu0075/2017/ws/restaurant2\", partName = \"parameter\")\n public DishType getDish(\n @WebParam(name = \"getDishRequest\", targetNamespace = \"http://www.ttu.ee/idu0075/2017/ws/restaurant2\", partName = \"parameter\")\n GetDishRequest parameter);\n\n /**\n * \n * @param parameter\n * @return\n * returns ee.ttu.idu0075._2017.ws.restaurant2.DishType\n */\n @WebMethod\n @WebResult(name = \"addDishResponse\", targetNamespace = \"http://www.ttu.ee/idu0075/2017/ws/restaurant2\", partName = \"parameter\")\n public DishType addDish(\n @WebParam(name = \"addDishRequest\", targetNamespace = \"http://www.ttu.ee/idu0075/2017/ws/restaurant2\", partName = \"parameter\")\n AddDishRequest parameter);\n\n /**\n * \n * @param parameter\n * @return\n * returns ee.ttu.idu0075._2017.ws.restaurant2.GetDishListResponse\n */\n @WebMethod\n @WebResult(name = \"getDishListResponse\", targetNamespace = \"http://www.ttu.ee/idu0075/2017/ws/restaurant2\", partName = \"parameter\")\n public GetDishListResponse getDishList(\n @WebParam(name = \"getDishListRequest\", targetNamespace = \"http://www.ttu.ee/idu0075/2017/ws/restaurant2\", partName = \"parameter\")\n GetDishListRequest parameter);\n\n /**\n * \n * @param parameter\n * @return\n * returns ee.ttu.idu0075._2017.ws.restaurant2.OrderType\n */\n @WebMethod\n @WebResult(name = \"getOrderResponse\", targetNamespace = \"http://www.ttu.ee/idu0075/2017/ws/restaurant2\", partName = \"parameter\")\n public OrderType getOrder(\n @WebParam(name = \"getOrderRequest\", targetNamespace = \"http://www.ttu.ee/idu0075/2017/ws/restaurant2\", partName = \"parameter\")\n GetOrderRequest parameter);\n\n /**\n * \n * @param parameter\n * @return\n * returns ee.ttu.idu0075._2017.ws.restaurant2.OrderType\n */\n @WebMethod\n @WebResult(name = \"addOrderResponse\", targetNamespace = \"http://www.ttu.ee/idu0075/2017/ws/restaurant2\", partName = \"parameter\")\n public OrderType addOrder(\n @WebParam(name = \"addOrderRequest\", targetNamespace = \"http://www.ttu.ee/idu0075/2017/ws/restaurant2\", partName = \"parameter\")\n AddOrderRequest parameter);\n\n /**\n * \n * @param parameter\n * @return\n * returns ee.ttu.idu0075._2017.ws.restaurant2.GetOrderListResponse\n */\n @WebMethod\n @WebResult(name = \"getOrderListResponse\", targetNamespace = \"http://www.ttu.ee/idu0075/2017/ws/restaurant2\", partName = \"parameter\")\n public GetOrderListResponse getOrderList(\n @WebParam(name = \"getOrderListRequest\", targetNamespace = \"http://www.ttu.ee/idu0075/2017/ws/restaurant2\", partName = \"parameter\")\n GetOrderListRequest parameter);\n\n /**\n * \n * @param parameter\n * @return\n * returns ee.ttu.idu0075._2017.ws.restaurant2.OrderDishListType\n */\n @WebMethod\n @WebResult(name = \"getOrderDishListResponse\", targetNamespace = \"http://www.ttu.ee/idu0075/2017/ws/restaurant2\", partName = \"parameter\")\n public OrderDishListType getOrderDishList(\n @WebParam(name = \"getOrderDishListRequest\", targetNamespace = \"http://www.ttu.ee/idu0075/2017/ws/restaurant2\", partName = \"parameter\")\n GetOrderDishListRequest parameter);\n\n /**\n * \n * @param parameter\n * @return\n * returns ee.ttu.idu0075._2017.ws.restaurant2.OrderDishType\n */\n @WebMethod\n @WebResult(name = \"addOrderDishResponse\", targetNamespace = \"http://www.ttu.ee/idu0075/2017/ws/restaurant2\", partName = \"parameter\")\n public OrderDishType addOrderDish(\n @WebParam(name = \"addOrderDishRequest\", targetNamespace = \"http://www.ttu.ee/idu0075/2017/ws/restaurant2\", partName = \"parameter\")\n AddOrderDishRequest parameter);\n\n}",
"@WebService(name = \"FileService\", targetNamespace = \"http://soap.web.lab/\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface FileService extends lab.web.FileService {\n\n\n /**\n * \n * @param arg0\n * @return\n * returns boolean\n * @throws ServiceException\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"writeFile\", targetNamespace = \"http://soap.web.lab/\", className = \"WriteFile\")\n @ResponseWrapper(localName = \"writeFileResponse\", targetNamespace = \"http://soap.web.lab/\", className = \"WriteFileResponse\")\n public boolean writeFile(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n String arg0)\n throws ServiceException\n ;\n\n /**\n * \n * @return\n * returns java.util.List<java.lang.String>\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getListAllFiles\", targetNamespace = \"http://soap.web.lab/\", className = \"GetListAllFiles\")\n @ResponseWrapper(localName = \"getListAllFilesResponse\", targetNamespace = \"http://soap.web.lab/\", className = \"GetListAllFilesResponse\")\n public List<String> getListAllFiles();\n\n /**\n * \n * @param arg0\n * @return\n * returns boolean\n * @throws ServiceException\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"deleteFile\", targetNamespace = \"http://soap.web.lab/\", className = \"DeleteFile\")\n @ResponseWrapper(localName = \"deleteFileResponse\", targetNamespace = \"http://soap.web.lab/\", className = \"DeleteFileResponse\")\n public boolean deleteFile(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n String arg0)\n throws ServiceException\n ;\n\n /**\n * \n * @param arg1\n * @param arg0\n * @return\n * returns boolean\n * @throws ServiceException\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"downloadFile\", targetNamespace = \"http://soap.web.lab/\", className = \"DownloadFile\")\n @ResponseWrapper(localName = \"downloadFileResponse\", targetNamespace = \"http://soap.web.lab/\", className = \"DownloadFileResponse\")\n public boolean downloadFile(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n String arg0,\n @WebParam(name = \"arg1\", targetNamespace = \"\")\n String arg1)\n throws ServiceException\n ;\n\n}",
"@WebService(name = \"BonusOperationWebService\", targetNamespace = \"http://ws.agent.service.dms.sgm.com/\")\n@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface BonusOperationWebService {\n\n\n /**\n * \n * @param body\n * @param header\n * @return\n * returns com.sgm.dms.service.agent.ws.bonus.TranformFrznBonusFundResponse\n * @throws SgmErrorFault\n */\n @WebMethod\n @WebResult(name = \"tranformFrznBonusFundResponse\", targetNamespace = \"http://ws.agent.service.dms.sgm.com/\", partName = \"body\")\n public TranformFrznBonusFundResponse tranformFrznBonusFund(\n @WebParam(name = \"tranformFrznBonusFund\", targetNamespace = \"http://ws.agent.service.dms.sgm.com/\", partName = \"body\")\n TranformFrznBonusFund body,\n @WebParam(name = \"SGMCommonHeader\", targetNamespace = \"http://www.saic-gm.com/esb/schemas/common/SGMCommonHeader/v1\", header = true, mode = WebParam.Mode.INOUT, partName = \"header\")\n Holder<SGMCommonHeaderType> header)\n throws SgmErrorFault\n ;\n\n /**\n * \n * @param body\n * @param header\n * @return\n * returns com.sgm.dms.service.agent.ws.bonus.TranformBonusFundCompensationResponse\n * @throws SgmErrorFault\n */\n @WebMethod\n @WebResult(name = \"tranformBonusFundCompensationResponse\", targetNamespace = \"http://ws.agent.service.dms.sgm.com/\", partName = \"body\")\n public TranformBonusFundCompensationResponse tranformBonusFundCompensation(\n @WebParam(name = \"tranformBonusFundCompensation\", targetNamespace = \"http://ws.agent.service.dms.sgm.com/\", partName = \"body\")\n TranformBonusFundCompensation body,\n @WebParam(name = \"SGMCommonHeader\", targetNamespace = \"http://www.saic-gm.com/esb/schemas/common/SGMCommonHeader/v1\", header = true, mode = WebParam.Mode.INOUT, partName = \"header\")\n Holder<SGMCommonHeaderType> header)\n throws SgmErrorFault\n ;\n\n /**\n * \n * @param body\n * @param header\n * @return\n * returns com.sgm.dms.service.agent.ws.bonus.TranformBonusFundResponse\n * @throws SgmErrorFault\n */\n @WebMethod\n @WebResult(name = \"tranformBonusFundResponse\", targetNamespace = \"http://ws.agent.service.dms.sgm.com/\", partName = \"body\")\n public TranformBonusFundResponse tranformBonusFund(\n @WebParam(name = \"tranformBonusFund\", targetNamespace = \"http://ws.agent.service.dms.sgm.com/\", partName = \"body\")\n TranformBonusFund body,\n @WebParam(name = \"SGMCommonHeader\", targetNamespace = \"http://www.saic-gm.com/esb/schemas/common/SGMCommonHeader/v1\", header = true, mode = WebParam.Mode.INOUT, partName = \"header\")\n Holder<SGMCommonHeaderType> header)\n throws SgmErrorFault\n ;\n\n /**\n * \n * @param body\n * @param header\n * @return\n * returns com.sgm.dms.service.agent.ws.bonus.TranformUnFrznBonusFundResponse\n * @throws SgmErrorFault\n */\n @WebMethod\n @WebResult(name = \"tranformUnFrznBonusFundResponse\", targetNamespace = \"http://ws.agent.service.dms.sgm.com/\", partName = \"body\")\n public TranformUnFrznBonusFundResponse tranformUnFrznBonusFund(\n @WebParam(name = \"tranformUnFrznBonusFund\", targetNamespace = \"http://ws.agent.service.dms.sgm.com/\", partName = \"body\")\n TranformUnFrznBonusFund body,\n @WebParam(name = \"SGMCommonHeader\", targetNamespace = \"http://www.saic-gm.com/esb/schemas/common/SGMCommonHeader/v1\", header = true, mode = WebParam.Mode.INOUT, partName = \"header\")\n Holder<SGMCommonHeaderType> header)\n throws SgmErrorFault\n ;\n\n /**\n * \n * @param body\n * @param header\n * @return\n * returns com.sgm.dms.service.agent.ws.bonus.TranformUnFrznBonusFundCompensationResponse\n * @throws SgmErrorFault\n */\n @WebMethod\n @WebResult(name = \"tranformUnFrznBonusFundCompensationResponse\", targetNamespace = \"http://ws.agent.service.dms.sgm.com/\", partName = \"body\")\n public TranformUnFrznBonusFundCompensationResponse tranformUnFrznBonusFundCompensation(\n @WebParam(name = \"tranformUnFrznBonusFundCompensation\", targetNamespace = \"http://ws.agent.service.dms.sgm.com/\", partName = \"body\")\n TranformUnFrznBonusFundCompensation body,\n @WebParam(name = \"SGMCommonHeader\", targetNamespace = \"http://www.saic-gm.com/esb/schemas/common/SGMCommonHeader/v1\", header = true, mode = WebParam.Mode.INOUT, partName = \"header\")\n Holder<SGMCommonHeaderType> header)\n throws SgmErrorFault\n ;\n\n /**\n * \n * @param body\n * @param header\n * @return\n * returns com.sgm.dms.service.agent.ws.bonus.TranformFrznBonusFundCompensationResponse\n * @throws SgmErrorFault\n */\n @WebMethod\n @WebResult(name = \"tranformFrznBonusFundCompensationResponse\", targetNamespace = \"http://ws.agent.service.dms.sgm.com/\", partName = \"body\")\n public TranformFrznBonusFundCompensationResponse tranformFrznBonusFundCompensation(\n @WebParam(name = \"tranformFrznBonusFundCompensation\", targetNamespace = \"http://ws.agent.service.dms.sgm.com/\", partName = \"body\")\n TranformFrznBonusFundCompensation body,\n @WebParam(name = \"SGMCommonHeader\", targetNamespace = \"http://www.saic-gm.com/esb/schemas/common/SGMCommonHeader/v1\", header = true, mode = WebParam.Mode.INOUT, partName = \"header\")\n Holder<SGMCommonHeaderType> header)\n throws SgmErrorFault\n ;\n\n}",
"@WebService(name = \"GetUser\", targetNamespace = \"http://Eshan/\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface GetUser {\n\n\n /**\n * \n * @param userID\n * @return\n * returns java.util.List<java.lang.Object>\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getUser\", targetNamespace = \"http://Eshan/\", className = \"eshan.GetUser_Type\")\n @ResponseWrapper(localName = \"getUserResponse\", targetNamespace = \"http://Eshan/\", className = \"eshan.GetUserResponse\")\n @Action(input = \"http://Eshan/GetUser/getUserRequest\", output = \"http://Eshan/GetUser/getUserResponse\")\n public List<Object> getUser(\n @WebParam(name = \"UserID\", targetNamespace = \"\")\n int userID);\n\n}",
"@WebService(name = \"Servicio\", targetNamespace = \"http://Servicio/\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface Servicio {\n\n\n /**\n * \n * @return\n * returns java.util.List<servicio.Persona>\n */\n @WebMethod(operationName = \"ListPersons\")\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"ListPersons\", targetNamespace = \"http://Servicio/\", className = \"servicio.ListPersons\")\n @ResponseWrapper(localName = \"ListPersonsResponse\", targetNamespace = \"http://Servicio/\", className = \"servicio.ListPersonsResponse\")\n @Action(input = \"http://Servicio/Servicio/ListPersonsRequest\", output = \"http://Servicio/Servicio/ListPersonsResponse\")\n public List<Persona> listPersons();\n\n /**\n * \n * @param arg0\n * @return\n * returns java.lang.Object\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"readPerson\", targetNamespace = \"http://Servicio/\", className = \"servicio.ReadPerson\")\n @ResponseWrapper(localName = \"readPersonResponse\", targetNamespace = \"http://Servicio/\", className = \"servicio.ReadPersonResponse\")\n @Action(input = \"http://Servicio/Servicio/readPersonRequest\", output = \"http://Servicio/Servicio/readPersonResponse\")\n public Object readPerson(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n int arg0);\n\n /**\n * \n * @param arg3\n * @param arg2\n * @param arg5\n * @param arg4\n * @param arg1\n * @param arg0\n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"updatePerson\", targetNamespace = \"http://Servicio/\", className = \"servicio.UpdatePerson\")\n @ResponseWrapper(localName = \"updatePersonResponse\", targetNamespace = \"http://Servicio/\", className = \"servicio.UpdatePersonResponse\")\n @Action(input = \"http://Servicio/Servicio/updatePersonRequest\", output = \"http://Servicio/Servicio/updatePersonResponse\")\n public String updatePerson(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n int arg0,\n @WebParam(name = \"arg1\", targetNamespace = \"\")\n String arg1,\n @WebParam(name = \"arg2\", targetNamespace = \"\")\n String arg2,\n @WebParam(name = \"arg3\", targetNamespace = \"\")\n String arg3,\n @WebParam(name = \"arg4\", targetNamespace = \"\")\n String arg4,\n @WebParam(name = \"arg5\", targetNamespace = \"\")\n String arg5);\n\n /**\n * \n * @param arg0\n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"deletePerson\", targetNamespace = \"http://Servicio/\", className = \"servicio.DeletePerson\")\n @ResponseWrapper(localName = \"deletePersonResponse\", targetNamespace = \"http://Servicio/\", className = \"servicio.DeletePersonResponse\")\n @Action(input = \"http://Servicio/Servicio/deletePersonRequest\", output = \"http://Servicio/Servicio/deletePersonResponse\")\n public String deletePerson(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n int arg0);\n\n /**\n * \n * @param arg3\n * @param arg2\n * @param arg5\n * @param arg4\n * @param arg1\n * @param arg0\n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"insertPerson\", targetNamespace = \"http://Servicio/\", className = \"servicio.InsertPerson\")\n @ResponseWrapper(localName = \"insertPersonResponse\", targetNamespace = \"http://Servicio/\", className = \"servicio.InsertPersonResponse\")\n @Action(input = \"http://Servicio/Servicio/insertPersonRequest\", output = \"http://Servicio/Servicio/insertPersonResponse\")\n public String insertPerson(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n int arg0,\n @WebParam(name = \"arg1\", targetNamespace = \"\")\n String arg1,\n @WebParam(name = \"arg2\", targetNamespace = \"\")\n String arg2,\n @WebParam(name = \"arg3\", targetNamespace = \"\")\n String arg3,\n @WebParam(name = \"arg4\", targetNamespace = \"\")\n String arg4,\n @WebParam(name = \"arg5\", targetNamespace = \"\")\n String arg5);\n\n}",
"@WebService(name = \"serverPortType\", targetNamespace = \"urn:server\")\n@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface ServerPortType {\n\n\n /**\n * \n * @param parameters\n * @return\n * returns server.CreateRequestResponseType\n */\n @WebMethod(operationName = \"CreateRequest\", action = \"urn:server#CreateRequest\")\n @WebResult(name = \"CreateRequestResponse\", partName = \"parameters\")\n public CreateRequestResponseType createRequest(\n @WebParam(name = \"CreateRequest\", partName = \"parameters\")\n CreateRequestRequestType parameters);\n\n /**\n * \n * @param parameters\n * @return\n * returns server.CreateIncidentResponseType\n */\n @WebMethod(operationName = \"CreateIncident\", action = \"urn:server#CreateIncident\")\n @WebResult(name = \"CreateIncidentResponse\", partName = \"parameters\")\n public CreateIncidentResponseType createIncident(\n @WebParam(name = \"CreateIncident\", partName = \"parameters\")\n CreateIncidentRequestType parameters);\n\n}",
"@WebService(name = \"SharedGalleryServerSOAP\", targetNamespace = \"http://SOAP.svr.tp1.sd/\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface SharedGalleryServerSOAP {\n\n\n /**\n * \n * @return\n * returns java.util.List<java.lang.String>\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getListOfAlbums\", targetNamespace = \"http://SOAP.svr.tp1.sd/\", className = \"sd.tp1.clt.ws.GetListOfAlbums\")\n @ResponseWrapper(localName = \"getListOfAlbumsResponse\", targetNamespace = \"http://SOAP.svr.tp1.sd/\", className = \"sd.tp1.clt.ws.GetListOfAlbumsResponse\")\n @Action(input = \"http://SOAP.svr.tp1.sd/SharedGalleryServerSOAP/getListOfAlbumsRequest\", output = \"http://SOAP.svr.tp1.sd/SharedGalleryServerSOAP/getListOfAlbumsResponse\")\n public List<String> getListOfAlbums();\n\n /**\n * \n * @param arg0\n * @return\n * returns java.util.List<java.lang.String>\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getListOfPictures\", targetNamespace = \"http://SOAP.svr.tp1.sd/\", className = \"sd.tp1.clt.ws.GetListOfPictures\")\n @ResponseWrapper(localName = \"getListOfPicturesResponse\", targetNamespace = \"http://SOAP.svr.tp1.sd/\", className = \"sd.tp1.clt.ws.GetListOfPicturesResponse\")\n @Action(input = \"http://SOAP.svr.tp1.sd/SharedGalleryServerSOAP/getListOfPicturesRequest\", output = \"http://SOAP.svr.tp1.sd/SharedGalleryServerSOAP/getListOfPicturesResponse\")\n public List<String> getListOfPictures(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n String arg0);\n\n /**\n * \n * @param arg1\n * @param arg0\n * @return\n * returns byte[]\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getPictureData\", targetNamespace = \"http://SOAP.svr.tp1.sd/\", className = \"sd.tp1.clt.ws.GetPictureData\")\n @ResponseWrapper(localName = \"getPictureDataResponse\", targetNamespace = \"http://SOAP.svr.tp1.sd/\", className = \"sd.tp1.clt.ws.GetPictureDataResponse\")\n @Action(input = \"http://SOAP.svr.tp1.sd/SharedGalleryServerSOAP/getPictureDataRequest\", output = \"http://SOAP.svr.tp1.sd/SharedGalleryServerSOAP/getPictureDataResponse\")\n public byte[] getPictureData(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n String arg0,\n @WebParam(name = \"arg1\", targetNamespace = \"\")\n String arg1);\n\n /**\n * \n * @param arg0\n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"createAlbum\", targetNamespace = \"http://SOAP.svr.tp1.sd/\", className = \"sd.tp1.clt.ws.CreateAlbum\")\n @ResponseWrapper(localName = \"createAlbumResponse\", targetNamespace = \"http://SOAP.svr.tp1.sd/\", className = \"sd.tp1.clt.ws.CreateAlbumResponse\")\n @Action(input = \"http://SOAP.svr.tp1.sd/SharedGalleryServerSOAP/createAlbumRequest\", output = \"http://SOAP.svr.tp1.sd/SharedGalleryServerSOAP/createAlbumResponse\")\n public String createAlbum(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n String arg0);\n\n /**\n * \n * @param arg0\n * @return\n * returns java.lang.Boolean\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"deleteAlbum\", targetNamespace = \"http://SOAP.svr.tp1.sd/\", className = \"sd.tp1.clt.ws.DeleteAlbum\")\n @ResponseWrapper(localName = \"deleteAlbumResponse\", targetNamespace = \"http://SOAP.svr.tp1.sd/\", className = \"sd.tp1.clt.ws.DeleteAlbumResponse\")\n @Action(input = \"http://SOAP.svr.tp1.sd/SharedGalleryServerSOAP/deleteAlbumRequest\", output = \"http://SOAP.svr.tp1.sd/SharedGalleryServerSOAP/deleteAlbumResponse\")\n public Boolean deleteAlbum(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n String arg0);\n\n /**\n * \n * @param arg2\n * @param arg1\n * @param arg0\n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"uploadPicture\", targetNamespace = \"http://SOAP.svr.tp1.sd/\", className = \"sd.tp1.clt.ws.UploadPicture\")\n @ResponseWrapper(localName = \"uploadPictureResponse\", targetNamespace = \"http://SOAP.svr.tp1.sd/\", className = \"sd.tp1.clt.ws.UploadPictureResponse\")\n @Action(input = \"http://SOAP.svr.tp1.sd/SharedGalleryServerSOAP/uploadPictureRequest\", output = \"http://SOAP.svr.tp1.sd/SharedGalleryServerSOAP/uploadPictureResponse\")\n public String uploadPicture(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n String arg0,\n @WebParam(name = \"arg1\", targetNamespace = \"\")\n String arg1,\n @WebParam(name = \"arg2\", targetNamespace = \"\")\n byte[] arg2);\n\n /**\n * \n * @param arg1\n * @param arg0\n * @return\n * returns java.lang.Boolean\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"deletePicture\", targetNamespace = \"http://SOAP.svr.tp1.sd/\", className = \"sd.tp1.clt.ws.DeletePicture\")\n @ResponseWrapper(localName = \"deletePictureResponse\", targetNamespace = \"http://SOAP.svr.tp1.sd/\", className = \"sd.tp1.clt.ws.DeletePictureResponse\")\n @Action(input = \"http://SOAP.svr.tp1.sd/SharedGalleryServerSOAP/deletePictureRequest\", output = \"http://SOAP.svr.tp1.sd/SharedGalleryServerSOAP/deletePictureResponse\")\n public Boolean deletePicture(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n String arg0,\n @WebParam(name = \"arg1\", targetNamespace = \"\")\n String arg1);\n\n}",
"@WebService(name = \"People\", targetNamespace = \"http://ws.soap.finalproject.introsde/\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface People {\n\n\n /**\n * \n * @param person\n * @return\n * returns int\n */\n @WebMethod\n @WebResult(name = \"personId\", targetNamespace = \"\")\n @RequestWrapper(localName = \"createPerson\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.CreatePerson\")\n @ResponseWrapper(localName = \"createPersonResponse\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.CreatePersonResponse\")\n @Action(input = \"http://ws.soap.finalproject.introsde/People/createPersonRequest\", output = \"http://ws.soap.finalproject.introsde/People/createPersonResponse\")\n public int createPerson(\n @WebParam(name = \"person\", targetNamespace = \"\")\n Person person);\n\n /**\n * \n * @param personId\n * @return\n * returns introsde.finalproject.soap.ws.Person\n */\n @WebMethod\n @WebResult(name = \"person\", targetNamespace = \"\")\n @RequestWrapper(localName = \"getPerson\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.GetPerson\")\n @ResponseWrapper(localName = \"getPersonResponse\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.GetPersonResponse\")\n @Action(input = \"http://ws.soap.finalproject.introsde/People/getPersonRequest\", output = \"http://ws.soap.finalproject.introsde/People/getPersonResponse\")\n public Person getPerson(\n @WebParam(name = \"personId\", targetNamespace = \"\")\n int personId);\n\n /**\n * \n * @param person\n * @return\n * returns int\n */\n @WebMethod\n @WebResult(name = \"personId\", targetNamespace = \"\")\n @RequestWrapper(localName = \"updatePerson\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.UpdatePerson\")\n @ResponseWrapper(localName = \"updatePersonResponse\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.UpdatePersonResponse\")\n @Action(input = \"http://ws.soap.finalproject.introsde/People/updatePersonRequest\", output = \"http://ws.soap.finalproject.introsde/People/updatePersonResponse\")\n public int updatePerson(\n @WebParam(name = \"person\", targetNamespace = \"\")\n Person person);\n\n /**\n * \n * @param personId\n * @return\n * returns int\n */\n @WebMethod\n @WebResult(name = \"responsePersonCode\", targetNamespace = \"\")\n @RequestWrapper(localName = \"deletePerson\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.DeletePerson\")\n @ResponseWrapper(localName = \"deletePersonResponse\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.DeletePersonResponse\")\n @Action(input = \"http://ws.soap.finalproject.introsde/People/deletePersonRequest\", output = \"http://ws.soap.finalproject.introsde/People/deletePersonResponse\")\n public int deletePerson(\n @WebParam(name = \"personId\", targetNamespace = \"\")\n int personId);\n\n /**\n * \n * @return\n * returns introsde.finalproject.soap.ws.ListPersonWrapper\n */\n @WebMethod\n @WebResult(name = \"people\", targetNamespace = \"\")\n @RequestWrapper(localName = \"getPeopleList\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.GetPeopleList\")\n @ResponseWrapper(localName = \"getPeopleListResponse\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.GetPeopleListResponse\")\n @Action(input = \"http://ws.soap.finalproject.introsde/People/getPeopleListRequest\", output = \"http://ws.soap.finalproject.introsde/People/getPeopleListResponse\")\n public ListPersonWrapper getPeopleList();\n\n /**\n * \n * @param personId\n * @return\n * returns introsde.finalproject.soap.ws.ListMeasureWrapper\n */\n @WebMethod\n @WebResult(name = \"currentHealth\", targetNamespace = \"\")\n @RequestWrapper(localName = \"getCurrentHealth\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.GetCurrentHealth\")\n @ResponseWrapper(localName = \"getCurrentHealthResponse\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.GetCurrentHealthResponse\")\n @Action(input = \"http://ws.soap.finalproject.introsde/People/getCurrentHealthRequest\", output = \"http://ws.soap.finalproject.introsde/People/getCurrentHealthResponse\")\n public ListMeasureWrapper getCurrentHealth(\n @WebParam(name = \"personId\", targetNamespace = \"\")\n int personId);\n\n /**\n * \n * @param personId\n * @return\n * returns introsde.finalproject.soap.ws.ListMeasureWrapper\n */\n @WebMethod\n @WebResult(name = \"vitalSigns\", targetNamespace = \"\")\n @RequestWrapper(localName = \"getVitalSigns\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.GetVitalSigns\")\n @ResponseWrapper(localName = \"getVitalSignsResponse\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.GetVitalSignsResponse\")\n @Action(input = \"http://ws.soap.finalproject.introsde/People/getVitalSignsRequest\", output = \"http://ws.soap.finalproject.introsde/People/getVitalSignsResponse\")\n public ListMeasureWrapper getVitalSigns(\n @WebParam(name = \"personId\", targetNamespace = \"\")\n int personId);\n\n /**\n * \n * @param doctor\n * @return\n * returns int\n */\n @WebMethod\n @WebResult(name = \"doctorId\", targetNamespace = \"\")\n @RequestWrapper(localName = \"createDoctor\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.CreateDoctor\")\n @ResponseWrapper(localName = \"createDoctorResponse\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.CreateDoctorResponse\")\n @Action(input = \"http://ws.soap.finalproject.introsde/People/createDoctorRequest\", output = \"http://ws.soap.finalproject.introsde/People/createDoctorResponse\")\n public int createDoctor(\n @WebParam(name = \"doctor\", targetNamespace = \"\")\n Doctor doctor);\n\n /**\n * \n * @param doctorId\n * @return\n * returns introsde.finalproject.soap.ws.Doctor\n */\n @WebMethod\n @WebResult(name = \"doctor\", targetNamespace = \"\")\n @RequestWrapper(localName = \"getDoctor\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.GetDoctor\")\n @ResponseWrapper(localName = \"getDoctorResponse\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.GetDoctorResponse\")\n @Action(input = \"http://ws.soap.finalproject.introsde/People/getDoctorRequest\", output = \"http://ws.soap.finalproject.introsde/People/getDoctorResponse\")\n public Doctor getDoctor(\n @WebParam(name = \"doctorId\", targetNamespace = \"\")\n int doctorId);\n\n /**\n * \n * @param doctor\n * @return\n * returns int\n */\n @WebMethod\n @WebResult(name = \"doctorId\", targetNamespace = \"\")\n @RequestWrapper(localName = \"updateDoctor\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.UpdateDoctor\")\n @ResponseWrapper(localName = \"updateDoctorResponse\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.UpdateDoctorResponse\")\n @Action(input = \"http://ws.soap.finalproject.introsde/People/updateDoctorRequest\", output = \"http://ws.soap.finalproject.introsde/People/updateDoctorResponse\")\n public int updateDoctor(\n @WebParam(name = \"doctor\", targetNamespace = \"\")\n Doctor doctor);\n\n /**\n * \n * @param doctorId\n * @return\n * returns int\n */\n @WebMethod\n @WebResult(name = \"responseDoctorCode\", targetNamespace = \"\")\n @RequestWrapper(localName = \"deleteDoctor\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.DeleteDoctor\")\n @ResponseWrapper(localName = \"deleteDoctorResponse\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.DeleteDoctorResponse\")\n @Action(input = \"http://ws.soap.finalproject.introsde/People/deleteDoctorRequest\", output = \"http://ws.soap.finalproject.introsde/People/deleteDoctorResponse\")\n public int deleteDoctor(\n @WebParam(name = \"doctorId\", targetNamespace = \"\")\n int doctorId);\n\n /**\n * \n * @param idDoctor\n * @return\n * returns introsde.finalproject.soap.ws.ListPersonWrapper\n */\n @WebMethod\n @WebResult(name = \"patientList\", targetNamespace = \"\")\n @RequestWrapper(localName = \"getPersonByDoctor\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.GetPersonByDoctor\")\n @ResponseWrapper(localName = \"getPersonByDoctorResponse\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.GetPersonByDoctorResponse\")\n @Action(input = \"http://ws.soap.finalproject.introsde/People/getPersonByDoctorRequest\", output = \"http://ws.soap.finalproject.introsde/People/getPersonByDoctorResponse\")\n public ListPersonWrapper getPersonByDoctor(\n @WebParam(name = \"idDoctor\", targetNamespace = \"\")\n int idDoctor);\n\n /**\n * \n * @param familyId\n * @return\n * returns introsde.finalproject.soap.ws.Family\n */\n @WebMethod\n @WebResult(name = \"family\", targetNamespace = \"\")\n @RequestWrapper(localName = \"getFamily\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.GetFamily\")\n @ResponseWrapper(localName = \"getFamilyResponse\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.GetFamilyResponse\")\n @Action(input = \"http://ws.soap.finalproject.introsde/People/getFamilyRequest\", output = \"http://ws.soap.finalproject.introsde/People/getFamilyResponse\")\n public Family getFamily(\n @WebParam(name = \"familyId\", targetNamespace = \"\")\n int familyId);\n\n /**\n * \n * @param idPerson\n * @param reminder\n * @return\n * returns int\n */\n @WebMethod\n @WebResult(name = \"reminder\", targetNamespace = \"\")\n @RequestWrapper(localName = \"createReminder\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.CreateReminder\")\n @ResponseWrapper(localName = \"createReminderResponse\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.CreateReminderResponse\")\n @Action(input = \"http://ws.soap.finalproject.introsde/People/createReminderRequest\", output = \"http://ws.soap.finalproject.introsde/People/createReminderResponse\")\n public int createReminder(\n @WebParam(name = \"reminder\", targetNamespace = \"\")\n Reminder reminder,\n @WebParam(name = \"idPerson\", targetNamespace = \"\")\n int idPerson);\n\n /**\n * \n * @param personId\n * @return\n * returns introsde.finalproject.soap.ws.ListReminderWrapper\n */\n @WebMethod\n @WebResult(name = \"reminder\", targetNamespace = \"\")\n @RequestWrapper(localName = \"getReminder\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.GetReminder\")\n @ResponseWrapper(localName = \"getReminderResponse\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.GetReminderResponse\")\n @Action(input = \"http://ws.soap.finalproject.introsde/People/getReminderRequest\", output = \"http://ws.soap.finalproject.introsde/People/getReminderResponse\")\n public ListReminderWrapper getReminder(\n @WebParam(name = \"personId\", targetNamespace = \"\")\n int personId);\n\n /**\n * \n * @param reminder\n * @return\n * returns int\n */\n @WebMethod\n @WebResult(name = \"updateReminder\", targetNamespace = \"\")\n @RequestWrapper(localName = \"updateReminder\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.UpdateReminder\")\n @ResponseWrapper(localName = \"updateReminderResponse\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.UpdateReminderResponse\")\n @Action(input = \"http://ws.soap.finalproject.introsde/People/updateReminderRequest\", output = \"http://ws.soap.finalproject.introsde/People/updateReminderResponse\")\n public int updateReminder(\n @WebParam(name = \"reminder\", targetNamespace = \"\")\n Reminder reminder);\n\n /**\n * \n * @param idReminder\n * @return\n * returns int\n */\n @WebMethod\n @WebResult(name = \"responseReminderCode\", targetNamespace = \"\")\n @RequestWrapper(localName = \"deleteReminder\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.DeleteReminder\")\n @ResponseWrapper(localName = \"deleteReminderResponse\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.DeleteReminderResponse\")\n @Action(input = \"http://ws.soap.finalproject.introsde/People/deleteReminderRequest\", output = \"http://ws.soap.finalproject.introsde/People/deleteReminderResponse\")\n public int deleteReminder(\n @WebParam(name = \"idReminder\", targetNamespace = \"\")\n int idReminder);\n\n /**\n * \n * @param idPerson\n * @param target\n * @return\n * returns int\n */\n @WebMethod\n @WebResult(name = \"targets\", targetNamespace = \"\")\n @RequestWrapper(localName = \"createTarget\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.CreateTarget\")\n @ResponseWrapper(localName = \"createTargetResponse\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.CreateTargetResponse\")\n @Action(input = \"http://ws.soap.finalproject.introsde/People/createTargetRequest\", output = \"http://ws.soap.finalproject.introsde/People/createTargetResponse\")\n public int createTarget(\n @WebParam(name = \"target\", targetNamespace = \"\")\n Target target,\n @WebParam(name = \"idPerson\", targetNamespace = \"\")\n int idPerson);\n\n /**\n * \n * @param personId\n * @return\n * returns introsde.finalproject.soap.ws.ListTargetWrapper\n */\n @WebMethod\n @WebResult(name = \"targets\", targetNamespace = \"\")\n @RequestWrapper(localName = \"getTargetList\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.GetTargetList\")\n @ResponseWrapper(localName = \"getTargetListResponse\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.GetTargetListResponse\")\n @Action(input = \"http://ws.soap.finalproject.introsde/People/getTargetListRequest\", output = \"http://ws.soap.finalproject.introsde/People/getTargetListResponse\")\n public ListTargetWrapper getTargetList(\n @WebParam(name = \"personId\", targetNamespace = \"\")\n int personId);\n\n /**\n * \n * @param target\n * @return\n * returns int\n */\n @WebMethod\n @WebResult(name = \"targetId\", targetNamespace = \"\")\n @RequestWrapper(localName = \"updateTarget\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.UpdateTarget\")\n @ResponseWrapper(localName = \"updateTargetResponse\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.UpdateTargetResponse\")\n @Action(input = \"http://ws.soap.finalproject.introsde/People/updateTargetRequest\", output = \"http://ws.soap.finalproject.introsde/People/updateTargetResponse\")\n public int updateTarget(\n @WebParam(name = \"target\", targetNamespace = \"\")\n Target target);\n\n /**\n * \n * @param idTarget\n * @return\n * returns int\n */\n @WebMethod\n @WebResult(name = \"responseTargetCode\", targetNamespace = \"\")\n @RequestWrapper(localName = \"deleteTarget\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.DeleteTarget\")\n @ResponseWrapper(localName = \"deleteTargetResponse\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.DeleteTargetResponse\")\n @Action(input = \"http://ws.soap.finalproject.introsde/People/deleteTargetRequest\", output = \"http://ws.soap.finalproject.introsde/People/deleteTargetResponse\")\n public int deleteTarget(\n @WebParam(name = \"idTarget\", targetNamespace = \"\")\n int idTarget);\n\n /**\n * \n * @param idMeasureDef\n * @param personId\n * @return\n * returns introsde.finalproject.soap.ws.ListTargetWrapper\n */\n @WebMethod\n @WebResult(name = \"targets\", targetNamespace = \"\")\n @RequestWrapper(localName = \"getTarget\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.GetTarget\")\n @ResponseWrapper(localName = \"getTargetResponse\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.GetTargetResponse\")\n @Action(input = \"http://ws.soap.finalproject.introsde/People/getTargetRequest\", output = \"http://ws.soap.finalproject.introsde/People/getTargetResponse\")\n public ListTargetWrapper getTarget(\n @WebParam(name = \"personId\", targetNamespace = \"\")\n int personId,\n @WebParam(name = \"idMeasureDef\", targetNamespace = \"\")\n int idMeasureDef);\n\n /**\n * \n * @param measure\n * @param idPerson\n * @return\n * returns int\n */\n @WebMethod\n @WebResult(name = \"measure\", targetNamespace = \"\")\n @RequestWrapper(localName = \"createMeasure\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.CreateMeasure\")\n @ResponseWrapper(localName = \"createMeasureResponse\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.CreateMeasureResponse\")\n @Action(input = \"http://ws.soap.finalproject.introsde/People/createMeasureRequest\", output = \"http://ws.soap.finalproject.introsde/People/createMeasureResponse\")\n public int createMeasure(\n @WebParam(name = \"measure\", targetNamespace = \"\")\n Measure measure,\n @WebParam(name = \"idPerson\", targetNamespace = \"\")\n int idPerson);\n\n /**\n * \n * @param personId\n * @return\n * returns introsde.finalproject.soap.ws.ListMeasureWrapper\n */\n @WebMethod\n @WebResult(name = \"measure\", targetNamespace = \"\")\n @RequestWrapper(localName = \"getMeasure\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.GetMeasure\")\n @ResponseWrapper(localName = \"getMeasureResponse\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.GetMeasureResponse\")\n @Action(input = \"http://ws.soap.finalproject.introsde/People/getMeasureRequest\", output = \"http://ws.soap.finalproject.introsde/People/getMeasureResponse\")\n public ListMeasureWrapper getMeasure(\n @WebParam(name = \"personId\", targetNamespace = \"\")\n int personId);\n\n /**\n * \n * @param measure\n * @return\n * returns int\n * @throws ParseException_Exception\n */\n @WebMethod\n @WebResult(name = \"idUpdatedMeasure\", targetNamespace = \"\")\n @RequestWrapper(localName = \"updateMeasure\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.UpdateMeasure\")\n @ResponseWrapper(localName = \"updateMeasureResponse\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.UpdateMeasureResponse\")\n @Action(input = \"http://ws.soap.finalproject.introsde/People/updateMeasureRequest\", output = \"http://ws.soap.finalproject.introsde/People/updateMeasureResponse\", fault = {\n @FaultAction(className = ParseException_Exception.class, value = \"http://ws.soap.finalproject.introsde/People/updateMeasure/Fault/ParseException\")\n })\n public int updateMeasure(\n @WebParam(name = \"measure\", targetNamespace = \"\")\n Measure measure)\n throws ParseException_Exception\n ;\n\n /**\n * \n * @param idMeasure\n * @return\n * returns int\n */\n @WebMethod\n @WebResult(name = \"responseMeasureCode\", targetNamespace = \"\")\n @RequestWrapper(localName = \"deleteMeasure\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.DeleteMeasure\")\n @ResponseWrapper(localName = \"deleteMeasureResponse\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.DeleteMeasureResponse\")\n @Action(input = \"http://ws.soap.finalproject.introsde/People/deleteMeasureRequest\", output = \"http://ws.soap.finalproject.introsde/People/deleteMeasureResponse\")\n public int deleteMeasure(\n @WebParam(name = \"idMeasure\", targetNamespace = \"\")\n int idMeasure);\n\n /**\n * \n * @return\n * returns introsde.finalproject.soap.ws.ListMeasureDefinitionWrapper\n */\n @WebMethod\n @WebResult(name = \"measureDefinition\", targetNamespace = \"\")\n @RequestWrapper(localName = \"getMeasureDefinition\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.GetMeasureDefinition\")\n @ResponseWrapper(localName = \"getMeasureDefinitionResponse\", targetNamespace = \"http://ws.soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.ws.GetMeasureDefinitionResponse\")\n @Action(input = \"http://ws.soap.finalproject.introsde/People/getMeasureDefinitionRequest\", output = \"http://ws.soap.finalproject.introsde/People/getMeasureDefinitionResponse\")\n public ListMeasureDefinitionWrapper getMeasureDefinition();\n\n}",
"@WebService(name = \"PopuplistDtoServicewsEndpoint\", targetNamespace = \"http://serviceapi.parameterweb.sepro.org/\")\n@XmlSeeAlso({\n ObjectFactoryPopuplist.class\n})\npublic interface PopuplistDtoServicewsEndpoint {\n\n\n /**\n * \n * @param popuplistDto\n * @return\n * returns org.sepro.parameterweb.serviceapi.PopuplistDto\n */\n @WebMethod\n @WebResult(targetNamespace = \"http://serviceapi.parameterweb.sepro.org/\")\n @RequestWrapper(localName = \"updatePopuplistDtoServicews\", targetNamespace = \"http://serviceapi.parameterweb.sepro.org/\", className = \"org.sepro.parameterweb.serviceapi.UpdatePopuplistDtoServicews\")\n @ResponseWrapper(localName = \"updatePopuplistDtoServicewsResponse\", targetNamespace = \"http://serviceapi.parameterweb.sepro.org/\", className = \"org.sepro.parameterweb.serviceapi.UpdatePopuplistDtoServicewsResponse\")\n public PopuplistDto updatePopuplistDtoServicews(\n @WebParam(name = \"popuplistDto\", targetNamespace = \"http://serviceapi.parameterweb.sepro.org/\")\n PopuplistDto popuplistDto);\n\n /**\n * \n * @param entite\n * @return\n * returns java.util.List<org.sepro.parameterweb.serviceapi.PopuplistDto>\n */\n @WebMethod\n @WebResult(targetNamespace = \"http://serviceapi.parameterweb.sepro.org/\")\n @RequestWrapper(localName = \"searchPopuplistDtoServicews\", targetNamespace = \"http://serviceapi.parameterweb.sepro.org/\", className = \"org.sepro.parameterweb.serviceapi.SearchPopuplistDtoServicews\")\n @ResponseWrapper(localName = \"searchPopuplistDtoServicewsResponse\", targetNamespace = \"http://serviceapi.parameterweb.sepro.org/\", className = \"org.sepro.parameterweb.serviceapi.SearchPopuplistDtoServicewsResponse\")\n public List<PopuplistDto> searchPopuplistDtoServicews(\n @WebParam(name = \"entite\", targetNamespace = \"http://serviceapi.parameterweb.sepro.org/\")\n String entite);\n\n /**\n * \n * @return\n * returns java.util.List<org.sepro.parameterweb.serviceapi.PopuplistDto>\n */\n @WebMethod\n @WebResult(targetNamespace = \"http://serviceapi.parameterweb.sepro.org/\")\n @RequestWrapper(localName = \"getAllPopuplistDtoServicews\", targetNamespace = \"http://serviceapi.parameterweb.sepro.org/\", className = \"org.sepro.parameterweb.serviceapi.GetAllPopuplistDtoServicews\")\n @ResponseWrapper(localName = \"getAllPopuplistDtoServicewsResponse\", targetNamespace = \"http://serviceapi.parameterweb.sepro.org/\", className = \"org.sepro.parameterweb.serviceapi.GetAllPopuplistDtoServicewsResponse\")\n public List<PopuplistDto> getAllPopuplistDtoServicews();\n\n /**\n * \n * @param popuplistDto\n * @return\n * returns org.sepro.parameterweb.serviceapi.PopuplistDto\n */\n @WebMethod\n @WebResult(targetNamespace = \"http://serviceapi.parameterweb.sepro.org/\")\n @RequestWrapper(localName = \"createPopuplistDtoServicews\", targetNamespace = \"http://serviceapi.parameterweb.sepro.org/\", className = \"org.sepro.parameterweb.serviceapi.CreatePopuplistDtoServicews\")\n @ResponseWrapper(localName = \"createPopuplistDtoServicewsResponse\", targetNamespace = \"http://serviceapi.parameterweb.sepro.org/\", className = \"org.sepro.parameterweb.serviceapi.CreatePopuplistDtoServicewsResponse\")\n public PopuplistDto createPopuplistDtoServicews(\n @WebParam(name = \"popuplistDto\", targetNamespace = \"http://serviceapi.parameterweb.sepro.org/\")\n PopuplistDto popuplistDto);\n\n /**\n * \n * @param popuplistDto\n */\n @WebMethod\n @RequestWrapper(localName = \"deletePopuplistDtoServicews\", targetNamespace = \"http://serviceapi.parameterweb.sepro.org/\", className = \"org.sepro.parameterweb.serviceapi.DeletePopuplistDtoServicews\")\n @ResponseWrapper(localName = \"deletePopuplistDtoServicewsResponse\", targetNamespace = \"http://serviceapi.parameterweb.sepro.org/\", className = \"org.sepro.parameterweb.serviceapi.DeletePopuplistDtoServicewsResponse\")\n public void deletePopuplistDtoServicews(\n @WebParam(name = \"popuplistDto\", targetNamespace = \"http://serviceapi.parameterweb.sepro.org/\")\n PopuplistDto popuplistDto);\n\n}",
"@WebService(targetNamespace = \"http://www.nortel.com/soa/oi/cct/AddressService\", name = \"AddressService\")\r\n@XmlSeeAlso({com.nortel.soa.oi.cct.types.addressservice.ObjectFactory.class, com.nortel.soa.oi.cct.faults.ObjectFactory.class, com.nortel.soa.oi.cct.types.ObjectFactory.class, org.xmlsoap.schemas.ws._2003._03.addressing.ObjectFactory.class, org.oasis_open.docs.wsrf._2004._06.wsrf_ws_basefaults_1_2_draft_01.ObjectFactory.class})\r\n@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)\r\npublic interface AddressService {\r\n\r\n @WebResult(name = \"GetDoNotDisturbResponse\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\", partName = \"response\")\r\n @WebMethod(operationName = \"GetDoNotDisturb\", action = \"http://www.nortel.com/soa/oi/cct/AddressService/GetDoNotDisturb\")\r\n public com.nortel.soa.oi.cct.types.addressservice.GetDoNotDisturbResponse getDoNotDisturb(\r\n @WebParam(partName = \"parameters\", name = \"GetDoNotDisturbRequest\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\")\r\n com.nortel.soa.oi.cct.types.addressservice.AddressRequest parameters\r\n ) throws GetDoNotDisturbException, SessionNotCreatedException;\r\n\r\n @WebResult(name = \"GetCapabilitiesResponse\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\", partName = \"response\")\r\n @WebMethod(operationName = \"GetCapabilities\", action = \"http://www.nortel.com/soa/oi/cct/AddressService/GetCapabilities\")\r\n public com.nortel.soa.oi.cct.types.addressservice.GetAddressCapabilitiesResponse getCapabilities(\r\n @WebParam(partName = \"parameters\", name = \"GetCapabilitiesRequest\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\")\r\n com.nortel.soa.oi.cct.types.addressservice.AddressRequest parameters\r\n ) throws GetCapabilitiesException, SessionNotCreatedException;\r\n\r\n @WebResult(name = \"OriginateResponse\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\", partName = \"response\")\r\n @WebMethod(operationName = \"Originate\", action = \"http://www.nortel.com/soa/oi/cct/AddressService/Originate\")\r\n public com.nortel.soa.oi.cct.types.addressservice.ContactResponse originate(\r\n @WebParam(partName = \"parameters\", name = \"OriginateRequest\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\")\r\n com.nortel.soa.oi.cct.types.addressservice.AddressOriginateRequest parameters\r\n ) throws OriginateException, SessionNotCreatedException;\r\n\r\n @WebMethod(operationName = \"SetDoNotDisturb\", action = \"http://www.nortel.com/soa/oi/cct/AddressService/SetDoNotDisturb\")\r\n public void setDoNotDisturb(\r\n @WebParam(partName = \"parameters\", name = \"SetDoNotDisturbRequest\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\")\r\n com.nortel.soa.oi.cct.types.addressservice.SetDoNotDisturbRequest parameters\r\n ) throws SessionNotCreatedException, SetDoNotDisturbException;\r\n\r\n @WebResult(name = \"IsForwardedResponse\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\", partName = \"response\")\r\n @WebMethod(operationName = \"IsForwarded\", action = \"http://www.nortel.com/soa/oi/cct/AddressService/IsForwarded\")\r\n public com.nortel.soa.oi.cct.types.addressservice.IsForwardedResponse isForwarded(\r\n @WebParam(partName = \"parameters\", name = \"IsForwardedRequest\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\")\r\n com.nortel.soa.oi.cct.types.addressservice.AddressRequest parameters\r\n ) throws IsForwardedException, SessionNotCreatedException;\r\n\r\n @WebMethod(operationName = \"SetForwarding\", action = \"http://www.nortel.com/soa/oi/cct/AddressService/SetForwarding\")\r\n public void setForwarding(\r\n @WebParam(partName = \"parameters\", name = \"SetForwardingRequest\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\")\r\n com.nortel.soa.oi.cct.types.addressservice.SetForwardingRequest parameters\r\n ) throws SetForwardingException, SessionNotCreatedException;\r\n\r\n @WebMethod(operationName = \"CancelForwarding\", action = \"http://www.nortel.com/soa/oi/cct/AddressService/CancelForwarding\")\r\n public void cancelForwarding(\r\n @WebParam(partName = \"parameters\", name = \"CancelForwardingRequest\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\")\r\n com.nortel.soa.oi.cct.types.addressservice.AddressRequest parameters\r\n ) throws SessionNotCreatedException, CancelForwardingException;\r\n\r\n @WebResult(name = \"GetStateResponse\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\", partName = \"response\")\r\n @WebMethod(operationName = \"GetState\", action = \"http://www.nortel.com/soa/oi/cct/AddressService/GetState\")\r\n public com.nortel.soa.oi.cct.types.addressservice.GetStateResponse getState(\r\n @WebParam(partName = \"parameters\", name = \"GetStateRequest\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\")\r\n com.nortel.soa.oi.cct.types.addressservice.AddressRequest parameters\r\n ) throws GetStateException, SessionNotCreatedException;\r\n\r\n @WebResult(name = \"GetTerminalsResponse\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\", partName = \"response\")\r\n @WebMethod(operationName = \"GetTerminals\", action = \"http://www.nortel.com/soa/oi/cct/AddressService/GetTerminals\")\r\n public com.nortel.soa.oi.cct.types.addressservice.GetTerminalsResponse getTerminals(\r\n @WebParam(partName = \"parameters\", name = \"GetTerminalsRequest\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\")\r\n com.nortel.soa.oi.cct.types.addressservice.AddressRequest parameters\r\n ) throws GetTerminalsException, SessionNotCreatedException;\r\n\r\n @WebResult(name = \"GetPresenceResponse\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\", partName = \"response\")\r\n @WebMethod(operationName = \"GetPresence\", action = \"http://www.nortel.com/soa/oi/cct/AddressService/GetPresence\")\r\n public com.nortel.soa.oi.cct.types.addressservice.GetPresenceResponse getPresence(\r\n @WebParam(partName = \"parameters\", name = \"GetPresenceRequest\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\")\r\n com.nortel.soa.oi.cct.types.addressservice.AddressRequest parameters\r\n ) throws GetPresenceException, SessionNotCreatedException;\r\n\r\n @WebResult(name = \"GetConnectionResponse\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\", partName = \"response\")\r\n @WebMethod(operationName = \"GetConnection\", action = \"http://www.nortel.com/soa/oi/cct/AddressService/GetConnection\")\r\n public com.nortel.soa.oi.cct.types.addressservice.ConnectionResponse getConnection(\r\n @WebParam(partName = \"parameters\", name = \"GetConnectionRequest\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\")\r\n com.nortel.soa.oi.cct.types.addressservice.ConnectionRequest parameters\r\n ) throws GetConnectionException, SessionNotCreatedException;\r\n\r\n @WebResult(name = \"GetMessageWaitingResponse\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\", partName = \"response\")\r\n @WebMethod(operationName = \"GetMessageWaiting\", action = \"http://www.nortel.com/soa/oi/cct/AddressService/GetMessageWaiting\")\r\n public com.nortel.soa.oi.cct.types.addressservice.GetMessageWaitingResponse getMessageWaiting(\r\n @WebParam(partName = \"parameters\", name = \"GetMessageWaitingRequest\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\")\r\n com.nortel.soa.oi.cct.types.addressservice.AddressRequest parameters\r\n ) throws GetMessageWaitingException, SessionNotCreatedException;\r\n\r\n @WebResult(name = \"GetTerminalStatusResponse\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\", partName = \"response\")\r\n @WebMethod(operationName = \"GetTerminalStatus\", action = \"http://www.nortel.com/soa/oi/cct/AddressService/GetTerminalStatus\")\r\n public com.nortel.soa.oi.cct.types.addressservice.GetTerminalStatusResponse getTerminalStatus(\r\n @WebParam(partName = \"parameters\", name = \"GetTerminalStatusRequest\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\")\r\n com.nortel.soa.oi.cct.types.addressservice.AddressRequest parameters\r\n ) throws SessionNotCreatedException, GetTerminalStatusException;\r\n\r\n @WebMethod(operationName = \"PresenceSubscribe\", action = \"http://www.nortel.com/soa/oi/cct/AddressService/PresenceSubscribe\")\r\n public void presenceSubscribe(\r\n @WebParam(partName = \"parameters\", name = \"PresenceSubscribeRequest\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\")\r\n com.nortel.soa.oi.cct.types.addressservice.PresenceSubscribeRequest parameters\r\n ) throws PresenceSubscribeException, SessionNotCreatedException;\r\n\r\n @WebResult(name = \"GetConnectionsResponse\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\", partName = \"response\")\r\n @WebMethod(operationName = \"GetConnections\", action = \"http://www.nortel.com/soa/oi/cct/AddressService/GetConnections\")\r\n public com.nortel.soa.oi.cct.types.addressservice.GetConnectionsResponse getConnections(\r\n @WebParam(partName = \"parameters\", name = \"GetConnectionsRequest\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\")\r\n com.nortel.soa.oi.cct.types.addressservice.AddressRequest parameters\r\n ) throws SessionNotCreatedException, GetConnectionsException;\r\n\r\n @WebResult(name = \"GetVersionResponse\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\", partName = \"response\")\r\n @WebMethod(operationName = \"GetVersion\", action = \"http://www.nortel.com/soa/oi/cct/AddressService/GetVersion\")\r\n public com.nortel.soa.oi.cct.types.GetVersionResponse getVersion(\r\n @WebParam(partName = \"parameters\", name = \"GetVersionRequest\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\")\r\n com.nortel.soa.oi.cct.types.GetVersionRequest parameters\r\n ) throws GetVersionException, SessionNotCreatedException;\r\n\r\n @WebMethod(operationName = \"SendInstantMessage\", action = \"http://www.nortel.com/soa/oi/cct/AddressService/SendInstantMessage\")\r\n public void sendInstantMessage(\r\n @WebParam(partName = \"parameters\", name = \"SendInstantMessage\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\")\r\n com.nortel.soa.oi.cct.types.addressservice.InstantMessageRequest parameters\r\n ) throws SessionNotCreatedException, SendInstantMessageException;\r\n\r\n @WebResult(name = \"GetUriResponse\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\", partName = \"response\")\r\n @WebMethod(operationName = \"GetUri\", action = \"http://www.nortel.com/soa/oi/cct/AddressService/GetUri\")\r\n public com.nortel.soa.oi.cct.types.addressservice.GetUriResponse getUri(\r\n @WebParam(partName = \"parameters\", name = \"GetUriRequest\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\")\r\n com.nortel.soa.oi.cct.types.addressservice.AddressRequest parameters\r\n ) throws GetUriException, SessionNotCreatedException;\r\n\r\n @WebResult(name = \"GetForwardingResponse\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\", partName = \"response\")\r\n @WebMethod(operationName = \"GetForwarding\", action = \"http://www.nortel.com/soa/oi/cct/AddressService/GetForwarding\")\r\n public com.nortel.soa.oi.cct.types.addressservice.GetForwardingResponse getForwarding(\r\n @WebParam(partName = \"parameters\", name = \"GetForwardingRequest\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\")\r\n com.nortel.soa.oi.cct.types.addressservice.AddressRequest parameters\r\n ) throws SessionNotCreatedException, GetForwardingException;\r\n\r\n @WebMethod(operationName = \"PresenceUnsubscribe\", action = \"http://www.nortel.com/soa/oi/cct/AddressService/PresenceUnsubscribe\")\r\n public void presenceUnsubscribe(\r\n @WebParam(partName = \"parameters\", name = \"PresenceUnsubscribeRequest\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\")\r\n com.nortel.soa.oi.cct.types.addressservice.AddressRequest parameters\r\n ) throws PresenceUnsubscribeException, SessionNotCreatedException;\r\n\r\n @WebMethod(operationName = \"SetMessageWaiting\", action = \"http://www.nortel.com/soa/oi/cct/AddressService/SetMessageWaiting\")\r\n public void setMessageWaiting(\r\n @WebParam(partName = \"parameters\", name = \"SetMessageWaitingRequest\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\")\r\n com.nortel.soa.oi.cct.types.addressservice.SetMessageWaitingRequest parameters\r\n ) throws SetMessageWaitingException, SessionNotCreatedException;\r\n\r\n @WebResult(name = \"IsMessageWaitingResponse\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\", partName = \"response\")\r\n @WebMethod(operationName = \"IsMessageWaiting\", action = \"http://www.nortel.com/soa/oi/cct/AddressService/IsMessageWaiting\")\r\n public com.nortel.soa.oi.cct.types.addressservice.IsMessageWaitingResponse isMessageWaiting(\r\n @WebParam(partName = \"parameters\", name = \"IsMessageWaitingRequest\", targetNamespace = \"http://www.nortel.com/soa/oi/cct/types/AddressService\")\r\n com.nortel.soa.oi.cct.types.addressservice.AddressRequest parameters\r\n ) throws IsMessageWaitingException, SessionNotCreatedException;\r\n}",
"@WebService(name = \"databaseInfoService\", targetNamespace = \"urn:Vidal\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface DatabaseInfoService {\n\n\n /**\n * \n * @param lapVersion\n * @param codeAdeli\n * @param userType\n * @param codeRpps\n * @param codeUserLap\n * @param codeLap\n * @return\n * returns com.whatever.DatabaseInfoService.VIDALAuthStatus\n */\n @WebMethod\n @WebResult(name = \"checkUser\", targetNamespace = \"urn:Vidal\")\n @RequestWrapper(localName = \"checkUser\", targetNamespace = \"urn:Vidal\", className = \"com.whatever.DatabaseInfoService.CheckUser\")\n @ResponseWrapper(localName = \"checkUserResponse\", targetNamespace = \"urn:Vidal\", className = \"com.whatever.DatabaseInfoService.CheckUserResponse\")\n public VIDALAuthStatus checkUser(\n @WebParam(name = \"codeUserLap\", targetNamespace = \"urn:Vidal\")\n String codeUserLap,\n @WebParam(name = \"codeLap\", targetNamespace = \"urn:Vidal\")\n String codeLap,\n @WebParam(name = \"lapVersion\", targetNamespace = \"urn:Vidal\")\n String lapVersion,\n @WebParam(name = \"userType\", targetNamespace = \"urn:Vidal\")\n String userType,\n @WebParam(name = \"codeRpps\", targetNamespace = \"urn:Vidal\")\n String codeRpps,\n @WebParam(name = \"codeAdeli\", targetNamespace = \"urn:Vidal\")\n String codeAdeli);\n\n /**\n * \n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(name = \"CeMarkingLabel\", targetNamespace = \"urn:Vidal\")\n @RequestWrapper(localName = \"getCEMarkingLabel\", targetNamespace = \"urn:Vidal\", className = \"com.whatever.DatabaseInfoService.GetCEMarkingLabel\")\n @ResponseWrapper(localName = \"getCEMarkingLabelResponse\", targetNamespace = \"urn:Vidal\", className = \"com.whatever.DatabaseInfoService.GetCEMarkingLabelResponse\")\n public String getCEMarkingLabel();\n\n /**\n * \n * @return\n * returns javax.xml.datatype.XMLGregorianCalendar\n */\n @WebMethod\n @WebResult(name = \"expiryDate\", targetNamespace = \"urn:Vidal\")\n @RequestWrapper(localName = \"getDataExpiryDate\", targetNamespace = \"urn:Vidal\", className = \"com.whatever.DatabaseInfoService.GetDataExpiryDate\")\n @ResponseWrapper(localName = \"getDataExpiryDateResponse\", targetNamespace = \"urn:Vidal\", className = \"com.whatever.DatabaseInfoService.GetDataExpiryDateResponse\")\n public XMLGregorianCalendar getDataExpiryDate();\n\n /**\n * \n * @return\n * returns javax.xml.datatype.XMLGregorianCalendar\n */\n @WebMethod\n @WebResult(name = \"extractionDate\", targetNamespace = \"urn:Vidal\")\n @RequestWrapper(localName = \"getExtractionDate\", targetNamespace = \"urn:Vidal\", className = \"com.whatever.DatabaseInfoService.GetExtractionDate\")\n @ResponseWrapper(localName = \"getExtractionDateResponse\", targetNamespace = \"urn:Vidal\", className = \"com.whatever.DatabaseInfoService.GetExtractionDateResponse\")\n public XMLGregorianCalendar getExtractionDate();\n\n /**\n * \n * @return\n * returns javax.xml.datatype.XMLGregorianCalendar\n */\n @WebMethod\n @WebResult(name = \"graceEndDate\", targetNamespace = \"urn:Vidal\")\n @RequestWrapper(localName = \"getGraceEndDate\", targetNamespace = \"urn:Vidal\", className = \"com.whatever.DatabaseInfoService.GetGraceEndDate\")\n @ResponseWrapper(localName = \"getGraceEndDateResponse\", targetNamespace = \"urn:Vidal\", className = \"com.whatever.DatabaseInfoService.GetGraceEndDateResponse\")\n public XMLGregorianCalendar getGraceEndDate();\n\n /**\n * \n * @return\n * returns javax.xml.datatype.XMLGregorianCalendar\n */\n @WebMethod\n @WebResult(name = \"licenceEndDate\", targetNamespace = \"urn:Vidal\")\n @RequestWrapper(localName = \"getLicenceEndDate\", targetNamespace = \"urn:Vidal\", className = \"com.whatever.DatabaseInfoService.GetLicenceEndDate\")\n @ResponseWrapper(localName = \"getLicenceEndDateResponse\", targetNamespace = \"urn:Vidal\", className = \"com.whatever.DatabaseInfoService.GetLicenceEndDateResponse\")\n public XMLGregorianCalendar getLicenceEndDate();\n\n /**\n * \n * @return\n * returns com.whatever.DatabaseInfoService.LicencingStatus\n */\n @WebMethod\n @WebResult(name = \"licenceOrGraceStatus\", targetNamespace = \"urn:Vidal\")\n @RequestWrapper(localName = \"getLicenceOrGraceStatus\", targetNamespace = \"urn:Vidal\", className = \"com.whatever.DatabaseInfoService.GetLicenceOrGraceStatus\")\n @ResponseWrapper(localName = \"getLicenceOrGraceStatusResponse\", targetNamespace = \"urn:Vidal\", className = \"com.whatever.DatabaseInfoService.GetLicenceOrGraceStatusResponse\")\n public LicencingStatus getLicenceOrGraceStatus();\n\n /**\n * \n * @return\n * returns javax.xml.datatype.XMLGregorianCalendar\n */\n @WebMethod\n @WebResult(name = \"licenceStartDate\", targetNamespace = \"urn:Vidal\")\n @RequestWrapper(localName = \"getLicenceStartDate\", targetNamespace = \"urn:Vidal\", className = \"com.whatever.DatabaseInfoService.GetLicenceStartDate\")\n @ResponseWrapper(localName = \"getLicenceStartDateResponse\", targetNamespace = \"urn:Vidal\", className = \"com.whatever.DatabaseInfoService.GetLicenceStartDateResponse\")\n public XMLGregorianCalendar getLicenceStartDate();\n\n /**\n * \n * @return\n * returns com.whatever.DatabaseInfoService.ProductLineType\n */\n @WebMethod\n @WebResult(name = \"productLine\", targetNamespace = \"urn:Vidal\")\n @RequestWrapper(localName = \"getProductLine\", targetNamespace = \"urn:Vidal\", className = \"com.whatever.DatabaseInfoService.GetProductLine\")\n @ResponseWrapper(localName = \"getProductLineResponse\", targetNamespace = \"urn:Vidal\", className = \"com.whatever.DatabaseInfoService.GetProductLineResponse\")\n public ProductLineType getProductLine();\n\n /**\n * \n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(name = \"version\", targetNamespace = \"urn:Vidal\")\n @RequestWrapper(localName = \"getVersion\", targetNamespace = \"urn:Vidal\", className = \"com.whatever.DatabaseInfoService.GetVersion\")\n @ResponseWrapper(localName = \"getVersionResponse\", targetNamespace = \"urn:Vidal\", className = \"com.whatever.DatabaseInfoService.GetVersionResponse\")\n public String getVersion();\n\n /**\n * \n * @return\n * returns javax.xml.datatype.XMLGregorianCalendar\n */\n @WebMethod\n @WebResult(name = \"warningDate\", targetNamespace = \"urn:Vidal\")\n @RequestWrapper(localName = \"getWarningDate\", targetNamespace = \"urn:Vidal\", className = \"com.whatever.DatabaseInfoService.GetWarningDate\")\n @ResponseWrapper(localName = \"getWarningDateResponse\", targetNamespace = \"urn:Vidal\", className = \"com.whatever.DatabaseInfoService.GetWarningDateResponse\")\n public XMLGregorianCalendar getWarningDate();\n\n}",
"@WebService(name = \"BVAC_AGENCYSoap\", targetNamespace = \"http://tempuri.org/\")\r\n@XmlSeeAlso({\r\n ObjectFactory.class\r\n})\r\npublic interface BVACAGENCYSoap {\r\n\r\n\r\n /**\r\n * L\\u1ea5y danh sách lo\\u1ea1i \\u1ea5n ch\\u1ec9 theo mã \\u0111\\u1ea1i lý\r\n * \r\n * @param maDaiLy\r\n * @return\r\n * returns java.lang.String\r\n */\r\n @WebMethod(operationName = \"GetDMLoaiAnChi\", action = \"http://tempuri.org/GetDMLoaiAnChi\")\r\n @WebResult(name = \"GetDMLoaiAnChiResult\", targetNamespace = \"http://tempuri.org/\")\r\n @RequestWrapper(localName = \"GetDMLoaiAnChi\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.GetDMLoaiAnChi\")\r\n @ResponseWrapper(localName = \"GetDMLoaiAnChiResponse\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.GetDMLoaiAnChiResponse\")\r\n public String getDMLoaiAnChi(\r\n @WebParam(name = \"maDaiLy\", targetNamespace = \"http://tempuri.org/\")\r\n String maDaiLy);\r\n\r\n /**\r\n * L\\u1ea5y danh sách \\u1ea5n ch\\u1ec9 theo mã \\u0111\\u1ea1i lý\r\n * \r\n * @param maDaiLy\r\n * @return\r\n * returns java.lang.String\r\n */\r\n @WebMethod(operationName = \"GetAnChiByAgency\", action = \"http://tempuri.org/GetAnChiByAgency\")\r\n @WebResult(name = \"GetAnChiByAgencyResult\", targetNamespace = \"http://tempuri.org/\")\r\n @RequestWrapper(localName = \"GetAnChiByAgency\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.GetAnChiByAgency\")\r\n @ResponseWrapper(localName = \"GetAnChiByAgencyResponse\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.GetAnChiByAgencyResponse\")\r\n public String getAnChiByAgency(\r\n @WebParam(name = \"maDaiLy\", targetNamespace = \"http://tempuri.org/\")\r\n String maDaiLy);\r\n\r\n /**\r\n * C\\u1eadp nh\\u1eadt danh sách \\u1ea5n ch\\u1ec9 \\u0111ã s\\u1eed d\\u1ee5ng\r\n * \r\n * @param anChis\r\n * @return\r\n * returns java.lang.String\r\n */\r\n @WebMethod(operationName = \"UpdateListAnChi\", action = \"http://tempuri.org/UpdateListAnChi\")\r\n @WebResult(name = \"UpdateListAnChiResult\", targetNamespace = \"http://tempuri.org/\")\r\n @RequestWrapper(localName = \"UpdateListAnChi\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.UpdateListAnChi\")\r\n @ResponseWrapper(localName = \"UpdateListAnChiResponse\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.UpdateListAnChiResponse\")\r\n public String updateListAnChi(\r\n @WebParam(name = \"anChis\", targetNamespace = \"http://tempuri.org/\")\r\n String anChis);\r\n\r\n}",
"@WebService(name = \"NumberGeneratorServiceSoap\", targetNamespace = \"NS_NumGen\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface NumberGeneratorServiceSoap {\n\n\n /**\n * \n * @param high\n * @param low\n * @return\n * returns java.lang.String\n */\n @WebMethod(action = \"NS_NumGen/primeRange\")\n @WebResult(name = \"primeRangeResult\", targetNamespace = \"NS_NumGen\")\n @RequestWrapper(localName = \"primeRange\", targetNamespace = \"NS_NumGen\", className = \"ns_numgen.PrimeRange\")\n @ResponseWrapper(localName = \"primeRangeResponse\", targetNamespace = \"NS_NumGen\", className = \"ns_numgen.PrimeRangeResponse\")\n public String primeRange(\n @WebParam(name = \"low\", targetNamespace = \"NS_NumGen\")\n int low,\n @WebParam(name = \"high\", targetNamespace = \"NS_NumGen\")\n int high);\n\n /**\n * \n * @param high\n * @param low\n * @return\n * returns java.lang.String\n */\n @WebMethod(action = \"NS_NumGen/compositeRange\")\n @WebResult(name = \"compositeRangeResult\", targetNamespace = \"NS_NumGen\")\n @RequestWrapper(localName = \"compositeRange\", targetNamespace = \"NS_NumGen\", className = \"ns_numgen.CompositeRange\")\n @ResponseWrapper(localName = \"compositeRangeResponse\", targetNamespace = \"NS_NumGen\", className = \"ns_numgen.CompositeRangeResponse\")\n public String compositeRange(\n @WebParam(name = \"low\", targetNamespace = \"NS_NumGen\")\n int low,\n @WebParam(name = \"high\", targetNamespace = \"NS_NumGen\")\n int high);\n\n /**\n * \n * @param high\n * @param low\n * @return\n * returns java.lang.String\n */\n @WebMethod(action = \"NS_NumGen/perfectSquaresRange\")\n @WebResult(name = \"perfectSquaresRangeResult\", targetNamespace = \"NS_NumGen\")\n @RequestWrapper(localName = \"perfectSquaresRange\", targetNamespace = \"NS_NumGen\", className = \"ns_numgen.PerfectSquaresRange\")\n @ResponseWrapper(localName = \"perfectSquaresRangeResponse\", targetNamespace = \"NS_NumGen\", className = \"ns_numgen.PerfectSquaresRangeResponse\")\n public String perfectSquaresRange(\n @WebParam(name = \"low\", targetNamespace = \"NS_NumGen\")\n int low,\n @WebParam(name = \"high\", targetNamespace = \"NS_NumGen\")\n int high);\n\n /**\n * \n * @param high\n * @param low\n * @return\n * returns java.lang.String\n */\n @WebMethod(action = \"NS_NumGen/fibonacciRange\")\n @WebResult(name = \"fibonacciRangeResult\", targetNamespace = \"NS_NumGen\")\n @RequestWrapper(localName = \"fibonacciRange\", targetNamespace = \"NS_NumGen\", className = \"ns_numgen.FibonacciRange\")\n @ResponseWrapper(localName = \"fibonacciRangeResponse\", targetNamespace = \"NS_NumGen\", className = \"ns_numgen.FibonacciRangeResponse\")\n public String fibonacciRange(\n @WebParam(name = \"low\", targetNamespace = \"NS_NumGen\")\n int low,\n @WebParam(name = \"high\", targetNamespace = \"NS_NumGen\")\n int high);\n\n /**\n * \n * @param high\n * @param low\n * @param n\n * @return\n * returns java.lang.String\n */\n @WebMethod(action = \"NS_NumGen/randomNumbers\")\n @WebResult(name = \"randomNumbersResult\", targetNamespace = \"NS_NumGen\")\n @RequestWrapper(localName = \"randomNumbers\", targetNamespace = \"NS_NumGen\", className = \"ns_numgen.RandomNumbers\")\n @ResponseWrapper(localName = \"randomNumbersResponse\", targetNamespace = \"NS_NumGen\", className = \"ns_numgen.RandomNumbersResponse\")\n public String randomNumbers(\n @WebParam(name = \"low\", targetNamespace = \"NS_NumGen\")\n int low,\n @WebParam(name = \"high\", targetNamespace = \"NS_NumGen\")\n int high,\n @WebParam(name = \"n\", targetNamespace = \"NS_NumGen\")\n int n);\n\n /**\n * \n * @param high\n * @param low\n * @return\n * returns java.lang.String\n */\n @WebMethod(action = \"NS_NumGen/powersofTwo\")\n @WebResult(name = \"powersofTwoResult\", targetNamespace = \"NS_NumGen\")\n @RequestWrapper(localName = \"powersofTwo\", targetNamespace = \"NS_NumGen\", className = \"ns_numgen.PowersofTwo\")\n @ResponseWrapper(localName = \"powersofTwoResponse\", targetNamespace = \"NS_NumGen\", className = \"ns_numgen.PowersofTwoResponse\")\n public String powersofTwo(\n @WebParam(name = \"low\", targetNamespace = \"NS_NumGen\")\n int low,\n @WebParam(name = \"high\", targetNamespace = \"NS_NumGen\")\n int high);\n\n /**\n * \n * @param high\n * @param low\n * @return\n * returns java.lang.String\n */\n @WebMethod(action = \"NS_NumGen/evenRange\")\n @WebResult(name = \"evenRangeResult\", targetNamespace = \"NS_NumGen\")\n @RequestWrapper(localName = \"evenRange\", targetNamespace = \"NS_NumGen\", className = \"ns_numgen.EvenRange\")\n @ResponseWrapper(localName = \"evenRangeResponse\", targetNamespace = \"NS_NumGen\", className = \"ns_numgen.EvenRangeResponse\")\n public String evenRange(\n @WebParam(name = \"low\", targetNamespace = \"NS_NumGen\")\n int low,\n @WebParam(name = \"high\", targetNamespace = \"NS_NumGen\")\n int high);\n\n /**\n * \n * @param high\n * @param low\n * @return\n * returns java.lang.String\n */\n @WebMethod(action = \"NS_NumGen/oddRange\")\n @WebResult(name = \"oddRangeResult\", targetNamespace = \"NS_NumGen\")\n @RequestWrapper(localName = \"oddRange\", targetNamespace = \"NS_NumGen\", className = \"ns_numgen.OddRange\")\n @ResponseWrapper(localName = \"oddRangeResponse\", targetNamespace = \"NS_NumGen\", className = \"ns_numgen.OddRangeResponse\")\n public String oddRange(\n @WebParam(name = \"low\", targetNamespace = \"NS_NumGen\")\n int low,\n @WebParam(name = \"high\", targetNamespace = \"NS_NumGen\")\n int high);\n\n /**\n * \n * @param high\n * @param low\n * @return\n * returns java.lang.String\n */\n @WebMethod(action = \"NS_NumGen/palindromeRange\")\n @WebResult(name = \"palindromeRangeResult\", targetNamespace = \"NS_NumGen\")\n @RequestWrapper(localName = \"palindromeRange\", targetNamespace = \"NS_NumGen\", className = \"ns_numgen.PalindromeRange\")\n @ResponseWrapper(localName = \"palindromeRangeResponse\", targetNamespace = \"NS_NumGen\", className = \"ns_numgen.PalindromeRangeResponse\")\n public String palindromeRange(\n @WebParam(name = \"low\", targetNamespace = \"NS_NumGen\")\n int low,\n @WebParam(name = \"high\", targetNamespace = \"NS_NumGen\")\n int high);\n\n}",
"@WebService(name = \"EiccToKgdUniversalPortType\", targetNamespace = \"http://nationalbank.kz/ws/EiccToKgdUniversal/\")\n@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface EiccToKgdUniversalPortType {\n\n\n /**\n * \n * @param parameters\n * @return\n * returns ResponseMessage\n * @throws SendMessageException\n */\n @WebMethod(operationName = \"SendMessage\", action = \"http://10.8.255.50:1274/EiccToKgdUniversal/SendMessage\")\n @WebResult(name = \"sendMessageResponse\", targetNamespace = \"http://nationalbank.kz/ws/EiccToKgdUniversal/\", partName = \"parameters\")\n public ResponseMessage sendMessage(\n @WebParam(name = \"sendMessageRequest\", targetNamespace = \"http://nationalbank.kz/ws/EiccToKgdUniversal/\", partName = \"parameters\")\n RequestMessage parameters)\n throws SendMessageException\n ;\n\n}",
"@WebService(name = \"EntityServer\", targetNamespace=\"http://activitiderbysoapservice.spqr.de/\")\n@SOAPBinding(style = SOAPBinding.Style.RPC)\npublic interface EntityServer {\n @WebMethod @WebResult(partName = \"return\")String getTimeAsString();\n @WebMethod @WebResult(partName = \"return\")long getTimeAsElapsed();\n @WebMethod @WebResult(partName = \"return\")long orderParts(String part);\n @WebMethod @WebResult(partName = \"return\")boolean changeBackWindowAmount(int amount);\n @WebMethod @WebResult(partName = \"return\")boolean changeDoorAmount(int amount);\n @WebMethod @WebResult(partName = \"return\")boolean changeFronWindowAmount(int amount);\n @WebMethod @WebResult(partName = \"return\")boolean changeEngineAmount(int amount);\n @WebMethod @WebResult(partName = \"return\")boolean changeTireAmount(int amount);\n @WebMethod @WebResult(partName = \"return\")boolean changeWheelAmount(int amount);\n @WebMethod @WebResult(partName = \"return\")long amountOfParts(String part);\n \n}",
"@WebService(targetNamespace = \"http://services.bookservice.atatorus.fr/\", name = \"Hello\")\n@XmlSeeAlso({ObjectFactory.class})\npublic interface Hello {\n\n @WebMethod\n @RequestWrapper(localName = \"hello\", targetNamespace = \"http://services.bookservice.atatorus.fr/\", className = \"fr.atatorus.bookservice.services.Hello_Type\")\n @ResponseWrapper(localName = \"helloResponse\", targetNamespace = \"http://services.bookservice.atatorus.fr/\", className = \"fr.atatorus.bookservice.services.HelloResponse\")\n @WebResult(name = \"return\", targetNamespace = \"\")\n public java.lang.String hello(\n @WebParam(name = \"nom\", targetNamespace = \"\")\n java.lang.String nom\n );\n}",
"@WebService(name = \"AppWebService\", targetNamespace = \"http://pingan.cn/\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface AppWebService {\n\n\n /**\n * \n * @param param\n * @return\n * returns java.lang.String\n * @throws Exception_Exception\n * @throws JBOException_Exception\n */\n @WebMethod(action = \"http://pingan.cn/getOrder\")\n @WebResult(name = \"faceCompareResult\", targetNamespace = \"http://pingan.cn/\")\n @RequestWrapper(localName = \"faceCompare\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.FaceCompare\")\n @ResponseWrapper(localName = \"faceCompareResponse\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.FaceCompareResponse\")\n public String faceCompare(\n @WebParam(name = \"param\", targetNamespace = \"http://pingan.cn/\")\n String param)\n throws Exception_Exception, JBOException_Exception\n ;\n\n /**\n * \n * @param param\n * @return\n * returns java.lang.String\n * @throws Exception_Exception\n * @throws JBOException_Exception\n */\n @WebMethod(action = \"http://pingan.cn/getOrder\")\n @WebResult(name = \"getReturngoodsResult\", targetNamespace = \"http://pingan.cn/\")\n @RequestWrapper(localName = \"getReturngoods\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.GetReturngoods\")\n @ResponseWrapper(localName = \"getReturngoodsResponse\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.GetReturngoodsResponse\")\n public String getReturngoods(\n @WebParam(name = \"param\", targetNamespace = \"http://pingan.cn/\")\n String param)\n throws Exception_Exception, JBOException_Exception\n ;\n\n /**\n * \n * @param param\n * @return\n * returns java.lang.String\n * @throws Exception_Exception\n */\n @WebMethod(action = \"http://pingan.cn/boundBankcard\")\n @WebResult(name = \"boundBankcardResult\", targetNamespace = \"http://pingan.cn/\")\n @RequestWrapper(localName = \"boundBankcard\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.BoundBankcard\")\n @ResponseWrapper(localName = \"boundBankcardResponse\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.BoundBankcardResponse\")\n public String boundBankcard(\n @WebParam(name = \"param\", targetNamespace = \"http://pingan.cn/\")\n String param)\n throws Exception_Exception\n ;\n\n /**\n * \n * @param param\n * @return\n * returns java.lang.String\n * @throws Exception_Exception\n */\n @WebMethod(action = \"http://pingan.cn/returnBtvOrder\")\n @WebResult(name = \"returnBtvOrderResult\", targetNamespace = \"http://pingan.cn/\")\n @RequestWrapper(localName = \"returnBtvOrder\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.ReturnBtvOrder\")\n @ResponseWrapper(localName = \"returnBtvOrderResponse\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.ReturnBtvOrderResponse\")\n public String returnBtvOrder(\n @WebParam(name = \"param\", targetNamespace = \"http://pingan.cn/\")\n String param)\n throws Exception_Exception\n ;\n\n /**\n * \n * @param param\n * @return\n * returns java.lang.String\n * @throws Exception_Exception\n * @throws JBOException_Exception\n */\n @WebMethod(action = \"http://pingan.cn/getOrder\")\n @WebResult(name = \"bankcardResult\", targetNamespace = \"http://pingan.cn/\")\n @RequestWrapper(localName = \"bankcard\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.Bankcard\")\n @ResponseWrapper(localName = \"bankcardResponse\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.BankcardResponse\")\n public String bankcard(\n @WebParam(name = \"param\", targetNamespace = \"http://pingan.cn/\")\n String param)\n throws Exception_Exception, JBOException_Exception\n ;\n\n /**\n * \n * @param param\n * @return\n * returns java.lang.String\n * @throws Exception_Exception\n */\n @WebMethod(action = \"http://pingan.cn/updateLogisticsinfo\")\n @WebResult(name = \"updateLogisticsinfoResult\", targetNamespace = \"http://pingan.cn/\")\n @RequestWrapper(localName = \"updateLogisticsinfo\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.UpdateLogisticsinfo\")\n @ResponseWrapper(localName = \"updateLogisticsinfoResponse\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.UpdateLogisticsinfoResponse\")\n public String updateLogisticsinfo(\n @WebParam(name = \"param\", targetNamespace = \"http://pingan.cn/\")\n String param)\n throws Exception_Exception\n ;\n\n /**\n * \n * @param param\n * @return\n * returns java.lang.String\n * @throws Exception_Exception\n * @throws JBOException_Exception\n */\n @WebMethod(action = \"http://pingan.cn/getOrder\")\n @WebResult(name = \"faceDetectResult\", targetNamespace = \"http://pingan.cn/\")\n @RequestWrapper(localName = \"faceDetect\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.FaceDetect\")\n @ResponseWrapper(localName = \"faceDetectResponse\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.FaceDetectResponse\")\n public String faceDetect(\n @WebParam(name = \"param\", targetNamespace = \"http://pingan.cn/\")\n String param)\n throws Exception_Exception, JBOException_Exception\n ;\n\n /**\n * \n * @param param\n * @return\n * returns java.lang.String\n * @throws SQLException_Exception\n */\n @WebMethod(action = \"http://pingan.cn/getCreditline\")\n @WebResult(name = \"getCreditlineResult\", targetNamespace = \"http://pingan.cn/\")\n @RequestWrapper(localName = \"getCreditline\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.GetCreditline\")\n @ResponseWrapper(localName = \"getCreditlineResponse\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.GetCreditlineResponse\")\n public String getCreditline(\n @WebParam(name = \"param\", targetNamespace = \"http://pingan.cn/\")\n String param)\n throws SQLException_Exception\n ;\n\n /**\n * \n * @param param\n * @return\n * returns java.lang.String\n * @throws Exception_Exception\n * @throws JBOException_Exception\n */\n @WebMethod(action = \"http://pingan.cn/getOrder\")\n @WebResult(name = \"signCheckResult\", targetNamespace = \"http://pingan.cn/\")\n @RequestWrapper(localName = \"signCheck\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.SignCheck\")\n @ResponseWrapper(localName = \"signCheckResponse\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.SignCheckResponse\")\n public String signCheck(\n @WebParam(name = \"param\", targetNamespace = \"http://pingan.cn/\")\n String param)\n throws Exception_Exception, JBOException_Exception\n ;\n\n /**\n * \n * @param param\n * @return\n * returns java.lang.String\n * @throws Exception_Exception\n */\n @WebMethod(action = \"http://pingan.cn/repayPlansSelect\")\n @WebResult(name = \"repayPlansSelectResult\", targetNamespace = \"http://pingan.cn/\")\n @RequestWrapper(localName = \"repayPlansSelect\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.RepayPlansSelect\")\n @ResponseWrapper(localName = \"repayPlansSelectResponse\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.RepayPlansSelectResponse\")\n public String repayPlansSelect(\n @WebParam(name = \"param\", targetNamespace = \"http://pingan.cn/\")\n String param)\n throws Exception_Exception\n ;\n\n /**\n * \n * @param param\n * @return\n * returns java.lang.String\n * @throws Exception_Exception\n */\n @WebMethod(action = \"http://pingan.cn/repayPlansQuery\")\n @WebResult(name = \"repayPlansQueryResult\", targetNamespace = \"http://pingan.cn/\")\n @RequestWrapper(localName = \"repayPlansQuery\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.RepayPlansQuery\")\n @ResponseWrapper(localName = \"repayPlansQueryResponse\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.RepayPlansQueryResponse\")\n public String repayPlansQuery(\n @WebParam(name = \"param\", targetNamespace = \"http://pingan.cn/\")\n String param)\n throws Exception_Exception\n ;\n\n /**\n * \n * @param param\n * @return\n * returns java.lang.String\n * @throws Exception_Exception\n * @throws JBOException_Exception\n */\n @WebMethod(action = \"http://pingan.cn/getOrder\")\n @WebResult(name = \"queryPhoneZHHSResult\", targetNamespace = \"http://pingan.cn/\")\n @RequestWrapper(localName = \"queryPhoneZHHS\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.QueryPhoneZHHS\")\n @ResponseWrapper(localName = \"queryPhoneZHHSResponse\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.QueryPhoneZHHSResponse\")\n public String queryPhoneZHHS(\n @WebParam(name = \"param\", targetNamespace = \"http://pingan.cn/\")\n String param)\n throws Exception_Exception, JBOException_Exception\n ;\n\n /**\n * \n * @param param\n * @return\n * returns java.lang.String\n * @throws Exception_Exception\n */\n @WebMethod(action = \"http://pingan.cn/repayPlansTrialResult\")\n @WebResult(name = \"repayPlansTrialResult\", targetNamespace = \"http://pingan.cn/\")\n @RequestWrapper(localName = \"repayPlansTrial\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.RepayPlansTrial\")\n @ResponseWrapper(localName = \"repayPlansTrialResponse\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.RepayPlansTrialResponse\")\n public String repayPlansTrial(\n @WebParam(name = \"param\", targetNamespace = \"http://pingan.cn/\")\n String param)\n throws Exception_Exception\n ;\n\n /**\n * \n * @param param\n * @return\n * returns java.lang.String\n * @throws Exception_Exception\n * @throws JBOException_Exception\n */\n @WebMethod(operationName = \"Idcard\", action = \"http://pingan.cn/getOrder\")\n @WebResult(name = \"IdcardResult\", targetNamespace = \"http://pingan.cn/\")\n @RequestWrapper(localName = \"Idcard\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.Idcard\")\n @ResponseWrapper(localName = \"IdcardResponse\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.IdcardResponse\")\n public String idcard(\n @WebParam(name = \"param\", targetNamespace = \"http://pingan.cn/\")\n String param)\n throws Exception_Exception, JBOException_Exception\n ;\n\n /**\n * \n * @param param\n * @return\n * returns java.lang.String\n * @throws Exception_Exception\n * @throws JBOException_Exception\n */\n @WebMethod(action = \"http://pingan.cn/getOrder\")\n @WebResult(name = \"getOrderResult\", targetNamespace = \"http://pingan.cn/\")\n @RequestWrapper(localName = \"getOrder\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.GetOrder\")\n @ResponseWrapper(localName = \"getOrderResponse\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.GetOrderResponse\")\n public String getOrder(\n @WebParam(name = \"param\", targetNamespace = \"http://pingan.cn/\")\n String param)\n throws Exception_Exception, JBOException_Exception\n ;\n\n /**\n * \n * @param param\n * @return\n * returns java.lang.String\n * @throws Exception_Exception\n */\n @WebMethod(action = \"http://pingan.cn/registerBtvOrder\")\n @WebResult(name = \"registerBtvOrderResult\", targetNamespace = \"http://pingan.cn/\")\n @RequestWrapper(localName = \"registerBtvOrder\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.RegisterBtvOrder\")\n @ResponseWrapper(localName = \"registerBtvOrderResponse\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.RegisterBtvOrderResponse\")\n public String registerBtvOrder(\n @WebParam(name = \"param\", targetNamespace = \"http://pingan.cn/\")\n String param)\n throws Exception_Exception\n ;\n /**\n * \n * @param param\n * @return\n * returns java.lang.String\n * @throws Exception_Exception\n * @throws JBOException_Exception\n */\n @WebMethod(action = \"http://pingan.cn/pubTransLog\")\n @WebResult(name = \"pubTransLogResult\", targetNamespace = \"http://pingan.cn/\")\n @RequestWrapper(localName = \"pubTransLog\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.PubTransLog\")\n @ResponseWrapper(localName = \"pubTransLogResponse\", targetNamespace = \"http://pingan.cn/\", className = \"cn.pingan.PubTransLogResponse\")\n public String pubTransLog(\n @WebParam(name = \"param\", targetNamespace = \"http://pingan.cn/\")\n String param)\n throws Exception_Exception, JBOException_Exception\n ;\n\n}",
"@WebService(name = \"WebServiceSoap\", targetNamespace = \"http://tempuri.org/\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface WebServiceSoap {\n\n\n /**\n * \n * @param password\n * @param login\n * @return\n * returns java.lang.String\n */\n @WebMethod(operationName = \"Login\", action = \"http://tempuri.org/Login\")\n @WebResult(name = \"LoginResult\", targetNamespace = \"http://tempuri.org/\")\n @RequestWrapper(localName = \"Login\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.Login\")\n @ResponseWrapper(localName = \"LoginResponse\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.LoginResponse\")\n public String login(\n @WebParam(name = \"login\", targetNamespace = \"http://tempuri.org/\")\n String login,\n @WebParam(name = \"password\", targetNamespace = \"http://tempuri.org/\")\n String password);\n\n /**\n * \n * @param password\n * @param login\n * @return\n * returns java.lang.String\n */\n @WebMethod(operationName = \"LoginEx\", action = \"http://tempuri.org/LoginEx\")\n @WebResult(name = \"LoginExResult\", targetNamespace = \"http://tempuri.org/\")\n @RequestWrapper(localName = \"LoginEx\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.LoginEx\")\n @ResponseWrapper(localName = \"LoginExResponse\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.LoginExResponse\")\n public String loginEx(\n @WebParam(name = \"login\", targetNamespace = \"http://tempuri.org/\")\n String login,\n @WebParam(name = \"password\", targetNamespace = \"http://tempuri.org/\")\n String password);\n\n /**\n * \n * @param value\n * @return\n * returns java.lang.String\n */\n @WebMethod(operationName = \"LoginByCookies\", action = \"http://tempuri.org/LoginByCookies\")\n @WebResult(name = \"LoginByCookiesResult\", targetNamespace = \"http://tempuri.org/\")\n @RequestWrapper(localName = \"LoginByCookies\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.LoginByCookies\")\n @ResponseWrapper(localName = \"LoginByCookiesResponse\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.LoginByCookiesResponse\")\n public String loginByCookies(\n @WebParam(name = \"value\", targetNamespace = \"http://tempuri.org/\")\n String value);\n\n /**\n * \n */\n @WebMethod(operationName = \"SignOut\", action = \"http://tempuri.org/SignOut\")\n @RequestWrapper(localName = \"SignOut\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.SignOut\")\n @ResponseWrapper(localName = \"SignOutResponse\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.SignOutResponse\")\n public void signOut();\n\n /**\n * \n * @return\n * returns boolean\n */\n @WebMethod(operationName = \"IsAuthenticated\", action = \"http://tempuri.org/IsAuthenticated\")\n @WebResult(name = \"IsAuthenticatedResult\", targetNamespace = \"http://tempuri.org/\")\n @RequestWrapper(localName = \"IsAuthenticated\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.IsAuthenticated\")\n @ResponseWrapper(localName = \"IsAuthenticatedResponse\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.IsAuthenticatedResponse\")\n public boolean isAuthenticated();\n\n /**\n * \n * @param token\n * @return\n * returns java.lang.String\n */\n @WebMethod(operationName = \"LoginByGoogleId\", action = \"http://tempuri.org/LoginByGoogleId\")\n @WebResult(name = \"LoginByGoogleIdResult\", targetNamespace = \"http://tempuri.org/\")\n @RequestWrapper(localName = \"LoginByGoogleId\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.LoginByGoogleId\")\n @ResponseWrapper(localName = \"LoginByGoogleIdResponse\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.LoginByGoogleIdResponse\")\n public String loginByGoogleId(\n @WebParam(name = \"token\", targetNamespace = \"http://tempuri.org/\")\n String token);\n\n /**\n * \n * @param args\n * @param calcId\n * @return\n * returns java.lang.String\n */\n @WebMethod(operationName = \"Execute\", action = \"http://tempuri.org/Execute\")\n @WebResult(name = \"ExecuteResult\", targetNamespace = \"http://tempuri.org/\")\n @RequestWrapper(localName = \"Execute\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.Execute\")\n @ResponseWrapper(localName = \"ExecuteResponse\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.ExecuteResponse\")\n public String execute(\n @WebParam(name = \"calcId\", targetNamespace = \"http://tempuri.org/\")\n String calcId,\n @WebParam(name = \"args\", targetNamespace = \"http://tempuri.org/\")\n String args);\n\n /**\n * \n * @param args\n * @param ticket\n * @param calcId\n * @return\n * returns java.lang.String\n */\n @WebMethod(operationName = \"ExecuteEx\", action = \"http://tempuri.org/ExecuteEx\")\n @WebResult(name = \"ExecuteExResult\", targetNamespace = \"http://tempuri.org/\")\n @RequestWrapper(localName = \"ExecuteEx\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.ExecuteEx\")\n @ResponseWrapper(localName = \"ExecuteExResponse\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.ExecuteExResponse\")\n public String executeEx(\n @WebParam(name = \"calcId\", targetNamespace = \"http://tempuri.org/\")\n String calcId,\n @WebParam(name = \"args\", targetNamespace = \"http://tempuri.org/\")\n String args,\n @WebParam(name = \"ticket\", targetNamespace = \"http://tempuri.org/\")\n String ticket);\n\n /**\n * \n * @param args\n * @param ticket\n * @param calcId\n * @param timeout\n * @return\n * returns java.lang.String\n */\n @WebMethod(operationName = \"ExecuteWithTimeout\", action = \"http://tempuri.org/ExecuteWithTimeout\")\n @WebResult(name = \"ExecuteWithTimeoutResult\", targetNamespace = \"http://tempuri.org/\")\n @RequestWrapper(localName = \"ExecuteWithTimeout\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.ExecuteWithTimeout\")\n @ResponseWrapper(localName = \"ExecuteWithTimeoutResponse\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.ExecuteWithTimeoutResponse\")\n public String executeWithTimeout(\n @WebParam(name = \"calcId\", targetNamespace = \"http://tempuri.org/\")\n String calcId,\n @WebParam(name = \"args\", targetNamespace = \"http://tempuri.org/\")\n String args,\n @WebParam(name = \"ticket\", targetNamespace = \"http://tempuri.org/\")\n String ticket,\n @WebParam(name = \"timeout\", targetNamespace = \"http://tempuri.org/\")\n int timeout);\n\n /**\n * \n * @param ticket\n * @param sessionId\n */\n @WebMethod(operationName = \"UpdateSession\", action = \"http://tempuri.org/UpdateSession\")\n @RequestWrapper(localName = \"UpdateSession\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.UpdateSession\")\n @ResponseWrapper(localName = \"UpdateSessionResponse\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.UpdateSessionResponse\")\n public void updateSession(\n @WebParam(name = \"ticket\", targetNamespace = \"http://tempuri.org/\")\n String ticket,\n @WebParam(name = \"sessionId\", targetNamespace = \"http://tempuri.org/\")\n String sessionId);\n\n /**\n * \n * @param ticket\n * @param oldPassword\n * @param newPassword\n * @param login\n * @return\n * returns java.lang.String\n */\n @WebMethod(operationName = \"ChangePassword\", action = \"http://tempuri.org/ChangePassword\")\n @WebResult(name = \"ChangePasswordResult\", targetNamespace = \"http://tempuri.org/\")\n @RequestWrapper(localName = \"ChangePassword\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.ChangePassword\")\n @ResponseWrapper(localName = \"ChangePasswordResponse\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.ChangePasswordResponse\")\n public String changePassword(\n @WebParam(name = \"login\", targetNamespace = \"http://tempuri.org/\")\n String login,\n @WebParam(name = \"oldPassword\", targetNamespace = \"http://tempuri.org/\")\n String oldPassword,\n @WebParam(name = \"newPassword\", targetNamespace = \"http://tempuri.org/\")\n String newPassword,\n @WebParam(name = \"ticket\", targetNamespace = \"http://tempuri.org/\")\n String ticket);\n\n /**\n * \n * @return\n * returns java.lang.Object\n */\n @WebMethod(operationName = \"IsEnabled\", action = \"http://tempuri.org/IsEnabled\")\n @WebResult(name = \"IsEnabledResult\", targetNamespace = \"http://tempuri.org/\")\n @RequestWrapper(localName = \"IsEnabled\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.IsEnabled\")\n @ResponseWrapper(localName = \"IsEnabledResponse\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.IsEnabledResponse\")\n public Object isEnabled();\n\n}",
"@WebService(name = \"UserService\", targetNamespace = \"http://services/\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface UserService {\n\n\n /**\n * \n * @param id\n * @return\n * returns services.Anagrafica\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getUserById\", targetNamespace = \"http://services/\", className = \"services.GetUserById\")\n @ResponseWrapper(localName = \"getUserByIdResponse\", targetNamespace = \"http://services/\", className = \"services.GetUserByIdResponse\")\n public Anagrafica getUserById(\n @WebParam(name = \"id\", targetNamespace = \"\")\n int id);\n\n /**\n * \n * @param id\n */\n @WebMethod\n @RequestWrapper(localName = \"deleteUser\", targetNamespace = \"http://services/\", className = \"services.DeleteUser\")\n @ResponseWrapper(localName = \"deleteUserResponse\", targetNamespace = \"http://services/\", className = \"services.DeleteUserResponse\")\n public void deleteUser(\n @WebParam(name = \"id\", targetNamespace = \"\")\n int id);\n\n /**\n * \n * @param anagrafica\n */\n @WebMethod\n @RequestWrapper(localName = \"updateUser\", targetNamespace = \"http://services/\", className = \"services.UpdateUser\")\n @ResponseWrapper(localName = \"updateUserResponse\", targetNamespace = \"http://services/\", className = \"services.UpdateUserResponse\")\n public void updateUser(\n @WebParam(name = \"anagrafica\", targetNamespace = \"http://services/\")\n Anagrafica anagrafica);\n\n /**\n * \n * @param cf\n * @param cognome\n * @param cellulare\n * @param nome\n * @param telefono\n * @param email\n */\n @WebMethod\n @RequestWrapper(localName = \"addUser\", targetNamespace = \"http://services/\", className = \"services.AddUser\")\n @ResponseWrapper(localName = \"addUserResponse\", targetNamespace = \"http://services/\", className = \"services.AddUserResponse\")\n public void addUser(\n @WebParam(name = \"nome\", targetNamespace = \"\")\n String nome,\n @WebParam(name = \"cognome\", targetNamespace = \"\")\n String cognome,\n @WebParam(name = \"cf\", targetNamespace = \"\")\n String cf,\n @WebParam(name = \"telefono\", targetNamespace = \"\")\n String telefono,\n @WebParam(name = \"cellulare\", targetNamespace = \"\")\n String cellulare,\n @WebParam(name = \"email\", targetNamespace = \"\")\n String email);\n\n /**\n * \n * @return\n * returns java.util.List<services.Anagrafica>\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"listUsers\", targetNamespace = \"http://services/\", className = \"services.ListUsers\")\n @ResponseWrapper(localName = \"listUsersResponse\", targetNamespace = \"http://services/\", className = \"services.ListUsersResponse\")\n public List<Anagrafica> listUsers();\n\n}",
"@WebService(targetNamespace = \"http://ws.iac.spb.ru/ClassifierZip\", name = \"ClassifierZip\")\n@XmlSeeAlso({ObjectFactory.class, iac.cud.infosweb.ws.classif.common.ObjectFactory.class})\npublic interface ClassifierZip {\n\n @WebResult(name = \"return\", targetNamespace = \"\")\n @RequestWrapper(localName = \"getClassifierByClassifierNameCUD\", targetNamespace = \"http://ws.iac.spb.ru/ClassifierZip\", className = \"ru.spb.iac.ws.classifierzip.GetClassifierByClassifierName\")\n @WebMethod\n @ResponseWrapper(localName = \"getClassifierByClassifierNameResponseCUD\", targetNamespace = \"http://ws.iac.spb.ru/ClassifierZip\", className = \"ru.spb.iac.ws.classifierzip.GetClassifierByClassifierNameResponse\")\n public iac.cud.infosweb.ws.classifierzip.ResponseElement52 getClassifierByClassifierName(\n @WebParam(name = \"login\", targetNamespace = \"\")\n java.lang.String login,\n @WebParam(name = \"pass\", targetNamespace = \"\")\n java.lang.String pass,\n @WebParam(name = \"Fullname\", targetNamespace = \"\")\n java.lang.String fullname,\n @WebParam(name = \"ActualDoc\", targetNamespace = \"\")\n int actualDoc\n );\n\n @WebResult(name = \"return\", targetNamespace = \"\")\n @RequestWrapper(localName = \"getClassifierZipListByClassifierNameCUD\", targetNamespace = \"http://ws.iac.spb.ru/ClassifierZip\", className = \"ru.spb.iac.ws.classifierzip.GetClassifierZipListByClassifierName\")\n @WebMethod\n @ResponseWrapper(localName = \"getClassifierZipListByClassifierNameResponseCUD\", targetNamespace = \"http://ws.iac.spb.ru/ClassifierZip\", className = \"ru.spb.iac.ws.classifierzip.GetClassifierZipListByClassifierNameResponse\")\n public iac.cud.infosweb.ws.classifierzip.ResponseElement54 getClassifierZipListByClassifierName(\n @WebParam(name = \"login\", targetNamespace = \"\")\n java.lang.String login,\n @WebParam(name = \"pass\", targetNamespace = \"\")\n java.lang.String pass,\n @WebParam(name = \"Fullname\", targetNamespace = \"\")\n java.lang.String fullname\n );\n\n @WebResult(name = \"return\", targetNamespace = \"\")\n @RequestWrapper(localName = \"getClassifierZipListByClassifierNumberCUD\", targetNamespace = \"http://ws.iac.spb.ru/ClassifierZip\", className = \"ru.spb.iac.ws.classifierzip.GetClassifierZipListByClassifierNumber\")\n @WebMethod\n @ResponseWrapper(localName = \"getClassifierZipListByClassifierNumberResponseCUD\", targetNamespace = \"http://ws.iac.spb.ru/ClassifierZip\", className = \"ru.spb.iac.ws.classifierzip.GetClassifierZipListByClassifierNumberResponse\")\n public iac.cud.infosweb.ws.classifierzip.ResponseElement53 getClassifierZipListByClassifierNumber(\n @WebParam(name = \"login\", targetNamespace = \"\")\n java.lang.String login,\n @WebParam(name = \"pass\", targetNamespace = \"\")\n java.lang.String pass,\n @WebParam(name = \"RegNumber\", targetNamespace = \"\")\n int regNumber\n );\n\n @WebResult(name = \"return\", targetNamespace = \"\")\n @RequestWrapper(localName = \"getClassifierByClassifierNumberCUD\", targetNamespace = \"http://ws.iac.spb.ru/ClassifierZip\", className = \"ru.spb.iac.ws.classifierzip.GetClassifierByClassifierNumber\")\n @WebMethod\n @ResponseWrapper(localName = \"getClassifierByClassifierNumberResponseCUD\", targetNamespace = \"http://ws.iac.spb.ru/ClassifierZip\", className = \"ru.spb.iac.ws.classifierzip.GetClassifierByClassifierNumberResponse\")\n public iac.cud.infosweb.ws.classifierzip.ResponseElement51 getClassifierByClassifierNumber(\n @WebParam(name = \"login\", targetNamespace = \"\")\n java.lang.String login,\n @WebParam(name = \"pass\", targetNamespace = \"\")\n java.lang.String pass,\n @WebParam(name = \"RegNumber\", targetNamespace = \"\")\n int regNumber,\n @WebParam(name = \"ActualDoc\", targetNamespace = \"\")\n int actualDoc\n );\n}",
"@WebService(name = \"GodinezLunchPort\", targetNamespace = \"http://www.xmlns.udev.com/GodinezLunch/GL/wsdl/1.0/GodinezLunchWS\")\r\n@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)\r\n@XmlSeeAlso({\r\n ObjectFactory.class\r\n})\r\npublic interface GodinezLunchWS {\r\n\r\n\r\n /**\r\n * \r\n * @param calculateDistanceRequest\r\n * @return\r\n * returns com.mx.udev.godinez.web.types.CalculateDistanceResponse\r\n */\r\n @WebMethod(action = \"http://www.udev.com/GodinezLunchWS/calculateDistance\")\r\n @WebResult(name = \"calculateDistanceResponse\", targetNamespace = \"http://www.xmlns.udev.com/GodinezLunch/GL/datatypes/1.0\", partName = \"calculateDistanceResponse\")\r\n public CalculateDistanceResponse calculateDistance(\r\n @WebParam(name = \"calculateDistanceRequest\", targetNamespace = \"http://www.xmlns.udev.com/GodinezLunch/GL/datatypes/1.0\", partName = \"calculateDistanceRequest\")\r\n CalculateDistanceRequest calculateDistanceRequest);\r\n\r\n /**\r\n * \r\n * @param getNearbyPlacesRequest\r\n * @return\r\n * returns com.mx.udev.godinez.web.types.GetNearbyPlacesResponse\r\n */\r\n @WebMethod(action = \"http://www.udev.com/GodinezLunchWS/getNearbyPlaces\")\r\n @WebResult(name = \"getNearbyPlacesResponse\", targetNamespace = \"http://www.xmlns.udev.com/GodinezLunch/GL/datatypes/1.0\", partName = \"getNearbyPlacesResponse\")\r\n public GetNearbyPlacesResponse getNearbyPlaces(\r\n @WebParam(name = \"getNearbyPlacesRequest\", targetNamespace = \"http://www.xmlns.udev.com/GodinezLunch/GL/datatypes/1.0\", partName = \"getNearbyPlacesRequest\")\r\n GetNearbyPlacesRequest getNearbyPlacesRequest);\r\n\r\n /**\r\n * \r\n * @param getAllCategoriesRequest\r\n * @return\r\n * returns com.mx.udev.godinez.web.types.GetAllCategoriesResponse\r\n */\r\n @WebMethod(action = \"http://www.udev.com/GodinezLunchWS/getAllCategories\")\r\n @WebResult(name = \"getAllCategoriesResponse\", targetNamespace = \"http://www.xmlns.udev.com/GodinezLunch/GL/datatypes/1.0\", partName = \"getAllCategoriesResponse\")\r\n public GetAllCategoriesResponse getAllCategories(\r\n @WebParam(name = \"getAllCategoriesRequest\", targetNamespace = \"http://www.xmlns.udev.com/GodinezLunch/GL/datatypes/1.0\", partName = \"getAllCategoriesRequest\")\r\n GetAllCategoriesRequest getAllCategoriesRequest);\r\n\r\n /**\r\n * \r\n * @param getMyFavoritesRequest\r\n * @return\r\n * returns com.mx.udev.godinez.web.types.GetMyFavoritesResponse\r\n */\r\n @WebMethod(action = \"http://www.udev.com/GodinezLunchWS/getMyFavorites\")\r\n @WebResult(name = \"getMyFavoritesResponse\", targetNamespace = \"http://www.xmlns.udev.com/GodinezLunch/GL/datatypes/1.0\", partName = \"getMyFavoritesResponse\")\r\n public GetMyFavoritesResponse getMyFavorites(\r\n @WebParam(name = \"getMyFavoritesRequest\", targetNamespace = \"http://www.xmlns.udev.com/GodinezLunch/GL/datatypes/1.0\", partName = \"getMyFavoritesRequest\")\r\n GetMyFavoritesRequest getMyFavoritesRequest);\r\n\r\n}",
"@WebService(name = \"BilesikKutukSorgulaKimlikNoServis\", targetNamespace = \"http://kps.nvi.gov.tr/2017/08/01\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface BilesikKutukSorgulaKimlikNoServis {\n\n\n /**\n * \n * @param kriterListesi\n * @return\n * returns services.kps.bilesikkutuk.BilesikKutukBilgileriSonucu\n */\n @WebMethod(operationName = \"Sorgula\", action = \"http://kps.nvi.gov.tr/2017/08/01/BilesikKutukSorgulaKimlikNoServis/Sorgula\")\n @WebResult(name = \"SorgulaResult\", targetNamespace = \"http://kps.nvi.gov.tr/2017/08/01\")\n @RequestWrapper(localName = \"Sorgula\", targetNamespace = \"http://kps.nvi.gov.tr/2017/08/01\", className = \"services.kps.bilesikkutuk.Sorgula\")\n @ResponseWrapper(localName = \"SorgulaResponse\", targetNamespace = \"http://kps.nvi.gov.tr/2017/08/01\", className = \"services.kps.bilesikkutuk.SorgulaResponse\")\n public BilesikKutukBilgileriSonucu sorgula(\n @WebParam(name = \"kriterListesi\", targetNamespace = \"http://kps.nvi.gov.tr/2017/08/01\")\n ArrayOfBilesikKutukSorgulaKimlikNoSorguKriteri kriterListesi);\n\n}",
"@WebService(targetNamespace = \"http://www.pm.company.com/service/Pawel/\", name = \"Pawel\")\n@XmlSeeAlso({com.company.pm.schema.pawelschema.ObjectFactory.class})\n@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)\npublic interface Pawel {\n\n @WebResult(name = \"firstOperationResponse\", targetNamespace = \"http://www.pm.company.com/schema/PawelSchema\", partName = \"firstOperationResponse\")\n @WebMethod(operationName = \"FirstOperation\", action = \"http://www.pm.company.com/service/Pawel/FirstOperation\")\n public com.company.pm.schema.pawelschema.FirstOperationResponseType firstOperation(\n @WebParam(partName = \"firstOperationRequest\", name = \"firstOperationRequest\", targetNamespace = \"http://www.pm.company.com/schema/PawelSchema\")\n com.company.pm.schema.pawelschema.FirstOperationRequestType firstOperationRequest\n );\n}",
"public sample.ws.HelloWorldWSStub.InitializeHelloWorldWSResponse initializeHelloWorldWS(\n\n sample.ws.HelloWorldWSStub.InitializeHelloWorldWS initializeHelloWorldWS10)\n \n\n throws java.rmi.RemoteException\n \n {\n org.apache.axis2.context.MessageContext _messageContext = null;\n try{\n org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[5].getName());\n _operationClient.getOptions().setAction(\"initializeCourseWS\");\n _operationClient.getOptions().setExceptionToBeThrownOnSOAPFault(true);\n\n \n \n addPropertyToOperationClient(_operationClient,org.apache.axis2.description.WSDL2Constants.ATTR_WHTTP_QUERY_PARAMETER_SEPARATOR,\"&\");\n \n\n // create a message context\n _messageContext = new org.apache.axis2.context.MessageContext();\n\n \n\n // create SOAP envelope with that payload\n org.apache.axiom.soap.SOAPEnvelope env = null;\n \n \n env = toEnvelope(getFactory(_operationClient.getOptions().getSoapVersionURI()),\n initializeHelloWorldWS10,\n optimizeContent(new javax.xml.namespace.QName(\"http://ws.sample/\",\n \"initializeHelloWorldWS\")));\n \n //adding SOAP soap_headers\n _serviceClient.addHeadersToEnvelope(env);\n // set the message context with that soap envelope\n _messageContext.setEnvelope(env);\n\n // add the message contxt to the operation client\n _operationClient.addMessageContext(_messageContext);\n\n //execute the operation client\n _operationClient.execute(true);\n\n \n org.apache.axis2.context.MessageContext _returnMessageContext = _operationClient.getMessageContext(\n org.apache.axis2.wsdl.WSDLConstants.MESSAGE_LABEL_IN_VALUE);\n org.apache.axiom.soap.SOAPEnvelope _returnEnv = _returnMessageContext.getEnvelope();\n \n \n java.lang.Object object = fromOM(\n _returnEnv.getBody().getFirstElement() ,\n sample.ws.HelloWorldWSStub.InitializeHelloWorldWSResponse.class,\n getEnvelopeNamespaces(_returnEnv));\n\n \n return (sample.ws.HelloWorldWSStub.InitializeHelloWorldWSResponse)object;\n \n }catch(org.apache.axis2.AxisFault f){\n\n org.apache.axiom.om.OMElement faultElt = f.getDetail();\n if (faultElt!=null){\n if (faultExceptionNameMap.containsKey(faultElt.getQName())){\n //make the fault by reflection\n try{\n java.lang.String exceptionClassName = (java.lang.String)faultExceptionClassNameMap.get(faultElt.getQName());\n java.lang.Class exceptionClass = java.lang.Class.forName(exceptionClassName);\n java.lang.Exception ex=\n (java.lang.Exception) exceptionClass.newInstance();\n //message class\n java.lang.String messageClassName = (java.lang.String)faultMessageMap.get(faultElt.getQName());\n java.lang.Class messageClass = java.lang.Class.forName(messageClassName);\n java.lang.Object messageObject = fromOM(faultElt,messageClass,null);\n java.lang.reflect.Method m = exceptionClass.getMethod(\"setFaultMessage\",\n new java.lang.Class[]{messageClass});\n m.invoke(ex,new java.lang.Object[]{messageObject});\n \n\n throw new java.rmi.RemoteException(ex.getMessage(), ex);\n }catch(java.lang.ClassCastException e){\n // we cannot intantiate the class - throw the original Axis fault\n throw f;\n } catch (java.lang.ClassNotFoundException e) {\n // we cannot intantiate the class - throw the original Axis fault\n throw f;\n }catch (java.lang.NoSuchMethodException e) {\n // we cannot intantiate the class - throw the original Axis fault\n throw f;\n } catch (java.lang.reflect.InvocationTargetException e) {\n // we cannot intantiate the class - throw the original Axis fault\n throw f;\n } catch (java.lang.IllegalAccessException e) {\n // we cannot intantiate the class - throw the original Axis fault\n throw f;\n } catch (java.lang.InstantiationException e) {\n // we cannot intantiate the class - throw the original Axis fault\n throw f;\n }\n }else{\n throw f;\n }\n }else{\n throw f;\n }\n } finally {\n _messageContext.getTransportOut().getSender().cleanup(_messageContext);\n }\n }",
"public interface AcSentEdiInterchangeDomesticCandidateRouteMessageServiceIF\n extends AcModelServiceIF\n{\n AcSentEdiInterchangeDomesticCandidateRouteMessage getSentEdiInterchangeDomesticCandidateRouteMessage(Integer sentEdiInterchangeId, Integer domesticCandidateRouteMessageId);\n AcSentEdiInterchangeDomesticCandidateRouteMessage getSentEdiInterchangeDomesticCandidateRouteMessage(AcSentEdiInterchangeDomesticCandidateRouteMessagePkIF pk);\n boolean sentEdiInterchangeDomesticCandidateRouteMessageExists(Integer sentEdiInterchangeId, Integer domesticCandidateRouteMessageId);\n boolean sentEdiInterchangeDomesticCandidateRouteMessageExists(AcSentEdiInterchangeDomesticCandidateRouteMessagePkIF pk);\n AcSentEdiInterchangeDomesticCandidateRouteMessage getSentEdiInterchangeDomesticCandidateRouteMessageByWebKey(String webKey);\n JwList<AcSentEdiInterchangeDomesticCandidateRouteMessage> getAll();\n JwList<AcSentEdiInterchangeDomesticCandidateRouteMessage> getAllAvailable();\n JwList<AcSentEdiInterchangeDomesticCandidateRouteMessage> getAllWhere(String whereClause, Integer rowLimit);\n void insert(AcSentEdiInterchangeDomesticCandidateRouteMessage sentEdiInterchangeDomesticCandidateRouteMessage);\n void update(AcSentEdiInterchangeDomesticCandidateRouteMessage sentEdiInterchangeDomesticCandidateRouteMessage);\n void delete(Integer sentEdiInterchangeId, Integer domesticCandidateRouteMessageId);\n}",
"@WebService(name = \"DomesticRemittanceByPartnerService\", targetNamespace = \"http://www.quantiguous.com/services\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface DomesticRemittanceByPartnerService {\n\n\n /**\n * \n * @param beneficiaryAccountNo\n * @param remitterToBeneficiaryInfo\n * @param remitterAddress\n * @param remitterIFSC\n * @param partnerCode\n * @param transactionStatus\n * @param transferAmount\n * @param remitterName\n * @param beneficiaryAddress\n * @param uniqueResponseNo\n * @param version\n * @param requestReferenceNo\n * @param beneficiaryIFSC\n * @param debitAccountNo\n * @param uniqueRequestNo\n * @param beneficiaryName\n * @param customerID\n * @param beneficiaryContact\n * @param transferType\n * @param attemptNo\n * @param transferCurrencyCode\n * @param remitterContact\n * @param remitterAccountNo\n * @param lowBalanceAlert\n */\n @WebMethod(action = \"http://www.quantiguous.com/services/DomesticRemittanceByPartnerService/remit\")\n @RequestWrapper(localName = \"remit\", targetNamespace = \"http://www.quantiguous.com/services\", className = \"com.quantiguous.services.Remit\")\n @ResponseWrapper(localName = \"remitResponse\", targetNamespace = \"http://www.quantiguous.com/services\", className = \"com.quantiguous.services.RemitResponse\")\n public void remit(\n @WebParam(name = \"version\", targetNamespace = \"http://www.quantiguous.com/services\", mode = WebParam.Mode.INOUT)\n Holder<String> version,\n @WebParam(name = \"uniqueRequestNo\", targetNamespace = \"http://www.quantiguous.com/services\")\n String uniqueRequestNo,\n @WebParam(name = \"partnerCode\", targetNamespace = \"http://www.quantiguous.com/services\")\n String partnerCode,\n @WebParam(name = \"customerID\", targetNamespace = \"http://www.quantiguous.com/services\")\n String customerID,\n @WebParam(name = \"debitAccountNo\", targetNamespace = \"http://www.quantiguous.com/services\")\n String debitAccountNo,\n @WebParam(name = \"remitterAccountNo\", targetNamespace = \"http://www.quantiguous.com/services\")\n String remitterAccountNo,\n @WebParam(name = \"remitterIFSC\", targetNamespace = \"http://www.quantiguous.com/services\")\n String remitterIFSC,\n @WebParam(name = \"remitterName\", targetNamespace = \"http://www.quantiguous.com/services\")\n String remitterName,\n @WebParam(name = \"remitterAddress\", targetNamespace = \"http://www.quantiguous.com/services\")\n AddressType remitterAddress,\n @WebParam(name = \"remitterContact\", targetNamespace = \"http://www.quantiguous.com/services\")\n ContactType remitterContact,\n @WebParam(name = \"beneficiaryName\", targetNamespace = \"http://www.quantiguous.com/services\")\n String beneficiaryName,\n @WebParam(name = \"beneficiaryAddress\", targetNamespace = \"http://www.quantiguous.com/services\")\n AddressType beneficiaryAddress,\n @WebParam(name = \"beneficiaryContact\", targetNamespace = \"http://www.quantiguous.com/services\")\n ContactType beneficiaryContact,\n @WebParam(name = \"beneficiaryAccountNo\", targetNamespace = \"http://www.quantiguous.com/services\")\n String beneficiaryAccountNo,\n @WebParam(name = \"beneficiaryIFSC\", targetNamespace = \"http://www.quantiguous.com/services\")\n String beneficiaryIFSC,\n @WebParam(name = \"transferType\", targetNamespace = \"http://www.quantiguous.com/services\", mode = WebParam.Mode.INOUT)\n Holder<TransferTypeType> transferType,\n @WebParam(name = \"transferCurrencyCode\", targetNamespace = \"http://www.quantiguous.com/services\")\n CurrencyCodeType transferCurrencyCode,\n @WebParam(name = \"transferAmount\", targetNamespace = \"http://www.quantiguous.com/services\")\n BigDecimal transferAmount,\n @WebParam(name = \"remitterToBeneficiaryInfo\", targetNamespace = \"http://www.quantiguous.com/services\")\n String remitterToBeneficiaryInfo,\n @WebParam(name = \"uniqueResponseNo\", targetNamespace = \"http://www.quantiguous.com/services\", mode = WebParam.Mode.OUT)\n Holder<String> uniqueResponseNo,\n @WebParam(name = \"attemptNo\", targetNamespace = \"http://www.quantiguous.com/services\", mode = WebParam.Mode.OUT)\n Holder<BigInteger> attemptNo,\n @WebParam(name = \"requestReferenceNo\", targetNamespace = \"http://www.quantiguous.com/services\", mode = WebParam.Mode.OUT)\n Holder<String> requestReferenceNo,\n @WebParam(name = \"lowBalanceAlert\", targetNamespace = \"http://www.quantiguous.com/services\", mode = WebParam.Mode.OUT)\n Holder<Boolean> lowBalanceAlert,\n @WebParam(name = \"transactionStatus\", targetNamespace = \"http://www.quantiguous.com/services\", mode = WebParam.Mode.OUT)\n Holder<TransactionStatusType> transactionStatus);\n\n /**\n * \n * @param accountCurrencyCode\n * @param partnerCode\n * @param accountNo\n * @param accountBalanceAmount\n * @param customerID\n * @param version\n * @param lowBalanceAlert\n */\n @WebMethod(action = \"http://www.quantiguous.com/services/DomesticRemittanceByPartnerService/getBalance\")\n @RequestWrapper(localName = \"getBalance\", targetNamespace = \"http://www.quantiguous.com/services\", className = \"com.quantiguous.services.GetBalance\")\n @ResponseWrapper(localName = \"getBalanceResponse\", targetNamespace = \"http://www.quantiguous.com/services\", className = \"com.quantiguous.services.GetBalanceResponse\")\n public void getBalance(\n @WebParam(name = \"version\", targetNamespace = \"http://www.quantiguous.com/services\", mode = WebParam.Mode.INOUT)\n Holder<String> version,\n @WebParam(name = \"partnerCode\", targetNamespace = \"http://www.quantiguous.com/services\")\n String partnerCode,\n @WebParam(name = \"customerID\", targetNamespace = \"http://www.quantiguous.com/services\")\n String customerID,\n @WebParam(name = \"accountNo\", targetNamespace = \"http://www.quantiguous.com/services\")\n String accountNo,\n @WebParam(name = \"accountCurrencyCode\", targetNamespace = \"http://www.quantiguous.com/services\", mode = WebParam.Mode.OUT)\n Holder<CurrencyCodeType> accountCurrencyCode,\n @WebParam(name = \"accountBalanceAmount\", targetNamespace = \"http://www.quantiguous.com/services\", mode = WebParam.Mode.OUT)\n Holder<BigDecimal> accountBalanceAmount,\n @WebParam(name = \"lowBalanceAlert\", targetNamespace = \"http://www.quantiguous.com/services\", mode = WebParam.Mode.OUT)\n Holder<Boolean> lowBalanceAlert);\n\n /**\n * \n * @param reqTransferType\n * @param partnerCode\n * @param transactionStatus\n * @param transferAmount\n * @param transferType\n * @param transactionDate\n * @param version\n * @param transferCurrencyCode\n * @param requestReferenceNo\n */\n @WebMethod(action = \"http://www.quantiguous.com/services/DomesticRemittanceByPartnerService/getRemittanceStatus\")\n @RequestWrapper(localName = \"getRemittanceStatus\", targetNamespace = \"http://www.quantiguous.com/services\", className = \"com.quantiguous.services.GetRemittanceStatus\")\n @ResponseWrapper(localName = \"getRemittanceStatusResponse\", targetNamespace = \"http://www.quantiguous.com/services\", className = \"com.quantiguous.services.GetRemittanceStatusResponse\")\n public void getRemittanceStatus(\n @WebParam(name = \"version\", targetNamespace = \"http://www.quantiguous.com/services\", mode = WebParam.Mode.INOUT)\n Holder<String> version,\n @WebParam(name = \"partnerCode\", targetNamespace = \"http://www.quantiguous.com/services\")\n String partnerCode,\n @WebParam(name = \"requestReferenceNo\", targetNamespace = \"http://www.quantiguous.com/services\")\n String requestReferenceNo,\n @WebParam(name = \"transferType\", targetNamespace = \"http://www.quantiguous.com/services\", mode = WebParam.Mode.OUT)\n Holder<TransferTypeType> transferType,\n @WebParam(name = \"reqTransferType\", targetNamespace = \"http://www.quantiguous.com/services\", mode = WebParam.Mode.OUT)\n Holder<TransferTypeType> reqTransferType,\n @WebParam(name = \"transactionDate\", targetNamespace = \"http://www.quantiguous.com/services\", mode = WebParam.Mode.OUT)\n Holder<XMLGregorianCalendar> transactionDate,\n @WebParam(name = \"transferAmount\", targetNamespace = \"http://www.quantiguous.com/services\", mode = WebParam.Mode.OUT)\n Holder<BigDecimal> transferAmount,\n @WebParam(name = \"transferCurrencyCode\", targetNamespace = \"http://www.quantiguous.com/services\", mode = WebParam.Mode.OUT)\n Holder<CurrencyCodeType> transferCurrencyCode,\n @WebParam(name = \"transactionStatus\", targetNamespace = \"http://www.quantiguous.com/services\", mode = WebParam.Mode.OUT)\n Holder<TransactionStatusType> transactionStatus);\n\n /**\n * \n * @param numDebits\n * @param partnerCode\n * @param dateRange\n * @param accountNo\n * @param customerID\n * @param closingBalance\n * @param numTransactions\n * @param numCredits\n * @param version\n * @param openingBalance\n * @param transactionsArray\n */\n @WebMethod(action = \"http://www.quantiguous.com/services/DomesticRemittanceByPartnerService/getTransactions\")\n @RequestWrapper(localName = \"getTransactions\", targetNamespace = \"http://www.quantiguous.com/services\", className = \"com.quantiguous.services.GetTransactions\")\n @ResponseWrapper(localName = \"getTransactionsResponse\", targetNamespace = \"http://www.quantiguous.com/services\", className = \"com.quantiguous.services.GetTransactionsResponse\")\n public void getTransactions(\n @WebParam(name = \"version\", targetNamespace = \"http://www.quantiguous.com/services\", mode = WebParam.Mode.INOUT)\n Holder<String> version,\n @WebParam(name = \"partnerCode\", targetNamespace = \"http://www.quantiguous.com/services\")\n String partnerCode,\n @WebParam(name = \"customerID\", targetNamespace = \"http://www.quantiguous.com/services\")\n String customerID,\n @WebParam(name = \"accountNo\", targetNamespace = \"http://www.quantiguous.com/services\")\n String accountNo,\n @WebParam(name = \"dateRange\", targetNamespace = \"http://www.quantiguous.com/services\")\n DateRangeType dateRange,\n @WebParam(name = \"openingBalance\", targetNamespace = \"http://www.quantiguous.com/services\", mode = WebParam.Mode.OUT)\n Holder<BigDecimal> openingBalance,\n @WebParam(name = \"numDebits\", targetNamespace = \"http://www.quantiguous.com/services\", mode = WebParam.Mode.OUT)\n Holder<BigInteger> numDebits,\n @WebParam(name = \"numCredits\", targetNamespace = \"http://www.quantiguous.com/services\", mode = WebParam.Mode.OUT)\n Holder<BigInteger> numCredits,\n @WebParam(name = \"closingBalance\", targetNamespace = \"http://www.quantiguous.com/services\", mode = WebParam.Mode.OUT)\n Holder<BigDecimal> closingBalance,\n @WebParam(name = \"numTransactions\", targetNamespace = \"http://www.quantiguous.com/services\", mode = WebParam.Mode.OUT)\n Holder<BigInteger> numTransactions,\n @WebParam(name = \"transactionsArray\", targetNamespace = \"http://www.quantiguous.com/services\", mode = WebParam.Mode.OUT)\n Holder<TransactionsArrayType> transactionsArray);\n\n}",
"public interface OperationServiceService extends javax.xml.rpc.Service {\n public java.lang.String getOperationServiceAddress();\n\n public fr.uphf.service.OperationService getOperationService() throws javax.xml.rpc.ServiceException;\n\n public fr.uphf.service.OperationService getOperationService(java.net.URL portAddress) throws javax.xml.rpc.ServiceException;\n}",
"private WebServicesFabrica(){}",
"@WebService(targetNamespace = \"http://www.example.org/BuyMart/\", name = \"BuyMartPortType\")\n@XmlSeeAlso({ObjectFactory.class})\n@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)\npublic interface BuyMartPortType {\n\n @WebMethod(operationName = \"GetOrders\")\n @WebResult(name = \"GetOrdersResponse\", targetNamespace = \"http://www.example.org/BuyMart/\", partName = \"parameters\")\n public GetOrdersResponse getOrders(\n @WebParam(partName = \"parameters\", name = \"GetOrdersRequest\", targetNamespace = \"http://www.example.org/BuyMart/\")\n GetOrdersRequest parameters\n );\n\n @WebMethod(operationName = \"UpdateOrders\")\n @WebResult(name = \"UpdateOrdersResponse\", targetNamespace = \"http://www.example.org/BuyMart/\", partName = \"parameters\")\n public UpdateOrdersResponse updateOrders(\n @WebParam(partName = \"parameters\", name = \"UpdateOrdersRequest\", targetNamespace = \"http://www.example.org/BuyMart/\")\n UpdateOrdersRequest parameters\n );\n\n @WebMethod(operationName = \"CreateOrders\")\n @WebResult(name = \"CreateOrdersResponse\", targetNamespace = \"http://www.example.org/BuyMart/\", partName = \"parameters\")\n public CreateOrdersResponse createOrders(\n @WebParam(partName = \"parameters\", name = \"CreateOrdersRequest\", targetNamespace = \"http://www.example.org/BuyMart/\")\n CreateOrdersRequest parameters\n );\n\n @WebMethod(operationName = \"DeleteOrders\")\n @WebResult(name = \"DeleteOrdersResponse\", targetNamespace = \"http://www.example.org/BuyMart/\", partName = \"parameters\")\n public DeleteOrdersResponse deleteOrders(\n @WebParam(partName = \"parameters\", name = \"DeleteOrdersRequest\", targetNamespace = \"http://www.example.org/BuyMart/\")\n DeleteOrdersRequest parameters\n );\n}",
"@WebService(name = \"HandSoapWeb\", targetNamespace = \"http://soapmanagement.jpdc.se/\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface HandSoapWeb {\n\n\n /**\n * \n * @param arg0\n * @return\n * returns java.util.List<se.jpdc.soapmanagement.HandSoap>\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getSoapsNyBrand\", targetNamespace = \"http://soapmanagement.jpdc.se/\", className = \"se.jpdc.soapmanagement.GetSoapsNyBrand\")\n @ResponseWrapper(localName = \"getSoapsNyBrandResponse\", targetNamespace = \"http://soapmanagement.jpdc.se/\", className = \"se.jpdc.soapmanagement.GetSoapsNyBrandResponse\")\n public List<HandSoap> getSoapsNyBrand(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n String arg0);\n\n /**\n * \n * @param arg0\n */\n @WebMethod\n @RequestWrapper(localName = \"addNewSoap\", targetNamespace = \"http://soapmanagement.jpdc.se/\", className = \"se.jpdc.soapmanagement.AddNewSoap\")\n @ResponseWrapper(localName = \"addNewSoapResponse\", targetNamespace = \"http://soapmanagement.jpdc.se/\", className = \"se.jpdc.soapmanagement.AddNewSoapResponse\")\n public void addNewSoap(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n HandSoap arg0);\n\n /**\n * \n * @return\n * returns java.util.List<se.jpdc.soapmanagement.HandSoap>\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getAllSoaps\", targetNamespace = \"http://soapmanagement.jpdc.se/\", className = \"se.jpdc.soapmanagement.GetAllSoaps\")\n @ResponseWrapper(localName = \"getAllSoapsResponse\", targetNamespace = \"http://soapmanagement.jpdc.se/\", className = \"se.jpdc.soapmanagement.GetAllSoapsResponse\")\n public List<HandSoap> getAllSoaps();\n\n}",
"@WebService(name = \"TempWs\", targetNamespace = \"http://temperature.ws.com\")\r\npublic interface TempWs {\r\n\r\n\r\n /**\r\n * \r\n * @param fahrenheit\r\n * @return\r\n * returns float\r\n */\r\n @WebMethod(action = \"http://temperature.ws.com/toCelsius\")\r\n @WebResult(name = \"returnFahrenheit\", targetNamespace = \"\")\r\n @RequestWrapper(localName = \"toCelsius\", targetNamespace = \"http://temperature.ws.com\", className = \"com.ws.temperature.ToCelsius\")\r\n @ResponseWrapper(localName = \"toCelsiusResponse\", targetNamespace = \"http://temperature.ws.com\", className = \"com.ws.temperature.ToCelsiusResponse\")\r\n public float toCelsius(\r\n @WebParam(name = \"fahrenheit\", targetNamespace = \"\")\r\n float fahrenheit);\r\n\r\n /**\r\n * \r\n * @param celsius\r\n * @return\r\n * returns float\r\n */\r\n @WebMethod(action = \"http://temperature.ws.com/toFahrenheit\")\r\n @WebResult(name = \"returnCelsius\", targetNamespace = \"\")\r\n @RequestWrapper(localName = \"toFahrenheit\", targetNamespace = \"http://temperature.ws.com\", className = \"com.ws.temperature.ToFahrenheit\")\r\n @ResponseWrapper(localName = \"toFahrenheitResponse\", targetNamespace = \"http://temperature.ws.com\", className = \"com.ws.temperature.ToFahrenheitResponse\")\r\n public float toFahrenheit(\r\n @WebParam(name = \"celsius\", targetNamespace = \"\")\r\n float celsius);\r\n\r\n}",
"@WebService(targetNamespace = \"http://www.z2systems.com/schemas/neonws/\", name = \"MembershipService\")\n@XmlSeeAlso({com.z2systems.schemas.membership.ObjectFactory.class, com.z2systems.schemas.common.ObjectFactory.class, com.z2systems.schemas.account.ObjectFactory.class, com.z2systems.schemas.donation.ObjectFactory.class, com.z2systems.schemas.store.ObjectFactory.class, ObjectFactory.class, com.z2systems.schemas.event.ObjectFactory.class})\n@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)\npublic interface MembershipService {\n\n @WebResult(name = \"listMembershipsResponse\", targetNamespace = \"http://www.z2systems.com/schemas/neonws/\", partName = \"response\")\n @WebMethod\n public com.z2systems.schemas.membership.ListMembershipsResponse listMemberships(\n @WebParam(partName = \"request\", name = \"listMembershipsRequest\", targetNamespace = \"http://www.z2systems.com/schemas/neonws/\")\n com.z2systems.schemas.membership.ListMembershipsRequest request\n );\n\n @WebResult(name = \"retrieveMembershipStatsResponse\", targetNamespace = \"http://www.z2systems.com/schemas/neonws/\", partName = \"response\")\n @WebMethod\n public com.z2systems.schemas.membership.RetrieveMembershipStatsResponse retrieveMembershipStats(\n @WebParam(partName = \"request\", name = \"retrieveMembershipStatsRequest\", targetNamespace = \"http://www.z2systems.com/schemas/neonws/\")\n com.z2systems.schemas.membership.RetrieveMembershipStatsRequest request\n );\n\n @WebResult(name = \"listMembershipHistoryResponse\", targetNamespace = \"http://www.z2systems.com/schemas/neonws/\", partName = \"response\")\n @WebMethod\n public com.z2systems.schemas.membership.ListMembershipHistoryResponse listMembershipHistory(\n @WebParam(partName = \"request\", name = \"listMembershipHistoryRequest\", targetNamespace = \"http://www.z2systems.com/schemas/neonws/\")\n com.z2systems.schemas.membership.ListMembershipHistoryRequest request\n );\n\n @WebResult(name = \"listMembershipTermsResponse\", targetNamespace = \"http://www.z2systems.com/schemas/neonws/\", partName = \"response\")\n @WebMethod\n public com.z2systems.schemas.membership.ListMembershipTermsResponse listMembershipTerms(\n @WebParam(partName = \"request\", name = \"listMembershipTermsRequest\", targetNamespace = \"http://www.z2systems.com/schemas/neonws/\")\n com.z2systems.schemas.membership.ListMembershipTermsRequest request\n );\n\n @WebResult(name = \"addMembershipToAccountResponse\", targetNamespace = \"http://www.z2systems.com/schemas/neonws/\", partName = \"response\")\n @WebMethod\n public com.z2systems.schemas.membership.AddMembershipToAccountResponse addMembershipToAccount(\n @WebParam(partName = \"request\", name = \"addMembershipToAccountRequest\", targetNamespace = \"http://www.z2systems.com/schemas/neonws/\")\n com.z2systems.schemas.membership.AddMembershipToAccountRequest request\n );\n}",
"@WebService(name = \"SendMTPortType\", targetNamespace = \"http://sms.neo\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface SendMTPortType {\n\n\n /**\n * \n * @param rtype\n * @param timeend\n * @param password\n * @param receiver\n * @param repeat\n * @param brandname\n * @param timestart\n * @param loaisp\n * @param content\n * @param timesend\n * @param username\n * @param target\n * @return\n * returns java.lang.String\n */\n @WebMethod(action = \"urn:sendMessage\")\n @WebResult(targetNamespace = \"http://sms.neo\")\n @RequestWrapper(localName = \"sendMessage\", targetNamespace = \"http://sms.neo\", className = \"neo.sms.SendMessage\")\n @ResponseWrapper(localName = \"sendMessageResponse\", targetNamespace = \"http://sms.neo\", className = \"neo.sms.SendMessageResponse\")\n public String sendMessage(\n @WebParam(name = \"username\", targetNamespace = \"http://sms.neo\")\n String username,\n @WebParam(name = \"password\", targetNamespace = \"http://sms.neo\")\n String password,\n @WebParam(name = \"receiver\", targetNamespace = \"http://sms.neo\")\n String receiver,\n @WebParam(name = \"content\", targetNamespace = \"http://sms.neo\")\n String content,\n @WebParam(name = \"repeat\", targetNamespace = \"http://sms.neo\")\n Integer repeat,\n @WebParam(name = \"rtype\", targetNamespace = \"http://sms.neo\")\n Integer rtype,\n @WebParam(name = \"loaisp\", targetNamespace = \"http://sms.neo\")\n Integer loaisp,\n @WebParam(name = \"brandname\", targetNamespace = \"http://sms.neo\")\n String brandname,\n @WebParam(name = \"timestart\", targetNamespace = \"http://sms.neo\")\n String timestart,\n @WebParam(name = \"timeend\", targetNamespace = \"http://sms.neo\")\n String timeend,\n @WebParam(name = \"timesend\", targetNamespace = \"http://sms.neo\")\n String timesend,\n @WebParam(name = \"target\", targetNamespace = \"http://sms.neo\")\n String target);\n\n /**\n * \n * @param password\n * @param receiver\n * @param content\n * @param username\n * @param target\n * @return\n * returns java.lang.String\n */\n @WebMethod(action = \"urn:sendFromServiceNumber\")\n @WebResult(targetNamespace = \"http://sms.neo\")\n @RequestWrapper(localName = \"sendFromServiceNumber\", targetNamespace = \"http://sms.neo\", className = \"neo.sms.SendFromServiceNumber\")\n @ResponseWrapper(localName = \"sendFromServiceNumberResponse\", targetNamespace = \"http://sms.neo\", className = \"neo.sms.SendFromServiceNumberResponse\")\n public String sendFromServiceNumber(\n @WebParam(name = \"username\", targetNamespace = \"http://sms.neo\")\n String username,\n @WebParam(name = \"password\", targetNamespace = \"http://sms.neo\")\n String password,\n @WebParam(name = \"receiver\", targetNamespace = \"http://sms.neo\")\n String receiver,\n @WebParam(name = \"content\", targetNamespace = \"http://sms.neo\")\n String content,\n @WebParam(name = \"target\", targetNamespace = \"http://sms.neo\")\n String target);\n\n /**\n * \n * @param password\n * @param receiver\n * @param brandname\n * @param content\n * @param username\n * @param target\n * @return\n * returns java.lang.String\n */\n @WebMethod(action = \"urn:sendFromBrandname\")\n @WebResult(targetNamespace = \"http://sms.neo\")\n @RequestWrapper(localName = \"sendFromBrandname\", targetNamespace = \"http://sms.neo\", className = \"neo.sms.SendFromBrandname\")\n @ResponseWrapper(localName = \"sendFromBrandnameResponse\", targetNamespace = \"http://sms.neo\", className = \"neo.sms.SendFromBrandnameResponse\")\n public String sendFromBrandname(\n @WebParam(name = \"username\", targetNamespace = \"http://sms.neo\")\n String username,\n @WebParam(name = \"password\", targetNamespace = \"http://sms.neo\")\n String password,\n @WebParam(name = \"receiver\", targetNamespace = \"http://sms.neo\")\n String receiver,\n @WebParam(name = \"brandname\", targetNamespace = \"http://sms.neo\")\n String brandname,\n @WebParam(name = \"content\", targetNamespace = \"http://sms.neo\")\n String content,\n @WebParam(name = \"target\", targetNamespace = \"http://sms.neo\")\n String target);\n\n /**\n * \n * @param password\n * @param cardSerial\n * @param cardCode\n * @param issure\n * @param username\n * @return\n * returns java.lang.String\n */\n @WebMethod(action = \"urn:useCard\")\n @WebResult(targetNamespace = \"http://sms.neo\")\n @RequestWrapper(localName = \"useCard\", targetNamespace = \"http://sms.neo\", className = \"neo.sms.UseCard\")\n @ResponseWrapper(localName = \"useCardResponse\", targetNamespace = \"http://sms.neo\", className = \"neo.sms.UseCardResponse\")\n public String useCard(\n @WebParam(name = \"username\", targetNamespace = \"http://sms.neo\")\n String username,\n @WebParam(name = \"password\", targetNamespace = \"http://sms.neo\")\n String password,\n @WebParam(name = \"issure\", targetNamespace = \"http://sms.neo\")\n String issure,\n @WebParam(name = \"cardCode\", targetNamespace = \"http://sms.neo\")\n String cardCode,\n @WebParam(name = \"cardSerial\", targetNamespace = \"http://sms.neo\")\n String cardSerial);\n\n /**\n * \n * @param password\n * @param receiver\n * @param brandname\n * @param loaisp\n * @param content\n * @param username\n * @param target\n * @return\n * returns java.lang.String\n */\n @WebMethod(action = \"urn:sendSMS\")\n @WebResult(targetNamespace = \"http://sms.neo\")\n @RequestWrapper(localName = \"sendSMS\", targetNamespace = \"http://sms.neo\", className = \"neo.sms.SendSMS\")\n @ResponseWrapper(localName = \"sendSMSResponse\", targetNamespace = \"http://sms.neo\", className = \"neo.sms.SendSMSResponse\")\n public String sendSMS(\n @WebParam(name = \"username\", targetNamespace = \"http://sms.neo\")\n String username,\n @WebParam(name = \"password\", targetNamespace = \"http://sms.neo\")\n String password,\n @WebParam(name = \"receiver\", targetNamespace = \"http://sms.neo\")\n String receiver,\n @WebParam(name = \"content\", targetNamespace = \"http://sms.neo\")\n String content,\n @WebParam(name = \"loaisp\", targetNamespace = \"http://sms.neo\")\n Integer loaisp,\n @WebParam(name = \"brandname\", targetNamespace = \"http://sms.neo\")\n String brandname,\n @WebParam(name = \"target\", targetNamespace = \"http://sms.neo\")\n String target);\n\n}",
"@WebService(name = \"CajaUnificadaWeb\", targetNamespace = \"http://ws.cajaunificada.imperial.cl/cajaunificada\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface CajaUnificadaWeb {\n\n\n /**\n * \n * @param profileCode\n * @param stationName\n * @param userCode\n * @return\n * returns cl.imperial.cajaunificada.ws.StartupResult\n * @throws CajaUnificadaWebException\n */\n @WebMethod\n @WebResult(name = \"startupResult\", targetNamespace = \"http://ws.cajaunificada.imperial.cl/cajaunificada\")\n @RequestWrapper(localName = \"startup\", targetNamespace = \"http://ws.cajaunificada.imperial.cl/cajaunificada\", className = \"cl.imperial.cajaunificada.ws.Startup\")\n @ResponseWrapper(localName = \"startupResponse\", targetNamespace = \"http://ws.cajaunificada.imperial.cl/cajaunificada\", className = \"cl.imperial.cajaunificada.ws.StartupResponse\")\n @Action(input = \"http://ws.cajaunificada.imperial.cl/cajaunificada/CajaUnificadaWeb/startupRequest\", output = \"http://ws.cajaunificada.imperial.cl/cajaunificada/CajaUnificadaWeb/startupResponse\", fault = {\n @FaultAction(className = CajaUnificadaWebException.class, value = \"http://ws.cajaunificada.imperial.cl/cajaunificada/CajaUnificadaWeb/startup/Fault/CajaUnificadaWebException\")\n })\n public StartupResult startup(\n @WebParam(name = \"userCode\", targetNamespace = \"http://ws.cajaunificada.imperial.cl/cajaunificada\")\n String userCode,\n @WebParam(name = \"profileCode\", targetNamespace = \"http://ws.cajaunificada.imperial.cl/cajaunificada\")\n BigDecimal profileCode,\n @WebParam(name = \"stationName\", targetNamespace = \"http://ws.cajaunificada.imperial.cl/cajaunificada\")\n String stationName)\n throws CajaUnificadaWebException\n ;\n\n /**\n * \n * @param profileCode\n * @param stationName\n * @param nroInterno\n * @param codEmp\n * @param userCode\n * @return\n * returns cl.imperial.cajaunificada.ws.ValeGetResult\n * @throws CajaUnificadaWebException\n */\n @WebMethod\n @WebResult(name = \"valeGetResult\", targetNamespace = \"http://ws.cajaunificada.imperial.cl/cajaunificada\")\n @RequestWrapper(localName = \"valeGet\", targetNamespace = \"http://ws.cajaunificada.imperial.cl/cajaunificada\", className = \"cl.imperial.cajaunificada.ws.ValeGet\")\n @ResponseWrapper(localName = \"valeGetResponse\", targetNamespace = \"http://ws.cajaunificada.imperial.cl/cajaunificada\", className = \"cl.imperial.cajaunificada.ws.ValeGetResponse\")\n @Action(input = \"http://ws.cajaunificada.imperial.cl/cajaunificada/CajaUnificadaWeb/valeGetRequest\", output = \"http://ws.cajaunificada.imperial.cl/cajaunificada/CajaUnificadaWeb/valeGetResponse\", fault = {\n @FaultAction(className = CajaUnificadaWebException.class, value = \"http://ws.cajaunificada.imperial.cl/cajaunificada/CajaUnificadaWeb/valeGet/Fault/CajaUnificadaWebException\")\n })\n public ValeGetResult valeGet(\n @WebParam(name = \"userCode\", targetNamespace = \"http://ws.cajaunificada.imperial.cl/cajaunificada\")\n String userCode,\n @WebParam(name = \"profileCode\", targetNamespace = \"http://ws.cajaunificada.imperial.cl/cajaunificada\")\n BigDecimal profileCode,\n @WebParam(name = \"stationName\", targetNamespace = \"http://ws.cajaunificada.imperial.cl/cajaunificada\")\n String stationName,\n @WebParam(name = \"nroInterno\", targetNamespace = \"http://ws.cajaunificada.imperial.cl/cajaunificada\")\n int nroInterno,\n @WebParam(name = \"codEmp\", targetNamespace = \"http://ws.cajaunificada.imperial.cl/cajaunificada\")\n String codEmp)\n throws CajaUnificadaWebException\n ;\n\n /**\n * \n * @param nroInterno\n * @return\n * returns cl.imperial.cajaunificada.ws.RegistraPagoResult\n * @throws CajaUnificadaWebException\n */\n @WebMethod\n @WebResult(name = \"registraPagoResult\", targetNamespace = \"http://ws.cajaunificada.imperial.cl/cajaunificada\")\n @RequestWrapper(localName = \"registraPago\", targetNamespace = \"http://ws.cajaunificada.imperial.cl/cajaunificada\", className = \"cl.imperial.cajaunificada.ws.RegistraPago\")\n @ResponseWrapper(localName = \"registraPagoResponse\", targetNamespace = \"http://ws.cajaunificada.imperial.cl/cajaunificada\", className = \"cl.imperial.cajaunificada.ws.RegistraPagoResponse\")\n @Action(input = \"http://ws.cajaunificada.imperial.cl/cajaunificada/CajaUnificadaWeb/registraPagoRequest\", output = \"http://ws.cajaunificada.imperial.cl/cajaunificada/CajaUnificadaWeb/registraPagoResponse\", fault = {\n @FaultAction(className = CajaUnificadaWebException.class, value = \"http://ws.cajaunificada.imperial.cl/cajaunificada/CajaUnificadaWeb/registraPago/Fault/CajaUnificadaWebException\")\n })\n public RegistraPagoResult registraPago(\n @WebParam(name = \"nroInterno\", targetNamespace = \"http://ws.cajaunificada.imperial.cl/cajaunificada\")\n int nroInterno)\n throws CajaUnificadaWebException\n ;\n\n}",
"@WebService(targetNamespace = \"http://ven.ws.pms.dhcc.com/\", name = \"OrderStateWServiceInterface\")\r\n@XmlSeeAlso({ObjectFactory.class})\r\n@SOAPBinding(style = SOAPBinding.Style.RPC)\r\npublic interface OrderStateWServiceInterface {\r\n\r\n @WebResult(name = \"operateResult\", targetNamespace = \"http://ven.ws.pms.dhcc.com/\", partName = \"operateResult\")\r\n @WebMethod\r\n public OperateResult deliver(\r\n @WebParam(partName = \"deliveritms\", name = \"deliveritms\")\r\n VenDeliveritmArray deliveritms\r\n );\r\n\r\n @WebResult(name = \"operateResult\", targetNamespace = \"http://ven.ws.pms.dhcc.com/\", partName = \"operateResult\")\r\n @WebMethod\r\n public OperateResult getVenInc(\r\n @WebParam(partName = \"venIncWeb\", name = \"venIncWeb\")\r\n VenIncWeb venIncWeb\r\n );\r\n\r\n @WebResult(name = \"orderWebVos\", targetNamespace = \"http://ven.ws.pms.dhcc.com/\", partName = \"orderWebVos\")\r\n @WebMethod\r\n public OrderWebVoArray listOrderWS(\r\n @WebParam(partName = \"passWord\", name = \"passWord\")\r\n java.lang.String passWord,\r\n @WebParam(partName = \"userName\", name = \"userName\")\r\n java.lang.String userName\r\n );\r\n\r\n @WebResult(name = \"return\", targetNamespace = \"http://ven.ws.pms.dhcc.com/\", partName = \"return\")\r\n @WebMethod\r\n public OperateResult recievedMsg(\r\n @WebParam(partName = \"orderId\", name = \"orderId\")\r\n long orderId\r\n );\r\n}",
"@WebService(name = \"BillingService\", targetNamespace = \"http://billing.jaxws.bt.com/\")\n@HandlerChain(file = \"BillingService_handler.xml\")\n@SOAPBinding(style = SOAPBinding.Style.RPC)\n@XmlSeeAlso({\n com.bt.jaxb.model.ObjectFactory.class,\n com.bt.jaxws.billing.ObjectFactory.class\n})\npublic interface BillingService {\n\n\n /**\n * \n * @param arg1\n * @param arg0\n * @return\n * returns javax.xml.ws.Response<com.bt.jaxws.billing.Invoice>\n */\n @WebMethod(operationName = \"getInvoice\")\n public Response<Invoice> getInvoiceAsync(\n @WebParam(name = \"arg0\", partName = \"arg0\")\n Customer arg0,\n @WebParam(name = \"arg1\", partName = \"arg1\")\n String arg1);\n\n /**\n * \n * @param arg1\n * @param arg0\n * @param asyncHandler\n * @return\n * returns java.util.concurrent.Future<? extends java.lang.Object>\n */\n @WebMethod(operationName = \"getInvoice\")\n public Future<?> getInvoiceAsync(\n @WebParam(name = \"arg0\", partName = \"arg0\")\n Customer arg0,\n @WebParam(name = \"arg1\", partName = \"arg1\")\n String arg1,\n @WebParam(name = \"asyncHandler\", partName = \"asyncHandler\")\n AsyncHandler<Invoice> asyncHandler);\n\n /**\n * \n * @param arg1\n * @param arg0\n * @return\n * returns com.bt.jaxws.billing.Invoice\n * @throws InvalidCustomerException_Exception\n */\n @WebMethod\n @WebResult(partName = \"return\")\n @Action(input = \"http://billing.jaxws.bt.com/BillingService/getInvoiceRequest\", output = \"http://billing.jaxws.bt.com/BillingService/getInvoiceResponse\", fault = {\n @FaultAction(className = InvalidCustomerException_Exception.class, value = \"http://billing.jaxws.bt.com/BillingService/getInvoice/Fault/InvalidCustomerException\")\n })\n public Invoice getInvoice(\n @WebParam(name = \"arg0\", partName = \"arg0\")\n Customer arg0,\n @WebParam(name = \"arg1\", partName = \"arg1\")\n String arg1)\n throws InvalidCustomerException_Exception\n ;\n\n}",
"@WebService(name = \"WebServiceEntry\", targetNamespace = \"http://ws.adapter.bsoft.com/\")\n@SOAPBinding(style = SOAPBinding.Style.RPC)\npublic interface WebServiceEntry {\n\n\t/**\n\t * \n\t * @param arg4\n\t * @param arg3\n\t * @param arg2\n\t * @param arg1\n\t * @param arg0\n\t * @return returns java.lang.String\n\t * @throws Exception_Exception\n\t */\n\t@WebMethod\n\t@WebResult(partName = \"return\")\n\tpublic String invoke(\n\t\t\t@WebParam(name = \"arg0\", partName = \"arg0\") String arg0,\n\t\t\t@WebParam(name = \"arg1\", partName = \"arg1\") String arg1,\n\t\t\t@WebParam(name = \"arg2\", partName = \"arg2\") String arg2,\n\t\t\t@WebParam(name = \"arg3\", partName = \"arg3\") String arg3,\n\t\t\t@WebParam(name = \"arg4\", partName = \"arg4\") StringArray arg4)\n\t\t\tthrows Exception_Exception;\n\n\t/**\n * \n */\n\t@WebMethod\n\tpublic void startWs();\n\n\t/**\n\t * \n\t * @param arg3\n\t * @param arg2\n\t * @param arg1\n\t * @param arg0\n\t * @return returns java.lang.String\n\t * @throws Exception_Exception\n\t */\n\t@WebMethod\n\t@WebResult(partName = \"return\")\n\tpublic String transportData(\n\t\t\t@WebParam(name = \"arg0\", partName = \"arg0\") String arg0,\n\t\t\t@WebParam(name = \"arg1\", partName = \"arg1\") String arg1,\n\t\t\t@WebParam(name = \"arg2\", partName = \"arg2\") int arg2,\n\t\t\t@WebParam(name = \"arg3\", partName = \"arg3\") String arg3)\n\t\t\tthrows Exception_Exception;\n\n}",
"@WebService(name = \"BillPayServiceAT\", targetNamespace = \"http://jaxws.billpay.wsat.edu.unf.com/\")\r\n@SOAPBinding(style = SOAPBinding.Style.RPC)\r\n@XmlSeeAlso({\r\n ObjectFactory.class\r\n})\r\npublic interface BillPayServiceAT {\r\n\r\n\r\n /**\r\n * \r\n * @param arg1\r\n * @param arg0\r\n * @throws BillPayException\r\n */\r\n @WebMethod\r\n public void paybillamount(\r\n @WebParam(name = \"arg0\", partName = \"arg0\")\r\n String arg0,\r\n @WebParam(name = \"arg1\", partName = \"arg1\")\r\n long arg1)\r\n throws BillPayException\r\n ;\r\n\r\n}",
"@WebService(targetNamespace = \"urn:hl7-org:v3\", name = \"HL7MessageServerService\")\n@XmlSeeAlso({ObjectFactory.class})\npublic interface HL7MessageServerService {\n\n @WebMethod(operationName = \"HIPMessageServer\", action = \"HIPMessageServer\")\n @RequestWrapper(localName = \"HIPMessageServer\", targetNamespace = \"urn:hl7-org:v3\", className = \"org.hl7.v3.HIPMessageServer\")\n @ResponseWrapper(localName = \"HIPMessageServerResponse\", targetNamespace = \"urn:hl7-org:v3\", className = \"org.hl7.v3.HIPMessageServerResponse\")\n @WebResult(name = \"return\", targetNamespace = \"\")\n public java.lang.String hipMessageServer(\n @WebParam(name = \"action\", targetNamespace = \"urn:hl7-org:v3\")\n java.lang.String action,\n @WebParam(name = \"message\", targetNamespace = \"urn:hl7-org:v3\")\n java.lang.String message\n );\n}",
"@WebService(targetNamespace = \"http://www.example.org/s2/\", name = \"s2\")\n@XmlSeeAlso({ObjectFactory.class})\n@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)\npublic interface S2 {\n\n @WebMethod(operationName = \"S2Operation\", action = \"http://www.example.org/s2/S2Operation\")\n @WebResult(name = \"FulfillmentResponse\", targetNamespace = \"http://www.example.org/s2/\", partName = \"parameters\")\n public FulfillmentResponse s2Operation(\n @WebParam(partName = \"parameters\", name = \"FulfillmentRequest\", targetNamespace = \"http://www.example.org/s2/\")\n FulfillmentRequest parameters\n );\n}",
"@WebService(name = \"TerminationCoordinatorPortType\", targetNamespace = \"http://schemas.arjuna.com/ws/2005/10/wsarjtx\")\n@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface TerminationCoordinatorPortType {\n\n\n /**\n * \n * @param parameters\n */\n @WebMethod(operationName = \"CompleteOperation\", action = \"http://schemas.arjuna.com/ws/2005/10/wsarjtx/Complete\")\n @Oneway\n public void completeOperation(\n @WebParam(name = \"Complete\", targetNamespace = \"http://schemas.arjuna.com/ws/2005/10/wsarjtx\", partName = \"parameters\")\n NotificationType parameters);\n\n /**\n * \n * @param parameters\n */\n @WebMethod(operationName = \"CloseOperation\", action = \"http://schemas.arjuna.com/ws/2005/10/wsarjtx/Close\")\n @Oneway\n public void closeOperation(\n @WebParam(name = \"Close\", targetNamespace = \"http://schemas.arjuna.com/ws/2005/10/wsarjtx\", partName = \"parameters\")\n NotificationType parameters);\n\n /**\n * \n * @param parameters\n */\n @WebMethod(operationName = \"CancelOperation\", action = \"http://schemas.arjuna.com/ws/2005/10/wsarjtx/Cancel\")\n @Oneway\n public void cancelOperation(\n @WebParam(name = \"Cancel\", targetNamespace = \"http://schemas.arjuna.com/ws/2005/10/wsarjtx\", partName = \"parameters\")\n NotificationType parameters);\n\n}",
"@WebService(targetNamespace = \"http://soa.agh.edu.pl/\", name = \"HelloWorld\")\n@XmlSeeAlso({ObjectFactory.class})\npublic interface HelloWorld {\n\n @WebMethod(operationName = \"Hi\")\n @RequestWrapper(localName = \"Hi\", targetNamespace = \"http://soa.agh.edu.pl/\", className = \"pl.edu.agh.soa.Hi\")\n @ResponseWrapper(localName = \"HiResponse\", targetNamespace = \"http://soa.agh.edu.pl/\", className = \"pl.edu.agh.soa.HiResponse\")\n @WebResult(name = \"ElementsWraper\", targetNamespace = \"\")\n public pl.edu.agh.soa.HiResponse.ElementsWraper hi(\n @WebParam(name = \"name\", targetNamespace = \"\")\n java.lang.String name\n );\n\n @WebMethod(action = \"Hello\")\n @RequestWrapper(localName = \"hello\", targetNamespace = \"http://soa.agh.edu.pl/\", className = \"pl.edu.agh.soa.Hello\")\n @ResponseWrapper(localName = \"helloResponse\", targetNamespace = \"http://soa.agh.edu.pl/\", className = \"pl.edu.agh.soa.HelloResponse\")\n @WebResult(name = \"return\", targetNamespace = \"\")\n public java.lang.String hello(\n @WebParam(name = \"name\", targetNamespace = \"\")\n java.lang.String name\n );\n}",
"@WebService(name = \"LDBSVServiceSoap\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\")\r\n@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)\r\n@XmlSeeAlso({\r\n com.thalesgroup.rtti._2017_10_01.ldbsv.types.ObjectFactory.class,\r\n com.thalesgroup.rtti._2017_10_01.ldbsv.ObjectFactory.class,\r\n com.thalesgroup.rtti._2015_05_14.ldbsv_ref.types.ObjectFactory.class,\r\n com.thalesgroup.rtti._2012_01_13.ldbsv.types.ObjectFactory.class,\r\n com.thalesgroup.rtti._2013_11_28.token.types.ObjectFactory.class,\r\n com.thalesgroup.rtti._2014_02_20.ldbsv.types.ObjectFactory.class,\r\n com.thalesgroup.rtti._2015_05_14.ldbsv_ref.ObjectFactory.class,\r\n com.thalesgroup.rtti._2015_11_27.ldbsv.commontypes.ObjectFactory.class,\r\n com.thalesgroup.rtti._2015_11_27.ldbsv.types.ObjectFactory.class,\r\n com.thalesgroup.rtti._2016_02_16.ldbsv.types.ObjectFactory.class,\r\n com.thalesgroup.rtti._2017_10_01.ldbsv.commontypes.ObjectFactory.class,\r\n com.thalesgroup.rtti._2007_10_10.ldb.commontypes.ObjectFactory.class\r\n})\r\npublic interface LDBSVServiceSoap {\r\n\r\n\r\n /**\r\n * \r\n * @param parameters\r\n * @return\r\n * returns com.thalesgroup.rtti._2017_10_01.ldbsv.GetBoardResponseType\r\n */\r\n @WebMethod(operationName = \"GetArrivalDepartureBoardByCRS\", action = \"http://thalesgroup.com/RTTI/2012-01-13/ldbsv/GetArrivalDepartureBoardByCRS\")\r\n @WebResult(name = \"GetArrivalDepartureBoardByCRSResponse\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n public GetBoardResponseType getArrivalDepartureBoardByCRS(\r\n @WebParam(name = \"GetArrivalDepartureBoardByCRSRequest\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n GetBoardByCRSParams parameters);\r\n\r\n /**\r\n * \r\n * @param parameters\r\n * @return\r\n * returns com.thalesgroup.rtti._2017_10_01.ldbsv.GetBoardResponseType\r\n */\r\n @WebMethod(operationName = \"GetArrivalDepartureBoardByTIPLOC\", action = \"http://thalesgroup.com/RTTI/2012-01-13/ldbsv/GetArrivalDepartureBoardByTIPLOC\")\r\n @WebResult(name = \"GetArrivalDepartureBoardByTIPLOCResponse\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n public GetBoardResponseType getArrivalDepartureBoardByTIPLOC(\r\n @WebParam(name = \"GetArrivalDepartureBoardByTIPLOCRequest\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n GetBoardByTIPLOCParams parameters);\r\n\r\n /**\r\n * \r\n * @param parameters\r\n * @return\r\n * returns com.thalesgroup.rtti._2017_10_01.ldbsv.GetBoardResponseType\r\n */\r\n @WebMethod(operationName = \"GetArrivalBoardByCRS\", action = \"http://thalesgroup.com/RTTI/2012-01-13/ldbsv/GetArrivalBoardByCRS\")\r\n @WebResult(name = \"GetArrivalBoardByCRSResponse\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n public GetBoardResponseType getArrivalBoardByCRS(\r\n @WebParam(name = \"GetArrivalBoardByCRSRequest\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n GetBoardByCRSParams parameters);\r\n\r\n /**\r\n * \r\n * @param parameters\r\n * @return\r\n * returns com.thalesgroup.rtti._2017_10_01.ldbsv.GetBoardResponseType\r\n */\r\n @WebMethod(operationName = \"GetArrivalBoardByTIPLOC\", action = \"http://thalesgroup.com/RTTI/2012-01-13/ldbsv/GetArrivalBoardByTIPLOC\")\r\n @WebResult(name = \"GetArrivalBoardByTIPLOCResponse\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n public GetBoardResponseType getArrivalBoardByTIPLOC(\r\n @WebParam(name = \"GetArrivalBoardByTIPLOCRequest\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n GetBoardByTIPLOCParams parameters);\r\n\r\n /**\r\n * \r\n * @param parameters\r\n * @return\r\n * returns com.thalesgroup.rtti._2017_10_01.ldbsv.GetBoardResponseType\r\n */\r\n @WebMethod(operationName = \"GetDepartureBoardByCRS\", action = \"http://thalesgroup.com/RTTI/2012-01-13/ldbsv/GetDepartureBoardByCRS\")\r\n @WebResult(name = \"GetDepartureBoardByCRSResponse\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n public GetBoardResponseType getDepartureBoardByCRS(\r\n @WebParam(name = \"GetDepartureBoardByCRSRequest\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n GetBoardByCRSParams parameters);\r\n\r\n /**\r\n * \r\n * @param parameters\r\n * @return\r\n * returns com.thalesgroup.rtti._2017_10_01.ldbsv.GetBoardResponseType\r\n */\r\n @WebMethod(operationName = \"GetDepartureBoardByTIPLOC\", action = \"http://thalesgroup.com/RTTI/2012-01-13/ldbsv/GetDepartureBoardByTIPLOC\")\r\n @WebResult(name = \"GetDepartureBoardByTIPLOCResponse\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n public GetBoardResponseType getDepartureBoardByTIPLOC(\r\n @WebParam(name = \"GetDepartureBoardByTIPLOCRequest\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n GetBoardByTIPLOCParams parameters);\r\n\r\n /**\r\n * \r\n * @param parameters\r\n * @return\r\n * returns com.thalesgroup.rtti._2017_10_01.ldbsv.GetServiceDetailsResponseType\r\n */\r\n @WebMethod(operationName = \"GetServiceDetailsByRID\", action = \"http://thalesgroup.com/RTTI/2012-01-13/ldbsv/GetServiceDetailsByRID\")\r\n @WebResult(name = \"GetServiceDetailsByRIDResponse\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n public GetServiceDetailsResponseType getServiceDetailsByRID(\r\n @WebParam(name = \"GetServiceDetailsByRIDRequest\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n GetServiceDetailsByRIDParams parameters);\r\n\r\n /**\r\n * \r\n * @param parameters\r\n * @return\r\n * returns com.thalesgroup.rtti._2017_10_01.ldbsv.QueryServicesResponseType\r\n */\r\n @WebMethod(operationName = \"QueryServices\", action = \"http://thalesgroup.com/RTTI/2012-01-13/ldbsv/QueryServices\")\r\n @WebResult(name = \"QueryServicesResponse\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n public QueryServicesResponseType queryServices(\r\n @WebParam(name = \"QueryServicesRequest\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n QueryServicesRequestParams parameters);\r\n\r\n /**\r\n * \r\n * @param parameters\r\n * @return\r\n * returns com.thalesgroup.rtti._2017_10_01.ldbsv.GetReasonCodeResponseType\r\n */\r\n @WebMethod(operationName = \"GetReasonCode\", action = \"http://thalesgroup.com/RTTI/2012-01-13/ldbsv/GetReasonCode\")\r\n @WebResult(name = \"GetReasonCodeResponse\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n public GetReasonCodeResponseType getReasonCode(\r\n @WebParam(name = \"GetReasonCodeRequest\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n GetReasonCodeRequestParams parameters);\r\n\r\n /**\r\n * \r\n * @param parameters\r\n * @return\r\n * returns com.thalesgroup.rtti._2017_10_01.ldbsv.GetReasonCodeListResponseType\r\n */\r\n @WebMethod(operationName = \"GetReasonCodeList\", action = \"http://thalesgroup.com/RTTI/2012-01-13/ldbsv/GetReasonCodeList\")\r\n @WebResult(name = \"GetReasonCodeListResponse\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n public GetReasonCodeListResponseType getReasonCodeList(\r\n @WebParam(name = \"GetReasonCodeListRequest\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n VoidParams parameters);\r\n\r\n /**\r\n * \r\n * @param parameters\r\n * @return\r\n * returns com.thalesgroup.rtti._2017_10_01.ldbsv.GetDisruptionListResponseType\r\n */\r\n @WebMethod(operationName = \"GetDisruptionList\", action = \"http://thalesgroup.com/RTTI/2012-01-13/ldbsv/GetDisruptionList\")\r\n @WebResult(name = \"GetDisruptionListResponse\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n public GetDisruptionListResponseType getDisruptionList(\r\n @WebParam(name = \"GetDisruptionListRequest\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n GetDisruptionListRequestParams parameters);\r\n\r\n /**\r\n * \r\n * @param parameters\r\n * @return\r\n * returns com.thalesgroup.rtti._2017_10_01.ldbsv.GetSourceInstanceNamesResponseType\r\n */\r\n @WebMethod(operationName = \"GetSourceInstanceNames\", action = \"http://thalesgroup.com/RTTI/2012-01-13/ldbsv/GetSourceInstanceNames\")\r\n @WebResult(name = \"GetSourceInstanceNamesResponse\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n public GetSourceInstanceNamesResponseType getSourceInstanceNames(\r\n @WebParam(name = \"GetSourceInstanceNamesRequest\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n VoidParams parameters);\r\n\r\n /**\r\n * \r\n * @param parameters\r\n * @return\r\n * returns com.thalesgroup.rtti._2017_10_01.ldbsv.GetHistoricDepartureBoardResponseType\r\n */\r\n @WebMethod(operationName = \"GetHistoricDepartureBoard\", action = \"http://thalesgroup.com/RTTI/2012-01-13/ldbsv/GetHistoricDepartureBoard\")\r\n @WebResult(name = \"GetHistoricDepartureBoardResponse\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n public GetHistoricDepartureBoardResponseType getHistoricDepartureBoard(\r\n @WebParam(name = \"GetHistoricDepartureBoardRequest\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n GetHistoricDepartureBoardRequestParams parameters);\r\n\r\n /**\r\n * \r\n * @param parameters\r\n * @return\r\n * returns com.thalesgroup.rtti._2017_10_01.ldbsv.GetHistoricServiceDetailsResponseType\r\n */\r\n @WebMethod(operationName = \"GetHistoricServiceDetails\", action = \"http://thalesgroup.com/RTTI/2012-01-13/ldbsv/GetHistoricServiceDetails\")\r\n @WebResult(name = \"GetHistoricServiceDetailsResponse\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n public GetHistoricServiceDetailsResponseType getHistoricServiceDetails(\r\n @WebParam(name = \"GetHistoricServiceDetailsRequest\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n GetHistoricServiceDetailsRequestParams parameters);\r\n\r\n /**\r\n * \r\n * @param parameters\r\n * @return\r\n * returns com.thalesgroup.rtti._2017_10_01.ldbsv.GetHistoricTimeLineResponseType\r\n */\r\n @WebMethod(operationName = \"GetHistoricTimeLine\", action = \"http://thalesgroup.com/RTTI/2012-01-13/ldbsv/GetHistoricTimeLine\")\r\n @WebResult(name = \"GetHistoricTimeLineResponse\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n public GetHistoricTimeLineResponseType getHistoricTimeLine(\r\n @WebParam(name = \"GetHistoricTimeLineRequest\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n GetHistoricTimeLineRequestParams parameters);\r\n\r\n /**\r\n * \r\n * @param parameters\r\n * @return\r\n * returns com.thalesgroup.rtti._2017_10_01.ldbsv.QueryHistoricServicesResponseType\r\n */\r\n @WebMethod(operationName = \"QueryHistoricServices\", action = \"http://thalesgroup.com/RTTI/2012-01-13/ldbsv/QueryHistoricServices\")\r\n @WebResult(name = \"QueryHistoricServicesResponse\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n public QueryHistoricServicesResponseType queryHistoricServices(\r\n @WebParam(name = \"QueryHistoricServicesRequest\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n QueryHistoricServicesRequestParams parameters);\r\n\r\n /**\r\n * \r\n * @param parameters\r\n * @return\r\n * returns com.thalesgroup.rtti._2017_10_01.ldbsv.GetStationBoardWithDetailsResponseType\r\n */\r\n @WebMethod(operationName = \"GetArrDepBoardWithDetails\", action = \"http://thalesgroup.com/RTTI/2015-05-14/ldbsv/GetArrDepBoardWithDetails\")\r\n @WebResult(name = \"GetArrDepBoardWithDetailsResponse\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n public GetStationBoardWithDetailsResponseType getArrDepBoardWithDetails(\r\n @WebParam(name = \"GetArrDepBoardWithDetailsRequest\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n GetBoardByCRSParams parameters);\r\n\r\n /**\r\n * \r\n * @param parameters\r\n * @return\r\n * returns com.thalesgroup.rtti._2017_10_01.ldbsv.GetStationBoardWithDetailsResponseType\r\n */\r\n @WebMethod(operationName = \"GetArrBoardWithDetails\", action = \"http://thalesgroup.com/RTTI/2015-05-14/ldbsv/GetArrBoardWithDetails\")\r\n @WebResult(name = \"GetArrBoardWithDetailsResponse\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n public GetStationBoardWithDetailsResponseType getArrBoardWithDetails(\r\n @WebParam(name = \"GetArrBoardWithDetailsRequest\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n GetBoardByCRSParams parameters);\r\n\r\n /**\r\n * \r\n * @param parameters\r\n * @return\r\n * returns com.thalesgroup.rtti._2017_10_01.ldbsv.GetStationBoardWithDetailsResponseType\r\n */\r\n @WebMethod(operationName = \"GetDepBoardWithDetails\", action = \"http://thalesgroup.com/RTTI/2015-05-14/ldbsv/GetDepBoardWithDetails\")\r\n @WebResult(name = \"GetDepBoardWithDetailsResponse\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n public GetStationBoardWithDetailsResponseType getDepBoardWithDetails(\r\n @WebParam(name = \"GetDepBoardWithDetailsRequest\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n GetBoardByCRSParams parameters);\r\n\r\n /**\r\n * \r\n * @param parameters\r\n * @return\r\n * returns com.thalesgroup.rtti._2017_10_01.ldbsv.DeparturesBoardResponseType\r\n */\r\n @WebMethod(operationName = \"GetNextDepartures\", action = \"http://thalesgroup.com/RTTI/2015-05-14/ldbsv/GetNextDepartures\")\r\n @WebResult(name = \"GetNextDeparturesResponse\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n public DeparturesBoardResponseType getNextDepartures(\r\n @WebParam(name = \"GetNextDeparturesRequest\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n GetDeparturesParams parameters);\r\n\r\n /**\r\n * \r\n * @param parameters\r\n * @return\r\n * returns com.thalesgroup.rtti._2017_10_01.ldbsv.DeparturesBoardResponseType\r\n */\r\n @WebMethod(operationName = \"GetFastestDepartures\", action = \"http://thalesgroup.com/RTTI/2015-05-14/ldbsv/GetFastestDepartures\")\r\n @WebResult(name = \"GetFastestDeparturesResponse\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n public DeparturesBoardResponseType getFastestDepartures(\r\n @WebParam(name = \"GetFastestDeparturesRequest\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n GetDeparturesParams parameters);\r\n\r\n /**\r\n * \r\n * @param parameters\r\n * @return\r\n * returns com.thalesgroup.rtti._2017_10_01.ldbsv.DeparturesBoardWithDetailsResponseType\r\n */\r\n @WebMethod(operationName = \"GetNextDeparturesWithDetails\", action = \"http://thalesgroup.com/RTTI/2015-05-14/ldbsv/GetNextDeparturesWithDetails\")\r\n @WebResult(name = \"GetNextDeparturesWithDetailsResponse\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n public DeparturesBoardWithDetailsResponseType getNextDeparturesWithDetails(\r\n @WebParam(name = \"GetNextDeparturesWithDetailsRequest\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n GetDeparturesParams parameters);\r\n\r\n /**\r\n * \r\n * @param parameters\r\n * @return\r\n * returns com.thalesgroup.rtti._2017_10_01.ldbsv.DeparturesBoardWithDetailsResponseType\r\n */\r\n @WebMethod(operationName = \"GetFastestDeparturesWithDetails\", action = \"http://thalesgroup.com/RTTI/2015-05-14/ldbsv/GetFastestDeparturesWithDetails\")\r\n @WebResult(name = \"GetFastestDeparturesWithDetailsResponse\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n public DeparturesBoardWithDetailsResponseType getFastestDeparturesWithDetails(\r\n @WebParam(name = \"GetFastestDeparturesWithDetailsRequest\", targetNamespace = \"http://thalesgroup.com/RTTI/2017-10-01/ldbsv/\", partName = \"parameters\")\r\n GetDeparturesParams parameters);\r\n\r\n}",
"@WebService(name = \"MyServ\", targetNamespace = \"http://myServ\")\r\n@XmlSeeAlso({\r\n ObjectFactory.class\r\n})\r\npublic interface MyServ {\r\n\r\n\r\n /**\r\n * \r\n * @param arg0\r\n * @return\r\n * returns double\r\n */\r\n @WebMethod(operationName = \"ConvertMtoKm\")\r\n @WebResult(targetNamespace = \"\")\r\n @RequestWrapper(localName = \"ConvertMtoKm\", targetNamespace = \"http://myServ\", className = \"myserv.ConvertMtoKm\")\r\n @ResponseWrapper(localName = \"ConvertMtoKmResponse\", targetNamespace = \"http://myServ\", className = \"myserv.ConvertMtoKmResponse\")\r\n public double convertMtoKm(\r\n @WebParam(name = \"arg0\", targetNamespace = \"\")\r\n double arg0);\r\n\r\n}",
"@WebService(name = \"LegislationSearch\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface LegislationSearch {\n\n\n /**\n * \n * @param startIndex\n * @param pageSize\n * @param constraints\n * @return\n * returns gov.ga.legis.legislation.LegislationSearchResultsPaged\n * @throws LegislationSearchGetLegislationSearchResultsPagedInvalidPageSizeFaultFaultFaultMessage\n * @throws LegislationSearchGetLegislationSearchResultsPagedInvalidSearchConstraintsFaultFaultFaultMessage\n */\n @WebMethod(operationName = \"GetLegislationSearchResultsPaged\", action = \"http://www.legis.ga.gov/2009/01/01/services/LegislationSearch/GetLegislationSearchResultsPaged\")\n @WebResult(name = \"GetLegislationSearchResultsPagedResult\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\")\n @RequestWrapper(localName = \"GetLegislationSearchResultsPaged\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\", className = \"gov.ga.legis.legislation.GetLegislationSearchResultsPaged\")\n @ResponseWrapper(localName = \"GetLegislationSearchResultsPagedResponse\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\", className = \"gov.ga.legis.legislation.GetLegislationSearchResultsPagedResponse\")\n public LegislationSearchResultsPaged getLegislationSearchResultsPaged(\n @WebParam(name = \"Constraints\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\")\n LegislationSearchConstraints constraints,\n @WebParam(name = \"PageSize\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\")\n Integer pageSize,\n @WebParam(name = \"StartIndex\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\")\n Integer startIndex)\n throws LegislationSearchGetLegislationSearchResultsPagedInvalidPageSizeFaultFaultFaultMessage, LegislationSearchGetLegislationSearchResultsPagedInvalidSearchConstraintsFaultFaultFaultMessage\n ;\n\n /**\n * \n * @param sessionId\n * @return\n * returns gov.ga.legis.legislation.ArrayOfLegislationIndex\n */\n @WebMethod(operationName = \"GetLegislationForSession\", action = \"http://www.legis.ga.gov/2009/01/01/services/LegislationSearch/GetLegislationForSession\")\n @WebResult(name = \"GetLegislationForSessionResult\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\")\n @RequestWrapper(localName = \"GetLegislationForSession\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\", className = \"gov.ga.legis.legislation.GetLegislationForSession\")\n @ResponseWrapper(localName = \"GetLegislationForSessionResponse\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\", className = \"gov.ga.legis.legislation.GetLegislationForSessionResponse\")\n public ArrayOfLegislationIndex getLegislationForSession(\n @WebParam(name = \"SessionId\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\")\n Integer sessionId);\n\n /**\n * \n * @param documentType\n * @param sessionId\n * @param rangeSize\n * @return\n * returns gov.ga.legis.legislation.ArrayOfLegislationIndexRangeSet\n */\n @WebMethod(operationName = \"GetLegislationRanges\", action = \"http://www.legis.ga.gov/2009/01/01/services/LegislationSearch/GetLegislationRanges\")\n @WebResult(name = \"GetLegislationRangesResult\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\")\n @RequestWrapper(localName = \"GetLegislationRanges\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\", className = \"gov.ga.legis.legislation.GetLegislationRanges\")\n @ResponseWrapper(localName = \"GetLegislationRangesResponse\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\", className = \"gov.ga.legis.legislation.GetLegislationRangesResponse\")\n public ArrayOfLegislationIndexRangeSet getLegislationRanges(\n @WebParam(name = \"SessionId\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\")\n Integer sessionId,\n @WebParam(name = \"DocumentType\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\")\n DocumentType documentType,\n @WebParam(name = \"RangeSize\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\")\n Integer rangeSize);\n\n /**\n * \n * @param range\n * @return\n * returns gov.ga.legis.legislation.LegislationIndexRange\n */\n @WebMethod(operationName = \"GetLegislationRange\", action = \"http://www.legis.ga.gov/2009/01/01/services/LegislationSearch/GetLegislationRange\")\n @WebResult(name = \"GetLegislationRangeResult\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\")\n @RequestWrapper(localName = \"GetLegislationRange\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\", className = \"gov.ga.legis.legislation.GetLegislationRange\")\n @ResponseWrapper(localName = \"GetLegislationRangeResponse\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\", className = \"gov.ga.legis.legislation.GetLegislationRangeResponse\")\n public LegislationIndexRange getLegislationRange(\n @WebParam(name = \"Range\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\")\n LegislationIndexRangeSet range);\n\n /**\n * \n * @param legislationId\n * @return\n * returns gov.ga.legis.legislation.LegislationDetail\n */\n @WebMethod(operationName = \"GetLegislationDetail\", action = \"http://www.legis.ga.gov/2009/01/01/services/LegislationSearch/GetLegislationDetail\")\n @WebResult(name = \"GetLegislationDetailResult\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\")\n @RequestWrapper(localName = \"GetLegislationDetail\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\", className = \"gov.ga.legis.legislation.GetLegislationDetail\")\n @ResponseWrapper(localName = \"GetLegislationDetailResponse\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\", className = \"gov.ga.legis.legislation.GetLegislationDetailResponse\")\n public LegislationDetail getLegislationDetail(\n @WebParam(name = \"LegislationId\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\")\n Integer legislationId);\n\n /**\n * \n * @param number\n * @param documentType\n * @param sessionId\n * @return\n * returns gov.ga.legis.legislation.LegislationDetail\n */\n @WebMethod(operationName = \"GetLegislationDetailByDescription\", action = \"http://www.legis.ga.gov/2009/01/01/services/LegislationSearch/GetLegislationDetailByDescription\")\n @WebResult(name = \"GetLegislationDetailByDescriptionResult\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\")\n @RequestWrapper(localName = \"GetLegislationDetailByDescription\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\", className = \"gov.ga.legis.legislation.GetLegislationDetailByDescription\")\n @ResponseWrapper(localName = \"GetLegislationDetailByDescriptionResponse\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\", className = \"gov.ga.legis.legislation.GetLegislationDetailByDescriptionResponse\")\n public LegislationDetail getLegislationDetailByDescription(\n @WebParam(name = \"DocumentType\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\")\n DocumentType documentType,\n @WebParam(name = \"Number\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\")\n Integer number,\n @WebParam(name = \"SessionId\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\")\n Integer sessionId);\n\n /**\n * \n * @return\n * returns gov.ga.legis.legislation.ArrayOfSubject\n */\n @WebMethod(operationName = \"GetTitles\", action = \"http://www.legis.ga.gov/2009/01/01/services/LegislationSearch/GetTitles\")\n @WebResult(name = \"GetTitlesResult\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\")\n @RequestWrapper(localName = \"GetTitles\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\", className = \"gov.ga.legis.legislation.GetTitles\")\n @ResponseWrapper(localName = \"GetTitlesResponse\", targetNamespace = \"http://www.legis.ga.gov/2009/01/01/services/\", className = \"gov.ga.legis.legislation.GetTitlesResponse\")\n public ArrayOfSubject getTitles();\n\n}",
"@WebService\npublic interface MessageService extends Serializable{\n\n /**\n * Sends messages to registered patients\n *\n * @param messages List of messages to be sent\n */\n @WebMethod\n public void sendPatientMessages(@WebParam(name=\"messages\") PatientMessage[] messages);\n\t\n /**\n * Sends a message to a registered patient\n *\n * @param messageId Id of the message to send\n * @param personalInfo List of name value pairs containing patient information\n * @param patientNumber Patient mobile contact number\n * @param patientNumberType Type of contact number. Possible values include PERSONAL, SHARED\n * @param langCode Code representing preferred communication language\n * @param mediaType Patient's preferred communication medium\n * @param notificationType Type of message to send to patient\n * @param startDate Date to begin message sending attempts\n * @param endDate Date to stop message sending attempts\n * @param recipientId String unique identifier of the recipient\n * @return The status of the message\n */\n @WebMethod\n public MessageStatus sendPatientMessage(@WebParam(name=\"messageId\") String messageId, \n \t\t\t\t\t\t\t\t\t\t@WebParam(name=\"personalInfo\") NameValuePair[] personalInfo, \n \t\t\t\t\t\t\t\t\t\t@WebParam(name=\"patientNumber\") String patientNumber, \n \t\t\t\t\t\t\t\t\t\t@WebParam(name=\"patientNumberType\") ContactNumberType patientNumberType, \n \t\t\t\t\t\t\t\t\t\t@WebParam(name=\"langCode\") String langCode, \n \t\t\t\t\t\t\t\t\t\t@WebParam(name=\"mediaType\") MediaType mediaType, \n \t\t\t\t\t\t\t\t\t\t@WebParam(name=\"notificationType\") Long notificationType, \n \t\t\t\t\t\t\t\t\t\t@WebParam(name=\"startDate\")Date startDate, \n \t\t\t\t\t\t\t\t\t\t@WebParam(name=\"endDate\")Date endDate,\n \t\t\t\t\t\t\t\t\t\t@WebParam(name=\"recipientId\")String recipientId);\n\n /**\n * Sends a message to a registered CHPS worker\n *\n * @param messageId Id of the message to send\n * @param personalInfo List of name value pairs containing patient information\n * @param workerNumber CHPS worker's mobile contact number\n * @param patients A List of patients requiring service from CHPS worker\n * @param langCode Code representing preferred communication language\n * @param mediaType Patient's preferred communication medium\n * @param notificationType Type of message to send to patient\n * @param startDate Date to begin message sending attempts\n * @param endDate Date to stop message sending attempts\n * @return The status of the message\n */\n @WebMethod\n public MessageStatus sendCHPSMessage(@WebParam(name=\"messageId\") String messageId, @WebParam(name=\"personalInfo\") NameValuePair[] personalInfo, @WebParam(name=\"workerNumber\") String workerNumber, @WebParam(name=\"patients\") Patient[] patients, @WebParam(name=\"langCode\") String langCode, @WebParam(name=\"mediaType\") MediaType mediaType, @WebParam(name=\"notificationType\") Long notificationType, @WebParam(name=\"startDate\")Date startDate, @WebParam(name=\"endDate\")Date endDate);\n\n /**\n * Sends a list of care defaulters to a CHPS worker\n *\n * @param messageId Id of the message to send\n * @param workerNumber CHPS worker's mobile contact number\n * @param cares List of patient care options which have defaulters\n * @param mediaType Patient's preferred communication medium\n * @param startDate Date to begin message sending attempts\n * @param endDate Date to stop message sending attempts\n * @return The status of the message\n */\n @WebMethod\n public MessageStatus sendDefaulterMessage(@WebParam(name = \"messageId\") String messageId,\n @WebParam(name = \"workerNumber\") String workerNumber,\n @WebParam(name = \"cares\") Care[] cares,\n @WebParam(name = \"media\") MediaType mediaType,\n @WebParam(name = \"startDate\") Date startDate,\n @WebParam(name = \"endDate\") Date endDate);\n\n /**\n * Sends a list of patients within a delivery schedule to a CHPS worker\n *\n * @param messageId Id of the message to send\n * @param workerNumber CHPS worker's mobile contact number\n * @param patients List of patients with matching delivery status\n * @param deliveryStatus Status of patient delivery. Expected values are 'Upcoming', 'Recent' and 'Overdue'\n * @param mediaType Patient's preferred communication medium\n * @param startDate Date to begin message sending attempts\n * @param endDate Date to stop message sending attempts\n * @return The status of the message\n */\n @WebMethod\n public MessageStatus sendDeliveriesMessage(@WebParam(name = \"messageId\") String messageId,\n @WebParam(name = \"workerNumber\") String workerNumber,\n @WebParam(name = \"patients\") Patient[] patients,\n @WebParam(name = \"deliveryStatus\") String deliveryStatus,\n @WebParam(name = \"mediaType\") MediaType mediaType,\n @WebParam(name = \"startDate\") Date startDate,\n @WebParam(name = \"endDate\") Date endDate);\n\n /**\n * Sends a list of upcoming care for a particular patient to a CHPS worker\n *\n * @param messageId Id of the message to send\n * @param workerNumber CHPS worker's mobile contact number\n * @param patient patient due for care\n * @param mediaType Patient's preferred communication medium\n * @param startDate Date to begin message sending attempts\n * @param endDate Date to stop message sending attempts\n * @return The status of the message\n */\n @WebMethod\n public MessageStatus sendUpcomingCaresMessage(@WebParam(name = \"messageId\") String messageId,\n @WebParam(name = \"workerNumber\") String workerNumber,\n @WebParam(name = \"patient\") Patient patient,\n @WebParam(name = \"mediaType\") MediaType mediaType,\n @WebParam(name = \"startDate\") Date startDate,\n @WebParam(name = \"endDate\") Date endDate);\n\n /**\n * Sends an SMS message\n *\n * @param content the message to send\n * @param recipient the phone number to receive the message\n * @return\n */\n @WebMethod\n public MessageStatus sendMessage(@WebParam(name = \"content\") String content,\n @WebParam(name = \"recipient\") String recipient);\n\n /**\n * Sends multiple upcoming care messages to a CHPS worker\n *\n * @param messageId Id of the message to send\n * @param workerNumber CHPS worker's mobile contact number\n * @param cares List of upcoming care\n * @param mediaType Patient's preferred communication medium\n * @param startDate Date to begin message sending attempts\n * @param endDate Date to stop message sending attempts\n * @return The status of the message\n */\n @WebMethod\n public MessageStatus sendBulkCaresMessage(@WebParam(name = \"messageId\") String messageId,\n @WebParam(name = \"workerNumber\") String workerNumber,\n @WebParam(name = \"patient\") Care[] cares,\n @WebParam(name = \"mediaType\") MediaType mediaType,\n @WebParam(name = \"startDate\") Date startDate,\n @WebParam(name = \"endDate\") Date endDate);\n}",
"@WebService(name = \"BookService\", targetNamespace = \"http://webservices.arabie.com/\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface BookService {\n\n\n /**\n * \n * @param arg0\n * @return\n * returns boolean\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"deleteBook\", targetNamespace = \"http://webservices.arabie.com/\", className = \"com.arabie.myservice.DeleteBook\")\n @ResponseWrapper(localName = \"deleteBookResponse\", targetNamespace = \"http://webservices.arabie.com/\", className = \"com.arabie.myservice.DeleteBookResponse\")\n @Action(input = \"http://webservices.arabie.com/BookService/deleteBookRequest\", output = \"http://webservices.arabie.com/BookService/deleteBookResponse\")\n public boolean deleteBook(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n int arg0);\n\n /**\n * \n * @param arg0\n * @return\n * returns com.arabie.myservice.Book\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getBook\", targetNamespace = \"http://webservices.arabie.com/\", className = \"com.arabie.myservice.GetBook\")\n @ResponseWrapper(localName = \"getBookResponse\", targetNamespace = \"http://webservices.arabie.com/\", className = \"com.arabie.myservice.GetBookResponse\")\n @Action(input = \"http://webservices.arabie.com/BookService/getBookRequest\", output = \"http://webservices.arabie.com/BookService/getBookResponse\")\n public Book getBook(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n int arg0);\n\n /**\n * \n * @param arg3\n * @param arg2\n * @param arg1\n * @param arg0\n * @return\n * returns com.arabie.myservice.Book\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"addBook\", targetNamespace = \"http://webservices.arabie.com/\", className = \"com.arabie.myservice.AddBook\")\n @ResponseWrapper(localName = \"addBookResponse\", targetNamespace = \"http://webservices.arabie.com/\", className = \"com.arabie.myservice.AddBookResponse\")\n @Action(input = \"http://webservices.arabie.com/BookService/addBookRequest\", output = \"http://webservices.arabie.com/BookService/addBookResponse\")\n public Book addBook(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n String arg0,\n @WebParam(name = \"arg1\", targetNamespace = \"\")\n int arg1,\n @WebParam(name = \"arg2\", targetNamespace = \"\")\n double arg2,\n @WebParam(name = \"arg3\", targetNamespace = \"\")\n String arg3);\n\n /**\n * \n * @param arg1\n * @param arg0\n * @return\n * returns com.arabie.myservice.Book\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"updateBook\", targetNamespace = \"http://webservices.arabie.com/\", className = \"com.arabie.myservice.UpdateBook\")\n @ResponseWrapper(localName = \"updateBookResponse\", targetNamespace = \"http://webservices.arabie.com/\", className = \"com.arabie.myservice.UpdateBookResponse\")\n @Action(input = \"http://webservices.arabie.com/BookService/updateBookRequest\", output = \"http://webservices.arabie.com/BookService/updateBookResponse\")\n public Book updateBook(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n int arg0,\n @WebParam(name = \"arg1\", targetNamespace = \"\")\n String arg1);\n\n}",
"@WebService(targetNamespace = \"http://server.gameco.com/\", name = \"IGameExchangeService\")\n@XmlSeeAlso({ObjectFactory.class})\npublic interface IGameExchangeService {\n\n @WebMethod(action = \"urn:SetMoves\")\n @RequestWrapper(localName = \"setMoves\", targetNamespace = \"http://server.gameco.com/\", className = \"com.gameco.server.SetMoves\")\n @ResponseWrapper(localName = \"setMovesResponse\", targetNamespace = \"http://server.gameco.com/\", className = \"com.gameco.server.SetMovesResponse\")\n public void setMoves(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n com.gameco.server.GameHistory arg0\n );\n\n @WebMethod(action = \"urn:SetMove\")\n @RequestWrapper(localName = \"setMove\", targetNamespace = \"http://server.gameco.com/\", className = \"com.gameco.server.SetMove\")\n @ResponseWrapper(localName = \"setMoveResponse\", targetNamespace = \"http://server.gameco.com/\", className = \"com.gameco.server.SetMoveResponse\")\n public void setMove(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n com.gameco.server.GameMove arg0\n );\n\n @WebMethod(action = \"urn:GetGames\")\n @RequestWrapper(localName = \"getGames\", targetNamespace = \"http://server.gameco.com/\", className = \"com.gameco.server.GetGames\")\n @ResponseWrapper(localName = \"getGamesResponse\", targetNamespace = \"http://server.gameco.com/\", className = \"com.gameco.server.GetGamesResponse\")\n @WebResult(name = \"return\", targetNamespace = \"\")\n public java.util.List<com.gameco.server.PlayingGame> getGames();\n\n @WebMethod(action = \"urn:Invite\")\n @RequestWrapper(localName = \"invite\", targetNamespace = \"http://server.gameco.com/\", className = \"com.gameco.server.Invite\")\n @ResponseWrapper(localName = \"inviteResponse\", targetNamespace = \"http://server.gameco.com/\", className = \"com.gameco.server.InviteResponse\")\n public void invite(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n java.util.List<java.lang.String> arg0\n );\n\n @WebMethod(action = \"urn:Join\")\n @RequestWrapper(localName = \"join\", targetNamespace = \"http://server.gameco.com/\", className = \"com.gameco.server.Join\")\n @ResponseWrapper(localName = \"joinResponse\", targetNamespace = \"http://server.gameco.com/\", className = \"com.gameco.server.JoinResponse\")\n public void join(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n java.lang.String arg0\n );\n\n @WebMethod(action = \"urn:GetUsers\")\n @RequestWrapper(localName = \"getUsers\", targetNamespace = \"http://server.gameco.com/\", className = \"com.gameco.server.GetUsers\")\n @ResponseWrapper(localName = \"getUsersResponse\", targetNamespace = \"http://server.gameco.com/\", className = \"com.gameco.server.GetUsersResponse\")\n @WebResult(name = \"return\", targetNamespace = \"\")\n public java.util.List<com.gameco.server.User> getUsers();\n\n @WebMethod(action = \"urn:Logout\")\n @RequestWrapper(localName = \"logout\", targetNamespace = \"http://server.gameco.com/\", className = \"com.gameco.server.Logout\")\n @ResponseWrapper(localName = \"logoutResponse\", targetNamespace = \"http://server.gameco.com/\", className = \"com.gameco.server.LogoutResponse\")\n public void logout();\n\n @WebMethod(action = \"urn:AddCallback\")\n @RequestWrapper(localName = \"addCallback\", targetNamespace = \"http://server.gameco.com/\", className = \"com.gameco.server.AddCallback\")\n @ResponseWrapper(localName = \"addCallbackResponse\", targetNamespace = \"http://server.gameco.com/\", className = \"com.gameco.server.AddCallbackResponse\")\n public void addCallback(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n javax.xml.ws.wsaddressing.W3CEndpointReference arg0\n );\n\n @WebMethod(action = \"urn:Accept\")\n @RequestWrapper(localName = \"accept\", targetNamespace = \"http://server.gameco.com/\", className = \"com.gameco.server.Accept\")\n @ResponseWrapper(localName = \"acceptResponse\", targetNamespace = \"http://server.gameco.com/\", className = \"com.gameco.server.AcceptResponse\")\n public void accept(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n java.lang.String arg0\n );\n\n @WebMethod(action = \"urn:GetAvaibleGames\")\n @RequestWrapper(localName = \"getAvaibleGames\", targetNamespace = \"http://server.gameco.com/\", className = \"com.gameco.server.GetAvaibleGames\")\n @ResponseWrapper(localName = \"getAvaibleGamesResponse\", targetNamespace = \"http://server.gameco.com/\", className = \"com.gameco.server.GetAvaibleGamesResponse\")\n @WebResult(name = \"return\", targetNamespace = \"\")\n public java.util.List<java.lang.String> getAvaibleGames();\n\n @WebMethod(action = \"urn:Login\")\n @RequestWrapper(localName = \"login\", targetNamespace = \"http://server.gameco.com/\", className = \"com.gameco.server.Login\")\n @ResponseWrapper(localName = \"loginResponse\", targetNamespace = \"http://server.gameco.com/\", className = \"com.gameco.server.LoginResponse\")\n @WebResult(name = \"return\", targetNamespace = \"\")\n public com.gameco.server.User login(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n java.lang.String arg0,\n @WebParam(name = \"arg1\", targetNamespace = \"\")\n java.lang.String arg1\n ) throws CredentialException_Exception;\n\n @WebMethod(action = \"urn:Cancel\")\n @RequestWrapper(localName = \"cancel\", targetNamespace = \"http://server.gameco.com/\", className = \"com.gameco.server.Cancel\")\n @ResponseWrapper(localName = \"cancelResponse\", targetNamespace = \"http://server.gameco.com/\", className = \"com.gameco.server.CancelResponse\")\n public void cancel(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n java.lang.String arg0\n );\n}",
"@WebService(targetNamespace = \"http://tempuri.org/\", name = \"YCJKServiceSoap\")\r\n@XmlSeeAlso({ObjectFactory.class})\r\npublic interface YCJKServiceSoap {\r\n\r\n @WebMethod(action = \"http://tempuri.org/saveYCJC\")\r\n @RequestWrapper(localName = \"saveYCJC\", targetNamespace = \"http://tempuri.org/\", className = \"com.webservice.xxxq.ws.SaveYCJC\")\r\n @ResponseWrapper(localName = \"saveYCJCResponse\", targetNamespace = \"http://tempuri.org/\", className = \"com.webservice.xxxq.ws.SaveYCJCResponse\")\r\n @WebResult(name = \"saveYCJCResult\", targetNamespace = \"http://tempuri.org/\")\r\n public java.lang.String saveYCJC(\r\n @WebParam(name = \"elements\", targetNamespace = \"http://tempuri.org/\")\r\n java.lang.String elements\r\n );\r\n\r\n @WebMethod(action = \"http://tempuri.org/saveYCJCArray\")\r\n @RequestWrapper(localName = \"saveYCJCArray\", targetNamespace = \"http://tempuri.org/\", className = \"com.webservice.xxxq.ws.SaveYCJCArray\")\r\n @ResponseWrapper(localName = \"saveYCJCArrayResponse\", targetNamespace = \"http://tempuri.org/\", className = \"com.webservice.xxxq.ws.SaveYCJCArrayResponse\")\r\n @WebResult(name = \"saveYCJCArrayResult\", targetNamespace = \"http://tempuri.org/\")\r\n public java.lang.String saveYCJCArray(\r\n @WebParam(name = \"elements\", targetNamespace = \"http://tempuri.org/\")\r\n com.webservice.xxxq.ws.ArrayOfArrayOfString elements\r\n );\r\n}",
"@WebService(name = \"ZBC_EVENT_RAISE_WEB\", targetNamespace = \"urn:sap-com:document:sap:rfc:functions\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface ZBCEVENTRAISEWEB {\n\n\n /**\n * \n * @param eventparm\n * @param eventid\n * @param targetINSTANCE\n * @return\n * returns java.lang.String\n * @throws ZBCEVENTRAISEException\n */\n @WebMethod(operationName = \"ZBC_EVENT_RAISE\", action = \"urn:sap-com:document:sap:rfc:functions:ZBC_EVENT_RAISE_WEB:ZBC_EVENT_RAISERequest\")\n @WebResult(name = \"EV_SUCCESS\", targetNamespace = \"\")\n @RequestWrapper(localName = \"ZBC_EVENT_RAISE\", targetNamespace = \"urn:sap-com:document:sap:rfc:functions\", className = \"com.sap.document.sap.rfc.functions.ZBCEVENTRAISE\")\n @ResponseWrapper(localName = \"ZBC_EVENT_RAISEResponse\", targetNamespace = \"urn:sap-com:document:sap:rfc:functions\", className = \"com.sap.document.sap.rfc.functions.ZBCEVENTRAISEResponse\")\n public String zbcEVENTRAISE(\n @WebParam(name = \"EVENTID\", targetNamespace = \"\")\n String eventid,\n @WebParam(name = \"EVENTPARM\", targetNamespace = \"\")\n String eventparm,\n @WebParam(name = \"TARGET_INSTANCE\", targetNamespace = \"\")\n String targetINSTANCE)\n throws ZBCEVENTRAISEException\n ;\n\n}",
"@WebService(name = \"TTTWebService\", targetNamespace = \"http://server.james.ttt/\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface TTTWebService {\n\n\n /**\n * \n * @param password\n * @param surname\n * @param name\n * @param username\n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"register\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.Register\")\n @ResponseWrapper(localName = \"registerResponse\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.RegisterResponse\")\n @Action(input = \"http://server.james.ttt/TTTWebService/registerRequest\", output = \"http://server.james.ttt/TTTWebService/registerResponse\")\n public String register(\n @WebParam(name = \"username\", targetNamespace = \"\")\n String username,\n @WebParam(name = \"password\", targetNamespace = \"\")\n String password,\n @WebParam(name = \"name\", targetNamespace = \"\")\n String name,\n @WebParam(name = \"surname\", targetNamespace = \"\")\n String surname);\n\n /**\n * \n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"test\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.Test\")\n @ResponseWrapper(localName = \"testResponse\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.TestResponse\")\n @Action(input = \"http://server.james.ttt/TTTWebService/testRequest\", output = \"http://server.james.ttt/TTTWebService/testResponse\")\n public String test();\n\n /**\n * \n * @param uid\n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"newGame\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.NewGame\")\n @ResponseWrapper(localName = \"newGameResponse\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.NewGameResponse\")\n @Action(input = \"http://server.james.ttt/TTTWebService/newGameRequest\", output = \"http://server.james.ttt/TTTWebService/newGameResponse\")\n public String newGame(\n @WebParam(name = \"uid\", targetNamespace = \"\")\n int uid);\n\n /**\n * \n * @param uid\n * @param gid\n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"joinGame\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.JoinGame\")\n @ResponseWrapper(localName = \"joinGameResponse\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.JoinGameResponse\")\n @Action(input = \"http://server.james.ttt/TTTWebService/joinGameRequest\", output = \"http://server.james.ttt/TTTWebService/joinGameResponse\")\n public String joinGame(\n @WebParam(name = \"uid\", targetNamespace = \"\")\n int uid,\n @WebParam(name = \"gid\", targetNamespace = \"\")\n int gid);\n\n /**\n * \n * @param gid\n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getGameState\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.GetGameState\")\n @ResponseWrapper(localName = \"getGameStateResponse\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.GetGameStateResponse\")\n @Action(input = \"http://server.james.ttt/TTTWebService/getGameStateRequest\", output = \"http://server.james.ttt/TTTWebService/getGameStateResponse\")\n public String getGameState(\n @WebParam(name = \"gid\", targetNamespace = \"\")\n int gid);\n\n /**\n * \n * @param gid\n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getBoard\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.GetBoard\")\n @ResponseWrapper(localName = \"getBoardResponse\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.GetBoardResponse\")\n @Action(input = \"http://server.james.ttt/TTTWebService/getBoardRequest\", output = \"http://server.james.ttt/TTTWebService/getBoardResponse\")\n public String getBoard(\n @WebParam(name = \"gid\", targetNamespace = \"\")\n int gid);\n\n /**\n * \n * @param gid\n * @param gstate\n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"setGameState\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.SetGameState\")\n @ResponseWrapper(localName = \"setGameStateResponse\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.SetGameStateResponse\")\n @Action(input = \"http://server.james.ttt/TTTWebService/setGameStateRequest\", output = \"http://server.james.ttt/TTTWebService/setGameStateResponse\")\n public String setGameState(\n @WebParam(name = \"gid\", targetNamespace = \"\")\n int gid,\n @WebParam(name = \"gstate\", targetNamespace = \"\")\n int gstate);\n\n /**\n * \n * @param uid\n * @param gid\n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"deleteGame\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.DeleteGame\")\n @ResponseWrapper(localName = \"deleteGameResponse\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.DeleteGameResponse\")\n @Action(input = \"http://server.james.ttt/TTTWebService/deleteGameRequest\", output = \"http://server.james.ttt/TTTWebService/deleteGameResponse\")\n public String deleteGame(\n @WebParam(name = \"gid\", targetNamespace = \"\")\n int gid,\n @WebParam(name = \"uid\", targetNamespace = \"\")\n int uid);\n\n /**\n * \n * @param uid\n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"showMyOpenGames\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.ShowMyOpenGames\")\n @ResponseWrapper(localName = \"showMyOpenGamesResponse\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.ShowMyOpenGamesResponse\")\n @Action(input = \"http://server.james.ttt/TTTWebService/showMyOpenGamesRequest\", output = \"http://server.james.ttt/TTTWebService/showMyOpenGamesResponse\")\n public String showMyOpenGames(\n @WebParam(name = \"uid\", targetNamespace = \"\")\n int uid);\n\n /**\n * \n * @param gid\n * @param x\n * @param y\n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"checkSquare\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.CheckSquare\")\n @ResponseWrapper(localName = \"checkSquareResponse\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.CheckSquareResponse\")\n @Action(input = \"http://server.james.ttt/TTTWebService/checkSquareRequest\", output = \"http://server.james.ttt/TTTWebService/checkSquareResponse\")\n public String checkSquare(\n @WebParam(name = \"x\", targetNamespace = \"\")\n int x,\n @WebParam(name = \"y\", targetNamespace = \"\")\n int y,\n @WebParam(name = \"gid\", targetNamespace = \"\")\n int gid);\n\n /**\n * \n * @param gid\n * @param x\n * @param y\n * @param pid\n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"takeSquare\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.TakeSquare\")\n @ResponseWrapper(localName = \"takeSquareResponse\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.TakeSquareResponse\")\n @Action(input = \"http://server.james.ttt/TTTWebService/takeSquareRequest\", output = \"http://server.james.ttt/TTTWebService/takeSquareResponse\")\n public String takeSquare(\n @WebParam(name = \"x\", targetNamespace = \"\")\n int x,\n @WebParam(name = \"y\", targetNamespace = \"\")\n int y,\n @WebParam(name = \"gid\", targetNamespace = \"\")\n int gid,\n @WebParam(name = \"pid\", targetNamespace = \"\")\n int pid);\n\n /**\n * \n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"leagueTable\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.LeagueTable\")\n @ResponseWrapper(localName = \"leagueTableResponse\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.LeagueTableResponse\")\n @Action(input = \"http://server.james.ttt/TTTWebService/leagueTableRequest\", output = \"http://server.james.ttt/TTTWebService/leagueTableResponse\")\n public String leagueTable();\n\n /**\n * \n * @param uid\n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"showAllMyGames\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.ShowAllMyGames\")\n @ResponseWrapper(localName = \"showAllMyGamesResponse\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.ShowAllMyGamesResponse\")\n @Action(input = \"http://server.james.ttt/TTTWebService/showAllMyGamesRequest\", output = \"http://server.james.ttt/TTTWebService/showAllMyGamesResponse\")\n public String showAllMyGames(\n @WebParam(name = \"uid\", targetNamespace = \"\")\n int uid);\n\n /**\n * \n * @param gid\n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"checkWin\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.CheckWin\")\n @ResponseWrapper(localName = \"checkWinResponse\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.CheckWinResponse\")\n @Action(input = \"http://server.james.ttt/TTTWebService/checkWinRequest\", output = \"http://server.james.ttt/TTTWebService/checkWinResponse\")\n public String checkWin(\n @WebParam(name = \"gid\", targetNamespace = \"\")\n int gid);\n\n /**\n * \n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"showOpenGames\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.ShowOpenGames\")\n @ResponseWrapper(localName = \"showOpenGamesResponse\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.ShowOpenGamesResponse\")\n @Action(input = \"http://server.james.ttt/TTTWebService/showOpenGamesRequest\", output = \"http://server.james.ttt/TTTWebService/showOpenGamesResponse\")\n public String showOpenGames();\n\n /**\n * \n * @param password\n * @param username\n * @return\n * returns int\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"login\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.Login\")\n @ResponseWrapper(localName = \"loginResponse\", targetNamespace = \"http://server.james.ttt/\", className = \"TTTWebApplication.LoginResponse\")\n @Action(input = \"http://server.james.ttt/TTTWebService/loginRequest\", output = \"http://server.james.ttt/TTTWebService/loginResponse\")\n public int login(\n @WebParam(name = \"username\", targetNamespace = \"\")\n String username,\n @WebParam(name = \"password\", targetNamespace = \"\")\n String password);\n\n}",
"@WebService(name = \"XMXUTIL2Inmsg2\", targetNamespace = \"http://vistaevolution.va.gov\")\npublic interface XMXUTIL2Inmsg2Endpoint {\n \n \n \n /**\n * <pre>\n * \n * This RPC returns message information (Part 2).\n * \n * </pre>\n * \n * @param request -\n * \n * Domain Object that contains All Inmsg2^XMXUTIL2 input\n * Parameters\n * \n * @return XMXUTIL2Inmsg2Response -\n * \n * Domain Object that contains Inmsg2^XMXUTIL2 output data\n * \n * @throws VistaWebServiceFault\n */\n @WebMethod(action = \"XMXUTIL2Inmsg2Action\", operationName = \"XMXUTIL2Inmsg2\")\n public XMXUTIL2Inmsg2Response inmsg2(@WebParam(name = \"XMXUTIL2Inmsg2Request\") XMXUTIL2Inmsg2Request request)\n throws VistaWebServiceFault;\n}"
] | [
"0.66662884",
"0.6506979",
"0.64188504",
"0.6404088",
"0.6380656",
"0.6370897",
"0.6210099",
"0.6188548",
"0.6181135",
"0.61239904",
"0.6114258",
"0.6109316",
"0.6101272",
"0.60675263",
"0.6064094",
"0.6061495",
"0.60570204",
"0.604314",
"0.60151064",
"0.59824544",
"0.5964172",
"0.595917",
"0.5956046",
"0.5937976",
"0.59366244",
"0.5928493",
"0.5923821",
"0.59124875",
"0.5911606",
"0.5903264",
"0.5901394",
"0.5887289",
"0.5884381",
"0.5877689",
"0.5876546",
"0.58532614",
"0.5832745",
"0.5815904",
"0.5798681",
"0.5798622",
"0.5794083",
"0.5786525",
"0.57815194",
"0.57792526",
"0.5778643",
"0.57776725",
"0.5775484",
"0.5771409",
"0.576766",
"0.57571465",
"0.57504404",
"0.57488054",
"0.5746257",
"0.57446885",
"0.5741556",
"0.5741202",
"0.5733404",
"0.573316",
"0.5721097",
"0.57210785",
"0.5718346",
"0.5715346",
"0.5704387",
"0.56898963",
"0.56750154",
"0.56595886",
"0.5654986",
"0.56482744",
"0.5639144",
"0.56333375",
"0.56322896",
"0.5628386",
"0.5628377",
"0.5626962",
"0.5622913",
"0.56207895",
"0.5617174",
"0.561675",
"0.5616045",
"0.561304",
"0.5611125",
"0.5610829",
"0.56107295",
"0.5604725",
"0.5587783",
"0.55871946",
"0.55855185",
"0.557745",
"0.55763257",
"0.5574458",
"0.5566041",
"0.55561906",
"0.55541414",
"0.55527604",
"0.55476886",
"0.5538931",
"0.55371726",
"0.55340123",
"0.55301803",
"0.5520046"
] | 0.5553162 | 93 |
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() {
javax.swing.JScrollPane scrollPane = new javax.swing.JScrollPane();
tree = new javax.swing.JTree();
setMinimumSize(new java.awt.Dimension(200, 300));
tree.setModel(treeModel);
tree.setRootVisible(false);
scrollPane.setViewportView(tree);
org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(this);
this.setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(scrollPane, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 200, Short.MAX_VALUE)
);
layout.setVerticalGroup(
layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(scrollPane, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 300, Short.MAX_VALUE)
);
} | {
"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 initComponents();\n }",
"public AdjointForm() {\n initComponents();\n setDefaultCloseOperation(HIDE_ON_CLOSE);\n }",
"public FormListRemarking() {\n initComponents();\n }",
"public MainForm() {\n initComponents();\n \n }",
"public FormPemilihan() {\n initComponents();\n }",
"public GUIForm() { \n initComponents();\n }",
"public FrameForm() {\n initComponents();\n }",
"public TorneoForm() {\n initComponents();\n }",
"public FormCompra() {\n initComponents();\n }",
"public muveletek() {\n initComponents();\n }",
"public Interfax_D() {\n initComponents();\n }",
"public quanlixe_form() {\n initComponents();\n }",
"public SettingsForm() {\n initComponents();\n }",
"public RegistrationForm() {\n initComponents();\n this.setLocationRelativeTo(null);\n }",
"public Soru1() {\n initComponents();\n }",
"public FMainForm() {\n initComponents();\n this.setResizable(false);\n setLocationRelativeTo(null);\n }",
"public soal2GUI() {\n initComponents();\n }",
"public EindopdrachtGUI() {\n initComponents();\n }",
"public MechanicForm() {\n initComponents();\n }",
"public AddDocumentLineForm(java.awt.Frame parent) {\n super(parent);\n initComponents();\n myInit();\n }",
"public quotaGUI() {\n initComponents();\n }",
"public BloodDonationGUI() {\n initComponents();\n }",
"public Customer_Form() {\n initComponents();\n setSize(890,740);\n \n \n }",
"public PatientUI() {\n initComponents();\n }",
"public myForm() {\n\t\t\tinitComponents();\n\t\t}",
"public Oddeven() {\n initComponents();\n }",
"public Magasin() {\n initComponents();\n }",
"public intrebarea() {\n initComponents();\n }",
"public RadioUI()\n {\n initComponents();\n }",
"public NewCustomerGUI() {\n initComponents();\n }",
"public ZobrazUdalost() {\n initComponents();\n }",
"public FormUtama() {\n initComponents();\n }",
"public p0() {\n initComponents();\n }",
"public INFORMACION() {\n initComponents();\n this.setLocationRelativeTo(null); \n }",
"public ProgramForm() {\n setLookAndFeel();\n initComponents();\n }",
"public AmountReleasedCommentsForm() {\r\n initComponents();\r\n }",
"public form2() {\n initComponents();\n }",
"public MainForm() {\n\t\tsuper(\"Hospital\", List.IMPLICIT);\n\n\t\tstartComponents();\n\t}",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n setName(\"Form\"); // NOI18N\n setRequestFocusEnabled(false);\n setVerifyInputWhenFocusTarget(false);\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n this.setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 465, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 357, Short.MAX_VALUE)\n );\n }",
"public LixeiraForm() {\n initComponents();\n setLocationRelativeTo(null);\n }",
"public kunde() {\n initComponents();\n }",
"public frmMain() {\n initComponents();\n }",
"public frmMain() {\n initComponents();\n }",
"public MusteriEkle() {\n initComponents();\n }",
"public DESHBORDPANAL() {\n initComponents();\n }",
"public GUIForm() {\n initComponents();\n inputField.setText(NO_FILE_SELECTED);\n outputField.setText(NO_FILE_SELECTED);\n progressLabel.setBackground(INFO);\n progressLabel.setText(SELECT_FILE);\n }",
"public frmVenda() {\n initComponents();\n }",
"public FrmMenu() {\n initComponents();\n }",
"public Botonera() {\n initComponents();\n }",
"public OffertoryGUI() {\n initComponents();\n setTypes();\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents()\n {\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n setBackground(new java.awt.Color(255, 255, 255));\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 983, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 769, Short.MAX_VALUE)\n );\n\n pack();\n }",
"public JFFornecedores() {\n initComponents();\n }",
"public EnterDetailsGUI() {\n initComponents();\n }",
"public vpemesanan1() {\n initComponents();\n }",
"public Kost() {\n initComponents();\n }",
"public UploadForm() {\n initComponents();\n }",
"public FormHorarioSSE() {\n initComponents();\n }",
"public frmacceso() {\n initComponents();\n }",
"public HW3() {\n initComponents();\n }",
"public Managing_Staff_Main_Form() {\n initComponents();\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents()\n {\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n getContentPane().setLayout(null);\n\n pack();\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n setName(\"Form\"); // NOI18N\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n this.setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 400, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 300, Short.MAX_VALUE)\n );\n }",
"public sinavlar2() {\n initComponents();\n }",
"public P0405() {\n initComponents();\n }",
"public IssueBookForm() {\n initComponents();\n }",
"public MiFrame2() {\n initComponents();\n }",
"public Choose1() {\n initComponents();\n }",
"public MainForm() {\n initComponents();\n\n String oldAuthor = prefs.get(\"AUTHOR\", \"\");\n if(oldAuthor != null) {\n this.authorTextField.setText(oldAuthor);\n }\n String oldBook = prefs.get(\"BOOK\", \"\");\n if(oldBook != null) {\n this.bookTextField.setText(oldBook);\n }\n String oldDisc = prefs.get(\"DISC\", \"\");\n if(oldDisc != null) {\n try {\n int oldDiscNum = Integer.parseInt(oldDisc);\n oldDiscNum++;\n this.discNumberTextField.setText(Integer.toString(oldDiscNum));\n } catch (Exception ex) {\n this.discNumberTextField.setText(oldDisc);\n }\n this.bookTextField.setText(oldBook);\n }\n\n\n }",
"public GUI_StudentInfo() {\n initComponents();\n }",
"public JFrmPrincipal() {\n initComponents();\n }",
"public Lihat_Dokter_Keseluruhan() {\n initComponents();\n }",
"public bt526() {\n initComponents();\n }",
"public Pemilihan_Dokter() {\n initComponents();\n }",
"public Ablak() {\n initComponents();\n }",
"@Override\n\tprotected void initUi() {\n\t\t\n\t}",
"@SuppressWarnings(\"unchecked\")\n\t// <editor-fold defaultstate=\"collapsed\" desc=\"Generated\n\t// Code\">//GEN-BEGIN:initComponents\n\tprivate void initComponents() {\n\n\t\tlabel1 = new java.awt.Label();\n\t\tlabel2 = new java.awt.Label();\n\t\tlabel3 = new java.awt.Label();\n\t\tlabel4 = new java.awt.Label();\n\t\tlabel5 = new java.awt.Label();\n\t\tlabel6 = new java.awt.Label();\n\t\tlabel7 = new java.awt.Label();\n\t\tlabel8 = new java.awt.Label();\n\t\tlabel9 = new java.awt.Label();\n\t\tlabel10 = new java.awt.Label();\n\t\ttextField1 = new java.awt.TextField();\n\t\ttextField2 = new java.awt.TextField();\n\t\tlabel14 = new java.awt.Label();\n\t\tlabel15 = new java.awt.Label();\n\t\tlabel16 = new java.awt.Label();\n\t\ttextField3 = new java.awt.TextField();\n\t\ttextField4 = new java.awt.TextField();\n\t\ttextField5 = new java.awt.TextField();\n\t\tlabel17 = new java.awt.Label();\n\t\tlabel18 = new java.awt.Label();\n\t\tlabel19 = new java.awt.Label();\n\t\tlabel20 = new java.awt.Label();\n\t\tlabel21 = new java.awt.Label();\n\t\tlabel22 = new java.awt.Label();\n\t\ttextField6 = new java.awt.TextField();\n\t\ttextField7 = new java.awt.TextField();\n\t\ttextField8 = new java.awt.TextField();\n\t\tlabel23 = new java.awt.Label();\n\t\ttextField9 = new java.awt.TextField();\n\t\ttextField10 = new java.awt.TextField();\n\t\ttextField11 = new java.awt.TextField();\n\t\ttextField12 = new java.awt.TextField();\n\t\tlabel24 = new java.awt.Label();\n\t\tlabel25 = new java.awt.Label();\n\t\tlabel26 = new java.awt.Label();\n\t\tlabel27 = new java.awt.Label();\n\t\tlabel28 = new java.awt.Label();\n\t\tlabel30 = new java.awt.Label();\n\t\tlabel31 = new java.awt.Label();\n\t\tlabel32 = new java.awt.Label();\n\t\tjButton1 = new javax.swing.JButton();\n\n\t\tlabel1.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 18)); // NOI18N\n\t\tlabel1.setText(\"It seems that some of the buttons on the ATM machine are not working!\");\n\n\t\tlabel2.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 18)); // NOI18N\n\t\tlabel2.setText(\"Unfortunately these numbers are exactly what Professor has to use to type in his password.\");\n\n\t\tlabel3.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 18)); // NOI18N\n\t\tlabel3.setText(\n\t\t\t\t\"If you want to eat tonight, you have to help him out and construct the numbers of the password with the working buttons and math operators.\");\n\n\t\tlabel4.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 14)); // NOI18N\n\t\tlabel4.setText(\"Denver's Password: 2792\");\n\n\t\tlabel5.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel5.setText(\"import java.util.Scanner;\\n\");\n\n\t\tlabel6.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel6.setText(\"public class ATM{\");\n\n\t\tlabel7.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel7.setText(\"public static void main(String[] args){\");\n\n\t\tlabel8.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel8.setText(\"System.out.print(\");\n\n\t\tlabel9.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel9.setText(\" -\");\n\n\t\tlabel10.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel10.setText(\");\");\n\n\t\ttextField1.addActionListener(new java.awt.event.ActionListener() {\n\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent evt) {\n\t\t\t\ttextField1ActionPerformed(evt);\n\t\t\t}\n\t\t});\n\n\t\tlabel14.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel14.setText(\"System.out.print( (\");\n\n\t\tlabel15.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel15.setText(\"System.out.print(\");\n\n\t\tlabel16.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel16.setText(\"System.out.print( ( (\");\n\n\t\tlabel17.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel17.setText(\")\");\n\n\t\tlabel18.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel18.setText(\" +\");\n\n\t\tlabel19.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel19.setText(\");\");\n\n\t\tlabel20.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel20.setText(\" /\");\n\n\t\tlabel21.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel21.setText(\" %\");\n\n\t\tlabel22.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel22.setText(\" +\");\n\n\t\tlabel23.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel23.setText(\");\");\n\n\t\tlabel24.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel24.setText(\" +\");\n\n\t\tlabel25.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel25.setText(\" /\");\n\n\t\tlabel26.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel26.setText(\" *\");\n\n\t\tlabel27.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));\n\t\tlabel27.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel27.setText(\")\");\n\n\t\tlabel28.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel28.setText(\")\");\n\n\t\tlabel30.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel30.setText(\"}\");\n\n\t\tlabel31.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel31.setText(\"}\");\n\n\t\tlabel32.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel32.setText(\");\");\n\n\t\tjButton1.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 14)); // NOI18N\n\t\tjButton1.setText(\"Check\");\n\t\tjButton1.addActionListener(new java.awt.event.ActionListener() {\n\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent evt) {\n\t\t\t\tjButton1ActionPerformed(evt);\n\t\t\t}\n\t\t});\n\n\t\tjavax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n\t\tlayout.setHorizontalGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(28).addGroup(layout\n\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING).addComponent(getDoneButton()).addComponent(jButton1)\n\t\t\t\t\t\t.addComponent(label7, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addComponent(label6, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addComponent(label5, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addComponent(label4, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addComponent(label3, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t.addComponent(label1, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t.addGap(1)\n\t\t\t\t\t\t\t\t.addComponent(label2, GroupLayout.PREFERRED_SIZE, 774, GroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t.addGap(92).addGroup(layout.createParallelGroup(Alignment.LEADING).addGroup(layout\n\t\t\t\t\t\t\t\t\t\t.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING, false)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label15, GroupLayout.PREFERRED_SIZE, 145,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField8, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(2)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label21, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField7, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label8, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField1, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label9, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED).addComponent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttextField2, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label31, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label14, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(37))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(174)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField5, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t20, GroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label18, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(7)))\n\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING).addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING, false).addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField4, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t20, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label17, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label22, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField9, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t20, GroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGap(20)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label23, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label20, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField3, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t20, GroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGap(20).addComponent(label19, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(23).addComponent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tlabel10, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))))\n\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label16, GroupLayout.PREFERRED_SIZE, 177,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField12, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label24, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField6, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label27, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label25, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField11, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label28, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGap(1)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label26, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField10, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED).addComponent(label32,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))))\n\t\t\t\t\t\t.addComponent(label30, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t.addContainerGap(GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));\n\t\tlayout.setVerticalGroup(\n\t\t\t\tlayout.createParallelGroup(Alignment.LEADING).addGroup(layout.createSequentialGroup().addContainerGap()\n\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t.addComponent(label1, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t.addComponent(label2, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t.addGap(1)\n\t\t\t\t\t\t.addComponent(label3, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(label4, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(label5, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(label6, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(label7, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t.addGroup(\n\t\t\t\t\t\t\t\t\t\tlayout.createSequentialGroup().addGroup(layout.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createSequentialGroup().addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING).addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label9,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label8,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField1,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttextField2, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label10,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(3)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(19)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField5,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label14,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label18,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label17,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField4,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(1))))\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label20, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label19, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField3, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(78)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label27, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(76)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField11, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(75)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label32,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField10,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tShort.MAX_VALUE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING, false)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label15,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField8,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label21,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField7,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(27))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField9,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAlignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label22,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlayout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(3)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlabel23,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(29)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label16,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField12,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label24,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField6,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(1))))))\n\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t.addComponent(label25, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t.addComponent(label28, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t.addComponent(label26, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t.addGap(30)\n\t\t\t\t\t\t.addComponent(label31, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addGap(25)\n\t\t\t\t\t\t.addComponent(label30, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addGap(26).addComponent(jButton1).addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(getDoneButton()).addContainerGap(23, Short.MAX_VALUE)));\n\t\tthis.setLayout(layout);\n\n\t\tlabel16.getAccessibleContext().setAccessibleName(\"System.out.print( ( (\");\n\t\tlabel17.getAccessibleContext().setAccessibleName(\"\");\n\t\tlabel18.getAccessibleContext().setAccessibleName(\" +\");\n\t}",
"public Pregunta23() {\n initComponents();\n }",
"public FormMenuUser() {\n super(\"Form Menu User\");\n initComponents();\n }",
"public AvtekOkno() {\n initComponents();\n }",
"public busdet() {\n initComponents();\n }",
"public ViewPrescriptionForm() {\n initComponents();\n }",
"public Ventaform() {\n initComponents();\n }",
"public Kuis2() {\n initComponents();\n }",
"public CreateAccount_GUI() {\n initComponents();\n }",
"public POS1() {\n initComponents();\n }",
"public Carrera() {\n initComponents();\n }",
"public EqGUI() {\n initComponents();\n }",
"public JFriau() {\n initComponents();\n this.setLocationRelativeTo(null);\n this.setTitle(\"BuNus - Budaya Nusantara\");\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n setBackground(new java.awt.Color(204, 204, 204));\n setMinimumSize(new java.awt.Dimension(1, 1));\n setPreferredSize(new java.awt.Dimension(760, 402));\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n this.setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 750, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 400, Short.MAX_VALUE)\n );\n }",
"public nokno() {\n initComponents();\n }",
"public dokter() {\n initComponents();\n }",
"public ConverterGUI() {\n initComponents();\n }",
"public hitungan() {\n initComponents();\n }",
"public Modify() {\n initComponents();\n }",
"public frmAddIncidencias() {\n initComponents();\n }",
"public FP_Calculator_GUI() {\n initComponents();\n \n setVisible(true);\n }"
] | [
"0.73201853",
"0.7291607",
"0.7291607",
"0.7291607",
"0.7285772",
"0.7248832",
"0.721371",
"0.72083634",
"0.71965843",
"0.7190274",
"0.71847606",
"0.71592176",
"0.71481156",
"0.70935035",
"0.70799935",
"0.70570904",
"0.6987588",
"0.6977819",
"0.69557554",
"0.6953564",
"0.6945299",
"0.6942377",
"0.69355065",
"0.69326174",
"0.69278985",
"0.69251215",
"0.69248855",
"0.6911974",
"0.6911815",
"0.68930984",
"0.68926644",
"0.6890748",
"0.689013",
"0.6889194",
"0.68833196",
"0.68817353",
"0.68812305",
"0.68779206",
"0.6875422",
"0.6874629",
"0.687249",
"0.6859694",
"0.6857467",
"0.6855978",
"0.68553996",
"0.68549085",
"0.6853271",
"0.6853271",
"0.68530285",
"0.68427855",
"0.6837456",
"0.68367314",
"0.682818",
"0.6828002",
"0.6826416",
"0.6823491",
"0.6823434",
"0.68172073",
"0.6816386",
"0.6810029",
"0.68090403",
"0.680861",
"0.6807909",
"0.6807168",
"0.680365",
"0.67955285",
"0.6795115",
"0.6792028",
"0.6790702",
"0.6789993",
"0.67889",
"0.67872643",
"0.6782707",
"0.67665267",
"0.6765798",
"0.6765086",
"0.6755966",
"0.6755084",
"0.6751955",
"0.6750892",
"0.67433685",
"0.67388666",
"0.6737211",
"0.6735823",
"0.673344",
"0.67278177",
"0.67267376",
"0.67203826",
"0.6716326",
"0.67144203",
"0.6713941",
"0.6707991",
"0.67068243",
"0.6704236",
"0.6701207",
"0.66996884",
"0.6698865",
"0.6697606",
"0.6693878",
"0.6691149",
"0.6689875"
] | 0.0 | -1 |
Returns a random AttributeFactory impl | public static AttributeFactory newAttributeFactory(Random random) {
switch (random.nextInt(3)) {
case 0:
return TokenStream.DEFAULT_TOKEN_ATTRIBUTE_FACTORY;
case 1:
return org.apache.lucene.analysis.Token.TOKEN_ATTRIBUTE_FACTORY;
case 2:
return AttributeFactory.DEFAULT_ATTRIBUTE_FACTORY;
default:
throw new AssertionError("Please fix the Random.nextInt() call above");
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static AttributeFactory newAttributeFactory() {\n\t\treturn newAttributeFactory(random());\n\t}",
"public interface RandomAttrGeneratorFactory {\n\n RandomAttributeGenerator getRandomAttrGenerator(JSONObject attributeConfig) throws InvalidConfigException;\n}",
"Attribute createAttribute();",
"Attribute createAttribute();",
"TAttribute createTAttribute();",
"ObjectFactory<?> getObjectFactory(Injectable attribute);",
"public static String getRandomAttribute(String attribute) {\n\t\tRandom rand = new Random();\n\t\tint n = rand.nextInt(4) + 1;\n\t\treturn attribute + n;\n\t}",
"public abstract ProductFactory getFactory();",
"private Attribute createAttribute() {\n\t\t\tAttribute att = AttributeFactory.createAttribute(getName(), getValueType());\n\t\t\tatt.getAnnotations().clear();\n\t\t\tatt.getAnnotations().putAll(getAnnotations());\n\t\t\tattribute = att;\n\t\t\treturn att;\n\t\t}",
"public ObjectifyFactory factory() {\n return ofy().factory();\n }",
"public AoDai chooseFactory(){\n\t\treturn new ModernAoDai();\n\t}",
"@Override\n\t\tTruerandomness newInstance() {\n\t\t\treturn null;\n\t\t}",
"public static String getRandomAttribute(String attribute, int maxValue) {\n\t\tRandom rand = new Random();\n\t\tint n = rand.nextInt(maxValue) + 1;\n\t\treturn attribute + String.format(\"%03d\", n);\n\t}",
"@Function Attr createAttribute(String name);",
"abstract Truerandomness newInstance();",
"public interface UUIDFactory {\n /**\n * Generates a new version 4 UUID.\n *\n * @return the newly generated UUID\n */\n UUID generateRandomUuid();\n}",
"protected abstract void createAttributes();",
"protected Attribute createAttribute(Field field) {\n return pkg.add(new Attribute(field));\n }",
"private AttributeDefinition setUpAttributeDefinition(String name) throws Exception {\n\t\tAttributeDefinition ad = new AttributeDefinition();\n\t\tad.setNamespace(\"ns\");\n\t\tad.setFriendlyName(name);\n\t\tad.setId(idCounter++);\n\t\twhen(attrManagerImplMock.getAttributeDefinition(any(), eq(ad.getName()))).thenReturn(ad);\n\t\treturn ad;\n\t}",
"static Attribute createAttribute(String name, Field field) {\n\t\tAttribute attribute = new Attribute(name, field);\n\t\tattribute.setKind(Attribute.NONE);\n\t\tattribute.setPreferenceType(Attribute.GAIN);\n\t\treturn attribute;\n\t}",
"static Attribute createAttribute(String name) {\n\t\treturn createAttribute(name, new IntegerFieldWrapper());\n\t}",
"@Override\n IDeviceFactory getFactory();",
"public static Factory factory() {\n return ext_accdt::new;\n }",
"public Animal getRandomAnimal() {\n //Randomize all characteristics of an animal\n int spc = (int) Math.round(rd.nextDouble() * (Animal.enumSpecies.values().length - 1));\n boolean isPet = rd.nextBoolean();\n\n //Construct an animal with random characteristic\n //Animal(int age, Gender g, BodyType b, enumSpecies espec, boolean ispet)\n A = new Animal(Animal.enumSpecies.values()[spc], isPet);\n return A;\n }",
"public Person getRandomPerson() {\n //Randomize all characteristics of a person\n int age = (int) (rd.nextDouble() * 100); //within 100y old\n int gd = (int) Math.round(rd.nextDouble() * (Person.Gender.values().length - 1));\n int bt = (int) Math.round(rd.nextDouble() * (Person.BodyType.values().length - 1));\n int pf = (int) Math.round(rd.nextDouble() * (Person.Profession.values().length - 1));\n boolean isPreg = rd.nextBoolean();\n\n //Construct a person with random characteristic\n //Person(int age, Profession profession, Gender gender, BodyType bodytype, boolean isPregnant)\n P = new Person(age, Person.Profession.values()[pf], Person.Gender.values()[gd], Person.BodyType.values()[bt], isPreg);\n return P;\n }",
"private AgAttribute resolveNew() {\n\n return new DefaultAttribute(name,\n requiredProperty(\"javaType\", javaType),\n\n // using the defaults from @AgAttribute annotation\n propertyOrDefault(readable, true),\n propertyOrDefault(writable, true),\n\n requiredProperty(\"dataReader\", dataReader));\n }",
"public abstract Product productFactory(String type);",
"Map getGenAttributes();",
"AndroidFactory getAndroidFactory();",
"BehaviouralModelFactory getBehaviouralModelFactory();",
"public static StandardAttributes getInstance() {\n if(standardAttributes == null)\n standardAttributes = new StandardAttributes();\n return standardAttributes;\n }",
"protected Attribute createAttribute(DapAttribute dapattr) {\n return createAttribute(null, dapattr);\n }",
"public final Method getFactoryMethod() {\n\treturn factoryMethod;\n }",
"ASAFactory getASAFactory();",
"private static Weapon randomWeapon() {\r\n Random rand = new Random();\r\n int weaponType = rand.nextInt(7);\r\n switch (weaponType) {\r\n case 0: \r\n return new FryingPan();\r\n case 1:\r\n return new SubmachineGun();\r\n case 2:\r\n return new AssaultRifle();\r\n case 3:\r\n return new Pistol();\r\n case 4:\r\n return new Axe();\r\n case 5:\r\n return new Crowbar();\r\n default:\r\n return new Shotgun();\r\n }\r\n }",
"Class<?> getFactoryClass();",
"GramaticaFactory getGramaticaFactory();",
"private SingletonTextureFactory(){\n\t\tRandom rand = new Random();\n\t\tfactoryID = rand.nextInt(10000); \n\t}",
"public interface FruitFactory {\n\n Fruit getApple();\n\n Fruit getBanana();\n}",
"public IAttributeType<?> getAttributeType(String name);",
"public interface Factory {\n Animal createAnimal();\n}",
"@objid (\"0078ca26-5a20-10c8-842f-001ec947cd2a\")\n GenericFactory getGenericFactory();",
"public ValueFactory<K, V> getFactory()\n {\n return factory;\n }",
"public GetAttributesDefinitionV2() {}",
"public static AttributeType create( AttributeType documentAttributeType )\n {\n _dao.insert( documentAttributeType );\n\n return documentAttributeType;\n }",
"public interface Factory {\n Product create();\n}",
"public Class getAttributeType();",
"Factory getFactory()\n {\n return configfile.factory;\n }",
"private SingletonColorFactory() {\n\t\tRandom rand = new Random();\n\t\tfactoryID = rand.nextInt(10000);\n\t}",
"@Override\r\n\tpublic Product factory() {\n\t\treturn new ConcreteProduct2();\r\n\t}",
"public static MystFactory init()\r\n {\r\n try\r\n {\r\n MystFactory theMystFactory = (MystFactory)EPackage.Registry.INSTANCE.getEFactory(MystPackage.eNS_URI);\r\n if (theMystFactory != null)\r\n {\r\n return theMystFactory;\r\n }\r\n }\r\n catch (Exception exception)\r\n {\r\n EcorePlugin.INSTANCE.log(exception);\r\n }\r\n return new MystFactoryImpl();\r\n }",
"public static BuiltinFactory init() {\n\t\ttry {\n\t\t\tBuiltinFactory theBuiltinFactory = (BuiltinFactory)EPackage.Registry.INSTANCE.getEFactory(\"http://www.soluvas.com/schema/story.builtin/1.0\"); \n\t\t\tif (theBuiltinFactory != null) {\n\t\t\t\treturn theBuiltinFactory;\n\t\t\t}\n\t\t}\n\t\tcatch (Exception exception) {\n\t\t\tEcorePlugin.INSTANCE.log(exception);\n\t\t}\n\t\treturn new BuiltinFactoryImpl();\n\t}",
"public static SapFactory init() {\n try {\n SapFactory theSapFactory = (SapFactory)EPackage.Registry.INSTANCE.getEFactory(SapPackage.eNS_URI);\n if (theSapFactory != null) {\n return theSapFactory;\n }\n }\n catch (Exception exception) {\n EcorePlugin.INSTANCE.log(exception);\n }\n return new SapFactoryImpl();\n }",
"public static AndroidFactory init() {\n\t\ttry {\n\t\t\tAndroidFactory theAndroidFactory = (AndroidFactory)EPackage.Registry.INSTANCE.getEFactory(\"http://www.eyal.fr/android\"); \n\t\t\tif (theAndroidFactory != null) {\n\t\t\t\treturn theAndroidFactory;\n\t\t\t}\n\t\t}\n\t\tcatch (Exception exception) {\n\t\t\tEcorePlugin.INSTANCE.log(exception);\n\t\t}\n\t\treturn new AndroidFactoryImpl();\n\t}",
"Atributo createAtributo();",
"Randomizer getRandomizer();",
"AddressFactory getAddressFactory() {\n\t\treturn addrMap.getAddressFactory();\n\t}",
"public interface AbstractFactory {\n Bmw produceBmw();\n Benz produceBenz();\n}",
"public Factory getFactory()\r\n {\r\n if( m_factory != null ) return m_factory;\r\n m_factory = FactoryHelper.narrow( m_primary );\r\n return m_factory;\r\n }",
"public static Factory factory() {\n return ext_dbf::new;\n }",
"private static SecureRandomAndPad createSecureRandom() {\n byte[] seed;\n File devRandom = new File(\"/dev/urandom\");\n if (devRandom.exists()) {\n RandomSeed rs = new RandomSeed(\"/dev/urandom\", \"/dev/urandom\");\n seed = rs.getBytesBlocking(20);\n } else {\n seed = RandomSeed.getSystemStateHash();\n }\n return new SecureRandomAndPad(new SecureRandom(seed));\n }",
"ShipmentAttribute createShipmentAttribute();",
"QuoteAttribute createQuoteAttribute();",
"public static Alphabet create() {\n\t\tif (alphabet == null){\n\t\t\talphabet = new DNAAlphabetFactory.DNAAlphabet();\n\t\t}\n\t\treturn alphabet;\n\t}",
"public interface ProductFactory {\n Product createProduct();\n}",
"public static ExtendedRandom getRandomGenerator()\n {\n lastGeneratorUsed = ( lastGeneratorUsed + 1 ) % instances.length;\n return instances[lastGeneratorUsed];\n }",
"DefaultAttribute()\n {\n }",
"public interface IFactory {\n IProductA getProductA();\n IProductB getProductB();\n}",
"public OBStoreFactory getFactory();",
"public XmlProtoAttributeBuilder getOrCreateAttribute(String name) {\n return getOrCreateAttribute(NO_NAMESPACE_URI, name);\n }",
"public interface DeviceFactory {\n Mouse getMouse();\n Keyboard getKeyboard();\n Touchpad getTouchpad();\n}",
"public RandomIA() {\n\t\trandom = new Random();\n\t}",
"public static VariabilityFactory init() {\n\t\ttry {\n\t\t\tVariabilityFactory theVariabilityFactory = (VariabilityFactory)EPackage.Registry.INSTANCE.getEFactory(VariabilityPackage.eNS_URI);\n\t\t\tif (theVariabilityFactory != null) {\n\t\t\t\treturn theVariabilityFactory;\n\t\t\t}\n\t\t}\n\t\tcatch (Exception exception) {\n\t\t\tEcorePlugin.INSTANCE.log(exception);\n\t\t}\n\t\treturn new VariabilityFactoryImpl();\n\t}",
"public static Attribute createEntity(EntityManager em) {\n Attribute attribute = new Attribute()\n .name(DEFAULT_NAME)\n .description(DEFAULT_DESCRIPTION)\n .showOrder(DEFAULT_SHOW_ORDER)\n .active(DEFAULT_ACTIVE);\n return attribute;\n }",
"EAttribute createEAttribute();",
"public final static BALFactory getDefaultFactory()\n {\n return BALFactory.Standard;\n }",
"XUMLRTFactory getXUMLRTFactory();",
"private ConcreteFactory() {}",
"public static Fish makeRandomFish(FishType type, int frameWidth, int frameHeight){\n\t\t// creates a random direction\n\t\tRandom r = new Random();\n\t\tDirection dir = Direction.values()[2 + r.nextInt(Direction.values().length -2)]; \n\t\t\n\t\t// creates and returns new fish based off of random direction\n\t\treturn new Fish(type, dir, frameWidth, frameHeight);\t\n\t}",
"@Test\n public void testCreateFactory() {\n setFactory(\"ThaiMoneyFactory\");\n assertEquals(ThaiMoneyFactory.class, moneyFactory.getClass());\n assertNotEquals(MalayMoneyFactory.class, moneyFactory.getClass());\n assertEquals(currency, \"Baht\");\n setFactory(\"MalayMoneyFactory\");\n assertEquals(MalayMoneyFactory.class, moneyFactory.getClass());\n assertNotEquals(ThaiMoneyFactory.class, moneyFactory.getClass());\n assertEquals(currency, \"Ringgit\");\n }",
"public interface PersonFactory {\n\n public Boy getBoy();\n\n public Gril getGril();\n\n}",
"private TesteeAttributeIdentity() {\n }",
"public interface HumanFactory {\n\n Human createYellow();\n\n Human createBlack();\n}",
"default Attribute getAttribute(AttributeName attributeName) {return (Attribute) attributeName;}",
"public UUID generate() {\n return UUID.randomUUID();\n }",
"public FactoryValue( ) \r\n {\r\n }",
"public AttributeDefinition adef(String n){\n AttributeDefinition rc = isAttribute(n);\n if (rc == null){\n return(null);\n }\n else{\n return(rc);\n }\n }",
"UberFactory getUberFactory();",
"public static Factory factory() {\n return ext_h::new;\n }",
"public static CostFactory init() {\n\t\ttry {\n\t\t\tCostFactory theCostFactory = (CostFactory)EPackage.Registry.INSTANCE.getEFactory(CostPackage.eNS_URI);\n\t\t\tif (theCostFactory != null) {\n\t\t\t\treturn theCostFactory;\n\t\t\t}\n\t\t}\n\t\tcatch (Exception exception) {\n\t\t\tEcorePlugin.INSTANCE.log(exception);\n\t\t}\n\t\treturn new CostFactoryImpl();\n\t}",
"AttributeDefinition getDefinition();",
"public static final Factory<Edge> getFactory() {\r\n\t\treturn new Factory<Edge> () {\r\n\t\t\tprivate int nextId = 0;\r\n\t\t\tpublic Edge create() {\r\n\t\t\t\treturn new Edge(nextId++);\r\n\t\t\t}\r\n\t\t};\r\n\t}",
"Demo1Factory getDemo1Factory();",
"TestModelFactory getTestModelFactory();",
"public static DealSetup pickOneAtRandom() {\n\t\tfinal Random r = ThreadLocalRandom.current();\n\t\tfinal int dex = r.nextInt(3);\n\t\treturn 0 == dex ? DealSetup.ALPHA : (1 == dex ? DealSetup.BETA\n\t\t\t\t: DealSetup.GAMMA);\n\t}",
"final Truerandomness defaultInstance() {\n\n\t\ttry {\n\t\t\treturn newInstance();\n\t\t} catch (Throwable t) {\n\t\t\t// hide\n\t\t}\n\n\t\t// not supported\n\t\treturn null;\n\t}",
"protected Attribute attribute(final QName name, final String value) {\n return new Attribute() {\n @Override\n public QName getName() {\n return name;\n }\n\n @Override\n public String getValue() {\n return value;\n }\n };\n }",
"public synchronized Random getRandom() {\n\n if (_random == null) {\n synchronized (this) {\n if (_random == null) {\n // Calculate the new random number generator seed\n long seed = System.currentTimeMillis();\n long t1 = seed;\n char entropy[] = getEntropy().toCharArray();\n for (int i = 0; i < entropy.length; i++) {\n long update = ((byte) entropy[i]) << ((i % 8) * 8);\n seed ^= update;\n }\n try {\n // Construct and seed a new random number generator\n Class clazz = Class.forName(_randomClass);\n _random = (Random) clazz.newInstance();\n _random.setSeed(seed);\n } catch (Exception e) {\n // Can't instantiate random class, fall back to the simple case\n logger.error(\"Can't use random class : \" + _randomClass + \", fall back to the simple case.\", e);\n _random = new java.util.Random();\n _random.setSeed(seed);\n }\n // Log a debug msg if this is taking too long ...\n long t2 = System.currentTimeMillis();\n if ((t2 - t1) > 100)\n logger.debug(\"Delay getting Random with class : \" + _randomClass + \" [getRandom()] \" + (t2 - t1) + \" ms.\");\n }\n }\n }\n\n return (_random);\n\n }",
"public interface Factory<T> {\n\n /**\n * Returns an instance of the required type. The implementation determines whether or not a new or cached\n * instance is created every time this method is called.\n *\n * @return an instance of the required type.\n */\n T getInstance();\n}",
"public static Address getARandomAddress(){\n Address address = RandomAddress.get().next();\n return address;\n }"
] | [
"0.87514716",
"0.7632452",
"0.701917",
"0.701917",
"0.62380266",
"0.6202888",
"0.6155362",
"0.61542064",
"0.61492765",
"0.61268467",
"0.610202",
"0.5918548",
"0.5885414",
"0.5854577",
"0.5842591",
"0.58317435",
"0.5828244",
"0.57808846",
"0.57516974",
"0.5697439",
"0.5654443",
"0.5608762",
"0.5605321",
"0.5604825",
"0.5540188",
"0.5538534",
"0.55288494",
"0.5516928",
"0.54859823",
"0.5466602",
"0.5447712",
"0.5445495",
"0.5445167",
"0.54317164",
"0.5403233",
"0.5384939",
"0.53822964",
"0.53737843",
"0.536973",
"0.5364391",
"0.53288996",
"0.5321799",
"0.53126746",
"0.52956253",
"0.52947545",
"0.5286535",
"0.52536905",
"0.52531415",
"0.5248563",
"0.524733",
"0.5244683",
"0.52440745",
"0.5240018",
"0.5238703",
"0.52381283",
"0.52349526",
"0.5220394",
"0.52195966",
"0.52084893",
"0.51863736",
"0.51858157",
"0.5184014",
"0.51456594",
"0.513444",
"0.513352",
"0.5126859",
"0.5100339",
"0.5097843",
"0.509552",
"0.5090712",
"0.5089017",
"0.5088771",
"0.5086215",
"0.5080578",
"0.50689",
"0.50686634",
"0.50676686",
"0.50663835",
"0.505854",
"0.5056223",
"0.504108",
"0.50408816",
"0.5032392",
"0.50309175",
"0.5029192",
"0.5019864",
"0.5018703",
"0.501625",
"0.501588",
"0.5013278",
"0.50122136",
"0.5011407",
"0.50029355",
"0.50028855",
"0.5002389",
"0.5000046",
"0.4997593",
"0.4994261",
"0.49913725",
"0.4977365"
] | 0.8019949 | 1 |
Returns a random AttributeFactory impl | public static AttributeFactory newAttributeFactory() {
return newAttributeFactory(random());
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static AttributeFactory newAttributeFactory(Random random) {\n\t\tswitch (random.nextInt(3)) {\n\t\tcase 0:\n\t\t\treturn TokenStream.DEFAULT_TOKEN_ATTRIBUTE_FACTORY;\n\t\tcase 1:\n\t\t\treturn org.apache.lucene.analysis.Token.TOKEN_ATTRIBUTE_FACTORY;\n\t\tcase 2:\n\t\t\treturn AttributeFactory.DEFAULT_ATTRIBUTE_FACTORY;\n\t\tdefault:\n\t\t\tthrow new AssertionError(\"Please fix the Random.nextInt() call above\");\n\t\t}\n\t}",
"public interface RandomAttrGeneratorFactory {\n\n RandomAttributeGenerator getRandomAttrGenerator(JSONObject attributeConfig) throws InvalidConfigException;\n}",
"Attribute createAttribute();",
"Attribute createAttribute();",
"TAttribute createTAttribute();",
"ObjectFactory<?> getObjectFactory(Injectable attribute);",
"public static String getRandomAttribute(String attribute) {\n\t\tRandom rand = new Random();\n\t\tint n = rand.nextInt(4) + 1;\n\t\treturn attribute + n;\n\t}",
"public abstract ProductFactory getFactory();",
"private Attribute createAttribute() {\n\t\t\tAttribute att = AttributeFactory.createAttribute(getName(), getValueType());\n\t\t\tatt.getAnnotations().clear();\n\t\t\tatt.getAnnotations().putAll(getAnnotations());\n\t\t\tattribute = att;\n\t\t\treturn att;\n\t\t}",
"public ObjectifyFactory factory() {\n return ofy().factory();\n }",
"public AoDai chooseFactory(){\n\t\treturn new ModernAoDai();\n\t}",
"@Override\n\t\tTruerandomness newInstance() {\n\t\t\treturn null;\n\t\t}",
"public static String getRandomAttribute(String attribute, int maxValue) {\n\t\tRandom rand = new Random();\n\t\tint n = rand.nextInt(maxValue) + 1;\n\t\treturn attribute + String.format(\"%03d\", n);\n\t}",
"@Function Attr createAttribute(String name);",
"abstract Truerandomness newInstance();",
"public interface UUIDFactory {\n /**\n * Generates a new version 4 UUID.\n *\n * @return the newly generated UUID\n */\n UUID generateRandomUuid();\n}",
"protected abstract void createAttributes();",
"protected Attribute createAttribute(Field field) {\n return pkg.add(new Attribute(field));\n }",
"private AttributeDefinition setUpAttributeDefinition(String name) throws Exception {\n\t\tAttributeDefinition ad = new AttributeDefinition();\n\t\tad.setNamespace(\"ns\");\n\t\tad.setFriendlyName(name);\n\t\tad.setId(idCounter++);\n\t\twhen(attrManagerImplMock.getAttributeDefinition(any(), eq(ad.getName()))).thenReturn(ad);\n\t\treturn ad;\n\t}",
"static Attribute createAttribute(String name, Field field) {\n\t\tAttribute attribute = new Attribute(name, field);\n\t\tattribute.setKind(Attribute.NONE);\n\t\tattribute.setPreferenceType(Attribute.GAIN);\n\t\treturn attribute;\n\t}",
"static Attribute createAttribute(String name) {\n\t\treturn createAttribute(name, new IntegerFieldWrapper());\n\t}",
"@Override\n IDeviceFactory getFactory();",
"public static Factory factory() {\n return ext_accdt::new;\n }",
"public Animal getRandomAnimal() {\n //Randomize all characteristics of an animal\n int spc = (int) Math.round(rd.nextDouble() * (Animal.enumSpecies.values().length - 1));\n boolean isPet = rd.nextBoolean();\n\n //Construct an animal with random characteristic\n //Animal(int age, Gender g, BodyType b, enumSpecies espec, boolean ispet)\n A = new Animal(Animal.enumSpecies.values()[spc], isPet);\n return A;\n }",
"private AgAttribute resolveNew() {\n\n return new DefaultAttribute(name,\n requiredProperty(\"javaType\", javaType),\n\n // using the defaults from @AgAttribute annotation\n propertyOrDefault(readable, true),\n propertyOrDefault(writable, true),\n\n requiredProperty(\"dataReader\", dataReader));\n }",
"public Person getRandomPerson() {\n //Randomize all characteristics of a person\n int age = (int) (rd.nextDouble() * 100); //within 100y old\n int gd = (int) Math.round(rd.nextDouble() * (Person.Gender.values().length - 1));\n int bt = (int) Math.round(rd.nextDouble() * (Person.BodyType.values().length - 1));\n int pf = (int) Math.round(rd.nextDouble() * (Person.Profession.values().length - 1));\n boolean isPreg = rd.nextBoolean();\n\n //Construct a person with random characteristic\n //Person(int age, Profession profession, Gender gender, BodyType bodytype, boolean isPregnant)\n P = new Person(age, Person.Profession.values()[pf], Person.Gender.values()[gd], Person.BodyType.values()[bt], isPreg);\n return P;\n }",
"public abstract Product productFactory(String type);",
"Map getGenAttributes();",
"AndroidFactory getAndroidFactory();",
"BehaviouralModelFactory getBehaviouralModelFactory();",
"public static StandardAttributes getInstance() {\n if(standardAttributes == null)\n standardAttributes = new StandardAttributes();\n return standardAttributes;\n }",
"protected Attribute createAttribute(DapAttribute dapattr) {\n return createAttribute(null, dapattr);\n }",
"public final Method getFactoryMethod() {\n\treturn factoryMethod;\n }",
"ASAFactory getASAFactory();",
"private static Weapon randomWeapon() {\r\n Random rand = new Random();\r\n int weaponType = rand.nextInt(7);\r\n switch (weaponType) {\r\n case 0: \r\n return new FryingPan();\r\n case 1:\r\n return new SubmachineGun();\r\n case 2:\r\n return new AssaultRifle();\r\n case 3:\r\n return new Pistol();\r\n case 4:\r\n return new Axe();\r\n case 5:\r\n return new Crowbar();\r\n default:\r\n return new Shotgun();\r\n }\r\n }",
"Class<?> getFactoryClass();",
"GramaticaFactory getGramaticaFactory();",
"private SingletonTextureFactory(){\n\t\tRandom rand = new Random();\n\t\tfactoryID = rand.nextInt(10000); \n\t}",
"public interface FruitFactory {\n\n Fruit getApple();\n\n Fruit getBanana();\n}",
"public IAttributeType<?> getAttributeType(String name);",
"public interface Factory {\n Animal createAnimal();\n}",
"@objid (\"0078ca26-5a20-10c8-842f-001ec947cd2a\")\n GenericFactory getGenericFactory();",
"public ValueFactory<K, V> getFactory()\n {\n return factory;\n }",
"public GetAttributesDefinitionV2() {}",
"public static AttributeType create( AttributeType documentAttributeType )\n {\n _dao.insert( documentAttributeType );\n\n return documentAttributeType;\n }",
"public interface Factory {\n Product create();\n}",
"Factory getFactory()\n {\n return configfile.factory;\n }",
"public Class getAttributeType();",
"private SingletonColorFactory() {\n\t\tRandom rand = new Random();\n\t\tfactoryID = rand.nextInt(10000);\n\t}",
"@Override\r\n\tpublic Product factory() {\n\t\treturn new ConcreteProduct2();\r\n\t}",
"public static MystFactory init()\r\n {\r\n try\r\n {\r\n MystFactory theMystFactory = (MystFactory)EPackage.Registry.INSTANCE.getEFactory(MystPackage.eNS_URI);\r\n if (theMystFactory != null)\r\n {\r\n return theMystFactory;\r\n }\r\n }\r\n catch (Exception exception)\r\n {\r\n EcorePlugin.INSTANCE.log(exception);\r\n }\r\n return new MystFactoryImpl();\r\n }",
"public static BuiltinFactory init() {\n\t\ttry {\n\t\t\tBuiltinFactory theBuiltinFactory = (BuiltinFactory)EPackage.Registry.INSTANCE.getEFactory(\"http://www.soluvas.com/schema/story.builtin/1.0\"); \n\t\t\tif (theBuiltinFactory != null) {\n\t\t\t\treturn theBuiltinFactory;\n\t\t\t}\n\t\t}\n\t\tcatch (Exception exception) {\n\t\t\tEcorePlugin.INSTANCE.log(exception);\n\t\t}\n\t\treturn new BuiltinFactoryImpl();\n\t}",
"public static SapFactory init() {\n try {\n SapFactory theSapFactory = (SapFactory)EPackage.Registry.INSTANCE.getEFactory(SapPackage.eNS_URI);\n if (theSapFactory != null) {\n return theSapFactory;\n }\n }\n catch (Exception exception) {\n EcorePlugin.INSTANCE.log(exception);\n }\n return new SapFactoryImpl();\n }",
"Atributo createAtributo();",
"public static AndroidFactory init() {\n\t\ttry {\n\t\t\tAndroidFactory theAndroidFactory = (AndroidFactory)EPackage.Registry.INSTANCE.getEFactory(\"http://www.eyal.fr/android\"); \n\t\t\tif (theAndroidFactory != null) {\n\t\t\t\treturn theAndroidFactory;\n\t\t\t}\n\t\t}\n\t\tcatch (Exception exception) {\n\t\t\tEcorePlugin.INSTANCE.log(exception);\n\t\t}\n\t\treturn new AndroidFactoryImpl();\n\t}",
"Randomizer getRandomizer();",
"AddressFactory getAddressFactory() {\n\t\treturn addrMap.getAddressFactory();\n\t}",
"public interface AbstractFactory {\n Bmw produceBmw();\n Benz produceBenz();\n}",
"public Factory getFactory()\r\n {\r\n if( m_factory != null ) return m_factory;\r\n m_factory = FactoryHelper.narrow( m_primary );\r\n return m_factory;\r\n }",
"private static SecureRandomAndPad createSecureRandom() {\n byte[] seed;\n File devRandom = new File(\"/dev/urandom\");\n if (devRandom.exists()) {\n RandomSeed rs = new RandomSeed(\"/dev/urandom\", \"/dev/urandom\");\n seed = rs.getBytesBlocking(20);\n } else {\n seed = RandomSeed.getSystemStateHash();\n }\n return new SecureRandomAndPad(new SecureRandom(seed));\n }",
"ShipmentAttribute createShipmentAttribute();",
"public static Factory factory() {\n return ext_dbf::new;\n }",
"QuoteAttribute createQuoteAttribute();",
"public static Alphabet create() {\n\t\tif (alphabet == null){\n\t\t\talphabet = new DNAAlphabetFactory.DNAAlphabet();\n\t\t}\n\t\treturn alphabet;\n\t}",
"public interface ProductFactory {\n Product createProduct();\n}",
"public static ExtendedRandom getRandomGenerator()\n {\n lastGeneratorUsed = ( lastGeneratorUsed + 1 ) % instances.length;\n return instances[lastGeneratorUsed];\n }",
"DefaultAttribute()\n {\n }",
"public interface IFactory {\n IProductA getProductA();\n IProductB getProductB();\n}",
"public OBStoreFactory getFactory();",
"public XmlProtoAttributeBuilder getOrCreateAttribute(String name) {\n return getOrCreateAttribute(NO_NAMESPACE_URI, name);\n }",
"public interface DeviceFactory {\n Mouse getMouse();\n Keyboard getKeyboard();\n Touchpad getTouchpad();\n}",
"public RandomIA() {\n\t\trandom = new Random();\n\t}",
"public static VariabilityFactory init() {\n\t\ttry {\n\t\t\tVariabilityFactory theVariabilityFactory = (VariabilityFactory)EPackage.Registry.INSTANCE.getEFactory(VariabilityPackage.eNS_URI);\n\t\t\tif (theVariabilityFactory != null) {\n\t\t\t\treturn theVariabilityFactory;\n\t\t\t}\n\t\t}\n\t\tcatch (Exception exception) {\n\t\t\tEcorePlugin.INSTANCE.log(exception);\n\t\t}\n\t\treturn new VariabilityFactoryImpl();\n\t}",
"public static Attribute createEntity(EntityManager em) {\n Attribute attribute = new Attribute()\n .name(DEFAULT_NAME)\n .description(DEFAULT_DESCRIPTION)\n .showOrder(DEFAULT_SHOW_ORDER)\n .active(DEFAULT_ACTIVE);\n return attribute;\n }",
"EAttribute createEAttribute();",
"public final static BALFactory getDefaultFactory()\n {\n return BALFactory.Standard;\n }",
"XUMLRTFactory getXUMLRTFactory();",
"private ConcreteFactory() {}",
"public static Fish makeRandomFish(FishType type, int frameWidth, int frameHeight){\n\t\t// creates a random direction\n\t\tRandom r = new Random();\n\t\tDirection dir = Direction.values()[2 + r.nextInt(Direction.values().length -2)]; \n\t\t\n\t\t// creates and returns new fish based off of random direction\n\t\treturn new Fish(type, dir, frameWidth, frameHeight);\t\n\t}",
"@Test\n public void testCreateFactory() {\n setFactory(\"ThaiMoneyFactory\");\n assertEquals(ThaiMoneyFactory.class, moneyFactory.getClass());\n assertNotEquals(MalayMoneyFactory.class, moneyFactory.getClass());\n assertEquals(currency, \"Baht\");\n setFactory(\"MalayMoneyFactory\");\n assertEquals(MalayMoneyFactory.class, moneyFactory.getClass());\n assertNotEquals(ThaiMoneyFactory.class, moneyFactory.getClass());\n assertEquals(currency, \"Ringgit\");\n }",
"public interface PersonFactory {\n\n public Boy getBoy();\n\n public Gril getGril();\n\n}",
"private TesteeAttributeIdentity() {\n }",
"public interface HumanFactory {\n\n Human createYellow();\n\n Human createBlack();\n}",
"default Attribute getAttribute(AttributeName attributeName) {return (Attribute) attributeName;}",
"public UUID generate() {\n return UUID.randomUUID();\n }",
"public AttributeDefinition adef(String n){\n AttributeDefinition rc = isAttribute(n);\n if (rc == null){\n return(null);\n }\n else{\n return(rc);\n }\n }",
"public FactoryValue( ) \r\n {\r\n }",
"UberFactory getUberFactory();",
"public static Factory factory() {\n return ext_h::new;\n }",
"AttributeDefinition getDefinition();",
"public static CostFactory init() {\n\t\ttry {\n\t\t\tCostFactory theCostFactory = (CostFactory)EPackage.Registry.INSTANCE.getEFactory(CostPackage.eNS_URI);\n\t\t\tif (theCostFactory != null) {\n\t\t\t\treturn theCostFactory;\n\t\t\t}\n\t\t}\n\t\tcatch (Exception exception) {\n\t\t\tEcorePlugin.INSTANCE.log(exception);\n\t\t}\n\t\treturn new CostFactoryImpl();\n\t}",
"public static final Factory<Edge> getFactory() {\r\n\t\treturn new Factory<Edge> () {\r\n\t\t\tprivate int nextId = 0;\r\n\t\t\tpublic Edge create() {\r\n\t\t\t\treturn new Edge(nextId++);\r\n\t\t\t}\r\n\t\t};\r\n\t}",
"TestModelFactory getTestModelFactory();",
"Demo1Factory getDemo1Factory();",
"public static DealSetup pickOneAtRandom() {\n\t\tfinal Random r = ThreadLocalRandom.current();\n\t\tfinal int dex = r.nextInt(3);\n\t\treturn 0 == dex ? DealSetup.ALPHA : (1 == dex ? DealSetup.BETA\n\t\t\t\t: DealSetup.GAMMA);\n\t}",
"protected Attribute attribute(final QName name, final String value) {\n return new Attribute() {\n @Override\n public QName getName() {\n return name;\n }\n\n @Override\n public String getValue() {\n return value;\n }\n };\n }",
"final Truerandomness defaultInstance() {\n\n\t\ttry {\n\t\t\treturn newInstance();\n\t\t} catch (Throwable t) {\n\t\t\t// hide\n\t\t}\n\n\t\t// not supported\n\t\treturn null;\n\t}",
"public synchronized Random getRandom() {\n\n if (_random == null) {\n synchronized (this) {\n if (_random == null) {\n // Calculate the new random number generator seed\n long seed = System.currentTimeMillis();\n long t1 = seed;\n char entropy[] = getEntropy().toCharArray();\n for (int i = 0; i < entropy.length; i++) {\n long update = ((byte) entropy[i]) << ((i % 8) * 8);\n seed ^= update;\n }\n try {\n // Construct and seed a new random number generator\n Class clazz = Class.forName(_randomClass);\n _random = (Random) clazz.newInstance();\n _random.setSeed(seed);\n } catch (Exception e) {\n // Can't instantiate random class, fall back to the simple case\n logger.error(\"Can't use random class : \" + _randomClass + \", fall back to the simple case.\", e);\n _random = new java.util.Random();\n _random.setSeed(seed);\n }\n // Log a debug msg if this is taking too long ...\n long t2 = System.currentTimeMillis();\n if ((t2 - t1) > 100)\n logger.debug(\"Delay getting Random with class : \" + _randomClass + \" [getRandom()] \" + (t2 - t1) + \" ms.\");\n }\n }\n }\n\n return (_random);\n\n }",
"public interface Factory<T> {\n\n /**\n * Returns an instance of the required type. The implementation determines whether or not a new or cached\n * instance is created every time this method is called.\n *\n * @return an instance of the required type.\n */\n T getInstance();\n}",
"public static Address getARandomAddress(){\n Address address = RandomAddress.get().next();\n return address;\n }"
] | [
"0.8019159",
"0.7633315",
"0.7020061",
"0.7020061",
"0.62383455",
"0.6202497",
"0.6155831",
"0.61532736",
"0.6150741",
"0.6125777",
"0.6101744",
"0.5917458",
"0.58865005",
"0.5856044",
"0.5841644",
"0.58306444",
"0.582959",
"0.5781401",
"0.5752963",
"0.5697897",
"0.5655088",
"0.56080055",
"0.56035924",
"0.5602984",
"0.5538125",
"0.5538079",
"0.55274165",
"0.5518228",
"0.5484872",
"0.54659814",
"0.54482377",
"0.5446302",
"0.5444192",
"0.54319185",
"0.54012287",
"0.53835446",
"0.538183",
"0.5373493",
"0.5369503",
"0.5363574",
"0.53279907",
"0.5319481",
"0.5312254",
"0.5296348",
"0.52942806",
"0.5285515",
"0.5253015",
"0.52527016",
"0.52475137",
"0.52461046",
"0.52442557",
"0.52432674",
"0.5239125",
"0.52390057",
"0.5237589",
"0.52337813",
"0.52198285",
"0.5219461",
"0.5206912",
"0.5185762",
"0.51846534",
"0.518437",
"0.51461005",
"0.5134208",
"0.5132518",
"0.512618",
"0.50998974",
"0.5097684",
"0.50940436",
"0.50916994",
"0.50876373",
"0.5087062",
"0.50857395",
"0.5080852",
"0.5069494",
"0.5067434",
"0.5066897",
"0.5064852",
"0.5057197",
"0.5055274",
"0.5040352",
"0.5040344",
"0.50317436",
"0.50315225",
"0.50283843",
"0.50202286",
"0.5019857",
"0.50163513",
"0.50143707",
"0.5013755",
"0.50125456",
"0.5010649",
"0.5002089",
"0.5002001",
"0.5000693",
"0.49982488",
"0.49979702",
"0.49932164",
"0.49904576",
"0.4975933"
] | 0.87520385 | 0 |
Called just before this Command runs the first time | protected void initialize() {
Robot.gearIntake.setIsDown(true);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void preRun() {\n super.preRun();\n }",
"protected void preRun() {\r\n\t\tthis.preparePairs();\r\n\t}",
"@Override\n public void beforeFirstLogic() {\n }",
"public void prePerform() {\n // nothing to do by default\n }",
"protected void onFirstUse() {}",
"@Override\n\t\t\tprotected void onPreExecute()\n\t\t\t{\n\n\t\t\t}",
"@Override\n public void beforeStart() {\n \n }",
"protected void initialize() {\n\t\tRobot.firstAutonomousCommandDone = true;\n\t}",
"@Override\n\t\t\t\tprotected void onPreExecute()\n\t\t\t\t{\n\t\t\t\t\tsuper.onPreExecute();\n\t\t\t\t}",
"public void preExecution() throws CommandListenerException;",
"public void initDefaultCommand() {\n\t\t// Don't do anything\n }",
"@Override\n\t\tprotected void onPreExecute() {\n\t\t}",
"@Override\r\n\t\t\tpublic void autInitProcess() {\n\t\t\t\t\r\n\t\t\t}",
"@Override\r\n\t\t\tpublic void autInitProcess() {\n\t\t\t\t\r\n\t\t\t}",
"@Override\r\n\t\t\tpublic void autInitProcess() {\n\t\t\t\t\r\n\t\t\t}",
"@Override\r\n\t\t\tpublic void autInitProcess() {\n\t\t\t\t\r\n\t\t\t}",
"@Override\r\n\t\t\tpublic void autInitProcess() {\n\t\t\t\t\r\n\t\t\t}",
"protected void onFirstTimeLaunched() {\n }",
"@Override\n\t\t\tprotected void onPreExecute() {\n\t\t\t\tsuper.onPreExecute();\n\t\t\t}",
"@Override\n\t\t\tprotected void onPreExecute() {\n\t\t\t\tsuper.onPreExecute();\n\t\t\t}",
"@Override\r\n\t\t\t\tpublic void autInitProcess() {\n\t\t\t\t\t\r\n\t\t\t\t}",
"@Override\r\n\t\t\t\tpublic void autInitProcess() {\n\t\t\t\t\t\r\n\t\t\t\t}",
"protected void runBeforeStep() {}",
"@Override\n protected void onPreExecute() {\n\n }",
"@Override\n protected void onPreExecute() {\n\n }",
"@Override\n protected void onPreExecute() {\n\n }",
"@Override\n protected void onPreExecute() {\n\n }",
"@Override\n\t\tprotected void onPreExecute() {\n\t\t\tsuper.onPreExecute();\n\t\t}",
"@Override\n\t\tprotected void onPreExecute() {\n\t\t\tsuper.onPreExecute();\n\t\t}",
"@Override\n\t\tprotected void onPreExecute() {\n\t\t\tsuper.onPreExecute();\n\t\t}",
"@Override\n\t\tprotected void onPreExecute() {\n\t\t\tsuper.onPreExecute();\n\t\t}",
"@Override\n\t\tprotected void onPreExecute() {\n\t\t\tsuper.onPreExecute();\n\t\t}",
"@Override\n\t\tprotected void onPreExecute() {\n\t\t\tsuper.onPreExecute();\n\t\t}",
"@Override\n\t\tprotected void onPreExecute() {\n\t\t\tsuper.onPreExecute();\n\t\t}",
"@Override\n\t\tprotected void onPreExecute() {\n\t\t\tsuper.onPreExecute();\n\t\t}",
"@Override\n\t\tprotected void onPreExecute() {\n\t\t\tsuper.onPreExecute();\n\t\t}",
"@Override\n\t\tprotected void onPreExecute() {\n\t\t\tsuper.onPreExecute();\n\t\t}",
"@Override\n\t\tprotected void onPreExecute() {\n\t\t\tsuper.onPreExecute();\n\t\t}",
"@Override\n\t\tprotected void onPreExecute() {\n\t\t\tsuper.onPreExecute();\n\t\t}",
"@Override\n\t\tprotected void onPreExecute() {\n\t\t\tsuper.onPreExecute();\n\t\t}",
"@Override\n\t\tprotected void onPreExecute() {\n\t\t\tsuper.onPreExecute();\n\t\t}",
"@Override\n\t\tprotected void onPreExecute() {\n\t\t\tsuper.onPreExecute();\n\t\t}",
"@Override\r\n\t\tprotected void onPreExecute() {\n\t\t}",
"@Override\r\n\t\tprotected void onPreExecute() {\n\t\t\tsuper.onPreExecute();\r\n\r\n\t\t}",
"@Override\n protected void onStart() {\n checkUserStatus();\n\n super.onStart();\n }",
"void PrepareRun() {\n }",
"@Override\n\t\t\t\tpublic void onStart() {\n\t\t\t\t}",
"@Override\r\n\t\t\tpublic void autInitProcess() {\n\t\t\t}",
"@Override\n\t\tprotected void onPreExecute() \n\t\t{\n\t\t}",
"@Override\r\n\t\t\tprotected void onPreExecute() {\n\t\t\t\tsuper.onPreExecute();\r\n\t\t\t}",
"public void autonomousInit() {\n if (autonomousCommand != null) autonomousCommand.start();\n }",
"protected void onPreExecute() {\n\t\t}",
"@Override\n protected void onStart() {\n checkUserStatus();\n super.onStart();\n }",
"protected void initDefaultCommand() {\n \t\t\n \t}",
"@Override\n protected void onPreExecute() {\n }",
"@Override\n protected void onPreExecute() {\n }",
"@Override\n protected void onPreExecute() {\n }",
"@Override\n protected void onPreExecute() {\n }",
"@Override\n protected void onPreExecute() {\n }",
"@Override\n\t protected void onPreExecute() {\n\t }",
"public void initDefaultCommand() {\n \n }",
"@Override\n\t\t\t\t\tprotected void onPreExecute() {\n\t\t\t\t\t\tsuper.onPreExecute();\n\t\t\t\t\t}",
"public void autonomousInit() {\n\t\tautonomousCommand.start();\r\n\t}",
"@Override\n\t\t\t\t\tpublic void onStart() {\n\n\t\t\t\t\t}",
"@Override\r\n\tprotected void doPre() {\n\t\t\r\n\t}",
"@Override\n\t\t\tpublic void onPreExecute() {\n\t\t\t\t\n\t\t\t}",
"@Override\r\n\tprotected void initDefaultCommand() {\n\t\t\r\n\t}",
"@Override\n public void initDefaultCommand() {\n }",
"@Override\n public void initDefaultCommand() {\n }",
"@Override\n public void initDefaultCommand() {\n }",
"@Override\n public void initDefaultCommand() {\n }",
"@Override\n public void initDefaultCommand() {\n }",
"@Override\n public void initDefaultCommand() {\n }",
"@Override\n public void initDefaultCommand() {\n }",
"protected abstract void preRun();",
"@Override\n public void initDefaultCommand() {\n\n }",
"private Command() {\n initFields();\n }",
"public void initDefaultCommand() {\n \n }",
"@RequiresApi(api = Build.VERSION_CODES.N)\n public void StartInitial() {\n model.StartInitial();\n\n // Add any code required\n\n }",
"public void onStart() {\n /* do nothing - stub */\n }",
"@Override\n protected void startUp() {\n }",
"@Override\r\n\tprotected void onPreExecute() {\n\t}",
"@Override\n public void initDefaultCommand() \n {\n }",
"@Override\n protected void onPreExecute()\n {\n super.onPreExecute();\n }",
"@Override\n protected void onPreExecute() {\n\n super.onPreExecute();\n\n }",
"@Override\r\n protected void onPreExecute() {\n super.onPreExecute();\r\n }",
"@Override\r\n\tpublic void preCheck(CheckCommand checkCommand) throws Exception {\n\r\n\t}",
"public void preInstallHook() {\n }",
"public void startup() {\n neutral();\n }",
"public void initDefaultCommand() {\n\t}",
"@Override\n\tprotected void onPreExecute() {\n\t\tsuper.onPreExecute();\n\t}",
"@Override\n\tprotected void onPreExecute() {\n\t\tsuper.onPreExecute();\n\t}",
"@Override\n\tprotected void onPreExecute() {\n\t\tsuper.onPreExecute();\n\t}",
"@Override\n\tprotected void onPreExecute() {\n\t\tsuper.onPreExecute();\n\n\t}",
"@Override\n\tprotected void onPreExecute() {\n\t\tsuper.onPreExecute();\n\n\t}",
"public void onStart() {\n super.onStart();\n getStockVerification();\n }",
"@Override\n\t\t\t\tpublic void onStart() {\n\t\t\t\t\tsuper.onStart();\n\t\t\t\t}",
"@Override\n\t\t\t\tpublic void onStart() {\n\t\t\t\t\tsuper.onStart();\n\t\t\t\t}",
"@Override\n public void onStart() {\n \n }",
"@Override\n public void onStart() {\n \n }",
"@Override\n public void preStart() {\n Reaper.watchWithDefaultReaper(this);\n }"
] | [
"0.7113986",
"0.6542487",
"0.64347786",
"0.6433418",
"0.64082474",
"0.6353506",
"0.6309701",
"0.62537354",
"0.62473047",
"0.62407833",
"0.6167777",
"0.6163407",
"0.6129232",
"0.6129232",
"0.6129232",
"0.6129232",
"0.6129232",
"0.61080366",
"0.608483",
"0.608483",
"0.60805327",
"0.60805327",
"0.6068528",
"0.60680324",
"0.60680324",
"0.60680324",
"0.60680324",
"0.6061779",
"0.6061779",
"0.6061779",
"0.6061779",
"0.6061779",
"0.6061779",
"0.6061779",
"0.6061779",
"0.6061779",
"0.6061779",
"0.6061779",
"0.6061779",
"0.6061779",
"0.6061779",
"0.6061779",
"0.60580724",
"0.6044969",
"0.6041834",
"0.603989",
"0.6035691",
"0.60305667",
"0.60298306",
"0.6012218",
"0.60053056",
"0.6002687",
"0.59965384",
"0.59901303",
"0.5988611",
"0.5988611",
"0.5988611",
"0.5988611",
"0.5988611",
"0.5977599",
"0.59622574",
"0.5961238",
"0.59496737",
"0.59461665",
"0.59449667",
"0.5909627",
"0.5907129",
"0.59067136",
"0.59067136",
"0.59067136",
"0.59067136",
"0.59067136",
"0.59067136",
"0.59067136",
"0.59065974",
"0.5906112",
"0.5902859",
"0.5901146",
"0.5892453",
"0.58864474",
"0.5884274",
"0.58823276",
"0.58756584",
"0.5870505",
"0.5860054",
"0.5857494",
"0.58513945",
"0.5844433",
"0.58421814",
"0.5840623",
"0.5837147",
"0.5837147",
"0.5837147",
"0.58352405",
"0.58352405",
"0.5834613",
"0.58340293",
"0.58340293",
"0.58284307",
"0.58284307",
"0.58276254"
] | 0.0 | -1 |
Called at a rate of 50 hz when this command is running | protected void execute() {
Robot.gearIntake.setGearRollerSpeed(-.7);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void periodic() {\n\n }",
"@Override\n public void periodic() {\n\n }",
"@Override\n public void periodic() {\n\n }",
"@Override\n public void periodic() {\n\n }",
"@Override\n public void periodic() {\n\n }",
"@Override\n public void periodic() {\n\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\r\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"void start() \r\n {\r\n while (controller.clock <= controller.totalBurstTime) {\r\n this.clock();\r\n }\r\n }",
"protected void runEachMinute() {\n \n }",
"@Override\n public void autonomousPeriodic() {\n \n }",
"@Override\n\tpublic void periodic()\n\t{\n\t}",
"@Override\n public void loop() {\n try {\n if ((runtime.seconds()-prevTime) >= 60) {\n prevTime = (long)runtime.seconds();\n writer.write(\"\\n\" + String.format(Locale.US, \"%f\", runtime.seconds()/60) + \",\" +\n String.format(Locale.US,\"%2.2f\", batVolt.getVoltage()) + \",\");\n robot.shooterServoDown(false);\n Thread.sleep(800);\n robot.shooterServoDown(true);\n }else if (batVolt.getVoltage() < 10 || robot.touchSensor.isPressed()) {\n if (writer != null)\n writer.close();\n robot.shooterPower(0);\n requestOpModeStop();\n }\n telemetry.addData(\"Runtime\", runtime.toString());\n telemetry.addData(\"PrevTime\", prevTime);\n } catch (IOException | InterruptedException e) {\n e.printStackTrace();\n }\n }",
"@Override\n public void periodic() {\n // This method will be called once per scheduler run\n }",
"@Override\n public void autonomousPeriodic() {\n\n }",
"@Scheduled(fixedRate = 2000)\n\tpublic void scheduleTaskWithFixedRate() {\n\t\tlog.info(\"Fixed Rate Task :: Execution Time - {}\", dateTimeFormatter.format(LocalDateTime.now()) );\n\t}",
"@Override\n public void teleopPeriodic() {\n CommandScheduler.getInstance().run();\n OI.getInstance().getPilot().run();\n SmartDashboard.putNumber(\"gyro\", getRobotContainer().getTecbotSensors().getYaw());\n SmartDashboard.putBoolean(\"isSpeed\", getRobotContainer().getDriveTrain().getTransmissionMode() == DriveTrain.TransmissionMode.speed);\n SmartDashboard.putString(\"DT_MODE\", getRobotContainer().getDriveTrain().getCurrentDrivingMode().toString());\n SmartDashboard.putNumber(\"x_count\", getRobotContainer().getClimber().getxWhenPressedCount());\n\n }",
"public void tick() {\r\n }",
"@Override\r\n\tpublic void run() {\n\t\tstartFlag = true;\r\n\t\twhile (startFlag) {\r\n \t\ttry {\r\n \t\t\tThread.sleep(updateRate);\r\n \t\t} catch (InterruptedException e) {\r\n \t\t\tSystem.out.println(e.getMessage());\r\n \t\t}catch (RuntimeException e) {\r\n\t\t\t\t//System.out.print(e.getMessage());\r\n\t\t\t}\r\n \t} \t\t\r\n\t}",
"@Override\n public void autonomousPeriodic() {\n }",
"@Override\n public void autonomousPeriodic() {\n }",
"@Override\n public void autonomousPeriodic() {\n }",
"public void autonomousPeriodic() {\n // RobotMap.helmsman.trackPosition();\n Scheduler.getInstance().run();\n }",
"public void tick() {\n\t\ttick(1);\n\t}",
"public void setSpeed(int hz) {\n this.interval = 1000000000L / hz;\n if (!stopped.get()) {\n this.stop(); \n this.start();\n }\n }",
"@Override\n public void autonomousPeriodic() {\n }",
"public void tick()\r\n\t{\r\n\t\tduration = (int) (((Sys.getTime() - lastCall) * resolution) / Sys\r\n\t\t\t\t.getTimerResolution());\r\n\t\tlastCall = Sys.getTime();\r\n\t}",
"@Override\n public void setup(){\n frameRate(60);\n noStroke();\n }",
"@Override\n\tpublic void periodic() {\n\t}",
"public void teleopPeriodic() {\n Scheduler.getInstance().run();\n rumbleInYourPants();\n turnSpindleIfNeeded();\n turnWinchIfNeeded();\n if (arcadeDrive != null) \n arcadeDrive.start();\n }",
"public void updatePeriodic() {\r\n }",
"public void run() {\r\n\t\tboolean repeat = true;\r\n\t\tint count = 0;\r\n\t\twhile(repeat){\r\n\t\t\tcount ++;\r\n\t\t\t//updates currency rates every hour (count>60)\r\n\t\t\tif(count > 60){\r\n\t\t\t\tcurrencies.updateRates();\r\n\t\t\t\tcount = 1;\r\n\t\t\t}\r\n\t\t\tprintStatus();\r\n\t\t\ttry{\r\n\t\t\t\tThread.sleep(60000);\r\n\t\t\t}catch(InterruptedException ex){\r\n\t\t\t\trepeat = false;\r\n\t\t\t}\r\n\t\t}\r\n\t}",
"public void autonomousPeriodic() {\n myDog.feed();\n }",
"public void teleopPeriodic() \n {\n // NIVision.Rect rect = new NIVision.Rect(10, 10, 100, 100);\n /*\n NIVision.IMAQdxGrab(session, frame, 1);\n //NIVision.imaqDrawShapeOnImage(frame, frame, rect,\n // DrawMode.DRAW_VALUE, ShapeMode.SHAPE_OVAL, 0.0f);\n */\n \n //cam.getImage(frame);\n //camServer.setImage(frame);\n \n //CameraServer.getInstance().setImage(frame);\n \n if(verticalLift.limitSwitchHit())\n verticalLift.resetEnc();\n \n Scheduler.getInstance().run();\n }",
"public void tick() {\r\n tick++;\r\n }",
"@Override\n public void periodic() {\n UpdateDashboard();\n }",
"public void autonomousPeriodic()\r\n {\r\n \r\n }",
"@Override\r\n public void periodic() {\n\r\n }",
"public void teleopPeriodic() {\r\n Scheduler.getInstance().run();\r\n OI.poll();\r\n }",
"@Override\r\n\tpublic void tick() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void tick() {\n\t\t\r\n\t}",
"public void tick() {\n\t}",
"public void tick() {\n\t}",
"@Override\n public void run() {\n hdt.gyroTurn180Fast(1500);\n hdt.gyroTurn180(1100);\n //sleep(1300);\n }",
"@Override\n public void run() {\n start(10, 500);\n }",
"protected void runEachSecond() {\n \n }",
"public void onTimeTick() {\n tick++;\n try {\n sendBeaconLog(10);\n } catch (InterruptedException e) {\n }\n if (tick % 10 == 0) {\n sendDirectedPresence();\n }\n }",
"public void autonomousPeriodic() {\n \n }",
"public void autonomousPeriodic() {\n //Scheduler.getInstance().run();\n /** if(autoLoopCounter < 100) { //Checks to see if the counter has reached 100 yet\n myRobot.drive(-0.5, 0.0); //If the robot hasn't reached 100 packets yet, the robot is set to drive forward at half speed, the next line increments the counter by 1\n autoLoopCounter++;\n } else {\n myRobot.drive(0.0, 0.0); //If the robot has reached 100 packets, this line tells the robot to stop\n }*/\n }",
"public void demoSchduleMethod() {\n log.info(\"Method executed at every 5 seconds. Current time is :: \" + new Date());\n }",
"@Override\n public void autonomousPeriodic() {\n \n Scheduler.getInstance().run();\n \n }",
"public void autonomousPeriodic() {\r\n }",
"public void autonomousPeriodic() {\r\n }",
"@Override\n public void tick() {\n super.tick();\n }",
"@Override\n public void robotPeriodic() {\n }",
"@Override\n public void robotPeriodic() {\n }",
"@Override\n public void robotPeriodic() {\n }",
"@Override\n public void robotPeriodic() {\n }",
"@Override\n public void robotPeriodic() {\n }",
"@Override\n public void robotPeriodic() {\n }",
"@Override\r\n\tpublic void perSecond() {\n\r\n\t}",
"public void tick() {\n\t\tmFrameCount++;\n\t\t\n\t\tif (mStopwatch.getElapsedTime() > 1000) {\n\t\t\tmFramesPerSecond = mFrameCount;\n\t\t\tmFrameCount = 0;\n\t\t\t\n\t\t\tmStopwatch.restart();\n\t\t}\n\t}",
"public void autonomousPeriodic() {\n\n }",
"public void autonomousPeriodic() {\n\n }"
] | [
"0.6536313",
"0.6536313",
"0.64788884",
"0.64788884",
"0.64788884",
"0.64788884",
"0.6468697",
"0.6468697",
"0.6468697",
"0.6468697",
"0.6468697",
"0.6468697",
"0.6468697",
"0.6468697",
"0.6468697",
"0.6468697",
"0.6468697",
"0.6468697",
"0.6468697",
"0.6468697",
"0.6468697",
"0.6468697",
"0.6468697",
"0.6468697",
"0.6468697",
"0.6468697",
"0.6468697",
"0.6468697",
"0.6468697",
"0.6468697",
"0.6468697",
"0.6468697",
"0.6468697",
"0.6468697",
"0.6468697",
"0.6468697",
"0.6468697",
"0.6468697",
"0.6468697",
"0.6468697",
"0.6468697",
"0.6432107",
"0.6407961",
"0.6407961",
"0.6407961",
"0.63454366",
"0.63084143",
"0.6291794",
"0.6291488",
"0.6291246",
"0.62797517",
"0.6275121",
"0.6268221",
"0.6261233",
"0.6252923",
"0.6243842",
"0.6242621",
"0.6242621",
"0.6242621",
"0.624058",
"0.62307435",
"0.6214801",
"0.62123024",
"0.6208814",
"0.6200265",
"0.61917007",
"0.61875874",
"0.61779016",
"0.6177889",
"0.6169332",
"0.6153089",
"0.61500126",
"0.6149396",
"0.6148834",
"0.61472607",
"0.6147132",
"0.6145511",
"0.6145511",
"0.61389154",
"0.61389154",
"0.6130816",
"0.6122681",
"0.6121867",
"0.61163217",
"0.6111312",
"0.6108959",
"0.61083055",
"0.6103396",
"0.60796326",
"0.60796326",
"0.60765415",
"0.60713625",
"0.60713625",
"0.60713625",
"0.60713625",
"0.60713625",
"0.60713625",
"0.60546106",
"0.6049799",
"0.60305375",
"0.60305375"
] | 0.0 | -1 |
when this returns true, the command will stop, and the end method will be called | protected boolean isFinished() {
return false;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void endCommand();",
"@Override\n public boolean isEnding() {\n return false;\n }",
"protected void end() {\n \tRobot.conveyor.stop();\n }",
"protected void end() {\n\t\tRobot.conveyor.Stop();\n\t}",
"protected void end()\n\t{\n\t\tstop();\n\t}",
"private Boolean quitCommand() {\n output.println(\"QUIT COMMAND\");\n return false;\n }",
"protected abstract boolean end();",
"protected void end() {\r\n // stop motor, reset position on the dumper, enable closed loop\r\n }",
"@Override\r\n public void executeCommand() {\r\n shell.stopRunning();\r\n }",
"@Override\n protected void end() {\n System.out.println(\"elevator down command ended\");\n }",
"protected void end() {\n isFinished();\n }",
"public abstract boolean shouldEnd();",
"@Override\n public void stopExecute() {\n\n }",
"protected void end() {\n \t//Just let the lift keep holding the current motion magic\n \t//setpoint after this command ends\n \tRobot.debug.Stop();\n }",
"protected void end() {\n Robot.m_Cannon.stop();\n }",
"public boolean stop();",
"protected void end() {\n \tRobot.telemetry.setAutonomousStatus(\"Finishing \" + commandName + \": \" + distance);\n Robot.driveDistancePID.disable();\n \tRobot.drivetrain.arcadeDrive(0.0, 0.0);\n }",
"@Override\n public boolean isExit() {\n return true;\n }",
"@Override\r\n protected boolean isFinished() {\n return false;\r\n }",
"@Override\n public boolean isExit() {\n return false;\n }",
"@Override\n public boolean isExit() {\n return false;\n }",
"@Override\n public boolean isExit() {\n return false;\n }",
"@Override\n public boolean isExit() {\n return false;\n }",
"@Override\n public boolean isExit() {\n return false;\n }",
"@Override\r\n\tprotected boolean isFinished() {\r\n\t\treturn false;\r\n\t}",
"@Override\r\n\tprotected boolean isFinished() {\r\n\t\treturn false;\r\n\t}",
"protected void end() {\n \t//Robot.motor.disable();\n \tRobot.motor.disable();\n }",
"@Override\n\tprotected boolean isFinished() {\n\t\treturn false;\t\t\n\t}",
"@Override\n protected boolean isFinished()\n {\n return false;\n }",
"@Override\n protected boolean isFinished() \n {\n return false;\n }",
"protected void end() {\n \tdrivemotors.stop();\n }",
"@Override\r\n\tprotected boolean isFinished() {\n\t\treturn false;\r\n\t}",
"@Override\r\n\tprotected boolean isFinished() {\n\t\treturn false;\r\n\t}",
"@Override\n\tprotected boolean isFinished() {\n\t\treturn false;\n\t}",
"@Override\n\tprotected boolean isFinished() {\n\t\treturn false;\n\t}",
"@Override\n\tprotected boolean isFinished() {\n\t\treturn false;\n\t}",
"@Override\n\tprotected boolean isFinished() {\n\t\treturn false;\n\t}",
"@Override\n\tprotected boolean isFinished() {\n\t\treturn false;\n\t}",
"@Override\n\tprotected boolean isFinished() {\n\t\treturn false;\n\t}",
"@Override\n\tprotected boolean isFinished() {\n\t\treturn false;\n\t}",
"@Override\n\tprotected boolean isFinished() {\n\t\treturn false;\n\t}",
"@Override\n\tprotected boolean isFinished() {\n\t\treturn false;\n\t}",
"@Override\n protected boolean isFinished() {\n return false;\n }",
"@Override\n protected boolean isFinished() {\n return false;\n }",
"@Override\n protected void end() {\n if (!extend) Robot.rearHatch.stopRearHatch();\n }",
"private boolean quit(Command command) \n {\n if(command.hasSecondWord()) {\n Logger.Log(\"Quit what?\");\n return false;\n }\n else {\n return true; // signal that we want to quit\n }\n }",
"@Override\n\t\tpublic boolean isFinished() {\n\t\t\treturn false;\n\t\t}",
"@Override\n public boolean isFinished() {\n return false;\n }",
"@Override\n public void stop() {}",
"@Override\n\tprotected boolean isFinished()\n\t{\n\t\treturn false;\n\t}",
"@Override\n public boolean isFinished() {\n return false;\n }",
"@Override\n public boolean isFinished() {\n return false;\n }",
"@Override\n public boolean isFinished() {\n return false;\n }",
"@Override\n public boolean isFinished() {\n return false;\n }",
"@Override\n public boolean isFinished() {\n return false;\n }",
"@Override\n protected boolean isFinished() {\n return false;\n }",
"@Override\n protected boolean isFinished() {\n return false;\n }",
"@Override\n protected boolean isFinished() {\n return false;\n }",
"@Override\n protected boolean isFinished() {\n return false;\n }",
"@Override\n protected boolean isFinished() {\n return false;\n }",
"@Override\n protected boolean isFinished() {\n return false;\n }",
"@Override\n protected boolean isFinished() {\n return false;\n }",
"@Override\n protected boolean isFinished() {\n return false;\n }",
"@Override\n protected boolean isFinished() {\n return false;\n }",
"@Override\n protected boolean isFinished() {\n return false;\n }",
"@Override\n protected boolean isFinished() {\n return false;\n }",
"@Override\n protected boolean isFinished() {\n return false;\n }",
"@Override\n protected boolean isFinished() {\n return false;\n }",
"@Override\n protected boolean isFinished() {\n return false;\n }",
"@Override\n protected boolean isFinished() {\n return false;\n }",
"@Override\n boolean isFinished() {\n return false;\n }",
"@Override\r\n\tprotected void end() {\n\t\tRobot.turret.stop();\r\n\t}",
"@Override\n public boolean isFinished() {\n return false;\n }",
"@Override\n public boolean isFinished() {\n return false;\n }",
"@Override\n public boolean isFinished() {\n return false;\n }",
"@Override\n public boolean isFinished() {\n return false;\n }",
"@Override\n public boolean isFinished() {\n return false;\n }",
"@Override\n public boolean isFinished() {\n return false;\n }",
"@Override\n public boolean isFinished() {\n return false;\n }",
"@Override\n public boolean isFinished() {\n return false;\n }",
"@Override\n public boolean isFinished() {\n return false;\n }",
"@Override\n public boolean isFinished() {\n return false;\n }",
"@Override\n public boolean isFinished() {\n return false;\n }",
"@Override\n public boolean isFinished() {\n return false;\n }",
"@Override\n public boolean isFinished() {\n return false;\n }",
"@Override\n public boolean isFinished() {\n return false;\n }",
"@Override\n public boolean isFinished() {\n return false;\n }",
"@Override\n public boolean isFinished() {\n return false;\n }",
"@Override\n public boolean isFinished() {\n return false;\n }",
"@Override\n public boolean isFinished() {\n return false;\n }",
"@Override\n public boolean isFinished() {\n return false;\n }",
"protected void end() {\n \tRobot.driveBase.stopDead();\n }",
"@Override\n\tpublic boolean isFinished() {\n\t\treturn false;\n\t}",
"public void end() {\n\t\tsigue = false;\n\t}",
"@Override\n\tpublic boolean isFinished()\n\t{\n\t\treturn false;\n\t}",
"@Override\r\n public void stop() {\r\n }",
"@Override\r\n public void stop() {\r\n }",
"public void stop(){\n quit = true;\n }",
"@Override\n public void end(boolean interrupted) {\n Robot.Climber.stop();\n SmartDashboard.putBoolean(\"Climb:\", false);\n }",
"public void stop(){\n return;\n }",
"@Override public void stop () {\n }"
] | [
"0.7998673",
"0.72074896",
"0.7041473",
"0.69713545",
"0.69350505",
"0.6929109",
"0.6924111",
"0.68974453",
"0.6887337",
"0.6884323",
"0.6863384",
"0.6855089",
"0.6839359",
"0.68207806",
"0.67961067",
"0.6739766",
"0.67379916",
"0.6665185",
"0.6652577",
"0.6651714",
"0.6651714",
"0.6651714",
"0.6651714",
"0.6651714",
"0.6650665",
"0.6650665",
"0.66316694",
"0.6631224",
"0.66311365",
"0.66282415",
"0.662134",
"0.6621178",
"0.6621178",
"0.66177005",
"0.66177005",
"0.66177005",
"0.66177005",
"0.66177005",
"0.66177005",
"0.66177005",
"0.66177005",
"0.66177005",
"0.6607609",
"0.6607609",
"0.659466",
"0.6591665",
"0.65888166",
"0.65871495",
"0.6577686",
"0.65775263",
"0.65693915",
"0.65693915",
"0.65693915",
"0.65693915",
"0.65693915",
"0.65656644",
"0.65656644",
"0.65656644",
"0.65656644",
"0.65656644",
"0.65656644",
"0.65656644",
"0.65656644",
"0.65656644",
"0.65656644",
"0.65656644",
"0.65656644",
"0.65656644",
"0.65656644",
"0.65656644",
"0.6562806",
"0.65624636",
"0.65347415",
"0.65347415",
"0.65347415",
"0.65347415",
"0.65347415",
"0.65347415",
"0.65347415",
"0.65347415",
"0.65347415",
"0.65347415",
"0.65347415",
"0.65347415",
"0.65347415",
"0.65347415",
"0.65347415",
"0.65347415",
"0.65347415",
"0.65347415",
"0.65347415",
"0.65220594",
"0.6518158",
"0.64974797",
"0.6496428",
"0.6487435",
"0.6487435",
"0.64862716",
"0.6478895",
"0.6466193",
"0.6449953"
] | 0.0 | -1 |
Called once after isFinished returns true | protected void end() {
Robot.gearIntake.setIsDown(false);
Robot.gearIntake.setGearRollerSpeed(0);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n protected boolean isFinished() {\n return true;\n }",
"@Override\n protected boolean isFinished() {\n return true;\n }",
"@Override\n public boolean isFinished() {\n return true;\n }",
"@Override\r\n\tprotected boolean isFinished() {\n\t\treturn true;\r\n\t}",
"@Override\r\n\tprotected boolean isFinished() {\n\t\treturn true;\r\n\t}",
"@Override\n protected boolean isFinished()\n {\n return false;\n }",
"@Override\n protected boolean isFinished() \n {\n return false;\n }",
"@Override\n public boolean isFinished() {\n return true;\n }",
"@Override\n protected boolean isFinished() {\n return false;\n }",
"@Override\n protected boolean isFinished() {\n return false;\n }",
"@Override\n protected boolean isFinished() {\n return false;\n }",
"@Override\n protected boolean isFinished() {\n return false;\n }",
"@Override\n protected boolean isFinished() {\n return false;\n }",
"@Override\n protected boolean isFinished() {\n return false;\n }",
"@Override\n protected boolean isFinished() {\n return false;\n }",
"@Override\n protected boolean isFinished() {\n return false;\n }",
"@Override\n protected boolean isFinished() {\n return false;\n }",
"@Override\n protected boolean isFinished() {\n return false;\n }",
"@Override\n protected boolean isFinished() {\n return false;\n }",
"@Override\n protected boolean isFinished() {\n return false;\n }",
"@Override\n protected boolean isFinished() {\n return false;\n }",
"@Override\n protected boolean isFinished() {\n return false;\n }",
"@Override\n protected boolean isFinished() {\n return false;\n }",
"@Override\n boolean isFinished() {\n return false;\n }",
"@Override\r\n protected boolean isFinished() {\n return false;\r\n }",
"@Override\n protected boolean isFinished() {\n return false;\n }",
"@Override\n protected boolean isFinished() {\n return false;\n }",
"protected boolean isFinished(){\r\n return true;\r\n }",
"protected boolean isFinished() {\n return true;\n }",
"protected boolean isFinished() {\n return true;\n }",
"protected boolean isFinished() {\n return true;\n }",
"protected boolean isFinished() {\n return true;\n }",
"protected boolean isFinished() {\n return true;\n }",
"protected boolean isFinished() {\n return true;\n }",
"@Override\n public boolean isFinished() {\n return false;\n }",
"@Override\r\n\tprotected boolean isFinished() {\r\n\t\treturn false;\r\n\t}",
"@Override\r\n\tprotected boolean isFinished() {\r\n\t\treturn false;\r\n\t}",
"@Override\n public boolean isFinished() {\n return false;\n }",
"@Override\n public boolean isFinished() {\n return false;\n }",
"@Override\n public boolean isFinished() {\n return false;\n }",
"@Override\n public boolean isFinished() {\n return false;\n }",
"@Override\n public boolean isFinished() {\n return false;\n }",
"@Override\n public boolean isFinished() {\n return false;\n }",
"@Override\n public boolean isFinished() {\n return false;\n }",
"@Override\n public boolean isFinished() {\n return false;\n }",
"@Override\n public boolean isFinished() {\n return false;\n }",
"@Override\n public boolean isFinished() {\n return false;\n }",
"@Override\n public boolean isFinished() {\n return false;\n }",
"@Override\n public boolean isFinished() {\n return false;\n }",
"@Override\n public boolean isFinished() {\n return false;\n }",
"@Override\n public boolean isFinished() {\n return false;\n }",
"@Override\n public boolean isFinished() {\n return false;\n }",
"@Override\n public boolean isFinished() {\n return false;\n }",
"@Override\n public boolean isFinished() {\n return false;\n }",
"@Override\n public boolean isFinished() {\n return false;\n }",
"@Override\n public boolean isFinished() {\n return false;\n }",
"@Override\n protected boolean isFinished() {\n return isFinished;\n }",
"@Override\n public boolean isFinished() {\n return false;\n }",
"@Override\n public boolean isFinished() {\n return false;\n }",
"@Override\n public boolean isFinished() {\n return false;\n }",
"@Override\n public boolean isFinished() {\n return false;\n }",
"@Override\n public boolean isFinished() {\n return false;\n }",
"@Override\r\n\tprotected boolean isFinished() {\n\t\treturn false;\r\n\t}",
"@Override\r\n\tprotected boolean isFinished() {\n\t\treturn false;\r\n\t}",
"@Override\n\tprotected boolean isFinished()\n\t{\n\t\treturn false;\n\t}",
"@Override\r\n protected boolean isFinished() {\n if (super.isFinished()) {\r\n return true;\r\n }\r\n\r\n return false;\r\n }",
"@Override\n protected boolean isFinished() {\n return finished;\n }",
"protected boolean isFinished()\n\t{\n\t\treturn true;\n\t}",
"protected boolean isFinished() {\n\t\treturn true;\n\t}",
"protected boolean isFinished() {\n\t\treturn true;\n\t}",
"protected boolean isFinished() {\n\t\treturn true;\n\t}",
"@Override\n\tprotected boolean isFinished() {\n\t\treturn false;\n\t}",
"@Override\n\tprotected boolean isFinished() {\n\t\treturn false;\n\t}",
"@Override\n\tprotected boolean isFinished() {\n\t\treturn false;\n\t}",
"@Override\n\tprotected boolean isFinished() {\n\t\treturn false;\n\t}",
"@Override\n\tprotected boolean isFinished() {\n\t\treturn false;\n\t}",
"@Override\n\tprotected boolean isFinished() {\n\t\treturn false;\n\t}",
"@Override\n\tprotected boolean isFinished() {\n\t\treturn false;\n\t}",
"@Override\n\tprotected boolean isFinished() {\n\t\treturn false;\n\t}",
"@Override\n\tprotected boolean isFinished() {\n\t\treturn false;\n\t}",
"protected boolean isFinished() {\n return false;\n }",
"protected boolean isFinished() {\n return false;\n }",
"protected boolean isFinished() {\n return false;\n }",
"protected boolean isFinished() {\n return false;\n }",
"protected boolean isFinished() {\n return false;\n }",
"protected boolean isFinished() {\n return false;\n }",
"protected boolean isFinished() {\n return false;\n }",
"protected boolean isFinished() {\n return false;\n }",
"protected boolean isFinished() {\n return false;\n }",
"protected boolean isFinished() {\n return false;\n }",
"protected boolean isFinished() {\n return false;\n }",
"protected boolean isFinished() {\n return false;\n }",
"protected boolean isFinished() {\n return false;\n }",
"protected boolean isFinished() {\n return false;\n }",
"protected boolean isFinished() {\n return false;\n }",
"protected boolean isFinished() {\n return false;\n }",
"protected boolean isFinished() {\n return false;\n }",
"protected boolean isFinished() {\n return false;\n }",
"protected boolean isFinished() {\n return false;\n }",
"protected boolean isFinished() {\n return false;\n }",
"protected boolean isFinished() {\n return false;\n }"
] | [
"0.85859007",
"0.854002",
"0.83345413",
"0.8331934",
"0.8331934",
"0.830716",
"0.83051914",
"0.8299351",
"0.82780725",
"0.82780725",
"0.82780725",
"0.82780725",
"0.82780725",
"0.82780725",
"0.82780725",
"0.82780725",
"0.82780725",
"0.82780725",
"0.82780725",
"0.82780725",
"0.82780725",
"0.82780725",
"0.82780725",
"0.8276973",
"0.82693654",
"0.8238094",
"0.8238094",
"0.8229726",
"0.82068425",
"0.82068425",
"0.82068425",
"0.82068425",
"0.82068425",
"0.82068425",
"0.81634986",
"0.8159585",
"0.8159585",
"0.815244",
"0.815244",
"0.815244",
"0.815244",
"0.815244",
"0.815244",
"0.815244",
"0.815244",
"0.815244",
"0.815244",
"0.815244",
"0.815244",
"0.815244",
"0.815244",
"0.815244",
"0.815244",
"0.815244",
"0.815244",
"0.815244",
"0.81462336",
"0.8138514",
"0.8138514",
"0.8138514",
"0.8138514",
"0.8138514",
"0.8125714",
"0.8125714",
"0.8113434",
"0.8112395",
"0.8089098",
"0.80836993",
"0.80411166",
"0.80411166",
"0.80411166",
"0.8033338",
"0.8033338",
"0.8033338",
"0.8033338",
"0.8033338",
"0.8033338",
"0.8033338",
"0.8033338",
"0.8033338",
"0.80275273",
"0.80275273",
"0.80275273",
"0.80275273",
"0.80275273",
"0.80275273",
"0.80275273",
"0.80275273",
"0.80275273",
"0.80275273",
"0.80275273",
"0.80275273",
"0.80275273",
"0.80275273",
"0.80275273",
"0.80275273",
"0.80275273",
"0.80275273",
"0.80275273",
"0.80275273",
"0.80275273"
] | 0.0 | -1 |
Called when another command which requires one or more of the same subsystems is scheduled to run | protected void interrupted() {
end();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public AutonomousCommand(LiftSubsystem m_lift, ArmSubsystem m_arm, Shooter m_shooter, DriveSubsystem m_drive,\n HopperSubsystem m_hopper, Intake m_intake) {\n // Add your commands in the super() call, e.g.\n // super(new FooCommand(), new BarCommand());\n // alongwith- birlikte çalıştırmak için // withtimeout-- girdigin sure kadar\n // yapar\n // (new RunShooter(m_shooter, 1).withTimeout(0.75),new RunLift(m_lift,\n // 0.5).raceWith(new RunHopper(m_hopper, 0.8)),\n // new AutonomousDrive(m_drive, 0.8, 300).withTimeout(3));\n\n super(new RunShooter(m_shooter, 0.8).withTimeout(0.75),\n new RunShooter(m_shooter, 0.8).raceWith(new RunHopper(m_hopper, 0.8)).withTimeout(2.5),\n new AutonomousDrive(m_drive, -0.8, -300).raceWith(new RunIntake(m_intake, 0.8)\n .raceWith(new RunHopper(m_hopper, 0.8).raceWith(new RunShooter(m_shooter, 0.3),\n new AutonomousDrive(m_drive, 0.8, 300), new RunShooter(m_shooter, 0.8).withTimeout(0.75),\n new RunShooter(m_shooter, 0.8).raceWith(new RunHopper(m_hopper, 0.8).withTimeout(2.5))))));\n\n }",
"@Override\n /**\n * Set the default command for a subsystem here\n */\n public void initDefaultCommand() \n {\n // Set the default command for a subsystem here.\n // setDefaultCommand(new MySpecialCommand());\n }",
"private void registerCommands() {\n\t\tCommandRegistry.INSTANCE.register(false, (dispatcher) -> dispatcher.register(\n\t\t\t\tCommandManager.literal(\"arrecurtick\")\n\t\t\t\t\t\t.then(argument(\"Number of Ticks Between Sends\", integer())\n\t\t\t\t\t\t\t\t.executes(c -> {\n\t\t\t\t\t\t\t\t\tconfig.timeBetween = getInteger(c, \"Number of Ticks Between Sends\");\n\t\t\t\t\t\t\t\t\tConfigManager.saveConfig(config, \"AutoReplyConfigFile\");\n\t\t\t\t\t\t\t\t\tc.getSource().sendFeedback(new StringTextComponent(\"Recurring message will be sent every \" + getInteger(c, \"Number of Ticks Between Sends\") + \" ticks.\"), false);\n\t\t\t\t\t\t\t\t\treturn Command.SINGLE_SUCCESS;\n\t\t\t\t\t\t\t\t}))\n\t\t));\n\t\t//arrecurphrase [Recurring Phrase]\n\t\tCommandRegistry.INSTANCE.register(false, (dispatcher) -> dispatcher.register(\n\t\t\t\tCommandManager.literal(\"arrecurphrase\")\n\t\t\t\t\t\t.then(argument(\"Recurring Phrase\", string())\n\t\t\t\t\t\t\t\t.executes(c -> {\n\t\t\t\t\t\t\t\t\tconfig.persistentPhrase = getString(c, \"Recurring Phrase\");\n\t\t\t\t\t\t\t\t\tConfigManager.saveConfig(config, \"AutoReplyConfigFile\");\n\t\t\t\t\t\t\t\t\tc.getSource().sendFeedback(new StringTextComponent(\"Recurring message set to \\\"\" + getString(c, \"Recurring Phrase\") + \"\\\".\"), false);\n\t\t\t\t\t\t\t\t\treturn Command.SINGLE_SUCCESS;\n\t\t\t\t\t\t\t\t}))\n\t\t));\n\t\t//arrecurtoggle\n\t\tCommandRegistry.INSTANCE.register(false, (dispatcher) -> dispatcher.register(\n\t\t\t\tCommandManager.literal(\"arrecurtoggle\")\n\t\t\t\t\t\t.executes(c -> {\n\t\t\t\t\t\t\tconfig.persistentChat = !config.persistentChat;\n\t\t\t\t\t\t\tConfigManager.saveConfig(config, \"AutoReplyConfigFile\");\n\t\t\t\t\t\t\tc.getSource().sendFeedback(new StringTextComponent(\"Recurring message has been turned \" + (config.persistentChat ? \"on\" : \"off\") + \".\"), false);\n\t\t\t\t\t\t\treturn Command.SINGLE_SUCCESS;\n\t\t\t\t\t\t})\n\t\t));\n\t\t//arrecur [Enabled?]\n\t\tCommandRegistry.INSTANCE.register(false, (dispatcher) -> dispatcher.register(\n\t\t\t\tCommandManager.literal(\"arrecur\")\n\t\t\t\t\t\t.then(argument(\"Enabled?\", bool())\n\t\t\t\t\t\t\t\t.executes(c -> {\n\t\t\t\t\t\t\t\t\tconfig.persistentChat = getBool(c, \"Enabled?\");\n\t\t\t\t\t\t\t\t\tConfigManager.saveConfig(config, \"AutoReplyConfigFile\");\n\t\t\t\t\t\t\t\t\tc.getSource().sendFeedback(new StringTextComponent(\"Recurring message set to \\\"\" + (config.persistentChat ? \"on\" : \"off\") + \"\\\".\"), false);\n\t\t\t\t\t\t\t\t\treturn Command.SINGLE_SUCCESS;\n\t\t\t\t\t\t\t\t}))\n\t\t));\n\t\t//aradditem [Item Name] [Trigger Term]\n\t\tCommandRegistry.INSTANCE.register(false, (dispatcher) -> dispatcher.register(\n\t\t\t\tCommandManager.literal(\"araddterm\")\n\t\t\t\t\t\t.then(argument(\"Item Name\", string())\n\t\t\t\t\t\t\t\t.then(argument(\"Trigger Term\", string())\n\t\t\t\t\t\t\t\t.executes(c -> {\n\t\t\t\t\t\t\t\t\tconfig.terms.add(getString(c, \"Trigger Term\") + \"|\" + getString(c, \"Item Name\"));\n\t\t\t\t\t\t\t\t\tConfigManager.saveConfig(config, \"AutoReplyConfigFile\");\n\t\t\t\t\t\t\t\t\tHelper.setupChatMessages();\n\t\t\t\t\t\t\t\t\tc.getSource().sendFeedback(new StringTextComponent(\"Added term \\\"\" + getString(c, \"Trigger Term\") + \"\\\" to item \\\"\" + getString(c, \"Item Name\") + \"\\\".\"), false);\n\t\t\t\t\t\t\t\t\treturn Command.SINGLE_SUCCESS;\n\t\t\t\t\t\t\t\t})))\n\t\t));\n\t\t//araddin [In Phrase]\n\t\tCommandRegistry.INSTANCE.register(false, (dispatcher) -> dispatcher.register(\n\t\t\t\tCommandManager.literal(\"araddin\")\n\t\t\t\t\t\t.then(argument(\"In Phrase\", string())\n\t\t\t\t\t\t\t\t.executes(c -> {\n\t\t\t\t\t\t\t\t\tconfig.ins.add(getString(c, \"In Phrase\"));\n\t\t\t\t\t\t\t\t\tConfigManager.saveConfig(config, \"AutoReplyConfigFile\");\n\t\t\t\t\t\t\t\t\tc.getSource().sendFeedback(new StringTextComponent(\"Added in-phrase \\\"\" + getString(c, \"In Phrase\") + \"\\\".\"), false);\n\t\t\t\t\t\t\t\t\treturn Command.SINGLE_SUCCESS;\n\t\t\t\t\t\t\t\t}))\n\t\t));\n\t\t//araddout [Out Phrase]\n\t\tCommandRegistry.INSTANCE.register(false, (dispatcher) -> dispatcher.register(\n\t\t\t\tCommandManager.literal(\"araddout\")\n\t\t\t\t\t\t.then(argument(\"Out Phrase\", string())\n\t\t\t\t\t\t\t\t.executes(c -> {\n\t\t\t\t\t\t\t\t\tconfig.outs.add(getString(c, \"Out Phrase\"));\n\t\t\t\t\t\t\t\t\tConfigManager.saveConfig(config, \"AutoReplyConfigFile\");\n\t\t\t\t\t\t\t\t\tc.getSource().sendFeedback(new StringTextComponent(\"Added out-phrase \\\"\" + getString(c, \"Out Phrase\") + \"\\\".\"), false);\n\t\t\t\t\t\t\t\t\treturn Command.SINGLE_SUCCESS;\n\t\t\t\t\t\t\t\t}))\n\t\t));\n\t\t//arreload\n\t\tCommandRegistry.INSTANCE.register(false, (dispatcher) -> dispatcher.register(\n\t\t\t\tCommandManager.literal(\"arreload\")\n\t\t\t\t\t\t.executes(c -> {\n\t\t\t\t\t\t\tarreload();\n\t\t\t\t\t\t\tc.getSource().sendFeedback(new StringTextComponent(\"AutoReply config reloaded.\"), false);\n\t\t\t\t\t\t\treturn Command.SINGLE_SUCCESS;\n\t\t\t\t\t\t})\n\t\t));\n\t\t//araddshopitem [Item Name] [Quantity] [Price]\n\t\tCommandRegistry.INSTANCE.register(false, (dispatcher) -> dispatcher.register(\n\t\t\t\tCommandManager.literal(\"araddshopitem\")\n\t\t\t\t\t\t.then(argument(\"Item Name\", string()).then(argument(\"Quantity\", string()).then(argument(\"Price\", string())\n\t\t\t\t\t\t.executes(c -> {\n\t\t\t\t\t\t\tconfig.shopItems.add(getString(c, \"Item Name\") + \"|\" + getString(c, \"Quantity\") + \"|$\" + getString(c, \"Price\"));\n\t\t\t\t\t\t\tConfigManager.saveConfig(config, \"AutoReplyConfigFile\");\n\t\t\t\t\t\t\tc.getSource().sendFeedback(new StringTextComponent(\"Added \" + getString(c, \"Item Name\") + \" to shop stock.\"), false);\n\t\t\t\t\t\t\treturn Command.SINGLE_SUCCESS;\n\t\t\t\t\t\t}))))\n\t\t));\n\t}",
"@Override\n\t\tpublic void subTask(String arg0) {\n\n\t\t}",
"public InstantCommand(Runnable toRun, Subsystem... requirements) {\n\t\trequireNonNull(toRun);\n\t\tm_toRun = toRun;\n\t\taddRequirements(requirements);\n\t}",
"private void registerCommands() {\n }",
"protected void runSubCommand(int num) {\n subCommands[num].execute();\n }",
"public static void twoClientSetupProcesses() {\n\n\tList<String> aClientTags=TagsFactory.getAssignmentTags().getTwoClientClientTags();\n\tList<String> aServerTags=TagsFactory.getAssignmentTags().getTwoClientServerTags();\n\n\ttwoClientSetupProcesses(aClientTags, aServerTags);\n//\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().setProcessTeams(Arrays.asList(\"RegistryBasedDistributedProgram\"));\n//\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().setTerminatingProcesses(\"RegistryBasedDistributedProgram\", Arrays.asList(\"Client_0\", \"Client_1\"));\n//\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().setProcesses(\"RegistryBasedDistributedProgram\", Arrays.asList(\"Registry\", \"Server\", \"Client_0\", \"Client_1\"));\n//\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().setEntryTags(\"Registry\", Arrays.asList(\"Registry\"));\n//\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().setEntryTags(\"Server\", aServerTags);\n//\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().setEntryTags(\"Client_0\", aClientTags);\n//\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().setEntryTags(\"Client_1\", aClientTags);\n//\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().setArgs(\"Registry\", FlexibleStaticArgumentsTestCase.TEST_REGISTRY_ARGS);\n//\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().setArgs(\"Server\", FlexibleStaticArgumentsTestCase.TEST_SERVER_ARGS);\n//\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().setArgs(\"Client_0\", FlexibleStaticArgumentsTestCase.TEST_CLIENT_0_ARGS);\n//\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().setArgs(\"Client_1\", FlexibleStaticArgumentsTestCase.TEST_CLIENT_1_ARGS);\n//\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().setSleepTime(\"Registry\", 500);\n//\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().setSleepTime(\"Server\", 2000);\n//\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().setSleepTime(\"Client_0\", 5000);\n//\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().setSleepTime(\"Client_1\", 5000);\n//\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().getProcessTeams().forEach(team -> System.out.println(\"### \" + team));\n}",
"@Override\r\n\tpublic void subTask(String name) {\n\t}",
"@Override\n\t\t\tpublic void subTask(String name) {\n\t\t\t\t\n\t\t\t}",
"void beginPeriodic() {\n\t\t// if some subsystems need to get called in all modes at the beginning\n\t\t// of periodic, do it here\n\n\t\t// don't need to do anything\n\t}",
"@Override\n public void configureTasks( ScheduledTaskRegistrar registrar ) {\n registrar.setScheduler( rhizomeScheduler() );\n }",
"private void isCommandInstance() throws SystemException {\r\n\t\tif (commandInstance != null) return;\r\n\t\tif (commandResponder != null) SystemException.softwareProblem(\"This was not a command instance. There is a bug. Either the super for the command is not well formed or it called a method it shouldn't.\");\r\n\t\tinstantiateCommand();\r\n\t}",
"public PnuematicSubsystem() {\n\n }",
"public void TurnCommand() {\n\n requires(Robot.driveSubsystem);\n\n }",
"public void performOtherTasks() {\n\t\t\tSystem.out.println(\"performing tasks other than servicing\");\n\t\t\t// do whatever you want to do in the servicing package\n\t\t}",
"public void act() {\n\t\tfor (Manager manager : managers.values())\n\t\t\tmanager.act();\n\t\t\n\t\tif (hasPriority == Priority.ARMY && armyQueue.size() > 0) {\n\t\t\t//Tell ArmyManager to build top unit in queue\n\t\t}\n\t\telse if (hasPriority == Priority.BUILDINGS && buildingQueue.size() > 0) {\n\t\t\t//Tell BuildManager to build top building in queue\n\t\t}\n\t\telse if (hasPriority == Priority.WORKERS) {\n\t\t\t//ResourceManager has requested more workers\n\t\t}\n\t}",
"@SystemAPI\npublic interface ScheduleEvent extends IOperation {\n\t/**\n\t * \n\t * @return\tDe duur van de planbare actie (in Millis)\n\t */\n\tpublic TimeDuration getDuration();\n\t\n\t/**\n\t * \n\t * @return\tDe periode waarop de actie gescheduled is\n\t * \t\t\tDit wordt ingesteld door de Scheduler\n\t */\n\t@SystemAPI\n\tpublic TimePeriod getScheduledPeriod(); \n\t\n\t/**\n\t * Als de schedulable specifieke resources nodig heeft, bv. een bepaalde \n\t * dokter of verpleegster, dan komen deze in de onderstaande List.\n\t * @return\t\tDe lijst met specifieke resources die nodig zijn.\n\t */\n\tpublic List<ScheduleResource> neededSpecificResources();\n\t\n\t/**\n\t * \n\t * @return\tEen lijst met de nodige resources.\n\t */\n\tpublic List<ResourceType> neededResources();\n\t\n\t/**\n\t * Zet de periode wanneer de actie gescheduled is.\n\t * @param scheduledPeriod\tDe nieuwe geplande periode\n\t * @param usesResources\tDe resources die gebruikt worden bij het plannen\n\t * @param campus De campus die gebruikt wordt bij het plannen\n\t * @throws SchedulingException Als er niet gepland kan worden\n\t */\n\tpublic void schedule(TimePeriod scheduledPeriod, List<ScheduleResource> usesResources, Campus campus) throws SchedulingException;\n\t\t\n\t/**\n\t * Een methode om te controleren of de events behorende bij een warenhuis gepland kunnen worden.\n\t * @param warehouse\n\t * \t\t Het warenhuis waar gepland moet worden\n\t * @return true\n\t * \t\t Als er gepland kan worden\n\t * @return false\n\t * \t\t Als er niet gepland kan worden\n\t */\n\tpublic boolean canBeScheduled(Warehouse warehouse) ;\n\t\n\t/**\n\t * Een methode om een warehuis te updaten. Met de booleanse waarde\n\t * kan de actie ongedaan gemaakt worden.\n\t * \n\t * @param warehouse\n\t * \t\t Het warenhuis geupdate moet worden\n\t * @param inverse\n\t * \t\t De soort update\n\t */\n\tpublic void updateWarehouse(Warehouse warehouse, boolean inverse) ;\n\t\n\t/**\n\t * Een methode om de prioriteit op te vragen.\n\t * @return\n\t */\n\tpublic Priority getPriority() ;\t\n\t\n\t/**\n\t * Methode die de campus waarop deze actie wordt uitgevoerd opslaat, zodat\n\t * ze later kan gereproduceerd worden wanneer er geannuleerd werd.\n\t * @param \tcampus\n\t * \t\t\tDe CampusId van de campus die moet opgeslagen worden\n\t */\n\tpublic void setHandlingCampus(CampusId campus) ;\n\t\n\t/**\n\t * Methode die de opgeslagen campus terug opvraagt.\n\t * @return\tDe opgeslagen campus\n\t */\n\tpublic CampusId getHandlingCampus();\n\t\n\t/**\n\t * \n\t * @return event type\n\t */\n\t@SystemAPI\n\tpublic EventType getEventType();\n\t\n\t/**\n\t * @return start event\n\t */\n\tpublic Event getStart();\n\t\n\t/**\n\t * \n\t * @return stop event\n\t */\n\tpublic Event getStop();\n}",
"@Override\n protected int run() throws Exception {\n if (User.current() == null) {\n stderr.println(\"Must be logged in before executing...\");\n return 1;\n }\n\n // First check to see if they exist\n Jenkins instance = Jenkins.getInstance();\n AbstractProject project1 = instance.getItemByFullName(first, AbstractProject.class);\n if (project1 == null) {\n throw new CmdLineException(null, \"Project: \" + first + \" does not exist\");\n }\n AbstractProject project2 = instance.getItemByFullName(second, AbstractProject.class);\n if (project2 == null) {\n throw new CmdLineException(null, \"Project: \" + second + \" does not exist\");\n }\n\n // Make sure user has permission to build.\n if (!project1.hasPermission(Item.BUILD) &&\n !project2.hasPermission(Item.BUILD)) {\n throw new CmdLineException(null, \"You do not have permission to execute these jobs.\");\n }\n\n // Let's build both projects.\n project1.scheduleBuild2(0);\n project2.scheduleBuild2(0);\n return 0;\n }",
"@Override\n public void initDefaultCommand() {\n // Set the default command for a subsystem here.\n // setDefaultCommand(new MySpecialCommand());\n setDefaultCommand(new tankDrive());\n }",
"@Scheduled(cron = \"${toil1.schedule2}\")\n\tpublic void toiL1Schedule2() {\n\t\tlog.info(\"Running toiL1Schedule2\");\n\t\trunToiL1Schedule();\n\t\trunToiBlogsL1Schedule();\n\t}",
"private void commandCheck() {\n\t\t//add user command\n\t\tif(cmd.getText().toLowerCase().equals(\"adduser\")) {\n\t\t\t/*\n\t\t\t * permissions check: if user is an admin, proceed. If not, error with a permission error.\n\t\t\t * There will be more user level commands added in version 2, like changing rename to allow a\n\t\t\t * user to rename themselves, but not any other user. Admins can still rename all users.\n\t\t\t */\n\t\t\tif(type.equals(\"admin\")) {\n\t\t\t\taddUser();\n\t\t\t}\n\t\t\telse {\n\t\t\t\terror(PERMISSIONS);\n\t\t\t}\n\t\t}\n\t\t//delete user command\n\t\telse if(cmd.getText().toLowerCase().equals(\"deluser\")) {\n\t\t\t//permissions check: if user is an admin, proceed. If not, error with a permission error.\n\t\t\tif(type.equals(\"admin\")) {\n\t\t\t\tdelUser();\n\t\t\t}\n\t\t\telse {\n\t\t\t\terror(PERMISSIONS);\n\t\t\t};\n\t\t}\n\t\t//rename user command\n\t\telse if(cmd.getText().toLowerCase().equals(\"rename\")) {\n\t\t\t//permissions check: if user is an admin, allow the user o chose a user to rename.\n\t\t\t//If not, allow the user to rename themselves only.\n\t\t\tif(type.equals(\"admin\")) {\n\t\t\t\trename(ALL);\n\t\t\t}\n\t\t\telse {\n\t\t\t\trename(SELF);\n\t\t\t}\n\t\t}\n\t\t//promote user command\n\t\telse if(cmd.getText().toLowerCase().equals(\"promote\")) {\n\t\t\t//permissions check: if user is an admin, proceed. If not, error with a permission error.\n\t\t\tif(type.equals(\"admin\")) {\n\t\t\t\tpromote();\n\t\t\t}\n\t\t\telse {\n\t\t\t\terror(PERMISSIONS);\n\t\t\t}\n\t\t}\n\t\t//demote user command\n\t\telse if(cmd.getText().toLowerCase().equals(\"demote\")) {\n\t\t\t//permissions check: if user is an admin, proceed. If not, error with a permission error.\n\t\t\tif(type.equals(\"admin\")) {\n\t\t\t\tdemote();\n\t\t\t}\n\t\t\telse {\n\t\t\t\terror(PERMISSIONS);\n\t\t\t}\n\t\t}\n\t\t//the rest of the commands are user level, no permission checking\n\t\telse if(cmd.getText().toLowerCase().equals(\"ccprocess\")) {\n\t\t\tccprocess();\n\t\t}\n\t\telse if(cmd.getText().toLowerCase().equals(\"cprocess\")) {\n\t\t\tcprocess();\n\t\t}\n\t\telse if(cmd.getText().toLowerCase().equals(\"opentill\")) {\n\t\t\topenTill();\n\t\t}\n\t\telse if(cmd.getText().toLowerCase().equals(\"closetill\")) {\n\t\t\tcloseTill();\n\t\t}\n\t\telse if(cmd.getText().toLowerCase().equals(\"opendrawer\")) {\n\t\t\topenDrawer();\n\t\t}\n\t\telse if(cmd.getText().toLowerCase().equals(\"sale\")) {\n\t\t\tsale();\n\t\t}\n\t\t//if the command that was entered does not match any command, return an error.\n\t\telse {\n\t\t\terror(CMD_NOT_FOUND);\n\t\t}\n\t}",
"public void verifyAndRegister() {\n // All top level commands are supposed to be registered in the command manager\n this.internalTree.children.stream().map(Node::getValue).forEach(commandArgument -> {\n if (!(commandArgument instanceof StaticArgument)) {\n throw new IllegalStateException(\"Top level command argument cannot be a variable\");\n }\n });\n\n this.checkAmbiguity(this.internalTree);\n\n // Verify that all leaf nodes have command registered\n this.getLeaves(this.internalTree).forEach(leaf -> {\n if (leaf.getOwningCommand() == null) {\n throw new NoCommandInLeafException(leaf);\n } else {\n final Command<C> owningCommand = leaf.getOwningCommand();\n this.commandManager.getCommandRegistrationHandler().registerCommand(owningCommand);\n }\n });\n\n // Register command permissions\n this.getLeavesRaw(this.internalTree).forEach(node -> {\n // noinspection all\n final CommandPermission commandPermission = node.getValue().getOwningCommand().getCommandPermission();\n /* All leaves must necessarily have an owning command */\n node.nodeMeta.put(\"permission\", commandPermission);\n // Get chain and order it tail->head then skip the tail (leaf node)\n List<Node<CommandArgument<C, ?>>> chain = this.getChain(node);\n Collections.reverse(chain);\n chain = chain.subList(1, chain.size());\n // Go through all nodes from the tail upwards until a collision occurs\n for (final Node<CommandArgument<C, ?>> commandArgumentNode : chain) {\n final CommandPermission existingPermission = (CommandPermission) commandArgumentNode.nodeMeta\n .get(\"permission\");\n\n CommandPermission permission;\n if (existingPermission != null) {\n permission = OrPermission.of(Arrays.asList(commandPermission, existingPermission));\n } else {\n permission = commandPermission;\n }\n\n /* Now also check if there's a command handler attached to an upper level node */\n if (commandArgumentNode.getValue() != null && commandArgumentNode\n .getValue()\n .getOwningCommand() != null) {\n final Command<C> command = commandArgumentNode.getValue().getOwningCommand();\n if (this\n .getCommandManager()\n .getSetting(CommandManager.ManagerSettings.ENFORCE_INTERMEDIARY_PERMISSIONS)) {\n permission = command.getCommandPermission();\n } else {\n permission = OrPermission.of(Arrays.asList(permission, command.getCommandPermission()));\n }\n }\n\n commandArgumentNode.nodeMeta.put(\"permission\", permission);\n }\n });\n }",
"void legalCommand();",
"@Override\n\tpublic void teleopInit() {\n\n\t\tSystem.out.println(\"Teleop init\");\n\t\tif (autonomousCommand != null)\n\t\t\tautonomousCommand.cancel();\n\t\tScheduler.getInstance().add(new DriveCommand());\n\n\t\t\n\t}",
"public void registerCommand(BaseCommand baseCommand) throws Exception {\n baseCommand.setShard(shard);\n Command botCommand = baseCommand.botCommand;\n for (BaseCommand cmd : baseCommands) {\n if (StringUtils.stripAccents(cmd.getCommandIdentifier()).equalsIgnoreCase(StringUtils.stripAccents\n (botCommand.getCommandIdentifier())))\n {\n System.out.println(\"Multiple baseCommands cannot be registered under the same name. Ignoring new \" +\n \"instance\" +\n \".\\n\" +\n \"Name: \" + baseCommand.toString());\n return;\n }\n }\n botCommand.setupSubcommands();\n baseCommands.add(baseCommand);\n commandUsages.put(baseCommand.commandIdentifier, (long) 0);\n System.out.println(\"Successfully registered \" + baseCommand.toString());\n }",
"public abstract void checkingCommand(String nameOfCommand, ArrayList<Unit> units);",
"@Test\n public void testSubsystem1_1() throws Exception {\n KernelServices servicesA = super.createKernelServicesBuilder(createAdditionalInitialization())\n .setSubsystemXml(readResource(\"keycloak-1.1.xml\")).build();\n Assert.assertTrue(\"Subsystem boot failed!\", servicesA.isSuccessfulBoot());\n ModelNode modelA = servicesA.readWholeModel();\n super.validateModel(modelA);\n }",
"@Override\n public void adjustStartEventSubscriptions(ProcessDefinitionEntity newLatestProcessDefinition, ProcessDefinitionEntity oldLatestProcessDefinition) {\n super.adjustStartEventSubscriptions(newLatestProcessDefinition, oldLatestProcessDefinition);\n\n LOG.debug(\"Adding start event simulation timers.\");\n removeObsoleteStartEventSimulationJobs(newLatestProcessDefinition);\n addStartEventSimulationJobs(newLatestProcessDefinition);\n }",
"private static void performRoomManagement() {\n\t\t\r\n\t\t\r\n\r\n\t}",
"public void testRunnableWithOtherRule() {\n \t\tISchedulingRule rule = new ISchedulingRule() {\n \t\t\tpublic boolean contains(ISchedulingRule rule) {\n \t\t\t\treturn rule == this;\n \t\t\t}\n \t\t\tpublic boolean isConflicting(ISchedulingRule rule) {\n \t\t\t\treturn rule == this;\n \t\t\t}\n \t\t};\n \t\ttry {\n \t\t\tgetWorkspace().run(new IWorkspaceRunnable() {\n \t\t\t\tpublic void run(IProgressMonitor monitor) {\n \t\t\t\t\t//noop\n \t\t\t\t}\n \t\t\t}, rule, IResource.NONE, getMonitor());\n \t\t} catch (CoreException e) {\n \t\t\tfail(\"1.99\", e);\n \t\t}\n \t}",
"private void loadRegistredCommands() {\n ServiceLoader<Command> loader = ServiceLoader.load(Command.class);\n for (Command command : loader) {\n addCommand(command);\n }\n }",
"public void autonomousInit(){\n\t \t//resetAndDisableSystems();\n\t\t \n\t \tautonomousCommand = (Command) autoChooser.getSelected();\n\t \tautonomousCommand.start();\n\t \t\n\t \t\n\t }",
"private void scheduleOrExecuteJob() {\n try {\n for (TaskScheduler entry : this.schedulers.values()) {\n StandardTaskScheduler scheduler = (StandardTaskScheduler) entry;\n // Maybe other thread close&remove scheduler at the same time\n synchronized (scheduler) {\n this.scheduleOrExecuteJobForGraph(scheduler);\n }\n }\n } catch (Throwable e) {\n LOG.error(\"Exception occurred when schedule job\", e);\n }\n }",
"private void registerCommands() {\n CommandSpec showBanpoints = CommandSpec.builder().permission(\"dtpunishment.banpoints.show\")\r\n .description(Text.of(\"Show how many Banpoints the specified player has \"))\r\n .arguments(GenericArguments.onlyOne(GenericArguments.user(Text.of(\"player\"))))\r\n .executor(childInjector.getInstance(CommandBanpointsShow.class)).build();\r\n\r\n CommandSpec addBanpoints = CommandSpec.builder().permission(\"dtpunishment.banpoints.add\")\r\n .description(Text.of(\"Add a specified amount of Banpoints to a player \"))\r\n .arguments(GenericArguments.onlyOne(GenericArguments.user(Text.of(\"player\"))),\r\n GenericArguments.onlyOne(GenericArguments.integer(Text.of(\"amount\"))))\r\n .executor(childInjector.getInstance(CommandBanpointsAdd.class)).build();\r\n\r\n CommandSpec removeBanpoints = CommandSpec.builder().permission(\"dtpunishment.banpoints.remove\")\r\n .description(Text.of(\"Remove a specified amount of Banpoints to a player \"))\r\n .arguments(GenericArguments.onlyOne(GenericArguments.user(Text.of(\"player\"))),\r\n GenericArguments.onlyOne(GenericArguments.integer(Text.of(\"amount\"))))\r\n .executor(childInjector.getInstance(CommandBanpointsRemove.class)).build();\r\n\r\n CommandSpec banpoints = CommandSpec.builder().permission(\"dtpunishment.banpoints\")\r\n .description(Text.of(\"Show the Banpoints help menu\")).arguments(GenericArguments.none())\r\n .child(showBanpoints, \"show\").child(addBanpoints, \"add\").child(removeBanpoints, \"remove\").build();\r\n\r\n Sponge.getCommandManager().register(this, banpoints, \"banpoints\", \"bp\");\r\n\r\n CommandSpec showMutepoints = CommandSpec.builder().permission(\"dtpunishment.mutepoints.show\")\r\n .description(Text.of(\"Show how many Mutepoints the specified player has \"))\r\n .arguments(GenericArguments.onlyOne(GenericArguments.user(Text.of(\"player\"))))\r\n .executor(childInjector.getInstance(CommandMutepointsShow.class)).build();\r\n\r\n CommandSpec addMutepoints = CommandSpec.builder().permission(\"dtpunishment.mutepoints.add\")\r\n .description(Text.of(\"Add a specified amount of Mutepoints to a player \"))\r\n .arguments(GenericArguments.onlyOne(GenericArguments.user(Text.of(\"player\"))),\r\n GenericArguments.onlyOne(GenericArguments.integer(Text.of(\"amount\"))))\r\n .executor(childInjector.getInstance(CommandMutepointsAdd.class)).build();\r\n\r\n CommandSpec removeMutepoints = CommandSpec.builder().permission(\"dtpunishment.mutepoints.add\")\r\n .description(Text.of(\"Add a specified amount of Mutepoints to a player \"))\r\n .arguments(GenericArguments.onlyOne(GenericArguments.user(Text.of(\"player\"))),\r\n GenericArguments.onlyOne(GenericArguments.integer(Text.of(\"amount\"))))\r\n .executor(childInjector.getInstance(CommandMutepointsRemove.class)).build();\r\n\r\n CommandSpec mutepoints = CommandSpec.builder().permission(\"dtpunishment.mutepoints\")\r\n .description(Text.of(\"Show the Mutepoints help menu\")).arguments(GenericArguments.none())\r\n .child(showMutepoints, \"show\").child(addMutepoints, \"add\").child(removeMutepoints, \"remove\").build();\r\n\r\n Sponge.getCommandManager().register(this, mutepoints, \"mutepoints\", \"mp\");\r\n\r\n CommandSpec playerInfo = CommandSpec.builder().permission(\"dtpunishment.playerinfo\")\r\n .description(Text.of(\"Show your info \"))\r\n .arguments(GenericArguments.onlyOne(GenericArguments.optionalWeak(GenericArguments.requiringPermission(\r\n GenericArguments.user(Text.of(\"player\")), \"dtpunishment.playerinfo.others\"))))\r\n .executor(childInjector.getInstance(CommandPlayerInfo.class)).build();\r\n\r\n Sponge.getCommandManager().register(this, playerInfo, \"pinfo\", \"playerinfo\");\r\n\r\n CommandSpec addWord = CommandSpec.builder().permission(\"dtpunishment.word.add\")\r\n .description(Text.of(\"Add a word to the list of banned ones \"))\r\n .arguments(GenericArguments.onlyOne(GenericArguments.string(Text.of(\"word\"))))\r\n .executor(childInjector.getInstance(CommandWordAdd.class)).build();\r\n\r\n Sponge.getCommandManager().register(this, addWord, \"addword\");\r\n\r\n CommandSpec unmute = CommandSpec.builder().permission(\"dtpunishment.mutepoints.add\")\r\n .description(Text.of(\"Unmute a player immediately (removing all mutepoints)\"))\r\n .arguments(GenericArguments.onlyOne(GenericArguments.user(Text.of(\"player\"))))\r\n .executor(childInjector.getInstance(CommandUnmute.class)).build();\r\n\r\n CommandSpec reloadConfig = CommandSpec.builder().permission(\"dtpunishment.admin.reload\")\r\n .description(Text.of(\"Reload configuration from disk\"))\r\n .executor(childInjector.getInstance(CommandReloadConfig.class)).build();\r\n\r\n CommandSpec adminCmd = CommandSpec.builder().permission(\"dtpunishment.admin\")\r\n .description(Text.of(\"Admin commands for DTPunishment\")).child(reloadConfig, \"reload\")\r\n .child(unmute, \"unmute\").build();\r\n\r\n Sponge.getCommandManager().register(this, adminCmd, \"dtp\", \"dtpunish\");\r\n }",
"@Command\n\tpublic void buscar() {\n\t}",
"private void doCommand() {\n try {\n TimeUnit.SECONDS.sleep(2L);\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n }",
"@Override\n public void initDefaultCommand() {\n // Set the default command for a subsystem here.\n // setDefaultCommand(new MySpecialCommand());\n }",
"@Override\n public void initDefaultCommand() {\n // Set the default command for a subsystem here.\n // setDefaultCommand(new MySpecialCommand());\n }",
"private void registerCommands(){\n getCommand(\"mineregion\").setExecutor(new MineRegionCommand());\n getCommand(\"cellblock\").setExecutor(new CellBlockCommand());\n getCommand(\"cell\").setExecutor(new CellCommand());\n getCommand(\"prisonblock\").setExecutor(new PrisonBlockCommand());\n getCommand(\"rankup\").setExecutor(new RankUpCommand());\n getCommand(\"portal\").setExecutor(new PortalCommand());\n }",
"private static void executeTask02() {\n }",
"public void teleopPeriodic() \r\n {\r\n Watchdog.getInstance().feed();\r\n Scheduler.getInstance().run();\r\n \r\n //Polls the buttons to see if they are active, if they are, it adds the\r\n //command to the Scheduler.\r\n if (mecanumDriveTrigger.get()) \r\n Scheduler.getInstance().add(new MechanumDrive());\r\n \r\n else if (tankDriveTrigger.get())\r\n Scheduler.getInstance().add(new TankDrive());\r\n \r\n else if (OI.rightJoystick.getRawButton(2))\r\n Scheduler.getInstance().add(new PolarMechanumDrive());\r\n \r\n resetGyro.get();\r\n \r\n //Puts the current command being run by DriveTrain into the SmartDashboard\r\n SmartDashboard.putData(DriveTrain.getInstance().getCurrentCommand());\r\n \r\n SmartDashboard.putString(ERRORS_TO_DRIVERSTATION_PROP, \"Test String\");\r\n \r\n \r\n }",
"public void subTask(String name) {\n\r\n\t}",
"void cronScheduledProcesses();",
"public DefaultAutonomous(DriveSubsystem ds,\n ShooterSubSystem ss,\n LEDSubSystem ls,\n XboxController manipulator,\n double distanceInFeet) {\n // Add your commands in the super() call, e.g.\n // super(new FooCommand(), new BarCommand());\n super(new ShooterCommand(ss, ls, manipulator, true, Constants.kShooterSpeedSlow).withTimeout(5),\n new DriveADistanceInFeet(ds, distanceInFeet, true).withTimeout(5));\n }",
"private static void setSubsystems()\n {\n //Components\n //Talons\n frontLeftTalon.setName(\"DrivetrainSubsystem\", \"FrontLeftDriveTalon\");\n frontRightTalon.setName(\"DrivetrainSubsystem\", \"FrontRightDriveTalon\");\n rearLeftTalon.setName(\"DrivetrainSubsystem\", \"RearLeftDriveTalon\");\n rearRightTalon.setName(\"DrivetrainSubsystem\", \"RearRightDriveTalon\");\n //Sensors\n //navX.setName(\"SensorSubsystem\", \"NavX\");\n System.out.print(pigeon.getAbsoluteCompassHeading());\n \n //Subsystems\n drivetrainSubsystem.setName(\"DrivetrainSubsystem\", \"DrivetrainSubsystem\");\n sensorSubsystem.setName(\"SensorSubsystem\", \"SensorSubsystem\");\n }",
"@Override\n public void initDefaultCommand() {\n // Set the default command for a subsystem here.\n setDefaultCommand(new HatchExtend());\n setDefaultCommand(new HatchRetract());\n }",
"private void scheduleJob() {\n\n }",
"@Override\r\n public void robotPeriodic() {\r\n // Runs the Scheduler. This is responsible for polling buttons, adding newly-scheduled\r\n // commands, running already-scheduled commands, removing finished or interrupted commands,\r\n // and running subsystem periodic() methods. This must be called from the robot's periodic\r\n // block in order for anything in the Command-based framework to work.\r\n CommandScheduler.getInstance().run();\r\n }",
"@Test\n\tpublic void testAddCommand1() {\n\t\tString task1 = \"normal task\";\n\t\tString task2 = \"priority task\";\n\t\tString label = testData.getCurrLabel();\n\t\t\n\t\tAddCommand comd = new AddCommand(task1, new TDTDateAndTime(), false);\n\t\tassertEquals(String.format(AddCommand.MESSAGE_ADD_FEEDBACK, label), comd.execute(testData));\n\t\t\n\t\tcomd = new AddCommand(task2, new TDTDateAndTime(), true);\n\t\tassertEquals(String.format(AddCommand.MESSAGE_ADD_FEEDBACK, label), comd.execute(testData));\n\t\t\n\t\tArrayList<Task> taskList = testData.getTaskListFromLabel(label);\n\t\tassertEquals(2, taskList.size());\n\t\tassertTrue(task2.equals(taskList.get(0).getDetails()));\n\t\tassertTrue(taskList.get(0).isHighPriority());\n\t\tassertTrue(task1.equals(taskList.get(1).getDetails()));\n\t\tassertFalse(taskList.get(1).isHighPriority());\n\t}",
"protected void execute() {\n\t\tif(RobotMap.gearDoorExtended)\n\t\t\tgearSubsystem.retractPiston();\n\t\telse\n\t\t\tif(Robot.oi.getRightStick().getTrigger() || auton)\n\t\t\t\tgearSubsystem.extendPiston();\n\t\t\n\t}",
"@Override\n\tpublic void autonomousInit() {\n\t\tif (autonomousCommand != null)\n\t\t\tlowGearCommand.start();\n\t\tautonomousCommand.start();\n\t}",
"public void subTask(String tr) {\n\t\t\n\t}",
"public void initDefaultCommand() {\r\n // Set the default command for a subsystem here.\r\n //setDefaultCommand\r\n }",
"private void processWTBy(WasTriggeredBy dep) {\n\n\t}",
"@Override\n public void autonomousInit() {\n\tgameData.readGameData();\n\tautonomousCommand = (Command) chooserMode.getSelected();\n\tdriveSubsystem.resetEncoders();\n\televatorSubsystem.resetEncoder();\n\t// schedule the autonomous command\n\tif (autonomousCommand != null) {\n\t // SmartDashboard.putString(\"i\", \"nit\");\n\t autonomousCommand.start();\n\t}\n }",
"@Override\n public void run() {\n CuratorLocker locker = new CuratorLocker(schedulerBuilder.getServiceSpec());\n\n Runtime.getRuntime().addShutdownHook(new Thread(() -> {\n LOGGER.info(\"Shutdown initiated, releasing curator lock\");\n locker.unlock();\n }));\n locker.lock();\n\n SchedulerConfig schedulerConfig = SchedulerConfig.fromEnv();\n Metrics.configureStatsd(schedulerConfig);\n AbstractScheduler scheduler = schedulerBuilder.build();\n scheduler.start();\n Optional<Scheduler> mesosScheduler = scheduler.getMesosScheduler();\n if (mesosScheduler.isPresent()) {\n SchedulerApiServer apiServer = new SchedulerApiServer(schedulerConfig, scheduler.getResources());\n apiServer.start(new AbstractLifeCycle.AbstractLifeCycleListener() {\n @Override\n public void lifeCycleStarted(LifeCycle event) {\n scheduler.markApiServerStarted();\n }\n });\n\n runScheduler(\n scheduler.frameworkInfo,\n mesosScheduler.get(),\n schedulerBuilder.getServiceSpec(),\n schedulerBuilder.getSchedulerConfig(),\n schedulerBuilder.getStateStore());\n } else {\n /**\n * If no MesosScheduler is provided this scheduler has been deregistered and should report itself healthy\n * and provide an empty COMPLETE deploy plan so it may complete its UNINSTALL.\n *\n * See {@link UninstallScheduler#getMesosScheduler()}.\n */\n Plan emptyDeployPlan = new Plan() {\n @Override\n public List<Phase> getChildren() {\n return Collections.emptyList();\n }\n\n @Override\n public Strategy<Phase> getStrategy() {\n return new SerialStrategy<>();\n }\n\n @Override\n public UUID getId() {\n return UUID.randomUUID();\n }\n\n @Override\n public String getName() {\n return Constants.DEPLOY_PLAN_NAME;\n }\n\n @Override\n public List<String> getErrors() {\n return Collections.emptyList();\n }\n };\n\n PlanManager emptyPlanManager = DefaultPlanManager.createProceeding(emptyDeployPlan);\n PlansResource emptyPlanResource = new PlansResource();\n emptyPlanResource.setPlanManagers(Arrays.asList(emptyPlanManager));\n\n schedulerBuilder.getStateStore().clearAllData();\n\n SchedulerApiServer apiServer = new SchedulerApiServer(\n schedulerConfig,\n Arrays.asList(\n emptyPlanResource,\n new HealthResource()));\n apiServer.start(new AbstractLifeCycle.AbstractLifeCycleListener() {\n @Override\n public void lifeCycleStarted(LifeCycle event) {\n LOGGER.info(\"Started trivially healthy API server.\");\n }\n });\n }\n }",
"protected abstract void scheduler_init();",
"private void processCommand(String command) {\n if (command.equals(\"a\")) {\n doAddTask();\n } else if (command.equals(\"r\")) {\n doRemoveTask();\n } else if (command.equals(\"c\")) {\n doMarkTaskAsCompleted();\n } else if (command.equals(\"m\")) {\n doModifyTask();\n } else if (command.equals(\"v\")) {\n doViewAllTasks();\n } else if (command.equals(\"ct\")) {\n doViewAllCompletedTasks();\n } else if (command.equals(\"s\")) {\n saveTasks();\n } else {\n System.out.println(\"Invalid selection, kindly select from the options available.\");\n }\n }",
"@Override\n public void robotPeriodic() {\n // Runs the Scheduler. This is responsible for polling buttons, adding newly-scheduled\n // commands, running already-scheduled commands, removing finished or interrupted commands,\n // and running subsystem periodic() methods. This must be called from the robot's periodic\n // block in order for anything in the Command-based framework to work.\n CommandScheduler.getInstance().run();\n }",
"@Override\n\tprotected ArrayList<String> getCommandsToExecute() {\n\t\treturn null;\n\t}",
"public void noSuchCommand() {\n }",
"public void registerCommands() {\n\t CommandSpec cmdCreate = CommandSpec.builder()\n\t .arguments(\n\t onlyOne(GenericArguments.string(Text.of(\"type\"))),\n\t onlyOne(GenericArguments.string(Text.of(\"id\"))))\n\t .executor(CmdCreate.getInstance())\n\t .permission(\"blockyarena.create\")\n\t .build();\n\n\t CommandSpec cmdRemove = CommandSpec.builder()\n\t .arguments(\n\t onlyOne(GenericArguments.string(Text.of(\"type\"))),\n\t onlyOne(GenericArguments.string(Text.of(\"id\"))))\n\t .executor(CmdRemove.getInstance())\n\t .permission(\"blockyarena.remove\")\n\t .build();\n\n\t CommandSpec cmdJoin = CommandSpec.builder()\n\t .arguments(\n\t onlyOne(GenericArguments.string(Text.of(\"mode\")))\n\t )\n\t .executor(CmdJoin.getInstance())\n\t .build();\n\n\t CommandSpec cmdQuit = CommandSpec.builder()\n\t .executor(CmdQuit.getInstance())\n\t .build();\n\n\t CommandSpec cmdEdit = CommandSpec.builder()\n\t .arguments(\n\t onlyOne(GenericArguments.string(Text.of(\"id\"))),\n\t onlyOne(GenericArguments.string(Text.of(\"type\"))),\n\t GenericArguments.optional(onlyOne(GenericArguments.string(Text.of(\"param\"))))\n\t )\n\t .executor(CmdEdit.getInstance())\n\t .permission(\"blockyarena.edit\")\n\t .build();\n\n\t CommandSpec cmdKit = CommandSpec.builder()\n\t .arguments(onlyOne(GenericArguments.string(Text.of(\"id\"))))\n\t .executor(CmdKit.getInstance())\n\t .build();\n\n\t CommandSpec arenaCommandSpec = CommandSpec.builder()\n\t .child(cmdEdit, \"edit\")\n\t .child(cmdCreate, \"create\")\n\t .child(cmdRemove, \"remove\")\n\t .child(cmdJoin, \"join\")\n\t .child(cmdQuit, \"quit\")\n\t .child(cmdKit, \"kit\")\n\t .build();\n\n\t Sponge.getCommandManager()\n\t .register(BlockyArena.getInstance(), arenaCommandSpec, \"blockyarena\", \"arena\", \"ba\");\n\t }",
"@Override\n public void run() {\n\n\n\n System.out.println(\"run scheduled jobs.\");\n\n\n checkBlackOutPeriod();\n\n\n\n checkOfficeActionPeriod1();\n\n checkAcceptedFilings();\n\n checkNOAPeriod();\n checkFilingExtensions();\n\n\n\n }",
"public void mainCommands() {\n\t\tint inputId = taskController.getInt(\"Please input the number of your option: \", \"You must input an integer!\");\n\t\tswitch (inputId) {\n\t\tcase 1:\n\t\t\tthis.taskController.showTaskByTime();\n\t\t\tbreak;\n\t\tcase 2:\n\t\t\tthis.taskController.filterAProject();\n\t\t\tbreak;\n\t\tcase 3:\n\t\t\tthis.taskController.addTask();\n\t\t\tbreak;\n\t\tcase 4:\n\t\t\tthis.taskController.EditTask();\n\t\t\tbreak;\n\t\tcase 5:\n\t\t\tthis.taskController.removeTask();\n\t\t\tbreak;\n\t\tcase 6:\n\t\t\tthis.taskController.saveTaskList();\n\t\t\tbreak;\n\t\tcase 7:\n\t\t\tSystem.out.println(\"Thank you for coming, Bye!\");\n\t\t\tthis.exit = true;\n\t\t\t// save the task list before exit all the time.\n\t\t\tthis.taskController.saveTaskList();\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tSystem.out.println(\"This is not a valid option, please input 1 ~ 7.\");\n\t\t\tbreak;\n\t\t}\n\n\t}",
"@Override\n\t\tvoid runCommand() {\n\t\t\ttrigger.execute();\n\t\t}",
"@Override\n protected void execute() {\n Robot.toteLifterSubsystem.setEjectorState(EjectorState.EXTENDING, ramper.process(1.0));\n }",
"@Override\r\n\tpublic void doInitialSchedules() {\n\t}",
"@Override\n public void autonomousPeriodic() {\n\t// updateDiagnostics();9\n\tScheduler.getInstance().run();\n }",
"private static void CLIapplication() {\n\n\t\tboolean done = false;\n\t\tdo {\n\t\t\tint choice = HQmenu();\n\t\t\tSite newSite;\n\n\t\t\tswitch(choice) {\n\t\t\tcase 1:\n\t\t\t\tSystem.out.println(\"Register exchange office\");\n\t\t\t\tnewSite = createNewSite();\n\t\t\t\tif(sites.containsKey(newSite.getSiteName())) {\n\t\t\t\t\tSystem.out.println(\"Site already registred!1\");\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tsites.putIfAbsent(newSite.getSiteName(), newSite);\t\t\t\t\t\n\t\t\t\t\twriteNewSiteToConfigFile(newSite.getSiteName());\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 2:\n\t\t\t\tif(sites.isEmpty()) {\n\t\t\t\t\tSystem.out.println(\"You need to register site(s) first.\");\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tCLIHelper.menuInput();\n\t\t\t\tbreak;\n\t\t\tcase 0:\n\t\t\t\tdone = true;\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tSystem.out.println(\"Not a valid menu choice!\");\n\t\t\t}\n\t\t\tlogger.info(\"-------Task_Done-------\\n\");\n\t\t}while(!done);\n\t}",
"@Override\n\tpublic void teleopPeriodic() {\n\t\tSmartDashboard.putString(\"DT Current Command\", \" \");\n\t\tSmartDashboard.putString(\"SHOOTER Current Command\", \" \");\n\t\tSmartDashboard.putString(\"SHOOTERPIVOT Current Command\", \" \");\n\t\tSmartDashboard.putString(\"INTAKE Current Command\", \" \");\n\t\t\n\t\tScheduler.getInstance().run();\n//\t\t\n//\t\tRobot.drivetrain.leftLED.set(true);\n//\t\tRobot.drivetrain.rightLED.set(false);\n\n\t\tif(!autoAiming) {\n\t\t\tnew DriveForwardRotate(correctForDeadZone(oi.driver.getForward()), correctForDeadZone(oi.driver.getRotation())).start();\n\t\t}\n\t\t//new DriveForwardRotate(oi.driver.getForward(), oi.driver.getRotation()).start();\n\t\t\n\t\tif(oi.autoAim() && !prevStateAutoAim){\n\t\t\t//new SetPivotPosition(PivotPID.AUTO_CAMERA_AIM_POSITION).start(\n//\t\t\tnew AutoAim().start();\n\t\t\tnew AutoAim(TurnConstants.AIM_VELOCITY).start(); //this is a press and hold button 3 on joystick\n\t\t\t\n\t\t}\n\t\t\n\t\tif (readyToShoot && oi.operator.shootBallFlywheels() && oi.operator.shoot()){\n//\t\t\tSystem.out.println(\"SHOOT THE SHOOTER -- ready to shoot\");\n\t\t\tnew ShootTheShooter().start();\n\t\t}\n\t\t\n\t\t\n\t\t//INTAKE ------2 button\n\t\tif (oi.operator.intakeUp() && !prevStateIntakeUp){\n\t\t\tnew SetIntakePosition(IntakeSubsystem.UP).start();\n\t\t}\n\t\tif (oi.operator.intakeDeploy() && !prevStateIntakeDeployed){\n\t\t\tnew SetIntakePosition(!IntakeSubsystem.UP).start();\n\t\t}\n\t\t\n\t\t//CAMERA PISTON\n\t\t\n\t\t//move up\n\t\tif (oi.driver.isCameraUpPressed()){\n\t\t\tnew SetCameraPiston(CameraSubsystem.CAM_UP).start();\n\t\t}\n\t\telse{\n\t\t\tnew SetCameraPiston(!CameraSubsystem.CAM_UP).start();\n\t\t}\n\t\t\n//\t\tif (oi.driver.isCameraUpPressed() && !prevStateCameraUp){\n//\t\t\tnew SetCameraPiston(cameraUp ? !CameraSubsystem.CAM_UP : CameraSubsystem.CAM_UP).start();\n//\t\t\tcameraUp = !cameraUp;\n//\t\t}\n//\t\telse{\n//\t\t\tnew SetCameraPiston(cameraUp ? CameraSubsystem.CAM_UP : !CameraSubsystem.CAM_UP).start();\n//\t\t}\n\t\t\n\t\t\n\t\tif (oi.operator.isSemiAutonomousIntakePressed() && !prevStateSemiAutoIntake){\n\t\t\tnew SemiAutoLoadBall().start();\n\t\t}\n//\t\t\n\t\t\n\t\t//pivot state\n//\t\tif (oi.operator.pivotShootState() && !prevStatePivotUp){\n//\t\t\tnew SetPivotState(ShooterPivotSubsystem.PivotPID.FAR_SHOOT_STATE).start();\n//\t\t}\n//\t\telse if(oi.operator.resetPivot() && !prevStateResetButton) {\n//\t\t\t new ResetPivot().start();\n//\t\t}\n//\t\telse if (oi.operator.pivotStoreState() && !prevStatePivotMiddle){\n//\t\t\tnew SetPivotState(ShooterPivotSubsystem.PivotPID.STORING_STATE).start();\n//\t\t}\n\t\t\n\t\t//PIVOT\n\t\t\n\t\t//if going up\n\t\tif (oi.operator.pivotCloseShot() && !prevStatePivotCloseShot){\n\t\t\tnew SetPivotState(ShooterPivotSubsystem.PivotPID.CLOSE_SHOOT_STATE).start();\t\t\n\t\t}\n\t\t//if going down\n\t\telse if(oi.operator.pivotFarShot() && !prevStatePivotFarShot) {\n\t\t\tnew SetPivotState(ShooterPivotSubsystem.PivotPID.FAR_SHOOT_STATE).start();\n\t\t}\n\t\telse if (oi.operator.pivotStoreState()&& !prevStateStore){\n\t\t\tnew SetPivotState(ShooterPivotSubsystem.PivotPID.STORING_STATE).start();\n\t\t}\n\t\telse if (oi.operator.pivotReset() && !prevStateResetSafety){\n\t\t\tnew ResetPivot().start();\n\t\t}\n\t\telse if (oi.driver.isDefenseShot() && prevStateDefenseShot){\n\t\t\tnew SetPivotPosition(ShooterPivotSubsystem.PivotPID.ANTI_DEFENSE_POSITION).start();\n\t\t}\n\t\n\t\t\n\t\tif (!semiAutoIsRunning){\n//\t\t\n\t\t\t//intake purging/running\n\t\t\tif(oi.operator.purgeIntake()) {\n\t\t\t\t//new SetIntakeSpeed(IntakeSubsystem.FORWARD_ROLLER_PURGE_SPEED, IntakeSubsystem.CENTERING_MODULE_PURGE_SPEED).start(); \n\t\t\t\tnew RunAllRollers(ShooterSubsystem.OUT, !ShooterSubsystem.UNTIL_IR).start();\n\t\t\t\tallIntakeRunning = true;\n\t\t\t} else if (oi.operator.runIntake()) {\n\t\t\t\t//new SetIntakeSpeed(IntakeSubsystem.FORWARD_ROLLER_INTAKE_SPEED, IntakeSubsystem.CENTERING_MODULE_INTAKE_SPEED).start();\n\t\t\t\tnew RunAllRollers(ShooterSubsystem.IN, ShooterSubsystem.UNTIL_IR).start();\n//\t\t\t\tnew SemiAutoLoadBall().start();\n\t\t\t\tallIntakeRunning = true;\n\t\t\t} else {\n\t\t\t\t//just the intakes off here to avoid conflicts\n\t\t\t\tnew SetIntakeSpeed(IntakeSubsystem.INTAKE_OFF_SPEED, IntakeSubsystem.INTAKE_OFF_SPEED).start();\n\t\t\t\t//new EndSemiAuto(true).start();\n\t\t\t\t//new RunAllRollers(ShooterSubsystem.OFF, !ShooterSubsystem.UNTIL_IR).start();\n\t\t\t\tallIntakeRunning = false;\n\t\t\t}\n\t\t\t\n\t\t\t//flywheel control\n\t\t\tif (!allIntakeRunning){\n//\t\t\t\tif(oi.operator.loadBallFlywheels()){\n//\t\t\t\t\tnew SetFlywheels(ShooterSubsystem.FLYWHEEL_INTAKE_POWER, -ShooterSubsystem.FLYWHEEL_INTAKE_POWER).start();;\n//\t\t\t\t\tflywheelShootRunning = true;\n//\t\t\t\t} else \n\t\t\t\tif(oi.operator.shootBallFlywheels()) {\n\t\t\t\t\t//new SetFlywheels(0.7, -0.7).start();\n\t\t\t\t\tnew BangBangFlywheels(true).start();\n\t\t\t\t\tflywheelShootRunning = true;\n\t\t\t\t} else {\n\t\t\t\t\t//new SetFlywheels(0, 0).start();//BangBangFlywheels(false).start();\n\t\t\t\t\tflywheelShootRunning = false;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n//\t\t\tif(oi.operator.shoot()){\n//\t\t\t\tnew ShooterSet(DoubleSolenoid.Value.kForward).start();\n//\t\t\t} else {\n//\t\t\t\tnew ShooterSet(DoubleSolenoid.Value.kReverse).start();\n//\t\t\t}\n//\t\t\t\n\t\t\tif (!allIntakeRunning && !flywheelShootRunning){\n\t\t\t\tnew SetFlywheels(0, 0).start();\n\t\t\t}\n\t\t\t\n\t\t\t//DEFENSE STATE\n\t\t\tif (oi.operator.isDefenseState() && !prevStateDefenseMode){\n\t\t\t\tnew SetDefenseMode().start();\n\t\t\t}\n\t\t}\n\t\t//tells us if bang bang works\n\t\treadyToShoot = ((Math.abs(shooter.getRightFlywheelRPM() - ShooterSubsystem.flywheelTargetRPM) < ShooterSubsystem.flywheelTolerance)\n\t\t\t\t&& (Math.abs(shooter.getLeftFlywheelRPM() - ShooterSubsystem.flywheelTargetRPM) < ShooterSubsystem.flywheelTolerance));\n\t\t\n\t\t\n\t\tif (oi.operator.isManualFirePiston() && !prevStateManualFirePiston){\n//\t\t\tSystem.out.println(\"SHOOT THE SHOOTER -- manual\");\n\t\t\tnew ShootTheShooter().start();\n\t\t}\n\t\t\n\t\t\n\t\tif(oi.driver.isDrivetrainHighGearButtonPressed()){\n\t\t\tdrivetrain.shift(DrivetrainSubsystem.HIGH_GEAR);\n\t\t\tcurrentGear = DrivetrainSubsystem.HIGH_GEAR;\n\t\t} else {\n\t\t\tdrivetrain.shift(!DrivetrainSubsystem.HIGH_GEAR);\n\t\t\tcurrentGear = !DrivetrainSubsystem.HIGH_GEAR;\n\t\t}\n\t\t\n\t\tisManualPressed = oi.operator.isManualOverrideOperator();\n\t\t\n\t\tif (!shooterPIDIsRunning){\n\t\t\tif(isManualPressed) {\n\t\t\t\tdouble pivotPower = oi.operator.getManualPower()/2.0;\n\t\t\t\t//shooterPivot.engageBrake(false);\n\t\t\t\tif (pivotPower > 0 && shooterPivot.pastMax() || pivotPower < 0 && shooterPivot.lowerLimitsTriggered()){\n\t\t\t\t\tpivotPower = 0;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tnew SetPivotPower(pivotPower).start();\n\t\t\t}\n\t\t\telse{\n\t\t\t\tnew SetPivotPower(0).start();\n\t\t\t}\n\t\t}\n\t\t\n//\t\tSystem.out.println(\"Left: \" + Robot.drivetrain.motors[2].get() + \", Right: \" + (-Robot.drivetrain.motors[0].get()));\n//\t\tSystem.out.println(\"Left V: \" + Robot.drivetrain.leftEncoder.getRate() + \", Right V: \" + Robot.drivetrain.rightEncoder.getRate());\n//\t\tSystem.out.println(\"Accel z: \" + Robot.drivetrain.accel.getZ());\n\t\t\n\t\t\n\t\t//PREV STATES\n\t\tprevStateIntakeUp = oi.operator.intakeUp();\n\t\tprevStateIntakeDeployed = oi.operator.intakeDeploy();\n\t\tprevStateDriveShifter = oi.driver.isDrivetrainHighGearButtonPressed();\n\t\tprevStateShootButton = oi.operator.shoot();\n\t\t\n\t\tprevStatePivotCloseShot = oi.operator.pivotCloseShot();\n\t\tprevStatePivotFarShot = oi.operator.pivotFarShot();\n\t\tprevStateStore = oi.operator.pivotStoreState();\n\t\tprevStateResetSafety = oi.operator.pivotReset();\n\t\t\n\t\tprevStateSemiAutoIntake = oi.operator.isSemiAutonomousIntakePressed();\n\t\tprevStateDefenseMode = oi.operator.isDefenseState();\n\t\t\n\t\tprevStateManualFirePiston = oi.operator.isManualFirePiston();\n\t\tprevStateCameraUp = oi.driver.isCameraUpPressed();\n\t\tprevStateAutoAim = oi.autoAim();\n\t\tprevStateDefenseShot = oi.driver.isDefenseShot();\n\n\t\t\n\t\t//********updating subsystem*******//\n\t\t\n\t\t//shooter hal effect counter\n\t\t//shooterPivot.updateHalEffect();\n\t\t\n\t\t//update the flywheel speed constants\n\t\tshooter.updateShooterConstants();\n\t\t\n\t\t\n\t\t//brake\n\t\tif (!isManualPressed){ //if manual override isn't running\n\t\t\tif (!shooterPIDIsRunning && shooterPivot.motorLeft.get() < DEAD_ZONE_TOLERANCE && shooterPivot.motorRight.get() < DEAD_ZONE_TOLERANCE){\n\t\t\t\t\n\t\t\t\tif (pivotTimer.get() > MIN_STOPPED_TIME){\n\t\t\t\t\tnew EngageBrakes().start();\n\t\t\t\t}\n\t\t\t\t//if motor is 0 for the first time, start the timer\n\t\t\t\tif (!prevStateMotorPowerIs0){\n\t\t\t\t\tpivotTimer.reset();\n\t\t\t\t\tpivotTimer.start();\n\t\t\t\t}\n\t\t\t\t//keep this at the end\n\t\t\t\tprevStateMotorPowerIs0 = true;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tshooterPivot.engageBrake(false);\n\t\t\t\t//keep this at the end\n\t\t\t\tpivotTimer.reset();\n\t\t\t\tprevStateMotorPowerIs0 = false;\n\t\t\t}\n\t\t}\n\t\telse{\n\t\t\tshooterPivot.engageBrake(false);\n\t\t\tpivotTimer.reset();\n\t\t}\n\t\t//System.out.println(shooterPivot.motorLeft.get());\n\t\t\n\t\t//LOGGING AND DASHBOARD\n\t\tlogAndDashboard();\n\t}",
"private void updateDiagnostics() {\n\t// driveSubsystem.updateDiagnostics();\n\t// elevatorSubsystem.updateDiagnostics();\n\t// cubeSubsystem.updateDiagnostics();\n\t// cubeVision.updateDiagnostics();\n }",
"public void initDefaultCommand() {\n // Set the default command for a subsystem here.\n //setDefaultCommand(new MySpecialCommand());\n \tsetDefaultCommand(new DriveWithJoyStickCommand()); // TBD for Commandbased programming\n }",
"abstract boolean shouldTaskActivate();",
"public void doInitialSchedules() {\n ravenna.schedule();\n milan.schedule();\n venice.schedule();\n\n //Scheduling the public transportaton\n ravenna_milan.activate();\n milan_venice.activate();\n venice_ravenna.activate();\n }",
"private void submitCollectSysTrafficTask() {\n\t\tL.i(this.getClass(), \"CollectSysTrafficTask()...\");\n\t\taddTask(new CollectSysTrafficTask());\n\t}",
"@Override\n public void autonomousInit()\n {\n autonomousCommand = chooser.getSelected();\n \n /*\n * String autoSelected = SmartDashboard.getString(\"Auto Selector\",\n * \"Default\"); switch(autoSelected) { case \"My Auto\": autonomousCommand\n * = new MyAutoCommand(); break; case \"Default Auto\": default:\n * autonomousCommand = new ExampleCommand(); break; }\n */\n \n // schedule the autonomous command (example)\n if (autonomousCommand != null) \n {\n autonomousCommand.start();\n }\n }",
"private synchronized void syncTypeChefAnalyzes() {\r\n\t\tif (threadInExecId.isEmpty()) {\r\n\t\t\tProjectConfigurationErrorLogger.getInstance().clearLogList();\r\n\t\t\trunTypeChefAnalyzes(featureProject.getSourceFolder());\r\n\t\t}\r\n\t\tthreadInExecId.add(Thread.currentThread().getId());\r\n\t}",
"void execute() throws Exception {\n\n\t\tif (getSystemState(db) != SYSTEM_STATE_CREATED_COULD_BE_EXACTLY_ONE) {\n\t\t\tInteger ss = getSystemState(db);\n\t\t\tshutDown();\n\t\t\tthrow new Exception(\"System in wrong state for this task: \" + ss);\n\t\t}\n\n\t\tloadExecutionEngine(db);\n\t\tperformUpdate();\n\t\tshutDown();\n\t}",
"@Override\n\tpublic boolean combine(EHICommand anotherCommand) {\n\t\treturn false;\n\t}",
"public void execute() {\n if (valid()) {\n // behavior of the concrete command\n this.target_territory numArmies += to_deploy;\n }\n }",
"@Override\n public void initDefaultCommand() {\n Robot.driveTrain.setDefaultCommand(new xboxDrive());\n // Set the default command for a subsystem here.\n // setDefaultCommand(new MySpecialCommand());\n }",
"@Override\r\n\tprotected void beforeSendCommands(String cmds) {\n\r\n\t}",
"@Override\r\n\tpublic void execute() \r\n\t\t{\n\t\tsourceArcs = parent.getSourceArcsFromID(child.getServerName());\r\n\t\ttargetArcs = parent.getTargetArcsFromID(child.getServerName());\r\n\t\tredo();\r\n\t\t}",
"private void registToWX() {\n }",
"public synchronized void initializeCommands() {\n/* 101 */ Set<String> ignoredPlugins = new HashSet<String>(this.yaml.getIgnoredPlugins());\n/* */ \n/* */ \n/* 104 */ if (ignoredPlugins.contains(\"All\")) {\n/* */ return;\n/* */ }\n/* */ \n/* */ \n/* 109 */ label61: for (Command command : this.server.getCommandMap().getCommands()) {\n/* 110 */ if (commandInIgnoredPlugin(command, ignoredPlugins)) {\n/* */ continue;\n/* */ }\n/* */ \n/* */ \n/* 115 */ for (Class c : this.topicFactoryMap.keySet()) {\n/* 116 */ if (c.isAssignableFrom(command.getClass())) {\n/* 117 */ HelpTopic t = ((HelpTopicFactory)this.topicFactoryMap.get(c)).createTopic(command);\n/* 118 */ if (t != null) { addTopic(t); continue label61; }\n/* */ continue label61;\n/* */ } \n/* 121 */ if (command instanceof PluginCommand && c.isAssignableFrom(((PluginCommand)command).getExecutor().getClass())) {\n/* 122 */ HelpTopic t = ((HelpTopicFactory)this.topicFactoryMap.get(c)).createTopic(command);\n/* 123 */ if (t != null) addTopic(t);\n/* */ \n/* */ } \n/* */ } \n/* 127 */ addTopic((HelpTopic)new GenericCommandHelpTopic(command));\n/* */ } \n/* */ \n/* */ \n/* 131 */ for (Command command : this.server.getCommandMap().getCommands()) {\n/* 132 */ if (commandInIgnoredPlugin(command, ignoredPlugins)) {\n/* */ continue;\n/* */ }\n/* 135 */ for (String alias : command.getAliases()) {\n/* */ \n/* 137 */ if (this.server.getCommandMap().getCommand(alias) == command) {\n/* 138 */ addTopic(new CommandAliasHelpTopic(\"/\" + alias, \"/\" + command.getLabel(), this));\n/* */ }\n/* */ } \n/* */ } \n/* */ \n/* */ \n/* 144 */ Collection<HelpTopic> filteredTopics = Collections2.filter(this.helpTopics.values(), Predicates.instanceOf(CommandAliasHelpTopic.class));\n/* 145 */ if (!filteredTopics.isEmpty()) {\n/* 146 */ addTopic((HelpTopic)new IndexHelpTopic(\"Aliases\", \"Lists command aliases\", null, filteredTopics));\n/* */ }\n/* */ \n/* */ \n/* 150 */ Map<String, Set<HelpTopic>> pluginIndexes = new HashMap<String, Set<HelpTopic>>();\n/* 151 */ fillPluginIndexes(pluginIndexes, this.server.getCommandMap().getCommands());\n/* */ \n/* 153 */ for (Map.Entry<String, Set<HelpTopic>> entry : pluginIndexes.entrySet()) {\n/* 154 */ addTopic((HelpTopic)new IndexHelpTopic(entry.getKey(), \"All commands for \" + (String)entry.getKey(), null, entry.getValue(), \"Below is a list of all \" + (String)entry.getKey() + \" commands:\"));\n/* */ }\n/* */ \n/* */ \n/* 158 */ for (HelpTopicAmendment amendment : this.yaml.getTopicAmendments()) {\n/* 159 */ if (this.helpTopics.containsKey(amendment.getTopicName())) {\n/* 160 */ ((HelpTopic)this.helpTopics.get(amendment.getTopicName())).amendTopic(amendment.getShortText(), amendment.getFullText());\n/* 161 */ if (amendment.getPermission() != null) {\n/* 162 */ ((HelpTopic)this.helpTopics.get(amendment.getTopicName())).amendCanSee(amendment.getPermission());\n/* */ }\n/* */ } \n/* */ } \n/* */ }",
"public void initDefaultCommand() {\n // Set the default command for a subsystem here.\n setDefaultCommand(new GearPickupClampIn());\n }",
"private static void incrementLaunchOrder()\r\n\t{\r\n\t\tlaunchOrder++;\r\n\t}",
"public void autonomousInit() {\n autonomousCommand = (Command) autoChooser.getSelected();\n autonomousCommand.start();\n// \n }",
"@Override\n public void autonomousPeriodic()\n {\n commonPeriodic();\n }",
"public void initDefaultCommand() {\n // Set the default command for a subsystem here.\n \tsetDefaultCommand(new DriveWithJoystick());\n }",
"void\t\tregisterCommandDependentWidget(MiPart widget, String command);",
"@StartStep(localName=\"command-engineering\", after={\"config\"})\n public static void startCommandEngineering(LifecycleContext context) \n {\n // for each class that is a Catalog or Command, create an entry for those in the context.\n ClassScanner classScanner = new ClassScanner(context);\n classScanner.scan();\n }",
"public void initDefaultCommand() {\n // Set the default command for a subsystem here.\n //setDefaultCommand(new MySpecialCommand());\n \tsetDefaultCommand(new VelocityDriveCommand());\n }",
"public interface SuperCommand {\n\n /**\n * Setups anything that is needed for this command.\n * <br/><br/>\n * It is recommended you do the following in this method:\n * <ul>\n * <li>Register any of the sub-commands of this command;</li>\n * <li>Define the permission required to use this command using {@link CompositeCommand#setPermission(String)};</li>\n * <li>Define whether this command can only be run by players or not using {@link CompositeCommand#setOnlyPlayer(boolean)};</li>\n * </ul>\n */\n void setup();\n\n /**\n * Returns whether the command can be executed by this user or not.\n * It is recommended to send messages to let this user know why they could not execute the command.\n * Note that this is run previous to {@link #execute(User, String, List)}.\n * @param user the {@link User} who is executing this command.\n * @param label the label which has been used to execute this command.\n * It can be {@link CompositeCommand#getLabel()} or an alias.\n * @param args the command arguments.\n * @return {@code true} if this command can be executed, {@code false} otherwise.\n * @since 1.3.0\n */\n default boolean canExecute(User user, String label, List<String> args) {\n return true;\n }\n\n /**\n * Defines what will be executed when this command is run.\n * @param user the {@link User} who is executing this command.\n * @param label the label which has been used to execute this command.\n * It can be {@link CompositeCommand#getLabel()} or an alias.\n * @param args the command arguments.\n * @return {@code true} if the command executed successfully, {@code false} otherwise.\n */\n boolean execute(User user, String label, List<String> args);\n\n /**\n * Tab Completer for CompositeCommands.\n * Note that any registered sub-commands will be automatically added to the list.\n * Use this to add tab-complete for things like names.\n * @param user the {@link User} who is executing this command.\n * @param alias alias for command\n * @param args command arguments\n * @return List of strings that could be used to complete this command.\n */\n default Optional<List<String>> tabComplete(User user, String alias, List<String> args) {\n return Optional.empty();\n }\n\n}",
"private void customCommands(MessageEvent message) {\r\n String command = message.getMessage();\r\n \r\n if (!reservedCommands.contains(command)) {\r\n String[]info;\r\n info = manager.getCommandFromDatabase(command, message.getChannel().getName());\r\n\r\n //checks if the command is in custom mod commands\r\n if (info[1].matches(\"-m\")) {\r\n if (message.getChannel().getOps().contains(message.getUser())) {\r\n message.getChannel().send().message(info[0]);\r\n } \r\n else {\r\n message.respond(\"You're not allowed to use this command.\");\r\n }\r\n }\r\n //checks if the command is in the custom commands available to everyone\r\n else if (info[1].matches(\"-e\")) {\r\n message.getChannel().send().message(info[0]);\r\n } \r\n else {\r\n message.respond(\"No such command exists\");\r\n }\r\n }\r\n }",
"public static void twoClientSetupProcesses(List<String> aClientTags, List<String> aServerTags ) {\n\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().setProcessTeams(Arrays.asList(\"RegistryBasedDistributedProgram\"));\n\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().setTerminatingProcesses(\"RegistryBasedDistributedProgram\", Arrays.asList(\"Client_0\", \"Client_1\"));\n\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().setProcesses(\"RegistryBasedDistributedProgram\", Arrays.asList(\"Registry\", \"Server\", \"Client_1\", \"Client_0\"));\n\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().setEntryTags(\"Registry\", Arrays.asList(\"Registry\"));\n\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().setEntryTags(\"Server\", aServerTags);\n\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().setEntryTags(\"Client_0\", aClientTags);\n\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().setEntryTags(\"Client_1\", aClientTags);\n\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().setArgs(\"Registry\", FlexibleStaticArgumentsTestCase.TEST_REGISTRY_ARGS);\n\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().setArgs(\"Server\", FlexibleStaticArgumentsTestCase.TEST_SERVER_ARGS);\n\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().setArgs(\"Client_0\", FlexibleStaticArgumentsTestCase.TEST_CLIENT_0_ARGS);\n\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().setArgs(\"Client_1\", FlexibleStaticArgumentsTestCase.TEST_CLIENT_1_ARGS);\n\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().setGraderResourceReleaseTime(\"Registry\", 500);\n\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().setGraderResourceReleaseTime(\"Server\", 2000);\n\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().setGraderResourceReleaseTime(\"Client_0\", 5000);\n\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().setGraderResourceReleaseTime(\"Client_1\", 5000);\n\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().getProcessTeams().forEach(team -> System.out.println(\"### \" + team));\n}",
"@Override\r\n\tpublic void processWorkload() {\n this.spawnUser(periods.get(0).getPeriodStartTimePoint());\t\r\n\t}",
"public void registerCommands() {\n commands = new LinkedHashMap<String,Command>();\n \n /*\n * admin commands\n */\n //file util cmds\n register(ReloadCommand.class);\n register(SaveCommand.class);\n \n //shrine cmds\n register(KarmaGetCommand.class);\n register(KarmaSetCommand.class); \n }",
"@Override\n\tpublic void launchTasks() throws Exception {\n\t\t\t\tthis.scheduleTask(\n\t\t\t\t\tnew AbstractComponent.AbstractTask() {\n\t\t\t\t\t\t@Override\n\t\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t((Controller)this.getTaskOwner()).switchFridgeOn();\n\t\t\t\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t\t\t\tthrow new RuntimeException(e) ;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t},\n\t\t\t\t\t1000, TimeUnit.MILLISECONDS);\n\t\t\t\t\n\t\t\t\tthis.scheduleTask(\n\t\t\t\t\t\tnew AbstractComponent.AbstractTask() {\n\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\t((Controller)this.getTaskOwner()).setOndulatorPolicy(\"default\");\n\t\t\t\t\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t\t\t\t\tthrow new RuntimeException(e) ;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t},\n\t\t\t\t\t\t1000, TimeUnit.MILLISECONDS);\n\t\t\t\t\n\t\t\t\tthis.scheduleTask(\n\t\t\t\t\t\tnew AbstractComponent.AbstractTask() {\n\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\t((Controller)this.getTaskOwner()).getFridgeTemperature();\n\t\t\t\t\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t\t\t\t\tthrow new RuntimeException(e) ;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t},\n\t\t\t\t\t\t2000, TimeUnit.MILLISECONDS);\n\t\t\t\t\n\t\t\t\tthis.scheduleTask(\n\t\t\t\t\t\tnew AbstractComponent.AbstractTask() {\n\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\t((Controller)this.getTaskOwner()).getBatteryEnergy();\n\t\t\t\t\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t\t\t\t\tthrow new RuntimeException(e) ;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t},\n\t\t\t\t\t\t3000, TimeUnit.MILLISECONDS);\n\t\t\t\t\n\t\t\t\tthis.scheduleTaskWithFixedDelay(\t\t\n\t\t\t\t\t\tnew AbstractComponent.AbstractTask() {\n\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\t((Controller)this.getTaskOwner()).controllFridge();\n\t\t\t\t\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t\t\t\t\tthrow new RuntimeException(e) ;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}, 4000, 1000 // délai entre la fin d'une exécution et la suivante, à modifier \n\t\t\t\t\t\t,TimeUnit.MILLISECONDS) ;\n\t\t\t\t\n\t\t\t\tthis.scheduleTaskWithFixedDelay(\t\t\n\t\t\t\t\t\tnew AbstractComponent.AbstractTask() {\n\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\t((Controller)this.getTaskOwner()).getEPConsommation();\n\t\t\t\t\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t\t\t\t\tthrow new RuntimeException(e) ;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}, 1000, 4000 // délai entre la fin d'une exécution et la suivante, à modifier \n\t\t\t\t\t\t,TimeUnit.MILLISECONDS) ;\n\t}",
"private void fireEvents() {\n\n if (clockTickCount % clockTicksTillWorkloadChange == 0) {\n clockEventPublisher.fireTriggerWorkloadHandlerEvent(clockTickCount, intervalDurationInMilliSeconds);\n }\n\n // if (clockTickCount % clockTicksTillScalingDecision == 0) {\n // clockEventPublisher.fireTriggerAutoScalerEvent(clockTickCount,\n // intervalDurationInMilliSeconds);\n // }\n\n clockEventPublisher.fireClockEvent(clockTickCount, intervalDurationInMilliSeconds);\n\n // INfrastruktur\n if (clockTickCount % clockTicksTillPublishInfrastructureState == 0) {\n clockEventPublisher.fireTriggerPublishInfrastructureStateEvent(clockTickCount,\n intervalDurationInMilliSeconds);\n\n }\n\n // Queue\n if (clockTickCount % clockTicksTillPublishQueueState == 0) {\n\n clockEventPublisher.fireTriggerPublishQueueStateEvent(clockTickCount, intervalDurationInMilliSeconds);\n }\n\n }"
] | [
"0.5763735",
"0.5597857",
"0.5525979",
"0.5434967",
"0.53826046",
"0.53644043",
"0.5349786",
"0.5344097",
"0.5329482",
"0.53283983",
"0.5299414",
"0.5261541",
"0.5256005",
"0.52316135",
"0.52242804",
"0.52031666",
"0.5192441",
"0.5177707",
"0.5162963",
"0.51539654",
"0.51415515",
"0.5134641",
"0.51294583",
"0.5100808",
"0.5100189",
"0.5066171",
"0.5060598",
"0.5054086",
"0.5053729",
"0.50498563",
"0.50488585",
"0.50405574",
"0.50277865",
"0.50123876",
"0.5007968",
"0.50026834",
"0.4999771",
"0.49965122",
"0.49965122",
"0.49936378",
"0.49794224",
"0.49731174",
"0.497165",
"0.4958715",
"0.49568033",
"0.495138",
"0.4950068",
"0.49463072",
"0.4937073",
"0.4935162",
"0.49308908",
"0.492395",
"0.49194476",
"0.49173912",
"0.4914265",
"0.49138835",
"0.4913285",
"0.4910033",
"0.49015456",
"0.4901451",
"0.48996598",
"0.48919716",
"0.48854455",
"0.4877579",
"0.48753968",
"0.4871602",
"0.48663017",
"0.48651332",
"0.48641244",
"0.48611182",
"0.4854777",
"0.48534814",
"0.48482594",
"0.48376623",
"0.48345962",
"0.48321",
"0.48316473",
"0.48159063",
"0.4814259",
"0.48067343",
"0.48038673",
"0.48009992",
"0.47940546",
"0.47928053",
"0.47895217",
"0.4787412",
"0.47868937",
"0.47856048",
"0.47854483",
"0.4783526",
"0.4783435",
"0.47813517",
"0.4780666",
"0.47805867",
"0.47790498",
"0.4775403",
"0.47718057",
"0.4767328",
"0.47598335",
"0.47582492",
"0.47543114"
] | 0.0 | -1 |
Returns the project base dir. | public File getProjectDir() {
return projectDir;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static String getBaseDir() {\n // 'basedir' is set by Maven Surefire. It always points to the current subproject,\n // even in reactor builds.\n String baseDir = System.getProperty(\"basedir\");\n\n // if 'basedir' is not set, try the current directory\n if (baseDir == null) {\n baseDir = System.getProperty(\"user.dir\");\n }\n return baseDir;\n }",
"public File getBaseDir() {\n if (baseDir == null) {\n try {\n setBasedir(\".\");\n } catch (BuildException ex) {\n ex.printStackTrace();\n }\n }\n return baseDir;\n }",
"public static String getBaseDir() {\r\n Path currentRelativePath = Paths.get(System.getProperty(\"user.dir\"));\r\n return currentRelativePath.toAbsolutePath().toString();\r\n }",
"public static String getBasepath() {\n\t\treturn basepath;\n\t}",
"public static String getBasepath() {\n\t\treturn basepath;\n\t}",
"public java.io.File getBaseDir() {\n return baseDir;\n }",
"public File getBasedir()\n {\n return basedir;\n }",
"public String getProjectDir() {\n return (String) data[GENERAL_PROJECT_DIR][PROP_VAL_VALUE];\n }",
"@NotNull // or exception\r\n public static VirtualFile get_project_base_dir(final Project project) throws Exception {\n String project_path = project.getBasePath();\r\n if (project_path == null) {\r\n throw new Exception(\"Cannot detect the project base path\");\r\n }\r\n /*\r\n// boolean found = false;\r\n// String content_root_list = \"\";\r\n// // https://jetbrains.org/intellij/sdk/docs/reference_guide/project_model/project.html\r\n// List<String> content_roots = ProjectRootManager.getInstance(project).getContentRootUrls();\r\n// for (String content_root_path : content_roots) {\r\n// if (content_root_path.endsWith(project_path)) {\r\n// found = true;\r\n// }\r\n// content_root_list += \"[\" + content_root_path + \"]\";\r\n// }\r\n// if (!found) {\r\n// throw new Exception(\"Something is wrong with project structure.\\r\\nProject base path '\" + project_path + \"' not found among content roots:\\r\\n\" + content_root_list);\r\n// }\r\n */\r\n File file = new File(project_path);\r\n // https://intellij-support.jetbrains.com/hc/en-us/community/posts/360001957360-Get-file-from-path-to-have-a-virtual-file\r\n VirtualFile res = VfsUtil.findFileByIoFile(file, true);\r\n if (res == null) {\r\n throw new Exception(\"Cannot find project directory in virtual file system\");\r\n }\r\n return res;\r\n }",
"public static File getBaseDir()\n {\n return fBaseDir;\n }",
"public String getGitBasePath() {\n\t\tif (StringUtils.isBlank(gitBasePath)) {\n\t\t\tgitBasePath = System.getProperties().getProperty(\"user.home\") + \"/gittest\";\n\t\t}\n\t\treturn gitBasePath;\n\t}",
"public static String getBasePath() {\n String basePath;\n if (new File(\"../../MacOS/JavaApplicationStub\").canExecute()) {\n basePath = \"../../../..\";\n } else {\n basePath = \".\";\n }\n return basePath;\n }",
"public FileObject getProjectDirectory() {\n return helper.getProjectDirectory();\n }",
"public String getProjectRootDirectory() {\r\n\t\treturn getTextValue(workspaceRootText);\r\n\t}",
"java.io.File getBaseDir();",
"public String getBaseDirectory()\n {\n return m_baseDirectory;\n }",
"public static File getProjectRoot() {\n\t\tString filePath = \"/\";\n\t\tString rootDirName = FileUtil.class.getResource(filePath).getPath();\n\t\tFile rtn = new File(rootDirName, \"../../\");\n\t\treturn rtn;\n\t}",
"public File getProjectDirectory() {\n return this.mProjectDir;\n }",
"public String getPath() {\n\t\treturn this.baseDir.getAbsolutePath();\n\t}",
"public static String sBasePath() \r\n\t{\r\n\t\tif(fromJar) \r\n\t\t{\r\n\t\t\tFile file = new File(System.getProperty(\"java.class.path\"));\r\n\t\t\tif (file.getParent() != null)\r\n\t\t\t{\r\n\t\t\t\treturn file.getParent().toString();\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\ttry \r\n\t\t{\r\n\t\t\treturn new java.io.File(\"\").getCanonicalPath();\r\n\t\t} \r\n\t\tcatch (IOException e) \r\n\t\t{\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\t\r\n\t\treturn null;\r\n\t}",
"FsPath baseDir();",
"public String getLocalBasePath() {\n\t\treturn DataManager.getLocalBasePath();\n\t}",
"public static File fBuildDir() \r\n\t{\r\n\t\treturn new File(sBasePath() + File.separator + \"build\");\r\n\t}",
"public Path getRepositoryBaseDir();",
"protected String getBaseDir(Element root) {\n\t\tString basedir = root.getAttribute(\"basedir\");\n\n\t\tif (basedir.length() == 0) {\n\t\t\t// No base dir defined\n\t\t\treturn null;\n\t\t}\n\n\t\tif (new File(basedir).isAbsolute()) {\n\t\t\t// An absolute base dir defined\n\t\t\treturn basedir;\n\t\t} else {\n\t\t\t// Append the current working directory to the relative base dir\n\t\t\treturn new File(System.getProperty(\"user.dir\"), basedir)\n\t\t\t\t\t.getAbsolutePath();\n\t\t}\n\t}",
"public static String getProjectPath() {\n\t\tif (!projectPath.isEmpty()) {\n\t\t\treturn projectPath;\n\t\t} else {\n\t\t\treturn \"No file yet\";\n\t\t}\n\t}",
"public String getSourceDir() {\n\t\tif (sourceDir != null)\n\t\t\treturn sourceDir;\n\t\telse if (parent == null)\n\t\t\treturn \"./\";\n\t\telse\n\t\t\treturn parent.getSourceDir();\n\t}",
"public String getBasePath(){\r\n\t\t \r\n\t\t String basePath = properties.getProperty(\"getPath\");\r\n\t\t if(basePath != null) return basePath;\r\n\t\t else throw new RuntimeException(\"getPath not specified in the configuration.properties file.\");\r\n\t }",
"public File getGitRepoContainerDir() {\n return config.getGitReposParentDir();\n }",
"public String getProjectPath() {\n return projectPath;\n }",
"public static String rootDir()\n {\n read_if_needed_();\n \n return _root;\n }",
"public String getBaseDirectoryName() {\n return mBaseDirectoryName;\n }",
"public String getDocumentBase() {\n return getServerBase() + getContextPath() + \"/\";\n }",
"public File getBaseDirectoryPath() {\n return mBaseDirectoryPath;\n }",
"public String appBaseUrl() {\n int amtToTrim = request.getServletPath().length() + request.getPathInfo().length();\n String appBase = requestURL.substring(0, requestURL.length()-amtToTrim);\n return appBase;\n }",
"Path getBaseInputDir();",
"public static String findCurrentDirectory() {\n\t\tString absolutePath = new File(\"\").getAbsolutePath();\n\t return absolutePath;\n\t}",
"public static String getWorkingDirectory() {\r\n try {\r\n // get working directory as File\r\n String path = DBLIS.class.getProtectionDomain().getCodeSource()\r\n .getLocation().toURI().getPath();\r\n File folder = new File(path);\r\n folder = folder.getParentFile().getParentFile(); // 2x .getParentFile() for debug, 1x for normal\r\n\r\n // directory as String\r\n return folder.getPath() + \"/\"; // /dist/ for debug, / for normal\r\n } catch (URISyntaxException ex) {\r\n return \"./\";\r\n }\r\n }",
"public Path getRepositoryGroupBaseDir();",
"default Optional<Path> getProjectDir() {\n Optional<Path> projectDir = get(MICRONAUT_PROCESSING_PROJECT_DIR, Path.class);\n if (projectDir.isPresent()) {\n return projectDir;\n }\n // let's find the projectDir\n Optional<GeneratedFile> dummyFile = visitGeneratedFile(\"dummy\" + System.nanoTime());\n if (dummyFile.isPresent()) {\n URI uri = dummyFile.get().toURI();\n // happens in tests 'mem:///CLASS_OUTPUT/dummy'\n if (uri.getScheme() != null && !uri.getScheme().equals(\"mem\")) {\n // assume files are generated in 'build' or 'target' directories\n Path dummy = Paths.get(uri).normalize();\n while (dummy != null) {\n Path dummyFileName = dummy.getFileName();\n if (dummyFileName != null && (\"build\".equals(dummyFileName.toString()) || \"target\".equals(dummyFileName.toString()))) {\n projectDir = Optional.ofNullable(dummy.getParent());\n put(MICRONAUT_PROCESSING_PROJECT_DIR, dummy.getParent());\n break;\n }\n dummy = dummy.getParent();\n }\n }\n }\n\n return projectDir;\n }",
"public Path getInstallBase() {\n return installBase;\n }",
"public static File getWorkspaceDir(BundleContext context)\n {\n return new File(getTargetDir(context), \"../../\");\n }",
"public String workingDirectory() {\n\t\treturn workingDir.getAbsolutePath();\n\t}",
"@Override\r\n\tpublic String getRootDir() {\t\t\r\n\t\treturn Global.USERROOTDIR;\r\n\t}",
"public static String getModuleBaseUrl(HttpServletRequest request) {\n\t String requestedUri = request.getRequestURI();\n\t int contextEnd = request.getContextPath().length();\n\t int folderEnd = requestedUri.lastIndexOf('/') + 1;\n\t return requestedUri.substring(contextEnd, folderEnd);\n\t }",
"public static final String getProject() { return project; }",
"public static final String getProject() { return project; }",
"public File getRootDir() {\n return rootDir;\n }",
"public String getTargetDir() {\n\t\tif (targetDir != null)\n\t\t\treturn targetDir;\n\t\telse if (parent == null)\n\t\t\treturn \"./\";\n\t\telse\n\t\t\treturn parent.getTargetDir();\n\t}",
"String basePath();",
"public String getBundleDir()\n {\n if ( bundleDir != null )\n {\n bundleDir = cleanBundleDir( bundleDir );\n }\n return bundleDir;\n }",
"public File getRootDir() {\r\n\t\treturn rootDir;\r\n\t}",
"public static File getRootDirectory() {\n\t\treturn ROOT_DIRECTORY;\n\t}",
"public static String getBaseURL()\r\n {\r\n String savedUrl = P.getChoreoServicesUrl();\r\n return savedUrl.length() > 0 ? savedUrl : Config.DEFAULT_SERVER_URL;\r\n }",
"public String getProjectFilePath() {\n\t\tif (projectFileIO != null) {\n\t\t\treturn projectFileIO.getFilePath();\n\t\t}\n\t\telse {\n\t\t\treturn null;\n\t\t}\n\t}",
"public String getPath() {\n return this.projectPath;\r\n }",
"public static String getCloudTestRootPath() {\n\n return getCLOUDTEST_HOME() + File.separator + rootFolderName\n + File.separator;\n }",
"public static String getOutputDir() {\n outputDir = getProperty(\"outputDir\");\n if (outputDir == null) outputDir = \"./\";\n return outputDir;\n }",
"public static File getPlatformDir () {\n return new File (System.getProperty (\"netbeans.home\")); // NOI18N\n }",
"public static String GetBaseAddress() {\n\t\t// Load Projects Settings XML file\n\t\tDocument doc = Utilities.LoadDocumentFromFilePath(IDE.projectFolderPath + \"\\\\ProjectSettings.xml\");\n\t\tString baseAddress = \"\";\n\t\tif (doc != null) {\n\t\t\t// Get all \"files\"\n\t\t\tNodeList baseAddressNode = doc.getDocumentElement().getElementsByTagName(\"baseAddress\");\n\t\t\t// Handle result\n\t\t\tif (baseAddressNode.getLength() > 0) {\n\t\t\t\tbaseAddress = Utilities.getXmlNodeAttribute(baseAddressNode.item(0), \"value\");\n\t\t\t}\n\t\t}\n\t\treturn baseAddress;\n\t}",
"FileObject getBaseFolder();",
"public String getWorkRelativePath() {\n return getWorkRelativePath(testURL);\n }",
"private static String getDirectoryBase(String parentBase) {\n if (parentBase.endsWith(\"/\")) return parentBase;\n int lastSlash = parentBase.lastIndexOf('/');\n return parentBase.substring(0, lastSlash+1);\n }",
"public File getCommonDir()\n {\n return validatePath(ServerSettings.getInstance().getProperty(ServerSettings.COMMON_DIR));\n }",
"public Path getRemoteRepositoryBaseDir();",
"public String getProgramHomeDirName() {\n return pathsProvider.getProgramDirName();\n }",
"abstract public String getTopResourcesDir();",
"public String getBaseUrl() {\n return (String) get(\"base_url\");\n }",
"private String getInitialDirectory() {\n String lastSavedPath = controller.getLastSavePath();\n\n if (lastSavedPath == null) {\n return System.getProperty(Constants.JAVA_USER_HOME);\n }\n\n File lastSavedFile = new File(lastSavedPath);\n\n return lastSavedFile.getAbsoluteFile().getParent();\n }",
"public String getBaseURL() {\n\n\t\treturn baseURL;\n\n\t}",
"@Override\r\n public String getProjectPath() {\r\n \treturn String.format(\":%s\", getArtifactId());\r\n }",
"@Override\r\n\tprotected String getBasePath() {\n\t\treturn \"/module/tstaff/\";\r\n\t}",
"public String getBaseUrl() {\n return builder.getBaseUrl();\n }",
"@Override\n public String getCurrentDirectory() {\n return (String) gemFileState.get(STATE_SYNC_DIRECTORY);\n }",
"public String getBaseURI(){\r\n\t\t \r\n\t\t String uri = properties.getProperty(\"baseuri\");\r\n\t\t if(uri != null) return uri;\r\n\t\t else throw new RuntimeException(\"baseuri not specified in the configuration.properties file.\");\r\n\t }",
"public static String getConfigFolder() {\n\t\tString progArg = System.getProperty(ConfigConstants.CONFIG_DIR_PROG_ARGUMENT);\n\t\tif (progArg != null) {\n\t\t\treturn progArg;\n\t\t} else {\n\t\t\treturn configFolder;\n\t\t}\n\t}",
"public Path getOutputBase() {\n return outputBase;\n }",
"public final String getModuleDirectory() {\n return properties.get(MODULE_DIRECTORY_PROPERTY);\n }",
"public File getSourceDir()\n {\n\t\treturn srcDir;\n\t}",
"public static String getBaseUrl() {\r\n if (baseUrl == null) {\r\n baseUrl = Constants.HTTP_PROTOCOL + \"://\" + getBaseHost() + \":\" + getBasePort();\r\n }\r\n return baseUrl;\r\n }",
"protected File getRootDir() {\r\n\t\tif (rootDir == null) {\r\n\t\t\trootDir = new File(getProperties().getString(\"rootDir\"));\r\n\t\t\tif (! rootDir.exists())\r\n\t\t\t\tif (! rootDir.mkdirs())\r\n\t\t\t\t\tthrow new RuntimeException(\"Could not create root dir\");\r\n\t\t}\r\n\t\treturn rootDir;\r\n\t}",
"public synchronized static String getCurrentDirectory() {\n if (currentDirectory == null)\n currentDirectory = canon(System.getProperty(\"user.home\"));\n return currentDirectory;\n }",
"public static String getBaseURL() {\n\t\t\n\t\treturn (ZmailURI.getBaseURI().toString());\n\t\t\n\t}",
"public String getBaseURL() {\n return baseURL;\n }",
"public String getBaseURL() {\n return baseURL;\n }",
"@Override\n\tpublic String getWorkingDir() {\n\t\treturn model.getWorkingDir();\n\t}",
"public void setBasedir(String baseD) throws BuildException {\n setBaseDir(new File(baseD));\n }",
"protected File getDir() {\n return hasSubdirs ? DatanodeUtil.idToBlockDir(baseDir,\n getBlockId()) : baseDir;\n }",
"private String getRepositoryPath() {\n if (repoPath != null) {\n return repoPath;\n }\n\n final String pathProp = System.getProperty(SYSTEM_PATH_PROPERTY);\n\n if (pathProp == null || pathProp.isEmpty()) {\n repoPath = getWorkingDirectory();\n } else if (pathProp.charAt(0) == '.') {\n // relative path\n repoPath = getWorkingDirectory() + System.getProperty(\"file.separator\") + pathProp;\n } else {\n repoPath = RepoUtils.stripFileProtocol(pathProp);\n }\n\n log.info(\"Using repository path: \" + repoPath);\n return repoPath;\n }",
"private static String getRioHomeDirectory() {\n String rioHome = RioHome.get();\n if(!rioHome.endsWith(File.separator))\n rioHome = rioHome+File.separator;\n return rioHome;\n }",
"public String getWebappPathPrefix() {\n return webSiteProps.getWebappPathPrefix();\n }",
"public String getRepositoryRootFolder() {\n\t\tString userFolder = UnixPathUtil.unixPath(IdatrixPropertyUtil.getProperty(\"idatrix.metadata.reposity.root\",\"/data/ETL/reposity/\"));\n\t\tif (CloudApp.getInstance().getRepository() instanceof KettleFileRepository) {\n\t\t\tKettleFileRepository fileRepo = (KettleFileRepository) CloudApp.getInstance().getRepository();\n\t\t\tuserFolder = fileRepo.getRepositoryMeta().getBaseDirectory();\n\t\t}\n\t\treturn userFolder;\n\t}",
"@Override\n\tpublic String getDirName() {\n\t\treturn StringUtils.substringBeforeLast(getLocation(), \"/\");\n\t}",
"public static String getdevBaseUrl(){\n\n return DEV_BASE_URL;\n }",
"public String getRootPath() {\n return root.getPath();\n }",
"String getInstallRoot();",
"public String getRelativeFolderPath() {\r\n return relativeFolderPath;\r\n }",
"private static File getProjectsPath() {\n File projectsPath = loadFilePath();\n if (projectsPath == null) {\n JFileChooser fc = createFileChooser();\n if (fc.showOpenDialog(null) == JFileChooser.APPROVE_OPTION) {\n return fc.getSelectedFile();\n }\n }\n return projectsPath;\n }",
"protected String getRootPath() {\n\t\treturn \"/WEB-INF\";\n\t}",
"public String getLocalRepositoryRootFolder() {\n\t\tString userFolder = IdatrixPropertyUtil.getProperty(\"idatrix.local.reposity.root\",getRepositoryRootFolder() );\n\t\tint index = userFolder.indexOf(\"://\");\n\t\tif(index > -1 ) {\n\t\t\tuserFolder = userFolder.substring(index+3);\n\t\t}\n\t\treturn userFolder;\n\t}"
] | [
"0.828859",
"0.7964135",
"0.7800685",
"0.7527165",
"0.7527165",
"0.7461411",
"0.7321581",
"0.72593486",
"0.72559994",
"0.7253069",
"0.7239564",
"0.7213914",
"0.710142",
"0.70990115",
"0.70781726",
"0.70089525",
"0.6937862",
"0.6931648",
"0.6929088",
"0.6892923",
"0.68435013",
"0.6842515",
"0.68372977",
"0.6801386",
"0.6801046",
"0.67944396",
"0.6777091",
"0.67674446",
"0.67409855",
"0.6639101",
"0.65923643",
"0.6565744",
"0.6553093",
"0.65466267",
"0.6479141",
"0.6459436",
"0.64027375",
"0.63550436",
"0.6310428",
"0.627902",
"0.62308764",
"0.6228289",
"0.6225729",
"0.62255156",
"0.6199286",
"0.6196418",
"0.6196418",
"0.6185749",
"0.6182437",
"0.6174287",
"0.61566126",
"0.61351657",
"0.6130765",
"0.6105605",
"0.609279",
"0.60856146",
"0.60792106",
"0.606558",
"0.60644245",
"0.60576737",
"0.60465837",
"0.6044019",
"0.603886",
"0.6038804",
"0.6038035",
"0.60195714",
"0.6016184",
"0.60115653",
"0.60074836",
"0.6002041",
"0.5970425",
"0.59648895",
"0.596162",
"0.59606075",
"0.59525",
"0.59523314",
"0.5950537",
"0.5945869",
"0.5938284",
"0.5935512",
"0.59039026",
"0.59016347",
"0.58828443",
"0.5872703",
"0.5872703",
"0.58724266",
"0.5861902",
"0.5853914",
"0.58337444",
"0.5810169",
"0.57965416",
"0.57955927",
"0.57778615",
"0.5772338",
"0.5768995",
"0.5765263",
"0.576063",
"0.5751999",
"0.5741963",
"0.57350236"
] | 0.70360243 | 15 |
Add JSON Type Definition. | public void addLib(String lib) {
getLibs().add(lib);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void addType(TypeData type) { types.add(type); }",
"Builder addAdditionalType(String value);",
"public void addDojoType(String type) {\n dojoTypes.add(type);\n }",
"public boolean supportsJsonType() {\n return false;\n }",
"public void setJsonTypeAttributeName(String jsonTypeAttributeName) {\r\n this._jsonTypeAttributeName = jsonTypeAttributeName;\r\n }",
"public DocumentLifecycleWorkflowRequest setContentTypeJson() {\n\t\tthis.headerContentType = HttpRequestConnector.HTTP_CONTENT_TYPE_JSON;\n\t\treturn this;\n\t}",
"public String getJsonTypeAttributeName() {\r\n return _jsonTypeAttributeName;\r\n }",
"public static String getFileType() {return \"json\";}",
"@JSProperty(\"type\")\n void setType(Type value);",
"gov.nih.nlm.ncbi.www.MedlineSiDocument.MedlineSi.Type addNewType();",
"@JsonProperty(\"type\")\n public void setType(TypeEnum type) {\n this.type = type;\n }",
"public void addType(TypeDeclaration type) {\n m_classBuilder.addType(type);\n }",
"public void addDataTypeDefinition(String typeName, Class typeClass) {\n ComponentHelper.getComponentHelper(this).addDataTypeDefinition(typeName,\n typeClass);\n }",
"TypeDefinition createTypeDefinition();",
"@GET\n @Path(\"additionalTypes\")\n @Produces(MediaType.APPLICATION_JSON)\n public String getAdditionalTypes() {\n return typesJSONResponse(_types.getAdditionalTypes());\n }",
"ObjectTypeDefinition createObjectTypeDefinition();",
"public void addType(String name, Type type) {\n addTypeImpl(name, type, false);\n }",
"@JsProperty(name = \"type\")\n public native void setType(String value);",
"@Override\r\n\tpublic JSONObject buildJson() {\n\t\tJSONObject json = new JSONObject();\r\n\t\ttry {\r\n\t\t\tsetInt(json,d_type,type);\r\n\t\t} catch (Exception e) {\r\n\t\t\tLogUtil.log.error(e.getMessage(),e);\r\n\t\t}\r\n\t\treturn json;\r\n\t}",
"@Override\n public abstract void serializeWithType(JsonGenerator jgen, SerializerProvider ctxt,\n TypeSerializer typeSer)\n throws JacksonException;",
"private void registerTypes(ITypeManager typeManager) {\n\t\ttypeManager.registerType(BsonString.class, StdTypeManagerPlugin.STRING_NATURE);\n\t\ttypeManager.registerType(BsonInt32.class, StdTypeManagerPlugin.INTEGER_NATURE);\n\t\ttypeManager.registerType(BsonInt64.class, StdTypeManagerPlugin.INTEGER_NATURE);\n\t\ttypeManager.registerType(BsonDouble.class, StdTypeManagerPlugin.DECIMAL_NATURE);\n\t\ttypeManager.registerType(BsonNumber.class, StdTypeManagerPlugin.DECIMAL_NATURE);\n\t\ttypeManager.registerType(BsonDateTime.class, StdTypeManagerPlugin.DATETIME_NATURE);\n\t\ttypeManager.registerType(BsonBoolean.class, StdTypeManagerPlugin.BOOLEAN_NATURE);\n\t\ttypeManager.registerType(BsonBinary.class, StdTypeManagerPlugin.BINARY_NATURE);\n\t\ttypeManager.registerType(BsonDocument.class, StdTypeManagerPlugin.COMPOSITE_NATURE);\n\t}",
"ValueType getJsonValueType();",
"public Type addType() {\n\t\tType newType = new Type();\n\t\tgetType().add(newType);\n\t\treturn newType; \n\t}",
"@PUT\n @Consumes(MediaType.APPLICATION_JSON)\n public void putJson(WarehouseType content) {\n }",
"private JSON() {\n\t}",
"Rule Typedef() {\n // Push 1 TypedefNode onto the value stack\n return Sequence(\n \"typedef \",\n DefinitionType(),\n Identifier(),\n actions.pushTypedefNode());\n }",
"@JsonProperty(\"type\")\n public String getType() {\n return type;\n }",
"public void add(Object value) {\n\t\tif(JSONType.typeOf(value) == null) throw new JSONException(\"Invalid value type\");\n\t\tthis.values.add(value);\n\t}",
"public void addDojoTypes(Collection<String> types) {\n dojoTypes.addAll(types);\n }",
"@Override\r\n\tpublic void parseJson(JSONObject json) {\n\t\tif(json == null) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\ttry {\r\n\t\t\ttype = getInt(json,d_type);\r\n\t\t} catch(Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}",
"void addTypedFeature(StructuralFeature typedFeature);",
"@JsonProperty(\"data_type\")\n public void setDataType(Term dataType) {\n this.dataType = dataType;\n }",
"@JsProperty(name = \"type\")\n public native String getType();",
"void addType(TypeDefinition td) throws ResultException, DmcValueException {\n\n if (checkAndAdd(td.getObjectName(),td,typeDefs) == false){\n \tResultException ex = new ResultException();\n ex.addError(clashMsg(td.getObjectName(),td,typeDefs,\"type names\"));\n throw(ex);\n }\n\n if (checkAndAddDOT(td.getDotName(),td,globallyUniqueMAP,null) == false){\n \tResultException ex = new ResultException();\n \tex.addError(clashMsgDOT(td.getObjectName(),td,globallyUniqueMAP,\"definition names\"));\n \tthrow(ex);\n }\n \n if (td.getObjectName().getNameString().length() > longestTypeName)\n longestTypeName = td.getObjectName().getNameString().length();\n \n SchemaDefinition sd = td.getDefinedIn();\n if (sd != null){\n \tif (sd.getDmwPackage() != null){\n \t\ttd.setDmwIteratorClass(td.getName().getNameString() + \"IterableDMW\");\n \t\ttd.setDmwIteratorImport(sd.getDmwPackage() + \".generated.dmw.\" + td.getDmwIteratorClass());\n \t}\n }\n if (extensions.size() > 0){\n \tfor(SchemaExtensionIF ext : extensions.values()){\n \t\text.addType(td);\n \t}\n }\n }",
"public void addType(ValueType type) {\n\t\ttypes.add(type);\n\t}",
"public void add(Type t);",
"public JsonNode getTypesJson(String notation) throws IOException {\n ObjectNode resultTypes = mapper.createObjectNode();\n\n ClassLoader classLoader = getClass().getClassLoader();\n\n JsonNode typesList = mapper.readTree(\n new File(classLoader.getResource(notation + \"/typesList.json\").getFile()));\n JsonNode allTypes = mapper.readTree(\n new File(classLoader.getResource(notation + \"/elementsTypes_en.json\").getFile()));\n\n resultTypes.set(\"elements\", getElementsTypes(typesList, allTypes));\n resultTypes.set(\"blocks\", getBlocksTypes(typesList, allTypes));\n\n return resultTypes;\n }",
"public static void addDataType(final DataType<?> dataType)\n {\n TYPES.put(dataType.getName(), dataType);\n }",
"public interface JsonValue {\n\n /**\n * The enum Value type.\n */\n enum ValueType\n {\n /**\n * Json object value type.\n */\n JSON_OBJECT,\n /**\n * Json array value type.\n */\n JSON_ARRAY,\n /**\n * Json string value type.\n */\n JSON_STRING,\n /**\n * Json number value type.\n */\n JSON_NUMBER,\n /**\n * Json boolean value type.\n */\n JSON_BOOLEAN\n }\n\n /**\n * Gets json value type.\n *\n * @return the json value type\n */\n ValueType getJsonValueType();\n\n}",
"@Override\n public void acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor, JavaType type) throws JsonMappingException {\n visitor.expectAnyFormat(type);\n }",
"@JsonValue\n TypeSignature getTypeSignature();",
"private void addDefinitionAsType(DefinitionDec dec, Type type) {\n Type typeOfSet = getTypeOfSetType(type);\n if (typeOfSet != null) {\n MathVarDec vd = null;\n Exp w = null;\n Exp o = null;\n if (dec.getDefinition() instanceof SetExp) {\n SetExp se = (SetExp) (dec.getDefinition());\n vd = se.getVar();\n w = se.getWhere();\n o = se.getBody();\n }\n TypeEntry te =\n new TypeEntry(table.getCurrentScope(), dec.getName(),\n typeOfSet, vd, w, o);\n table.addDefinitionTypeToScope(te);\n }\n }",
"public void addType(String value) {\n/* 380 */ addStringToBag(\"type\", value);\n/* */ }",
"@JsonSetter(\"fieldTypes\")\r\n public void setFieldTypes (List<DocumentFieldType> value) { \r\n this.fieldTypes = value;\r\n }",
"public abstract void addValue(String str, Type type);",
"public void addAnnotationType(Object annotationType) {\n \t\taddAnnotationType(annotationType, SQUIGGLES);\n \t}",
"public JsonSerde(JavaType javaType) {\n\t\tObjectMapper objectMapper = new ObjectMapper();\n\t\tjsonSerializer = new JsonSerializer<T>(objectMapper, javaType);\n\t\tjsonDeserializer = new JsonDeserializer<T>(objectMapper, javaType);\n\t}",
"public JSONType(Object aVal, int aType){\n\t\t\tswitch(aType) {\n\t\t\t\tcase 0:\n\t\t\t\t\t//strVal = (String)aVal;\n\t\t\t\t\tval = (String)aVal;\n\t\t\t\t\tbreak;\n\t\t\t\tcase 1:\n\t\t\t\t\t//iVal = (Integer)aVal;\n\t\t\t\t\tval = (Integer)aVal;\n\t\t\t\t\tbreak;\n\t\t\t\tcase 2:\n\t\t\t\t\t//dVal = (Double)aVal;\n\t\t\t\t\tval = (Double)aVal;\n\t\t\t\t\tbreak;\n\t\t\t\tcase 3:\n\t\t\t\t\t//System.out.println(\"JSONTtype got boolean in [\" + aVal + \"]\");\n\t\t\t\t\tval = (Boolean) aVal;\n\t\t\t\t\t//bVal = (Boolean) aVal;\n\t\t\t\t\tbreak;\n\t\t\t\tdefault :\n\t\t\t}\n\t\t\ttype = aType;\n\t\t}",
"Builder addAdditionalType(URL value);",
"@JSProperty\n String getType();",
"public boolean usesTypeAnnotations() {\n return true;\n }",
"@Override\n\tpublic void registerPrimaryTypes() {\n\t\tobjectType = registerJavaType(getBuilder().getName(), ClassType.CLASS);\n\t}",
"public JsonField() {\n }",
"String createParameterJsonSchema();",
"public static HateosContentType json(final JsonNodeUnmarshallContext unmarshallContext,\n final JsonNodeMarshallContext marshallContext) {\n return HateosContentTypeJsonNode.with(unmarshallContext,\n marshallContext);\n }",
"TypeSystemDefinition createTypeSystemDefinition();",
"<T> T fromJson(String source, JavaType type);",
"@JSProperty(\"type\")\n @Nullable\n Type getType();",
"public abstract jq_Type getDeclaredType();",
"public void add(JavaType type, JavaScope s) {\n\t\tif (type == null)\n\t\t\tthrow new NullPointerException();\n\t\tthis.sig.add(new TypeContainer(type, s));\n\t}",
"public void setType(String type);",
"public void setType(String type);",
"public void setType(String type);",
"private void setJsonUpdateType(String type) {\n\t\tif(type == null || type.isEmpty()) {\n\t\t\ttype = Strings.jsonDirectDownload;\n\t\t}\n\t\tif(type.equals(Strings.jsonDirectDownload)) {\n\t\t\trdbtnDownloadJson.setSelected(true);\n\t\t} else if(type.equals(Strings.jsonLocalFile)) {\n\t\t\trdbtnJsonLocal.setSelected(true);\n\t\t} else if(type.equals(Strings.jsonUserDownload)) {\n\t\t\trdbtnJsonManualDownload.setSelected(true);\n\t\t} else {\n\t\t\trdbtnDownloadJson.setSelected(true);\n\t\t}\n\t}",
"@GET\n @Produces(MediaType.APPLICATION_JSON)\n @Path(\"getAllPlatformTypes\")\n List<JsonType> types();",
"void setType(java.lang.String type);",
"public IndexResponse addProduct(String index, String type, JsonObject dataJson) {\n\t\treturn add(dataJson, index, type, OpType.CREATE);\n\t}",
"void setObjectType(String objectType);",
"@Override\n\tpublic void setType(String type) {\n\t}",
"public final void mT__32() throws RecognitionException {\n try {\n int _type = T__32;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalVizualizer.g:32:7: ( 'json' )\n // InternalVizualizer.g:32:9: 'json'\n {\n match(\"json\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }",
"@JsonProperty(\"data_type\")\n public Term getDataType() {\n return dataType;\n }",
"public static String getFilenameExtension() {return \"json\";}",
"void setType(Type type)\n {\n this.type = type;\n }",
"TypeImport createTypeImport();",
"public void addArgumentTypeSerialization(String functionName, String argumentName, TensorType type) {\n wrappedSerializationContext.addArgumentTypeSerialization(functionName, argumentName, type);\n }",
"void setType(String type) {\n this.type = type;\n }",
"public final void mT__178() throws RecognitionException {\n try {\n int _type = T__178;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:178:8: ( 'PropertiesDefinitionType' )\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:178:10: 'PropertiesDefinitionType'\n {\n match(\"PropertiesDefinitionType\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }",
"public void setType(String type) {\n this.type = type;\n }",
"@JsonProperty(\"type\")\n public TypeEnum getType() {\n return type;\n }",
"public static Builder createJson(String text) {\n return builder().setType(Type.TEXT_JSON).setText(text);\n }",
"public interface JsonProperties {\n\n String ACCESS_LEVEL = \"accessLevel\";\n String ADDRESS = \"address\";\n String ASSET_ID = \"assetId\";\n String CONTENT = \"content\";\n String CREATED_BY = \"createdBy\";\n String DATA = \"data\";\n String DATA_HASH = \"dataHash\";\n String EVENT_ID = \"eventId\";\n String ID_DATA = \"idData\";\n String META_DATA = \"metadata\";\n String PERMISSIONS = \"permissions\";\n String REGISTERED_BY = \"registeredBy\";\n String REGISTERED_ON = \"registeredOn\";\n String SEQUENCE_NUMBER = \"sequenceNumber\";\n String SIGNATURE = \"signature\";\n String TIMESTAMP = \"timestamp\";\n}",
"@JsonSetter(\"restrictionType\")\r\n public void setRestrictionType (String value) { \r\n this.restrictionType = value;\r\n }",
"FieldType createFieldType();",
"private static JsonItemType toBasicJson(ItemType itemType) {\r\n\t\tJsonItemType jsonItemType = new JsonItemType();\r\n\t\tapplyBasicJsonValues(jsonItemType, itemType);\r\n\t\treturn jsonItemType;\r\n\t}",
"public void addTypeWithValidation (TypeDescription addedType, \n boolean validate, boolean refresh)\n {\n // Added type to hierarchy\n // TreeBaseNode addedTypeNode = addNode (addedType.getSuperTypeName(), addedType);\n TypeNode addedTypeNode = addNode (addedType.getSupertypeName(), addedType);\n if (addedTypeNode == null) {\n return;\n }\n \n }",
"public void setTypeDefProperties(Map<String, Object> typeDefProperties)\n {\n this.typeDefProperties = typeDefProperties;\n }",
"ExtensionType createExtensionType();",
"public void addContentType( org.ontoware.rdf2go.model.node.Node value) {\r\n\t\tBase.add(this.model, this.getResource(), CONTENTTYPE, value);\r\n\t}",
"public void setType (String typ) {\n type = typ;\n }",
"public final void mT__181() throws RecognitionException {\n try {\n int _type = T__181;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:181:8: ( 'RequirementDefinitionsType' )\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:181:10: 'RequirementDefinitionsType'\n {\n match(\"RequirementDefinitionsType\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }",
"private IndexResponse add(JsonObject jsonObj, String indexName, String typeName, OpType operation) {\n\t\tString identificationNo = getIdentifier(jsonObj);\n\t\tIndexResponse response = add(jsonObj, indexName, typeName, operation, identificationNo);\n\t\treturn response;\n\t}",
"public void addMediaType(java.lang.String value) {\r\n\t\tBase.add(this.model, this.getResource(), MEDIATYPE, value);\r\n\t}",
"@PostMapping(\"/price-definitions\")\n void addPriceDefinition(@NonNull @RequestBody NewPriceDefinitionDto dto) {\n facade.addPriceDefinition(dto);\n }",
"public JsonWriter json (String json) throws IOException {\n\t\trequireCommaOrName();\n\t\twriter.write(json);\n\t\treturn this;\n\t}",
"private void setContentType(Operation operation) {\n operation.getResponses().values().forEach(response -> {\n Content content = response.getContent();\n if (content != null) {\n MediaType mediaType = content.remove(\"*/*\");\n if (mediaType != null) {\n content.addMediaType(\"application/json\", mediaType);\n }\n }\n });\n }",
"<T> T toJsonPOJO(String jsonString, Class<T> classType);",
"@Override\n public JsonNode getSchema(SerializerProvider provider, Type typeHint)\n {\n return createSchemaNode(\"date\", true);\n }",
"static public Json wrapString(String string, QName type) {\n JsonObject json = new JsonObject();\n json.put(Manager.XP_VALUE.toString(), string);\n json.put(Manager.XP_TYPE.toString(), type.toString());\n return json;\n }",
"public ClaseJson() {\n }",
"@Override\n public String getType(){\n return Type;\n }",
"public void setType(String type) \n {\n this.type = type;\n }"
] | [
"0.60330456",
"0.6004422",
"0.58843356",
"0.5882957",
"0.58788866",
"0.5849704",
"0.5793892",
"0.57286793",
"0.5695705",
"0.5610205",
"0.5571212",
"0.55312675",
"0.5517941",
"0.5493612",
"0.54785687",
"0.5472355",
"0.5439087",
"0.5429448",
"0.53923726",
"0.53840756",
"0.53744966",
"0.5358834",
"0.5347599",
"0.53167397",
"0.5304462",
"0.52870494",
"0.5279632",
"0.52619934",
"0.5256093",
"0.52493674",
"0.5243515",
"0.52432096",
"0.52277565",
"0.52272516",
"0.5201862",
"0.5187026",
"0.51842755",
"0.516306",
"0.5157081",
"0.5155283",
"0.5137606",
"0.51255935",
"0.5124379",
"0.51230305",
"0.5118194",
"0.51157725",
"0.51001954",
"0.50940585",
"0.5077571",
"0.5069363",
"0.5057156",
"0.505232",
"0.50431293",
"0.5043034",
"0.5037541",
"0.5033925",
"0.50158536",
"0.5007781",
"0.4971928",
"0.49709085",
"0.49628296",
"0.49628296",
"0.49628296",
"0.49604294",
"0.49566215",
"0.4949138",
"0.49309483",
"0.49301842",
"0.49119532",
"0.49039656",
"0.4896917",
"0.48963773",
"0.4894794",
"0.48913327",
"0.48809668",
"0.48773128",
"0.48671526",
"0.48573646",
"0.48471022",
"0.48396084",
"0.4831302",
"0.4822728",
"0.48225424",
"0.48178408",
"0.48163787",
"0.4813365",
"0.48127556",
"0.48106143",
"0.48099458",
"0.48051715",
"0.48048425",
"0.4803882",
"0.47963193",
"0.47959998",
"0.4792795",
"0.47923434",
"0.47908452",
"0.47897348",
"0.47866198",
"0.47816822",
"0.4777665"
] | 0.0 | -1 |
Return the JSON Type Defintnions of the tern project. | public List getLibs() {
List libs = (List) super.get(LIBS_FIELD_NAME);
if (libs == null) {
libs = new JSONArray();
super.put(LIBS_FIELD_NAME, libs);
}
return libs;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static String getFileType() {return \"json\";}",
"public Map<String, SkylarkModuleDoc> getTypes() {\n return types;\n }",
"java.lang.String getMetadataJson();",
"@GET\n @Produces(MediaType.APPLICATION_JSON)\n @Path(\"getAllPlatformTypes\")\n List<JsonType> types();",
"@GET\n @Path(\"additionalTypes\")\n @Produces(MediaType.APPLICATION_JSON)\n public String getAdditionalTypes() {\n return typesJSONResponse(_types.getAdditionalTypes());\n }",
"public JsonNode getTypesJson(String notation) throws IOException {\n ObjectNode resultTypes = mapper.createObjectNode();\n\n ClassLoader classLoader = getClass().getClassLoader();\n\n JsonNode typesList = mapper.readTree(\n new File(classLoader.getResource(notation + \"/typesList.json\").getFile()));\n JsonNode allTypes = mapper.readTree(\n new File(classLoader.getResource(notation + \"/elementsTypes_en.json\").getFile()));\n\n resultTypes.set(\"elements\", getElementsTypes(typesList, allTypes));\n resultTypes.set(\"blocks\", getBlocksTypes(typesList, allTypes));\n\n return resultTypes;\n }",
"public Map<String, JsonElementType> getJsonResponseStructure();",
"@GET\n @Path(\"allTypes\")\n @Produces(MediaType.APPLICATION_JSON)\n public String getAllTypes() {\n return typesJSONResponse(_types.getAllTypes());\n }",
"@GET\n @Path(\"simpleTypes\")\n @Produces(MediaType.APPLICATION_JSON)\n public String getSimpleTypes() {\n return typesJSONResponse(_types.getSimpleTypes());\n }",
"@Override\r\n\tpublic JSONObject buildJson() {\n\t\tJSONObject json = new JSONObject();\r\n\t\ttry {\r\n\t\t\tsetInt(json,d_type,type);\r\n\t\t} catch (Exception e) {\r\n\t\t\tLogUtil.log.error(e.getMessage(),e);\r\n\t\t}\r\n\t\treturn json;\r\n\t}",
"@JsonGetter(\"fieldTypes\")\r\n public List<DocumentFieldType> getFieldTypes ( ) { \r\n return this.fieldTypes;\r\n }",
"public Map<String, Object> getTypeDefProperties()\n {\n if (typeDefProperties == null)\n {\n return null;\n }\n else if (typeDefProperties.isEmpty())\n {\n return null;\n }\n else\n {\n return new HashMap<>(typeDefProperties);\n }\n }",
"String getDefinition();",
"public String getDefinition_type() {\r\n\t\treturn definition_type;\r\n\t}",
"public static com.fasterxml.jackson.core.type.TypeReference<ProjectCategoryRecommendationMeta> typeReference() {\n return new com.fasterxml.jackson.core.type.TypeReference<ProjectCategoryRecommendationMeta>() {\n @Override\n public String toString() {\n return \"TypeReference<ProjectCategoryRecommendationMeta>\";\n }\n };\n }",
"@SuppressWarnings(\"unchecked\")\n\tpublic JSONObject getJSONDescriptor() {\n\t\tJSONObject descriptor = new JSONObject();\n\t\t\n\t\tlocalVariables.values().stream().forEach(\n\t\t\t\tv -> {\n\t\t\t\t\t//JSONObject varDescriptor = new JSONObject();\n\t\t\t\t\t//varDescriptor.put(v.getInstanceName(),v.getValue().toString());\n\t\t\t\t\t//descriptor.add(varDescriptor);\n\t\t\t\t\tdescriptor.put(v.getName(),v.getValue().toString());\n\t\t\t\t}\n\t\t\t\t);\n\n\t\treturn descriptor;\n\t}",
"public static String getFilenameExtension() {return \"json\";}",
"public default String getFormat() {\n return Constants.FORMAT_JSON;\n }",
"@GET\n @Produces(MediaType.APPLICATION_JSON)\n @Path(\"getAllDeviceCategories\")\n List<JsonType> types();",
"protected String typesJSONResponse(final Collection<ComputationTargetType> types) {\n final List<ComputationTargetType> sorted = new ArrayList<>(types);\n Collections.sort(sorted, SORT_ORDER);\n try {\n final JSONWriter response = new JSONStringer().object().key(\"types\").array();\n for (final ComputationTargetType type : sorted) {\n response.object().key(\"label\").value(type.getName()).key(\"value\").value(type.toString()).endObject();\n }\n return response.endArray().endObject().toString();\n } catch (final JSONException e) {\n return null;\n }\n }",
"public TypeDefinition tdef(String n){\n TypeDefinition rc = isType(n);\n if (rc == null){\n return(null);\n }\n else\n return(rc);\n }",
"public RDR_RDR_DEFINITION getDEFINITION() { \r\n return getTyped(\"DEFINITION\", RDR_RDR_DEFINITION.class);\r\n }",
"public abstract jq_Type getDeclaredType();",
"@Override\n public List<String> getFileTypes() {\n return gemFileFileTypesDb.getKeys();\n }",
"public String[] getTypes() {\n/* 388 */ return getStringArray(\"type\");\n/* */ }",
"public HashMap getType(){\n HashMap returnMe=hackerFile.getContent();\n //returnMe.put(\"name\",name);\n return(returnMe);\n }",
"public java.lang.String getTypeSettings() {\n return typeSettings;\n }",
"public List<TypeMetadata> getTypeMetadata() {\n return types;\n }",
"public String treeJSON() {\n\t\ttry{\r\n\t\tList trees = this.getTransedTrees();\r\n\t\tString result = this.treeJSON(trees);\r\n\t\treturn result;\r\n\t\t}catch(Exception e){\r\n\t\t\tlog.info(\">>>>faceye error in method:treeJSON() is\"+e.toString());\r\n\t\t\treturn null;\r\n\t\t}\r\n\t\t\r\n\t}",
"public String getJsonTypeAttributeName() {\r\n return _jsonTypeAttributeName;\r\n }",
"public String getJson();",
"@JsonGetter(\"restrictionType\")\r\n public String getRestrictionType ( ) { \r\n return this.restrictionType;\r\n }",
"public String treeType();",
"public String getShortType() { return \"Tech\"; }",
"default String fileExtension() {\n\t\treturn \".json\";\n\t}",
"public String getTreeType();",
"public GraphQLObjectType createType(HibProject project) {\n\t\tBuilder root = newObject();\n\t\troot.name(PROJECT_TYPE_NAME);\n\t\tinterfaceTypeProvider.addCommonFields(root);\n\n\t\t// .name\n\t\troot.field(newFieldDefinition().name(\"name\").description(\"The name of the project\").type(GraphQLString));\n\n\t\t// .rootNode\n\t\troot.field(\n\t\t\tnewFieldDefinition()\n\t\t\t\t.name(\"rootNode\")\n\t\t\t\t.description(\"The root node of the project\")\n\t\t\t\t.type(new GraphQLTypeReference(NODE_TYPE_NAME))\n\t\t\t\t.argument(createLanguageTagArg(true))\n\t\t\t\t.argument(createNodeVersionArg())\n\t\t\t\t.dataFetcher(this::baseNodeFetcher));\n\n\t\treturn root.build();\n\t}",
"public abstract String getDefinition();",
"public String getModuleTypeClass();",
"public Hashtable getDataTypeDefinitions() {\n return ComponentHelper.getComponentHelper(this).getDataTypeDefinitions();\n }",
"public String getTargetJson() {\n\t\treturn targetJson;\n\t}",
"@Override\r\n\tpublic String shortProjectDescr() {\n\t\treturn null;\r\n\t}",
"public String getLBR_MDFeDocType();",
"private String getType( )\n\t{\n\t\treturn this.getModuleName( ) + \"$\" + this.getSimpleName( ) + \"$\" + this.getSystem( );\n\t}",
"@Override\r\n\tpublic String toString() {\r\n\t\treturn name + \" \" + Arrays.toString(types);\r\n\t}",
"String getJson();",
"String getJson();",
"String getJson();",
"public JSONObject toJSON()\n {\n JSONObject jsonField = new JSONObject();\n\n jsonField.put(\"name\", name);\n jsonField.put(\"type\", type);\n jsonField.put(\"visibility\", vis.name());\n\n return jsonField;\n }",
"public String getTypeName();",
"public String getTypeName();",
"UsedTypes getTypes();",
"protected String settingsAsJSON() {\n String json = null;\n if (indexSettings != null) {\n try {\n json = getObjectMapper().writeValueAsString(indexSettings);\n } catch (JsonProcessingException e) {\n String msg = String.format(\"Error processing index settings %s\",\n this.indexSettings.toString());\n logger.log(Level.SEVERE, msg, e);\n }\n }\n return json;\n }",
"public String getTypeDescription(FileObject f)\n {\n return getName(f);\n }",
"private JSON() {\n\t}",
"@GET\n @Produces(\"application/json\")\n public String getJson() {\n //TODO return proper representation object\n throw new UnsupportedOperationException();\n }",
"@Override\n @SuppressWarnings(\"unchecked\")\n public JSONObject toJSON() {\n JSONObject main = new JSONObject();\n JSONObject pocJSON = new JSONObject();\n pocJSON.put(JSON_NAME, this.getName());\n pocJSON.put(JSON_DESCRIPTION, this.getDescription());\n pocJSON.put(JSON_COLOR,this.colorConstraint.getColor().name());\n main.put(SharedConstants.TYPE, SharedConstants.PRIVATE_OBJECTIVE_CARD);\n main.put(SharedConstants.BODY,pocJSON);\n return main;\n }",
"public String getType() {\n return null; //To change body of implemented methods use File | Settings | File Templates.\n }",
"@JSProperty\n String getType();",
"public String resultTypes() {\n return \"\";//NOI18N\n }",
"String getTypeAsString();",
"@Override\n public String toString() {return \"Json-File Reader\";}",
"public String getData_type_desc() {\n return data_type_desc;\n }",
"public native JsArrayString getTypes()/*-{\n\t\tvar jso = [email protected]::getJsObj()();\n\t\treturn jso.types;\n }-*/;",
"public String getDocumentType();",
"public List<__Type> getTypes() {\n return (List<__Type>) get(\"types\");\n }",
"private FormatAndResolutions loadFormatResolutions() {\n\t\tFormatAndResolutions formatResolutionJson = new FormatAndResolutions();\n\t\tformatResolutionJson.setIMAGE_FORMAT(\"\");\n\t\tformatResolutionJson.setSTILL_CAPTURE(\"Disable\");\n\t\tformatResolutionJson.setSUPPORTED_IN_FS(\"Disable\");\n\t\tformatResolutionJson.setSUPPORTED_IN_HS(\"Disable\");\n\t\tformatResolutionJson.setSUPPORTED_IN_SS(\"Disable\");\n\t\tformatResolutionJson.setRESERVED(\"FF\");\n\t\treturn formatResolutionJson;\n\t}",
"@Override\n\tpublic JSONObject getObjectInfo() {\n\t\tJSONObject jsonObject = new JSONObject();\n\t\ttry {\n\t jsonObject.put(\"bigpaytypename\", this.bigPayTypeName); \n\t\t} catch (JSONException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n return jsonObject;\n\t}",
"public String getFormatName()\n/* */ {\n/* 465 */ if (getClass() == JsonFactory.class) {\n/* 466 */ return \"JSON\";\n/* */ }\n/* 468 */ return null;\n/* */ }",
"public String[] getTypes() {\n return impl.getTypes();\n }",
"@Override\n\tpublic java.lang.String getTypeSettings() {\n\t\treturn _expandoColumn.getTypeSettings();\n\t}",
"@GET\n @Produces(MediaType.APPLICATION_JSON)\n public String getJson() {\n //TODO return proper representation object\n throw new UnsupportedOperationException();\n }",
"@GET\n @Produces(MediaType.APPLICATION_JSON)\n public String getJson() {\n //TODO return proper representation object\n throw new UnsupportedOperationException();\n }",
"@GET\n @Produces(MediaType.APPLICATION_JSON)\n public String getJson() {\n //TODO return proper representation object\n throw new UnsupportedOperationException();\n }",
"String typeName();",
"Rule Typedef() {\n // Push 1 TypedefNode onto the value stack\n return Sequence(\n \"typedef \",\n DefinitionType(),\n Identifier(),\n actions.pushTypedefNode());\n }",
"@JsonGetter(\"type\")\r\n @JsonInclude(JsonInclude.Include.NON_NULL)\r\n public String getType() {\r\n return type;\r\n }",
"@AutoEscape\n\tpublic String getDocumentType();",
"@Override\n public String getType(){\n return Type;\n }",
"TypeSystemDefinition createTypeSystemDefinition();",
"@Override\n public String getFullType() {\n return fullType;\n }",
"String getType() {\n return type;\n }",
"ObjectTypeDefinition createObjectTypeDefinition();",
"@RequestMapping(value = \"/contracts/types\", method = RequestMethod.GET)\n public JsonListWrapper<String> listAllTypes() {\n Collection<String> items = ((ContractService) service).findAllInsuranceTypes();\n return JsonListWrapper.withTotal(items);\n }",
"String getTYPE() {\n return TYPE;\n }",
"@JsonProperty(\"fieldsType\")\n public String getFieldsType() {\n return fieldsType;\n }",
"public interface JsonProperties {\n\n String ACCESS_LEVEL = \"accessLevel\";\n String ADDRESS = \"address\";\n String ASSET_ID = \"assetId\";\n String CONTENT = \"content\";\n String CREATED_BY = \"createdBy\";\n String DATA = \"data\";\n String DATA_HASH = \"dataHash\";\n String EVENT_ID = \"eventId\";\n String ID_DATA = \"idData\";\n String META_DATA = \"metadata\";\n String PERMISSIONS = \"permissions\";\n String REGISTERED_BY = \"registeredBy\";\n String REGISTERED_ON = \"registeredOn\";\n String SEQUENCE_NUMBER = \"sequenceNumber\";\n String SIGNATURE = \"signature\";\n String TIMESTAMP = \"timestamp\";\n}",
"public List<TypeInfo> getTypes() {\r\n return types;\r\n }",
"String createParameterJsonSchema();",
"public String getDefinition() {\n\t\treturn null;\n\t}",
"String getJSON();",
"public String toString() {\n StringBuffer ret = new StringBuffer();\n ret.append(\"\\n[MTBTypes] \");\n ret.append(\"\\n - MTBTypes._MTBTypes_key = \").append((MTBTypesKey_is_initialized ? (\"[\" + (MTBTypesKey == null ? null : MTBTypesKey.toString()) + \"]\") : \"not initialized\"));\n ret.append(\"\\n - MTBTypes.type = \").append((type_is_initialized ? (\"[\" + (type == null ? null : type) + \"]\") : \"not initialized\"));\n ret.append(\"\\n - MTBTypes.description = \").append((description_is_initialized ? (\"[\" + (description == null ? null : description) + \"]\") : \"not initialized\"));\n ret.append(\"\\n - MTBTypes.tableName = \").append((tableName_is_initialized ? (\"[\" + (tableName == null ? null : tableName) + \"]\") : \"not initialized\"));\n ret.append(\"\\n - MTBTypes.columnName = \").append((columnName_is_initialized ? (\"[\" + (columnName == null ? null : columnName) + \"]\") : \"not initialized\"));\n ret.append(\"\\n - MTBTypes.create_user = \").append((createUser_is_initialized ? (\"[\" + (createUser == null ? null : createUser) + \"]\") : \"not initialized\"));\n ret.append(\"\\n - MTBTypes.create_date = \").append((createDate_is_initialized ? (\"[\" + (createDate == null ? null : createDate.toString()) + \"]\") : \"not initialized\"));\n ret.append(\"\\n - MTBTypes.update_user = \").append((updateUser_is_initialized ? (\"[\" + (updateUser == null ? null : updateUser) + \"]\") : \"not initialized\"));\n ret.append(\"\\n - MTBTypes.update_date = \").append((updateDate_is_initialized ? (\"[\" + (updateDate == null ? null : updateDate.toString()) + \"]\") : \"not initialized\"));\n return ret.toString();\n }",
"public static com.fasterxml.jackson.core.type.TypeReference<Product> typeReference() {\n return new com.fasterxml.jackson.core.type.TypeReference<Product>() {\n @Override\n public String toString() {\n return \"TypeReference<Product>\";\n }\n };\n }",
"@Value.Default default TypeInfo basePackageInfo() {\n return TypeInfo.of(packageId(), \"package-info\");\n }",
"private Map<String, SkylarkModuleDoc> collectTypes() throws ClassPathException {\n return SkylarkDocumentationCollector.collectModules(\n Classpath.findClasses(MODULES_PACKAGE_PREFIX));\n }",
"@Override\n public Map<String, Class> getReturnedTypes() {\n return outputTypes;\n }",
"public DocumentLifecycleWorkflowRequest setContentTypeJson() {\n\t\tthis.headerContentType = HttpRequestConnector.HTTP_CONTENT_TYPE_JSON;\n\t\treturn this;\n\t}",
"public boolean supportsJsonType() {\n return false;\n }",
"public String getDataType() {\n\t\t\t\t\n\t\t//for contributed grid, need to find the units from the ESRIShapefile object\n\t\tfor (LayerPanel layerPanel : ((MapApp)map.getApp()).layerManager.getLayerPanels()) {\n\t\t\tif (layerPanel.layer instanceof ESRIShapefile && ((ESRIShapefile)layerPanel.layer).equals(this)) {\n\t\t\t\tESRIShapefile esf = (ESRIShapefile)(layerPanel.layer);\n\t\t\t\treturn esf.getGridDataType();\n\t\t\t}\n\t\t}\n\t\t\n\t\tString units = getUnits();\n\t\tif ( name.equals(GridDialog.GEOID) ) {\n\t\t\treturn \"Geoid Height\";\n\t\t}\n\t\telse if ( units.equals(\"m\") ){\n\t\t\treturn \"Elevation\";\n\t\t}else if ( units.equals(\"mgal\") ) {\n\t\t\treturn \"Gravity Anomaly\";\n\t\t}else if ( units.equals(\"percent\") ) {\n\t\t\treturn \"Percent\";\n\t\t}else if ( units.equals(\"mY\") ) {\n\t\t\treturn \"Age\";\n\t\t}else if ( units.equals(\"%\") ) {\n\t\t\treturn \"Percentage\";\n\t\t}else if ( units.equals(\"mm/a\") ) {\n\t\t\treturn \"Rate\";\n\t\t}\n\n\t\treturn \"\";\n\t}",
"public String getType();",
"public String getType();"
] | [
"0.6217466",
"0.5964731",
"0.58527166",
"0.5816686",
"0.56840646",
"0.5653235",
"0.5615484",
"0.56144136",
"0.5596874",
"0.55146384",
"0.5508736",
"0.54869556",
"0.54854774",
"0.5459499",
"0.54540294",
"0.5429191",
"0.537594",
"0.5330559",
"0.532218",
"0.53201437",
"0.5280042",
"0.52602255",
"0.52528244",
"0.5240172",
"0.52389276",
"0.52297944",
"0.52184623",
"0.521841",
"0.5215809",
"0.5202071",
"0.5189354",
"0.5165539",
"0.5158873",
"0.51581633",
"0.5157309",
"0.51541966",
"0.5147821",
"0.51185465",
"0.51141435",
"0.51098645",
"0.509087",
"0.5088618",
"0.50823015",
"0.50822043",
"0.5079282",
"0.5077965",
"0.5077965",
"0.5077965",
"0.50762314",
"0.5063525",
"0.5063525",
"0.50552195",
"0.50498676",
"0.5049493",
"0.5045762",
"0.5035834",
"0.50244105",
"0.50190586",
"0.50064325",
"0.50058615",
"0.50053537",
"0.4995953",
"0.49909222",
"0.49906984",
"0.49818933",
"0.49709636",
"0.49594602",
"0.49586225",
"0.49571225",
"0.495485",
"0.49527702",
"0.49363",
"0.49363",
"0.49363",
"0.49285766",
"0.4927086",
"0.49267417",
"0.4907687",
"0.4901912",
"0.490129",
"0.48984206",
"0.48968127",
"0.48949763",
"0.48907635",
"0.48880535",
"0.4887831",
"0.48838758",
"0.4882283",
"0.48810813",
"0.48785028",
"0.48776904",
"0.4875359",
"0.48739412",
"0.48660466",
"0.48653543",
"0.48650187",
"0.48634776",
"0.4860633",
"0.48603147",
"0.48591492",
"0.48591492"
] | 0.0 | -1 |
Return the JSON plugins of the tern project. | public JSONObject getPlugins() {
JSONObject plugins = (JSONObject) super.get(PLUGINS_FIELD_NAME);
if (plugins == null) {
plugins = new JSONObject();
super.put(PLUGINS_FIELD_NAME, plugins);
}
return plugins;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public JsonObject getPluginData() {\n JsonObject data = new JsonObject();\n \n String pluginName = plugin.getDescription().getName();\n String pluginVersion = plugin.getDescription().getVersion();\n \n data.addProperty(\"pluginName\", pluginName); // Append the name of the plugin\n data.addProperty(\"id\", pluginId); // Append the id of the plugin\n data.addProperty(\"pluginVersion\", pluginVersion); // Append the version of the plugin\n \n data.add(\"customCharts\", new JsonArray());\n \n return data;\n }",
"private void loadPlugins(){\r\n\t\tKomorebiCoreConfig config = new KomorebiCoreConfig();\r\n\t\t\r\n\t\tif(config.getRootNode().getChildrenCount(\"plugins\") < 1){\r\n\t\t\treturn;\r\n\t\t}\r\n\t\t\r\n\t\tList<ConfigurationNode> pluginNodes = config.getRootNode().getChildren(\"plugins\").get(0).getChildren(\"plugin\");\r\n\t\tfor(int pos=0; pos<pluginNodes.size(); ++pos){\r\n\t\t\tString name = config.getString(\"plugins.plugin(\"+pos+\")[@name]\");\r\n\t\t\tString version = config.getString(\"plugins.plugin(\"+pos+\")[@version]\");\r\n\t\t\tif(version == null || name == null){\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tloadPluginsJar(name+\"-\"+version); // check all classes in jar\r\n\t\t}\r\n\t}",
"public Collection<Plugin> getPlugins()\n {\n final List<Plugin> plugins;\n synchronized ( this )\n {\n plugins = Arrays.asList(pluginsLoaded.values().toArray(new Plugin[0]));\n }\n return Collections.unmodifiableCollection( plugins );\n }",
"@VisibleForTesting\n List<TimelineEntityGroupPlugin> getPlugins() {\n return cacheIdPlugins;\n }",
"List<QuestionPlugin> getQuestionPlugins();",
"public List<String> getAllPluginNames() {\n\t\treturn allPluginNames;\n\t}",
"public Path getPluginsDirectory()\n {\n return pluginDirectory;\n }",
"public final static List<KaranteeniPlugin> getPluginInstances() {\r\n\t\treturn new ArrayList<KaranteeniPlugin>(kPluginInstances.values());\r\n\t}",
"private List<Object> pluginPropertyDefinitions() {\n List<Object> extensions = new ArrayList<>();\n extensions.add(getProperty(Constants.ENABLED, \"Plugin enabled\",\n \"Are Teams notifications enabled in general?\",\n \"false\", PropertyType.BOOLEAN));\n extensions.add(getProperty(Constants.BYPASS_HTTPS_VALIDATION, \"Bypass HTTPS Validation\",\n \"Bypass SSL/TLS certificate validation on HTTPS requests (useful for proxies)\",\n \"false\", PropertyType.BOOLEAN));\n extensions.add(getProperty(Constants.PROXY_IP, \"Proxy Server\",\n \"Domain or IP address of proxy server to use\",\n \"\", PropertyType.STRING));\n extensions.add(getProperty(Constants.PROXY_PORT, \"Proxy Port\",\n \"Port for the proxy server\",\n \"8080\", PropertyType.INTEGER));\n extensions.add(getProperty(Constants.PROXY_USER, \"Proxy User\",\n \"User name for proxy authentication\",\n \"\", PropertyType.STRING));\n extensions.add(getProperty(Constants.PROXY_PASS, \"Proxy Password\",\n \"Password for proxy authentication\",\n \"\", PropertyType.PASSWORD));\n return extensions;\n }",
"public PluginInfo getInfo() {\r\n if(mPluginInfo == null) {\r\n String name = mLocalizer.msg(\"pluginName\", \"View List Plugin\");\r\n String desc = mLocalizer.msg(\"description\", \"Shows a List of current running Programs\");\r\n String author = \"Bodo Tasche\";\r\n \r\n mPluginInfo = new PluginInfo(ListViewPlugin.class, name, desc, author);\r\n }\r\n \r\n return mPluginInfo;\r\n }",
"public PluginInfo getInfo() {\r\n return new devplugin.PluginInfo(TvBrowserDataService.class,\r\n mLocalizer.msg(\"name\",\"EPGfree data\"),\r\n mLocalizer.msg(\"description\", \"Data that is available for free with mostly German, Swiss, Austrian and Danish channels.\"),\r\n \"Til Schneider, www.murfman.de\",\r\n mLocalizer.msg(\"license\",\"Terms of Use:\\n=============\\nAll TV/Radio listings provided by TV-Browser (http://www.tvbrowser.org) are protected by copyright laws and may only be used within TV-Browser or other name like applications authorizied by the manufacturer of TV-Browser (http://www.tvbrowser.org) for information about the upcoming program of the available channels.\\nEvery other manner of using, reproducing or redistributing of the TV/Radio listings is illegal and may be prosecuted on civil or criminal law.\\n\\nOn downloading the TV/Radio listings you declare your agreement to these terms.\\n\\nIf you have any questions concerning these terms please contact [email protected]\"));\r\n }",
"Plugin getPlugin();",
"private String[] detectPlugins() {\n \t\t\tchangeStampIsValid = false;\n \t\t\tpluginsChangeStampIsValid = false;\n \t\t\tparent.changeStampIsValid = false;\n \t\t\tparent.pluginsChangeStampIsValid = false;\n \n \t\t\tplugins = new ArrayList();\n \n \t\t\tif (!supportsDetection(resolvedURL))\n \t\t\t\treturn new String[0];\n \n \t\t\t// locate plugin entries on site\n \t\t\tFile root = new File(resolvedURL.getFile().replace('/', File.separatorChar) + PLUGINS);\n \t\t\tString[] list = root.list();\n \t\t\tString path;\n \t\t\tFile plugin;\n \t\t\tfor (int i = 0; list != null && i < list.length; i++) {\n \t\t\t\tpath = list[i] + File.separator + PLUGIN_XML;\n \t\t\t\tplugin = new File(root, path);\n \t\t\t\tif (!plugin.exists()) {\n \t\t\t\t\tpath = list[i] + File.separator + FRAGMENT_XML;\n \t\t\t\t\tplugin = new File(root, path);\n \t\t\t\t\tif (!plugin.exists())\n \t\t\t\t\t\tcontinue;\n \t\t\t\t}\n \t\t\t\tplugins.add(PLUGINS + \"/\" + path.replace(File.separatorChar, '/')); //$NON-NLS-1$\n \t\t\t}\n \t\t\tif (DEBUG) {\n \t\t\t\tdebug(resolvedURL.toString() + \" located \" + plugins.size() + \" plugin(s)\"); //$NON-NLS-1$ //$NON-NLS-2$\n \t\t\t}\n \n \t\t\treturn (String[]) plugins.toArray(new String[0]);\n \t\t}",
"private ArrayList<MapPlugin> listPlugins(String type) {\r\n System.out.println(\"===== HomeController.listPlugins() starting with type : \" + type);\r\n System.out.println(\"List plugins of type \" + type);\r\n ArrayList<MapPlugin> pluginList = new ArrayList();\r\n String plugins = env.getProperty(\"plugins.\" + type);\r\n if (plugins != null) {\r\n /* Unpick the value: <control_name>,<login|public>,<caption>,<tooltip>,<icon_class>,<js_filename>,<ext_css>,<ext_js> */\r\n String[] pluginArr = plugins.split(\",\");\r\n if (pluginArr.length % 8 == 0) {\r\n /* Plausible */ \r\n System.out.println(\"Properties file record is of plausible length\");\r\n for (int i = 0; i < pluginArr.length; i += 8) {\r\n MapPlugin mp = new MapPlugin();\r\n mp.setName(pluginArr[i]);\r\n mp.setAllowed_usage(pluginArr[i+1]);\r\n mp.setCaption(pluginArr[i+2]);\r\n mp.setTooltip(pluginArr[i+3]);\r\n mp.setIconclass(pluginArr[i+4]);\r\n mp.setJs_filename(pluginArr[i+5]);\r\n mp.setExt_css(pluginArr[i+6]);\r\n mp.setExt_js(pluginArr[i+7]);\r\n System.out.println(\"--> Name : \" + mp.getName());\r\n System.out.println(\"--> Icon class : \" + mp.getIconclass());\r\n System.out.println(\"--> JS file : \" + mp.getJs_filename());\r\n System.out.println(\"--> External CSS resources : \" + mp.getExt_css());\r\n System.out.println(\"--> External JS resources : \" + mp.getExt_js());\r\n pluginList.add(mp);\r\n } \r\n }\r\n }\r\n System.out.println(\"===== HomeController.listPlugins() complete\");\r\n return(pluginList.isEmpty() ? null : pluginList);\r\n }",
"public interface Plugin<T> {\n\t/**\n\t * Method returns the hashmap with loaded plugins. </p> Hashmap is inside\n\t * PluginManager class.\n\t * \n\t * @return hashmap with loaded plugins\n\t */\n\tpublic HashMap<String, T> getStorage();\n\n\t/**\n\t * Method adds the plugin specified in pluginClass param into hashmap with\n\t * param key. </p> Hashmap is inside PluginManager class.\n\t * \n\t * @param key\n\t * to hashmap with added plugin\n\t * @param pluginClass\n\t * of type class to save into hashmap\n\t */\n\tpublic void addPlugin(String key, T pluginClass);\n\n\t/**\n\t * Name of the plugin.\n\t * \n\t * @return name of plugin\n\t */\n\tpublic String getName();\n\n\t/**\n\t * Tests if the plugin has any error\n\t * \n\t * @return true if there is any error.\n\t */\n\tpublic boolean hasError();\n}",
"@GET\n @Path(\"/typesByPlugin\")\n public Map<Long, List<PluginType>> getTypesByPlugin() {\n return definitionsService.getTypesByPlugin();\n }",
"@RequestMapping(\"/\")\n public List<PluginInformation> home() {\n List<PluginInformation> pluginList = new ArrayList<PluginInformation>();\n pluginList.add(new PluginInformation());\n return pluginList;\n }",
"public static List<String> getPluginsByType(PluginType t){\r\n\t\tMap<String, Class<IKomorebiPlugin>> plugins = instance.pluginRegister.get(t);\r\n\t\tif(plugins == null){\r\n\t\t\treturn new ArrayList<String>();\r\n\t\t}\r\n\t\treturn new ArrayList<String>(plugins.keySet());\r\n\t}",
"public List<String> getPluginNames() {\n\t\tList<String> pluginNames = new ArrayList<String>();\n\t\tfor (Plugin plugin : pluginManager.getPlugins(Plugin.class)) {\n\t\t\tif (StringUtils.isEmpty(plugin.getName())) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tpluginNames.add(plugin.getName().trim());\n\t\t}\n\t\treturn pluginNames;\n\t}",
"public static String[] getInfo(){\n\t\n\t\treturn new String[]{\n\t\t\t\t\"plugin_name\",\n\t\t\t\t\"plugin_host\",\n\t\t\t\t\"plugin_version\",\n\t\t\t\t\"plugin_author\"\n\t\t};\n\t\t\t\t\n\t}",
"public PropertyResourceBundle getPluginProperties() {\r\n\t\tif (pluginProperties == null) {\r\n\t\t\ttry {\r\n\t\t\t\tpluginProperties = JDTUtil.getPluginProperties(getBundle());\r\n\t\t\t} catch (IOException e) {\r\n\t\t\t\tlogger.error(e);\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn pluginProperties;\r\n\t}",
"public APluginEntityTree getPluginEntityTree() {\r\n\t\treturn pluginEntityTree;\r\n\t}",
"java.util.List<com.google.wireless.android.sdk.stats.CriticalPathAnalyzerData.PluginBuildData>\n getPluginsCriticalPathList();",
"public static NeoLoadPluginOptions getPluginOptions(final AbstractProject<?, ?> project) {\n\t\tfinal Project<?, ?> proj;\n\t\tNeoBuildAction nba = null;\n\t\tif (!(project instanceof Project)) {\n\t\t\treturn null;\n\t\t}\n\t\tproj = (Project<?, ?>) project;\n\t\tfinal List<Builder> builders = proj.getBuilders();\n\t\tfor (final Builder b: builders) {\n\t\t\tif (b instanceof NeoBuildAction) {\n\t\t\t\tnba = (NeoBuildAction) b;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn (NeoLoadPluginOptions) nba;\n\t}",
"public List<PluginDetailsDTO> getAllPluginDetailsDTOs() {\n\t\treturn allPluginDetailsDTOs;\n\t}",
"@Serialize//(getName = \"property\")\r\n public List<String> getPluginPoints()\r\n\t{\r\n\t\treturn _pluginPoints; \r\n\t}",
"private static void initPlugins() {\n \tJSPFProperties props = new JSPFProperties();\n PluginManager pm = PluginManagerFactory.createPluginManager(props);\n pm.addPluginsFrom(new File(\"plugins/\").toURI());\n JavaBot.plugins = new PluginManagerUtil(pm).getPlugins(javaBotPlugin.class);\n }",
"protected OwPluginStatusCachingUtility getPluginCache()\r\n {\r\n return this.pluginCache;\r\n }",
"Plugin getPlugin( );",
"public void loadPluginsStartup();",
"public String searchExportedPlugins()\n\t{\n\t\tFile parent = null;\n\t\tif (System.getProperty(\"eclipse.home.location\") != null)\n\t\t\tparent = new File(URI.create(System.getProperty(\"eclipse.home.location\").replaceAll(\" \", \"%20\")));\n\t\telse parent = new File(System.getProperty(\"user.dir\"));\n\n\t\tList<String> pluginLocations = exportModel.getPluginLocations();\n\t\tfor (String libName : NG_LIBS)\n\t\t{\n\t\t\tint i = 0;\n\t\t\tboolean found = false;\n\t\t\twhile (!found && i < pluginLocations.size())\n\t\t\t{\n\t\t\t\tFile pluginLocation = new File(pluginLocations.get(i));\n\t\t\t\tif (!pluginLocation.isAbsolute())\n\t\t\t\t{\n\t\t\t\t\tpluginLocation = new File(parent, pluginLocations.get(i));\n\t\t\t\t}\n\t\t\t\tFileFilter filter = new WildcardFileFilter(libName);\n\t\t\t\tFile[] libs = pluginLocation.listFiles(filter);\n\t\t\t\tif (libs != null && libs.length > 0)\n\t\t\t\t{\n\t\t\t\t\tfound = true;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\ti++;\n\t\t\t}\n\t\t\tif (!found) return libName;\n\t\t}\n\t\treturn null;\n\t}",
"@Override\n public List<Module> getPluginModules(ServletContext context) {\n List<Module> modules = new ArrayList<>();\n\n modules.add(new PushLiquibaseModule(context));\n modules.add(new PushPersistenceModule(context));\n modules.add(new PushRestModule());\n\n return modules;\n }",
"Set<DependencyDescriptor> getPluginDependencyDescriptors() {\n return pluginDependencyDescriptors;\n }",
"@Override\n public PluginInformation getPluginInformation() {\n return super.getPluginInformation();\n }",
"public interface Plugin\n{\n\tpublic String getPluginName();\n}",
"@NotNull\r\n Collection<Plugin> getPluginChunkTickets();",
"public String getJson();",
"public List<PluginWrapper> getSortedPlugins() throws PluginException {\r\n\t\tDirectedGraph<String> graph = new DirectedGraph<String>();\r\n\t\tfor (PluginWrapper pluginWrapper : plugins) {\r\n\t\t\tPluginDescriptor descriptor = pluginWrapper.getDescriptor();\r\n\t\t\tString pluginId = descriptor.getPluginId();\r\n\t\t\tList<PluginDependency> dependencies = descriptor.getDependencies();\r\n\t\t\tif (!dependencies.isEmpty()) {\r\n\t\t\t\tfor (PluginDependency dependency : dependencies) {\r\n\t\t\t\t\tgraph.addEdge(pluginId, dependency.getPluginId());\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tgraph.addVertex(pluginId);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tlog.debug(\"Graph: {}\", graph);\r\n\t\tList<String> pluginsId = graph.reverseTopologicalSort();\r\n\r\n\t\tif (pluginsId == null) {\r\n\t\t\tthrow new CyclicDependencyException(\"Cyclic dependences !!!\" + graph.toString());\r\n\t\t}\r\n\r\n\t\tlog.debug(\"Plugins order: {}\", pluginsId);\r\n\t\tList<PluginWrapper> sortedPlugins = new ArrayList<PluginWrapper>();\r\n\t\tfor (String pluginId : pluginsId) {\r\n\t\t\tsortedPlugins.add(getPlugin(pluginId));\r\n\t\t}\r\n\r\n\t\treturn sortedPlugins;\r\n\t}",
"@Nonnull @NotEmpty public Map<PluginVersion, VersionInfo> getAvailableVersions() {\n ComponentSupport.ifNotInitializedThrowUninitializedComponentException(this);\n return versionInfo;\n }",
"public List<PluginPackageInfoDto> fetchAllPluginPackages() {\n List<PluginPackageInfoDto> pluginPackageInfoDtos = new ArrayList<>();\n\n List<PluginPackages> pluginPackageEntities = pluginPackagesMapper.selectAll();\n if (pluginPackageEntities == null || pluginPackageEntities.isEmpty()) {\n return pluginPackageInfoDtos;\n }\n\n for (PluginPackages entity : pluginPackageEntities) {\n PluginPackageInfoDto dto = buildPluginPackageInfoDto(entity);\n\n pluginPackageInfoDtos.add(dto);\n }\n\n Collections.sort(pluginPackageInfoDtos, new Comparator<PluginPackageInfoDto>() {\n\n @Override\n public int compare(PluginPackageInfoDto o1, PluginPackageInfoDto o2) {\n return o1.getName().compareTo(o2.getName());\n }\n\n });\n\n return pluginPackageInfoDtos;\n }",
"String getJson();",
"String getJson();",
"String getJson();",
"private List<IUserLoginPlugin> getLoginPlugins()\n/* */ {\n/* 341 */ if (this.plugins == null)\n/* 342 */ this.plugins = PluginManager.newIns().getExtInstances(\"loginplugin\", IUserLoginPlugin.class);\n/* 343 */ return this.plugins;\n/* */ }",
"public Set<String> getPluginDependencyNames() { return pluginDependencyNames; }",
"public List<String> getDependencies() throws IOException {\n\t\tPackageJSON packageJSON = new ObjectMapper()\n\t\t\t\t.readValue(this.getClass().getClassLoader().getResourceAsStream(\"package.json\"), PackageJSON.class);\n\t\treturn packageJSON.getDependencies();\n\t}",
"public APlugin getPlugin() {\n return plugin;\n }",
"public interface PluginAdapterBuild extends PluginAdapterBase {\n\n /**\n * Defines the project frontend directory from where resources should be\n * copied from for use with webpack.\n *\n * @return {@link File}\n */\n\n File frontendResourcesDirectory();\n\n /**\n * Whether to generate a bundle from the project frontend sources or not.\n *\n * @return boolean\n */\n\n boolean generateBundle();\n\n /**\n * Whether to generate embeddable web components from WebComponentExporter\n * inheritors.\n *\n * @return boolean\n */\n\n boolean generateEmbeddableWebComponents();\n\n /**\n * Whether to use byte code scanner strategy to discover frontend\n * components.\n *\n * @return boolean\n */\n boolean optimizeBundle();\n\n /**\n * Whether to run <code>npm install</code> after updating dependencies.\n *\n * @return boolean\n */\n boolean runNpmInstall();\n\n}",
"public List<JSONObject> getVendors() {\n String result = null;\n try {\n OpenstackConnection con = ConnectionMgr.getConnectionMgr()\n .getConnection(connect);\n\n result = new HttpRequests.Builder(connect.getAuthenticateMode())\n .addHeader(Constant.HEADER_AUTH_TOKEN,\n con.getDomainTokens())\n .setUrl(String.format(UrlConstant.GET_VENDOR,\n con.getServiceUrl(Constant.ServiceName.KEYSTONE)))\n .get().request();\n\n LOG.warn(\"function = getVendors result: \" + result);\n JSONObject vendorObj = JSONObject.fromObject(result);\n\n if (vendorObj.containsKey(Constant.WRAP_TENANTS)) {\n return getVendorsMap(vendorObj);\n }\n } catch (LoginException e) {\n LOG.error(\"function=getVendors, msg=get from fs OpenStackLoginException,info:\"\n + e);\n }\n return null;\n }",
"public static String aPluginConfiguration() {\n return \"{\\\"Application\\\":\\\"PIS\\\",\\\"ASPSP\\\":[\" +\n \"{\\\"AspspId\\\":\\\"1409\\\",\\\"Name\\\":[\\\"La Banque Postale\\\"],\\\"CountryCode\\\":\\\"FR\\\",\\\"BIC\\\":\\\"PSSTFRPP\\\"},\" +\n \"{\\\"AspspId\\\":\\\"1601\\\",\\\"Name\\\":[\\\"BBVA\\\"],\\\"CountryCode\\\":\\\"ES\\\",\\\"BIC\\\":\\\"BBVAESMM\\\"},\" +\n \"{\\\"AspspId\\\":\\\"1410\\\", \\\"BIC\\\":\\\"PSSTFRPT\\\", \\\"CountryCode\\\":\\\"FR\\\", \\\"Name\\\":[ \\\"La Banque\\\"], \\\"Details\\\":[ { \\\"Api\\\":\\\"POST /payments\\\", \\\"Fieldname\\\":\\\"DebtorAccount\\\", \\\"Type\\\":\\\"MANDATORY\\\", \\\"ProtocolVersion\\\":\\\"BG_V_1_3_0\\\" }, { \\\"Api\\\":\\\"POST /payments\\\", \\\"Fieldname\\\":\\\"PaymentProduct\\\", \\\"Type\\\":\\\"SUPPORTED\\\", \\\"Value\\\":\\\"Instant\\\", \\\"ProtocolVersion\\\":\\\"BG_V_1_3_0\\\" } ] }\"+\n \"],\\\"MessageCreateDateTime\\\":\\\"2019-11-15T16:52:37.092+0100\\\",\\\"MessageId\\\":\\\"6f31954f-7ad6-4a63-950c-a2a363488e\\\"}\";\n }",
"public synchronized static PluginRegistryModel parsePlugins(URL[] pluginPath, Factory factory, boolean debug) {\n \t\treturn RegistryLoader.parseRegistry(pluginPath, factory, debug);\n \t}",
"public interface PluginClient {\n\n /**\n * Retrieves all automator types readable by the user. If no automator types exist, returns an empty list.\n *\n * @return List of {@link co.cask.coopr.spec.plugin.AutomatorType} objects\n * @throws IOException in case of a problem or the connection was aborted\n */\n List<AutomatorType> getAllAutomatorTypes() throws IOException;\n\n /**\n * Retrieves a specific automator type if readable by the user.\n *\n * @return {@link co.cask.coopr.spec.plugin.AutomatorType} object\n * @throws IOException in case of a problem or the connection was aborted\n */\n AutomatorType getAutomatorType(String id) throws IOException;\n\n /**\n * Retrieves all provider types readable by the user. If no provider types exist, returns an empty list.\n *\n * @return List of {@link co.cask.coopr.spec.plugin.ProviderType} objects\n * @throws IOException in case of a problem or the connection was aborted\n */\n List<ProviderType> getAllProviderTypes() throws IOException;\n\n /**\n * Retrieves a specific provider type if readable by the user.\n *\n * @return {@link co.cask.coopr.spec.plugin.ProviderType} object\n * @throws IOException in case of a problem or the connection was aborted\n */\n ProviderType getProviderType(String id) throws IOException;\n\n /**\n * Retrieves a list of all versions of the given resource of the given type for the given automator type.\n * Method can optionally contain a 'status' parameter, whose value is one of 'active', 'inactive', 'staged', or\n * 'recalled' to filter the results to only contain resource that have the given status.\n *\n * @param id Id of the automator type that has the resources\n * @param resourceType Type of resource to get\n * @param status Status of the resources to get {@link co.cask.coopr.provisioner.plugin.ResourceStatus}.\n * Or null, for resources of any status are returned\n * @return Immutable map of resource name to resource metadata\n * @throws IOException in case of a problem or the connection was aborted\n */\n Map<String, Set<ResourceMeta>> getAutomatorTypeResources(String id, String resourceType, ResourceStatus status)\n throws IOException;\n\n /**\n * Retrieves a mapping of all resources of the given type for the given provider type.\n * Method can optionally contain a 'status' parameter, whose value is one of 'active', 'inactive', 'staged', or\n * 'recalled' to filter the results to only contain resource that have the given status.\n *\n * @param id Id of the provider type that has the resources\n * @param resourceType Type of resource to get\n * @param status Status of the resources to get {@link co.cask.coopr.provisioner.plugin.ResourceStatus}.\n * Or null, for resources of any status are returned\n * @return Immutable map of resource name to resource metadata\n * @throws IOException in case of a problem or the connection was aborted\n */\n Map<String, Set<ResourceMeta>> getProviderTypeResources(String id, String resourceType, ResourceStatus status)\n throws IOException;\n\n /**\n * Stage a particular resource version, which means that version of the resource will get pushed to provisioners\n * on the next sync call. Staging one version recalls other versions of the resource.\n *\n * @param id Id of the automator type that has the resources\n * @param resourceType Type of resource to stage\n * @param resourceName Name of the resource to stage\n * @param version Version of the resource to stage\n * @throws IOException in case of a problem or the connection was aborted\n */\n void stageAutomatorTypeResource(String id, String resourceType, String resourceName, String version)\n throws IOException;\n\n /**\n * Stage a particular resource version, which means that version of the resource will get pushed to provisioners\n * on the next sync call. Staging one version recalls other versions of the resource.\n *\n * @param id Id of the provider type that has the resources\n * @param resourceType Type of resource to stage\n * @param resourceName Name of the resource to stage\n * @param version Version of the resource to stage\n * @throws IOException in case of a problem or the connection was aborted\n */\n void stageProviderTypeResource(String id, String resourceType, String resourceName, String version)\n throws IOException;\n\n /**\n * Recall a particular resource version, which means that version of the resource will get removed from provisioners\n * on the next sync call.\n *\n * @param id Id of the automator type that has the resources\n * @param resourceType Type of resource to recall\n * @param resourceName Name of the resource to recall\n * @param version Version of the resource to recall\n * @throws IOException in case of a problem or the connection was aborted\n */\n void recallAutomatorTypeResource(String id, String resourceType, String resourceName, String version)\n throws IOException;\n\n /**\n * Recall a particular resource version, which means that version of the resource will get removed from provisioners\n * on the next sync call.\n *\n * @param id Id of the provider type that has the resources\n * @param resourceType Type of resource to recall\n * @param resourceName Name of the resource to recall\n * @param version Version of the resource to recall\n * @throws IOException in case of a problem or the connection was aborted\n */\n void recallProviderTypeResource(String id, String resourceType, String resourceName, String version)\n throws IOException;\n\n /**\n * Delete a specific version of the given resource.\n *\n * @param id Id of the automator type that has the resources\n * @param resourceType Type of resource to delete\n * @param resourceName Name of the resource to delete\n * @param version Version of the resource to delete\n * @throws IOException in case of a problem or the connection was aborted\n */\n void deleteAutomatorTypeResourceVersion(String id, String resourceType, String resourceName, String version)\n throws IOException;\n\n /**\n * Delete a specific version of the given resource.\n *\n * @param id Id of the provider type that has the resources\n * @param resourceType Type of resource to delete\n * @param resourceName Name of the resource to delete\n * @param version Version of the resource to delete\n * @throws IOException in case of a problem or the connection was aborted\n */\n void deleteProviderTypeResourceVersion(String id, String resourceType, String resourceName, String version)\n throws IOException;\n\n /**\n * Push staged resources to the provisioners, and remove recalled resources from the provisioners.\n *\n * @throws IOException in case of a problem or the connection was aborted\n */\n void syncPlugins() throws IOException;\n}",
"@JsonProperty(\"extensions\")\n public Set<ToolComponent> getExtensions() {\n return extensions;\n }",
"public interface IPluginLibrary {\n \n /*\n * Initializes the library\n */\n public void initialize(DefaultPluginsCollector collector);\n \n /*\n * Start the module and initialize components\n */\n public void startLibrary();\n \n /*\n * Fetches all extensions for the given extension point qualifiers.\n * \n * @param extPointId The extension point id to gather plugins for\n * \n * @return The gathered plugins in a LinkedList\n */\n public void loadAllPlugins(final String extPointId);\n \n /*\n * Fetches new extensions for the given extension point qualifiers.\n * \n * @param extPointId The extension point id to gather plugins for\n * \n * @return A human readable string\n */\n public String loadNewPlugin(final String extPointId); \n \n /**\n * Checks a plugin for validity.\n * \n * @param plugin The plugin to check\n * @param The level to test against, this method will return true if the result is greater or\n * equal than the testLevel\n * @return true or false\n */\n public boolean isValidPlugin(MartinPlugin plugin, MartinAPITestResult testLevel);\n\n /**\n * Answer a request by searching plugin-library for function and executing\n * them.\n * \n * @param req The {@link ExtendedQequest} to answer.\n * \n * @return The generated {@link MResponse}.\n */\n public MResponse executeRequest(ExtendedRequest req);\n\n \n public List<PluginInformation> getPluginInformation();\n \n /**\n * Returns a list of example calls read from the plugin database. Is usually\n * only called from the AI controller when the user first loads the MArtIn\n * frontend.\n * \n * @return a list of example calls\n */\n public List<MExampleCall> getExampleCalls();\n \n /**\n * Returns a list of 5 randomly choosen example calls read from the plugin database. Is usually\n * only called from the AI controller when the user first loads the MArtIn\n * frontend.\n * \n * @return a list of 5 randomly choosen example calls\n */\n public List<MExampleCall> getRandomExampleCalls();\n \n public Map<String, Pair<Boolean, MartinPlugin> > getPluginExtentions();\n}",
"public String[] getAllDependencyExtensions();",
"public BatchClassPluginConfigDTO getPluginConfigDTO() {\n\t\treturn pluginConfigDTO;\n\t}",
"String getJSON();",
"public Plugin getPlugin()\r\n\t{\r\n\t\treturn plugin;\r\n\t}",
"public String treeJSON() {\n\t\ttry{\r\n\t\tList trees = this.getTransedTrees();\r\n\t\tString result = this.treeJSON(trees);\r\n\t\treturn result;\r\n\t\t}catch(Exception e){\r\n\t\t\tlog.info(\">>>>faceye error in method:treeJSON() is\"+e.toString());\r\n\t\t\treturn null;\r\n\t\t}\r\n\t\t\r\n\t}",
"public static Plugin getPlugin() {\n return plugin;\n }",
"@SuppressWarnings(\"unused\")\n public ArrayNode GetJsonObjectsCollection(){\n return jsonObjects;\n }",
"@Path(\"/tags\")\n\t@GET\n\t@Produces(\"application/json\")\n\tpublic Response getTagsList() {\n\t\tList<String> tags = PhotoDB.getTags();\n\t\t\n\t\tGson gson = new Gson();\n\t\tString jsonText = gson.toJson(tags);\n\t\t\n\t\treturn Response.status(Status.OK).entity(jsonText).build();\n\t}",
"public interface Plugin {\n /**\n * What is the name of this plugin?\n *\n * The framework will use this name when storing the versions\n * (code version and schema version) in the database, and, if\n * this is the Application Plugin, in the help menu, main frame\n * title bar, and other displays wherever the application name\n * is shown.\n *\n * The column used to store this in the database is 40\n * characters wide.\n *\n * @return the name of this plugin\n */\n String getName();\n\n /**\n * What is the version number of this plugin's code?\n *\n * The framework will use this name when storing the versions\n * in the database.\n *\n * @return the code version of this plugin\n */\n String getVersion();\n\n /**\n * Allow a plugin to provide any plugin-specific application\n * context files.\n *\n * Can return null or an empty list if there are none.\n * The elements of the list are paths to resources inside the\n * plugin's jar, e.g. org/devzendo/myapp/app.xml\n *\n * @return a list of any application contexts that the plugin\n * needs to add to the SpringLoader, or null, or empty list.\n */\n List<String> getApplicationContextResourcePaths();\n\n /**\n * Give the SpringLoader to the plugin, after the\n * application contexts for all plugins have been loaded\n * @param springLoader the SpringLoader\n */\n void setSpringLoader(final SpringLoader springLoader);\n\n /**\n * Obtain the SpringLoader for plugin use\n * @return the SpringLoader\n */\n SpringLoader getSpringLoader();\n\n /**\n * What is the database schema version of this plugin?\n *\n * The framework will use this name when storing the versions\n * in the database.\n *\n * @return the database schema version of this plugin\n */\n String getSchemaVersion();\n\n /**\n * Shut down the plugin, freeing any resources. Called by the\n * framework upon system shutdown.\n */\n void shutdown();\n}",
"@Nonnull\n public List<Class<? extends PluginInterface>> loadPlugins(@Nonnull String pluginDirName) {\n\n List<Class<? extends PluginInterface>> plugins=new ArrayList<>();\n\n //Директория для просмотра файлов\n File pluginDirectory=new File(pluginDirName);\n File[] files=pluginDirectory.listFiles((dir, name) -> name.endsWith(PLUGIN_EXT));\n\n //Загрузка плагинов\n if(files!=null && files.length>0) {\n getPluginsClasses(files).forEach(className->{\n try {\n //Получим свой загрузчик файлов и загрузим с помощью него плагины\n Class cls=getClassLoaderByFilesURL(files)\n .loadClass(className\n .replaceAll(\"/\",\".\")\n .replace(\".class\",\"\"));\n\n //Если класс расширяет PluginInterface, то добавим этот класс в массив\n Class[] interfaces=cls.getInterfaces();\n for(Class intface:interfaces) {\n if(intface.equals(PluginInterface.class)) {\n plugins.add(cls);\n }\n }\n }\n catch (Exception e){\n e.printStackTrace();\n }\n });\n }\n\n return plugins;\n }",
"private void loadPlugin(File file) {\n JarFile jarFile;\n\n try {\n jarFile = new JarFile(file);\n } catch (IOException e) {\n Logger.instance.logf(Level.WARNING, Messages.PLUGIN_JARFILE_CREATE, e);\n return;\n }\n\n JarEntry pJson = jarFile.getJarEntry(\"plugin.json\");\n\n if (pJson == null)\n return;\n\n try {\n BufferedReader reader = new BufferedReader(new InputStreamReader(jarFile.getInputStream(pJson)));\n PluginInfo info = new GsonBuilder().setPrettyPrinting().create().fromJson(reader, PluginInfo.class);\n\n if (info != null) {\n ClassLoader classLoader = new URLClassLoader(new URL[] { file.toURI().toURL() }, this.getClass().getClassLoader());\n\n Plugin plugin;\n\n try {\n plugin = (Plugin) classLoader.loadClass(info.getMain()).newInstance();\n plugin.setInfo(info);\n plugins.add(plugin);\n } catch (ClassNotFoundException | InstantiationException | IllegalAccessException e) {\n Logger.instance.logf(Level.WARNING, Messages.PLUGIN_INSTANTIATION, e);\n return;\n }\n\n Enumeration<JarEntry> entries = jarFile.entries();\n while (entries.hasMoreElements()) {\n JarEntry e = entries.nextElement();\n String name = e.getName();\n\n if (name.endsWith(\".class\")) {\n try {\n Class clazz = Class.forName(name.substring(0, name.length() - 6).replace('/', '.'), true, classLoader);\n\n if (clazz != null && clazz.getSuperclass().equals(Module.class)) {\n try {\n plugin.loadModule((Module) clazz.newInstance());\n } catch (InstantiationException | IllegalAccessException exception) {\n Logger.instance.logf(Level.WARNING, Messages.PLUGIN_CANT_CREATE_MODULE, exception);\n }\n }\n } catch (ClassNotFoundException exception) {\n Logger.instance.logf(Level.WARNING, Messages.PLUGIN_CANT_LOAD_CLASS, name);\n }\n }\n }\n }\n } catch (IOException e) {\n Logger.instance.logf(Level.WARNING, Messages.PLUGIN_CANT_CREATE_INPUTSTREAM, file.getAbsolutePath());\n }\n }",
"@GET\n\t@Path(\"/\")\n\t@Produces(MediaType.APPLICATION_JSON)\n\tpublic List<Tela> getTelas(){\n\t\treturn new TelaDAO().readAllTelas();\n\t}",
"private void fillPluginList() {\n\t\tlesSitesPlugin = new ArrayList<HashMap<String, String>>();\n\t\tcategories = new ArrayList<String>();\n\t\tPackageManager packageManager = getPackageManager();\n\t\tIntent baseIntent = new Intent(ACTION_PICK_PLUGIN);\n\t\tbaseIntent.setFlags(Intent.FLAG_DEBUG_LOG_RESOLUTION);\n\t\tList<ResolveInfo> list = packageManager.queryIntentServices(baseIntent, PackageManager.GET_RESOLVED_FILTER);\n\t\tfor (int i = 0; i < list.size(); ++i) {\n\t\t\tResolveInfo info = list.get(i);\n\t\t\tServiceInfo sinfo = info.serviceInfo;\n\t\t\t IntentFilter filter = info.filter;\n\t\t\tNotification.log(tag, \"taille de la liste de Plugin: \" + i + 1 + \"; sinfo: \" + sinfo);\n\t\t\tif (sinfo != null) {\n\t\t\t\t HashMap<String, String> item = new HashMap<String, String>();\n\t\t\t\t item.put(KEY_PKG, sinfo.packageName); // nom du package\n//\t\t\t\t item.put(KEY_SERVICENAME, StringLt.lastSegment(sinfo.name, '.')); // nom du plugin\n\t\t\t\t item.put(KEY_SERVICENAME, sinfo.name);\n\t\t\t\t String firstCategory = null;\n\t\t\t\t if (filter != null) {\n\t\t\t\t StringBuilder actions = new StringBuilder();\n\t\t\t\t for (Iterator<String> actionIterator = filter.actionsIterator(); actionIterator.hasNext();) {\n\t\t\t\t String action = actionIterator.next();\n\t\t\t\t if (actions.length() > 0)\n\t\t\t\t actions.append(\",\");\n\t\t\t\t actions.append(action);\n\t\t\t\t }\n\t\t\t\t StringBuilder categories = new StringBuilder();\n\t\t\t\t for (Iterator<String> categoryIterator = filter.categoriesIterator(); categoryIterator.hasNext();) {\n\t\t\t\t String category = categoryIterator.next();\n\t\t\t\t if (firstCategory == null)\n\t\t\t\t firstCategory = category;\n\t\t\t\t if (categories.length() > 0)\n\t\t\t\t categories.append(\",\");\n\t\t\t\t categories.append(category);\n\t\t\t\t }\n\t\t\t\t// item.put(KEY_ACTIONS, new\n\t\t\t\t// String(StringLt.lastSegment(actions.toString(), '.')));\n\t\t\t\t// item.put(KEY_CATEGORIES, new\n\t\t\t\t// String(StringLt.lastSegment(categories.toString(),\n\t\t\t\t// '.')));\n\t\t\t\t item.put(KEY_ACTIONS, new String(actions));\n\t\t\t\t item.put(KEY_CATEGORIES, new String(categories));\n\t\t\t\t }\n\t\t\t\t else {\n\t\t\t\t item.put(KEY_ACTIONS, \"<null>\");\n\t\t\t\t item.put(KEY_CATEGORIES, \"<null>\");\n\t\t\t\t }\n\t\t\t\t if (firstCategory == null)\n\t\t\t\t firstCategory = \"\";\n\t\t\t\t categories.add(firstCategory);\n\t\t\t\t lesSitesPlugin.add(item);\n\t\t\t\t// lesSitesPlugin.add(StringLt.lastSegment(sinfo.name, '.'));\n\t\t\t\tlesSites.add(StringLt.lastSegment(sinfo.name, '.'));\n\t\t\t}\n\t\t}\n\t}",
"public interface Plugin {\n\n\t/**\n\t * Returns a description of the plugin, to be shown as a tooltip and/or in the\n\t * help menu.\n\t * \n\t * @return\n\t */\n\tString getDescription();\n\n\t/**\n\t * A label for buttons and menu entries\n\t * \n\t * @return\n\t */\n\tString getName();\n\n\tIkon getIkon();\n\n}",
"public String getPluginPath() {\n return pluginPath;\n }",
"@Deprecated\n \tpublic JSONObject getPipelineJson() {\n \t\tJSONObject ret = new JSONObject();\n \t\tret.put(\"name\", new JSONString(workspace.getPipeline().getName()));\n \t\tret.put(\"description\",new JSONString( workspace.getPipeline().getDescription()));\n \t\tJSONArray appsArray = new JSONArray();\n \t\tVector<PipeComponent> steps = workspace.getPipeline().getSteps();\n \t\tint i=0;\n \t\tfor (PipeComponent step : steps) {\n \t\t\tApp app = ((PipeApp) step).getApp();\n \t\t\tJSONObject jsonApp = new JSONObject();\n \t\t\tjsonApp.put(\"id\", new JSONString(app.getID()));\n \t\t\tjsonApp.put(\"name\", new JSONString(app.getName()));\n \t\t\tjsonApp.put(\"description\", new JSONString(app.getDescription()));\n \t\t\tjsonApp.put(\"step\", new JSONNumber(step.getPosition()));\n \t\t\tHashMap<PipeComponent, ArrayList<Input>> mappings = new HashMap<PipeComponent, ArrayList<Input>>();\n \t\t\tfor (Input input : step.getInputs()) {\n \t\t\t\tif (input.getMapped() != null) {\n \t\t\t\t\tPipeComponent parent = input.getMapped().getParent();\n \t\t\t\t\tArrayList<Input> maps = mappings.get(parent);\n \t\t\t\t\tif (maps == null)\n \t\t\t\t\t\tmaps = new ArrayList<Input>();\n \t\t\t\t\tmaps.add(input);\n \t\t\t\t\tmappings.put(parent, maps);\n \t\t\t\t}\n \t\t\t}\n \t\t\tJSONArray jsonMappings = new JSONArray();\n \t\t\tjsonApp.put(\"mappings\", jsonMappings);\n \t\t\tjsonApp.put(\"inputs\", app.getInputJson());\n \t\t\tjsonApp.put(\"outputs\", app.getOutputJson());\n \t\t\tIterator<PipeComponent> it = mappings.keySet().iterator();\n \t\t\tint mappingsI =0;\n \t\t\twhile (it.hasNext()) {\n \t\t\t\tPipeComponent mappedTo = it.next();\n \t\t\t\tApp mappedApp = ((PipeApp) mappedTo).getApp();\n \t\t\t\tJSONObject jsonMap = new JSONObject();\n \t\t\t\tjsonMap.put(\"step\", new JSONNumber(mappedTo.getPosition()));\n \t\t\t\tjsonMap.put(\"id\", new JSONString(mappedApp.getID()));\n \t\t\t\tArrayList<Input> inputs = mappings.get(mappedTo);\n \t\t\t\tJSONObject mapO = new JSONObject();\n \t\t\t\tfor (Input input : inputs) {\n \t\t\t\t\tmapO.put(input.getID(), new JSONString(input.getMapped().getID() ));\n \t\t\t\t}\n \t\t\t\tjsonMap.put(\"map\", mapO);\n \t\t\t\tjsonMappings.set(mappingsI++, jsonMap);\n \t\t\t}\n \t\t\tappsArray.set(i++,jsonApp);\n \t\t}\n \t\tret.put(\"apps\", appsArray);\n \t\treturn ret;\n \t}",
"@GET\n\t@Produces({ MediaType.APPLICATION_JSON })\n\tpublic Response getTipos() {\n\t\tRotondAndesTM tm = new RotondAndesTM(getPath());\n\t\tList<Tipo> Tipos;\n\t\ttry {\n\t\t\tTipos = tm.darTipos();\n\t\t} catch (Exception e) {\n\t\n\t\t\treturn Response.status(500).entity(doErrorMessage(e)).build();\n\t\t}\n\t\treturn Response.status(200).entity(Tipos).build();\n\t}",
"@Override\n public PluginDescription getPluginDetails() {\n return new PluginDescription(this);\n }",
"private ArrayList<String> gettemplates(){\n\t\tArrayList<String> result = new ArrayList<String>();\n\t\ttry {\n\t\t String[] cmd = {\n\t\t \t\t\"/bin/sh\",\n\t\t \t\t\"-c\",\n\t\t \t\t\"ls -p | grep -v / | grep -v 'pom.xml' \"\n\t\t \t\t};\n\n\t\t Process p = Runtime.getRuntime().exec(cmd); //Runtime r = Runtime.getRuntime(); Process p = r.exec(cmd);\n\t\t BufferedReader in =\n\t\t new BufferedReader(new InputStreamReader(p.getInputStream()));\n\t\t String inputLine;\n\t\t while ((inputLine = in.readLine()) != null) {\n\t\t result.add(inputLine);\n\t\t }\n\t\t in.close();\n\n\t\t} catch (IOException e) {\n\t\t System.out.println(e);\n\t\t}\n\t\t\n\t\treturn result;\n\t\t}",
"public List<String[]> getAllProject() {\n String url = Host.getSonar() + \"api/projects/index\";\n String json = null;\n try {\n Object[] response = HttpUtils.sendGet(url, Authentication.getBasicAuth(\"sonar\"));\n if (Integer.parseInt(response[0].toString()) == 200) {\n json = response[1].toString();\n }\n } catch (Exception e) {\n logger.error(\"Get sonar project list: GET request error.\", e);\n }\n if (json == null) {\n logger.warn(\"Get sonar project list: response empty.\");\n return null;\n }\n List<Map<String, Object>> projects = JSONArray.fromObject(json);\n if (projects.size() == 0) {\n logger.warn(\"Get sonar project list: empty list.\");\n return null;\n }\n List<String[]> result = new ArrayList<>();\n for (Map<String, Object> oneProject : projects) {\n result.add(new String[]{oneProject.get(\"nm\").toString(), oneProject.get(\"k\").toString()});\n }\n return result;\n }",
"public String getPluginClass() {\n return pluginClass;\n }",
"private Map<String, IPlugin> toPlugins( Market market ) {\n Collection<Market.MarketEntry> marketEntries = market.getMarketEntry();\n Map<String, IPlugin> plugins = new HashMap<>( marketEntries.size() );\n\n int rank = 0;\n for ( Market.MarketEntry entry : marketEntries ) {\n plugins.put( entry.getId(), this.toPlugin( entry, rank++ ) );\n }\n\n return plugins;\n }",
"public interface PluginManager<P extends REIPlugin<?>> extends ParentReloadable<P> {\n @Environment(EnvType.CLIENT)\n static PluginManager<REIClientPlugin> getClientInstance() {\n return ClientInternals.getPluginManager();\n }\n \n static PluginManager<REIPlugin<?>> getInstance() {\n return Internals.getPluginManager();\n }\n \n static PluginManager<REIServerPlugin> getServerInstance() {\n return Internals.getServerPluginManager();\n }\n \n static List<PluginManager<? extends REIPlugin<?>>> getActiveInstances() {\n return EnvExecutor.getEnvSpecific(() -> () -> Arrays.asList(getInstance(), getClientInstance(), getServerInstance()),\n () -> () -> Arrays.asList(getInstance(), getServerInstance()));\n }\n \n static boolean areAnyReloading() {\n return CollectionUtils.anyMatch(getActiveInstances(), PluginManager::isReloading);\n }\n \n boolean isReloading();\n \n <T extends Reloadable<? super P>> T get(Class<T> reloadableClass);\n \n List<REIPluginProvider<P>> getPluginProviders();\n \n Iterable<P> getPlugins();\n \n @ApiStatus.Internal\n PluginView<P> view();\n}",
"public PluginLocation[] getBuiltinPluginLocations()\r\n {\r\n java.lang.String conf = \"/net/sf/xpontus/plugins/plugins.txt\";\r\n\r\n InputStream is = null;\r\n LineIterator it = null;\r\n\r\n List<PluginLocation> locations = new ArrayList<PluginLocation>();\r\n\r\n try\r\n {\r\n is = getClass().getResourceAsStream(conf);\r\n it = IOUtils.lineIterator(is, \"UTF-8\");\r\n\r\n while (it.hasNext())\r\n {\r\n String line = it.nextLine();\r\n\r\n PluginLocation loc = getPluginLocation(line);\r\n locations.add(loc);\r\n }\r\n }\r\n catch (IOException ex)\r\n {\r\n LOG.error(ex.getMessage(), ex);\r\n }\r\n finally\r\n {\r\n if (is != null)\r\n {\r\n IOUtils.closeQuietly(is);\r\n }\r\n\r\n if (it != null)\r\n {\r\n LineIterator.closeQuietly(it);\r\n }\r\n }\r\n\r\n return (PluginLocation[]) locations.toArray(new PluginLocation[0]);\r\n }",
"@GET\n @Produces(\"application/json\")\n public String getJson() {\n //TODO return proper representation object\n throw new UnsupportedOperationException();\n }",
"java.lang.String getMetadataJson();",
"protected Iterable<JStachioExtension> extensions(Jooby application) {\n return ServiceLoader.load(\n JStachioExtension.class, application.getEnvironment().getClassLoader());\n }",
"@Override\r\n\tpublic JSONObject getJSON() {\n\t\treturn tenses;\r\n\t}",
"public List getLibs() {\r\n\t\tList libs = (List) super.get(LIBS_FIELD_NAME);\r\n\t\tif (libs == null) {\r\n\t\t\tlibs = new JSONArray();\r\n\t\t\tsuper.put(LIBS_FIELD_NAME, libs);\r\n\t\t}\r\n\t\treturn libs;\r\n\t}",
"protected JsonJavaObject getVcapServices() {\n\t\tJsonJavaObject vcapJson = null;\n\t\tJsonJavaFactory factory = JsonJavaFactory.instanceEx;\n\t\tString sysEnv = BluemixContextManager.getInstance().getVCAP_SERVICES();\n\n\t\ttry {\n\t\t\tvcapJson = (JsonJavaObject) JsonParser.fromJson(factory, sysEnv);\n\n\t\t} catch (JsonException e) {\n\t\t\tPlatform.getInstance().log(e);\n\t\t\tLogging.logError(e);\n\t\t}\n\t\treturn vcapJson;\n\t}",
"private JsonNode toJson() {\n ObjectMapper mapper = new ObjectMapper();\n ObjectNode root = mapper.createObjectNode();\n root.put(\"packages\", jsonPackages(mapper));\n root.put(\"cycleSegments\", jsonCycleSegments(mapper, catalog.getCycleSegments()));\n root.put(\"summary\", jsonSummary(mapper));\n return root;\n }",
"public static PluginRegistryModel parsePlugins(URL[] pluginPath, Factory factory) {\n \t\treturn parsePlugins(pluginPath, factory, false);\n \t}",
"private JSON() {\n\t}",
"public static List<String> getTemplates() {\n\t\tFile templatesDir = new File(PathUtils.getExtensionsTemplatePath());\n\t\tList<String> templates = Arrays.stream(templatesDir.listFiles(File::isDirectory)).map(File::getName)\n\t\t\t\t.collect(Collectors.toList());\n\t\tIProject[] projects = ResourcesPlugin.getWorkspace().getRoot().getProjects();\n\t\tList<String> customTemplates = Arrays.stream(projects).filter(ExtensionUtils::isTemplate)\n\t\t\t\t.map(IProject::getName).collect(Collectors.toList());\n\t\ttemplates.addAll(customTemplates);\n\t\treturn templates;\n\t}",
"public static TabbedPropertyViewPlugin getPlugin() {\n return plugin;\n }",
"private PluginsInternal() {}",
"java.util.List<? extends com.google.wireless.android.sdk.stats.CriticalPathAnalyzerData.PluginBuildDataOrBuilder>\n getPluginsCriticalPathOrBuilderList();",
"public String getPluginClass() {\n return pluginClass;\n }",
"TorrentJsonParser getJsonParser();",
"public HashMap<String, JSONObject> getListPrograms();",
"public ANTForPlugins()\n {\n super();\n }",
"public static String getPluginsLocation() {\r\n return pluginsLocation.getValue();\r\n }",
"private JSONArray teamToJson() {\r\n JSONArray jsonArray = new JSONArray();\r\n\r\n for (Hero h: team) {\r\n jsonArray.put(h.toJson());\r\n }\r\n\r\n return jsonArray;\r\n }",
"public List<PluginInfo> getPluginsByType(String type) {\n List<PluginInfo> typeList = new ArrayList<PluginInfo>();\n for (int i = 0; i < pl.getPlugins().size(); i++) {\n PluginInfo pi = pl.getPlugins().get(i);\n if (type.endsWith(pi.getType())) {\n typeList.add(pi);\n }\n }\n return typeList;\n }",
"@GET\n @Produces(MediaType.APPLICATION_JSON)\n public String getJson() {\n GsonBuilder gBuilder = new GsonBuilder();\n Gson jObject = gBuilder.create();\n\n try {\n return jObject.toJson(dao.getAll());\n } catch (Exception e) {\n Resposta lResposta = new Resposta();\n\n lResposta.setMensagem(e.getMessage());\n lResposta.setSucesso(false);\n\n return jObject.toJson(lResposta);\n }\n }",
"public static Properties getPluginProperties(String plugin) throws ThinklabClientException {\r\n \t\t\r\n \t\t\tProperties ret = null;\r\n \t\t\tFile pfile = \r\n \t\t\t\tnew File(\r\n \t\t\t\t\tConfiguration.getProjectDirectory(plugin) + \r\n \t\t\t\t\tFile.separator + \r\n \t\t\t\t\t\"META-INF\" +\r\n \t\t\t\t\tFile.separator + \r\n \t\t\t\t\t\"thinklab.properties\");\r\n \t\t\t\r\n \t\t\tif (pfile.exists()) {\r\n \t\t\t\ttry {\r\n \t\t\t\t\tret = new Properties();\r\n \t\t\t\t\tret.load(new FileInputStream(pfile));\r\n \t\t\t\t} catch (Exception e) {\r\n \t\t\t\t\tthrow new ThinklabClientException(e);\r\n \t\t\t\t}\r\n \t\t\t}\r\n \t\t\t\r\n \t\t\treturn ret;\r\n \t\t}"
] | [
"0.65255725",
"0.59779996",
"0.5915382",
"0.5891829",
"0.58827233",
"0.57366854",
"0.5733422",
"0.56787366",
"0.56431407",
"0.5633737",
"0.56313705",
"0.55324733",
"0.55317795",
"0.551142",
"0.55043954",
"0.5492621",
"0.54886496",
"0.5486217",
"0.5465473",
"0.5458473",
"0.54440325",
"0.54127336",
"0.5383669",
"0.53506804",
"0.5313442",
"0.5299261",
"0.52778125",
"0.5272889",
"0.52469635",
"0.52405804",
"0.5209419",
"0.5195311",
"0.5194078",
"0.51637423",
"0.5153759",
"0.5120916",
"0.5109236",
"0.5104952",
"0.50857925",
"0.5085623",
"0.5072798",
"0.5072798",
"0.5072798",
"0.50723183",
"0.5066601",
"0.506088",
"0.5042946",
"0.5038839",
"0.50369",
"0.50342816",
"0.50109684",
"0.5010919",
"0.5007817",
"0.50047857",
"0.49982074",
"0.49735278",
"0.4966793",
"0.49601862",
"0.49487552",
"0.49361977",
"0.49339238",
"0.49259025",
"0.49224502",
"0.49222448",
"0.4921678",
"0.4908772",
"0.49080572",
"0.48912042",
"0.48894432",
"0.48751852",
"0.4860716",
"0.48582935",
"0.4858067",
"0.48579726",
"0.48570472",
"0.4842864",
"0.48381802",
"0.48370716",
"0.48361638",
"0.48255923",
"0.48232844",
"0.4817106",
"0.48053116",
"0.47924167",
"0.47906032",
"0.47694218",
"0.47671634",
"0.47640452",
"0.47627035",
"0.4757832",
"0.47471207",
"0.47435635",
"0.47383007",
"0.4738169",
"0.4734992",
"0.47339553",
"0.472401",
"0.4713995",
"0.47138473",
"0.47136447"
] | 0.7463628 | 0 |
Save the tern project in the file .ternproject of the project base dir. | public void save() throws IOException {
projectDir.mkdirs();
Writer writer = null;
try {
writer = new FileWriter(new File(projectDir, TERN_PROJECT));
super.writeJSONString(writer);
} finally {
if (writer != null) {
IOUtils.closeQuietly(writer);
}
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void saveProject() {\n File f = new File(getExternalFilesDir(Environment.DIRECTORY_DOCUMENTS), projectName + File.separator + \"render.cfg\");\n\n JSONObject json = new JSONObject();\n\n try {\n json.put(\"frames\", frames);\n json.put(\"a\", a);\n json.put(\"b\", b);\n json.put(\"P\", P);\n } catch (JSONException e) {\n Log.v(\"RenderSettings\", \"saveProject failed with a JSON Exception: \" + e.getMessage());\n }\n\n try (FileWriter file = new FileWriter(f)) {\n file.write(json.toString());\n } catch (IOException e) {\n Log.v(\"RenderSettings\", \"saveProject failed with a IO Exception: \" + e.getMessage());\n }\n }",
"private void saveProject()\n\t{\n\t\t\n\t\tint fileChooserReturnValue =\n\t\t\twindowTemplate\n\t\t\t\t.getFileChooser()\n\t\t\t\t.showSaveDialog(windowTemplate);\n\t\t\n\t\tif(fileChooserReturnValue == JFileChooser.APPROVE_OPTION) {\n\t\t\t\n\t\t\t// Get the file that the user selected\n\t\t\tFile file = windowTemplate.getFileChooser().getSelectedFile();\n\t\t\t\n\t\t\ttry {\n\t\t\t\t\n\t\t\t\t// Open the output streams\n\t\t\t\tFileOutputStream fileOutput = new FileOutputStream(file.getAbsolutePath());\n\t\t\t\tObjectOutputStream objectOutput = new ObjectOutputStream(fileOutput);\n\t\t\t\n\t\t\t\t// Write the objects\n\t\t\t\tfor(int i = 0; i < cards.size(); i++) {\n\t\t\t\t\tobjectOutput.writeObject(cards.get(i));\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t// Close the output streams\n\t\t\t\tobjectOutput.close();\n\t\t\t\tfileOutput.close();\n\t\t\t\t\n\t\t\t\t// Update the title of the frame to reflect the file name\n\t\t\t\twindowTemplate.setTitle(file.getName());\n\t\t\t\t\n\t\t\t} catch (IOException e1) {\n\t\t\t\tJOptionPane.showMessageDialog(windowTemplate, \"Could not save the file.\");\n\t\t\t}\n\t\t\t\n\t\t}\n\t\t\n\t}",
"public static void saveProject(TargetProject project, String file) throws TargetException\r\n {\r\n\r\n try\r\n {\r\n DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();\r\n DocumentBuilder builder = factory.newDocumentBuilder();\r\n DOMImplementation impl = builder.getDOMImplementation();\r\n\r\n Document doc = impl.createDocument(null, null, null);\r\n Element e1 = doc.createElement(\"target-project\");\r\n e1.setAttribute(\"name\", project.getName());\r\n doc.appendChild(e1);\r\n\r\n DOMSource domSource = new DOMSource(doc);\r\n /* the XML will be written in stringWriter */\r\n StringWriter stringWriter = new StringWriter();\r\n StreamResult streamResult = new StreamResult(stringWriter);\r\n Transformer serializer = TransformerFactory.newInstance().newTransformer();\r\n serializer.setOutputProperty(OutputKeys.ENCODING, \"ISO-8859-1\");\r\n serializer.setOutputProperty(OutputKeys.INDENT, \"yes\");\r\n serializer.transform(domSource, streamResult);\r\n\r\n FileOutputStream output = new FileOutputStream(new File(file));\r\n output.write(stringWriter.toString().getBytes());\r\n output.close();\r\n }\r\n catch (Exception e)\r\n {\r\n e.printStackTrace();\r\n throw new TargetException(\"Problem while saving TaRGeT project '\" + project.getName()\r\n + \"'.\");\r\n }\r\n\r\n }",
"public void saveFile(boolean newFile) {\n\t\tif(projectFile == null || newFile)\n\t\t\tprojectFile = fileChooser.showSaveDialog(stage);\n\n\t\tif(projectFile != null){\n\t\t\t//Convert the synth object to JSON format\n\t\t\tString projectJson = gson.toJson(new Project(synth.getInstruments(), synth.getBPM(), synth.getVolume(), noteFrequencies), Project.class);\n\n\t\t\ttry {\n\t\t\t\tFiles.writeString(Path.of(projectFile.getAbsolutePath()), projectJson, StandardOpenOption.CREATE);\n\t\t\t} catch (IOException ignored) {}\n\t\t}\n\t}",
"protected void createProject(IProgressMonitor monitor)\n {\n monitor.beginTask(\"Creating the Totori project\", 50);\n try\n {\n IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot();\n monitor.subTask(\"Defining the nature of the project\");\n IProject project = root.getProject(page.getProjectName());\n IProjectDescription description = ResourcesPlugin.getWorkspace().newProjectDescription(project.getName());\n if(!Platform.getLocation().equals(page.getLocationPath()))\n description.setLocation(page.getLocationPath());\n project.create(description,monitor);\n monitor.worked(10);\n project.open(monitor);\n description = project.getDescription();\n description.setNatureIds(new String[] { TotoriNature.NATURE_ID });\n project.setDescription(description,new SubProgressMonitor(monitor,10));\n monitor.subTask(\"Creating subdirectories\");\n createFolderHelper(root.getFolder(project.getFullPath().append(\"config\")), monitor);\n createFolderHelper(root.getFolder(project.getFullPath().append(\"ext\")), monitor);\n createFolderHelper(root.getFolder(project.getFullPath().append(\"ext\").append(\"nircmd\")), monitor);\n createFolderHelper(root.getFolder(project.getFullPath().append(\"features\")), monitor);\n createFolderHelper(root.getFolder(project.getFullPath().append(\"features\").append(\"plugins\")), monitor);\n createFolderHelper(root.getFolder(project.getFullPath().append(\"features\").append(\"steps\")), monitor);\n createFolderHelper(root.getFolder(project.getFullPath().append(\"features\").append(\"support\")), monitor);\n createFolderHelper(root.getFolder(project.getFullPath().append(\"reports\")), monitor);\n createFolderHelper(root.getFolder(project.getFullPath().append(\"reports\").append(\"assets\")), monitor);\n createFolderHelper(root.getFolder(project.getFullPath().append(\"reports\").append(\"screens\")), monitor);\n project.setDescription(description,new SubProgressMonitor(monitor,10));\n monitor.subTask(\"Creating files\");\n Vector<String> assets = new Vector<String>();\n assets.add(\"config/myconfig.yml\");\n assets.add(\"ext/nircmd/nircmd.chm\");\n assets.add(\"ext/nircmd/nircmd.exe\");\n assets.add(\"ext/nircmd/nircmdc.exe\");\n assets.add(\"features/support/env.rb\");\n assets.add(\"features/support/functions.rb\");\n assets.add(\"features/support/screenshots.rb\");\n assets.add(\"features/support/totori_formatter.rb\");\n assets.add(\"reports/assets/jquery-1.4.1.min.js\");\n assets.add(\"reports/assets/jquery.lightbox-0.5.css\");\n assets.add(\"reports/assets/jquery.lightbox-0.5.min.js\");\n assets.add(\"reports/assets/jquery.thumbs.js\");\n assets.add(\"reports/assets/lightbox-blank.gif\");\n assets.add(\"reports/assets/lightbox-btn-close.gif\");\n assets.add(\"reports/assets/lightbox-btn-next.gif\");\n assets.add(\"reports/assets/lightbox-btn-prev.gif\");\n assets.add(\"reports/assets/lightbox-ico-loading.gif\");\n assets.add(\"reports/assets/search.png\");\n assets.add(\"reports/assets/thumbs.css\");\n assets.add(\"reports/assets/totori.css\");\n for(String asset : assets) {\n \t String resource = \"/assets/\"+asset;\n \t InputStream stream = this.getClass().getResourceAsStream(resource);\n \t System.out.println(resource + \" : \" + stream);\n IPath path = project.getFullPath();\n for(String dir : asset.split(\"/\")) {\n \t path = path.append(dir);\n }\n IFile file = root.getFile(path);\n //file.getFullPath().toFile().mkdirs();\n //file.setCharset(\"utf-8\", monitor);\n file.create(stream, false, monitor);\n }\n monitor.worked(20);\n }\n catch(CoreException x)\n {\n reportError(x);\n }\n finally\n {\n monitor.done();\n }\n }",
"Project createProject();",
"Project createProject();",
"Project createProject();",
"@TaskAction\n public void createProject()\n throws IOException {\n String projectName = getProjectName();\n\n // Get the output directory\n String outputDir = \"build/\";\n String projectFolderPath = outputDir + PROJECT_PREFIX + PROJECT_PREFIX_INTEGRATION + projectName;\n Path outputPath = getProject().mkdir(new File(projectFolderPath)).toPath();\n\n // Build the project\n new ProjectBuilder(projectName, outputPath, getProject()).build();\n }",
"public static void saveFile(State state) throws Exception{\n\n buildDoc();\n writePreferences(state.language, state.background, state.pastTurtles.size());\n\n writeTurtles(state.pastTurtles);\n writeLines(state.pastLines);\n\n createFile(STATE_FILE);\n\n }",
"Builder forProjectDirectory(File projectDir);",
"private boolean createProject() {\r\n ProjectOverviewerApplication app = (ProjectOverviewerApplication)getApplication();\r\n Projects projects = app.getProjects();\r\n String userHome = System.getProperty(\"user.home\");\r\n // master file for projects management\r\n File projectsFile = new File(userHome + \"/.hackystat/projectoverviewer/projects.xml\");\r\n \r\n // create new project and add it to the projects\r\n Project project = new Project();\r\n project.setProjectName(this.projectName);\r\n project.setOwner(this.ownerName);\r\n project.setPassword(this.password);\r\n project.setSvnUrl(this.svnUrl);\r\n for (Project existingProject : projects.getProject()) {\r\n if (existingProject.getProjectName().equalsIgnoreCase(this.projectName)) {\r\n return false;\r\n }\r\n }\r\n projects.getProject().add(project);\r\n \r\n try {\r\n // create the specific tm3 file and xml file for the new project\r\n File tm3File = new File(userHome + \r\n \"/.hackystat/projectoverviewer/\" + this.projectName + \".tm3\");\r\n File xmlFile = new File(userHome + \r\n \"/.hackystat/projectoverviewer/\" + this.projectName + \".xml\");\r\n tm3File.createNewFile();\r\n \r\n // initialize the data for the file\r\n SensorDataCollector collector = new SensorDataCollector(app.getSensorBaseHost(), \r\n this.ownerName, \r\n this.password);\r\n collector.getRepository(this.svnUrl, this.projectName);\r\n collector.write(tm3File, xmlFile);\r\n } \r\n catch (IOException e) {\r\n e.printStackTrace();\r\n return false;\r\n }\r\n // write the projects.xml file with the new project added\r\n String packageName = \"org.hackystat.iw.projectoverviewer.jaxb.projects\";\r\n return XmlConverter.objectToXml(projects, projectsFile, packageName);\r\n }",
"public void saveTemplate(String filename){\n Context context = App.getContext();\n LogManager.reportStatus(context, \"INSPECTOR\", \"savingTemplate\");\n blueprint = currentTemplate.createBlueprint();\n //make sure we have correct extension\n filename = FileManager.removeExtension(filename);\n if (isInspecting){\n filename = filename + \".in\";\n } else {\n filename = filename + \".bp\";\n }\n boolean hasSaved = FileManager.createTemplate(filename, blueprint);\n if (hasSaved){\n Toast.makeText(this, \"Saved\", Toast.LENGTH_LONG).show();\n }else{\n Toast.makeText(this, \"Did not save\", Toast.LENGTH_LONG).show();\n }\n }",
"private void browseProject()\n {\n List<FileFilter> filters = new ArrayList<>();\n filters.add(new FileNameExtensionFilter(\"Bombyx3D project file\", \"yml\"));\n\n File directory = new File(projectPathEdit.getText());\n File selectedFile = FileDialog.chooseOpenFile(this, BROWSE_DIALOG_TITLE, directory, filters);\n if (selectedFile != null) {\n projectDirectory = selectedFile.getParentFile();\n projectPathEdit.setText(projectDirectory.getPath());\n projectPathEdit.selectAll();\n }\n }",
"LectureProject createLectureProject();",
"public void createProject(Project newProject);",
"private static void addProjectFiles(IProject newProject){\n \t//add README file\n \taddProjectFile(newProject , README_FILE_NAME , \"\" );\n \t//add ProviderClass\n \taddProjectFile(newProject , PROVIDER_SCRIPT_FILE_NAME , CLASSES_FOLDER+\"/\" );\n }",
"public static void saveGame(Puzzle puzzle, String name) throws IOException {\n FileWriter wr;\n File file = new File(System.getenv(\"APPDATA\")+\"\\\\SudokuGR04\\\\\" + name + \".txt\");\n wr = new FileWriter(file);\n puzzle.setName(name);\n try {\n //generate File in dir SudokuGR04\n wr.write(puzzle.export());\n } catch (Exception e) {\n e.printStackTrace();\n } finally {\n wr.close();\n }\n }",
"public void save(Project project) {\n\t\tcreate(project);\n\t}",
"public static void save() {\n Game.save(UI.askNgetString(\"Filename for this save file?\")+\".xml\");\n }",
"public void save() throws FileNotFoundException, IOException\n {\n settings.store(new FileOutputStream(FILE), \"N3TPD Config File\");\n }",
"private void saveAs(String newLabName){\n // Call Clone Script, feeding in the new lab name\n // Call python new_lab_script: new_lab_setup.py -c newLabName\n String cmd = \"new_lab_setup.py -c \"+newLabName;\n doLabCommand(cmd); \n // Rename to current lab and set the path to the new lab\n this.labName = newLabName;\n LabnameLabel.setText(\"Lab: \"+this.labName);\n this.currentLab = new File(labsPath+File.separator+this.labName);\n this.labDataCurrent.setName(this.labName);\n this.labDataCurrent.setPath(this.currentLab);\n\n // Write the current state to the new lab's start.config\n try {\n saveLab();\n } \n catch (FileNotFoundException ex) {\n Logger.getLogger(MainWindow.class.getName()).log(Level.SEVERE, null, ex);\n }\n \n // Make the Save As Dialo disappear\n SaveAsDialog.setVisible(false);\n }",
"Project getProject();",
"public void save() {\n // Convert the settings to a string\n String output = readSettings();\n \n try {\n // Make sure the file exists\n if (!settingsFile.exists()) {\n File parent = settingsFile.getParentFile();\n parent.mkdirs();\n settingsFile.createNewFile(); \n }\n \n // Write the data into the file\n BufferedWriter writer = new BufferedWriter(new FileWriter(settingsFile));\n writer.write(output);\n writer.close(); \n } catch (Exception e) {\n e.printStackTrace();\n }\n }",
"public void testNewJavaProject() {\n NewProjectWizardOperator.invoke().cancel();\n NewProjectWizardOperator npwo = NewProjectWizardOperator.invoke();\n // \"Standard\"\n String standardLabel = Bundle.getStringTrimmed(\"org.netbeans.modules.java.j2seproject.ui.wizards.Bundle\", \"Templates/Project/Standard\");\n npwo.selectCategory(standardLabel);\n // \"Java Application\"\n String javaApplicationLabel = Bundle.getStringTrimmed(\"org.netbeans.modules.java.j2seproject.ui.wizards.Bundle\", \"template_app\");\n npwo.selectProject(javaApplicationLabel);\n npwo.next();\n NewJavaProjectNameLocationStepOperator npnlso = new NewJavaProjectNameLocationStepOperator();\n npnlso.txtProjectName().setText(SAMPLE_PROJECT_NAME);\n npnlso.txtProjectLocation().setText(System.getProperty(\"netbeans.user\")); // NOI18N\n npnlso.btFinish().pushNoBlock();\n npnlso.getTimeouts().setTimeout(\"ComponentOperator.WaitStateTimeout\", 120000);\n npnlso.waitClosed();\n // wait project appear in projects view\n new ProjectsTabOperator().getProjectRootNode(SAMPLE_PROJECT_NAME);\n\n //disable the compile on save:\n ProjectsTabOperator.invoke().getProjectRootNode(SAMPLE_PROJECT_NAME).properties();\n // \"Project Properties\"\n String projectPropertiesTitle = Bundle.getStringTrimmed(\"org.netbeans.modules.java.j2seproject.ui.customizer.Bundle\", \"LBL_Customizer_Title\");\n NbDialogOperator propertiesDialogOper = new NbDialogOperator(projectPropertiesTitle);\n // select \"Compile\" category\n String buildCategoryTitle = Bundle.getStringTrimmed(\"org.netbeans.modules.java.j2seproject.ui.customizer.Bundle\", \"LBL_Config_BuildCategory\");\n String compileCategoryTitle = Bundle.getStringTrimmed(\"org.netbeans.modules.java.j2seproject.ui.customizer.Bundle\", \"LBL_Config_Build\");\n new Node(new Node(new JTreeOperator(propertiesDialogOper), buildCategoryTitle), compileCategoryTitle).select();\n // actually disable the quick run:\n String compileOnSaveLabel = Bundle.getStringTrimmed(\"org.netbeans.modules.java.j2seproject.ui.customizer.Bundle\", \"CustomizerCompile.CompileOnSave\");\n JCheckBox cb = JCheckBoxOperator.waitJCheckBox((Container) propertiesDialogOper.getSource(), compileOnSaveLabel, true, true);\n if (cb.isSelected()) {\n cb.doClick();\n }\n // confirm properties dialog\n propertiesDialogOper.ok();\n\n // wait classpath scanning finished\n PerfWatchProjects.waitScanFinished();\n }",
"public Project createProject( File build_file ) throws Exception { // NOPMD\n if ( build_file == null || !build_file.exists() )\n return null;\n\n // load the option settings for this build file\n setPrefs( build_file );\n\n // configure the project\n Project p = new Project();\n\n // set the project helper -- the AntelopeProjectHelper2 is the same as the Ant\n // ProjectHelper2, but has been slightly modified so it does not automatically\n // run the implicit target\n System.setProperty( \"org.apache.tools.ant.ProjectHelper\", \"ise.antelope.common.AntelopeProjectHelper2\" );\n\n try {\n ClassLoader cl = _helper.getAntClassLoader();\n p.setCoreLoader( cl );\n\n /*\n try {\n Log.log(\"loading antlib with _helper classloader\");\n cl.getResource( \"ise/antelope/tasks/antlib.xml\" );\n Log.log(\"loaded antlib with _helper classloader\");\n }\n catch(Exception e) {\n e.printStackTrace();\n }\n */\n\n // add the antelope build logger now so that any output produced by the\n // ProjectHelper is captured\n p.addBuildListener( _build_logger );\n\n // add the progress bar build listener\n p.addBuildListener( _progress );\n\n // optionally add the antelope performance listener\n if ( _settings.getShowPerformanceOutput() ) {\n if ( _performance_listener == null )\n _performance_listener = new AntPerformanceListener();\n p.addBuildListener( _performance_listener );\n }\n\n // add the gui input handler\n setInputHandler( p );\n\n p.init(); // this takes as much as 9 seconds the first time, less than 1/2 second later\n\n p.setUserProperty( \"ant.file\", build_file.getAbsolutePath() );\n p.setProperty( \"ant.version\", Main.getAntVersion() );\n //String ant_home = System.getProperty(\"ant.home\");\n String ant_home = AntUtils.getAntHome();\n if ( ant_home != null ) {\n p.setProperty( \"ant.home\", ant_home );\n }\n String ant_lib_dirs = AntUtils.getAntLibDirs();\n if ( ant_lib_dirs != null )\n p.setProperty( \"ant.library.dir\", ant_lib_dirs );\n\n // add ant.jar to the classpath\n // for Ant 1.6, does ant-launcher.jar need to be added also? --\n // yes -- add all jars in $ant_home/lib and $user.home/.ant/lib, this\n // is what command-line Ant does. Ant also supports a -lib command-line\n // option where the user can specify additional locations. Should\n // Antelope support this? Need a gui in the properties panel if so.\n // 12/22/2004: added AntelopeLauncher, so -lib option is handled for app,\n // but not for plugin\n /// -- should this be done here or in the helper? --\n java.util.List ant_jars = _helper.getAntJarList();\n if ( ant_jars != null ) {\n java.util.List cp_list = new ArrayList();\n String classpath = p.getProperty( \"java.class.path\" );\n StringTokenizer st = new StringTokenizer( classpath, File.pathSeparator );\n while ( st.hasMoreTokens() ) {\n cp_list.add( new File( st.nextToken() ) );\n }\n Iterator it = ant_jars.iterator();\n while ( it.hasNext() ) {\n File f = new File( ( String ) it.next() );\n if ( !cp_list.contains( f ) ) {\n cp_list.add( f );\n }\n }\n StringBuffer sb = new StringBuffer();\n it = cp_list.iterator();\n while ( it.hasNext() ) {\n sb.append( ( ( File ) it.next() ).getAbsolutePath() ).append( File.pathSeparator );\n }\n classpath = sb.toString();\n p.setProperty( \"java.class.path\", classpath );\n System.setProperty( \"java.class.path\", classpath );\n }\n\n // load any saved user properties for this build file. These are properties\n // that the user has set using the properties dialog and in command-line\n // Ant would have been passed on the command line.\n Preferences user_prefs = getPrefs().node( Constants.ANT_USER_PROPS );\n String[] keys = user_prefs.keys();\n for ( int i = 0; i < keys.length; i++ ) {\n p.setUserProperty( keys[ i ], user_prefs.get( keys[ i ], \"\" ) );\n }\n\n //ProjectHelper.configureProject( p, build_file ); // deprecated\n ProjectHelper helper = ProjectHelper.getProjectHelper();\n p.addReference( \"ant.projectHelper\", helper );\n helper.parse( p, build_file );\n\n //for (Iterator it = p.getTargets().keySet().iterator(); it.hasNext(); ) {\n // System.out.println(\"target: \" + it.next());\n //}\n\n /*\n // looks like a recent change for antlib has busted loading custom tasks from\n // an antlib declaration. Need to check if this ever worked, I used to use\n // taskdef exclusively, and have only recently switched to using antlib.\n // Using antlib works when Antelope is running as an application, but not as\n // a plugin. Seems to have something to do with classloading.\n try {\n System.out.println(\"AntelopePanel classloader = \" + getClass().getClassLoader().hashCode());\n Class c = Class.forName(\"org.apache.tools.ant.Main\");\n if (c != null) {\n System.out.println(\"classloader for Main = \" + c.getClassLoader().hashCode());\n System.out.println(\"parent classloader for Main = \" + c.getClassLoader().getParent());\n }\n else\n System.out.println(\"did not find class for Main\");\n c = Class.forName(\"ise.antelope.tasks.Unset\");\n if (c != null){\n System.out.println(\"classloader for Unset = \" + c.getClassLoader().hashCode());\n System.out.println(\"parent classloader for Unset = \" + c.getClassLoader().getParent());\n System.out.println(\"classloader for Unset is a \" + c.getClassLoader().getClass().getName());\n }\n else\n System.out.println(\"did not find class for Unset\");\n c = Class.forName(\"org.apache.tools.ant.taskdefs.optional.EchoProperties\");\n if (c != null){\n System.out.println(\"classloader for EchoProperties = \" + c.getClassLoader().hashCode());\n System.out.println(\"parent classloader for EchoProperties = \" + c.getClassLoader().getParent());\n System.out.println(\"classloader for EchoProperties is a \" + c.getClassLoader().getClass().getName());\n }\n else\n System.out.println(\"did not find class for EchoProperties\");\n }\n catch(Exception e) {\n e.printStackTrace();\n }\n */\n\n\n return p;\n }\n catch ( Exception e ) {\n Log.log( e );\n e.printStackTrace( System.out );\n JOptionPane.showMessageDialog( GUIUtils.getRootJFrame( this ),\n \"<html>Error:<br>\" + e.getMessage(),\n \"Ant Error\",\n JOptionPane.ERROR_MESSAGE );\n throw e;\n }\n catch ( NoClassDefFoundError error ) {\n Log.log( error );\n error.printStackTrace( System.out );\n JOptionPane.showMessageDialog( GUIUtils.getRootJFrame( this ),\n \"<html>Error: No Class Definition Found for<br>\" + error.getMessage() +\n \"<br><p>This is most likely caused by a required third-party<br>\" +\n \"jar file not being in the class path.\",\n \"Ant Error\",\n JOptionPane.ERROR_MESSAGE );\n throw new Exception( error.getMessage() ); // NOPMD\n }\n }",
"public void store() {\n \n try {\n ProjectManager.mutex().writeAccess(new Mutex.ExceptionAction<Object>() {\n public Object run() {\n \n resolveProjectDependencies();\n \n // Some properties need special handling e.g. if the\n // property changes the project.xml files\n for(final PropertyInfo pi:properties.values()) {\n pi.encode();\n }\n \n final ProjectConfiguration configs[] = configHelper.getConfigurations().toArray(new ProjectConfiguration[0]);\n final HashSet<ProjectConfiguration> newConfigs = new HashSet<ProjectConfiguration>(Arrays.asList(devConfigs));\n for (int i=0; i<configs.length; i++) {\n if (!newConfigs.remove(configs[i])) {\n configHelper.removeConfiguration(configs[i]);\n }\n }\n for (ProjectConfiguration cfg:newConfigs) {\n configHelper.addConfiguration(cfg.getDisplayName());\n }\n \n \n // Reread the properties. It may have changed when\n // e.g. when setting references to another projects\n EditableProperties sharedProps = antProjectHelper.getProperties(AntProjectHelper.PROJECT_PROPERTIES_PATH);\n EditableProperties privateProps = antProjectHelper.getProperties(AntProjectHelper.PRIVATE_PROPERTIES_PATH);\n\n // Set the changed properties\n for( final PropertyInfo pi:properties.values()) {\n final PropertyDescriptor pd = pi.getPropertyDescriptor();\n if (pd != null && pi.isModified()) {\n final String newValueEncoded = pi.getNewValueEncoded();\n if ( newValueEncoded != null ) {\n (pd.isShared() ? sharedProps : privateProps).setProperty( pd.getName(), newValueEncoded );\n } else {\n // remove property\n (pd.isShared() ? sharedProps : privateProps).remove(pd.getName());\n }\n }\n }\n \n // Store the property changes into the project\n antProjectHelper.putProperties(AntProjectHelper.PROJECT_PROPERTIES_PATH, sharedProps);\n antProjectHelper.putProperties(AntProjectHelper.PRIVATE_PROPERTIES_PATH, privateProps);\n \n // Invoke this method to perform cyclic dependencies check and potentionally show warning dilalog\n CustomizerGeneral cg = new CustomizerGeneral();\n cg.initValues(J2MEProjectProperties.this, null);\n cg.getSortedSubprojectsList();\n \n //storing global default encoding by dcurrent project (see issue #97855)\n String enc = sharedProps.getProperty(DefaultPropertiesDescriptor.JAVAC_ENCODING);\n if (enc != null) FileEncodingQuery.setDefaultEncoding(Charset.forName(enc));\n \n // save the project under write lock\n try {\n ProjectManager.getDefault().saveProject(project);\n } catch (IOException ex) {\n ErrorManager.getDefault().notify(ex);\n }\n\n return null;\n }\n });\n } catch (MutexException e) {\n ErrorManager.getDefault().notify(e.getException());\n }\n \n }",
"void createProject(IProjectDescription description, IProject proj,\n\t\t\tIProgressMonitor monitor) throws CoreException,\n\t\t\tOperationCanceledException {\n\t\ttry {\n\n\t\t\tmonitor.beginTask(\"\", 2000);\n\n\t\t\tproj.create(description, new SubProgressMonitor(monitor, 1000));\n\n\t\t\tif (monitor.isCanceled()) {\n\t\t\t\tthrow new OperationCanceledException();\n\t\t\t}\n\n\t\t\tproj.open(IResource.BACKGROUND_REFRESH, new SubProgressMonitor(\n\t\t\t\t\tmonitor, 1000));\n\n\t\t\t/*\n\t\t\t * Okay, now we have the project and we can do more things with it\n\t\t\t * before updating the perspective.\n\t\t\t */\n\t\t\tIContainer container = (IContainer) proj;\n\n\t\t\t/* Add an XHTML file */\n\t\t\t/*addFileToProject(container, new Path(\"index.html\"),\n\t\t\t\t\tJ15NewModel.openContentStream(\"Welcome to \"\n\t\t\t\t\t\t\t+ proj.getName(),\"5\"),monitor);*/\n\n\t\t\t/* Create the admin folder */\n\t\t\tfinal IFolder adminFolder = container.getFolder(new Path(\"admin\"));\n\t\t\tadminFolder.create(true, true, monitor);\n\t\t\t\n\t\t\tfinal IFolder adminModels = adminFolder.getFolder(new Path(\"models\"));\n\t\t\tadminModels.create(true, true, monitor);\n\t\t\t\n\t\t\tfinal IFolder adminControllers = adminFolder.getFolder(new Path(\"controllers\"));\n\t\t\tadminControllers.create(true, true, monitor);\n\t\t\t\n\t\t\tfinal IFolder adminViews = adminFolder.getFolder(new Path(\"views\"));\n\t\t\tadminViews.create(true, true, monitor);\n\t\t\t\n\t\t\tfinal IFolder adminTables = adminFolder.getFolder(new Path(\"tables\"));\n\t\t\tadminTables.create(true, true, monitor);\n\t\t\t\n\t\t\t/* Create the site folder */\n\t\t\tfinal IFolder siteFolder = container.getFolder(new Path(\"site\"));\n\t\t\tsiteFolder.create(true, true, monitor);\n\t\t\t\n\t\t\tfinal IFolder siteModels = siteFolder.getFolder(new Path(\"models\"));\n\t\t\tsiteModels.create(true, true, monitor);\n\t\t\t\n\t\t\tfinal IFolder siteViews = siteFolder.getFolder(new Path(\"views\"));\n\t\t\tsiteViews.create(true, true, monitor);\n\n\t\t\tInputStream resourceStream = this.getClass().getResourceAsStream(\n\t\t\t\t\t\"templates/blank-html.template\");\n\n\t\t\t/* Add blank HTML Files */\n\t\t\t\n\t\t\t/* Admin Folders first */\n\t\t\taddFileToProject(container, new Path(adminFolder.getName()\n\t\t\t\t\t+ Path.SEPARATOR + \"index.html\"),\n\t\t\t\t\tresourceStream, monitor);\n\t\t\t\n\t\t\tresourceStream.close();\n\t\t\tresourceStream = this.getClass().getResourceAsStream(\n\t\t\t\t\"templates/blank-html.template\");\n\t\t\t\n\t\t\taddFileToProject(container, new Path(adminFolder.getName()\n\t\t\t\t\t+ Path.SEPARATOR + adminModels.getName()\n\t\t\t\t\t+ Path.SEPARATOR + \"index.html\"),\n\t\t\t\t\tresourceStream, monitor);\n\t\t\t\n\t\t\tresourceStream.close();\n\t\t\tresourceStream = this.getClass().getResourceAsStream(\n\t\t\t\t\"templates/blank-html.template\");\n\t\t\t\n\t\t\taddFileToProject(container, new Path(adminFolder.getName()\n\t\t\t\t\t+ Path.SEPARATOR + adminControllers.getName()\n\t\t\t\t\t+ Path.SEPARATOR + \"index.html\"),\n\t\t\t\t\tresourceStream, monitor);\n\t\t\t\n\t\t\tresourceStream.close();\n\t\t\tresourceStream = this.getClass().getResourceAsStream(\n\t\t\t\t\"templates/blank-html.template\");\n\t\t\t\n\t\t\taddFileToProject(container, new Path(adminFolder.getName()\n\t\t\t\t\t+ Path.SEPARATOR + adminViews.getName()\n\t\t\t\t\t+ Path.SEPARATOR + \"index.html\"),\n\t\t\t\t\tresourceStream, monitor);\n\t\t\t\n\t\t\tresourceStream.close();\n\t\t\tresourceStream = this.getClass().getResourceAsStream(\n\t\t\t\t\"templates/blank-html.template\");\n\t\t\t\n\t\t\taddFileToProject(container, new Path(adminFolder.getName()\n\t\t\t\t\t+ Path.SEPARATOR + adminTables.getName()\n\t\t\t\t\t+ Path.SEPARATOR + \"index.html\"),\n\t\t\t\t\tresourceStream, monitor);\n\t\t\t\n\t\t\tresourceStream.close();\n\t\t\tresourceStream = this.getClass().getResourceAsStream(\n\t\t\t\t\"templates/blank-html.template\");\n\t\t\t\n\t\t\t/* Now the site folders */\n\t\t\taddFileToProject(container, new Path(siteFolder.getName()\n\t\t\t\t\t+ Path.SEPARATOR + \"index.html\"),\n\t\t\t\t\tresourceStream, monitor);\n\t\t\t\n\t\t\tresourceStream.close();\n\t\t\tresourceStream = this.getClass().getResourceAsStream(\n\t\t\t\t\"templates/blank-html.template\");\n\t\t\t\n\t\t\taddFileToProject(container, new Path(siteFolder.getName()\n\t\t\t\t\t+ Path.SEPARATOR + siteModels.getName()\n\t\t\t\t\t+ Path.SEPARATOR + \"index.html\"),\n\t\t\t\t\tresourceStream, monitor);\n\t\t\t\n\t\t\tresourceStream.close();\n\t\t\tresourceStream = this.getClass().getResourceAsStream(\n\t\t\t\t\"templates/blank-html.template\");\n\n\t\t\taddFileToProject(container, new Path(siteFolder.getName()\n\t\t\t\t\t+ Path.SEPARATOR + siteViews.getName()\n\t\t\t\t\t+ Path.SEPARATOR + \"index.html\"),\n\t\t\t\t\tresourceStream, monitor);\n\t\t\t\n\t\t\tresourceStream.close();\n\n\t\t\t/* All over! */\n\t\t} catch (IOException ioe) {\n\t\t\tIStatus status = new Status(IStatus.ERROR, \"J15Wizard\", IStatus.OK,\n\t\t\t\t\tioe.getLocalizedMessage(), null);\n\t\t\tthrow new CoreException(status);\n\t\t} finally {\n\t\t\tmonitor.done();\n\t\t}\n\t}",
"public Saver(String project) {\n\t\tthis.project = project;\n\t}",
"public void save () {\n // Make sure the workspace folder exist\n createFolder(this.pathToWorkspaceFolder);\n\n // Write the serialized Flow object\n System.out.println(\"Saving\");\n try (FileWriter file = new FileWriter(this.pathToWorkspaceFolder.toString() + \"/\" + FLOW_FILE_NAME)) {\n file.write(flow.serialize());\n System.out.println(\"Successfully Copied Flow \" + flow.getId() + \" to File :)\");\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"void saveAs() {\n writeFile.Export();\n }",
"void saveToFile() {\n\t\ttry {\n\t\t\tFile directory = GameApplication.getInstance().getExternalFilesDir(Environment.DIRECTORY_DOCUMENTS);\n\t\t\tFile target = new File(directory, FILE_NAME);\n\t\t\tif (!target.exists()) {\n\t\t\t\ttarget.createNewFile();\n\t\t\t}\n\t\t\tJsonWriter writer = new JsonWriter(new FileWriter(target));\n\t\t\twriter.setIndent(\" \");\n\t\t\twriter.beginArray();\n\t\t\tfor (Scoreboard scoreboard : scoreboards.values()) {\n\t\t\t\twriteScoreboard(writer, scoreboard);\n\t\t\t}\n\t\t\twriter.endArray();\n\t\t\twriter.flush();\n\t\t\twriter.close();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"@Test\n \tpublic void testCreateMindProject() throws Exception {\n \t\tString name = \"Test\" ; //call a generator which compute a new name\n \t\tGTMenu.clickItem(\"File\", \"New\", FRACTAL_MIND_PROJECT);\n \t\tGTShell shell = new GTShell(Messages.MindProjectWizard_window_title);\n \t\t//shell.findTree().selectNode(\"Mind\",FRACTAL_MIND_PROJECT);\n \t\t//shell.findButton(\"Next >\").click();\n \t\tshell.findTextWithLabel(\"Project name:\").typeText(name);\n \t\tshell.close();\n \t\t\n \t\tTestMindProject.assertMindProject(name);\t\t\n \t}",
"private void reloadProject()\n {\n unloadProject();\n\n if (!projectDirectory.exists()) {\n displayError(DIRECTORY_DOES_NOT_EXIST_MESSAGE, null);\n return;\n }\n\n if (!projectDirectory.isDirectory()) {\n displayError(NOT_A_DIRECTORY_MESSAGE, null);\n return;\n }\n\n if (!ProjectReader.isValidProjectDirectory(projectDirectory)) {\n displayError(PROJECT_NOT_FOUND_MESSAGE, null);\n return;\n }\n\n try {\n project = ProjectReader.read(projectDirectory);\n projectBuilder = new ProjectBuilder(project);\n projectSettingsPanel = new ProjectSettingsPanel(projectBuilder);\n projectSettingsContainer.add(projectSettingsPanel, BorderLayout.PAGE_START);\n projectSettingsContainer.add(new JPanel(), BorderLayout.CENTER);\n } catch (Throwable t) {\n displayError(UNABLE_TO_LOAD_PROJECT_MESSAGE, t);\n return;\n }\n\n preferences.put(PREF_PROJECT_DIRECTORY, projectDirectory.toString());\n try { preferences.sync(); } catch (BackingStoreException e) { e.printStackTrace(); }\n\n generateButton.setEnabled(true);\n\n pack();\n }",
"public void save() {\n\t\tWriteFile data = new WriteFile( this.name + \".txt\" );\n\t\ttry {\n\t\t\t data.writeToFile(this.toString());\n\t\t}\n\t\tcatch (IOException e) {\n\t\t\tSystem.out.println(\"Couldn't print to file\");\n\t\t}\n\t}",
"private void convert(IProject project, AcceleoProjectWizard wizard, IProgressMonitor monitor) {\n \t\tString projectName = wizard.newProjectPage.getProjectName();\n \t\tString generatorName = this.computeGeneratorName(projectName);\n \n \t\tAcceleoProject acceleoProject = AcceleowizardmodelFactory.eINSTANCE.createAcceleoProject();\n \t\tacceleoProject.setName(projectName);\n \t\tacceleoProject.setGeneratorName(generatorName);\n \n \t\tList<AcceleoModule> allModules = this.newAcceleoModulesCreationPage.getAllModules();\n \t\tfor (AcceleoModule acceleoModule : allModules) {\n \t\t\tString parentFolder = acceleoModule.getParentFolder();\n \n \t\t\tIProject moduleProject = ResourcesPlugin.getWorkspace().getRoot().getProject(\n \t\t\t\t\tacceleoModule.getProjectName());\n \t\t\tif (moduleProject.exists() && moduleProject.isAccessible()\n \t\t\t\t\t&& acceleoModule.getModuleElement() != null\n \t\t\t\t\t&& acceleoModule.getModuleElement().isIsMain()) {\n \t\t\t\tIPath parentFolderPath = new Path(parentFolder);\n \t\t\t\tIFolder folder = moduleProject.getFolder(parentFolderPath.removeFirstSegments(1));\n \t\t\t\tacceleoProject.getExportedPackages().add(\n \t\t\t\t\t\tfolder.getProjectRelativePath().removeFirstSegments(1).toString().replaceAll(\"/\", //$NON-NLS-1$\n \t\t\t\t\t\t\t\t\"\\\\.\")); //$NON-NLS-1$\n \t\t\t}\n \t\t}\n \t\t// Prepare Ant folder\n \t\tIFolder antTasksFolder = project.getFolder(\"tasks\"); //$NON-NLS-1$\n \t\tif (!antTasksFolder.exists()) {\n \t\t\ttry {\n \t\t\t\tantTasksFolder.create(true, false, monitor);\n \t\t\t} catch (CoreException e) {\n \t\t\t\tAcceleoUIActivator.log(e, true);\n \t\t\t}\n \t\t}\n \n \t\t// Generate files\n \t\ttry {\n \t\t\tIProjectDescription description = project.getDescription();\n \t\t\tString[] natureIds = new String[] {IAcceleoConstants.ACCELEO_NATURE_ID,\n \t\t\t\t\tIAcceleoConstants.PLUGIN_NATURE_ID, IAcceleoConstants.JAVA_NATURE_ID, };\n \t\t\tdescription.setNatureIds(natureIds);\n \t\t\tproject.setDescription(description, monitor);\n \t\t} catch (CoreException e) {\n \t\t\tAcceleoUIActivator.log(e, true);\n \t\t}\n \t\tmonitor.beginTask(AcceleoUIMessages.getString(\"AcceleoNewProjectWizard.Monitor\"), 100); //$NON-NLS-1$\n \t\tmonitor.worked(10);\n \t\tAcceleoUIGenerator.getDefault().generateProjectSettings(acceleoProject, project);\n \t\tmonitor.worked(10);\n \t\tAcceleoUIGenerator.getDefault().generateProjectClasspath(acceleoProject, project);\n \t\tmonitor.worked(10);\n \t\tAcceleoUIGenerator.getDefault().generateProjectManifest(acceleoProject, project);\n \t\tmonitor.worked(10);\n \t\tAcceleoUIGenerator.getDefault().generateBuildProperties(acceleoProject, project);\n \t\tmonitor.worked(10);\n \t\tAcceleoUIGenerator.getDefault().generateActivator(acceleoProject, project);\n \n \t\tfor (AcceleoModule acceleoModule : allModules) {\n \t\t\tmonitor.worked(10);\n \t\t\tString parentFolder = acceleoModule.getParentFolder();\n \n \t\t\tIProject moduleProject = ResourcesPlugin.getWorkspace().getRoot().getProject(\n \t\t\t\t\tacceleoModule.getProjectName());\n \t\t\tif (moduleProject.exists() && moduleProject.isAccessible()) {\n \t\t\t\tIPath parentFolderPath = new Path(parentFolder);\n \t\t\t\tIFolder folder = moduleProject.getFolder(parentFolderPath.removeFirstSegments(1));\n \t\t\t\tAcceleoUIGenerator.getDefault().generateAcceleoModule(acceleoModule, folder);\n \n \t\t\t\tif (acceleoModule.isIsInitialized()) {\n \t\t\t\t\tString initializationKind = acceleoModule.getInitializationKind();\n \t\t\t\t\tIAcceleoInitializationStrategy strategy = null;\n \t\t\t\t\tList<IAcceleoInitializationStrategy> initializationStrategy = AcceleoInitializationStrategyUtils\n \t\t\t\t\t\t\t.getInitializationStrategy();\n \t\t\t\t\tfor (IAcceleoInitializationStrategy iAcceleoInitializationStrategy : initializationStrategy) {\n \t\t\t\t\t\tif (iAcceleoInitializationStrategy.getDescription() != null\n \t\t\t\t\t\t\t\t&& iAcceleoInitializationStrategy.getDescription().equals(initializationKind)) {\n \t\t\t\t\t\t\tstrategy = iAcceleoInitializationStrategy;\n \t\t\t\t\t\t\tbreak;\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \n \t\t\t\t\tIFile file = folder.getFile(acceleoModule.getName()\n \t\t\t\t\t\t\t+ \".\" + IAcceleoConstants.MTL_FILE_EXTENSION); //$NON-NLS-1$\n \t\t\t\t\tIFile exampleFile = ResourcesPlugin.getWorkspace().getRoot().getFile(\n \t\t\t\t\t\t\tnew Path(acceleoModule.getInitializationPath()));\n \n \t\t\t\t\tString moduleElementKind = IAcceleoInitializationStrategy.TEMPLATE_KIND;\n \t\t\t\t\tif (acceleoModule.getModuleElement().getKind().equals(ModuleElementKind.QUERY)) {\n \t\t\t\t\t\tmoduleElementKind = IAcceleoInitializationStrategy.QUERY_KIND;\n \t\t\t\t\t}\n \n \t\t\t\t\tif (strategy != null && file.exists()) {\n \t\t\t\t\t\ttry {\n \t\t\t\t\t\t\tstrategy.configure(moduleElementKind, acceleoModule.getModuleElement()\n \t\t\t\t\t\t\t\t\t.isGenerateFile(), acceleoModule.getModuleElement().isIsMain(),\n \t\t\t\t\t\t\t\t\tacceleoModule.isGenerateDocumentation());\n \t\t\t\t\t\t\tString content = strategy.getContent(exampleFile, acceleoModule.getName(),\n \t\t\t\t\t\t\t\t\tacceleoModule.getMetamodelURIs(), acceleoModule.getModuleElement()\n \t\t\t\t\t\t\t\t\t\t\t.getParameterType());\n \t\t\t\t\t\t\tByteArrayInputStream javaStream = new ByteArrayInputStream(content\n \t\t\t\t\t\t\t\t\t.getBytes(\"UTF8\")); //$NON-NLS-1$\n \t\t\t\t\t\t\tfile.setContents(javaStream, true, false, new NullProgressMonitor());\n \t\t\t\t\t\t} catch (CoreException e) {\n \t\t\t\t\t\t\tAcceleoUIActivator.log(e, true);\n \t\t\t\t\t\t} catch (UnsupportedEncodingException e) {\n \t\t\t\t\t\t\tAcceleoUIActivator.log(e, true);\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \t\t\t\t}\n \t\t\t}\n \n \t\t}\n \n \t}",
"public static void saveGameConfiguration() {\n exportJsonFile(new File(FileUtils.getRootFile(), Constant.CONFIG_FILE_NAME));\n }",
"private static void createProject(final ProjectProperties props, final Path projectDir) throws IOException\n {\n // Create and set the Freemarker configuration\n final Configuration freeMarkerConfig = new Configuration();\n final File templateDir = new File(props.getApiDirectory(), \"templates\");\n freeMarkerConfig.setDirectoryForTemplateLoading(templateDir);\n freeMarkerConfig.setObjectWrapper(new DefaultObjectWrapper());\n\n // Generate the project\n final Injector injector = Guice.createInjector(new UtilInjectionModule(), new LocalInjectionModule());\n final ProjectGenerator projectGen = injector.getInstance(ProjectGenerator.class);\n projectGen.initialize(freeMarkerConfig, OUT_STREAM);\n try\n {\n projectGen.create(props, projectDir.toFile());\n }\n catch (final Exception ex)\n {\n OUT_STREAM.println(\"Error generating the project: \" + ex.getMessage());\n }\n }",
"private void initializeProject() {\n newProject.setInputHandler(getProject().getInputHandler());\n \n Iterator iter = getBuildListeners();\n while (iter.hasNext()) {\n newProject.addBuildListener((BuildListener) iter.next());\n }\n \n if (output != null) {\n File outfile = null;\n if (dir != null) {\n outfile = FILE_UTILS.resolveFile(dir, output);\n } else {\n outfile = getProject().resolveFile(output);\n }\n try {\n out = new PrintStream(new FileOutputStream(outfile));\n DefaultLogger logger = new DefaultLogger();\n logger.setMessageOutputLevel(Project.MSG_INFO);\n logger.setOutputPrintStream(out);\n logger.setErrorPrintStream(out);\n newProject.addBuildListener(logger);\n } catch (IOException ex) {\n log(\"Ant: Can't set output to \" + output);\n }\n }\n-\n- getProject().initSubProject(newProject);\n-\n // set user-defined properties\n getProject().copyUserProperties(newProject);\n \n if (!inheritAll) {\n // set Java built-in properties separately,\n // b/c we won't inherit them.\n newProject.setSystemProperties();\n \n } else {\n // set all properties from calling project\n addAlmostAll(getProject().getProperties());\n }\n \n Enumeration e = propertySets.elements();\n while (e.hasMoreElements()) {\n PropertySet ps = (PropertySet) e.nextElement();\n addAlmostAll(ps.getProperties());\n }\n }",
"public CreateProject() {\n\t\tsuper();\n\t}",
"public static void savePreferences(final IProject project) {\n \tJob job= new Job(CCorePlugin.getResourceString(\"CCoreInternals.savePreferencesJob\")) { //$NON-NLS-1$\n \tprotected IStatus run(IProgressMonitor monitor) {\n \t\ttry {\n \t\t\tif (project != null) {\n \t\t\t\t\tnew LocalProjectScope(project).getNode(CCorePlugin.PLUGIN_ID).flush();\n \t\t\t\t\tnew ProjectScope(project).getNode(CCorePlugin.PLUGIN_ID).flush();\n \t\t\t}\n \t\t\tnew InstanceScope().getNode(CCorePlugin.PLUGIN_ID).flush();\n \t\t\t\t} catch (BackingStoreException e) {\n \t\t\t\t\tCCorePlugin.log(e);\n \t\t\t\t}\n \t \treturn Status.OK_STATUS;\n \t}\n \t};\n \tjob.setSystem(true);\n \tif (project != null) {\n \t\tIResourceRuleFactory rf= ResourcesPlugin.getWorkspace().getRuleFactory();\n \t\tIFile wsFile= project.getFile(new Path(SETTINGS_DIRECTORY_NAME).append(CCorePlugin.PLUGIN_ID + PREFS_FILE_EXTENSION));\n \t\tISchedulingRule[] rules= {\n \t\t\t\trf.modifyRule(wsFile), \n \t\t\t\trf.createRule(wsFile.getParent()),\n \t\t\t\trf.createRule(wsFile), \n \t\t\t\trf.deleteRule(wsFile) \n \t\t};\n \t\tjob.setRule(MultiRule.combine(rules));\n \t}\n \tjob.schedule(2000);\n \t}",
"void save() {\n gameModelPoDao.saveToFile(file.getAbsolutePath(), gameModelPo);\n }",
"public boolean saveFile() {\n\t\tif (isProjectOpen() && projectModified) {\n\t\t\tboolean written = projectFileIO.writeFile(soundList.values());\n\t\t\tif (written)\n\t\t\t\tprojectModified = false;\n\t\t\treturn written;\n\t\t}\n\t\treturn false;\n\t}",
"public void save() {\n for (Workspace a : workspaces) {\n if (!a.isSearch()) {\n try {\n saveWorkspace(a);\n } catch (Exception e) {\n main.system.ExceptionMaster.printStackTrace(e);\n }\n }\n }\n }",
"public void save(){\n\tif(currentFile == null){\n\t // TODO: add popup to select where to save file and file name\n\t // currentFile = new TextFile(os, title, null);\n\t}else{\n\t currentFile.setBody(textArea.getText());\n\t}\n }",
"public void save() throws Exception {\n // create a File object for the output file\n File outputFile = new File(MinuteUpdater.mapDir, this.fileName);\n // outputFile.mkdirs();\n outputFile.createNewFile();\n FileOutputStream fileOutputStream = new FileOutputStream(outputFile);\n ObjectOutputStream objectOutputStream = new ObjectOutputStream(fileOutputStream);\n\n objectOutputStream.writeObject(this);\n objectOutputStream.close();\n }",
"public void saveGame() {\r\n\t\t//separator used by system\r\n\t\tString separator = System.getProperty(\"file.separator\");\r\n\t\t//path to where files will be saved\r\n\t\tString path = System.getProperty(\"user.dir\") + separator + \"src\" + separator + \"GameFiles\" + separator;\r\n\r\n\t\ttry {\r\n\r\n\t\t\t//Save the world objects\r\n\t\t\tString world_objects_name = EnvironmentVariables.getTitle() + \"WorldObjects\";\r\n\t\t\t//create a new file with name given by user with added text for identification\r\n\t\t\tFile world_objects_file = new File(path + world_objects_name + \".txt\");\r\n\t\t\tFileOutputStream f_world_objects = new FileOutputStream(world_objects_file);\r\n\t\t\tObjectOutputStream o_world_objects = new ObjectOutputStream(f_world_objects);\r\n\r\n\t\t\t//loop through list and write each object to file\r\n\t\t\tfor(GameObject obj: EnvironmentVariables.getWorldObjects()) {\r\n\t\t\t\to_world_objects.writeObject(obj);\r\n\t\t\t}\r\n\r\n\t\t\to_world_objects.flush();\r\n\t\t\to_world_objects.close();\r\n\t\t\tf_world_objects.flush();\r\n\t\t\tf_world_objects.close();\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t//Save terrain is done the same ass world objects but we create a new file \r\n\t\t\t//with different added text\r\n\t\t\tString terrain_name = EnvironmentVariables.getTitle() + \"Terrain\";\r\n\t\t\tFile terrain_file = new File(path + terrain_name + \".txt\");\r\n\t\t\tFileOutputStream f_terrain = new FileOutputStream(terrain_file);\r\n\t\t\tObjectOutputStream o_terrain = new ObjectOutputStream(f_terrain);\r\n\r\n\t\t\tfor(GameObject obj: EnvironmentVariables.getTerrain()) {\r\n\t\t\t\to_terrain.writeObject(obj);\r\n\t\t\t}\r\n\r\n\t\t\to_terrain.flush();\r\n\t\t\to_terrain.close();\r\n\t\t\tf_terrain.flush();\r\n\t\t\tf_terrain.close();\r\n\t\t\t\r\n\t\t\t//Save main player, given own file but just a single object\r\n\t\t\tString main_player_name = EnvironmentVariables.getTitle() + \"MainPlayer\";\r\n\t\t\tFile main_player_file = new File(path + main_player_name + \".txt\");\r\n\t\t\tFileOutputStream f_main_player = new FileOutputStream(main_player_file);\r\n\t\t\tObjectOutputStream o_main_player = new ObjectOutputStream(f_main_player);\r\n\r\n\t\t\to_main_player.writeObject(EnvironmentVariables.getMainPlayer());\r\n\r\n\t\t\to_main_player.flush();\r\n\t\t\to_main_player.close();\r\n\t\t\tf_main_player.flush();\r\n\t\t\tf_main_player.close();\r\n\t\t\t\r\n\r\n\t\t} catch (FileNotFoundException e) {\r\n\t\t\tSystem.out.println(\"File not found\");\r\n\t\t}\r\n\t\tcatch (IOException e) {\r\n\t\t\tSystem.out.println(\"Error initializing stream\");\r\n\t\t} \r\n\t\t\r\n\t\t//saving the environment variables\r\n\t\ttry {\r\n\t\t\tString env_name = EnvironmentVariables.getTitle() + \"EnvVariables\";\r\n\t\t\tFile env_file = new File(path + env_name + \".txt\");\r\n\t\t\t\r\n\t\t\tif(!env_file.exists()) {\r\n\t\t\t\tenv_file.createNewFile();\r\n\t\t }\r\n\t\t\t \r\n\t\t\t//FileWriter fw = new FileWriter(env_file);\r\n\t\t\tBufferedWriter bw = new BufferedWriter(new FileWriter(env_file));\r\n\t\t\t//write each variable to a new line as a string\r\n\t\t\tbw.write(EnvironmentVariables.getTitle()); bw.newLine();\r\n\t\t\tbw.write(Float.toString(EnvironmentVariables.getWidth())); bw.newLine();\r\n\t\t\tbw.write(Float.toString(EnvironmentVariables.getHeight())); bw.newLine();\r\n\t\t\tbw.write(EnvironmentVariables.getPlanet()); bw.newLine();\r\n\t\t\tbw.write(Float.toString(EnvironmentVariables.getMass())); bw.newLine();\r\n\t\t\tbw.write(Float.toString(EnvironmentVariables.getRadius())); bw.newLine();\r\n\t\t\tbw.write(Float.toString(EnvironmentVariables.getAirDensity())); bw.newLine();\r\n\t\t\tbw.write(Float.toString(EnvironmentVariables.getMeter())); bw.newLine();\r\n\r\n\t\t\t\r\n\t\t\t//bw.flush();\r\n\t\t\tbw.close();\r\n\t\t\t\r\n\t\t}catch (IOException e) {\r\n\t\t\tSystem.out.println(\"Error initializing stream\");\r\n\t\t}\r\n\t\t\r\n\t\tEnvironmentVariables.getTerrain().clear();\r\n\t\tEnvironmentVariables.getWorldObjects().clear();\r\n\t}",
"public void updateProject(Task context) throws BuildException {\n //Properties codenameOneSettings = new Properties();\n if (projectDir == null) {\n throw new BuildException(\"Cannot update project with null projectDir\");\n }\n File codenameOneSettingsFile = new File(projectDir, \"codenameone_settings.properties\");\n if (!codenameOneSettingsFile.exists()) {\n throw new BuildException(\"No codenameone_settings.properties file found at \"+codenameOneSettingsFile);\n }\n \n File srcDir = new File(projectDir, \"src\");\n \n Properties codenameOneSettings = null;\n try {\n codenameOneSettings = Util.loadProperties(codenameOneSettingsFile);\n } catch (Exception ex) {\n throw new BuildException(\"Failed to load project settings \"+codenameOneSettingsFile, ex);\n }\n \n if (version != null) {\n try {\n double ver = Double.parseDouble(version);\n codenameOneSettings.setProperty(\"codename1.version\", \"\" + ver);\n } catch(NumberFormatException err) {\n System.out.println(\"Couldn't convert version, Codename One versions must be decimal numbers for increased portability\");\n } \n \n }\n \n if (packageId != null) {\n String oldPackage = codenameOneSettings.getProperty(\"codename1.packageName\");\n codenameOneSettings.setProperty(\"codename1.packageName\", packageId);\n String iosAppId = codenameOneSettings.getProperty(\"codename1.ios.appid\");\n if (iosAppId == null) {\n iosAppId = \"BQ5FVWYLLB.com.codename1.demos.cordova\";\n }\n iosAppId = iosAppId.substring(0, iosAppId.indexOf(\".\"))+\".\"+packageId;\n codenameOneSettings.setProperty(\"codename1.ios.appid\", iosAppId);\n \n if (!packageId.equals(oldPackage)) {\n String oldMainPath = oldPackage.replace(\".\", File.separator);\n String newMainPath = packageId.replace(\".\", File.separator);\n File oldMainDir = new File(srcDir, oldMainPath);\n File newMainDir = new File(srcDir, newMainPath);\n //String mainClassName = codenameOneSettings.getProperty(\"codename1.mainName\");\n\n if (!oldMainDir.exists()) {\n throw new BuildException(\"Could not find old main dir: \"+oldMainDir);\n }\n\n //File oldMainFile = new File(oldMainDir, mainClassName+\".java\");\n //File newMainFile = new File(newMainDir, mainClassName+\".java\");\n\n newMainDir.getParentFile().mkdirs();\n if (newMainDir.exists()) {\n for (File f : oldMainDir.listFiles()) {\n if (\".\".equals(f.getName()) || \"..\".equals(f.getName())) {\n continue;\n }\n f.renameTo(new File(newMainDir, f.getName()));\n }\n oldMainDir.delete();\n } else {\n\n oldMainDir.renameTo(newMainDir);\n }\n\n Replace replaceTask = (Replace)context.getProject().createTask(\"replace\");\n replaceTask.setDir(srcDir);\n replaceTask.setIncludes(\"**/*.java\");\n Replace.NestedString token = replaceTask.createReplaceToken();\n token.addText(oldPackage);\n\n replaceTask.createReplaceValue().addText(packageId);\n replaceTask.execute();\n }\n \n }\n \n if (projectName != null) {\n codenameOneSettings.setProperty(\"codename1.displayName\", projectName);\n }\n \n \n \n \n try {\n Util.saveProperties(codenameOneSettings, codenameOneSettingsFile, \"Updated by ImportCordovaAppTask on \"+new Date());\n } catch (IOException ex) {\n throw new BuildException(\"Failed to save codename one settings file \"+codenameOneSettingsFile, ex);\n }\n \n \n File nbprojectDir = new File(projectDir, \"nbproject\");\n \n new File(projectDir, \"override\").mkdirs();\n new File(projectDir, \"native\" + File.separator + \"internal_tmp\").mkdirs();\n File nbprojectPropertiesFile = new File(nbprojectDir, \"project.properties\");\n if (nbprojectPropertiesFile.exists()) {\n Properties nbprojectProperties = null;\n context.log(\"Updating Netbeans properties file \"+nbprojectPropertiesFile);\n try {\n nbprojectProperties = Util.loadProperties(nbprojectPropertiesFile);\n \n } catch (Exception ex) {\n throw new BuildException(\"Failed to load netbeans project properties at \"+nbprojectPropertiesFile);\n }\n if (projectName != null) {\n String normalizedName = projectName.replaceAll(\"[^a-zA-Z0-9]\", \"\");\n \n nbprojectProperties.setProperty(\"application.title\", projectName);\n nbprojectProperties.setProperty(\"dist.jar\", \"${dist.dir}/\"+normalizedName+\".jar\");\n }\n \n try {\n Util.saveProperties(nbprojectProperties, nbprojectPropertiesFile, \"updated by \"+context.getTaskName()+ new Date());\n \n } catch (Exception ex) {\n throw new BuildException(\"Failed to save changes to \"+nbprojectPropertiesFile, ex);\n } \n \n if (projectName != null) {\n \n Replace replaceProjectName = (Replace)context.getProject().createTask(\"replace\");\n replaceProjectName.setFile(new File(nbprojectDir, \"project.xml\"));\n replaceProjectName.createReplaceToken().addText(\"<name>CordovaProjectTemplate</name>\");\n replaceProjectName.createReplaceValue().addText(\"<name>\"+projectName.replace(\"<\", \"<\").replace(\">\", \">\")+\"</name>\");\n replaceProjectName.execute();\n }\n }\n }",
"private void saveTasks() {\n try {\n Writer writer = new Writer(new File(TASKS_FILE));\n for (Task t1: todoList.getListOfTasks()) {\n writer.write(t1);\n }\n writer.close();\n System.out.println(\"Tasks saved to file \" + TASKS_FILE);\n } catch (FileNotFoundException e) {\n System.out.println(\"Unable to save tasks to \" + TASKS_FILE);\n } catch (UnsupportedEncodingException e) {\n e.printStackTrace();\n }\n }",
"private static void addProjectFile(IProject newProject, String fileName, String projectPath){\n \tBundle bundle = Platform.getBundle(BUNDLE_ID);//plugin id\n \tString filePath = DEFAULT_FILE_PATH + fileName;\n \tIPath location= Path.fromOSString(filePath); \n \tInputStream stream;\n\t\ttry {\n\t\t\tstream = FileLocator.openStream( bundle, location, false );\n\t\t\tString createdFilePath = projectPath+fileName;\n\t \tIFile file = newProject.getFile(createdFilePath);\n\t\t\tfile.create( stream, true, null );\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}catch (CoreException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n }",
"public void save() throws Exception {\n FileOutputStream saveFile = new FileOutputStream(Config.languageModelFile);\n ObjectOutputStream save = new ObjectOutputStream(saveFile);\n save.writeObject(this);\n save.close();\n }",
"void save() {\n File file = new File(main.myPath + \"state.xml\");\n Framework.backup(main.myPath + \"state.xml\");\n Framework.transform(stateDoc, new StreamResult(file), null);\n setDirty(false);\n }",
"public Save(Game game) {\n\t\tthis(game, \"/\");\n\t\t\n\t\twritePrefs(\"Preferences\");\n\t}",
"@Override\r\n\tpublic boolean performFinish() {\n\t\tfinal String projectName = projectPage.getProjectName();\r\n\r\n\t\tIRunnableWithProgress op = new IRunnableWithProgress() {\r\n\t\t\tpublic void run(IProgressMonitor monitor)\r\n\t\t\t\t\tthrows InvocationTargetException {\r\n\t\t\t\ttry {\r\n\t\t\t\t\t// create the project\r\n\t\t\t\t\tdoFinish(projectName, monitor);\r\n\t\t\t\t} catch (CoreException e) {\r\n\t\t\t\t\tthrow new InvocationTargetException(e);\r\n\t\t\t\t} finally {\r\n\t\t\t\t\tmonitor.done();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t};\r\n\t\ttry {\r\n\t\t\tgetContainer().run(true, false, op);\r\n\t\t} catch (InterruptedException e) {\r\n\t\t\treturn false;\r\n\t\t} catch (InvocationTargetException e) {\r\n\t\t\tThrowable realException = e.getTargetException();\r\n\t\t\tMessageDialog.openError(getShell(), \"工程创建错误\", realException\r\n\t\t\t\t\t.getMessage());\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\treturn true;\r\n\t}",
"public void save() throws Exception{\n\t\tFileOutputStream saveFile = new FileOutputStream(Config.languageModelFile);\n\t\tObjectOutputStream save = new ObjectOutputStream(saveFile);\n\t\tsave.writeObject(lm_);\n\t\tsave.close();\n\t}",
"void save_to_file() {\n\t\tthis.setAlwaysOnTop(false);\n\t\t\n\t\t/**\n\t\t * chose file with file selector \n\t\t */\n\t\t\n\t\tFileDialog fd = new FileDialog(this, \"Choose a save directory\", FileDialog.SAVE);\n\t\t\n\t\t//default path is current directory\n\t\tfd.setDirectory(System.getProperty(\"user.dir\"));\n\t\tfd.setFile(\"*.cmakro\");\n\t\tfd.setVisible(true);\n\t\t\n\t\t\n\t\tString filename = fd.getFile();\n\t\tString path = fd.getDirectory();\n\t\tString file_withpath = path + filename;\n\t\t\n\t\tif (filename != null) {\n\t\t\t System.out.println(\"save path: \" + file_withpath);\n\t\t\t \n\t\ttry {\n\t\t\tObjectOutputStream out = new ObjectOutputStream(new FileOutputStream(file_withpath));\n\n\t\t\tout.writeObject(Key_Lists);\n\t\t\t\n\t\t\tout.close();\n\t\t\t\n\t\t\tinfo_label.setForeground(green);\n\t\t\tinfo_label.setText(\"file saved :D\");\n\t\t\t\n\t\t} catch (FileNotFoundException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\t}\n\t\t\n\t\t\n\t\tthis.setAlwaysOnTop(true);\n\t\t\n\t}",
"private void saveSettings() {\n SettingsModel settingsModel = new SettingsModel();\n settingsModel.saveState(NJNPStartActivity.this);\n\n File NJNPSettingsDirectory = new File(NJNPConstants.DIRECTORY_PATH + NJNPConstants.SETTINGS_FOLDER);\n NJNPSettingsDirectory.mkdirs();\n\n File file = new File(NJNPSettingsDirectory.getPath(), NJNPConstants.SETTINGS_FILE_NAME);\n\n FileOutputStream fos = null;\n ObjectOutputStream os = null;\n try {\n fos = new FileOutputStream(file);\n os = new ObjectOutputStream(fos);\n os.writeObject(settingsModel);\n os.close();\n fos.close();\n } catch (FileNotFoundException e) {\n Log.e(NJNP_ACTIVITY_TAG, \"File not found exception when saving settings: \" + e.getMessage());\n } catch (IOException e) {\n Log.e(NJNP_ACTIVITY_TAG, \"IO Exception when saving settings: \" + e.getMessage());\n }\n\n }",
"public void save() {\r\n try {\r\n FileOutputStream fos = new FileOutputStream(REPO_STATE_FILE_NAME);\r\n fos.write(CodecUtils.toJson(this).getBytes());\r\n fos.close();\r\n } catch (Exception e) {\r\n Logging.logError(e);\r\n }\r\n }",
"private void saveConfiguration() {\r\n\tnew File(PROPERTIES_FILE).getParentFile().mkdirs();\r\n\tProperties props = new Properties();\r\n\ttry {\r\n\t props.setProperty(KEY_LAST_SOURCE_DIR, lastSourceDir);\r\n\t props.setProperty(KEY_LAST_TARGET_DIR, lastTargetDir);\r\n\t logger.debug(\"Speichere \" + props + \" nach \" + PROPERTIES_FILE);\r\n\t FileOutputStream stream = new FileOutputStream(PROPERTIES_FILE);\r\n\r\n\t props.store(stream, \"Do not change!\");\r\n\t stream.close();\r\n\t} catch (IOException e) {\r\n\t logger.error(\"Konfiguration konnte nicht gespeichert werden!\", e);\r\n\t}\r\n }",
"public void saveAs() {\n editorManager.currentFileManager().saveAs();\n mimaUI.fileChanged();\n }",
"public void saveMap() {\n this.scanMap();\n String userHome = System.getProperty(\"user.home\");\n BinaryExporter export = BinaryExporter.getInstance();\n File file = new File(userHome + \"world.j3o\");\n try {\n export.save(this.testNode, file); \n } catch (IOException ex) {\n Logger.getLogger(mapDevAppState_2.class.getName()).log(Level.SEVERE, \"File write error\");\n }\n }",
"public void saveTranslationCode(int scriptNumber)\r\n {\r\n\t try\r\n\t {\r\n\t\t\t//String filePath = getClass().getResource(\"../script/translated/\" + String.format(\"%03d\", scriptNumber) + \".as\").getFile();\r\n\t\t //FileWriter fw = new FileWriter(filePath);\r\n\t\t\tFileWriter fw = new FileWriter(\"src/org/sikiscripteditor/script/translated/\" + String.format(\"%03d\", scriptNumber) + \".as\");\r\n\t\t BufferedWriter bw = new BufferedWriter(fw);\r\n\r\n\t\t bw.write(translatedCode);\r\n\r\n\t\t bw.close();\r\n\t }\r\n\t catch(IOException e)\r\n\t {\r\n\t\t System.out.println(\"Nya: \" + e.getMessage());\r\n\t }\r\n }",
"private void newProject()\n\t{\n\t\tnew FenetreCreationProjet();\n\t}",
"public void exportPuzzle () {\r\n fileManager.exportPuzzle (puzzle);\r\n }",
"public void save() \n throws IOException \n {\n File tickDir = new File(TextUtil.expand(TICKS_DIR));\n\n File tickFile = getTickFile(mExport);\n if (!mTicks.isEmpty() \n || (tickFile.exists() && !tickFile.getParentFile().equals(tickDir))) \n {\n tickFile.getParentFile().mkdirs();\n \n ZipOutputStream zip = new ZipOutputStream(new FileOutputStream(tickFile));\n try {\n String basename = mFile.getName();\n // file\n {\n ZipEntry fileEntry = new ZipEntry(basename);\n zip.putNextEntry(fileEntry);\n zip.write(mText.getBytes());\n zip.closeEntry();\n } \n // ticks\n {\n ZipEntry tickEntry = new ZipEntry(basename + TickConstants.TICK_ENTRY_EXT);\n zip.putNextEntry(tickEntry);\n zip.write(saveTicks());\n zip.closeEntry();\n }\n } finally {\n FileUtil.close(zip);\n }\n } else {\n tickFile.delete();\n }\n }",
"void build(String name, Project project);",
"public AddProject() {\n try\n {\n infDB = new InfDB(\"\\\\Users\\\\Oliver\\\\Documents\\\\Skola\\\\Mini_sup\\\\Realisering\\\\MICEDB.FDB\");\n System.out.println(\"Uppkopplingen lyckades\");\n }\n catch(InfException e)\n {\n System.out.println(e.getMessage());\n }\n \n try\n {\n infDB = new InfDB(\"C:\\\\Users\\\\TP300LA-C4034\\\\Desktop\\\\Delkurs 4, Lill-supen\\\\InformatikDB\\\\MICEDB.FDB\");\n System.out.println(\"Uppkopplingen lyckades\");\n }\n catch(InfException e)\n {\n System.out.println(e.getMessage());\n }\n getPlatforms();\n initComponents();\n setLocationRelativeTo(null);\n \n }",
"public void onSave(View view){\n saveTemplate(filename);\n Toast.makeText(this, \"Saved\", Toast.LENGTH_LONG).show();\n }",
"private void saveOutputFile() {\n FileChooser fileChooser = new FileChooser();\n if (textMergeScript.hasCurrentDirectory()) {\n fileChooser.setInitialDirectory (textMergeScript.getCurrentDirectory());\n }\n chosenOutputFile = fileChooser.showSaveDialog (ownerWindow);\n if (fileChooser != null) {\n writeOutput();\n openOutputDataName.setText (tabNameOutput);\n }\n }",
"private void save() {\n Saver.saveTeam(team);\n }",
"private void writeFiles(String projectName, File projectRootDirectory, AdoptionContext context, File classPath,\n\t\t\tFile project) throws IOException {\n\t\tString ls = System.getProperty(\"line.separator\");\n\t\tStringBuilder projectSb = new StringBuilder();\n\t\tprojectSb.append(\"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?>\").append(ls);\n\t\tprojectSb.append(\"<projectDescription>\").append(ls);\n\t\tprojectSb.append(\" <name>\").append(projectName).append(\"</name>\").append(ls);\n\t\tprojectSb.append(\" <comment>\").append(\"Auto generated by QuickAdopt plugin\").append(\"</comment>\").append(ls);\n\t\tprojectSb.append(\" <projects/>\").append(ls);\n\t\tprojectSb.append(\" <natures>\").append(ls);\n\t\tprojectSb.append(\" <nature>org.eclipse.jdt.core.javanature</nature>\").append(ls);\n\t\tprojectSb.append(\" </natures>\").append(ls);\n\t projectSb.append(\" <buildSpec>\").append(ls);\n\t projectSb.append(\" <buildCommand>\").append(ls);\n\t projectSb.append(\" <name>org.eclipse.jdt.core.javabuilder</name>\").append(ls);\n\t projectSb.append(\" <arguments/>\").append(ls);\n\t projectSb.append(\" </buildCommand>\").append(ls);\n\t projectSb.append(\" </buildSpec>\").append(ls);\n\t projectSb.append(\" <linkedResources/>\").append(ls);\n\t projectSb.append(\"</projectDescription>\").append(ls);\n\t\t\n\t\t\n\t\tStringBuilder claspathSb = new StringBuilder();\n\t\tclaspathSb.append(\"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?>\").append(ls);\n\t\tclaspathSb.append(\"<classpath>\").append(ls);\n\t\tclaspathSb.append(\" <classpathentry kind=\\\"con\\\" path=\\\"org.eclipse.jdt.launching.JRE_CONTAINER\\\"/>\").append(ls);\n\t\tfor(File sourceFolder: context.sourceFolderAdoptables){\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\tFile parent = sourceFolder;\n\t\t\tboolean first=true;\n\t\t\twhile (parent!=null && !projectRootDirectory.equals(parent)){\n\t\t\t\tif (!first){\n\t\t\t\t\tsb.insert(0,\"/\");\n\t\t\t\t}\n\t\t\t\tfirst=false;\n\t\t\t\tsb.insert(0,parent.getName());\n\t\t\t\tparent=parent.getParentFile();\n\t\t\t}\n\t\t\tString relativePath = sb.toString();\n\t\t\tclaspathSb.append(\" <classpathentry kind=\\\"src\\\" path=\\\"\").append(relativePath).append(\"\\\"/>\").append(ls);\n\t\t}\n\t\tclaspathSb.append(\" <classpathentry kind=\\\"output\\\" path=\\\"bin\\\"/>\").append(ls);\n\t\tclaspathSb.append(\"</classpath>\").append(ls);\n\t\t\n\t\tSystem.out.println(\".project=\"+classPath);\n\t\tSystem.out.println(\".classpath=\"+classPath);\n\t\t\n\t\ttry(BufferedWriter bw = new BufferedWriter(new FileWriter(project))){\n\t\t\tbw.write(projectSb.toString());\n\t\t\tSystem.out.println(\"written:\"+project);\n\t\t}\n\t\t\n\t\ttry(BufferedWriter bw = new BufferedWriter(new FileWriter(classPath))){\n\t\t\tbw.write(claspathSb.toString());\n\t\t\tSystem.out.println(\"written:\"+classPath);\n\t\t}\n\t\tFileUtil.copyFile(classPath, new File(classPath.getParentFile(),\".classpath_quickadopt\"));\n\t\tFileUtil.copyFile(project, new File(project.getParentFile(),\".project_quickadopt\"));\n\t}",
"public CreateProjectPanel() {\n isFinished = true;\n }",
"public static void newProject() {\n\n //create the arena representation\n //populateBlocks();\n //populateSensors();\n }",
"@Override\n public final void generateProject(@NotNull final Project project,\n @NotNull final VirtualFile baseDir,\n @NotNull final T settings,\n @NotNull final Module module) {\n if (settings == NO_SETTINGS) {\n // We are in Intellij Module and framework is implemented as project template, not facet.\n // See class doc for mote info\n configureProjectNoSettings(project, baseDir, module);\n return;\n }\n\n /*Instead of this method overwrite ``configureProject``*/\n\n // If we deal with remote project -- use remote manager to configure it\n final Sdk sdk = settings.getSdk();\n\n if (sdk instanceof PyLazySdk) {\n final Sdk createdSdk = ((PyLazySdk)sdk).create();\n settings.setSdk(createdSdk);\n if (createdSdk != null) {\n SdkConfigurationUtil.addSdk(createdSdk);\n }\n }\n\n final PyProjectSynchronizer synchronizer = sdk != null ? PyProjectSynchronizerProvider.getSynchronizer(sdk) : null;\n\n if (synchronizer != null) {\n // Before project creation we need to configure sync\n // We call \"checkSynchronizationAvailable\" until it returns success (means sync is available)\n // Or user confirms she does not need sync\n String userProvidedPath = settings.getRemotePath();\n while (true) {\n final String syncError = synchronizer.checkSynchronizationAvailable(new PySyncCheckCreateIfPossible(module, userProvidedPath));\n if (syncError == null) {\n break;\n }\n userProvidedPath = null; // According to checkSynchronizationAvailable should be cleared\n final String message =\n PyBundle.message(\"python.new.project.synchronization.not.configured.dialog.message\", syncError);\n if (Messages.showYesNoDialog(project,\n message,\n PyBundle.message(\"python.new.project.synchronization.not.configured.dialog.title\"),\n General.WarningDialog) == Messages.YES) {\n break;\n }\n }\n }\n\n configureProject(project, baseDir, settings, module, synchronizer);\n var statisticsInfo = settings.getInterpreterInfoForStatistics();\n if (statisticsInfo instanceof InterpreterStatisticsInfo interpreterStatisticsInfo) {\n PythonNewProjectWizardCollector.Companion.logPythonNewProjectGenerated(interpreterStatisticsInfo,\n PyStatisticToolsKt.getVersion(settings.getSdk()),\n this.getClass());\n }\n }",
"private static void writeFile(String name, Trajectory t) {\n\t\ttry {\n\t\t\tFile directory = new File(cacheDirectory);\n\t\t\tif (!directory.exists()) {\n\t\t\t\tconsole.log(\"missing dir, making\");\n\t\t\t\tdirectory.mkdir();\n\t\t\t}\n\t\t\t\n\t\t\tFileOutputStream fos = new FileOutputStream(cacheDirectory + name);\n\t\t ObjectOutputStream oos = new ObjectOutputStream(fos);\n\t\t oos.writeObject(t);\n\t\t oos.close();\n\t\t fos.close();\n\t\t}\n\t\tcatch (Exception e) {\n\t\t\tconsole.error(e);\n\t\t}\n\t}",
"@FXML\n\tpublic void saveFile() {\n\t\tif (file == null) {\n\t\t\tFileChooser saveFileChooser = new FileChooser();\n\t\t\tsaveFileChooser.setInitialDirectory(userWorkspace);\n\t\t\tsaveFileChooser.getExtensionFilters().add(new FileChooser.ExtensionFilter(\"Text doc(*.txt)\", \"*.txt\"));\n\t\t\tfile = saveFileChooser.showSaveDialog(ap.getScene().getWindow());\n\t\t}\n\n\t\tif (file.getName().endsWith(\".txt\")) {\n\t\t\ttry {\n\t\t\t\tfilePath = file.getAbsolutePath();\n\t\t\t\tStage primStage = (Stage) ap.getScene().getWindow();\n\t\t\t\tprimStage.setTitle(filePath);\n\t\t\t\tTab tab = tabPane.getSelectionModel().getSelectedItem();\n\t\t\t\ttab.setId(filePath);\n\t\t\t\ttab.setText(file.getName());\n\n\t\t\t\tBufferedWriter writer = new BufferedWriter(new FileWriter(file));\n\t\t\t\tPrintWriter output = new PrintWriter(writer);\n\t\t\t\toutput.write(userText.getText());\n\t\t\t\toutput.flush();\n\t\t\t\toutput.close();\n\t\t\t} catch (IOException e) {\n\t\t\t\tSystem.out.println(file.getName() + \" has no valid file-extenstion.\");\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\n\t}",
"ProjectRepresentation getWorkingProject();",
"private void saveSettings()\n {\n try\n {\n // If remember information is true then save the ip and port\n // properties to the projects config.properties file\n if ( rememberLoginIsSet_ )\n {\n properties_.setProperty( getString( R.string.saved_IP ), mIP_ );\n properties_.setProperty( getString( R.string.saved_Port ),\n mPort_ );\n }\n\n // Always save the remember login boolean\n properties_.setProperty( getString( R.string.saveInfo ),\n String.valueOf( rememberLoginIsSet_ ) );\n\n File propertiesFile =\n new File( this.getFilesDir().getPath().toString()\n + \"/properties.txt\" );\n FileOutputStream out =\n new FileOutputStream( propertiesFile );\n properties_.store( out, \"Swoop\" );\n out.close();\n }\n catch ( Exception ex )\n {\n System.err.print( ex );\n }\n }",
"private static void saveSettings() {\n try {\n File settings = new File(\"settings.txt\");\n FileWriter writer = new FileWriter(settings);\n //Options\n writer.append(defaultSliderPosition + \"\\n\");\n writer.append(isVerticalSplitterPane + \"\\n\");\n writer.append(verboseCompiling + \"\\n\");\n writer.append(warningsEnabled + \"\\n\");\n writer.append(clearOnMethod + \"\\n\");\n writer.append(compileOptions + \"\\n\");\n writer.append(runOptions + \"\\n\");\n //Colors\n for(int i = 0; i < colorScheme.length; i++) \n writer.append(colorScheme[i].getRGB() + \"\\n\");\n writer.append(theme + \"\\n\");\n\n writer.close(); \n } catch (IOException i) {\n println(\"IO exception when saving settings.\", progErr);\n }\n }",
"private void saveFile() {\n if (fileExisted == false) {\n JFileChooser fChoice = new JFileChooser();\n int choice = fChoice.showSaveDialog(this);\n if (choice == JFileChooser.APPROVE_OPTION) {\n File f = fChoice.getSelectedFile();\n //\n if(!f.getName().contains(\".txt\")){\n File fN=new File(f.getParent(), f.getName()+\".txt\");\n FileDAO.writeFile(fN, txtContent);\n fMain = fN;\n fileExisted = true;\n lastSave=true;\n this.setTitle(fN.getName());\n }\n else{\n \n FileDAO.writeFile(f, txtContent);\n fMain = f;\n fileExisted = true;\n lastSave=true;\n this.setTitle(f.getName());\n } \n \n }\n } else if (fileExisted == true) {\n FileDAO.writeFile(fMain, txtContent);\n lastSave=true;\n }\n\n }",
"private void setupWorkingDir(Execute exe) {\r\n if (dir == null) {\r\n dir = getProject().getBaseDir();\r\n }\r\n else if (!dir.exists() || !dir.isDirectory()) {\r\n throw new BuildException(dir.getAbsolutePath() + \" is not a valid directory\", getLocation());\r\n }\r\n exe.setWorkingDirectory(dir);\r\n }",
"public void loadProject(String arg) throws IOException {\n Project newProject = Project.readProject(arg);\n newProject.setConfiguration(project.getConfiguration());\n project = newProject;\n projectLoadedFromFile = true;\n }",
"public void addProj() {\n\t\tbtnAdd.click();\n\t}",
"public void saveFile() {\n\t\tPrintWriter output = null;\n\t\ttry {\n\t\t\toutput = new PrintWriter(\"/Users/katejeon/Documents/Spring_2020/CPSC_35339/avengers_project/game_result.txt\");\n\t\t\toutput.println(textArea.getText());\n\t\t\toutput.flush();\n\t\t} catch (FileNotFoundException e) {\n\t\t\te.printStackTrace();\n\t\t\tSystem.out.println(\"File doesn't exist.\");\n\t\t} finally {\n\t\t\toutput.close();\n\t\t}\n\t}",
"public ProjectFileWriter.Result writeFilePath(Path path, Optional<String> type) {\n SourceTreePath sourceTreePath =\n new SourceTreePath(\n PBXReference.SourceTree.SOURCE_ROOT,\n pathRelativizer.outputDirToRootRelative(path),\n type);\n return writeSourceTreePathAtFullPathToProject(path, sourceTreePath);\n }",
"private void saveToFile(){\n this.currentMarkovChain.setMarkovName(this.txtMarkovChainName.getText());\n saveMarkovToCSVFileInformation();\n \n //Save to file\n Result result = DigPopGUIUtilityClass.saveDigPopGUIInformationSaveFile(\n this.digPopGUIInformation,\n this.digPopGUIInformation.getFilePath());\n }",
"public static void savePref(String background, String language, int tNum) throws Exception {\n buildDoc();\n writePreferences(language, background, tNum);\n createFile(PREF_FILE);\n }",
"File getSaveFile();",
"private void saveFile() {\n\t\ttry {\n\t\t\tFile file = jfc.getSelectedFile();\n\t\t\tint c = -1;\n\t\t\tif(file==null)\n\t\t\t{\n\t\t\t\tc = jfc.showSaveDialog(this);\n\t\t\t}\n\t\t\t\n\n\t\t\tif(file!= null || c ==0)\n\t\t\t{\t\n\t\t\t\tFileWriter fw = new FileWriter(jfc.getSelectedFile());\n\t\t\t\tfw.write(jta.getText());\n\t\t\t\tfw.close();\n\t\t\t\tSystem.out.println(\"파일을 저장하였습니다\");\n\t\t\t\t\n\t\t\t}\n\t\t\n\t\t\t\n\t\t} catch (Exception e2) {\n\t\t\t// TODO: handle exception\n\t\t\tSystem.out.println(e2.getMessage());\n\t\t}\n\t}",
"private void saveViewModel() {\n\t\tJDialog fileDialog = new JDialog(this, \"Open File\", true);\n\t\tFileDialog filePanel = new FileDialog(this, this, true, false, false);\n\t\tfileDialog.getContentPane().add(filePanel);\n\t\tfileDialog.pack();\n\n\t\t// set the location.\n\t\tPoint p1 = this.getLocation();\n\t\tDimension d1 = this.getSize();\n\t\tDimension d2 = fileDialog.getSize();\n\t\tfileDialog.setLocation((p1.x + (d1.width / 2)) - (d2.width / 2),\n\t\t\t\t(p1.y + (d1.height / 2)) - (d2.height / 2));\n\n\t\tfilePanel.setCurrentDirectory(Config.getInstance().getBaseHarvestDir());\n\t\tfileDialog.show();\n\t}",
"public void saveConfigXml() {\n // Save the xml object to disk\n IPathManager pm = PathManagerFactory.getPathManager();\n LocalizationContext lc = pm.getContext(LocalizationType.COMMON_STATIC,\n LocalizationLevel.SITE);\n\n LocalizationFile newXmlFile = pm.getLocalizationFile(lc,\n CONFIG_FILE_NAME);\n\n if (newXmlFile.getFile().getParentFile().exists() == false) {\n // System.out.println(\"Creating new directory\");\n\n if (newXmlFile.getFile().getParentFile().mkdirs() == false) {\n // System.out.println(\"Could not create new directory...\");\n }\n }\n\n try {\n // System.out.println(\"Saving -- \"\n // + newXmlFile.getFile().getAbsolutePath());\n jaxb.marshalToXmlFile(configXml, newXmlFile.getFile()\n .getAbsolutePath());\n newXmlFile.save();\n\n lf = newXmlFile;\n } catch (Exception e) {\n statusHandler.handle(Priority.ERROR, \"Couldn't save config file.\",\n e);\n }\n }",
"public void loadTheProject() {\n\t\tProjectHandler.openProject(mFilePath);\n }",
"public void save() throws FileNotFoundException, IOException, ClassNotFoundException ;",
"@Override\r\n\tpublic void doSaveAs() {\r\n\t\tSaveAsDialog saveAsDialog = new SaveAsDialog(getSite().getShell());\r\n\t\tsaveAsDialog.open();\r\n\t\tIPath path = saveAsDialog.getResult();\r\n\t\tif (path != null) {\r\n\t\t\tIFile file = ResourcesPlugin.getWorkspace().getRoot().getFile(path);\r\n\t\t\tif (file != null) {\r\n\t\t\t\tdoSaveAs(URI.createPlatformResourceURI(file.getFullPath()\r\n\t\t\t\t\t\t.toString(), true), new FileEditorInput(file));\r\n\t\t\t}\r\n\t\t}\r\n\t}",
"private void setProject()\n\t{\n\t\tproject.setName(tf0.getValue().toString());\n \t\tproject.setDescription(tf8.getValue().toString());\n \t\tproject.setEndDate(df4.getValue());\n \t\tif (sf6.getValue().toString().equals(\"yes\"))project.setActive(true);\n \t\telse project.setActive(false);\n \t\tif (!tf7.getValue().toString().equals(\"\"))project.setBudget(Float.parseFloat(tf7.getValue().toString()));\n \t\telse project.setBudget(-1);\n \t\tproject.setNextDeadline(df5.getValue());\n \t\tproject.setStartDate(df3.getValue());\n \t\ttry \n \t\t{\n \t\t\t\tif (sf1.getValue()!=null)\n\t\t\t\tproject.setCustomerID(db.selectCustomerforName( sf1.getValue().toString()));\n\t\t}\n \t\tcatch (SQLException|java.lang.NullPointerException e) \n \t\t{\n \t\t\tErrorWindow wind = new ErrorWindow(e); \n \t UI.getCurrent().addWindow(wind);\t\t\n \t e.printStackTrace();\n\t\t\t}\n \t\tproject.setInserted_by(\"Grigoris\");\n \t\tproject.setModified_by(\"Grigoris\");\n \t\tproject.setRowversion(1);\n \t\tif (sf2.getValue()!=null)project.setProjectType(sf2.getValue().toString());\n \t\telse project.setProjectType(null);\n\t }",
"static String save() {\n JFileChooser fileChooser;\n String path = FileLoader.loadFile(\"path.txt\");\n if (path != null) {\n fileChooser = new JFileChooser(path);\n } else {\n fileChooser = new JFileChooser((FileSystemView.getFileSystemView().getHomeDirectory()));\n }\n\n fileChooser.setDialogTitle(\"Save text file\");\n fileChooser.setDialogType(JFileChooser.SAVE_DIALOG);\n\n if (fileChooser.showSaveDialog(null) == JFileChooser.APPROVE_OPTION) {\n FileLoader.saveFile(\"path.txt\", fileChooser.getSelectedFile().getParent(), false);\n return fileChooser.getSelectedFile().getAbsolutePath() + \".mytxt\" ;\n }\n return null;\n }",
"@FXML\r\n\tpublic void save() {\r\n\t\ttry {\r\n\t\t\tFile copy = new File(fileName.getText());\r\n\t\t\tScanner fileIn = new Scanner(result.getText());\r\n\t\t\tPrintStream fileOut = new PrintStream(copy);\r\n\r\n\t\t\twhile (fileIn.hasNextLine()) {\r\n\t\t\t\tfileOut.print(fileIn.nextLine());\r\n\t\t\t}\r\n\r\n\t\t\tfileIn.close();\r\n\t\t\tfileOut.close();\r\n\t\t}\r\n\t\tcatch (FileNotFoundException e) {\r\n\t\t\te.getMessage();\r\n\t\t}\r\n\t}",
"public void makeSettingsFile() {\n settingsData = new File (wnwData,\"settings.dat\");\n try {\n if (!settingsData.exists()) {\n settingsData.createNewFile();\n BufferedWriter bufferedWriter = new BufferedWriter(\n new FileWriter(settingsData));\n bufferedWriter.write(\"1 0\");\n bufferedWriter.close();\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n settingsData.setWritable(true);\n }",
"public void tempSaveToFile() {\n try {\n ObjectOutputStream outputStream = new ObjectOutputStream(\n this.openFileOutput(MenuActivity2048.TEMP_SAVE_FILENAME, MODE_PRIVATE));\n outputStream.writeObject(boardManager);\n outputStream.close();\n } catch (IOException e) {\n Log.e(\"Exception\", \"File write failed: \" + e.toString());\n }\n }",
"public void save() throws Exception {\n\t\tgetControl(\"saveButton\").click();\n\t\tVoodooUtils.pause(3000);\n\t}"
] | [
"0.66717",
"0.65388453",
"0.6268378",
"0.61749226",
"0.5895884",
"0.5765773",
"0.5765773",
"0.5765773",
"0.5684869",
"0.5660069",
"0.5649781",
"0.5633278",
"0.55994695",
"0.5539392",
"0.54987115",
"0.5440561",
"0.5433399",
"0.5350663",
"0.5337343",
"0.5330298",
"0.52624124",
"0.5259551",
"0.5258225",
"0.52444494",
"0.5214201",
"0.52101547",
"0.5200157",
"0.519392",
"0.5185682",
"0.51750076",
"0.51738524",
"0.51635253",
"0.51630574",
"0.5144712",
"0.51284504",
"0.5128263",
"0.5123716",
"0.5116667",
"0.5116199",
"0.5111329",
"0.51100546",
"0.5107071",
"0.5102197",
"0.50929415",
"0.5084212",
"0.5073528",
"0.5070931",
"0.5067146",
"0.5065259",
"0.5058018",
"0.50545216",
"0.50433785",
"0.50405115",
"0.5036923",
"0.5025571",
"0.50224024",
"0.5003803",
"0.4998528",
"0.49909925",
"0.49856234",
"0.49803847",
"0.49706045",
"0.49610627",
"0.4953881",
"0.4951186",
"0.4948348",
"0.4926257",
"0.49236557",
"0.49188796",
"0.49165112",
"0.49144903",
"0.49097565",
"0.49080378",
"0.49008366",
"0.49004567",
"0.48870665",
"0.48861453",
"0.4885548",
"0.48787206",
"0.48778465",
"0.48772103",
"0.4875516",
"0.4871809",
"0.48717028",
"0.48695678",
"0.48644456",
"0.48625347",
"0.48619077",
"0.48575196",
"0.4848191",
"0.48451272",
"0.48417205",
"0.4840213",
"0.4836874",
"0.48358667",
"0.48294044",
"0.48261917",
"0.48255888",
"0.4818695",
"0.4813165"
] | 0.6764319 | 0 |
Load the tern project from the .ternproject of the project base dir. | public void load() throws IOException {
File file = new File(projectDir, TERN_PROJECT);
if (file.exists()) {
JSONParser parser = new JSONParser();
try {
JSONObject result = (JSONObject) parser.parse(new FileReader(
file));
super.putAll(result);
} catch (ParseException e) {
e.printStackTrace();
}
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void loadTheProject() {\n\t\tProjectHandler.openProject(mFilePath);\n }",
"public void loadProject(String arg) throws IOException {\n Project newProject = Project.readProject(arg);\n newProject.setConfiguration(project.getConfiguration());\n project = newProject;\n projectLoadedFromFile = true;\n }",
"Builder forProjectDirectory(File projectDir);",
"public SCMLProject load(Element root)\n\t{\n\t\tthis.currentProject = new SCMLProject();\n\n\t\tloadAssets(root.getChildrenByName(\"folder\"));\n\t\tloadEntities(root.getChildrenByName(\"entity\"));\n\n\t\treturn currentProject;\n\t}",
"public static TargetProject loadProject(String file) throws TargetException\r\n {\r\n TargetProject project = null;\r\n\r\n try\r\n {\r\n DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();\r\n DocumentBuilder docBuilder = factory.newDocumentBuilder();\r\n Document doc = docBuilder.parse(new File(file));\r\n String projectName = doc.getDocumentElement().getAttribute(\"name\");\r\n String rootDir = FileUtil.getFilePath(file);\r\n project = new TargetProject(projectName, rootDir);\r\n }\r\n catch (Exception e)\r\n {\r\n e.printStackTrace();\r\n throw new TargetException(\"The file \" + file + \" is not a valid TaRGeT project.\");\r\n }\r\n\r\n return project;\r\n }",
"public static void readLoadPrimaveraXmlProject(String dataDir)\n {\n PrimaveraXmlReader reader = new PrimaveraXmlReader(dataDir + \"PrimaveraProject.xml\");\n Project project = reader.loadProject(3882);\n System.out.println(project.getName());\n }",
"public void load() {\r\n try {\r\n project = ProjectAccessor.findFromTitle(title, conn);\r\n } catch (SQLException e) {\r\n e.printStackTrace();\r\n }\r\n }",
"private void initializeProject() {\n newProject.setInputHandler(getProject().getInputHandler());\n \n Iterator iter = getBuildListeners();\n while (iter.hasNext()) {\n newProject.addBuildListener((BuildListener) iter.next());\n }\n \n if (output != null) {\n File outfile = null;\n if (dir != null) {\n outfile = FILE_UTILS.resolveFile(dir, output);\n } else {\n outfile = getProject().resolveFile(output);\n }\n try {\n out = new PrintStream(new FileOutputStream(outfile));\n DefaultLogger logger = new DefaultLogger();\n logger.setMessageOutputLevel(Project.MSG_INFO);\n logger.setOutputPrintStream(out);\n logger.setErrorPrintStream(out);\n newProject.addBuildListener(logger);\n } catch (IOException ex) {\n log(\"Ant: Can't set output to \" + output);\n }\n }\n-\n- getProject().initSubProject(newProject);\n-\n // set user-defined properties\n getProject().copyUserProperties(newProject);\n \n if (!inheritAll) {\n // set Java built-in properties separately,\n // b/c we won't inherit them.\n newProject.setSystemProperties();\n \n } else {\n // set all properties from calling project\n addAlmostAll(getProject().getProperties());\n }\n \n Enumeration e = propertySets.elements();\n while (e.hasMoreElements()) {\n PropertySet ps = (PropertySet) e.nextElement();\n addAlmostAll(ps.getProperties());\n }\n }",
"Project getProject();",
"LectureProject createLectureProject();",
"protected void loadAndSetProject() {\n final ApplicationMetadata meta = getSpeedmentApplicationMetadata();\n final Project project;\n \n if (meta != null) {\n project = DocumentTranscoder.load(meta.getMetadata());\n } else {\n final Map<String, Object> data = new ConcurrentHashMap<>();\n data.put(HasName.NAME, \"Project\");\n project = new ProjectImpl(data);\n }\n\n // Apply overidden item (if any) for all ConfigEntities of a given class\n withsAll.forEach(t2 -> {\n final Class<? extends Document> clazz = t2.get0();\n @SuppressWarnings(\"unchecked\")\n final Consumer<Document> consumer = (Consumer<Document>) t2.get1();\n DocumentDbUtil.traverseOver(project)\n .filter(clazz::isInstance)\n .map(Document.class::cast)\n .forEachOrdered(consumer::accept);\n });\n\n // Apply a named overidden item (if any) for all Entities of a given class\n withsNamed.forEach(t3 -> {\n final Class<? extends Document> clazz = t3.get0();\n final String name = t3.get1();\n\n @SuppressWarnings(\"unchecked\")\n final Consumer<Document> consumer = (Consumer<Document>) t3.get2();\n\n DocumentDbUtil.traverseOver(project)\n .filter(clazz::isInstance)\n .filter(HasName.class::isInstance)\n .map(HasName.class::cast)\n .filter(c -> name.equals(relativeName(c, Project.class, DATABASE_NAME)))\n .forEachOrdered(consumer::accept);\n });\n\n speedment.getProjectComponent().setProject(project);\n }",
"public void init() {\n- newProject = new Project();\n- newProject.setDefaultInputStream(getProject().getDefaultInputStream());\n+ newProject = getProject().createSubProject();\n newProject.setJavaVersionProperty();\n }",
"private ProjectMgr getPmNameTrueLoadActualProject() {\n ProjectMgr pm = null;\n try {\n pm = new ProjectMgr(\"Example\", true);\n\n } catch (ParserConfigurationException e) {\n e.printStackTrace();\n } catch (IOException e) {\n e.printStackTrace();\n } catch (SAXException e) {\n e.printStackTrace();\n }\n\n IOException e;\n return pm;\n }",
"public Project createProject( File build_file ) throws Exception { // NOPMD\n if ( build_file == null || !build_file.exists() )\n return null;\n\n // load the option settings for this build file\n setPrefs( build_file );\n\n // configure the project\n Project p = new Project();\n\n // set the project helper -- the AntelopeProjectHelper2 is the same as the Ant\n // ProjectHelper2, but has been slightly modified so it does not automatically\n // run the implicit target\n System.setProperty( \"org.apache.tools.ant.ProjectHelper\", \"ise.antelope.common.AntelopeProjectHelper2\" );\n\n try {\n ClassLoader cl = _helper.getAntClassLoader();\n p.setCoreLoader( cl );\n\n /*\n try {\n Log.log(\"loading antlib with _helper classloader\");\n cl.getResource( \"ise/antelope/tasks/antlib.xml\" );\n Log.log(\"loaded antlib with _helper classloader\");\n }\n catch(Exception e) {\n e.printStackTrace();\n }\n */\n\n // add the antelope build logger now so that any output produced by the\n // ProjectHelper is captured\n p.addBuildListener( _build_logger );\n\n // add the progress bar build listener\n p.addBuildListener( _progress );\n\n // optionally add the antelope performance listener\n if ( _settings.getShowPerformanceOutput() ) {\n if ( _performance_listener == null )\n _performance_listener = new AntPerformanceListener();\n p.addBuildListener( _performance_listener );\n }\n\n // add the gui input handler\n setInputHandler( p );\n\n p.init(); // this takes as much as 9 seconds the first time, less than 1/2 second later\n\n p.setUserProperty( \"ant.file\", build_file.getAbsolutePath() );\n p.setProperty( \"ant.version\", Main.getAntVersion() );\n //String ant_home = System.getProperty(\"ant.home\");\n String ant_home = AntUtils.getAntHome();\n if ( ant_home != null ) {\n p.setProperty( \"ant.home\", ant_home );\n }\n String ant_lib_dirs = AntUtils.getAntLibDirs();\n if ( ant_lib_dirs != null )\n p.setProperty( \"ant.library.dir\", ant_lib_dirs );\n\n // add ant.jar to the classpath\n // for Ant 1.6, does ant-launcher.jar need to be added also? --\n // yes -- add all jars in $ant_home/lib and $user.home/.ant/lib, this\n // is what command-line Ant does. Ant also supports a -lib command-line\n // option where the user can specify additional locations. Should\n // Antelope support this? Need a gui in the properties panel if so.\n // 12/22/2004: added AntelopeLauncher, so -lib option is handled for app,\n // but not for plugin\n /// -- should this be done here or in the helper? --\n java.util.List ant_jars = _helper.getAntJarList();\n if ( ant_jars != null ) {\n java.util.List cp_list = new ArrayList();\n String classpath = p.getProperty( \"java.class.path\" );\n StringTokenizer st = new StringTokenizer( classpath, File.pathSeparator );\n while ( st.hasMoreTokens() ) {\n cp_list.add( new File( st.nextToken() ) );\n }\n Iterator it = ant_jars.iterator();\n while ( it.hasNext() ) {\n File f = new File( ( String ) it.next() );\n if ( !cp_list.contains( f ) ) {\n cp_list.add( f );\n }\n }\n StringBuffer sb = new StringBuffer();\n it = cp_list.iterator();\n while ( it.hasNext() ) {\n sb.append( ( ( File ) it.next() ).getAbsolutePath() ).append( File.pathSeparator );\n }\n classpath = sb.toString();\n p.setProperty( \"java.class.path\", classpath );\n System.setProperty( \"java.class.path\", classpath );\n }\n\n // load any saved user properties for this build file. These are properties\n // that the user has set using the properties dialog and in command-line\n // Ant would have been passed on the command line.\n Preferences user_prefs = getPrefs().node( Constants.ANT_USER_PROPS );\n String[] keys = user_prefs.keys();\n for ( int i = 0; i < keys.length; i++ ) {\n p.setUserProperty( keys[ i ], user_prefs.get( keys[ i ], \"\" ) );\n }\n\n //ProjectHelper.configureProject( p, build_file ); // deprecated\n ProjectHelper helper = ProjectHelper.getProjectHelper();\n p.addReference( \"ant.projectHelper\", helper );\n helper.parse( p, build_file );\n\n //for (Iterator it = p.getTargets().keySet().iterator(); it.hasNext(); ) {\n // System.out.println(\"target: \" + it.next());\n //}\n\n /*\n // looks like a recent change for antlib has busted loading custom tasks from\n // an antlib declaration. Need to check if this ever worked, I used to use\n // taskdef exclusively, and have only recently switched to using antlib.\n // Using antlib works when Antelope is running as an application, but not as\n // a plugin. Seems to have something to do with classloading.\n try {\n System.out.println(\"AntelopePanel classloader = \" + getClass().getClassLoader().hashCode());\n Class c = Class.forName(\"org.apache.tools.ant.Main\");\n if (c != null) {\n System.out.println(\"classloader for Main = \" + c.getClassLoader().hashCode());\n System.out.println(\"parent classloader for Main = \" + c.getClassLoader().getParent());\n }\n else\n System.out.println(\"did not find class for Main\");\n c = Class.forName(\"ise.antelope.tasks.Unset\");\n if (c != null){\n System.out.println(\"classloader for Unset = \" + c.getClassLoader().hashCode());\n System.out.println(\"parent classloader for Unset = \" + c.getClassLoader().getParent());\n System.out.println(\"classloader for Unset is a \" + c.getClassLoader().getClass().getName());\n }\n else\n System.out.println(\"did not find class for Unset\");\n c = Class.forName(\"org.apache.tools.ant.taskdefs.optional.EchoProperties\");\n if (c != null){\n System.out.println(\"classloader for EchoProperties = \" + c.getClassLoader().hashCode());\n System.out.println(\"parent classloader for EchoProperties = \" + c.getClassLoader().getParent());\n System.out.println(\"classloader for EchoProperties is a \" + c.getClassLoader().getClass().getName());\n }\n else\n System.out.println(\"did not find class for EchoProperties\");\n }\n catch(Exception e) {\n e.printStackTrace();\n }\n */\n\n\n return p;\n }\n catch ( Exception e ) {\n Log.log( e );\n e.printStackTrace( System.out );\n JOptionPane.showMessageDialog( GUIUtils.getRootJFrame( this ),\n \"<html>Error:<br>\" + e.getMessage(),\n \"Ant Error\",\n JOptionPane.ERROR_MESSAGE );\n throw e;\n }\n catch ( NoClassDefFoundError error ) {\n Log.log( error );\n error.printStackTrace( System.out );\n JOptionPane.showMessageDialog( GUIUtils.getRootJFrame( this ),\n \"<html>Error: No Class Definition Found for<br>\" + error.getMessage() +\n \"<br><p>This is most likely caused by a required third-party<br>\" +\n \"jar file not being in the class path.\",\n \"Ant Error\",\n JOptionPane.ERROR_MESSAGE );\n throw new Exception( error.getMessage() ); // NOPMD\n }\n }",
"Project createProject();",
"Project createProject();",
"Project createProject();",
"public void loadProjectFromPath(final String path) throws IOException\n {\n final DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();\n factory.setNamespaceAware(true);\n final DocumentBuilder builder;\n final Document doc;\n try {\n builder = factory.newDocumentBuilder();\n doc = builder.parse(new File(path));\n\n // XXX here, we could be strict and only allow valid documents...\n // validate(doc);\n final Element projectRoot = doc.getDocumentElement();\n //load the canvas (or pages and page blocks if any) blocks from the save file\n //also load drawers, or any custom drawers from file. if no custom drawers\n //are present in root, then the default set of drawers is loaded from\n //langDefRoot\n workspace.loadWorkspaceFrom(projectRoot, langDefRoot);\n workspaceLoaded = true;\n } catch (ParserConfigurationException e) {\n throw new RuntimeException(e);\n } catch (SAXException e) {\n throw new RuntimeException(e);\n }\n }",
"private void loadProject()\n\t{\n\t\t\n\t\tint fileChooserReturnValue =\n\t\t\twindowTemplate\n\t\t\t\t.getFileChooser()\n\t\t\t\t.showOpenDialog(windowTemplate);\n\t\t\n\t\tif(fileChooserReturnValue == JFileChooser.APPROVE_OPTION) {\n\t\t\t// Delete the current cards\n\t\t\tdeleteAllCards();\n\t\t\t\n\t\t\t// Get the file that the user selected\n\t\t\tFile file = windowTemplate.getFileChooser().getSelectedFile();\n\t\t\t\n\t\t\ttry {\n\t\t\t\t\n\t\t\t\t// Open the input streams\n\t\t\t\tFileInputStream fileInput = new FileInputStream(file.getAbsolutePath());\n\t\t\t\tObjectInputStream objectInput = new ObjectInputStream(fileInput);\n\t\t\t\t\n\t\t\t\t// Get ready to save the cards\n\t\t\t\tArrayList<Card> newCards = new ArrayList<Card>();\n\t\t\t\t\n\t\t\t\t// Get the objects\n\t\t\t\ttry {\n\t\t\t\t\t\n\t\t\t\t\tObject inputObject = objectInput.readObject();\n\t\t\t\t\t\n\t\t\t\t\twhile(inputObject instanceof Card) {\n\t\t\t\t\t\t\n\t\t\t\t\t\t// Add the card\n\t\t\t\t\t\tnewCards.add((Card) inputObject);\n\t\t\t\t\t\t\n\t\t\t\t\t\t// Read the next object\n\t\t\t\t\t\tinputObject = objectInput.readObject();\n\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t} catch(EOFException e2) {\n\t\t\t\t\t\n\t\t\t\t\t// We've reached the end of the file, time to add the new project\n\t\t\t\t\taddCards(newCards);\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t// Close the input streams\n\t\t\t\tobjectInput.close();\n\t\t\t\tfileInput.close();\n\t\t\t\t\n\t\t\t\t// Update the title of the frame to reflect the current project\n\t\t\t\twindowTemplate.setTitle(file.getName());\n\t\t\t\t\n\t\t\t} catch (ClassNotFoundException | IOException e1) {\n\t\t\t\tJOptionPane.showMessageDialog(windowTemplate, \"Could not open the file.\");\n\t\t\t}\n\t\t}\n\t\t\n\t}",
"private void reloadProject()\n {\n unloadProject();\n\n if (!projectDirectory.exists()) {\n displayError(DIRECTORY_DOES_NOT_EXIST_MESSAGE, null);\n return;\n }\n\n if (!projectDirectory.isDirectory()) {\n displayError(NOT_A_DIRECTORY_MESSAGE, null);\n return;\n }\n\n if (!ProjectReader.isValidProjectDirectory(projectDirectory)) {\n displayError(PROJECT_NOT_FOUND_MESSAGE, null);\n return;\n }\n\n try {\n project = ProjectReader.read(projectDirectory);\n projectBuilder = new ProjectBuilder(project);\n projectSettingsPanel = new ProjectSettingsPanel(projectBuilder);\n projectSettingsContainer.add(projectSettingsPanel, BorderLayout.PAGE_START);\n projectSettingsContainer.add(new JPanel(), BorderLayout.CENTER);\n } catch (Throwable t) {\n displayError(UNABLE_TO_LOAD_PROJECT_MESSAGE, t);\n return;\n }\n\n preferences.put(PREF_PROJECT_DIRECTORY, projectDirectory.toString());\n try { preferences.sync(); } catch (BackingStoreException e) { e.printStackTrace(); }\n\n generateButton.setEnabled(true);\n\n pack();\n }",
"public void loadProjectFromElement(Element elementToLoad) {\n workspace.loadWorkspaceFrom(elementToLoad, langDefRoot);\n workspaceLoaded = true;\n }",
"public Project createProjectFromPRJ() {\n\n\t\tSystem.out.println(\"Trying to load prj file with : \" + data_path + \" \" + projectName + \" \" + conceptName + \" \");\n\n\t\tProject project = null;\n\n\t\ttry {\n\n\t\t\tproject = new Project(data_path + projectName);\n\n\t\t\t// Sehr wichtig hier das Warten einzubauen, sonst gibts leere\n\t\t\t// Retrieval Results, weil die Faelle noch nicht geladen sind wenn\n\t\t\t// das\n\t\t\t// Erste Retrieval laueft\n\t\t\twhile (project.isImporting()) {\n\t\t\t\tThread.sleep(1000);\n\t\t\t\tSystem.out.print(\".\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\"); // console pretty print\n\t\t} catch (Exception ex) {\n\n\t\t\tSystem.out.println(\"Error when loading the project\");\n\t\t}\n\t\treturn project;\n\t}",
"public IProject getProject();",
"@Override\n public Project getProject() {\n return super.getProject();\n }",
"public void loadProject(String jsonString)\n\t{\n\t\ttry\n\t\t{\n\t\t\tJSONObject jsonInput = (JSONObject)JSONValue.parse(jsonString);\n\t\t\tif (jsonInput == null)\n\t\t\t{\n\t\t\t\tview.alert(\"Error: Error loading project\");\n\t\t\t}\n\n\t\t\tif (jsonInput.get(\"project\") != null)\n\t\t\t{\n\t\t\t\tJSONObject jsonProject = (JSONObject)jsonInput.get(\"project\");\n\t\t\t\tstoreViewState();\n\t\t\t\tproject.loadProject(jsonProject.toJSONString());\n\t\t\t\tcheckStatus();\n\t\t\t\t\n\t\t\t\tif (project.getLastCommandStatus())\n\t\t\t\t{\n\t\t\t\t\tview.loadFromJSON(jsonString);\n\t\t\t\t\tview.onUpdate(project.getProjectSnapshot(), false);\n\t\t\t\t}\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tstoreViewState();\n\t\t\t\tproject.loadProject(jsonString);\n\t\t\t\tcheckStatus();\n\t\t\t}\n\t\t}\n\t\tcatch (ClassCastException e)\n\t\t{\n\t\t\tview.alert(\"Error: Error loading project\");\n\t\t}\n\t}",
"public ProjectViewController(){\n InputStream request = appController.httpRequest(\"http://localhost:8080/project/getProject\", \"GET\");\n try {\n String result = IOUtils.toString(request, StandardCharsets.UTF_8);\n Gson gson = new Gson();\n this.projectModel = gson.fromJson(result, ProjectModel.class);\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"public project() {\n\n initComponents();\n }",
"public ProjectModule() {\n packaging = AutomationConstant.PACKAGING_POM;\n }",
"private void browseProject()\n {\n List<FileFilter> filters = new ArrayList<>();\n filters.add(new FileNameExtensionFilter(\"Bombyx3D project file\", \"yml\"));\n\n File directory = new File(projectPathEdit.getText());\n File selectedFile = FileDialog.chooseOpenFile(this, BROWSE_DIALOG_TITLE, directory, filters);\n if (selectedFile != null) {\n projectDirectory = selectedFile.getParentFile();\n projectPathEdit.setText(projectDirectory.getPath());\n projectPathEdit.selectAll();\n }\n }",
"public AddProject() {\n try\n {\n infDB = new InfDB(\"\\\\Users\\\\Oliver\\\\Documents\\\\Skola\\\\Mini_sup\\\\Realisering\\\\MICEDB.FDB\");\n System.out.println(\"Uppkopplingen lyckades\");\n }\n catch(InfException e)\n {\n System.out.println(e.getMessage());\n }\n \n try\n {\n infDB = new InfDB(\"C:\\\\Users\\\\TP300LA-C4034\\\\Desktop\\\\Delkurs 4, Lill-supen\\\\InformatikDB\\\\MICEDB.FDB\");\n System.out.println(\"Uppkopplingen lyckades\");\n }\n catch(InfException e)\n {\n System.out.println(e.getMessage());\n }\n getPlatforms();\n initComponents();\n setLocationRelativeTo(null);\n \n }",
"public Project(File file)\n {\n super(file);\n this.open();\n }",
"public void loadProject(String projectContents, String langDefContents) {\n final DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();\n final DocumentBuilder builder;\n final Document projectDoc;\n final Document langDoc;\n try {\n builder = factory.newDocumentBuilder();\n projectDoc = builder.parse(new InputSource(new StringReader(projectContents)));\n final Element projectRoot = projectDoc.getDocumentElement();\n langDoc = builder.parse(new InputSource(new StringReader(projectContents)));\n final Element langRoot = langDoc.getDocumentElement();\n if (workspaceLoaded) {\n resetWorkspace();\n }\n if (langDefContents == null) {\n loadBlockLanguage(langDefRoot);\n } else {\n loadBlockLanguage(langRoot);\n }\n workspace.loadWorkspaceFrom(projectRoot, langRoot);\n workspaceLoaded = true;\n\n } catch (ParserConfigurationException e) {\n throw new RuntimeException(e);\n } catch (SAXException e) {\n throw new RuntimeException(e);\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }",
"public void populate(IProject project) throws InvocationTargetException;",
"public static final String getProject() { return project; }",
"public static final String getProject() { return project; }",
"public void loadProjectTree(Long id) {\n rootId = id;\n editResourceService.getResources(id, new AsyncCallback<List<VMResource>>() {\n @Override\n public void onFailure(Throwable caught) {\n SC.warn(caught.getMessage());\n }\n\n @Override\n public void onSuccess(List<VMResource> result) {\n if (rootId == id) {\n VMDirectory rootDir = new VMDirectory();\n rootDir.setId(rootId);\n rootDir.setName(\"/\");\n fileTreeNodeFactory.setRootDirectory(rootDir);\n }\n TreeNode[] nodes = fileTreeNodeFactory.getFileTreeNodes(id, result);\n tree = new Tree();\n tree.setDefaultIsFolder(true);\n tree.setShowRoot(true);\n tree.setModelType(TreeModelType.CHILDREN);\n tree.setNameProperty(\"fullName\");\n tree.setData(nodes);\n treeGrid.setData(tree);\n treeGrid.sort();\n }\n });\n }",
"protected abstract void processProjectFile(Path path);",
"private Project(){}",
"public static void run(Project project){\n\t\tproject.executeTarget(project.getDefaultTarget());\n\t}",
"public void init() {\n this.properties = loadProperties(\"/project3.properties\");\n }",
"HibProject getProject(InternalActionContext ac);",
"public CreateProject() {\n\t\tsuper();\n\t}",
"@Test\n // Test Load\n public void loadTest() {\n ProjectMgr pmNew = getPmNameFalseLoad();\n try {\n pmNew.load(\"not-gunna-be-a-file\");\n Assertions.fail(\"An io exception should be thrown. This line should not be reached\");\n } catch (ParserConfigurationException e) {\n e.printStackTrace();\n } catch (SAXException e) {\n e.printStackTrace();\n } catch (IOException e) {\n\n }\n\n // Load project\n ProjectMgr pmLoad = getPmNameTrueLoadActualProject();\n try {\n pmLoad.load(\"not-gunna-be-a-file\");\n Assertions.fail(\"An io exception should be thrown. This line should not be reached\");\n } catch (ParserConfigurationException e) {\n e.printStackTrace();\n } catch (SAXException e) {\n e.printStackTrace();\n } catch (IOException e) {\n\n }\n\n // TODO: ParserConfigurationExceptin and SAXException not tested\n }",
"public Project(String name) {\r\n\t\tsuper(name);\r\n\t\tthis.opened = true;\r\n\t\tthis.projectFile = null;\r\n\t}",
"public GantBuilder ( final Project project ) { super ( project ) ; }",
"public Project getProjectByName(String name);",
"public miniproject() {\n initComponents();\n }",
"public void load() throws FileNotFoundException {\n loadConfig();\n initRepos();\n }",
"void build(String name, Project project);",
"public static Class<?> loadProjectClass(Project project, String className) {\n URLClassLoader classLoader = getProjectClassLoader(project);\n if (classLoader != null ){\n try {\n return classLoader.loadClass(className);\n } catch (ClassNotFoundException e) {\n // ignore\n } finally {\n try {\n classLoader.close();\n } catch (IOException e) {\n // ignore\n }\n }\n }\n return null;\n }",
"public int openExistingProject(File file) {\n try {\n projectData = projectLoader.openExistingProject(file);\n\n } catch (FileNotFoundException ex) {\n \n return 1; // can not find ini file\n } catch (Exception ex) {\n \n return 2; // can not load project\n }\n\n if (projectData == null) return 2;\n\n return 0;\n }",
"private static void addProjectFiles(IProject newProject){\n \t//add README file\n \taddProjectFile(newProject , README_FILE_NAME , \"\" );\n \t//add ProviderClass\n \taddProjectFile(newProject , PROVIDER_SCRIPT_FILE_NAME , CLASSES_FOLDER+\"/\" );\n }",
"public static Project createAnyProject(File buildFile){\n\t\tProject antProject = new Project();\n\t\tantProject.init();\n\t\tDefaultLogger logger = new DefaultLogger();\n\t\tMessageConsole myConsole = Activator.findConsole();\n\t\tMessageConsoleStream out = myConsole.newMessageStream();\n\t\tlogger.setOutputPrintStream(new PrintStream(out));\n\t\tlogger.setMessageOutputLevel(Project.MSG_VERBOSE);\n\n\t\tActivator.showConsole(myConsole);\n\n\t\tProjectHelper.configureProject(antProject, buildFile);\n\t\tantProject.addBuildListener(logger);\n\t\treturn antProject;\n\t}",
"public abstract ProjectBean getSystemProject();",
"public void openProject(File file) {\n\n try {\n if (!file.exists()) {\n JOptionPane.showMessageDialog(Application.getFrame(),\n \"Can't open project - file \\\"\" + file.getPath() + \"\\\" does not exist\",\n \"Can't Open Project\", JOptionPane.OK_OPTION);\n return;\n }\n \n getApplication().getFrameController().addToLastProjListAction(\n file.getAbsolutePath());\n\n Configuration config = buildProjectConfiguration(file);\n Project project = new ApplicationProject(file, config);\n getProjectController().setProject(project);\n\n // if upgrade was canceled\n int upgradeStatus = project.getUpgradeStatus();\n if (upgradeStatus > 0) {\n JOptionPane\n .showMessageDialog(\n Application.getFrame(),\n \"Can't open project - it was created using a newer version of the Modeler\",\n \"Can't Open Project\",\n JOptionPane.OK_OPTION);\n closeProject(false);\n }\n else if (upgradeStatus < 0) {\n if (processUpgrades(project)) {\n getApplication().getFrameController().projectOpenedAction(project);\n }\n else {\n closeProject(false);\n }\n }\n else {\n getApplication().getFrameController().projectOpenedAction(project);\n }\n }\n catch (Exception ex) {\n logObj.warn(\"Error loading project file.\", ex);\n ErrorDebugDialog.guiWarning(ex, \"Error loading project\");\n }\n }",
"public void testBuildAndRun() {\n SourcePackagesNode sourcePackagesNode = new SourcePackagesNode(SAMPLE_PROJECT_NAME);\n Node sample1Node = new Node(sourcePackagesNode, SAMPLE1_PACKAGE_NAME);\n JavaNode sampleClass1Node = new JavaNode(sample1Node, SAMPLE1_FILE_NAME);\n // increase timeout to 60 seconds\n MainWindowOperator.getDefault().getTimeouts().setTimeout(\"Waiter.WaitingTime\", 60000);\n // start to track Main Window status bar\n MainWindowOperator.StatusTextTracer stt = MainWindowOperator.getDefault().getStatusTextTracer();\n stt.start();\n // call Build|Compile main menu item\n new CompileJavaAction().perform(sampleClass1Node);\n // \"SampleProject (compile-single)\"\n String compileSingleTarget = Bundle.getString(\n \"org.apache.tools.ant.module.run.Bundle\",\n \"TITLE_output_target\",\n new Object[]{SAMPLE_PROJECT_NAME, null, \"compile-single\"}); // NOI18N\n // \"Finished building SampleProject (compile-single)\"\n String finishedCompileSingleLabel = Bundle.getString(\n \"org.apache.tools.ant.module.run.Bundle\",\n \"FMT_finished_target_status\",\n new String[]{compileSingleTarget});\n // wait message \"Finished building SampleProject (compile-single)\"\n stt.waitText(finishedCompileSingleLabel); \n\n // \"Run\"\n // TODO bundle property name should be changed back to Menu/RunProject after updating bundle\n String runItem = Bundle.getStringTrimmed(\"org.netbeans.modules.project.ui.Bundle\", \"Menu/BuildProject\");\n // \"Run File\"\n String runFileItem = Bundle.getStringTrimmed(\"org.netbeans.modules.project.ui.actions.Bundle\",\n \"LBL_RunSingleAction_Name\",\n new Object[]{new Integer(1), SAMPLE1_FILE_NAME});\n // call \"Run|Run File|Run \"SampleClass1.java\"\"\n new Action(runItem + \"|\" + runFileItem, null).perform(sampleClass1Node);\n // \"SampleProject (run-single)\"\n String runSingleTarget = Bundle.getString(\n \"org.apache.tools.ant.module.run.Bundle\",\n \"TITLE_output_target\",\n new Object[]{SAMPLE_PROJECT_NAME, null, \"run-single\"}); // NOI18N\n // \"Finished building SampleProject (run-single)\"\n String finishedRunSingleLabel = Bundle.getString(\n \"org.apache.tools.ant.module.run.Bundle\",\n \"FMT_finished_target_status\",\n new String[]{runSingleTarget});\n // wait message \"Finished building SampleProject (run-single)\"\n stt.waitText(finishedRunSingleLabel); // NOI18N\n // check Hello and Good bye was printed out to the output window\n\n OutputTabOperator outputOper = new OutputTabOperator(\"run-single\"); //NOI18N\n outputOper.waitText(\"Hello\"); //NOI18N\n outputOper.waitText(\"Good bye\"); //NOI18N\n\n // \"Run\"\n String buildItem = Bundle.getStringTrimmed(\"org.netbeans.modules.project.ui.Bundle\", \"Menu/BuildProject\");\n // \"Build Main Project\"\n String buildMainProjectItem = Bundle.getStringTrimmed(\"org.netbeans.modules.project.ui.actions.Bundle\", \"LBL_BuildMainProjectAction_Name\");\n // call \"Run|Build Main Project\" main menu item\n new Action(buildItem + \"|\" + buildMainProjectItem, null).perform();\n // \"SampleProject (jar)\"\n String jarTarget = Bundle.getString(\n \"org.apache.tools.ant.module.run.Bundle\",\n \"TITLE_output_target\",\n new Object[]{SAMPLE_PROJECT_NAME, null, \"jar\"}); // NOI18N\n // \"Finished building SampleProject (jar)\"\n String finishedJarLabel = Bundle.getString(\n \"org.apache.tools.ant.module.run.Bundle\",\n \"FMT_finished_target_status\",\n new String[]{jarTarget});\n // wait message \"Finished building SampleProject (jar)\"\n stt.waitText(finishedJarLabel);\n\n // Run Main Project\n String runMainProjectItem = Bundle.getStringTrimmed(\"org.netbeans.modules.project.ui.actions.Bundle\", \"LBL_RunMainProjectAction_Name\");\n // call \"Run|Run Main Project\" main menu item\n new Action(runItem + \"|\" + runMainProjectItem, null).perform();\n // \"SampleProject (run)\"\n String runTarget = Bundle.getString(\n \"org.apache.tools.ant.module.run.Bundle\",\n \"TITLE_output_target\",\n new Object[]{SAMPLE_PROJECT_NAME, null, \"run\"}); // NOI18N\n // \"Finished building SampleProject (run)\"\n String finishedRunLabel = Bundle.getString(\n \"org.apache.tools.ant.module.run.Bundle\",\n \"FMT_finished_target_status\",\n new String[]{runTarget});\n // wait message \"Finished building SampleProject (run)\"\n stt.waitText(finishedRunLabel);\n\n stt.stop();\n }",
"private void importAll() {\n\t\tfinal JFileChooser chooser = new JFileChooser(System.getProperty(\"user.home\"));\n\t\tint returnVal = chooser.showOpenDialog(null);\n\t\tif(returnVal == JFileChooser.APPROVE_OPTION) {\n\t\t\tFile file = chooser.getSelectedFile();\n\t\t\tdeserializeFile(file);\n\t\t\t // imported the projects for this application from a file, so update what should be persisted on close\n\t\t\tupdatePersistence();\n\t\t}\n\t}",
"public void init(){\n\t\tif(prop==null){\r\n\t\t\tprop=new Properties();\r\n\t\t\t\r\n\t\t\ttry {\r\n\t\t\t\tFileInputStream fs = new FileInputStream(System.getProperty(\"user.dir\")+\"//src//test//resources//projectconfig.properties\");\r\n\t\t\t\tprop.load(fs);\r\n\t\t\t\t\r\n\t\t\t} catch (Exception e) {\r\n\t\t\t\t\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t}\r\n\t\t}\r\n\t}",
"protected IScriptProject getScriptProject() {\n \t\treturn fMainTab.getProject();\n \t}",
"public ProjectFile getProject()\r\n {\r\n return m_project;\r\n }",
"protected void projectOpened() {\n ProjectManager.mutex().writeAccess(new Mutex.Action() {\n public Object run() {\n EditableProperties ep = updateHelper.getProperties(AntProjectHelper.PRIVATE_PROPERTIES_PATH);\n File buildProperties = new File(System.getProperty(\"netbeans.user\"), \"build.properties\"); // NOI18N\n ep.setProperty(\"user.properties.file\", buildProperties.getAbsolutePath()); // NOI18N \n File bjHome = BlueJSettings.getDefault().getHome();\n if (bjHome != null) {\n \n ep.setProperty(PROP_BLUEJ_HOME, getUserLibPath(bjHome).getAbsolutePath());\n ep.setComment(PROP_BLUEJ_HOME, new String[] {\n \"## the bluej.userlib property is reset everytime the project is opened in netbeans according to the\",\n \"## setting in the IDE that point to the location of the bluej installation's userlib directory.\",\n \"## It is required to find and use the libraries located in BLUEJ_HOME/lib/userlib when building the project\" \n }, true);\n } else {\n ep.remove(PROP_BLUEJ_HOME);\n }\n ep.setProperty(\"bluej.config.libraries\", BlueJSettings.getDefault().getUserLibrariesAsClassPath()); // NOI18N\n ep.setComment(\"bluej.config.libraries\", new String[] { // NOI18N\n \"## classpath entry that is composed from content of bluej.userlib.*.location properties in the user home's bluej.properties file..\",\n \"## rebuilt on every opening of the project in netbeans\"\n }, true);\n updateHelper.putProperties(AntProjectHelper.PRIVATE_PROPERTIES_PATH, ep);\n try {\n ProjectManager.getDefault().saveProject(BluejProject.this);\n } catch (IOException e) {\n ErrorManager.getDefault().notify(e);\n }\n return null;\n }\n });\n BlueJSettings.getDefault().addPropertyChangeListener(this);\n \n//// // Check up on build scripts.\n//// try {\n//// if (updateHelper.isCurrent()) {\n//// //Refresh build-impl.xml only for j2seproject/2\n//// genFilesHelper.refreshBuildScript(\n//// GeneratedFilesHelper.BUILD_IMPL_XML_PATH,\n//// BluejProject.class.getResource(\"resources/build-impl.xsl\"),\n//// true);\n//// genFilesHelper.refreshBuildScript(\n//// GeneratedFilesHelper.BUILD_XML_PATH,\n//// BluejProject.class.getResource(\"resources/build.xsl\"),\n//// true);\n//// } \n//// } catch (IOException e) {\n//// ErrorManager.getDefault().notify(ErrorManager.INFORMATIONAL, e);\n//// }\n \n // register project's classpaths to GlobalPathRegistry\n ClassPathProviderImpl cpProvider = (ClassPathProviderImpl)lookup.lookup(ClassPathProviderImpl.class);\n GlobalPathRegistry.getDefault().register(ClassPath.BOOT, cpProvider.getBootPath());\n GlobalPathRegistry.getDefault().register(ClassPath.SOURCE, cpProvider.getSourcePath());\n GlobalPathRegistry.getDefault().register(ClassPath.COMPILE, cpProvider.getCompileTimeClasspath());\n\n//// //register updater of main.class\n//// //the updater is active only on the opened projects\n//// mainClassUpdater = new MainClassUpdater (BluejProject.this, eval, updateHelper,\n//// cpProvider.getProjectClassPaths(ClassPath.SOURCE)[0], J2SEProjectProperties.MAIN_CLASS);\n\n//// J2SELogicalViewProvider physicalViewProvider = (J2SELogicalViewProvider)\n//// BluejProject.this.getLookup().lookup (J2SELogicalViewProvider.class);\n//// if (physicalViewProvider != null && physicalViewProvider.hasBrokenLinks()) { \n//// BrokenReferencesSupport.showAlert();\n//// }\n BluejOpenCloseCallback callback = (BluejOpenCloseCallback) Lookup.getDefault().lookup(BluejOpenCloseCallback.class);\n if (callback != null) {\n callback.projectOpened(BluejProject.this);\n }\n }",
"@Override\n public void setProjectDir(String projectDir) {\n this.projectDir = projectDir;\n }",
"private static void createProject(final ProjectProperties props, final Path projectDir) throws IOException\n {\n // Create and set the Freemarker configuration\n final Configuration freeMarkerConfig = new Configuration();\n final File templateDir = new File(props.getApiDirectory(), \"templates\");\n freeMarkerConfig.setDirectoryForTemplateLoading(templateDir);\n freeMarkerConfig.setObjectWrapper(new DefaultObjectWrapper());\n\n // Generate the project\n final Injector injector = Guice.createInjector(new UtilInjectionModule(), new LocalInjectionModule());\n final ProjectGenerator projectGen = injector.getInstance(ProjectGenerator.class);\n projectGen.initialize(freeMarkerConfig, OUT_STREAM);\n try\n {\n projectGen.create(props, projectDir.toFile());\n }\n catch (final Exception ex)\n {\n OUT_STREAM.println(\"Error generating the project: \" + ex.getMessage());\n }\n }",
"@Override\n public final void generateProject(@NotNull final Project project,\n @NotNull final VirtualFile baseDir,\n @NotNull final T settings,\n @NotNull final Module module) {\n if (settings == NO_SETTINGS) {\n // We are in Intellij Module and framework is implemented as project template, not facet.\n // See class doc for mote info\n configureProjectNoSettings(project, baseDir, module);\n return;\n }\n\n /*Instead of this method overwrite ``configureProject``*/\n\n // If we deal with remote project -- use remote manager to configure it\n final Sdk sdk = settings.getSdk();\n\n if (sdk instanceof PyLazySdk) {\n final Sdk createdSdk = ((PyLazySdk)sdk).create();\n settings.setSdk(createdSdk);\n if (createdSdk != null) {\n SdkConfigurationUtil.addSdk(createdSdk);\n }\n }\n\n final PyProjectSynchronizer synchronizer = sdk != null ? PyProjectSynchronizerProvider.getSynchronizer(sdk) : null;\n\n if (synchronizer != null) {\n // Before project creation we need to configure sync\n // We call \"checkSynchronizationAvailable\" until it returns success (means sync is available)\n // Or user confirms she does not need sync\n String userProvidedPath = settings.getRemotePath();\n while (true) {\n final String syncError = synchronizer.checkSynchronizationAvailable(new PySyncCheckCreateIfPossible(module, userProvidedPath));\n if (syncError == null) {\n break;\n }\n userProvidedPath = null; // According to checkSynchronizationAvailable should be cleared\n final String message =\n PyBundle.message(\"python.new.project.synchronization.not.configured.dialog.message\", syncError);\n if (Messages.showYesNoDialog(project,\n message,\n PyBundle.message(\"python.new.project.synchronization.not.configured.dialog.title\"),\n General.WarningDialog) == Messages.YES) {\n break;\n }\n }\n }\n\n configureProject(project, baseDir, settings, module, synchronizer);\n var statisticsInfo = settings.getInterpreterInfoForStatistics();\n if (statisticsInfo instanceof InterpreterStatisticsInfo interpreterStatisticsInfo) {\n PythonNewProjectWizardCollector.Companion.logPythonNewProjectGenerated(interpreterStatisticsInfo,\n PyStatisticToolsKt.getVersion(settings.getSdk()),\n this.getClass());\n }\n }",
"protected void createProject(IProgressMonitor monitor)\n {\n monitor.beginTask(\"Creating the Totori project\", 50);\n try\n {\n IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot();\n monitor.subTask(\"Defining the nature of the project\");\n IProject project = root.getProject(page.getProjectName());\n IProjectDescription description = ResourcesPlugin.getWorkspace().newProjectDescription(project.getName());\n if(!Platform.getLocation().equals(page.getLocationPath()))\n description.setLocation(page.getLocationPath());\n project.create(description,monitor);\n monitor.worked(10);\n project.open(monitor);\n description = project.getDescription();\n description.setNatureIds(new String[] { TotoriNature.NATURE_ID });\n project.setDescription(description,new SubProgressMonitor(monitor,10));\n monitor.subTask(\"Creating subdirectories\");\n createFolderHelper(root.getFolder(project.getFullPath().append(\"config\")), monitor);\n createFolderHelper(root.getFolder(project.getFullPath().append(\"ext\")), monitor);\n createFolderHelper(root.getFolder(project.getFullPath().append(\"ext\").append(\"nircmd\")), monitor);\n createFolderHelper(root.getFolder(project.getFullPath().append(\"features\")), monitor);\n createFolderHelper(root.getFolder(project.getFullPath().append(\"features\").append(\"plugins\")), monitor);\n createFolderHelper(root.getFolder(project.getFullPath().append(\"features\").append(\"steps\")), monitor);\n createFolderHelper(root.getFolder(project.getFullPath().append(\"features\").append(\"support\")), monitor);\n createFolderHelper(root.getFolder(project.getFullPath().append(\"reports\")), monitor);\n createFolderHelper(root.getFolder(project.getFullPath().append(\"reports\").append(\"assets\")), monitor);\n createFolderHelper(root.getFolder(project.getFullPath().append(\"reports\").append(\"screens\")), monitor);\n project.setDescription(description,new SubProgressMonitor(monitor,10));\n monitor.subTask(\"Creating files\");\n Vector<String> assets = new Vector<String>();\n assets.add(\"config/myconfig.yml\");\n assets.add(\"ext/nircmd/nircmd.chm\");\n assets.add(\"ext/nircmd/nircmd.exe\");\n assets.add(\"ext/nircmd/nircmdc.exe\");\n assets.add(\"features/support/env.rb\");\n assets.add(\"features/support/functions.rb\");\n assets.add(\"features/support/screenshots.rb\");\n assets.add(\"features/support/totori_formatter.rb\");\n assets.add(\"reports/assets/jquery-1.4.1.min.js\");\n assets.add(\"reports/assets/jquery.lightbox-0.5.css\");\n assets.add(\"reports/assets/jquery.lightbox-0.5.min.js\");\n assets.add(\"reports/assets/jquery.thumbs.js\");\n assets.add(\"reports/assets/lightbox-blank.gif\");\n assets.add(\"reports/assets/lightbox-btn-close.gif\");\n assets.add(\"reports/assets/lightbox-btn-next.gif\");\n assets.add(\"reports/assets/lightbox-btn-prev.gif\");\n assets.add(\"reports/assets/lightbox-ico-loading.gif\");\n assets.add(\"reports/assets/search.png\");\n assets.add(\"reports/assets/thumbs.css\");\n assets.add(\"reports/assets/totori.css\");\n for(String asset : assets) {\n \t String resource = \"/assets/\"+asset;\n \t InputStream stream = this.getClass().getResourceAsStream(resource);\n \t System.out.println(resource + \" : \" + stream);\n IPath path = project.getFullPath();\n for(String dir : asset.split(\"/\")) {\n \t path = path.append(dir);\n }\n IFile file = root.getFile(path);\n //file.getFullPath().toFile().mkdirs();\n //file.setCharset(\"utf-8\", monitor);\n file.create(stream, false, monitor);\n }\n monitor.worked(20);\n }\n catch(CoreException x)\n {\n reportError(x);\n }\n finally\n {\n monitor.done();\n }\n }",
"public FlexoProject getProject() {\n \t\treturn findCurrentProject();\n \t}",
"public void load(Project.NameKey projectName, Repository db)\n throws IOException, ConfigInvalidException {\n Ref ref = db.getRefDatabase().exactRef(getRefName());\n load(projectName, db, ref != null ? ref.getObjectId() : null);\n }",
"void open(IdeaProject project);",
"public Project() {\n\t\t\n\t}",
"public Project() {\n\t}",
"public Project() {\n\t}",
"public void notifyNewProject(URI project) {\n\t\tDebug.log(\"Loading uninitialized project \", project);\n\t\tnotifyNewProjectFiles(new File(project));\n\t}",
"public void openProject(File pfile, FileOpenSelector files) { }",
"public static void newProject() {\n\n //create the arena representation\n //populateBlocks();\n //populateSensors();\n }",
"@Override\n\tpublic IProject getProject() {\n\t\treturn fProject;\n\t}",
"private static IProjectConfiguration loadFromPersistence(IProject project)\n throws CheckstylePluginException\n {\n IProjectConfiguration configuration = null;\n \n //\n // Make sure the files exists, it might not.\n //\n IFile file = project.getFile(PROJECT_CONFIGURATION_FILE);\n boolean exists = file.exists();\n if (!exists)\n {\n\n List checkConfigs = CheckConfigurationFactory.getCheckConfigurations();\n FileSet standardFileSet = new FileSet(Messages.SimpleFileSetsEditor_nameAllFileset,\n (ICheckConfiguration) checkConfigs.get(0));\n standardFileSet.getFileMatchPatterns().add(new FileMatchPattern(\".*\"));\n\n List fileSets = Arrays.asList(new Object[] { standardFileSet });\n return new ProjectConfiguration(project, null, fileSets, null, true);\n }\n \n InputStream inStream = null;\n try\n {\n inStream = file.getContents(true);\n \n ProjectConfigFileHandler handler = new ProjectConfigFileHandler(project);\n XMLUtil.parseWithSAX(inStream, handler);\n \n configuration = handler.getConfiguration();\n }\n catch (CoreException ce)\n {\n CheckstylePluginException.rethrow(ce);\n }\n catch (SAXException se)\n {\n Exception ex = se.getException() != null ? se.getException() : se;\n CheckstylePluginException.rethrow(ex);\n }\n catch (ParserConfigurationException pe)\n {\n CheckstylePluginException.rethrow(pe);\n }\n catch (IOException ioe)\n {\n CheckstylePluginException.rethrow(ioe);\n }\n \n finally\n {\n IOUtils.closeQuietly(inStream);\n }\n \n return configuration;\n }",
"public ApiProject() {\n super();\n }",
"public FinalProject() {\n initComponents();\n iconImage();\n }",
"public void createProject(Project newProject);",
"public static IProject projectForPath(IPath path) {\r\n \tIProject result = null;\r\n \tif (path != null) {\r\n \t\tIWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot();\r\n \t\tresult = root.getProject(path.segment(0));\r\n \t}\r\n \treturn result;\r\n }",
"public Project getProject()\n {\n \treturn project;\n }",
"public Project() {\n inputHandler = new DefaultInputHandler();\n }",
"@Before\n\tpublic void setUp() throws Exception {\n\t\tIWorkspaceDescription wsDescription = workspace.getDescription();\n\t\tif (wsDescription.isAutoBuilding()) {\n\t\t\twsDescription.setAutoBuilding(false);\n\t\t\tworkspace.setDescription(wsDescription);\n\t\t}\n\t\t\n\t\t// disable indexing\n\t\tDebugHelpers.disableIndexing();\n\t\t\n\t\t// Create a new project\n\t\trodinProject = createRodinProject(\"P\"); //$NON-NLS-1$\n\t}",
"public SystemPackagingTask() {\n super();\n exten = new SystemPackagingExtension();\n parentExten = getProject().getExtensions().findByType(ProjectPackagingExtension.class);\n\n if (parentExten != null) {\n getRootSpec().with(parentExten.getDelegateCopySpec());\n }\n }",
"public void loadIntoNW() throws LoadException {\n\t\tloadProgress = new LoadProgress2(targetModel.getFileSet().getRoot(), null);\n\t\trun();\n\t\tif (getException() != null) {\n\t\t\tthrow getException();\n\t\t}\n\t}",
"public void projectOpened() {\n initToolWindow();\n }",
"@Test\n \tpublic void testCreateMindProject() throws Exception {\n \t\tString name = \"Test\" ; //call a generator which compute a new name\n \t\tGTMenu.clickItem(\"File\", \"New\", FRACTAL_MIND_PROJECT);\n \t\tGTShell shell = new GTShell(Messages.MindProjectWizard_window_title);\n \t\t//shell.findTree().selectNode(\"Mind\",FRACTAL_MIND_PROJECT);\n \t\t//shell.findButton(\"Next >\").click();\n \t\tshell.findTextWithLabel(\"Project name:\").typeText(name);\n \t\tshell.close();\n \t\t\n \t\tTestMindProject.assertMindProject(name);\t\t\n \t}",
"public Project getProject() {\r\n return project;\r\n }",
"public Project getProject()\n {\n return project;\n }",
"public void loadFile() {\n\t\tFile file = fileChooser.showOpenDialog(stage);\n\t\t\n\t\tif(file != null && file.getName().endsWith(\".json\")) {\n\t\t\ttry {\n\t\t\t\t//Grab the json text from the supplied json file\n\t\t\t\tString projectJson = Files.readString(Path.of(file.getAbsolutePath()));\n\n\t\t\t\t//Deserialize the Json and construct the Project object\n\t\t\t\tProject project = gson.fromJson(projectJson, Project.class);\n\n\t\t\t\t//If project successfully instantiated, continue on\n\t\t\t\tif(project != null){\n\t\t\t\t\t//Set the current project file to the file opened\n\t\t\t\t\tprojectFile = file;\n\n\t\t\t\t\t//Grab the instruments list\n\t\t\t\t\tObservableList<Node> instrumentsList = instrumentList.getChildren();\n\n\t\t\t\t\t//Remove the instruments from the grid and the synth\n\t\t\t\t\tfor(int i = 0; i < instrumentsList.size(); i++ ){\n\t\t\t\t\t\tif(instrumentsList.get(i).getId() != \"btnAddInstrument\")\n\t\t\t\t\t\t\tremoveInstrument((Button) instrumentsList.get(i));\n\t\t\t\t\t}\n\n\t\t\t\t\t//Add each instrument and update its envelope\n\t\t\t\t\tfor(Project.ProjectInstrument projInstrument : project.getInstruments()) {\n\t\t\t\t\t\t//Only run for non-null instrument entries\n\t\t\t\t\t\tif(projInstrument != null){\n\t\t\t\t\t\t\tonAddInstrumentClick(null);\n\n\t\t\t\t\t\t\tsynth.setSelectedInstrument(synth.getInstrumentCount() - 1);\n\n\t\t\t\t\t\t\tToggleButton waveformButton = null;\n\n\t\t\t\t\t\t\tswitch(projInstrument.getWaveformID()){\n\t\t\t\t\t\t\t\tcase Instrument.SINE_WAVE:\n\t\t\t\t\t\t\t\t\twaveformButton = sineButton;\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\tcase Instrument.SQUARE_WAVE:\n\t\t\t\t\t\t\t\t\twaveformButton = squareButton;\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\tcase Instrument.TRIANGLE_WAVE:\n\t\t\t\t\t\t\t\t\twaveformButton = triangleButton;\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\tcase Instrument.SAW_WAVE:\n\t\t\t\t\t\t\t\t\twaveformButton = sawButton;\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t//Toggle the waveform in the UI\n\t\t\t\t\t\t\twaveformGroup.selectToggle(waveformButton);\n\n\t\t\t\t\t\t\t//Change it in the instrument\n\t\t\t\t\t\t\tchangeWaveform(waveformButton);\n\n\t\t\t\t\t\t\t//Grab the envelope data from the project instrument\n\t\t\t\t\t\t\tdouble[] envelopeData = projInstrument.getEnvelopeData();\n\n\t\t\t\t\t\t\t//Set the appropriate slider values in the UI\n\t\t\t\t\t\t\tattackSlider.setValue(envelopeData[Instrument.ATTACK_VALUE]);\n\t\t\t\t\t\t\tdecaySlider.setValue(envelopeData[Instrument.DECAY_VALUE]);\n\t\t\t\t\t\t\tsustainSlider.setValue(envelopeData[Instrument.SUSTAIN_VALUE]);\n\t\t\t\t\t\t\treleaseSlider.setValue(envelopeData[Instrument.RELEASE_VALUE]);\n\n\t\t\t\t\t\t\t//Update the instrument's envelope\n\t\t\t\t\t\t\tupdateEnvelope(0);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t//Grab the master volume from the project\n\t\t\t\t\tdouble masterVolume = project.getMasterVolume();\n\n\t\t\t\t\t//Change it in the UI\n\t\t\t\t\tvolumeSlider.setValue(masterVolume);\n\n\t\t\t\t\t//Update it in the synth\n\t\t\t\t\tchangeVolume(masterVolume);\n\n\t\t\t\t\t//Grab the BPM form the project and parse it as a string\n\t\t\t\t\tString bpm = String.valueOf(project.getBpm());\n\n\t\t\t\t\t//Set the BPM in the UI\n\t\t\t\t\tbpmLabel.setText(bpm);\n\n\t\t\t\t\t//Update it in the synth\n\t\t\t\t\tchangeBPM(bpm);\n\n\t\t\t\t\t//Unhighlight all notes\n\t\t\t\t\tchordsGrid.lookupAll(\".selected\").forEach(node -> {\n\t\t\t\t\t\tnode.getStyleClass().remove(\"selected\");\n\t\t\t\t\t});\n\n\t\t\t\t\t//Set the note frequencies from the project\n\t\t\t\t\tnoteFrequencies = project.getNoteFrequencies();\n\n\t\t\t\t\t//Highlight the selected notes and add them to the selectedNotes array\n\t\t\t\t\tfor(int i = 0; i < noteFrequencies.length; i++){\n\t\t\t\t\t\tif(noteFrequencies[i] > -1){\n\t\t\t\t\t\t\tint noteRow = 88 - Utils.Math.getKey(noteFrequencies[i]);\n\n\t\t\t\t\t\t\tfor(Node note : chordsGrid.getChildren()){\n\t\t\t\t\t\t\t\tInteger gridRow = GridPane.getRowIndex(note), gridCol = GridPane.getColumnIndex(note);\n\t\t\t\t\t\t\t\tif(gridRow != null && gridCol != null && GridPane.getRowIndex(note) == noteRow && GridPane.getColumnIndex(note) == i){\n\t\t\t\t\t\t\t\t\tnote.getStyleClass().add(\"selected\");\n\t\t\t\t\t\t\t\t\tselectedNotes[i] = (Button)note;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t//Reset the action log\n\t\t\t\t\tactionLog.emptyLog();\n\t\t\t\t}\n\t\t\t} catch (IOException ignored) {}\n\t\t}\n\t}",
"public ProjectsPage() {\n\t\tthis.driver = DriverManager.getDriver();\n\t\tElementFactory.initElements(driver, this);\n\t\t// sets the name of the project to add, with a random integer ending for slight\n\t\t// ease on multiple test runs\n\t\tnameOfProject = \"testz2018\" + (int) Math.random() * 500;\n\t}",
"private UnloadTestModelLoader() {\n registerProject(\"a\");\n registerProject(\"e\");\n registerProject(\"b\", \"e\");\n registerProject(\"c\");\n registerProject(\"d\");\n registerProject(\"f\");\n registerProject(\"p1\", \"a\", \"b\");\n registerProject(\"p2\", \"b\", \"c\");\n registerProject(\"p3\", \"b\", \"d\");\n registerProject(\"p4\", \"d\");\n }",
"private void loadProjects() {\n observableProjects.clear();\n dateFind.setValue(null);\n observableProjects.addAll(getProject());\n table.setItems(observableProjects);\n\n ControllersDataFactory.getLink().delete(CalendarController.class);\n }",
"public Project(String name) {\n this.name = name;\n }",
"public Project getProject() {\n return project;\n }",
"public Project getProject() {\n return project;\n }",
"public static void main(String[] args) {\n String dataDir = Utils.getDataDir(HandleExceptions.class);\n\n try {\n new Project(dataDir + \"project.mpp\");\n } catch (TasksReadingException ex) {\n System.out.print(\"Message: \");\n System.out.println(ex.getMessage());\n System.out.print(\"Log: \");\n System.out.println(ex.getLogText());\n\n if (ex.getCause() != null) {\n System.out.print(\"Inner exception message: \");\n System.out.println(ex.getCause().getMessage());\n }\n } catch (Exception e) {\n System.out.println(e.getMessage());\n }\n }",
"public void testNewJavaProject() {\n NewProjectWizardOperator.invoke().cancel();\n NewProjectWizardOperator npwo = NewProjectWizardOperator.invoke();\n // \"Standard\"\n String standardLabel = Bundle.getStringTrimmed(\"org.netbeans.modules.java.j2seproject.ui.wizards.Bundle\", \"Templates/Project/Standard\");\n npwo.selectCategory(standardLabel);\n // \"Java Application\"\n String javaApplicationLabel = Bundle.getStringTrimmed(\"org.netbeans.modules.java.j2seproject.ui.wizards.Bundle\", \"template_app\");\n npwo.selectProject(javaApplicationLabel);\n npwo.next();\n NewJavaProjectNameLocationStepOperator npnlso = new NewJavaProjectNameLocationStepOperator();\n npnlso.txtProjectName().setText(SAMPLE_PROJECT_NAME);\n npnlso.txtProjectLocation().setText(System.getProperty(\"netbeans.user\")); // NOI18N\n npnlso.btFinish().pushNoBlock();\n npnlso.getTimeouts().setTimeout(\"ComponentOperator.WaitStateTimeout\", 120000);\n npnlso.waitClosed();\n // wait project appear in projects view\n new ProjectsTabOperator().getProjectRootNode(SAMPLE_PROJECT_NAME);\n\n //disable the compile on save:\n ProjectsTabOperator.invoke().getProjectRootNode(SAMPLE_PROJECT_NAME).properties();\n // \"Project Properties\"\n String projectPropertiesTitle = Bundle.getStringTrimmed(\"org.netbeans.modules.java.j2seproject.ui.customizer.Bundle\", \"LBL_Customizer_Title\");\n NbDialogOperator propertiesDialogOper = new NbDialogOperator(projectPropertiesTitle);\n // select \"Compile\" category\n String buildCategoryTitle = Bundle.getStringTrimmed(\"org.netbeans.modules.java.j2seproject.ui.customizer.Bundle\", \"LBL_Config_BuildCategory\");\n String compileCategoryTitle = Bundle.getStringTrimmed(\"org.netbeans.modules.java.j2seproject.ui.customizer.Bundle\", \"LBL_Config_Build\");\n new Node(new Node(new JTreeOperator(propertiesDialogOper), buildCategoryTitle), compileCategoryTitle).select();\n // actually disable the quick run:\n String compileOnSaveLabel = Bundle.getStringTrimmed(\"org.netbeans.modules.java.j2seproject.ui.customizer.Bundle\", \"CustomizerCompile.CompileOnSave\");\n JCheckBox cb = JCheckBoxOperator.waitJCheckBox((Container) propertiesDialogOper.getSource(), compileOnSaveLabel, true, true);\n if (cb.isSelected()) {\n cb.doClick();\n }\n // confirm properties dialog\n propertiesDialogOper.ok();\n\n // wait classpath scanning finished\n PerfWatchProjects.waitScanFinished();\n }",
"@NotNull // or exception\r\n public static VirtualFile get_project_base_dir(final Project project) throws Exception {\n String project_path = project.getBasePath();\r\n if (project_path == null) {\r\n throw new Exception(\"Cannot detect the project base path\");\r\n }\r\n /*\r\n// boolean found = false;\r\n// String content_root_list = \"\";\r\n// // https://jetbrains.org/intellij/sdk/docs/reference_guide/project_model/project.html\r\n// List<String> content_roots = ProjectRootManager.getInstance(project).getContentRootUrls();\r\n// for (String content_root_path : content_roots) {\r\n// if (content_root_path.endsWith(project_path)) {\r\n// found = true;\r\n// }\r\n// content_root_list += \"[\" + content_root_path + \"]\";\r\n// }\r\n// if (!found) {\r\n// throw new Exception(\"Something is wrong with project structure.\\r\\nProject base path '\" + project_path + \"' not found among content roots:\\r\\n\" + content_root_list);\r\n// }\r\n */\r\n File file = new File(project_path);\r\n // https://intellij-support.jetbrains.com/hc/en-us/community/posts/360001957360-Get-file-from-path-to-have-a-virtual-file\r\n VirtualFile res = VfsUtil.findFileByIoFile(file, true);\r\n if (res == null) {\r\n throw new Exception(\"Cannot find project directory in virtual file system\");\r\n }\r\n return res;\r\n }",
"@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tnew ProjectView().init();\r\n\t\t\t}"
] | [
"0.7067433",
"0.66341275",
"0.61093885",
"0.6050248",
"0.5963828",
"0.586185",
"0.58464026",
"0.5819891",
"0.5715579",
"0.5686132",
"0.5658448",
"0.5624333",
"0.559578",
"0.55682325",
"0.5530129",
"0.5530129",
"0.5530129",
"0.54486406",
"0.5439315",
"0.5439005",
"0.5319287",
"0.5276038",
"0.5267415",
"0.5251674",
"0.52330077",
"0.5201458",
"0.5161165",
"0.51564217",
"0.51323336",
"0.5086473",
"0.5073608",
"0.50608087",
"0.5048487",
"0.50438297",
"0.50438297",
"0.502307",
"0.50203615",
"0.50027823",
"0.4991565",
"0.49734387",
"0.49641263",
"0.4944357",
"0.4938355",
"0.49376386",
"0.4935169",
"0.49314502",
"0.48968577",
"0.4862661",
"0.48505738",
"0.48463833",
"0.4845229",
"0.4835691",
"0.48135573",
"0.48037326",
"0.48010707",
"0.47989202",
"0.47958395",
"0.47937015",
"0.47898838",
"0.4789154",
"0.47795582",
"0.47780055",
"0.477034",
"0.47562784",
"0.47550163",
"0.47530302",
"0.47439265",
"0.47421932",
"0.4737463",
"0.4701536",
"0.4701536",
"0.46968523",
"0.4688615",
"0.46664214",
"0.4661528",
"0.46598187",
"0.4653635",
"0.4652529",
"0.46491972",
"0.4637041",
"0.46328884",
"0.46295485",
"0.46274805",
"0.46243158",
"0.46147758",
"0.46125728",
"0.46055713",
"0.46027255",
"0.45916894",
"0.45821893",
"0.45799932",
"0.45719388",
"0.45717624",
"0.45638117",
"0.45637974",
"0.45637974",
"0.4562436",
"0.455807",
"0.45517018",
"0.4551117"
] | 0.62613386 | 2 |
Set the tern file manager. | public void setFileManager(TernFileManager<T> fileManager) {
this.fileManager = fileManager;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public TernFileManager<T> getFileManager() {\r\n\t\treturn fileManager;\r\n\t}",
"public FileIOManager() {\n\t\tthis.reader = new Reader(this);\n\t\tthis.writer = new Writer(this);\n\t}",
"public void setManager(String manager) {\n this.manager = manager;\n }",
"public void setManager(String manager)\r\n {\r\n m_manager = manager;\r\n }",
"private void setFile() {\n\t}",
"public void setManager(OtmModelManager modelManager) {\n this.modelManager = modelManager;\n }",
"public static void setupFiles(FileManagerUtil fm) {\n fileManagerUtil = fm;\n Files.CONFIG.load(fm);\n Files.PERMISSIONS.load(fm);\n Files.DATA.load(fm);\n Files.DEBUG.load(fm);\n Files.MESSAGES.load(fm);\n }",
"public void setTableMgr(TableMgr tablMgr);",
"public void setTransactionManager(Object transactionManager)\n\t{\n\t\tthis.transactionManager = transactionManager;\n\t}",
"public void setTransactionManager(Object txnMgr) {\r\n \r\n // RB: At this stage not exposing TransactionManager to \r\n // the public API and hence the Object type and casting here\r\n \r\n this.transactionManager = (TransactionManager) txnMgr;\r\n this.dataSource = transactionManager.getDataSource();\r\n this.serverName = transactionManager.getServerName();\r\n }",
"public FileManagerController() {\n fileSystemView = FileSystemView.getFileSystemView();\n desktop = Desktop.getDesktop();\n previewFactory = new PreviewFactory();\n initView();\n }",
"@Override\n\tpublic void setMgr(Integer mgr) {\n\t\tsuper.setMgr(mgr);\n\t}",
"public void setFile(File f) { file = f; }",
"protected final void replaceManager(final T manager) {\n this.writeLock.lock();\n try {\n final T old = this.getManager();\n if (!manager.isRunning()) {\n manager.startup();\n }\n this.manager = manager;\n old.close();\n } finally {\n this.writeLock.unlock();\n }\n }",
"public void setConfigManager(ConfigManager configManager) {\n\t\tthis.configManager = configManager;\n\t}",
"void setVendorManagerFilePath(Path vendorManagerFilePath);",
"@Override\n public void setFile(File f) {\n \n }",
"void setDirectory(File dir);",
"public void setManager(String manager) {\n\n if (manager.isEmpty()) {\n\n System.out.println(\"Manager must not be empty\");\n /**\n * If Owner manager is ever an empty String, a NullPointerException will be thrown when the\n * listings are loaded in from the JSON file. I believe this is because the JSON parser we're\n * using stores empty Strings as \"null\" in the .json file. TODO this fix is fine for now, but\n * I want to make it safer in the future.\n */\n this.manager = \" \";\n } else {\n\n this.manager = manager;\n }\n }",
"public void setTree(MyTree t) {\r\n\t\ttree = t;\r\n\t}",
"public FileIOManager(Conscientia conscientia) {\n\t\tthis.reader = new Reader(this);\n\t\tthis.writer = new Writer(this);\n\t\tthis.conscientia = conscientia;\n\t}",
"public void setTempFileManagerFactory(TempFileManagerFactory tempFileManagerFactory) {\n\t\tthis.tempFileManagerFactory = tempFileManagerFactory;\n\t}",
"public void setTransactionManager(TransactionManager tm)\n {\n _tm = tm;\n }",
"public void setDocumentManager( OntDocumentManager docMgr ) {\n m_docManager = docMgr;\n }",
"public final void setFilesystemObject( Object filesysObj) {\n \tm_filesysObj = filesysObj;\n }",
"public void setFile(File file);",
"public void testSetTnc() {\n System.out.println(\"setTnc\");\n \n LocalFileTransferNamesAndCommandsGet tnc = null;\n LocalFileState instance = new LocalFileState();\n \n instance.setTnc(tnc);\n \n // TODO review the generated test code and remove the default call to fail.\n fail(\"The test case is a prototype.\");\n }",
"public FileManager() {\n\t\t\n\t}",
"public void setBrowserMgr (IBrowserManager theMgr) {\n this.theBrowserMgr = theMgr;\n }",
"public void setDraftFileManager(DraftFileManager initDraftFileManager) {\n draftFileManager = initDraftFileManager;\n }",
"public void setFileType(TFileType type) {\n\n\t\tthis.type = type;\n\t}",
"public void setTool(Tool t) {\n\ttool = t;\n }",
"public final void setManager(ExportWorkerManager manager) {\n this.manager = manager;\n }",
"public static void setResourceManager (final ResourceManager rm)\n {\n resourceManager = rm;\n }",
"void setManageMeFilePath(Path manageMeFilePath);",
"public Manager(String filePath){\n\t\tthis.filePath = filePath;\n\t}",
"public void setTimeManager(TimeManager timeManager) {\n\t\tassert (timeManager != null);\n\t\tthis.timeManager = timeManager;\n\t}",
"public void setDir(File dir) {\n this.dir = dir;\n }",
"public void setGUIManager(GUIManager guiManager)\r\n {\r\n mGUIManager = guiManager;\r\n }",
"private FileManager() {}",
"public void setModelManager( ModelManager modelManager ) {\n this.modelManager = modelManager;\n }",
"void setNewFile(File file);",
"public void setTestbedManager(final TestbedController testbedManager) {\n this.testbedManager = testbedManager;\n }",
"public void setPanierManager(IPanierService panierManager) {\r\n\t\tthis.panierManager = panierManager;\r\n\t}",
"@Autowired\n final void setManager(ExportWorkerManager manager) {\n this.manager = manager;\n }",
"void setFile(String i) {\n file = i;\n }",
"public void setManager(ActivityManager manager) {\n this.manager = manager;\n }",
"@Override\n public GenericManager<TraitementCourrier, Long> getManager() {\n return manager;\n }",
"public ZCategoryManager(TFileManeger fm) {\r\n\t\tsuper();\r\n\t\tthis.fm = fm;\r\n\t}",
"public void setDir(File dir)\n {\n this.dir = dir;\n }",
"public FVTreeManager() {\n mgrModels =\n new EnumMap<TreeTypeEnum, TreeManagementModel>(\n TreeTypeEnum.class);\n for (TreeTypeEnum type : TreeTypeEnum.values()) {\n mgrModels.put(type, new TreeManagementModel());\n }\n\n searchBuilder = new SearchTreeBuilder();\n }",
"public void setTransactionManager(\n\t\t\tPlatformTransactionManager transactionManager) {\n\t\tthis.transactionManager = transactionManager;\n\t}",
"public void setAntFile( File f )\n {\n this.antFile = f;\n }",
"public void setTreeBuffer(TreeBuffer tb) {\r\n\t\t_tb = tb;\r\n\t\t_sortColumn = 0;\r\n\t\t_sortDir = TreeBuffer.SORT_ASC;\r\n\t\t_clickSortColumn = -1;\r\n\t\tif (_sortPathDir != TreeBuffer.SORT_ANY)\r\n\t\t\t_sortPathDir = TreeBuffer.SORT_ASC;\r\n\t}",
"public FileSystemManager getVFS();",
"protected void setManusia(T Manusia){\r\n this.Manusia = Manusia;\r\n }",
"public void setUnitCalculator(UnitCalculator calculator)\n {\n int nType = (calculator == null ? UNIT_CALCULATOR_FIXED\n : UNIT_CALCULATOR_EXTERNAL);\n configureUnitCalculator(nType, calculator);\n }",
"@Contract(pure = true)\n public FileActions(final MimaUserInterface mimaUI, final MimaEditorManager editorManager) {\n this.mimaUI = mimaUI;\n this.editorManager = editorManager;\n }",
"public void setEntityManager(AV3DEntityManager entityManager) {\n\t}",
"private void setLabtainersDir() throws IOException{\n String newLabtainersPath = LabtainersDirTextfield.getText();\n \n // check if labtainers path exist\n if(new File(newLabtainersPath).isDirectory()){\n pathValidLabel.setVisible(false);\n \n FileOutputStream out = new FileOutputStream(iniFile);\n writeValueToINI(out, \"labtainersPath\", newLabtainersPath);\n\n labtainerPath = newLabtainersPath;\n updateLabtainersPath();\n \n LabtainersDirDialog.setVisible(false);\n }\n else{\n pathValidLabel.setVisible(true);\n } \n }",
"void set(File local,String name,UserFileType ft)\n{\n user_file = local;\n if (user_file != null && (name == null || name.length() == 0)) \n name = user_file.getName();\n if (name.startsWith(\"/s6/\")) {\n name = name.substring(4);\n }\n else if (name.startsWith(\"s:\")) {\n name = name.substring(2);\n }\n access_name = name;\n file_mode = ft;\n}",
"public void setDir(File dir) throws Exception\n {\n this.dir = dir;\n }",
"public final T getManager() {\n return this.manager;\n }",
"static public void setDatasetManager(DatasetManager _datasetManager) {\n datasetManager = _datasetManager;\n }",
"public void setEventManager(GameEventManager eventManager) {\n this.eventManager = eventManager;\n }",
"public void setTreeNode(TreeNode treeNode) {\n this.treeNode = treeNode;\n }",
"public void setTree(Tree tree) {\n this.tree = tree;\n }",
"@Test\n\tpublic void testSetFileInfo() {\n\n\t}",
"public void setDir( final File dir )\n {\n m_dir = dir;\n }",
"@Override\r\n\tpublic void setContext(FileUtilContext context) throws FileSystemUtilException {\r\n\t\tthis.hostname = context.getHostname();\r\n\t\tthis.username = context.getUsername();\r\n\t\tthis.port = context.getPort();\r\n\t\tthis.readTimeOut = context.getReadTimeOut();\r\n\t\tthis.password = context.getPassword();\r\n\t\tthis.remoteFilePath = context.getRemoteFilePath();\r\n\t\tthis.localFilePath = context.getLocalFilePath();\r\n\t}",
"public static void registerFilesystemSeverExplorerManager(Class clazz) {\n\t\tgetInstance().register(FILESYSTEMSERVEREXPLORERE_MANAGER_NAME,\n\t\t\t\tFILESYSTEMSERVEREXPLORERE_MANAGER_DESCRIPTION,\n\t\t\t\tclazz);\n\t}",
"private void setTextEditor() throws FileNotFoundException, IOException{\n String newTextEditor = TextEditorTextfield.getText(); \n \n //TODO: Include validation check to see it the file editor is proper program \n FileOutputStream out = new FileOutputStream(iniFile);\n writeValueToINI(out, \"textEditor\", newTextEditor);\n\n textEditorPref = newTextEditor;\n \n TextEditorDialog.setVisible(false);\n }",
"protected final void setFileInformation( FileInfo fInfo) {\n\t\tm_info = fInfo;\n\t}",
"public void setFile(IFile file) {\n _file = file;\n }",
"public void setJoinManager( JoinManager mgr ) {\n\t\tthis.mgr = mgr;\n\t}",
"void setModules(Set<File> modules);",
"public StringFileManager() {\r\n\t\t// TODO Auto-generated constructor stub\r\n\t}",
"protected void setOwner(T owner) {\n this.owner = owner;\n }",
"protected void setWorkingDirectory(File dir) {\n\t\tthis.dir = dir;\n\t}",
"public void setManager(ActivityManager manager) {\r\n this.manager = manager;\r\n manager.add(this);\r\n }",
"public synchronized String getManager()\r\n {\r\n return manager;\r\n }",
"public String getManager() {\n return manager;\n }",
"public void setFileType(FileType typ) {\n fileType = typ;\n }",
"private void setTree() throws IOException {\n TreeItem<File> root = new TreeItem<>();\n dirFolders.setRoot(buildTree(model.DirectoryManager.getTree(), root));\n dirFolders.setRoot(root.getChildren().get(0));\n\n // format cellFactory\n // we want to show file name in UI although treeView stores File object\n // Add directory logo if the file is a directory\n // Add photo thumbnail if the file is a photo\n dirFolders.setCellFactory(\n new Callback<TreeView<File>, TreeCell<File>>() {\n @Override\n public TreeCell<File> call(TreeView<File> param) {\n return new TreeCell<File>() {\n @Override\n protected void updateItem(File item, boolean empty) {\n super.updateItem(item, empty);\n if (item != null) {\n if (item.isDirectory()) {\n setGraphic(\n new ImageView(\n new Image(getClass().getResourceAsStream(\"/views/folder.png\"))));\n setDisclosureNode(null);\n File[] fileList = item.listFiles();\n if (fileList != null) {\n if (fileList.length == 0) {\n setDisable(true);\n }\n }\n } else {\n ImageView image = new ImageView(\"File:\" + item.getPath());\n image.setFitHeight(32);\n image.setFitWidth(36);\n setGraphic(image);\n }\n setText(item.getName());\n }\n }\n };\n }\n });\n\n // handle onClickAction\n dirFolders\n .getSelectionModel()\n .selectedItemProperty()\n .addListener(\n (observable, oldValue, newValue) -> {\n if (!dirFolders.getSelectionModel().getSelectedItem().getValue().isDirectory()) {\n model.User.setPhoto(\n model.PhotoManager.getPhoto(\n dirFolders.getSelectionModel().getSelectedItem().getValue().getPath()));\n try {\n loadNextScene(rootPane, \"/views/focusPhotoPane.fxml\");\n } catch (IOException e) {\n e.printStackTrace();\n }\n } else {\n Stage curStage = (Stage) rootPane.getScene().getWindow();\n File selectedDirectory =\n dirFolders.getSelectionModel().getSelectedItem().getValue();\n if (selectedDirectory != null) {\n Directory dir =\n DirectoryManager.getCurrentDirectory(selectedDirectory.getPath());\n if (dir != null) {\n model.User.setGalleryPhotos(dir.getPhotos());\n fadeOutEvent();\n }\n } else {\n curStage.show();\n }\n }\n });\n }",
"@Override\r\n\t\tpublic void setDir(String dir)\r\n\t\t\t{\n\t\t\t\t\r\n\t\t\t}",
"public void setFile(String fileName)\n {\n }",
"public abstract void setEntityManager(EntityManager em);",
"public void setTap(String pathname) throws IOException {\n if (null != _tapStreamOut) {\n FileOutputStream closingStream = _tapStreamOut;\n _tapStreamOut = null;\n closingStream.close();\n }\n if (null != _tapStreamIn) {\n FileOutputStream closingStream = _tapStreamIn;\n _tapStreamIn = null;\n closingStream.close();\n }\n if (pathname != null && pathname.length() > 0) {\n _tapStreamOut = new FileOutputStream(new File(pathname + \"_out\"));\n _tapStreamIn = new FileOutputStream(new File(pathname + \"_in\"));\n if (Log.isLoggable(Log.FAC_NETMANAGER, Level.INFO)) Log.info(Log.FAC_NETMANAGER, formatMessage(\"Tap writing to {0}\"), pathname);\n }\n }",
"public void setRequestManager(RequestManager manage) {\n this.requestManager = manage;\n startScheduledTasks(false);\n }",
"public static void setOldTree(RootedTree t) {\r\n\t\tsetOldNewickString(createNewickString(t)); // Added by Madhu, it is where I save the newick\r\n\t\t// string for the uploaded tree.\r\n\t\tSystem.out.println(\"OLD NODE:\" + getOldNewickString());\r\n\t\toldTree = t;\r\n\t}",
"public void setEditor(TreeTableCellEditor treeTableCellEditor) {\n checkAccessThread();\n \n // ensure we can find the view column index of the hierarchical column\n final int viewColumnIndex = table.convertColumnIndexToView(hierarchyColumnModelIndex);\n if (viewColumnIndex == -1)\n throw new IllegalArgumentException(\"Unable to locate a view index for the given model index: \" + hierarchyColumnModelIndex);\n \n // look up the hierarchical TableColumn\n final TableColumn viewColumn = table.getColumnModel().getColumn(viewColumnIndex);\n \n // dispose the old editor\n this.treeTableCellEditor.dispose();\n \n // install the new editor\n this.treeTableCellEditor = treeTableCellEditor;\n treeTableCellEditor.setShowExpanderForEmptyParent(showExpanderForEmptyParent);\n viewColumn.setCellEditor(treeTableCellEditor);\n }",
"public void setTreeModel(HierarchicalConfiguration treeModel)\n {\n this.treeModel = treeModel;\n }",
"@Override\r\n public GenericManager<ViewListeEleve, Long> getManager() {\r\n return manager;\r\n }",
"@PersistenceContext(unitName = \"persistenceUnit\", type = PersistenceContextType.TRANSACTION)\n public void setEntityManager(EntityManager entityManager) {\n Helper.checkNull(entityManager, \"entityManager\");\n this.entityManager = entityManager;\n }",
"public void setOfficeManager(OfficeManager officeManager) {\n\t\tthis.officeManager = officeManager;\n\t}",
"public void setLockoutManager(@Nullable final AccountLockoutManager manager) {\n checkSetterPreconditions();\n lockoutManager = manager;\n }",
"public void setTypeface(Typeface tf) {\n mTypeface = tf;\n }",
"public void setFile(File file)\n {\n this.file = file;\n }",
"public GUIManager getManager(){\n\t\treturn manager;\n\t}",
"public GUIManager getManager(){\n\t\treturn manager;\n\t}"
] | [
"0.69240314",
"0.5936387",
"0.57797277",
"0.57630605",
"0.5736344",
"0.5658925",
"0.56549984",
"0.56498545",
"0.551387",
"0.5476838",
"0.5475209",
"0.5473063",
"0.5451022",
"0.5426948",
"0.5379898",
"0.5358604",
"0.53490853",
"0.5346322",
"0.5343523",
"0.5305061",
"0.5304129",
"0.5291781",
"0.5287677",
"0.5268033",
"0.52656645",
"0.5198615",
"0.5197317",
"0.5177449",
"0.5168878",
"0.51532626",
"0.511431",
"0.51075107",
"0.51008254",
"0.5100377",
"0.5094386",
"0.50885546",
"0.5080968",
"0.5077678",
"0.506137",
"0.5028333",
"0.50010103",
"0.4987564",
"0.49646568",
"0.4955004",
"0.4948446",
"0.49443442",
"0.4933007",
"0.48992467",
"0.48914552",
"0.48875007",
"0.48805475",
"0.48610952",
"0.48610651",
"0.48344207",
"0.48120454",
"0.48102206",
"0.4791054",
"0.4790116",
"0.47807547",
"0.47714317",
"0.47657782",
"0.4764873",
"0.47581396",
"0.47566673",
"0.47560036",
"0.47535306",
"0.47491786",
"0.47354424",
"0.4717263",
"0.4715861",
"0.4713881",
"0.47078606",
"0.47073144",
"0.47058538",
"0.4705402",
"0.46944484",
"0.46926954",
"0.4690209",
"0.4683522",
"0.46801537",
"0.46773815",
"0.46746624",
"0.46726927",
"0.46717906",
"0.46663105",
"0.46658978",
"0.4665717",
"0.46648094",
"0.46586245",
"0.46475658",
"0.46371916",
"0.46361235",
"0.4633354",
"0.46311265",
"0.46272632",
"0.46267748",
"0.4622107",
"0.46194565",
"0.461829",
"0.461829"
] | 0.8087133 | 0 |
Returns the setted tern file manager and null otherwise. | public TernFileManager<T> getFileManager() {
return fileManager;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setFileManager(TernFileManager<T> fileManager) {\r\n\t\tthis.fileManager = fileManager;\r\n\t}",
"public synchronized String getManager()\r\n {\r\n return manager;\r\n }",
"public String getManager() {\n return manager;\n }",
"public final T getManager() {\n return this.manager;\n }",
"public String getManager()\r\n {\r\n return (m_manager);\r\n }",
"public String getmanager() {\n\t\treturn _manager;\n\t}",
"public String getManager() {\n\n return this.manager;\n }",
"public DraftFileManager getDraftFileManager() {\n return draftFileManager;\n }",
"public ExplorerManager getExplorerManager() {\n return ExplorerManager.find(this);\n //return manager;\n }",
"public ContentManager getManager() {\r\n\t\treturn manager;\r\n\t}",
"@Override\n public GenericManager<TraitementCourrier, Long> getManager() {\n return manager;\n }",
"@Override\r\n public GenericManager<ViewListeEleve, Long> getManager() {\r\n return manager;\r\n }",
"public final Object getFilesystemObject() {\n \treturn m_filesysObj;\n }",
"public Manager getManager() {\n return this.manager;\n }",
"public static FileManager getInstance()\n {\n if(instance==null)\n {\n\n instance = new FileManager();\n instance.initializeReader();\n return instance;\n }\n else\n {\n instance.initializeReader();\n return instance;\n }\n }",
"public ExecutionManager getManager() {\n return manager;\n }",
"@Override\r\n public GenericManager<TraitSalaire, Long> getManager() {\r\n return manager;\r\n }",
"public GUIManager getManager(){\n\t\treturn manager;\n\t}",
"public GUIManager getManager(){\n\t\treturn manager;\n\t}",
"public FileSystemManager getVFS();",
"public ExplorerManager getExplorerManager();",
"public String getManager()\n {\n return (String) getProperty(PropertyIDMap.PID_MANAGER);\n }",
"Manager getManager() {\n return Manager.getInstance();\n }",
"Manager getManager() {\n return Manager.getInstance();\n }",
"Manager getManager() {\n return Manager.getInstance();\n }",
"public T getUserManager() {\n\t\treturn userManager;\n\t}",
"@Override\n public GenericManager<Societe, Long> getManager() {\n return manager;\n }",
"protected TransactionManager getTransactionManager()\n {\n if (getTransactionIntegration() != null)\n return getTransactionIntegration().getTransactionManager();\n\n return null;\n }",
"public LockManager getLockManager(SrvSession sess, TreeConnection tree) {\n \n // Return the file state lock manager\n \n return _lockManager;\n }",
"public static FilesystemServerExplorerManager getFilesystemServerExplorerManager()\n\t\t\tthrows LocatorException {\n\t\treturn (FilesystemServerExplorerManager) getInstance().get(\n\t\t\t\tFILESYSTEMSERVEREXPLORERE_MANAGER_NAME);\n\t}",
"private PersistenceManager getPersistenceManager() {\n if(pmf==null) {\n getFacetHolder().getServiceInjector().injectServicesInto(this);\n }\n return pmf.getPersistenceManagerFactory().getPersistenceManager();\n }",
"public ConfigManager getConfigManager ()\n {\n return cfgmgr;\n }",
"@Nullable\n public VastWrapperXmlManager getWrapperXmlManager() {\n Node firstMatchingChildNode = XmlUtils.getFirstMatchingChildNode(this.mAdNode, \"Wrapper\");\n if (firstMatchingChildNode != null) {\n return new VastWrapperXmlManager(firstMatchingChildNode);\n }\n return null;\n }",
"public JtxTransactionManager getJtxManager() {\n\t\treturn requireStarted(jtxManager);\n\t}",
"File getRootDir() {\n\t\treturn rootDirFile;\n\t}",
"public String getasstMgr() {\n\t\treturn _asstMgr;\n\t}",
"private static PersistenceManager getPersistenceManager() {\n\t\treturn PMF.get().getPersistenceManager();\n\t}",
"@Test\n public void getManager_ReturnsNonNullManager() {\n final DiffRequestManager diffRequestManager = mDiffRequestManagerHolder.getManager(TEST_TAG);\n\n // Then\n assertThat(diffRequestManager, notNullValue());\n }",
"@objid (\"5a81312d-b468-431f-a3e3-d729280a79c4\")\r\n public File getCurrentFile() {\r\n String nomFichier = this.text.getText();\r\n if ((nomFichier != null) && (nomFichier.length() != 0)) {\r\n this.currentFile = new File(nomFichier);\r\n } else {\r\n this.currentFile = null;\r\n }\r\n return this.currentFile;\r\n }",
"public File getRetrieveRoot() {\n return retrieveRoot;\n }",
"public FileObject getStarterObject() {\n return starterDir;\n }",
"protected String getCurrentTestedModuleFile() {\n\t\treturn null;\n\t}",
"public ObjectManager getObjectManager() {\n\treturn this.objectManager;\n }",
"public FileManagerController() {\n fileSystemView = FileSystemView.getFileSystemView();\n desktop = Desktop.getDesktop();\n previewFactory = new PreviewFactory();\n initView();\n }",
"@Override\r\n \tpublic File getWorkspace() {\n \t\treturn null;\r\n \t}",
"public FileSystemTokenStore fileSystem() {\n return this.fileSystem;\n }",
"public FileSystem getDefaultFileSystem () {\n return system;\n }",
"public ClassManager getClassManager()\n {\n return this.classManager;\n }",
"private TransactionManager obtainTransactionManager()\n {\n TransactionManager tm = ec.getNucleusContext().getJtaTransactionManager();\n if (tm == null)\n {\n throw new NucleusTransactionException(LOCALISER.msg(\"015030\"));\n }\n else\n {\n return tm;\n }\n }",
"public TemplateManager getTemplateManager() {\n return this.templates;\n }",
"@Override\r\n public GenericManager<LigneReponseDP, Long> getManager() {\r\n return manager;\r\n }",
"public final PersistenceManager getPersistenceManager (){\n//\t\tSystem.out.println (\"returning persistent manager for properties \"+\tthis._dataStoreEnvironment.getDataStoreProperties ());\n\t\treturn this.pm;\n\t}",
"public File getRessourceFile() {\r\n\t\treturn local;\r\n\t}",
"public File getRoot() {\n return this.root;\n }",
"public Object getTransactionManager()\n\t{\n\t\treturn transactionManager;\n\t}",
"public ConfigManager getConfigManager() {\n\t\treturn configManager;\n\t}",
"public FileSystem getFileSystem() {\n return installBase.getFileSystem();\n }",
"public File mo12778a() {\n File externalCacheDir = context.getExternalCacheDir();\n if (externalCacheDir == null) {\n return null;\n }\n String str = str;\n return str != null ? new File(externalCacheDir, str) : externalCacheDir;\n }",
"public Actor getManager() {\n return ActorDao.getActorByRefId(getManagerRefId());\n }",
"protected FileSystem getFileSystem() {\n return _fileSystem;\n }",
"private javax.swing.JTextField getTxtFile() {\r\n\tif (ivjTxtFile == null) {\r\n\t\ttry {\r\n\t\t\tivjTxtFile = new javax.swing.JTextField();\r\n\t\t\tivjTxtFile.setName(\"TxtFile\");\r\n\t\t\t// user code begin {1}\r\n\t\t\t// user code end\r\n\t\t} catch (java.lang.Throwable ivjExc) {\r\n\t\t\t// user code begin {2}\r\n\t\t\t// user code end\r\n\t\t\thandleException(ivjExc);\r\n\t\t}\r\n\t}\r\n\treturn ivjTxtFile;\r\n}",
"public NodeManager getNodeManager() {\n return nodeMgr;\n }",
"@Pure\n\tprotected ImportManager getImportManager() {\n\t\treturn this.importManager;\n\t}",
"public String getCurrentTsoPath() {\n return currentTsoPath;\n }",
"public File getProgramTbLoadersDir() {\n return pathsProvider.getProgramTbLoadersDir();\n }",
"public FileSystem getFileSystem() {\n return fs;\n }",
"public TFileStorageType getFileStorageType() {\n\n\t\treturn fileStorageType;\n\t}",
"@Override\n public FileObject getPersistenceXml()\n {\n FileObject location = locationProvider.getLocation();\n if (location == null)\n {\n return null;\n }\n return location.getFileObject(\"persistence.xml\"); // NOI18N\n \n }",
"private EntityManager getEM() {\n\t\tif (emf == null || !emf.isOpen())\n\t\t\temf = Persistence.createEntityManagerFactory(PUnit);\n\t\tEntityManager em = threadLocal.get();\n\t\tif (em == null || !em.isOpen()) {\n\t\t\tem = emf.createEntityManager();\n\t\t\tthreadLocal.set(em);\n\t\t}\n\t\treturn em;\n\t}",
"public ResourceManager getResourceManager ()\n {\n return _rsrcmgr;\n }",
"public FormulaManager getFormulaManager()\n\t{\n\t\treturn fm;\n\t}",
"public static DALFileLocator getInstance() {\n\t\treturn instance;\n\t}",
"public ActivityManager getManager() {\r\n return manager;\r\n }",
"TreeStorage getTreeStorage();",
"public OfficeManager getOfficeManager() {\n\t\treturn officeManager;\n\t}",
"public HackerFile getHackerFile(){\n return(hackerFile);\n }",
"public File getPersonFilePath() {\n Preferences prefs = Preferences.userNodeForPackage(LivrariaPrincipal.class);\n String filePath = prefs.get(\"filePath\", null);\n if (filePath != null) {\n return new File(filePath);\n } else {\n return null;\n }\n }",
"public static SubManager get() {\n if (subManager==null){\n throw new RuntimeException(\"Error Occurred\");\n }\n else{\n return subManager;\n }\n }",
"@Size(max=4)\n\t@Override\n\tpublic Integer getMgr() {\n\t\treturn super.getMgr();\n\t}",
"public GuiStem getGuiFolderWithSettings() {\n if (this.grouperObjectTypesAttributeValue == null) {\n return null;\n }\n \n String stemId = this.grouperObjectTypesAttributeValue.getObjectTypeOwnerStemId();\n Stem stem = GrouperDAOFactory.getFactory().getStem().findByUuid(stemId, false);\n \n if (stem == null) {\n return null;\n }\n \n return new GuiStem(stem);\n }",
"public File getConfigFile() {\r\n\t\treturn new File(homeDir, \"tacos.config\");\r\n\t}",
"@Override\r\n\t\tpublic String getDir()\r\n\t\t\t{\n\t\t\t\treturn null;\r\n\t\t\t}",
"public edu.umich.icpsr.ddi.FileTypeType getFileType()\n {\n synchronized (monitor())\n {\n check_orphaned();\n edu.umich.icpsr.ddi.FileTypeType target = null;\n target = (edu.umich.icpsr.ddi.FileTypeType)get_store().find_element_user(FILETYPE$8, 0);\n if (target == null)\n {\n return null;\n }\n return target;\n }\n }",
"public HierarchyManager getHierarchyManager() {\n return hierMgr;\n }",
"public static String getSextantePath() {\n\n return m_sSextantePath;\n\n }",
"public DTM getGlobalRTFDTM(){\n if(m_global_rtfdtm==null||m_global_rtfdtm.isTreeIncomplete()){\n m_global_rtfdtm=(SAX2RTFDTM)m_dtmManager.getDTM(null,true,null,false,false);\n }\n return m_global_rtfdtm;\n }",
"public String getTableFile() \n\t{\n\t return tableFile ;\n\t}",
"protected File getCurrentDocument() {\n\n return (File)stage.getProperties().get(GlobalConstants.CURRENT_DOCUMENT_PROPERTY_KEY);\n }",
"@Override\r\n \tpublic File getWorkspace(String subspace) {\n \t\treturn null;\r\n \t}",
"public VMFile getFile() {\n return this.file;\n }",
"protected File getFreeTask() {\n for (File task : tasks) {\n boolean isFree = true;\n for (EvaluatorHandle handle : evaluations) {\n if (handle.getTask() == task) {\n isFree = false;\n break;\n }\n }\n if (isFree) {\n return task;\n }\n }\n return null;\n }",
"public static synchronized Manager getInstance() throws FileNotFoundException, IOException {\n\t\tif ( manager == null )\n\t\t\tmanager = new Manager(DEFAULT_CONFIGURATION_FILE, DEFAULT_LOG4J_FILE);\n\n\t\treturn manager;\n\t}",
"public String getHintsFile() {\n return hintsFile;\n }",
"public FileManager() {\n\t\t\n\t}",
"public final FileInfoBase getFileInfo() {\r\n return fileInfo;\r\n }",
"File getRootDirectory() \t\t{ return cvs_root; }",
"public File getFile() {\n return this.path != null ? this.path.toFile() : null;\n }",
"public static EntityManager getEntityManager() {\n EntityManager em = tl.get();\n return em;\n }",
"public static SettingsManager getSettingsManager() {\r\n\t\tif (settingsManager == null) {\r\n\t\t\tsettingsManager = new SettingsManager();\r\n\t\t}\r\n\t\treturn settingsManager;\r\n\t}",
"@Override\n\tpublic IHFModuleLocalManager getHFModuleLocalManager() {\n\t\tLog.d(\"HFModuleManager\", \"getHFModuleLocalManager\");\n\t\tif (moduellocalmanager == null) {\n\t\t\tmoduellocalmanager = new HFModuleLocalManager(localBeatSocket);\n\t\t}\n\t\treturn moduellocalmanager;\n\t}"
] | [
"0.6243316",
"0.61320245",
"0.604685",
"0.60181683",
"0.59858453",
"0.5975723",
"0.5875408",
"0.5722723",
"0.5689542",
"0.5684058",
"0.56504506",
"0.5628172",
"0.56235456",
"0.5614991",
"0.5591444",
"0.55379903",
"0.552198",
"0.5513572",
"0.5513572",
"0.55099535",
"0.5489695",
"0.5464845",
"0.5432196",
"0.5432196",
"0.5432196",
"0.5392008",
"0.53849626",
"0.5363381",
"0.5358004",
"0.53398186",
"0.53366345",
"0.53266704",
"0.5289196",
"0.5288694",
"0.52822006",
"0.5251046",
"0.5240183",
"0.5231868",
"0.5201668",
"0.5201554",
"0.51888007",
"0.51883876",
"0.518334",
"0.51769227",
"0.5173148",
"0.5158266",
"0.51535916",
"0.51499593",
"0.5134892",
"0.51309407",
"0.51257974",
"0.5116517",
"0.51032937",
"0.50950235",
"0.5086531",
"0.5085147",
"0.50799537",
"0.5079233",
"0.5066751",
"0.5056487",
"0.5055478",
"0.50526714",
"0.5047096",
"0.5032478",
"0.50175476",
"0.5010998",
"0.5008435",
"0.5002553",
"0.5002483",
"0.4992952",
"0.49921575",
"0.49868256",
"0.49829727",
"0.49740964",
"0.49679926",
"0.49616307",
"0.49569422",
"0.4956484",
"0.49554297",
"0.49503267",
"0.49493867",
"0.4944591",
"0.49431136",
"0.49302748",
"0.49267364",
"0.4921124",
"0.4919168",
"0.49183846",
"0.4914687",
"0.49121466",
"0.49046135",
"0.4902978",
"0.49010554",
"0.48978654",
"0.48888865",
"0.48876542",
"0.48870277",
"0.4881242",
"0.48803413",
"0.48802266"
] | 0.74858135 | 0 |
////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////// Database Handling ///////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////// | public static DatabaseHelper getDatabaseHelper()
{
return databaseHelper;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void getDatabase(){\n\n }",
"Object getDB();",
"private boolean inDatabase() {\r\n \t\treturn inDatabase(0, null);\r\n \t}",
"private ServerError updateDatabase() {\n return updateDatabase(WebConf.DB_CONN, WebConf.JSON_OBJECTS, WebConf.DEFAULT_VERSION);\r\n }",
"@Override\r\n\tpublic boolean supportsDb(String type) {\r\n \treturn true;\r\n }",
"private DatabaseCustomAccess(Context context) {\n\t\thelper = new SpokaneValleyDatabaseHelper(context);\n\n\t\tsaveInitialPoolLocation(); // save initial pools into database\n\t\tsaveInitialTotalScore(); // create total score in database\n\t\tsaveInitialGameLocation(); // create game location for GPS checking\n\t\tLoadingDatabaseTotalScore();\n\t\tLoadingDatabaseScores();\n\t\tLoadingDatabaseGameLocation();\n\t}",
"public abstract void loadFromDatabase();",
"private void FetchingData() {\n\t\t try { \n\t\t\t \n\t \tmyDbhelper.onCreateDataBase();\n\t \t \t\n\t \t\n\t \t} catch (IOException ioe) {\n\t \n\t \t\tthrow new Error(\"Unable to create database\");\n\t \n\t \t} \n\t \ttry {\n\t \n\t \t\tmyDbhelper.openDataBase();\n\t \t\tmydb = myDbhelper.getWritableDatabase();\n\t\t\tSystem.out.println(\"executed\");\n\t \t\n\t \t}catch(SQLException sqle){\n\t \n\t \t\tthrow sqle;\n\t \n\t \t}\n\t}",
"private void loadDatabase()\n\t{\n\t\ttry\n\t\t{\n\t\t\ttry\n\t\t\t{\n\t\t\t\t// Check to make sure the Bmod Database is there, if not, try \n\t\t\t\t// downloading from the website.\n\t\t\t\tif(!Files.exists(m_databaseFile))\n\t\t\t\t{\n\t\t\t\t\tFiles.createDirectories(m_databaseFile.getParent());\n\t\t\t\t\n\t\t\t\t\tbyte[] file = ExtensionPoints.readURLAsBytes(\"http://\" + Constants.API_HOST + HSQL_DATABASE_PATH);\n\t\t\t\t\tif(file.length != 0)\n\t\t\t\t\t{\n\t\t\t\t\t\tFiles.deleteIfExists(m_databaseFile);\n\t\t\t\t\t\tFiles.write(m_databaseFile, file, StandardOpenOption.CREATE, StandardOpenOption.WRITE);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t// make sure we have the proper scriptformat.\n\t\t\t\tsetScriptFormatCorrectly();\n\t\t\t}catch(NullPointerException|IOException ex)\n\t\t\t{\n\t\t\t\tm_logger.error(\"Could not fetch database from web.\", ex);\n\t\t\t}\n\t\t\t\n\t\n\t\t\t\n\t\t\tClass.forName(\"org.hsqldb.jdbcDriver\");\n\t\t\n\t\t\t\n\t\t\tString db = ExtensionPoints.getBmodDirectory(\"database\").toUri().getPath();\n\t\t\tconnection = DriverManager.getConnection(\"jdbc:hsqldb:file:\" + db, \"sa\", \"\");\n\t\t\t\n\t\t\t// Setup Connection\n\t\t\tCSVRecordLoader ldr = new CSVRecordLoader();\n\t\t\n\t\t\t// Load all of the building independent plugins\n\t\t\tfor(Record<?> cp : ldr.getRecordPluginManagers())\n\t\t\t{\n\t\t\t\tm_logger.debug(\"Creating table: \" + cp.getTableName());\n\t\t\t\t// Create a new table\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\tgetPreparedStatement(cp.getSQLTableDefn()).execute();\n\t\t\t\t} catch(SQLException ex)\n\t\t\t\t{\n\t\t\t\t\t// Table exists\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\tm_logger.debug(\"Doing index:\" + cp.getIndexDefn());\n\t\t\t\t\tif(cp.getIndexDefn() != null)\n\t\t\t\t\t\tgetPreparedStatement(cp.getIndexDefn()).execute();\n\t\t\t\t}catch(SQLException ex)\n\t\t\t\t{\t// index exists\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\n\t\t} catch (Exception ex)\n\t\t{\n\t\t\tex.printStackTrace();\n\t\t\tif(ex instanceof DatabaseIntegrityException)\n\t\t\t\tDatabase.handleCriticalError((DatabaseIntegrityException)ex);\n\t\t\telse\n\t\t\t\tDatabase.handleCriticalError(new DatabaseIntegrityException(ex));\n\t\t}\n\t\t\n\t}",
"private void connectDatabase(){\n }",
"private void ini_SelectDB()\r\n\t{\r\n\r\n\t}",
"public DataHandlerDBMS() {\n\t\ttry {\n\t\t\tClass.forName(\"com.mysql.jdbc.Driver\");\n\t\t\tDBMS = DriverManager.getConnection(url);\n\t\t\tSystem.out.println(\"DBSM inizializzato\");\n\t\t} catch (SQLException e) {\n\t\t\tSystem.out.println(\"Errore apertura DBMS\");\n\t\t\te.printStackTrace();\n\t\t} catch (ClassNotFoundException e) {\n\t\t\tSystem.out.println(\"Assenza driver mySQL\");\n\t\t}\n\t}",
"private static void initializeDatabase() {\n\t\tArrayList<String> data = DatabaseHandler.readDatabase(DATABASE_NAME);\n\t\tAbstractSerializer serializer = new CineplexSerializer();\n\t\trecords = serializer.deserialize(data);\n\t}",
"private void updateDB() {\n }",
"Database createDatabase();",
"@Override\r\n public Db_db currentDb(){return curDb_;}",
"@Override\n public void onDbStarted() {\n }",
"private DBManager() throws Exception {\n file = new File(\"pdfLibraryDB.mv.db\");\n if (!file.exists()) {\n conn = connect();\n stmt = conn.createStatement();\n query = \"CREATE TABLE user(username VARCHAR(30) PRIMARY KEY, password VARCHAR(32));\" +\n \"CREATE TABLE category(id VARCHAR(30) PRIMARY KEY, name VARCHAR(30), username VARCHAR(30), FOREIGN KEY(username) REFERENCES user(username) ON UPDATE CASCADE ON DELETE CASCADE);\"+\n \"CREATE TABLE favorite(id VARCHAR(30) PRIMARY KEY, path VARCHAR(500), keyword VARCHAR(200), searchType VARCHAR(10), category VARCHAR(30),username VARCHAR(30), FOREIGN KEY(username) REFERENCES user(username) ON UPDATE CASCADE ON DELETE CASCADE, FOREIGN KEY(category) REFERENCES category(id) ON UPDATE CASCADE ON DELETE CASCADE);\" +\n \"CREATE TABLE history(id VARCHAR(30) PRIMARY KEY, keyword VARCHAR(200), type VARCHAR(10), directory VARCHAR(500), username VARCHAR(30), FOREIGN KEY(username) REFERENCES user(username) ON UPDATE CASCADE ON DELETE CASCADE);\";\n stmt.executeUpdate(query);\n stmt.close();\n conn.close();\n System.out.println(\"DB created!\");\n }\n }",
"public abstract ODatabaseInternal<?> openDatabase();",
"public void initDatabase() throws SQLException {\n\n ModelFactory factory = new ModelFactory(this.connection);\n\n StopsDao stopsData = factory.getStopsDao();\n\n ArrayList<Stop> stops = stopsData.getStopsFromCsv(getResource(\"stops.csv\"));\n\n Iterator<Stop> it = stops.iterator();\n while(it.hasNext()) {\n Stop stop = it.next();\n System.out.println(stop.toString());\n }\n\n\n /*\n ShapesDao shapesData = factory.getShapesDao();\n\n ArrayList<Shape> shapes = shapesData.getShapesFromCsv(getResource(\"shapes.csv\"));\n\n Iterator<Shape> it = shapes.iterator();\n while(it.hasNext()) {\n Shape shape = it.next();\n System.out.println(shape.toString());\n }\n\n CalendarDateDao calendarData = factory.getCalendarDatesDao();\n\n ArrayList<CalendarDate> agencies = calendarData.getCalendarDatesFromCsv(getResource(\"calendar_dates.csv\"));\n\n Iterator<CalendarDate> it = agencies.iterator();\n while(it.hasNext()) {\n CalendarDate date = it.next();\n System.out.println(date.toString());\n }\n\n AgencyDao agencyData = factory.getAgencyDao();\n agencyData.drop();\n agencyData.create();\n\n ArrayList<Agency> agencies = agencyData.getAgenciesFromCsv(getResource(\"agency.csv\"));\n\n Iterator<Agency> it = agencies.iterator();\n while(it.hasNext()) {\n Agency age = it.next();\n System.out.println(age.toString());\n agencyData.saveAgency(age);\n }\n\n RoutesDao routesDao = factory.getRouteDao();\n routesDao.drop();\n routesDao.create();\n\n ArrayList<Route> routes = routesDao.getRoutesFromCsv(getResource(\"routes.csv\"));\n\n Iterator<Route> it = routes.iterator();\n while(it.hasNext()) {\n Route route = it.next();\n System.out.println(route.toString());\n }*/\n }",
"private void loadFromDB() throws SQLException {\n\t\tif (rev_page != -1)\n\t\t\treturn;\n\t\t\n\t\tPreparedStatement stmt = dbc.prepareStatement(\n\t\t\t\t\"SELECT rev_page, rev_text_id, rev_timestamp, rev_comment, user_name \" +\n\t\t\t\t\"FROM revision, users WHERE rev_id = ? AND rev_user = user_id\");\n\t\tstmt.setInt(1, rev_id);\n\t\tstmt.execute();\n\n\t\tResultSet rs = stmt.getResultSet();\n\t\tif (!rs.next()) {\n\t\t\t/*\n\t\t\t * Shouldn't happen?\n\t\t\t */\n\t\t\tstmt.close();\n\t\t\treturn;\n\t\t}\n\t\t\n\t\trev_page = rs.getInt(1);\n\t\trev_text_id = rs.getInt(2);\n\t\trev_timestamp = rs.getTimestamp(3);\n\t\trev_comment = rs.getString(4);\n\t\trev_user_text = rs.getString(5);\n\t\tstmt.close();\n\t}",
"public static void test()\n\t{\n\t Environment myDbEnvironment = null;\n\t Database myDatabase = null;\n\n\t /* OPENING DB */\n\n\t // Open Database Environment or if not, create one.\n\t EnvironmentConfig envConfig = new EnvironmentConfig();\n\t envConfig.setAllowCreate(true);\n\t myDbEnvironment = new Environment(new File(\"db/\"), envConfig);\n\n\t // Open Database or if not, create one.\n\t DatabaseConfig dbConfig = new DatabaseConfig();\n\t dbConfig.setAllowCreate(true);\n\t dbConfig.setSortedDuplicates(true);\n\t myDatabase = myDbEnvironment.openDatabase(null, \"schema\", dbConfig);\n\n\t Cursor cursor = null;\n\t /* GET <K,V > FROM DB */\n\t DatabaseEntry foundKey = new DatabaseEntry();\n\t DatabaseEntry foundData = new DatabaseEntry();\n\n\t cursor = myDatabase.openCursor(null, null);\n\t cursor.getFirst(foundKey, foundData, LockMode.DEFAULT);\n\n\t do {\n\t try {\n\t String keyString = new String(foundKey.getData(), \"UTF-8\");\n\t String dataString = new String(foundData.getData(), \"UTF-8\");\n\t System.out.println(\"<\" + keyString + \", \" + dataString + \">\");\n\t } catch (UnsupportedEncodingException e) {\n\t e.printStackTrace();\n\t }\n\t } while (cursor.getNext(foundKey, foundData, LockMode.DEFAULT) == OperationStatus.SUCCESS);\n\t if (cursor != null) cursor.close();\n\t System.out.println(\"-----\");\n\t \n\t if (myDatabase != null) myDatabase.close();\n\t if (myDbEnvironment != null) myDbEnvironment.close();\n\t}",
"@Override\n\tpublic void closeDB()\n\t{\n\n\t}",
"public abstract String createDBString();",
"public interface DatabaseTool {\r\n\r\n\t\r\n\t/**\r\n\t * Get all objects from the database. It should retrieve all information and put it into the database. It is important\r\n\t * that the name in the database and the name in the class matches. It is not case sensitive. It will default follow\r\n\t * complex objects.\r\n\t * \r\n\t * This method will close the prepared statement and the connection.\r\n\t * \r\n\t * @param The SQL query to be executed..\r\n\t * @param clazz to be retrieved.\r\n\t * @return of all classes that is retrieved.\r\n\t */\r\n\tpublic <E extends Retrievable> List<E> getObjects(String sql, Class<E> clazz);\r\n\t\r\n\t/**\r\n\t * Get a single object from the database. It should retrieve all information and put it into the database. It is important\r\n\t * that the name in the database and the name in the class matches. It is not case sensitive. It will follow complex objects.\r\n\t * \r\n\t * This method will close the prepared statement and the connection.\r\n\t * \r\n\t * @param The SQL query to be executed.\r\n\t * @param clazz to be retrieved.\r\n\t * @return a instanced object.\r\n\t */\r\n\tpublic <E extends Retrievable> E getObject(String sql, Class<E> clazz);\r\n\t\r\n\t/**\r\n\t * Get a single object from the database. It should retrieve all information and put it into the database. It is important\r\n\t * that the name in the database and the name in the class matches. It is not case sensitive. It will follow complex objects.\r\n\t * \r\n\t * This method will close the prepared statement and the connection.\r\n\t * \r\n\t * @param The SQL query to be executed.\r\n\t * @param clazz to be retrieved.\r\n\t * @param id of the object to be retrieved.\r\n\t * @return a instanced object.\r\n\t */\r\n\tpublic <E extends Retrievable> E getObject(Class<E> clazz, int id);\r\n\t\r\n\t/**\r\n\t * Set a single object from the values. It should retrieve all information and put it into the database. It is important\r\n\t * that the name in the database and the name in the class matches. It is not case sensitive. It will follow complex objects.\r\n\t * \r\n\t * This method will close the prepared statement and the connection.\r\n\t * \r\n\t * @param The SQL query to be executed.\r\n\t * @param clazz to be retrieved.\r\n\t * @return a instanced object.\r\n\t */\r\n\tpublic <E extends Retrievable> void setObject(String sql, E e);\r\n\t\r\n\t/**\r\n\t * Get all objects from the database. It should retrieve all information and put it into the database. It is important\r\n\t * that the name in the database and the name in the class matches. It is not case sensitive.\r\n\t * \r\n\t * This method will close the prepared statement and the connection.\r\n\t * \r\n\t * @param The SQL query to be executed..\r\n\t * @param clazz to be retrieved.\r\n\t * @param follow complex objects as {@link ForeignKey}, {@link OneToMany} and {@link ManyToMany} \r\n\t * @return of all classes that is retrieved.\r\n\t */\r\n\tpublic <E extends Retrievable> List<E> getObjects(String sql, Class<E> clazz, boolean follow);\r\n\t\r\n\t/**\r\n\t * Get a single object from the database. It should retrieve all information and put it into the database. It is important\r\n\t * that the name in the database and the name in the class matches. It is not case sensitive.\r\n\t * \r\n\t * This method will close the prepared statement and the connection.\r\n\t * \r\n\t * @param The SQL query to be executed.\r\n\t * @param clazz to be retrieved.\r\n\t * @param follow complex objects as {@link ForeignKey}, {@link OneToMany} and {@link ManyToMany} \r\n\t * @return a instanced object.\r\n\t */\r\n\tpublic <E extends Retrievable> E getObject(String sql, Class<E> clazz, boolean follow);\r\n\t\r\n\t/**\r\n\t * Get a single object from the database. It should retrieve all information and put it into the database. It is important\r\n\t * that the name in the database and the name in the class matches. It is not case sensitive.\r\n\t * \r\n\t * This method will close the prepared statement and the connection.\r\n\t * \r\n\t * @param The SQL query to be executed.\r\n\t * @param clazz to be retrieved.\r\n\t * @param id of the object to be retrieved.\r\n\t * @param follow complex objects as {@link ForeignKey}, {@link OneToMany} and {@link ManyToMany} \r\n\t * @return a instanced object.\r\n\t */\r\n\tpublic <E extends Retrievable> E getObject(Class<E> clazz, int id, boolean follow);\r\n\t\r\n\t/**\r\n\t * Set a single object from the values. It should retrieve all information and put it into the database. It is important\r\n\t * that the name in the database and the name in the class matches. It is not case sensitive.\r\n\t * \r\n\t * This method will close the prepared statement and the connection.\r\n\t * \r\n\t * @param The SQL query to be executed.\r\n\t * @param clazz to be retrieved.\r\n\t * @param follow complex objects as {@link ForeignKey}, {@link OneToMany} and {@link ManyToMany} \r\n\t * @return a instanced object.\r\n\t */\r\n\tpublic <E extends Retrievable> void setObject(String sql, E e, boolean follow);\r\n\t\r\n\t/**\r\n\t * This will help write a object to a persistent store. \r\n\t * \r\n\t * \r\n\t * @param The SQL query to be executed.\r\n\t * @param clazz to be retrieved.\r\n\t * @return a instanced object.\r\n\t */\r\n\tpublic <E extends Writeable> void storeObject(String sql, E e);\r\n\t\r\n\t/**\r\n\t * This will remove a object from the database. \r\n\t * \r\n\t * \r\n\t * @param The SQL query to be executed.\r\n\t * @param clazz to be retrieved.\r\n\t * @return a instanced object.\r\n\t */\r\n\tpublic <E extends Writeable> void write(String sql);\r\n\r\n\t/**\r\n\t * Read from the database. It will return a cached result set. This result set is closed\r\n\t * and does not keep connection to the database.\r\n\t * \r\n\t * @param sql to be executed.\r\n\t * @return a cached result set.\r\n\t */\r\n\tpublic <E extends Writeable> ResultSet read(CharSequence sql);\r\n\t\r\n\t/**\r\n\t * Read from the database. It will first create a prepared statement before doing the read.\r\n\t * \r\n\t * @param sql to be executed. It must contain the amount ? as the length of the objects.\r\n\t * @return a cached result set.\r\n\t */\r\n\tpublic <E extends Retrievable> ResultSet read(CharSequence sql, Object... objects);\r\n\t\r\n\tpublic <E extends Retrievable> List<E> getObjects(ResultSet resultSet, Class<E> clazz, boolean follow);\r\n\t\r\n\tpublic <E extends Retrievable> E getObject(ResultSet resultSet, Class<E> clazz, boolean follow);\r\n\t\r\n\t/**\r\n\t * @param sql that is update/insert or both\r\n\t * @param objects that is to be used in store as parameters to the sql..\r\n\t * @return number of rows updated.\r\n\t */\r\n\tpublic int write(String sql, Object... objects);\r\n\t\r\n\tpublic int writeGetID(String sql, Object... objects);\r\n\t\r\n\tpublic QueryRunner getQueryRunner();\r\n\t\r\n\tpublic Retriver getRetriver();\r\n\r\n\tpublic <E extends Retrievable> E getObject(String sql, Class<E> clazz, Object... objects);\r\n\r\n\tpublic <E extends Retrievable> List<E> getObjects(String sql, Class<E> class1, Object... objects);\r\n\r\n\tpublic <E> E getValue(final String sql, final Class<E> clazz, final String column, final Object... objects);\r\n\t\r\n\tpublic List<Object> getValues(final String sql, final Object... objects);\r\n\t\r\n\tpublic String getServer();\r\n}",
"public Database(){\n ItemBox.getLogger().info(\"[Database] protocol version \" + net.mckitsu.itembox.protocol.ItemBoxProtocol.getVersion());\n }",
"@Override\n public Database getDatabase() {\n return m_database;\n }",
"public Database initDB() {\n Database db = new Database(\"dataBase.db\");\n\n// db.insertData(\"1 Dragos Dinescu [email protected] 0744522600 Digi 10-12-2020\");\n// db.insertData(\"2 Adelina Mirea [email protected] 0733651320 Orange 14-10-2020\");\n// db.insertData(\"3 Radu Sorostinean [email protected] 0733723321 Digi 1-10-2020\");\n// db.insertData(\"4 Andrei Brasoveanu [email protected] 0732341390 Vodafone 12-11-2020\");\n return db;\n\n //db.deleteFromDB();\n //db.updateDB(\"1 alex radu [email protected] 022256926 orange 10/08/2010\");\n }",
"String getDatabase();",
"public void writeDatabase();",
"private void getDataFromDB() {\n ArrayList<ArtworkData> artworkData = getArtworksFromDatabase();\n if (artworkData.size() <= 0) {\n // there is no data in local DB, error\n onErrorReceived();\n } else {\n sendArtworkData(artworkData);\n }\n }",
"private void updateDatabase() {\n\t\tAbstractSerializer serializer = new CineplexSerializer();\n\t\tArrayList<String> updatedRecords = serializer.serialize(records);\n\t\tDatabaseHandler.writeToDatabase(DATABASE_NAME, updatedRecords);\n\t}",
"private void setupDb(){\n try {\n openConnection();\n s.executeUpdate(\"CREATE TABLE IF NOT EXISTS LIB (NAME text UNIQUE , TYPE text, LANGUAGE text, INTRUSIVE text, OPENSOURCE text)\");\n }catch (SQLException e) {\n System.err.println(e.getMessage());\n }finally {\n if (c != null){\n close(c);\n }\n }\n }",
"public String getDatabase();",
"protected abstract ODatabaseInternal<?> newDatabase();",
"@Override\n public void onCancelled(DatabaseError databaseError) {\n }",
"public void createDB() {\n\t\ttry {\n\t\t\tBufferedReader br= new BufferedReader(new FileReader(\"db_schema.txt\"));\n\t\t\tString line= null;\n\t\t\tStringBuilder sb= new StringBuilder();\n\t\t\twhile ((line=br.readLine())!=null){\n\t\t\t\tsb.append(line);\n\t\t\t\tif(sb.length()>0 && sb.charAt(sb.length()-1)==';'){//see if it is the end of one line of command\n\t\t\t\t\tstatement.executeUpdate(sb.toString());\n\t\t\t\t\tsb= new StringBuilder();\n\t\t\t\t}\n\t\t\t}\n\t\t\tbr.close();\n\t\t} catch (FileNotFoundException e) {\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t} catch (SQLException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"interface Database {\n\tpublic void persist(String data); \n\t\n}",
"public String getDBString();",
"public interface DatabaseManager {\r\n\r\n // NOTE: this is a draft of the interface. More methods will likely be\r\n // added.\r\n\r\n /**\r\n * Uploads the specified feature to the database.\r\n * \r\n * @param file the shapefile (*.shp) to upload\r\n * @param project the project to associate the shapefile with\r\n * @return the id of the feature in the database\r\n * @throws IOException\r\n * @throws SQLException\r\n */\r\n int uploadFeature(File file, String project) throws IOException, SQLException;\r\n\r\n /**\r\n * Uploads the specified modis tile to the database.\r\n * \r\n * @param file the .hdf to upload\r\n * @param product the modis product\r\n * @param date the date the data was captured\r\n * @param downloaded the date the data was downloaded from the host\r\n * @param horz the horizontal tile number\r\n * @param vert the vertical tile number\r\n * @return the id of the Modis raster in the database\r\n * @throws IOException\r\n * @throws SQLException\r\n */\r\n int uploadModis(File file, ModisProduct product, DataDate date, DataDate updated, int horz, int vert) throws IOException, SQLException;\r\n\r\n /**\r\n * Uploads the specified ETo file to the database.\r\n * \r\n * @param file the\r\n * @param date\r\n * @param updated\r\n * @return the id of the ETo raster in the database\r\n * @throws IOException\r\n * @throws SQLException\r\n */\r\n int uploadEto(File file, DataDate date, DataDate updated) throws IOException, SQLException;\r\n\r\n /**\r\n * Uploads the specified TRMM file to the database.\r\n * \r\n * @param file\r\n * @param date\r\n * @param updated\r\n * @return the id of the TRMM raster in the database\r\n * @throws IOException\r\n * @throws SQLException\r\n */\r\n int uploadTrmm(File file, DataDate date, DataDate updated) throws IOException, SQLException;\r\n\r\n /**\r\n * Uploads the specified projected Modis product to the database.\r\n * \r\n * @param file\r\n * @param project\r\n * @param product\r\n * @param date\r\n * @param updated\r\n * @return the id of the projected Modis raster in the database\r\n * @throws IOException\r\n * @throws SQLException\r\n */\r\n int uploadProjectedModis(File file, String project, ModisProduct product, DataDate date, DataDate updated) throws IOException, SQLException;\r\n\r\n /**\r\n * Uploads the specified projected ETo product to the database.\r\n * \r\n * @param file\r\n * @param project\r\n * @param date\r\n * @param updated\r\n * @return the id of the projected ETo raster in the database\r\n * @throws IOException\r\n * @throws SQLException\r\n */\r\n int uploadProjectedEto(File file, String project, DataDate date, DataDate updated) throws IOException, SQLException;\r\n\r\n /**\r\n * Uploads the projected TRMM product to the database.\r\n * \r\n * @param file\r\n * @param project\r\n * @param date\r\n * @param updated\r\n * @return the id of the TRMM raster in the database\r\n * @throws IOException\r\n * @throws SQLException\r\n */\r\n int uploadProjectedTrmm(File file, String project, DataDate date, DataDate updated) throws IOException, SQLException;\r\n\r\n /**\r\n * Uploads the specified ETa product to the database.\r\n * \r\n * @param file\r\n * @param project\r\n * @param date\r\n * @param updated\r\n * @return the id of the ETa raster in the database\r\n * @throws IOException\r\n * @throws SQLException\r\n */\r\n int uploadEta(File file, String project, DataDate date, DataDate updated) throws IOException, SQLException;\r\n\r\n /**\r\n * Uploads the specified EVI product to the database.\r\n * \r\n * @param file\r\n * @param project\r\n * @param date\r\n * @param updated\r\n * @return the id of the EVI raster in the database\r\n * @throws IOException\r\n * @throws SQLException\r\n */\r\n int uploadEvi(File file, String project, DataDate date, DataDate updated) throws IOException, SQLException;\r\n\r\n /**\r\n * Uploads the specified NDVI product to the database.\r\n * \r\n * @param file\r\n * @param project\r\n * @param date\r\n * @param updated\r\n * @return the id of the NDVI raster in the database\r\n * @throws IOException\r\n * @throws SQLException\r\n */\r\n int uploadNdvi(File file, String project, DataDate date, DataDate updated) throws IOException, SQLException;\r\n\r\n /**\r\n * Uploads the specified NDWI5 product to the database.\r\n * \r\n * @param file\r\n * @param project\r\n * @param date\r\n * @param updated\r\n * @return the id of the NDWI5 raster in the database\r\n * @throws IOException\r\n * @throws SQLException\r\n */\r\n int uploadNdwi5(File file, String project, DataDate date, DataDate updated) throws IOException, SQLException;\r\n\r\n /**\r\n * Uploads the specified NDWI6 product to the database.\r\n * \r\n * @param file\r\n * @param project\r\n * @param date\r\n * @param updated\r\n * @return the id of the NDWI6 raster in the database\r\n * @throws IOException\r\n * @throws SQLException\r\n */\r\n int uploadNdwi6(File file, String project, DataDate date, DataDate updated) throws IOException, SQLException;\r\n\r\n /**\r\n * Uploads the specified SAVI product to the database.\r\n * \r\n * @param file\r\n * @param project\r\n * @param date\r\n * @param updated\r\n * @return the id of the SAVI raster in the database\r\n * @throws IOException\r\n * @throws SQLException\r\n */\r\n int uploadSavi(File file, String project, DataDate date, DataDate updated) throws IOException, SQLException;\r\n\r\n /**\r\n * Downloads the specified feature and places it in the specified file in\r\n * the shapefile.\r\n * \r\n * @param file the location to save the feature\r\n * @param id the id of the feature\r\n * @throws IOException\r\n * @throws SQLException\r\n */\r\n void downloadFeature(File file, int id) throws IOException, SQLException;\r\n\r\n /**\r\n * Downloads the specified Modis tile from the database.\r\n * \r\n * @param file\r\n * @param product\r\n * @param id\r\n * @throws IOException\r\n * @throws SQLException\r\n */\r\n void downloadModis(File file, ModisProduct product, int id) throws IOException, SQLException;\r\n\r\n /**\r\n * Downloads the specified ETo raster from the database and saves it to the\r\n * specified file.\r\n * \r\n * @param file\r\n * @param id\r\n * @throws IOException\r\n * @throws SQLException\r\n */\r\n void downloadEto(File file, int id) throws IOException, SQLException;\r\n\r\n /**\r\n * Downloads the specified TRMM raster from the database and saves it to the\r\n * specified file.\r\n * \r\n * @param file\r\n * @param id\r\n * @throws IOException\r\n * @throws SQLException\r\n */\r\n void downloadTrmm(File file, int id) throws IOException, SQLException;\r\n\r\n /**\r\n * Downloads the specified projected Modis product from the database.\r\n * \r\n * @param file\r\n * @param product\r\n * @param id\r\n * @throws IOException\r\n * @throws SQLException\r\n */\r\n void downloadProjectedModis(File file, ModisProduct product, int id) throws IOException, SQLException;\r\n\r\n /**\r\n * Downloads the specified projected ETo product from the database.\r\n * \r\n * @param file\r\n * @param id\r\n * @throws IOException\r\n * @throws SQLException\r\n */\r\n void downloadProjectedEto(File file, int id) throws IOException, SQLException;\r\n\r\n /**\r\n * Downloads the specified projected TRMM product from the database.\r\n * \r\n * @param file\r\n * @param id\r\n * @throws IOException\r\n * @throws SQLException\r\n */\r\n void downloadProjectedTrmm(File file, int id) throws IOException, SQLException;\r\n\r\n /**\r\n * Downloads the specified ETa product from the database.\r\n * \r\n * @param file\r\n * @param id\r\n * @throws IOException\r\n * @throws SQLException\r\n */\r\n void downloadEta(File file, int id) throws IOException, SQLException;\r\n\r\n /**\r\n * Downloads the specified EVI product from the database.\r\n * \r\n * @param file\r\n * @param id\r\n * @throws IOException\r\n * @throws SQLException\r\n */\r\n void downloadEvi(File file, int id) throws IOException, SQLException;\r\n\r\n /**\r\n * Downloads the specified NDVI product from the database.\r\n * \r\n * @param file\r\n * @param id\r\n * @throws IOException\r\n * @throws SQLException\r\n */\r\n void downloadNdvi(File file, int id) throws IOException, SQLException;\r\n\r\n /**\r\n * Downloads the specified NDWI5 product from the database.\r\n * \r\n * @param file\r\n * @param id\r\n * @throws IOException\r\n * @throws SQLException\r\n */\r\n void downloadNdwi5(File file, int id) throws IOException, SQLException;\r\n\r\n /**\r\n * Downloads the specified NDWI6 product from the database.\r\n * \r\n * @param file\r\n * @param id\r\n * @throws IOException\r\n * @throws SQLException\r\n */\r\n void downloadNdwi6(File file, int id) throws IOException, SQLException;\r\n\r\n /**\r\n * Downloads the specified SAVI product from the database.\r\n * \r\n * @param file\r\n * @param id\r\n * @throws IOException\r\n * @throws SQLException\r\n */\r\n void downloadSavi(File file, int id) throws IOException, SQLException;\r\n\r\n /**\r\n * Returns the id of the MODIS raster for the specified product and date.\r\n * \r\n * @param product\r\n * @param date\r\n * @param horz\r\n * @param vert\r\n * @return the id of the raster or -1 if the raster isn't found\r\n * @throws SQLException\r\n */\r\n int getModisId(ModisProduct product, DataDate date, int horz, int vert) throws SQLException;\r\n\r\n /**\r\n * Returns the id of the ETo for the specified date.\r\n * \r\n * @param date\r\n * @return the id of the raster or -1 if the raster isn't found\r\n * @throws SQLException\r\n */\r\n int getEtoId(DataDate date) throws SQLException;\r\n\r\n /**\r\n * Returns the id of the TRMM for the specified date.\r\n * \r\n * @param date\r\n * @return the id of the raster or -1 if the raster isn't found\r\n * @throws SQLException\r\n */\r\n int getTrmmId(DataDate date) throws SQLException;\r\n\r\n /**\r\n * Returns the id of the reprojected Modis raster for the specified\r\n * project, product, and date.\r\n * \r\n * @param project\r\n * @param product\r\n * @param date\r\n * @return the id of the raster or -1 if the raster isn't found\r\n * @throws SQLException\r\n */\r\n int getReprojectedModisId(String project, DataDate date) throws SQLException;\r\n\r\n /**\r\n * Returns the id of the reprojected ETo raster for the specified project\r\n * and date.\r\n * \r\n * @param project\r\n * @param date\r\n * @return the id of the raster or -1 if the raster isn't found\r\n * @throws SQLException\r\n */\r\n int getReprojectedEtoId(String project, DataDate date) throws SQLException;\r\n\r\n /**\r\n * Returns the id of the reprojected TRMM raster for the specified project\r\n * and date.\r\n * \r\n * @param project\r\n * @param date\r\n * @return the id of the raster or -1 if the raster isn't found\r\n * @throws SQLException\r\n */\r\n int getReprojectedTrmmId(String project, DataDate date) throws SQLException;\r\n\r\n /**\r\n * Returns the id of the ETa raster for the specified project and date.\r\n * \r\n * @param project\r\n * @param date\r\n * @return the id of the raster or -1 if the raster isn't found\r\n * @throws SQLException\r\n */\r\n int getEtaId(String project, DataDate date) throws SQLException;\r\n\r\n /**\r\n * Returns the id of the EVI raster for the specified project and date.\r\n * \r\n * @param project\r\n * @param date\r\n * @return the id of the raster or -1 if the raster isn't found\r\n * @throws SQLException\r\n */\r\n int getEviId(String project, DataDate date) throws SQLException;\r\n\r\n /**\r\n * Returns the id of the NDVI raster for the specified project and date.\r\n * \r\n * @param project\r\n * @param date\r\n * @return the id of the raster or -1 if the raster isn't found\r\n * @throws SQLException\r\n */\r\n int getNdviId(String project, String feature, DataDate date) throws SQLException;\r\n\r\n /**\r\n * Returns the id of the NDWI5 raster for the specified project and date.\r\n * \r\n * @param project\r\n * @param date\r\n * @return the id of the raster or -1 if the raster isn't found\r\n * @throws SQLException\r\n */\r\n int getNdwi5Id(String project, String feature, DataDate date) throws SQLException;\r\n\r\n /**\r\n * Returns the id of the NDWI6 raster for the specified project and date.\r\n * \r\n * @param project\r\n * @param date\r\n * @return the id of the raster or -1 if the raster isn't found\r\n * @throws SQLException\r\n */\r\n int getNdwi6Id(String project, String feature, DataDate date) throws SQLException;\r\n\r\n /**\r\n * Returns the id of the SAVI raster for the specified project and date.\r\n * \r\n * @param project\r\n * @param date\r\n * @return the id of the raster or -1 if the raster isn't found\r\n * @throws SQLException\r\n */\r\n int getSaviId(String project, String feature, DataDate date) throws SQLException;\r\n\r\n /**\r\n * Uploads the specified zonal statistics.\r\n * \r\n * @param project\r\n * @param feature\r\n * @param zoneField\r\n * @param zone\r\n * @param date\r\n * @param index\r\n * @param zonalStatistics\r\n */\r\n void uploadZonalStatistic(String project, String feature, String zoneField,\r\n String zone, DataDate date, EnvironmentalIndex index,\r\n ZonalStatistic zonalStatistics) throws SQLException;\r\n\r\n /**\r\n * Returns the id of the zonal statistics for the specified parameters.\r\n * \r\n * @param project\r\n * @param feature\r\n * @param zoneField\r\n * @param zone\r\n * @param date\r\n * @param index\r\n * @return the id or -1 if it is not found\r\n */\r\n int getZonalStatisticId(String project, String feature, String zoneField,\r\n String zone, DataDate date, EnvironmentalIndex index)\r\n throws SQLException;\r\n\r\n /**\r\n * Returns zonal statistics for the specified zonal statistic id.\r\n * \r\n * @param id\r\n * @return zonal statistics\r\n * @throws SQLException\r\n */\r\n ZonalStatistic getZonalStatistic(int id) throws SQLException;\r\n}",
"@Override\n public String getDbString() {\n return null;\n }",
"DBConnect() {\n \n }",
"private createSingletonDatabase()\n\t{\n\t\tConnection conn = createDatabase();\n\t\tcreateTable();\n\t\tString filename = \"Summer expereince survey 2016 for oliver.csv\"; \n\t\timportData(conn, filename);\n\t}",
"DatabaseInformationFull(Database db) {\n super(db);\n }",
"public abstract String apachedb(int size);",
"public interface DatabaseAccessInterface {\n\t\n\t/**\n\t * Closes the database connection.\n\t * @throws SQLException\n\t */\n\tpublic void closeConnection() throws SQLException;\n\t\n\t/**\n\t * Registers the action on Raspberry Pi into database.\n\t * @param rpiId\n\t * @param time\n\t * @param action\n\t * @param level\n\t * @throws SQLException\n\t */\n\tpublic void addRpiAction(String rpiId, String time, String action, String level) throws SQLException;\n\t\n\t/**\n\t * Adds photo to the database.\n\t * @param rpiId\n\t * @param time\n\t * @param name\n\t * @param photo\n\t * @throws SQLException\n\t */\n\tpublic void addRpiPhoto(String rpiId, String time, String name, byte[] photo) throws SQLException, IOException;\n\t\n\t/**\n\t * Registers the user for the given Raspberry Pi.\n\t * @param rpiId\n\t * @param user\n\t * @throws SQLException\n\t */\n\tpublic void addRpiUserRelation(String rpiId, String user) throws SQLException;\n\t\n\t\n\t/**\n\t * Adds user credentials to the database.\n\t * @param login\n\t * @param password\n\t */\n\tpublic void addUserCredentials(String login, String password) throws SQLException;\n\t\n\t/**\n\t * Adds user token for communication authorization with the token.\n\t * @param login\n\t * @param token\n\t */\n\tpublic void addUserToken(String login, String token) throws SQLException;\n\t\n\t/**\n\t * Deletes photo from the database.\n\t * @param rpiId\n\t * @param time\n\t * @throws SQLException\n\t */\n\tpublic void deleteRpiPhoto(String rpiId, String time) throws SQLException;\n\t\n\t/**\n\t * Deletes user credentials and all data connected to the user from the database.\n\t * @param login\n\t */\n\tpublic void deleteUserCredentials(String login) throws SQLException;\n\t\n\t/**\n\t * Returns the time of most recent action on Raspberry Pi registered in the database.\n\t * @param rpiId\n\t * @return formatted date string\n\t * @throws SQLException\n\t * @throws IOException when converting the database output.\n\t */\n\tpublic String getLatestDateOnActions(String rpiId) throws SQLException, IOException;\n\t\n\t/**\n\t * Returns the time of most recent photo on Raspberry Pi registered in the database.\n\t * @param rpiId\n\t * @return formatted date String\n\t * @throws SQLException\n\t */\n\tpublic String getLatestDateOnPhotos(String rpiId) throws SQLException;\n\t\n\t/**\n\t * Gets the photo from the database.\n\t * @param rpiId\n\t * @param time\n\t * @return byte array\n\t * @throws SQLException\n\t * @throws IOException when converting the database output.\n\t */\n\tpublic byte[] getPhoto(String rpiId, String time) throws SQLException, IOException;\n\t\n\t/**\n\t * Gets the list of time stamps of most recent photos before the given date.\n\t * @param rpiId\n\t * @param time\n\t * @param numberOfDates\n\t * @return byte array of JSON string\n\t * @throws SQLException\n\t * @throws IOException when converting the database output.\n\t */\n\tpublic byte[] getPhotoTimesBefore(String rpiId, String time, int numberOfDates) throws SQLException, IOException;\n\t\n\t/**\n\t * Gets the list of time stamps of most recent actions before the given date.\n\t * @param rpiId\n\t * @param time\n\t * @param numberOfActions\n\t * @return byte array of JSON string\n\t * @throws SQLException\n\t * @throws IOException when converting the database output.\n\t */\n\tpublic byte[] getRpiActionsBefore(String rpiId, String time, int numberOfActions) throws SQLException, IOException;\n\t\n\t/**\n\t * Retrieves information about user and Rpi relation.\n\t * @param user\n\t * @return Rpi ID for the given user\n\t * @throws SQLException\n\t */\n\tpublic String getRpiByUser(String user) throws SQLException;\n\t\n\t/**\n\t * Gets the user, which is identified be the token.\n\t * @param token\n\t * @return user name or empty string, if the user does not exist.\n\t */\n\tpublic String getUserByToken(String token) throws SQLException;\n\t\n\t\n\t/**\n\t * Validates user's login and password.\n\t * @param login\n\t * @param password\n\t * @return true, if data are valid, false otherwise.\n\t */\n\tpublic boolean validateUserCredentials(String login, String password) throws SQLException;\n\t\n\t/**\n\t * Validates user's token for communication.\n\t * @param login\n\t * @param token\n\t * @return true, if token is valid, false otherwise.\n\t */\n\tpublic boolean validateUserToken(String login, String token) throws SQLException;\n\t\n\t/**\n\t * Validates that such Raspberry Pi is registered.\n\t * @param rpiId\n\t * @return true, if such id exists in the database and device is active.\n\t */\n\tpublic boolean verifyRpiRegistration(String rpiId) throws SQLException;\n\t\n}",
"protected abstract void createDatabaseData(EntityManager entityManager);",
"public PostDatabase() {\r\n\ttry {\r\n\t Class.forName(DRIVER);\r\n\t db = DriverManager.getConnection(URI);\r\n\t Statement create = db.createStatement();\r\n\t create.execute(\"CREATE TABLE IF NOT EXISTS posts ( id INTEGER PRIMARY KEY, author TEXT, date INTEGER, isPublic INTEGER, content TEXT );\");\r\n\t} catch (ClassNotFoundException e) {\r\n\t System.err.println(\"Caught exception while attempting to use database driver: \" + e.getMessage());\r\n\t} catch (SQLException e) {\r\n\t System.err.println(\"Caught exception while doing something to the database: \" + e.getMessage());\r\n\t}\r\n }",
"@Override\n public void onCancelled(DatabaseError databaseError) {\n }",
"@Override\n public void onCancelled(DatabaseError databaseError) {\n }",
"@Override\n public void onCancelled(DatabaseError databaseError) {\n }",
"@Override\n public void onCancelled(DatabaseError databaseError) {\n }",
"@Override\n public void onCancelled(DatabaseError databaseError) {\n }",
"@Override\n public void onCancelled(DatabaseError databaseError) {\n }",
"@Override\n public void onCancelled(DatabaseError databaseError) {\n }",
"@Override\n public void onCancelled(DatabaseError databaseError) {\n }",
"@Override\n public void onCancelled(DatabaseError databaseError) {\n }",
"@Override\n public void onCancelled(DatabaseError databaseError) {\n }",
"@Override\n public void updateDatabase() {\n }",
"public void createDBSchema() throws NoConnectionToDBException, SQLException, IOException {\n \n InputStream in = EDACCApp.class.getClassLoader().getResourceAsStream(\"edacc/resources/edacc.sql\");\n if (in == null) {\n throw new SQLQueryFileNotFoundException();\n }\n BufferedReader br = new BufferedReader(new InputStreamReader(in));\n String line;\n String text = \"\";\n String l;\n while ((line = br.readLine()) != null) {\n if (!(l = line.replaceAll(\"\\\\s\", \"\")).isEmpty() && !l.startsWith(\"--\")) {\n text += line + \" \";\n }\n }\n in.close();\n Vector<String> queries = new Vector<String>();\n String query = \"\";\n String delimiter = \";\";\n int i = 0;\n while (i < text.length()) {\n if (text.toLowerCase().startsWith(\"delimiter\", i)) {\n i += 10;\n delimiter = text.substring(i, text.indexOf(' ', i));\n i = text.indexOf(' ', i);\n } else if (text.startsWith(delimiter, i)) {\n queries.add(query);\n i += delimiter.length();\n query = \"\";\n } else {\n query += text.charAt(i);\n i++;\n }\n }\n if (!query.replaceAll(\" \", \"\").equals(\"\")) {\n queries.add(query);\n }\n boolean autoCommit = getConn().getAutoCommit();\n try {\n getConn().setAutoCommit(false);\n Statement st = getConn().createStatement();\n for (String q : queries) {\n st.execute(q);\n }\n st.close();\n getConn().commit();\n } catch (SQLException e) {\n getConn().rollback();\n throw e;\n } finally {\n getConn().setAutoCommit(autoCommit);\n }\n }",
"@Override\r\n public void onCancelled(DatabaseError databaseError) {\n }",
"public Database()\r\n\t{\r\n\t\tinitializeDatabase();\r\n\t\t\r\n\t}",
"Database getDataBase() {\n return database;\n }",
"public List<CustomerModel> readDatabase() throws Exception{\n\nList<CustomerModel> list = new ArrayList<CustomerModel>();\n\ntry{\nlog.info(\"Loading MySql driver\");\nClass.forName(\"com.mysql.jdbc.Driver\");\n\nlog.info(\"Setting up connection with db\");\nconnect= DriverManager.getConnection(\"jdbc:mysql://localhost:3306/apidft\",\"root\",\"cisco\");\nlog.info(\"Database connection successful\");\nstatement = connect.createStatement();\n\nresultSet= statement.executeQuery(\"select * from customer\");\n\nwhile(resultSet.next()){\nlist.add(processRow(resultSet));\n}\n}\n\ncatch(Exception e){\nlog.error(\"Database connection fail\");\n}\n\nfinally{\nconnect.close();\n}\nreturn list;\n}",
"private void setupDatabase() {\r\n\t\tDatabaseHelperFactory.init(this);\r\n\t\tdatabase = DatabaseHelperFactory.getInstance();\r\n\t}",
"public interface DBContext {\n <E> boolean persist(E entity) throws SQLException, IllegalAccessException;\n\n <E> Iterable<E> find(Class<E> table) throws SQLException, IllegalAccessException, ClassNotFoundException, InstantiationException;\n\n <E> Iterable<E> find(Class<E> table, String where) throws SQLException, IllegalAccessException, ClassNotFoundException, InstantiationException;\n\n <E> E findFirst(Class<E> table) throws SQLException, IllegalAccessException, InstantiationException;\n\n <E> E findFirst(Class<E> table, String where) throws SQLException, IllegalAccessException, InstantiationException;\n\n void closeConn() throws SQLException ;\n}",
"@Override\n protected void execute2() {\n sql = \"CREATE TABLE origin (_id INTEGER PRIMARY KEY AUTOINCREMENT,origin_type_id INTEGER NOT NULL,origin_name TEXT NOT NULL,origin_url TEXT NOT NULL,ssl BOOLEAN NOT NULL DEFAULT 1,ssl_mode INTEGER NOT NULL DEFAULT 1,allow_html BOOLEAN NOT NULL DEFAULT 1,text_limit INTEGER NOT NULL,short_url_length INTEGER NOT NULL DEFAULT 0,mention_as_webfinger_id INTEGER NOT NULL DEFAULT 3,use_legacy_http INTEGER NOT NULL DEFAULT 3,in_combined_global_search BOOLEAN NOT NULL DEFAULT 1,in_combined_public_reload BOOLEAN NOT NULL DEFAULT 1)\";\n sql = \"CREATE TABLE note (_id INTEGER PRIMARY KEY AUTOINCREMENT,origin_id INTEGER NOT NULL,note_oid TEXT NOT NULL,note_status INTEGER NOT NULL DEFAULT 0,conversation_id INTEGER NOT NULL DEFAULT 0,conversation_oid TEXT,url TEXT,note_name TEXT,content TEXT,content_to_search TEXT,via TEXT,note_author_id INTEGER NOT NULL DEFAULT 0,in_reply_to_note_id INTEGER,in_reply_to_actor_id INTEGER,public INTEGER NOT NULL DEFAULT 0,favorited INTEGER NOT NULL DEFAULT 0,reblogged INTEGER NOT NULL DEFAULT 0,favorite_count INTEGER NOT NULL DEFAULT 0,reblog_count INTEGER NOT NULL DEFAULT 0,reply_count INTEGER NOT NULL DEFAULT 0,attachments_count INTEGER NOT NULL DEFAULT 0,note_ins_date INTEGER NOT NULL,note_updated_date INTEGER NOT NULL DEFAULT 0)\";\n sql = \"CREATE UNIQUE INDEX idx_note_origin ON note (origin_id, note_oid)\";\n sql = \"CREATE INDEX idx_note_in_reply_to_note_id ON note (in_reply_to_note_id)\";\n sql = \"CREATE INDEX idx_note_conversation_id ON note (conversation_id)\";\n sql = \"CREATE INDEX idx_conversation_oid ON note (origin_id, conversation_oid)\";\n sql = \"CREATE TABLE user (_id INTEGER PRIMARY KEY AUTOINCREMENT,user_known_as TEXT NOT NULL DEFAULT '',is_my_user INTEGER NOT NULL DEFAULT 0)\";\n sql = \"CREATE INDEX idx_my_user ON user (is_my_user)\";\n sql = \"CREATE TABLE actor (_id INTEGER PRIMARY KEY AUTOINCREMENT,user_id INTEGER NOT NULL,origin_id INTEGER NOT NULL,actor_oid TEXT NOT NULL,username TEXT NOT NULL,webfinger_id TEXT NOT NULL,real_name TEXT,actor_description TEXT,location TEXT,profile_url TEXT,homepage TEXT,avatar_url TEXT,banner_url TEXT,notes_count INTEGER NOT NULL DEFAULT 0,favorited_count INTEGER NOT NULL DEFAULT 0,following_count INTEGER NOT NULL DEFAULT 0,followers_count INTEGER NOT NULL DEFAULT 0,actor_created_date INTEGER NOT NULL DEFAULT 0,actor_updated_date INTEGER NOT NULL DEFAULT 0,actor_ins_date INTEGER NOT NULL,actor_activity_id INTEGER NOT NULL DEFAULT 0,actor_activity_date INTEGER NOT NULL DEFAULT 0)\";\n sql = \"CREATE UNIQUE INDEX idx_actor_origin ON actor (origin_id, actor_oid)\";\n sql = \"CREATE INDEX idx_actor_user ON actor (user_id)\";\n sql = \"CREATE INDEX idx_actor_webfinger ON actor (webfinger_id)\";\n sql = \"CREATE TABLE audience (actor_id INTEGER NOT NULL,note_id INTEGER NOT NULL, CONSTRAINT pk_audience PRIMARY KEY (note_id ASC, actor_id ASC))\";\n sql = \"CREATE INDEX idx_audience_actor ON audience (actor_id)\";\n sql = \"CREATE INDEX idx_audience_note ON audience (note_id)\";\n sql = \"CREATE TABLE friendship (actor_id INTEGER NOT NULL,friend_id INTEGER NOT NULL,followed BOOLEAN NOT NULL, CONSTRAINT pk_friendship PRIMARY KEY (actor_id, friend_id))\";\n sql = \"CREATE INDEX idx_followers ON friendship (friend_id, actor_id)\";\n sql = \"CREATE TABLE download (_id INTEGER PRIMARY KEY AUTOINCREMENT,download_type INTEGER NOT NULL,download_number INTEGER NOT NULL DEFAULT 0,actor_id INTEGER NOT NULL DEFAULT 0,note_id INTEGER NOT NULL DEFAULT 0,media_type TEXT NOT NULL,url TEXT NOT NULL,download_status INTEGER NOT NULL DEFAULT 0,width INTEGER NOT NULL DEFAULT 0,height INTEGER NOT NULL DEFAULT 0,duration INTEGER NOT NULL DEFAULT 0,file_name TEXT,file_size INTEGER NOT NULL DEFAULT 0)\";\n sql = \"CREATE INDEX idx_download_actor ON download (actor_id, download_status)\";\n sql = \"CREATE INDEX idx_download_note ON download (note_id, download_number)\";\n sql = \"CREATE TABLE timeline (_id INTEGER PRIMARY KEY AUTOINCREMENT,timeline_type TEXT NOT NULL,actor_id INTEGER NOT NULL DEFAULT 0,actor_in_timeline TEXT,origin_id INTEGER NOT NULL DEFAULT 0,search_query TEXT,is_synced_automatically BOOLEAN NOT NULL DEFAULT 0,displayed_in_selector INTEGER NOT NULL DEFAULT 0,selector_order INTEGER NOT NULL DEFAULT 0,sync_succeeded_date INTEGER NOT NULL DEFAULT 0,sync_failed_date INTEGER NOT NULL DEFAULT 0,error_message TEXT,synced_times_count INTEGER NOT NULL DEFAULT 0,sync_failed_times_count INTEGER NOT NULL DEFAULT 0,downloaded_items_count INTEGER NOT NULL DEFAULT 0,new_items_count INTEGER NOT NULL DEFAULT 0,count_since INTEGER NOT NULL DEFAULT 0,synced_times_count_total INTEGER NOT NULL DEFAULT 0,sync_failed_times_count_total INTEGER NOT NULL DEFAULT 0,downloaded_items_count_total INTEGER NOT NULL DEFAULT 0,new_items_count_total INTEGER NOT NULL DEFAULT 0,youngest_position TEXT,youngest_item_date INTEGER NOT NULL DEFAULT 0,youngest_synced_date INTEGER NOT NULL DEFAULT 0,oldest_position TEXT,oldest_item_date INTEGER NOT NULL DEFAULT 0,oldest_synced_date INTEGER NOT NULL DEFAULT 0,visible_item_id INTEGER NOT NULL DEFAULT 0,visible_y INTEGER NOT NULL DEFAULT 0,visible_oldest_date INTEGER NOT NULL DEFAULT 0,last_changed_date INTEGER NOT NULL DEFAULT 0)\";\n sql = \"CREATE TABLE activity (_id INTEGER PRIMARY KEY AUTOINCREMENT,activity_origin_id INTEGER NOT NULL,activity_oid TEXT NOT NULL,account_id INTEGER NOT NULL,activity_type INTEGER NOT NULL,actor_id INTEGER NOT NULL,activity_note_id INTEGER NOT NULL,activity_actor_id INTEGER NOT NULL,obj_activity_id INTEGER NOT NULL,subscribed INTEGER NOT NULL DEFAULT 0,interacted INTEGER NOT NULL DEFAULT 0,interaction_event INTEGER NOT NULL DEFAULT 0,notified INTEGER NOT NULL DEFAULT 0,notified_actor_id INTEGER NOT NULL DEFAULT 0,new_notification_event INTEGER NOT NULL DEFAULT 0,activity_ins_date INTEGER NOT NULL,activity_updated_date INTEGER NOT NULL DEFAULT 0)\";\n sql = \"CREATE UNIQUE INDEX idx_activity_origin ON activity (activity_origin_id, activity_oid)\";\n sql = \"CREATE INDEX idx_activity_message ON activity (activity_note_id)\";\n sql = \"CREATE INDEX idx_activity_actor ON activity (activity_actor_id)\";\n sql = \"CREATE INDEX idx_activity_activity ON activity (obj_activity_id)\";\n sql = \"CREATE INDEX idx_activity_timeline ON activity (activity_updated_date)\";\n sql = \"CREATE INDEX idx_activity_actor_timeline ON activity (actor_id, activity_updated_date)\";\n sql = \"CREATE INDEX idx_activity_subscribed_timeline ON activity (subscribed, activity_updated_date)\";\n sql = \"CREATE INDEX idx_activity_notified_timeline ON activity (notified, activity_updated_date)\";\n sql = \"CREATE INDEX idx_activity_notified_actor ON activity (notified, notified_actor_id)\";\n sql = \"CREATE INDEX idx_activity_new_notification ON activity (new_notification_event)\";\n sql = \"CREATE INDEX idx_activity_interacted_timeline ON activity (interacted, activity_updated_date)\";\n sql = \"CREATE INDEX idx_activity_interacted_actor ON activity (interacted, notified_actor_id)\";\n sql = \"CREATE TABLE command (_id INTEGER PRIMARY KEY NOT NULL,queue_type TEXT NOT NULL,command_code TEXT NOT NULL,command_created_date INTEGER NOT NULL,command_description TEXT,in_foreground BOOLEAN NOT NULL DEFAULT 0,manually_launched BOOLEAN NOT NULL DEFAULT 0,timeline_id INTEGER NOT NULL DEFAULT 0,timeline_type TEXT NOT NULL,account_id INTEGER NOT NULL DEFAULT 0,actor_id INTEGER NOT NULL DEFAULT 0,origin_id INTEGER NOT NULL DEFAULT 0,search_query TEXT,item_id INTEGER NOT NULL DEFAULT 0,username TEXT,last_executed_date INTEGER NOT NULL DEFAULT 0,execution_count INTEGER NOT NULL DEFAULT 0,retries_left INTEGER NOT NULL DEFAULT 0,num_auth_exceptions INTEGER NOT NULL DEFAULT 0,num_io_exceptions INTEGER NOT NULL DEFAULT 0,num_parse_exceptions INTEGER NOT NULL DEFAULT 0,error_message TEXT,downloaded_count INTEGER NOT NULL DEFAULT 0,progress_text TEXT)\";\n\n progressLogger.logProgress(stepTitle + \": Converting notes\");\n\n dropOldIndex(\"idx_note_origin\");\n dropOldIndex(\"idx_note_in_reply_to_note_id\");\n dropOldIndex(\"idx_note_conversation_id\");\n dropOldIndex(\"idx_conversation_oid\");\n\n sql = \"ALTER TABLE note RENAME TO oldnote\";\n DbUtils.execSQL(db, sql);\n\n sql = \"CREATE TABLE note (_id INTEGER PRIMARY KEY AUTOINCREMENT,origin_id INTEGER NOT NULL,note_oid TEXT NOT NULL,note_status INTEGER NOT NULL DEFAULT 0,conversation_id INTEGER NOT NULL DEFAULT 0,conversation_oid TEXT,url TEXT,note_name TEXT,content TEXT,content_to_search TEXT,via TEXT,note_author_id INTEGER NOT NULL DEFAULT 0,in_reply_to_note_id INTEGER,in_reply_to_actor_id INTEGER,public INTEGER NOT NULL DEFAULT 0,favorited INTEGER NOT NULL DEFAULT 0,reblogged INTEGER NOT NULL DEFAULT 0,favorite_count INTEGER NOT NULL DEFAULT 0,reblog_count INTEGER NOT NULL DEFAULT 0,reply_count INTEGER NOT NULL DEFAULT 0,attachments_count INTEGER NOT NULL DEFAULT 0,note_ins_date INTEGER NOT NULL,note_updated_date INTEGER NOT NULL DEFAULT 0)\";\n DbUtils.execSQL(db, sql);\n sql = \"CREATE UNIQUE INDEX idx_note_origin ON note (origin_id, note_oid)\";\n DbUtils.execSQL(db, sql);\n sql = \"CREATE INDEX idx_note_in_reply_to_note_id ON note (in_reply_to_note_id)\";\n DbUtils.execSQL(db, sql);\n sql = \"CREATE INDEX idx_note_conversation_id ON note (conversation_id)\";\n DbUtils.execSQL(db, sql);\n sql = \"CREATE INDEX idx_conversation_oid ON note (origin_id, conversation_oid)\";\n DbUtils.execSQL(db, sql);\n\n sql = \"INSERT INTO note (\" +\n \"_id,origin_id,note_oid,note_status,conversation_id,conversation_oid,url,note_name,content,content_to_search,via,note_author_id,in_reply_to_note_id,in_reply_to_actor_id,\" +\n \"public,\" +\n \"favorited,reblogged,favorite_count,reblog_count,reply_count,\" +\n \"attachments_count,\" +\n \"note_ins_date,note_updated_date\" +\n \") SELECT \" +\n \"_id,origin_id,note_oid,note_status,conversation_id,conversation_oid,url,'', body, body_to_search, via,note_author_id,in_reply_to_note_id,in_reply_to_actor_id,\" +\n \"CASE private WHEN 2 THEN 1 WHEN 1 THEN 2 ELSE private END,\" +\n \"favorited,reblogged,favorite_count,reblog_count,reply_count,\" +\n \"CASE WHEN EXISTS (\" +\n \"SELECT _ID FROM download WHERE download.note_id=oldnote._id\" +\n \") THEN 1 ELSE 0 END,\" +\n \"note_ins_date,note_updated_date\" +\n \" FROM oldnote\";\n DbUtils.execSQL(db, sql);\n\n dropOldTable(\"oldnote\");\n\n progressLogger.logProgress(stepTitle + \": Converting download\");\n\n dropOldIndex(\"idx_download_actor\");\n dropOldIndex(\"idx_download_note\");\n sql = \"ALTER TABLE download RENAME TO olddownload\";\n DbUtils.execSQL(db, sql);\n\n sql = \"CREATE TABLE download (_id INTEGER PRIMARY KEY AUTOINCREMENT,download_type INTEGER NOT NULL,download_number INTEGER NOT NULL DEFAULT 0,actor_id INTEGER NOT NULL DEFAULT 0,note_id INTEGER NOT NULL DEFAULT 0,media_type TEXT NOT NULL,url TEXT NOT NULL,download_status INTEGER NOT NULL DEFAULT 0,width INTEGER NOT NULL DEFAULT 0,height INTEGER NOT NULL DEFAULT 0,duration INTEGER NOT NULL DEFAULT 0,file_name TEXT,file_size INTEGER NOT NULL DEFAULT 0)\";\n DbUtils.execSQL(db, sql);\n sql = \"CREATE INDEX idx_download_actor ON download (actor_id, download_status)\";\n DbUtils.execSQL(db, sql);\n sql = \"CREATE INDEX idx_download_note ON download (note_id, download_number)\";\n DbUtils.execSQL(db, sql);\n\n sql = \"INSERT INTO download (\" +\n \"_id,download_type,download_number,actor_id,note_id,\" +\n \"media_type,\" +\n \"url,download_status,width,height,duration,file_name,file_size\" +\n \") SELECT \" +\n \"_id,download_type,0, actor_id,note_id,\" +\n \"CASE content_type WHEN 2 THEN 'image/png' WHEN 3 THEN 'text/*' ELSE '*/*' END,\" +\n \"url,download_status,0, 0, 0, file_name,0\" +\n \" FROM olddownload\";\n DbUtils.execSQL(db, sql);\n\n dropOldTable(\"olddownload\");\n }",
"void db_all(Context context);",
"private Connection dbConnection() {\n\t\t\n\t\t///\n\t\t/// declare local variables\n\t\t///\n\t\t\n\t\tConnection result = null;\t// holds the resulting connection\n\t\t\n\t\t// try to make the connection\n\t\ttry {\n\t\t\tClass.forName(\"org.sqlite.JDBC\");\n\t\t\tresult = DriverManager.getConnection(CONNECTION_STRING);\n\t\t} catch (Exception ex) {\n\t\t\tSystem.out.println(ex.getMessage());\n\t\t}\n\t\t\n\t\t// return the resulting connection\n\t\treturn result;\n\t\t\n\t}",
"DataBase createDataBase();",
"private static void readDatabase(String path) {\n try {\n FileInputStream fileIn = new FileInputStream(path + \"/database.ser\");\n ObjectInputStream inStream = new ObjectInputStream(fileIn);\n database = (Database) inStream.readObject();\n inStream.close();\n fileIn.close();\n } catch (IOException i) {\n i.printStackTrace();\n } catch (ClassNotFoundException c) {\n c.printStackTrace();\n }\n }",
"private DatabaseHandler(){\n createConnection();\n }",
"public interface DatabaseCollection<T> {\n \n /**\n * <p>Insert one, several, or table of entity into the collection</p>\n * @param entity\n * @throws NoSQLException\n */\n public void insert(T... entity) throws NoSQLException;\n\n /**\n * <p>Insert a list of entity into the collection</p>\n * @param entity\n * @throws NoSQLException\n */\n public void insert(List<T> entity) throws NoSQLException;\n \n /**\n * <p>find only one object from the collection</p>\n * @param dbObjectQuery\n * @return\n */\n public T findOne(DBObject dbObjectQuery) throws NoSQLException;\n \n /**\n * <p>find a list of object from query</p>\n * @param dbObjectQuery\n * @return\n * @throws NoSQLException\n */\n public List<T> find(DBObject dbObjectQuery) throws NoSQLException;\n \n /**\n * <p>find a list of all the objects from the collection</p>\n * @return\n * @throws NoSQLException\n */\n public List<T> findAll() throws NoSQLException;\n \n /**\n * <p>find only one object from the collection with order by</p>\n * @param dbObjectQuery\n * @return\n */\n public T findOne(DBObject dbObjectQuery, DBObject orderBy) throws NoSQLException;\n \n /**\n * <p>find a list of object from query with order by</p>\n * @param dbObjectQuery\n * @return\n * @throws NoSQLException\n */\n public List<T> find(DBObject dbObjectQuery, DBObject orderBy) throws NoSQLException;\n \n /**\n * <p>find a list of all the objects from the collection with order by</p>\n * @return\n * @throws NoSQLException\n */\n public List<T> findAll(DBObject orderBy) throws NoSQLException;\n \n /**\n * <p>remove documents from query</p>\n * @param dbObjectQuery\n */\n public void remove(DBObject dbObjectQuery);\n}",
"public void extractObjectDB() {\n\n\t\ttry {\n\t\t\t\n\t\t\tstatement = c.createStatement();\n\t\t\tResultSet rs = stmt.executeQuery(\"SELECT * FROM User WHERE id NOT IN (SELECT id FROM OrderManager)\");\n\t\t\tResultSet results = statement.executeQuery(\"select FirstName , LastName, Password,Phonenumber,AFM,User.id, Company,Regular,Season from User INNER JOIN OrderManager on User.id=OrderManager.Id\"); \n\t\t \n\n\t\t\twhile (rs.next()) {\n\t\t\t\n\t\t\t\tUser us = new User();\n\t\t\t\tus.setFirstName(rs.getString(\"FirstName\"));\n\t\t\t\tus.setSurName(rs.getString(\"LastName\"));\n\t\t\t\tus.setPassword(rs.getString(\"Password\"));\n\t\t\t\tus.setTelephone(rs.getString(\"Phonenumber\"));\n\t\t\t\tus.setAFM(rs.getString(\"AFM\"));\n\t\t\t\tus.setId(rs.getString(\"id\"));\n\t\t\t\tus.setCompany(rs.getString(\"Company\"));\n\t\t\t\tusers.add(us);\n\t\t\t\t\n\t\t\t}\n\t\t\tfor(User u: users)\n\t\t\t{\n\t\t\t\tint index = users.indexOf(u);\n\t\t\t\tif (u instanceof Stockkeeper) {\n\t\t\t\t\tStockkeeper st = (Stockkeeper) u;\n\t\t\t\t\tusers.set(index,st);\n\t\t\t\t}\n\t\t\t\telse if(u instanceof Seller){\n\t\t\t\t\tSeller se = (Seller) u;\n\t\t\t\t\tusers.set(index, se);\n\t\t\t}\n\t\t\t}\n\t\t\twhile (results.next()) {\n\t\t\t\t\n\t\t\t\tOrderManager om = new OrderManager(\"\",\"\",\"\",\"\",\"\",\"\",true,\"\");\n\t\t\t\tom.setFirstName(results.getString(\"FirstName\"));\n\t\t\t\tom.setSurName(results.getString(\"LastName\"));\n\t\t\t\tom.setPassword(results.getString(\"Password\"));\n\t\t\t\tom.setTelephone(results.getString(\"Phonenumber\"));\n\t\t\t\tom.setAFM(results.getString(\"AFM\"));\n\t\t\t\tom.setId(results.getString(\"id\"));\n\t\t\t\tom.setCompany(results.getString(\"Company\"));\n\t\t\t\tif (results.getInt(\"Regular\")== 0) \n\t\t\t\t\tom.setRegular(true);\n\t\t\t\telse \n\t\t\t\t\tom.setRegular(false);\n\t\t\t\tom.setSeason(results.getString(\"Season\"));\n\t\t\t\tusers.add(om);\n\t\t\t\t\n\t\t\t}\n\t\t\tc.close();\n\t\t}catch(SQLException | ClassNotFoundException e){\n\t\t\tSystem.out.println(e.getMessage());\n\t\t}\n\t\t\n\t\t\n\t}",
"private Database() throws SQLException, ClassNotFoundException {\r\n Class.forName(\"org.postgresql.Driver\");\r\n con = DriverManager.getConnection(\"jdbc:postgresql://localhost:5432/postgres\", \"postgres\", \"kuka\");\r\n }",
"private void createDbRecords() throws IOException, JAXBException {\n }",
"public void generateDB() {\n\t\t// Database tables creation\n\t\tcreateTables();\n\n\t\t// Try catch estructure in case there is an exception during the data\n\t\t// insertion\n\t\ttry {\n\t\t\t// Create an admin user\n\t\t\tadminUser = new User(\"admin\", \"1234\", \"admin\", \"admin\", \"admin\", 1);\n\n\t\t\t// Create some default players\n\t\t\tString p1DateString = \"1988-05-12\";\n\t\t\tString p2DateString = \"1985-02-05\";\n\t\t\tString p3DateString = \"1987-06-24\";\n\t\t\tString p4DateString = \"1992-02-05\";\n\t\t\tDate p1Date = sdf.parse(p1DateString);\n\t\t\tDate p2Date = sdf.parse(p2DateString);\n\t\t\tDate p3Date = sdf.parse(p3DateString);\n\t\t\tDate p4Date = sdf.parse(p4DateString);\n\t\t\tp1 = new Player(\"Marcelo\", \"Vieira\", p1Date, 174);\n\t\t\tp2 = new Player(\"Cristiano\", \"Ronaldo\", p2Date, 185);\n\t\t\tp3 = new Player(\"Lionel\", \"Messi\", p3Date, 170);\n\t\t\tp4 = new Player(\"Neymar\", \"Silva\", p4Date, 175);\n\n\t\t\t// Create some default teams\n\t\t\tString t1DateString = \"1902-03-6\";\n\t\t\tString t2DateString = \"1985-02-05\";\n\t\t\tDate t1Date = sdf.parse(t1DateString);\n\t\t\tDate t2Date = sdf.parse(t2DateString);\n\t\t\tList<Player> t1Players = formatPlayers(getPlayersByTeamId(REAL_MADRID));\n\t\t\tList<Player> t2Players = formatPlayers(getPlayersByTeamId(BARCELONA));\n\t\t\tt1 = new Team(t1Players, \"Real Madrid C.F.\", \"Zinedine Zidane\", \"Madrid\", t1Date);\n\t\t\tt2 = new Team(t2Players, \"FC Barcelona\", \"Luis Enrique\", \"Barcelona\", t2Date);\n\n\t\t\t// Create some default stats\n\t\t\ts1 = new Stats(1, 1, 6, 15);\n\t\t\ts2 = new Stats(3, 1, 8, 18);\n\n\t\t\t// Create some default matches\n\t\t\tString m1DateString = \"2017-01-20\";\n\t\t\tString m2DateString = \"2017-03-06\";\n\t\t\tDate m1Date = sdf.parse(m1DateString);\n\t\t\tDate m2Date = sdf.parse(m2DateString);\n\t\t\tm1 = new Match(t2, t1, s1, m1Date, \"Alfonso Alvarez Izq\");\n\t\t\tm2 = new Match(t1, t2, s2, m2Date, \"Carlos Clos Gomez\");\n\n\t\t\t// Fill the database tables only if they are empty\n\t\t\tif (!usersFilled()) {\n\t\t\t\tinsertUser(adminUser);\n\t\t\t}\n\t\t\tif (!playersFilled()) {\n\t\t\t\tinsertPlayer(p1, REAL_MADRID);\n\t\t\t\tinsertPlayer(p2, REAL_MADRID);\n\t\t\t\tinsertPlayer(p3, BARCELONA);\n\t\t\t\tinsertPlayer(p4, BARCELONA);\n\t\t\t}\n\t\t\tif (!teamsFilled()) {\n\t\t\t\tinsertTeam(t1);\n\t\t\t\tinsertTeam(t2);\n\t\t\t}\n\t\t\tif (!matchesFilled() && !statsFilled()) {\n\t\t\t\tinsertStat(s1);\n\t\t\t\tinsertMatch(m1);\n\t\t\t\tinsertStat(s2);\n\t\t\t\tinsertMatch(m2);\n\t\t\t}\n\t\t} catch (SQLException e) {\n\t\t\te.printStackTrace();\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}",
"public int dbId() { return dbId; }",
"public Database() {\n if (init) {\n\n //creating Transaction data\n Transaction transactionOne\n = new Transaction(1, \"Debit\", \"Spar Grocery\", 54.68,1);\n\n transactionDB.add(transactionOne);\n\n // Creating an Account data\n Account accountOne = new Account(1, 445, 111111111, \"Savings\",\n 1250.24, transactionDB);\n\n accountDB.add(accountOne);\n\n //creating withdrawal data\n Withdrawal withdrawalOne = new Withdrawal(1, 64422545, 600.89);\n withdrawalDB.add(withdrawalOne);\n\n //creating transfer data\n Transfer transferOne = new Transfer(1, 25252525, 521.23);\n transferDB.add(transferOne);\n\n //creating lodgement data\n Lodgement lodgementOne = new Lodgement(1, 67766666, 521.23);\n lodgementDB.add(lodgementOne);\n\n //add Customer data \n Customer customerOne\n = new Customer(1, \"Darth Vader\", \"[email protected]\",\n \"Level 5, Suit Dark\", \"darkSideIsGoodStuff\",\n accountDB, withdrawalDB, transferDB, lodgementDB);\n\n customerDB.add(customerOne);\n\n init = false;\n }\n }",
"public abstract String toDBString();",
"private void configureDB() {\n\t\tmDb = mDbHelper.getWritableDatabase();\n\t}",
"private DatabaseRepository() {\n try {\n // connect to database\n\n DB_URL = \"jdbc:sqlite:\"\n + this.getClass().getProtectionDomain()\n .getCodeSource()\n .getLocation()\n .toURI()\n .getPath().replaceAll(\"[/\\\\\\\\]\\\\w*\\\\.jar\", \"/\")\n + \"lib/GM-SIS.db\";\n connection = DriverManager.getConnection(DB_URL);\n mapper = ObjectRelationalMapper.getInstance();\n mapper.initialize(this);\n }\n catch (SQLException | URISyntaxException e) {\n System.out.println(e.toString());\n }\n }",
"public ResultSet getDatabase(){\n\t\tString join = \"select* from responses natural join projects\";\n\t\tPreparedStatement database = null;\n\t\ttry{\n\t\t\tdatabase = conn.prepareStatement(join);\n\t\t\tResultSet rs = database.executeQuery();\n\t\t\treturn rs;\n\t\t}catch (SQLException e){\n\t\t\treturn null;\n\t\t}\n\t}",
"public abstract void updateDatabase();",
"public void setupDB()\r\n\t{\n\tjdbcTemplateObject.execute(\"DROP TABLE IF EXISTS employee1 \");\r\n\r\n\tjdbcTemplateObject.\r\n\texecute(\"CREATE TABLE employee1\"\r\n\t+ \"(\" + \"name VARCHAR(255), id SERIAL)\");\r\n\t}",
"private DB getDB() {\n\t\tServletContext context = this.getServletContext();\n\t\tsynchronized (context) {\n\t\t\tDB db = (DB)context.getAttribute(\"DB\");\n\t\t\tif(db == null) {\n\t\t\t\tdb = DBMaker.newFileDB(new File(\"db\")).closeOnJvmShutdown().make();\n\t\t\t\tcontext.setAttribute(\"DB\", db);\n\t\t\t}\n\t\t\tcheckAdminInDB(db);\n\t\t\tcheckCategoriaInDB(db);\n\t\t\treturn db;\n\t\t}\n\t}",
"private void testDB(){\n DB=new LinkedList<>(); \n DB.add(new Offer(\"ID1\",\"AGV923\",\"Nico\",\"Leo\",\"Salvo\",\"\"));\n DB.add(new Offer(\"ID2\",\"ADJ325\",\"Tizio\", \"Caio\", \"Sempronio\",\"\"));\n DB.add(new Offer(\"ID3\",\"T56G2G\",\"Antonella\", \"Daniele\",\"\",\"\"));\n }",
"public DB getDB() {\n\treturn _db;\n }",
"private void openDB() {\n\t\tmyDb = new DBAdapter(this);\n\t\t// open the DB\n\t\tmyDb.open();\n\t\t\n\t\t//populate the list from the database\n\t\tpopulateListViewFromDB();\n\t}",
"private Database() throws SQLException {\n con = DriverManager.getConnection(\"jdbc:oracle:thin:@localhost:1521:MusicAlbums\", \"c##dba\", \"sql\");\n }",
"protected abstract String getDatabaseID();",
"public interface DBStructure {\n\n String save(DataSource dataSource);\n\n void update(DataSource dataSource, String fileMask) throws UpdateException;\n\n void dropAll(DataSource dataSource) throws DropAllException;\n\n String getSqlScript(DataSource dataSource);\n\n void unlock(DataSource dataSource);\n}",
"public interface DatabaseOperations {\n\n public static final String DATABASE_NAME = \"ghost_database\";\n\n public static final String TABLE_SIGHTINGS = \"SIGHTINGS\";\n\n public static final String ROW_ID = \"_id\";\n\n public static final String TITLE = \"title\";\n public static final String DESCRIPTION = \"DESCRIPTION\";\n public static final String LATITUDE = \"lat\";\n public static final String LONGITUDE = \"lon\";\n public static final String RATING = \"rating\";\n}",
"@Override\n public void onDatabaseLoaded() {}",
"public Database() {\n size = 0;\n tables = new HashMap();\n p = new Parse(this);\n }",
"private DAOOfferta() {\r\n\t\ttry {\r\n\t\t\tClass.forName(driverName);\r\n\r\n\t\t\tconn = getConnection(usr, pass);\r\n\r\n\t\t\tps = conn.prepareStatement(createQuery);\r\n\r\n\t\t\tps.executeUpdate();\r\n\t\t} catch (ClassNotFoundException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t} catch (ConnectionException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t} catch (SQLException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t} finally {\r\n\t\t\t/*closeResource()*/;\r\n\t\t}\r\n\t}",
"private void testSQLite() {\n\t\tConnection conn=null;\n\t\ttry {\n\t\t\tClass.forName(\"org.sqlite.JDBC\");\n\n\t\t\tconn = DriverManager.getConnection(DATABASE_CONNECTION);\n\t\t\t// 建立事务机制,禁止自动提交,设置回滚点\n\t\t\tconn.setAutoCommit(false);\n\n\t\t\tStatement stat = conn.createStatement();\n\t\t\t// User{weibo=null, id=2438418282, name='心情慵懒',\n\t\t\t// screenName='心情慵懒', location='甘肃 陇南', description='',\n\t\t\t// profileImageUrl='http://tp3.sinaimg.cn/2438418282/50/5612515360/1',\n\t\t\t// province='62', city='26', domain ='', gender ='m',\n\t\t\t// url='',\n\t\t\t// allowAllActMsg=false,\n\t\t\t// followersCount=1,\n\t\t\t// friendsCount=40, createdAt=Sun Oct 02 00:00:00 CST 2011,\n\t\t\t// favouritesCount=0, following=false, statusesCount=0,\n\t\t\t// geoEnabled=false,\n\t\t\t// voiderified=false,\n\t\t\t// status=null}\n\n\t\t\tstat.executeUpdate(\"create table userInfo (\"\n\t\t\t\t\t+ \"id PRIMARY KEY NOT NULL,\"// 用户UID\",主键\n\t\t\t\t\t+ \"screenName,\"// 微博昵称\n\t\t\t\t\t+ \"name,\"// 友好显示名称,同微博昵称\n\t\t\t\t\t+ \"province,\"// 省份编码(参考省份编码表)\n\t\t\t\t\t+ \"city,\"// 城市编码(参考城市编码表)\n\t\t\t\t\t+ \"location,\"// 地址\n\t\t\t\t\t+ \"description,\"// 个人描述\n\t\t\t\t\t+ \"url,\"// 用户博客地址\n\t\t\t\t\t+ \"profileImageUrl,\"// 自定义图像\n\t\t\t\t\t+ \"domain,\"// 用户个性化URL\n\t\t\t\t\t+ \"gender,\"// 性别,m--男,f--女,n--未知\n\t\t\t\t\t+ \"followersCount,\"// 粉丝数\n\t\t\t\t\t+ \"friendsCount,\"// 关注数\n\t\t\t\t\t+ \"statusesCount,\"// 微博数\n\t\t\t\t\t+ \"favouritesCount,\"// 收藏数\n\t\t\t\t\t+ \"createdAt,\"// 创建时间\n\t\t\t\t\t+ \"following,\"// 是否已关注(此特性暂不支持)\n\t\t\t\t\t+ \"verified,\"// 加V标示,是否微博认证用户\n\t\t\t\t\t+ \"status,\"// 状态,由取回的字符中提取,意义不明\n\t\t\t\t\t+ \"geoEnabled,\"// 地理状态信息\n\t\t\t\t\t+ \"allowAllActMsg,\"// 由取回的字符中提取,意义不明\n\t\t\t\t\t+ \"weibo,\"// 由取回的字符中提取,意义不明\n\t\t\t\t\t+ \"access_token,\"// 访问Token\n\t\t\t\t\t+ \"access_secret)\");// 访问密钥\n\n\t\t\t// [createdAt=Sat Oct 01 23:51:54 CST 2011,\n\t\t\t// id=3363835379243442, text=养生之道,首在养气。,\n\t\t\t// source=<a href=\"http://mail.sina.com.cn\"\n\t\t\t// rel=\"nofollow\">新浪免费邮箱</a>,\n\t\t\t// isTruncated=false, inReplyToStatusId=-1, inReplyToUserId=-1,\n\t\t\t// isFavorited=false, inReplyToScreenName=,\n\t\t\t// latitude=-1.0,\n\t\t\t// longitude=-1.0,\n\t\t\t// thumbnail_pic=, bmiddle_pic=,\n\t\t\t// original_pic=,\n\t\t\t// mid=3363835379243442,\n\t\t\t// user=null,\n\t\t\t// retweeted_status=null]}\n\n\t\t\tstat.executeUpdate(\"create table statusInfo (\" + \"created_at,\"// 创建时间\n\t\t\t\t\t+ \"id PRIMARY KEY NOT NULL,\"// 微博ID,主键\n\t\t\t\t\t+ \"text,\"// 微博信息内容\n\t\t\t\t\t+ \"source,\"// 微博来源\n\t\t\t\t\t+ \"favorited,\"// 是否已收藏\n\t\t\t\t\t+ \"truncated,\"// 是否被截断\n\t\t\t\t\t+ \"in_reply_to_status_id,\"// 回复ID\n\t\t\t\t\t+ \"in_reply_to_user_id,\"// 回复人UID\n\t\t\t\t\t+ \"in_reply_to_screen_name,\"// 回复人昵称\n\t\t\t\t\t+ \"thumbnail_pic,\"// 缩略图\n\t\t\t\t\t+ \"bmiddle_pic,\"// 中型图片\n\t\t\t\t\t+ \"original_pic,\"// 原始图片\n\t\t\t\t\t+ \"user,\"// 作者信息\n\t\t\t\t\t+ \"retweeted_status)\");// 转发的博文,内容为status,如果不是转发,则没有此字段\n\t\t\tconn.commit();\n\t\t\tconn.close();\n\t\t} catch (ClassNotFoundException e) {\n\t\t\te.printStackTrace();\n\t\t} catch (SQLException e) {\n\t\t\tSystem.out.println(\"create table error\");\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tconn.close();\n\t\t\t} catch (SQLException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t}",
"@Override\n\tpublic void initDemoDB() {\n\t}",
"public void getDataFromFile() throws SQLException{\n \n //SQL database\n getGuestDate_DB();\n getHotelRoomData_DB();\n updateRoomChanges_DB();\n \n //this.displayAll();\n //this.displayAllRooms();\n \n }",
"public void formDatabaseTable() {\n }",
"public interface CompiereDatabase\n{\n\t/**\n\t * Get Database Name\n\t * @return database short name\n\t */\n\tpublic String getName();\n\n\t/**\n\t * Get Database Description\n\t * @return database long name and version\n\t */\n\tpublic String getDescription();\n\n\t/**\n\t * Get Database Driver\n\t * @return Driver\n\t */\n\tpublic Driver getDriver();\n\n\n\t/**\n\t * Get Standard JDBC Port\n\t * @return standard port\n\t */\n\tpublic int getStandardPort();\n\n\t/**\n\t * Get Database Connection String\n\t * @param connection Connection Descriptor\n\t * @return connection String\n\t */\n\tpublic String getConnectionURL (CConnection connection);\n\n\t/**\n\t * Supports BLOB\n\t * @return true if BLOB is supported\n\t */\n\tpublic boolean supportsBLOB();\n\n\t/**\n\t * String Representation\n\t * @return info\n\t */\n\tpublic String toString();\n\n\t/**************************************************************************\n\t * Convert an individual Oracle Style statements to target database statement syntax\n\t *\n\t * @param oraStatement oracle statement\n\t * @return converted Statement\n\t * @throws Exception\n\t */\n\tpublic String convertStatement (String oraStatement);\n\n\t/**************************************************************************\n\t * Set the RowID\n\t * @param pstmt prepared statement\n\t * @param pos position\n\t * @param rowID ROWID\n\t * @throws SQLException\n\t */\n\tpublic void setRowID (PreparedStatement pstmt, int pos, Object rowID) throws SQLException;\n\n\t/**\n\t * Get rhe RowID\n\t * @param rs result set\n\t * @param pos position\n\t * @return rowID ROWID\n\t * @throws SQLException\n\t */\n\tpublic Object getRowID (ResultSet rs, int pos) throws SQLException;\n\n\t/**\n\t * Get RowSet\n\t * \t@param rs result set\n\t * @return RowSet\n\t * @throws SQLException\n\t */\n\tpublic RowSet getRowSet (ResultSet rs) throws SQLException;\n\n\t/**\n\t * \tGet Cached Connection on Server\n\t *\t@param connection info\n\t *\t@return connection or null\n\t */\n\tpublic Connection getCachedConnection (CConnection connection);\n\n\t/**\n\t * \tCreate DataSource (Client)\n\t *\t@param connection connection\n\t *\t@return data dource\n\t */\n\tpublic DataSource createDataSource(CConnection connection);\n\n\t/**\n\t * \tCreate Pooled DataSource (Server)\n\t *\t@param connection connection\n\t *\t@return data dource\n\t */\n\tpublic ConnectionPoolDataSource createPoolDataSource(CConnection connection);\n\n}"
] | [
"0.67735964",
"0.6701906",
"0.6692698",
"0.6641504",
"0.662472",
"0.66019124",
"0.65997833",
"0.6593691",
"0.65115505",
"0.65022874",
"0.648649",
"0.648017",
"0.6453957",
"0.64453495",
"0.64286596",
"0.64142716",
"0.63455796",
"0.6277202",
"0.62749135",
"0.62477785",
"0.6246565",
"0.62422615",
"0.6231854",
"0.62066567",
"0.61679655",
"0.61637586",
"0.6152359",
"0.61336297",
"0.6131755",
"0.61075747",
"0.6102144",
"0.609669",
"0.6095982",
"0.6091808",
"0.608298",
"0.6076223",
"0.60759944",
"0.6074836",
"0.6068502",
"0.6049985",
"0.60418594",
"0.60305077",
"0.60153735",
"0.60049236",
"0.60031086",
"0.5999851",
"0.5999398",
"0.59912264",
"0.5989464",
"0.5989464",
"0.5989464",
"0.5989464",
"0.5989464",
"0.5989464",
"0.5989464",
"0.5989464",
"0.5989464",
"0.5989464",
"0.59846973",
"0.5983338",
"0.5977936",
"0.59700894",
"0.5966393",
"0.59596",
"0.5954666",
"0.5954399",
"0.595061",
"0.59504384",
"0.5950114",
"0.594505",
"0.59433734",
"0.5939461",
"0.59289944",
"0.59250754",
"0.5916666",
"0.5915439",
"0.59135944",
"0.5913283",
"0.5909653",
"0.5902653",
"0.5895948",
"0.58877563",
"0.5885566",
"0.5884858",
"0.5882011",
"0.58818686",
"0.5876871",
"0.58757305",
"0.58700764",
"0.5868774",
"0.5860941",
"0.58608687",
"0.585997",
"0.58576226",
"0.5852708",
"0.5846558",
"0.5838775",
"0.5837029",
"0.5830262",
"0.5816915",
"0.5813464"
] | 0.0 | -1 |
////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////// User Name Handling ///////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////// | public static String createPassword()
{
return getRandomPwd(4);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"java.lang.String getUserName();",
"java.lang.String getUserName();",
"java.lang.String getUserName();",
"private void getUserName() {\n if (mAuth.getCurrentUser() != null) {\n nameOfCurrentUser = mAuth.getCurrentUser().getDisplayName();\n Log.d(TAG, \"getUserName: getDisplayName is not null\");\n if (nameOfCurrentUser != null && nameOfCurrentUser.contains(\" \")) {\n String[] nameArray = nameOfCurrentUser.split(\" \");\n personalWelcomeMessage.setText(\"Hello, \" + nameArray[0]);\n Log.d(TAG, \"Name is: \" + personalWelcomeMessage.getText().toString());\n }\n else if (nameOfCurrentUser != null && !nameOfCurrentUser.contains(\" \")) {\n personalWelcomeMessage.setText(\"Hello, \" + nameOfCurrentUser);\n Log.d(TAG, \"Name is: \" + personalWelcomeMessage.getText().toString());\n }\n else if (nameOfCurrentUser==null){\n personalWelcomeMessage.setText(\"Hello\");\n }\n }\n }",
"private String getUserName() {\n EditText nameEditText = (EditText) findViewById(R.id.name_edit_text);\n return nameEditText.getText().toString().trim();\n }",
"String getUserName();",
"String getUserName();",
"@AutoEscape\n\tpublic String getUser_name();",
"@Override\n\tpublic void validateUserName(String name) throws UserException {\n\t\t\n\t}",
"java.lang.String getUsername();",
"java.lang.String getUsername();",
"java.lang.String getUsername();",
"java.lang.String getUsername();",
"java.lang.String getUsername();",
"java.lang.String getUsername();",
"java.lang.String getUsername();",
"java.lang.String getUsername();",
"java.lang.String getUsername();",
"private void updateUserName() {\n\t\t// if the customer has a first and last name update their username to be\n\t\t// the concatenation of their first and last name (in lower case)\n\t\t// else, make their username their first name\n\t\tif (!this.lastName.equals(Customer.EMPTY_LAST_NAME)) {\n\t\t\tthis.userName = (this.firstName + this.lastName).toLowerCase();\n\t\t} else {\n\t\t\tthis.userName = this.firstName.toLowerCase();\n\t\t}\n\t}",
"public static String getUserName (String name) {\r\n\r\n char intial = name.charAt (0);\r\n String intialString = \"\";\r\n intialString = intialString.valueOf (intial);\r\n name = intialString.toUpperCase () + name;\r\n\r\n return name;\r\n }",
"String getUserUsername();",
"public void setUser_name(String user_name);",
"public void onGetName(String user,String name);",
"java.lang.String getUser();",
"public void validateUserName(String name) {\n\t\ttry {\n\t\t\tAssert.assertTrue(userName.getText().equalsIgnoreCase(\"Hi \"+name),\"Username is correctly displayed\");\n\t\t\tLog.addMessage(\"Username correctly displayed\");\n\t\t}catch(Exception e) {\n\t\t\tLog.addMessage(\"Validation of User Login is failed\");\n\t\t\tLog.addMessage(e.getMessage().toString());\n\t\t\tAssert.assertTrue(false, \"Failed to validate User Login\");\n\t\t}\n\t}",
"@Override\n public String getUsername() {\n String username = mTxtUsername.getText().toString().trim()\n .toLowerCase(Locale.getDefault());\n checkUsername(username);\n return username;\n }",
"private String displayUsername() {\n // Get username entered from the previous page and display in the current page\n Intent myIntent = getIntent();\n String nameEntered = myIntent.getStringExtra(\"EditTextValue\");\n String userName = \"Welcome, \" + nameEntered;\n return userName;\n }",
"public static String createUsername() {\r\n\t\tboolean complete = false;\r\n\t\tString username = \"\";\r\n\t\t\r\n\t\twhile(complete == false) {\r\n\t\t\tSystem.out.println(\"Please type a username (no spaces):\");\r\n\t\t\tusername = scan.nextLine();\r\n\t\t\t//us.checkExit(username);\r\n\t\t\t\r\n\t\t\tif(us.checkUniqueUsername(username) == false) {\r\n\t\t\t\tSystem.out.println(\"Username is taken, try again, partner.\");\r\n\t\t\t\tcontinue;\r\n\t\t\t} else if(username.contains(\" \")) {\r\n\t\t\t\tSystem.out.println(\"Invalid username - contains space(s)\");\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\t\t\tcomplete = true;\r\n\t\t}//While1\r\n\t\t\r\n\t\treturn username;\r\n\t}",
"private String getLoggedInUserName() {\n try {\n /*\n * Get the user information.\n */\n String userName = ServerUtilities.getServerUserInfo().getName();\n\n if(userName.isEmpty()) {\n return new String(\"Anonymous User\");\n }\n return userName;\n } catch (Exception ignore) {\n }\n\n return new String(\"Anonymous User\");\n }",
"String extractUserNameFromData(String userInfoDataFromServer);",
"public static String onGetLocalUserName(Context context){\n return PreferencesUtils.getString(context, Config.KEY_OF_USER_NAME, \"\");\n }",
"@Override\n\tpublic String getUserName() {\n\t\treturn super.getUserName();\n\t}",
"@Override\n\tpublic String getUserName() {\n\t\treturn super.getUserName();\n\t}",
"public String setUserName2(UserManager uManager){\n boolean exists = true;\n String userName = \"\";\n while(exists) {\n userName = setUserName();\n exists = setUserNameAndValidate.apply(userName, uManager);\n userNameErrorMessage(exists, userName);\n }\n return userName;\n }",
"@Override\n public String getUserName() {\n return name;\n }",
"@When(\"^Enter username as \\\"([^\\\"]*)\\\"$\")\n\tpublic void enter_username_as(String arg1) throws Throwable {\n\t\tuserName = arg1;\n\t}",
"public void setUserName(String name) {\r\n\t\tthis.userName = name;\r\n\t}",
"String getUserName(String userId);",
"@AutoEscape\n\t@Override\n\tpublic String getUserName();",
"@AutoEscape\n\t@Override\n\tpublic String getUserName();",
"private static String getUserName(){\r\n Scanner in = new Scanner(System.in);\r\n System.out.print(\"What is your character's name?\");\r\n return in.nextLine();\r\n }",
"private String getUserName(Callback[] callbacks) throws LoginException\n {\n String userName = ((NameCallback)callbacks[0]).getName();\n if (userName == null) {\n throwLoginException(\"Username not supplied.\");\n }\n System.out.println(\"Username: \"+userName);\n return userName;\n }",
"public void setUserName( String value )\n {\n m_UserName = value;\n }",
"public String getUserName();",
"public boolean checkUsername(String user) {\n\n }",
"public void setUsername(java.lang.CharSequence value) {\n this.username = value;\n }",
"public String setUserName(){\n String userName = \"\";\n while(userName.isBlank()) {\n System.out.print(\"Please Enter UserName: \");\n userName = supplyString.get();\n }\n return userName.trim();\n }",
"private String getUser(String name) {\n\t\treturn null;\n\t}",
"private void requestUserName() {\n // Show an alert to ask for the name\n AlertDialog.Builder builder = new AlertDialog.Builder(this);\n builder.setTitle(\"Enter name:\");\n\n final EditText input_field = new EditText(this);\n\n builder.setView(input_field);\n\n // If a name is provided, let the user pass after pressing Ok\n builder.setPositiveButton(\"OK\", new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialogInterface, int i) {\n name = input_field.getText().toString();\n }\n });\n // If a no name is provided, prompt again\n builder.setNegativeButton(\"Cancel\", new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialogInterface, int i) {\n dialogInterface.cancel();\n requestUserName();\n }\n });\n\n builder.show();\n }",
"private void validationUsername( String name ) throws Exception {\n\t\t\t if ( name != null && name.trim().length() < 3 ) {\n\t\t\t throw new Exception( \"Le nom d'utilisateur doit contenir au moins 3 caractères.\" );\n\t\t\t }\n\t\t\t}",
"private void loadUserName() {\n\t\tAsyncTaskHelper.create(new AsyncMethods<String>() {\n\n\t\t\t@Override\n\t\t\tpublic String doInBackground() {\n\t\t\t\tUser user = new User();\n\t\t\t\tuser.setId(savedGoal.getGoal().getUserId());\n\t\t\t\treturn ClientUserManagement.getUsernameByUserId(user);\n\t\t\t}\n\n\t\t\t@Override\n\t\t\tpublic void onDone(String value, long ms) {\n\t\t\t\tmGoalOwner.setText(value);\n\t\t\t}\n\t\t});\n\n\t}",
"public static String getUserName() {\n\t\treturn readTestData.getkeyData(\"SignUpDetails\", \"Key\", \"Value\", \"userName\");\n\t}",
"public static String getUserDisplayName() {\r\n return getUsername();\r\n }",
"public abstract String getUserName();",
"String getUsername();",
"String getUsername();",
"String getUsername();",
"String getUsername();",
"String getUsername();",
"String getUsername();",
"public String getUser_name() {\n return user_name;\n }",
"public void setUser_name(String user_name) {\n this.user_name = user_name;\n }",
"private String getUserName( Callback[] callbacks )\n throws LoginException\n {\n String userName = ( ( NameCallback ) callbacks[0] ).getName();\n if ( userName == null ) {\n throwLoginException( \"Username not supplied.\" );\n }\n // Print debugging information\n if ( 1 == 1 ) {\n cLogger.info( \"\\tuserName\\t= \" + userName );\n }\n\n return userName;\n }",
"public boolean validateUserName(String name)\n\t{\n\t\tif (username.getText().length() < MIN_USERNAME_LENGTH)\n\t\t{\n\t\t\tsetWarning(\"username too short\");\n\t\t\treturn false;\n\t\t}\n\n\t\tif (!name.matches(\"^[a-zA-Z0-9]*$\"))\n\t\t{\n\t\t\tsetWarning(\"invalid username\");\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t}",
"public String getUserName() {\n\t\treturn phoneText.getText().toString();\n\t}",
"@Override\n public String getUserRealName(HttpServletRequest request) {\n String result = null;\n String userName = (String) request.getSession().getAttribute(\"userName\");\n if (userName != null && !userName.equals(\"\")) {\n CrUser user = userRepo.findByUserName(userName);\n if (user != null) {\n result = user.getRealName();\n }\n }\n return result;\n }",
"String getUser();",
"String getUser();",
"protected final String getUserName() {\n return this.userName;\n }",
"public String getFriendlyUsername(Context ctx) {\n User user = DBHandler.getInstance(ctx).getUser(getPartnerId());\n String name = getState().toString();\n if (user == null || getState() != State.Open) {\n if (getState() != State.Open) {\n if(getState() == State.Close) {\n name = name + \" - \" + AndroidUtils.getFormattedTime(getTime());\n } else {\n name = ctx.getString(R.string.todays_match);\n }\n }\n } else {\n name = user.getFullName();\n }\n return name;\n }",
"public String getUserName() {\n\t \t return userName; \n\t}",
"@Override\n public java.lang.String getUserName() {\n return _partido.getUserName();\n }",
"public UTF8String getUserName() {\n return this.userName;\n }",
"@Override\n\tpublic String getUserName() {\n\t\treturn model.getUserName();\n\t}",
"@Override\n\tpublic String getUserName() {\n\t\treturn model.getUserName();\n\t}",
"@Override\n\tpublic java.lang.String getUserName() {\n\t\treturn _second.getUserName();\n\t}",
"@Override\n public String getUserFullName(String userName) {\n User user = getUserInfo(userName);\n String fullName = \"\";\n\n if (user == null) {\n return \"\";\n }\n\n if (user.getFirstName() != null) {\n fullName = user.getFirstName();\n }\n\n if (user.getLastName() != null) {\n if (fullName.length() > 0) {\n fullName += \" \" + user.getLastName();\n } else {\n fullName = user.getLastName();\n }\n }\n return fullName;\n }",
"public String getUserNameExample()\n {\n return null;\n }",
"private String extractUsername() {\n return SwingUtil.extract(usernameJTextField, Boolean.TRUE);\n }",
"String getCurrentUserDisplayName() throws Exception;",
"private String createUser(String name) {\n\t\treturn null;\n\t}",
"public static void printUsername() {\n\t\tSystem.out.println(\"Enter the username\");\n\t\tString username = Utility.SCANNER.nextLine();\n\t\tint length = username.length();\n\t\tif(length > 3) {\n\t\t\tSystem.out.println(\"Hello \"+username+\", How are you?\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"Invalid username\");\n\t\t}\n\t}",
"String usernameLabel();",
"public String getUserName() {\n return txtUserName().getText();\n }",
"@Override\n\tpublic String getGivenName() {\n\t\treturn user.getUserInfo().getGivenName();\n\t}",
"@Override\n\tpublic java.lang.String getUserName() {\n\t\treturn _paper.getUserName();\n\t}",
"public String getUserName(){\n return mSharedPreferences.getString(SharedPrefContract.PREF_USER_NAME, null);\n }",
"public static String getUserName(long requestorId)\n\t {\n\t String fullName = StringPool.BLANK;\n\t try\n\t {\n\t User user = UserLocalServiceUtil.getUserById(requestorId);\n\t fullName = user.getFirstName() + StringPool.SPACE + user.getLastName();\n\t } catch (PortalException e)\n\t {\n\t LOGGER.error(\"Failed to find user details...\" + e.getMessage());\n\t } catch (SystemException e)\n\t {\n\t LOGGER.error(\"User not exist....\" + e.getMessage());\n\t }\n\t return fullName;\n\t }",
"private String makeFullName(User user) {\n\t\ttry {\n\t\t\treturn user.getLastName().toUpperCase() + user.getFirstName().toUpperCase();\n\t\t} catch (Throwable t) {}\n\t\treturn user.getUsername().toUpperCase();\n\t}",
"String getUserName() {\r\n\t\t\treturn username;\r\n\t\t}",
"String getUserCnName(String userName);",
"public String getUserName(){\n\t\treturn this.userName;\n\t}",
"public void typeUserName(String text) {\n txtUserName().typeText(text);\n }",
"private String createDisplayName(User user, String listName) {\n assert ((user != null) && (user.getUsername() != null));\n String name = StringUtils.isNotBlank(user.getName()) ? user.getName() : user.getUsername();\n if (StringUtils.isNotBlank(user.getEmail()) && NAME_AND_EMAIL.equals(listName)) {\n name = name + \" <\" + user.getEmail() + \">\";\n } else if (NAME_AND_USERNAME.equals(listName)) {\n name = name + \" (\" + user.getUsername() + \")\";\n }\n assert (name != null);\n return name;\n }",
"private void logic_for_username() {\n userID = SCUtils.getUniqueID(getApplicationContext());\n databaseRef.child(\"users\").child(userID).addListenerForSingleValueEvent(new ValueEventListener() {\n @Override public void onDataChange(DataSnapshot dataSnapshot) {\n progressBar.setVisibility(View.GONE);\n if (!dataSnapshot.exists()) {\n show_alert_username();\n } else {\n username = dataSnapshot.getValue(String.class);\n Snackbar.make(findViewById(android.R.id.content), \"Logged in as \" + username, Snackbar.LENGTH_SHORT).show();\n }\n }\n\n @Override public void onCancelled(DatabaseError databaseError) {\n Log.w(\"!!!\", \"username:onCancelled\", databaseError.toException());\n }\n });\n }",
"public String getUserRealname() {\n return userRealname;\n }",
"public String getName(){\n return username;\n\t}",
"public String getUserRealName() {\r\n return userRealName;\r\n }",
"private void handleUser(String username) {\n if (username.toLowerCase().equals(validUser)) {\n sendMsgToClient(\"331 User name okay, need password\");\n currentUserStatus = userStatus.ENTEREDUSERNAME;\n } else if (currentUserStatus == userStatus.LOGGEDIN) {\n sendMsgToClient(\"530 User already logged in\");\n } else {\n sendMsgToClient(\"530 Not logged in\");\n }\n }",
"public String getUserName() {\r\n return userName;\r\n }",
"public String getUserName() {\r\n return userName;\r\n }"
] | [
"0.7743013",
"0.7743013",
"0.7743013",
"0.76034766",
"0.7363566",
"0.7362821",
"0.7362821",
"0.729844",
"0.7269126",
"0.7240389",
"0.7240389",
"0.7240389",
"0.7240389",
"0.7240389",
"0.7240389",
"0.7240389",
"0.7240389",
"0.7240389",
"0.7230173",
"0.7200226",
"0.7127713",
"0.7118419",
"0.7066608",
"0.6998114",
"0.6981979",
"0.69403976",
"0.69153756",
"0.6896489",
"0.68919134",
"0.68886894",
"0.6865506",
"0.68485093",
"0.68485093",
"0.6846616",
"0.6820596",
"0.68139756",
"0.6799259",
"0.6797734",
"0.6795522",
"0.6795522",
"0.6789468",
"0.6783729",
"0.6776986",
"0.6776606",
"0.6764949",
"0.6763638",
"0.67549396",
"0.67427105",
"0.67360187",
"0.6735303",
"0.673044",
"0.6725966",
"0.67234504",
"0.67174745",
"0.6717423",
"0.6717423",
"0.6717423",
"0.6717423",
"0.6717423",
"0.6717423",
"0.67149234",
"0.6708221",
"0.670703",
"0.66640323",
"0.66567934",
"0.66498023",
"0.6645046",
"0.6645046",
"0.6637477",
"0.66342956",
"0.66105145",
"0.66102034",
"0.66079265",
"0.6604987",
"0.6604987",
"0.66023415",
"0.6601934",
"0.65908253",
"0.65861195",
"0.6578803",
"0.6574654",
"0.6574394",
"0.65714484",
"0.65587497",
"0.6555219",
"0.6553065",
"0.65519726",
"0.6551617",
"0.65457964",
"0.65413886",
"0.653969",
"0.6534874",
"0.65333045",
"0.6532693",
"0.65302134",
"0.652829",
"0.6526959",
"0.6516869",
"0.65122235",
"0.6506745",
"0.6506745"
] | 0.0 | -1 |
/////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////// Password Handling ///////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////// | public static String[] encrypt(String password) throws NoSuchAlgorithmException, InvalidKeySpecException {
byte[] salt = new byte[8];
new Random().nextBytes(salt);
return encrypt(password, salt);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"java.lang.String getPassword();",
"java.lang.String getPassword();",
"java.lang.String getPassword();",
"java.lang.String getPassword();",
"java.lang.String getPassword();",
"java.lang.String getPassword();",
"java.lang.String getPassword();",
"String getPassword();",
"String getPassword();",
"String getPassword();",
"String getPassword();",
"String getPassword();",
"String getPassword();",
"String getPassword();",
"String getPassword();",
"String getPassword();",
"String getUserPassword();",
"Password getPsw();",
"public String getPassword();",
"public String getPassword();",
"public java.lang.String getPassword();",
"public String getPassword()\r\n/* 21: */ {\r\n/* 22:38 */ return this.password;\r\n/* 23: */ }",
"public String getPassword() {return password;}",
"String password();",
"void validatePassword(String usid, String password) throws Exception;",
"PasswordProtection protection();",
"String getTemporaryPassword();",
"public char[] getPassword();",
"String getNewPassword();",
"public String getPassword(){\n return password;\n\t}",
"public abstract String getPassword() throws DataServiceException;",
"@Test\n\t void testPassword() {\n\t\tString expected=passwordEncoder.encode(\"faizan@123\");\n\t\tString actual=user.getPassword();\n\t\tassertNotEquals(expected, actual);\n\t}",
"private char[] getPass()\n {\n return password.getPassword();\n }",
"@Override\n public String getPassword() {\n return password;\n }",
"@Override public String getPassword()\r\n {\r\n return password;\r\n }",
"public String getPassword() { \n return this.password; \n }",
"protected void validatePassword(){\n //Only Checking For Word Type Password With Minimum Of 8 Digits, At Least One Capital Letter,At Least One Number,At Least One Special Character\n Boolean password = Pattern.matches(\"^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9](?=.*[!@#$%^&*()])).{8,}$\",getPassword());\n System.out.println(passwordResult(password));\n }",
"public int getPassword(){\n return password;\r\n }",
"boolean hasPassword();",
"boolean hasPassword();",
"boolean hasPassword();",
"boolean hasPassword();",
"boolean hasPassword();",
"boolean hasPassword();",
"boolean hasPassword();",
"boolean hasPassword();",
"@Override\n public String getPassword() {\n return password;\n }",
"private String extractPassword() {\n return SwingUtil.extract(passwordJPasswordField, Boolean.TRUE);\n }",
"public String getPassword()\n {\n return _password;\n }",
"@Override\r\n\tpublic boolean validatePassword(String arg0, String arg1) {\n\t\treturn false;\r\n\t}",
"private void validatePassword() {\n mPassWordValidator.processResult(\n mPassWordValidator.apply(binding.registerPassword.getText().toString()),\n this::verifyAuthWithServer,\n result -> binding.registerPassword.setError(\"Please enter a valid Password.\"));\n }",
"public String getPassword(){\n \treturn password;\n }",
"void onPasswordSuccess();",
"boolean hasPassword2();",
"public String getPassword(){\n return this.password;\n }",
"boolean getPasswordValid();",
"void setPassword(String ps) {\n this.password = ps;\n }",
"public String getPassword()\r\n {\r\n return password;\r\n }",
"public void setPassword(String pass);",
"public String getPassword()\r\n {\r\n return password;\r\n }",
"public String getPassword()\r\n {\r\n return password;\r\n }",
"@Override\n\tpublic String getPass() {\n\t\treturn password;\n\t}",
"void setPassword(String password);",
"void setPassword(String password);",
"void setPassword(String password);",
"void setErrorPassword();",
"public String getPassword(){\n return mPassword;\n }",
"public String getPassword()\n {\n return _password;\n }",
"public String getPassword() {\n\treturn password;\n}",
"private String getPassword(){\n System.out.println(\"Enter the Password Minimum Of 8 Charters\");\n return sc.next();\n }",
"public String getPassword(){\r\n\t\treturn password;\r\n\t}",
"public String getPassword() {\n return password;\r\n }",
"@Override\n public String getPassword() {\n return null;\n }",
"public String getPassword() {\r\n return password;\r\n }",
"public String getPassword()\n {\n return password;\n }",
"public String getPassword()\n {\n return password;\n }",
"private boolean validatePassword() {\n\t\tEditText pw = (EditText)view.findViewById(R.id.et_enter_new_password);\n\t\tEditText confPW = (EditText)view.findViewById(R.id.et_reenter_new_password);\n\t\t\t\n\t\tString passwd = pw.getText().toString();\n\t\tString confpw = confPW.getText().toString();\n\t\t\n\t\t// Check for nulls\n\t\tif (passwd == null || confpw == null) {\n\t\t\tToast.makeText(view.getContext(), \"Passwords are required\", Toast.LENGTH_LONG).show();\n\t\t\treturn false;\n\t\t}\n\t\t\n\t\t// Ensure password and retypted passwords match\n\t\tif (!passwd.contentEquals(confpw)) {\n\t\t\tToast.makeText(view.getContext(), \"Passwords must match\", Toast.LENGTH_LONG).show();\n\t\t\treturn false;\n\t\t}\n\t\t\n\t\t// Ensure password meets complexity\n\t\tif (passwd.length() < 7) { // min length of 7 chars\n\t\t\tToast.makeText(view.getContext(), \"Password must be at least 7 characters long\", \n\t\t\t\t\tToast.LENGTH_LONG).show();\n\t\t\treturn false;\n\t\t}\n\t\t\n\t\t// Not really sure what the requirements are for private key password complexity yet\n\t\tnewPassword = passwd; // Set class variable with new password\n\t\treturn true;\n\t}",
"public String getPassword()\n \t{\n \t\treturn password;\n \t}",
"private byte[] handlePassword(byte[] message) {\n\t\tbyte[] password = Arrays.copyOfRange(message, \"password:\".getBytes().length, message.length);\n\n\t\t// Check hash of password against user's value in the digest text file\n\t\tpassVerified = checkHash(password, ComMethods.getValueFor(currentUser, hashfn));\n\n\t\t// Respond to user\n\t\tif (passVerified) {\n\t\t\tcurrentPassword = password; // store pw for session\n\t\t\treturn preparePayload(\"accepted\".getBytes());\n\t\t} else {\n\t\t\treturn preparePayload(\"rejected\".getBytes());\n\t\t}\n\t}",
"@When(\"^user should enter the valid password in the loginpage$\")\n\tpublic void user_should_enter_the_valid_password_in_the_loginpage() throws Throwable {\n\t\tinputValuestoElement(pa.getAp().getPasswordinput(), \"superman@1010\");\n\t\n\t \n\t}",
"public void setPassword2(String password2);",
"public void setPassword(String password)\r\n/* 26: */ {\r\n/* 27:42 */ this.password = password;\r\n/* 28: */ }",
"public String getPassword() {\r\n \t\treturn properties.getProperty(KEY_PASSWORD);\r\n \t}",
"private void writePassword(ByteBuf payload, String password) {\n byte[] bytes = password.getBytes(UTF_16LE);\n for (int i = 0; i < bytes.length; i++) {\n byte b = bytes[i];\n bytes[i] = (byte) ((b >> 4 | ((b & 0x0F) << 4)) ^ 0xA5);\n }\n payload.writeBytes(bytes);\n }",
"@Override\npublic String getPassword() {\n\treturn null;\n}",
"@When(\"^password$\")\n public void password() throws Throwable {\n \tSystem.out.println(\"input password\");\n \t//Assert.assertEquals(34, 40);\n \t\n \t\n \n }",
"public String getPassword()\n {\n return password;\n }",
"public String getPassword()\n {\n return password;\n }",
"@Override\n public String getPassword() {\n return this.password;\n }",
"@Override\n\tpublic String getPassword() {\n\t\treturn password;\n\t}",
"@Override\n\tpublic String getPassword() {\n\t\treturn password;\n\t}",
"@Override\n\tpublic String getPassword() {\n\t\treturn password;\n\t}",
"public String getPassword()\n {\n return this.password;\n }",
"void onChangePasswordSuccess(ConformationRes data);",
"private boolean isPasswordValid(String password) {\n return true;\n }",
"private boolean isPasswordValid(String password) {\n return true;\n }",
"private boolean cekPassword(String password){\n return password.equals(Preferences.getRegisteredPass(getBaseContext()));\n }",
"public String decode( String encodedPassword );",
"public String getPassword() {\r\n return this.password;\r\n }",
"@When(\"^The user enters the password$\")\n\tpublic void the_user_enters_the_password() throws Throwable {\n\t\t\n\t lpw.password_textbox();\n\t}",
"public void showPasswordPrompt();"
] | [
"0.79550064",
"0.79550064",
"0.79550064",
"0.79550064",
"0.79550064",
"0.79550064",
"0.79550064",
"0.7890869",
"0.7890869",
"0.7890869",
"0.7890869",
"0.7890869",
"0.7890869",
"0.7890869",
"0.7890869",
"0.7890869",
"0.7748028",
"0.77307403",
"0.7708557",
"0.7708557",
"0.76971084",
"0.7621552",
"0.7438094",
"0.74306583",
"0.74128133",
"0.73515487",
"0.73250973",
"0.73128223",
"0.73053",
"0.72877127",
"0.7251755",
"0.7231487",
"0.7225582",
"0.7220375",
"0.7211082",
"0.7184508",
"0.71638143",
"0.7163127",
"0.7163097",
"0.7163097",
"0.7163097",
"0.7163097",
"0.7163097",
"0.7163097",
"0.7163097",
"0.7163097",
"0.7158212",
"0.71499366",
"0.7149689",
"0.7139414",
"0.71333617",
"0.7127121",
"0.7114503",
"0.71118975",
"0.7101129",
"0.70878243",
"0.70819443",
"0.7077653",
"0.70763975",
"0.70668966",
"0.70170903",
"0.70157766",
"0.7004762",
"0.7004762",
"0.7004762",
"0.6998143",
"0.6994429",
"0.69611454",
"0.694949",
"0.6943332",
"0.6942377",
"0.6926589",
"0.6921126",
"0.6917668",
"0.69171304",
"0.69171304",
"0.69153297",
"0.6913412",
"0.690766",
"0.69056666",
"0.69034004",
"0.6897219",
"0.6895622",
"0.6894412",
"0.6892954",
"0.6886543",
"0.6884312",
"0.6884312",
"0.68837637",
"0.68777084",
"0.68777084",
"0.68777084",
"0.6867452",
"0.6864898",
"0.6856544",
"0.6856544",
"0.68531936",
"0.6852018",
"0.6847099",
"0.684648",
"0.68460226"
] | 0.0 | -1 |
printCursor( MyApplication.getSqLiteDatabase().rawQuery(String.format("SELECT FROM protocolentry ;"), null)); MyApplication.getSqLiteDatabase().execSQL(String.format("UPDATE `user` SET `last_upload`='%s' WHERE `id_user`='%s';", "20150523 11:01:47", "KF031192")); printCursor( MyApplication.getSqLiteDatabase().rawQuery(String.format("SELECT FROM user WHERE `offline_login`= '%d' ;", 0), null)); | public static String[] getUsers2Update()
{
Cursor users2update = MyApplication.getSqLiteDatabase().rawQuery(String.format("SELECT `id_user`FROM user WHERE `session_id`= '%s' ;", "OfflineLogin"), null);
//MyApplication.getSqLiteDatabase().execSQL(String.format("UPDATE `user` SET `offline_login`='%d' WHERE `id_user`='%s';",1, "WJ070785"));
//Cursor users2update = MyApplication.getSqLiteDatabase().rawQuery(String.format("SELECT `id_user`FROM user WHERE `offline_login`= '%d' ;", 1), null);
//users2update.moveToFirst();
//String[] user = new String[1];
//user[0] = users2update.getString(0);
//return user;
if(users2update!=null)
{
String[] u2upd = new String[users2update.getCount()];
for(int i=0;i<users2update.getCount();i++)
{
users2update.moveToNext();
u2upd[i] = users2update.getString(0);
}
return u2upd;
}
return null;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"DBCursor execute();",
"public void updateSyncStatus(String id, String status)\n {\n SQLiteDatabase database = this.getWritableDatabase(); \n String updateQuery = \"Update UsersTable set udpateStatus = '\"+ status +\"' where userId=\"+\"'\"+ id +\"'\";\n Log.d(\"query\",updateQuery); \n database.execSQL(updateQuery);\n database.close();\n }",
"public int Approvecomp(Long id) throws SQLException {\n\tLong idd=null;\r\n\trs=DbConnect.getStatement().executeQuery(\"select login_id from company where comp_id=\"+id+\"\");\r\n\tif(rs.next())\r\n\t{\r\n\t\tidd=rs.getLong(1);\r\n\t}\r\n\tSystem.out.println(idd);\r\n\tint i=DbConnect.getStatement().executeUpdate(\"update login set status='approved' where login_id=\"+idd+\"\");\r\n\treturn i;\r\n\t\r\n}",
"public Cursor test1() {\n //CREATE TABLE teste1 ( _id INTEGER PRIMARY KEY AUTOINCREMENT, f1 TEXT)\n SQLiteDatabase db = mydbHelper.getWritableDatabase();\n return db.rawQuery(\"SELECT \" + DBHelper.UID + \", \" + DBHelper.FIELD1 + \", \" +\n DBHelper.TIMESTAMP + \" FROM \" + DBHelper.TN_TESTE1, null);\n }",
"public void putAttendance(String bssid){\n int attendance=0;\n SQLiteDatabase sqLiteDatabase;\n ContentValues contentValues;\n String whereArgs[]= {bssid};\n sqLiteDatabase = helper.getWritableDatabase();\n String columns[] = {Constant.ATTENDANCE};\n String selectionArgs[] = {bssid};\n Cursor cursor = sqLiteDatabase.query(Constant.TABLE_NAME, columns, Constant.BSSID + \" =?\", selectionArgs, null, null, null, null);\n if (cursor == null) {\n Message.logMessages(\"Error: \", \"Wrong BSSID sent\");\n //TODO: add to log file: Wrong BSSID sent.\n return ;\n }\n while (cursor.moveToNext()) {\n attendance = cursor.getInt(cursor.getColumnIndex(Constant.ATTENDANCE));//column index of Constant.ATTENDANCE is 6\n }\n cursor.close();\n contentValues = new ContentValues();\n contentValues.put(Constant.ATTENDANCE, attendance + 1);\n Message.logMessages(\"updateAttdBssid:\", \"Attendance++ done\");\n sqLiteDatabase.update(Constant.TABLE_NAME,contentValues,Constant.BSSID+\"=?\",whereArgs);\n }",
"public boolean EditUser(String lastCMND, User u){\n String sql = \"SELECT * FROM user WHERE cmnd=\"+lastCMND;\n ConnectDB c = new ConnectDB();\n conn = c.getConnection();\n try {\n Statement stmt = conn.createStatement(\n ResultSet.TYPE_SCROLL_INSENSITIVE,\n ResultSet.CONCUR_UPDATABLE);\n// ps = conn.prepareStatement(sql);\n// ps.setString(1, u.getCmnd());\n// ps.setString(2, u.getFullName());\n// ps.setInt(3, u.getPhone());\n// ps.setString(4, u.getAddress());\n// ps.setString(5, u.getAvt());\n// ps.setString(6, lastCMND);\n rs = stmt.executeQuery(sql);\n System.err.println(rs);\n while(rs.next()){\n rs.updateString(\"cmnd\", u.getCmnd());\n rs.updateString(\"fullname\", u.getFullName());\n rs.updateInt(\"phone\", u.getPhone());\n rs.updateString(\"address\", u.getAddress());\n rs.updateString(\"avt\", u.getAvt());\n rs.updateRow();\n \n }\n return true;\n// if (ps.executeUpdate() > 0) {\n// return true;\n// } else {\n// return false;\n// }\n } catch (Exception e) {\n e.printStackTrace();\n return false;\n }\n \n }",
"public String checkUser(String id, String pass) throws SQLException {\n String result = \"three\";\n int count = 0;\n Log.i(TAG + \"credentials\", id + pass);\n SQLiteDatabase db = dbHelper.getReadableDatabase();\n // Cursor cursor = db.rawQuery(\"Select * from \" + Database.userTable, null);\n\n Cursor cursor = db.rawQuery(\"Select * from \"+Database.userTable , null);//+\" where \"+Database.userId+\" = ?\",new String[] {\"\" +id} );\n Log.i(TAG + \"count\", cursor.getCount() + \"\" + id + pass);\n if(cursor.moveToFirst()){\n //password = 6, priviledges = 7\n do {\n Log.i(\"pass\", cursor.getString(5) + cursor.getString(0));\n if (cursor.getString(0).equals(id)) {\n if(cursor.getString(5).equals(pass) ) {\n db.close();\n result = cursor.getString(6);\n return result;\n }else{\n result = \"pass\";\n return result;\n }\n\n }\n }while (cursor.moveToNext());\n // }else\n // return \"three\";\n }\n Log.i(TAG +\"after cursor\", \"No data\");\n db.close();\n return result;\n }",
"public static String altaLogico(int id){\n String query=\"UPDATE empleado SET activo=1 WHERE idEmpleado=\"+id;\n return query;\n}",
"public int Appbr(Long broker_id)throws SQLException {\nint i=DbConnect.getStatement().executeUpdate(\"update login set status='approved' where login_id=\"+broker_id+\"\");\r\n\treturn i;\r\n}",
"public int Edituser(Long userid, Long brokerId, String firstname,\r\n\t\tString lastname, String address, String city, String eMail, Long phone,\r\n\t\tLong pincode) throws SQLException {\n\tLong useridd=null;\r\n\trs=DbConnect.getStatement().executeQuery(\"select user_id from customer where login_id=\"+userid+\"\");\r\n\tif(rs.next())\r\n\t{\r\n\t\tuseridd=rs.getLong(1);\r\n\t}\r\n\tint i=DbConnect.getStatement().executeUpdate(\"update customer set address='\"+address+\"',city='\"+city+\"',e_mail='\"+eMail+\"',phone=\"+phone+\",pincode=\"+pincode+\" where user_id=\"+useridd+\"\");\r\n\treturn i;\r\n}",
"public void updateResult(){\n String lastUpdateDate = User.getLastUpdateDate(getApplicationContext());\n CheckListResultDBHelper dbHelper = new CheckListResultDBHelper(this);\n dbHelper.getReadableDatabase();\n int cnt = User.getCurrentCheckListCount(getApplicationContext());\n Log.d(\"TEST\", \"start date : \" + User.getStartDate(getApplicationContext()));\n Log.d(\"TEST\", \"last update date : \" + lastUpdateDate + \", cnt : \" + cnt);\n dbHelper.close();\n\n if(!lastUpdateDate.equals(\"\") && cnt > 0 && !lastUpdateDate.equals(nowDate)){\n ArrayList<String> list = User.getBetweenDate(lastUpdateDate, nowDate);\n save(list, null, null);\n }\n }",
"@Override\n public long updateCompactRaw2(Date birthDay, String password, ContactType type, long id) {\n if (updateCompactRaw2PreparedStatement6==null) {\n // generate static SQL for statement\n String _sql=\"UPDATE contact SET birth_day=?, id=? WHERE password=? and type=?\";\n updateCompactRaw2PreparedStatement6 = KriptonDatabaseHelper.compile(_context, _sql);\n }\n KriptonContentValues _contentValues=contentValuesForUpdate(updateCompactRaw2PreparedStatement6);\n _contentValues.put(\"birth_day\", SQLTypeAdapterUtils.toData(DateAdapterType.class, birthDay));\n _contentValues.put(\"id\", id);\n\n _contentValues.addWhereArgs(SQLTypeAdapterUtils.toString(PasswordAdapterType.class, password));\n _contentValues.addWhereArgs(SQLTypeAdapterUtils.toString(EnumAdapterType.class, type));\n\n // generation CODE_001 -- BEGIN\n // generation CODE_001 -- END\n // log section BEGIN\n if (_context.isLogEnabled()) {\n\n // display log\n Logger.info(\"UPDATE contact SET birth_day=:birth_day, id=:id WHERE password=? and type=?\");\n\n // log for content values -- BEGIN\n Triple<String, Object, KriptonContentValues.ParamType> _contentValue;\n for (int i = 0; i < _contentValues.size(); i++) {\n _contentValue = _contentValues.get(i);\n if (_contentValue.value1==null) {\n Logger.info(\"==> :%s = <null>\", _contentValue.value0);\n } else {\n Logger.info(\"==> :%s = '%s' (%s)\", _contentValue.value0, StringUtils.checkSize(_contentValue.value1), _contentValue.value1.getClass().getCanonicalName());\n }\n }\n // log for content values -- END\n\n // log for where parameters -- BEGIN\n int _whereParamCounter=0;\n for (String _whereParamItem: _contentValues.whereArgs()) {\n Logger.info(\"==> param%s: '%s'\",(_whereParamCounter++), StringUtils.checkSize(_whereParamItem));\n }\n // log for where parameters -- END\n }\n // log section END\n int result = KriptonDatabaseHelper.updateDelete(updateCompactRaw2PreparedStatement6, _contentValues);\n return result;\n }",
"public void checkInTime() {\n Date recentDate = new Date();\n PreparedStatement stmt;\n\n SimpleDateFormat dateStamp = new SimpleDateFormat(\"dd/MM/yyyy\");\n SimpleDateFormat timeStamp = new SimpleDateFormat(\"h:mm:ss a\");\n String dateuser = dateStamp.format(recentDate);\n String timeuser = timeStamp.format(recentDate);\n\n String id = txtUsername.getText();\n\n try {\n String querysql = \"update employee set time_in='\" + timeuser + \"',date='\" + dateuser + \"'\" + \", parking_spot = '\" + parking + \"' where id_no='\" + id + \"' \";\n stmt = conn.prepareStatement(querysql);\n stmt.execute();\n\n conn.close();\n\n } catch (SQLException e) {\n\n System.out.println(\"Failed to update\");\n\n }\n\n }",
"@And(\"^See if database has been updated$\")\n public void seeIfDatabaseHasBeenUpdated() throws SQLException, ClassNotFoundException {\n\n myResultSet = myConn.execute(\"select name, user_id from wishlist where id =\" + id);\n\n while(myResultSet.next()){\n String result = myResultSet.getString(1);\n String result2 = myResultSet.getString(2);\n System.out.println(result + \" and \" + result2);\n }\n\n myConn.closeConnection();\n\n }",
"void refresh()\n {\n try {\n getConnectiondb();\n String getaudid = (\"SELECT * FROM Auditoriums\");\n Statement stgetaudid = myConn.createStatement();\n\nResultSet rsgetaudid = stgetaudid.executeQuery(getaudid);\n while(rsgetaudid.next())\n {\n String aud_id = rsgetaudid.getString(\"Aud_ID\");\n System.out.println(\"audid = \"+aud_id);\n String updateaud = \"update Auditoriums set status = \\\"N\\\" where Aud_ID = ?\";\n PreparedStatement pst1 = myConn.prepareStatement(updateaud);\n pst1.setString(1, aud_id);\n \n\n\n pst1.execute();\n\n\n }\n \n } catch (SQLException ex) {\n Logger.getLogger(ModifyEvents.class.getName()).log(Level.SEVERE, null, ex);\n } catch (ClassNotFoundException ex) {\n Logger.getLogger(ModifyEvents.class.getName()).log(Level.SEVERE, null, ex);\n }\n \n \n try {\n getConnectiondb();\n //select aud_id from ahase\n \n \n String sql = (\"SELECT * FROM AHASE\");\n Statement st = myConn.createStatement();\n\nResultSet rs = st.executeQuery(sql);\n while(rs.next())\n {\n String aud_id = rs.getString(\"Aud_ID\");\n System.out.println(\"final audid = \"+aud_id);\n String updateaud = \"update Auditoriums set status = \\\"Y\\\" where Aud_ID = ?\";\n PreparedStatement pst = myConn.prepareStatement(updateaud);\n pst.setString(1, aud_id);\n pst.execute();\n \n\n\n }\n \n\n\n \n } catch (SQLException ex) {\n Logger.getLogger(ModifyEvents.class.getName()).log(Level.SEVERE, null, ex);\n } catch (ClassNotFoundException ex) {\n Logger.getLogger(ModifyEvents.class.getName()).log(Level.SEVERE, null, ex);\n }\n \n }",
"private void gettimes() {\n\t\tCursor c=mydb.rawQuery(\"SELECT * FROM timedata \", null);\n\t\t System.out.println(\" $$$$$$$$$$$$$$$$$$$$$$$ fetchdata after retriving completed @@@@@@@@@@@@@@@@@@@@@\");\n\t\t c.moveToFirst();\n\t\t \n\t\t if(c!=null)\n\t\t {\n\t\t\t do{\n\t\t\t\t \n\t\t\t\t int c1=c.getColumnIndex(\"fromtime\");\n\t\t\t\t if(c.getCount()>0)\n\t\t\t\t dfromtime=c.getString(c1);\n\t\t\t\t System.out.println(\" $$$$$$$$$$$$$$$$$$$$$$$ fetchdata \"+dfromtime);\n\t\t\t\t int c2=c.getColumnIndex(\"totime\");\n\t\t\t\t dtotime=c.getString(c2);\n\t\t\t\t \n\t\t\t }while(c.moveToNext());\n\t\t\t c.close();\n\t\t\t mydb.close();\n\t\t }\n\t}",
"private void updateDB() {\n }",
"@Override\n public void onCancelled(DatabaseError error) {\n Log.e(TAG, \"Failed to read user!\");\n }",
"public void executeUpdate(final String s){\n\n new AsyncTask<Void,Void,Void>() {\n\n @Override\n protected Void doInBackground(Void... voids) {\n mySql = new MySql();\n //Obtengo los resultados de la consulta\n ResultBaseDeDatosUpdates result = mySql.executeUpdate(s);\n if (result != null) {\n if (result.Conecto()) {\n int rs = result.getResultado();\n Log.v(\"MySql\", String.valueOf(rs));\n } else {\n Log.v(\"MySql\", \"Error de conexión\");\n }\n }else {\n Log.v(\"MySql\", \"Error de conexión\");\n }\n\n\n\n return null;\n }\n }.execute();\n\n\n\n }",
"private String getUserQuery() {\n return \"select UserName,Password, Enabled from users where UserName=?\";\n //return \"select username,password, enabled from users_temp where username=?\";\n }",
"@Override\n public void run() {\n Cursor cursor = getFromTableById(DbTables.TABLE_USER, \"id=?\", id_user);\n\n User user = (User) DbUtility.cursorToClass(cursor, User.class.getName());\n\n if (user == null) {\n log.info(\"User is null. Can't load the user\");\n/*finish()?*/\n\n } else {\n /*find his personal data*/\n Integer id_pd = user.getId_pd();\n\n if (id_pd == null) {\n log.info(\"User has no personal data. Can't load the user\");\n\n\n } else {\n cursor = getFromTableById(DbTables.TABLE_PERSONAL_DATA, \"id=?\", id_pd);\n\n log.info(\"Cursor is \" + cursor.getCount());\n\n personalData = (PersonalData) DbUtility.cursorToClass(cursor, PersonalData.class.getName());\n if (personalData == null) {\n log.info(\"User's personal data is null. Can't load the data\");\n\n\n } else {\n Integer id_tp = personalData.getId_tp();\n\n if (id_tp == null) {\n log.info(\"Address is null\");\n } else {\n /*find address*/\n cursor = getFromTableById(DbTables.TABLE_ADDRESS, \"id=?\", id_tp);\n\n address = (Address) DbUtility.cursorToClass(cursor, Address.class.getName());\n }\n\n\n Integer id_wp = personalData.getId_wp();\n\n /*find workplace*/\n if (id_wp == null) {\n log.info(\"Workplace is null\");\n } else {\n cursor = getFromTableById(DbTables.TABLE_WORKPLACE, \"id=?\", id_wp);\n workplace = (Workplace) DbUtility.cursorToClass(cursor, Workplace.class.getName());\n }\n\n\n /*get phone numbers*/\n /*cursor = getFromTableById(\"phone_number\",\"id_pd=?\", id_pd);\n*/\n }\n\n }\n\n cursor.close();\n /*set to text view*/\n handler.post(runSetTextViews);\n }\n\n }",
"@Override\n public long updateJQLRaw(String password, Date birthDay, ContactType type, long id) {\n if (updateJQLRawPreparedStatement8==null) {\n // generate static SQL for statement\n String _sql=\"UPDATE contact SET birth_day=?, id=? WHERE password=? and type=?\";\n updateJQLRawPreparedStatement8 = KriptonDatabaseHelper.compile(_context, _sql);\n }\n KriptonContentValues _contentValues=contentValuesForUpdate(updateJQLRawPreparedStatement8);\n _contentValues.put(\"birth_day\", SQLTypeAdapterUtils.toData(DateAdapterType.class, birthDay));\n _contentValues.put(\"id\", id);\n\n _contentValues.addWhereArgs(SQLTypeAdapterUtils.toString(PasswordAdapterType.class, password));\n _contentValues.addWhereArgs(SQLTypeAdapterUtils.toString(EnumAdapterType.class, type));\n\n // generation CODE_001 -- BEGIN\n // generation CODE_001 -- END\n // log section BEGIN\n if (_context.isLogEnabled()) {\n\n // display log\n Logger.info(\"UPDATE contact SET birth_day=:birth_day, id=:id WHERE password=? and type=?\");\n\n // log for content values -- BEGIN\n Triple<String, Object, KriptonContentValues.ParamType> _contentValue;\n for (int i = 0; i < _contentValues.size(); i++) {\n _contentValue = _contentValues.get(i);\n if (_contentValue.value1==null) {\n Logger.info(\"==> :%s = <null>\", _contentValue.value0);\n } else {\n Logger.info(\"==> :%s = '%s' (%s)\", _contentValue.value0, StringUtils.checkSize(_contentValue.value1), _contentValue.value1.getClass().getCanonicalName());\n }\n }\n // log for content values -- END\n\n // log for where parameters -- BEGIN\n int _whereParamCounter=0;\n for (String _whereParamItem: _contentValues.whereArgs()) {\n Logger.info(\"==> param%s: '%s'\",(_whereParamCounter++), StringUtils.checkSize(_whereParamItem));\n }\n // log for where parameters -- END\n }\n // log section END\n int result = KriptonDatabaseHelper.updateDelete(updateJQLRawPreparedStatement8, _contentValues);\n return result;\n }",
"public void changeStatus(String user, String method){\n ArrayList friends = new ArrayList();\n try {\n statement = connection.createStatement();\n //execute SQL query and get the data from the database\n ResultSet myResult = statement.executeQuery(\"SELECT * FROM \" + user);\n //add the friends to the list\n while (myResult.next()){\n friends.add(myResult.getString(\"friend\"));\n }\n\n //now set the user online/offline in all the friends lists\n Iterator it = friends.iterator();\n while (it.hasNext()){\n if (method.equals(\"online\")){\n statement.executeUpdate(\"UPDATE \" + it.next().toString() + \" SET online = 'online' WHERE friend ='\"+ user +\" '\");\n }\n else {\n statement.executeUpdate(\"UPDATE \" + it.next().toString() + \" SET online = 'offline' WHERE friend ='\"+ user +\" '\");\n }\n\n }\n\n\n\n }catch (SQLException ex){ex.printStackTrace();}\n\n }",
"void onGetWifiStateAndDateCursor(Cursor cursor);",
"public void updAiccLongText(Connection con, String mod_import_xml, String mod_core_vendor, String mod_desc, String mod_web_launch)\n throws qdbException\n {\n try {\n /* commented for using the new update function for clob (2002.04.22 kawai)\n // update mod_import_xml\n PreparedStatement stmt = con.prepareStatement(\n \" UPDATE Module SET mod_import_xml= \" + cwSQL.getClobNull(con)\n + \" WHERE mod_res_id = ? \");\n\n stmt.setLong(1, mod_res_id);\n stmt.executeUpdate();\n stmt.close();\n\n stmt = con.prepareStatement(\n \" SELECT mod_import_xml FROM Module \"\n + \" WHERE mod_res_id = ? FOR UPDATE \"\n ,ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_UPDATABLE );\n stmt.setLong(1, mod_res_id);\n ResultSet rs = stmt.executeQuery();\n if (rs.next())\n {\n cwSQL.setClobValue(con, rs, \"mod_import_xml\", mod_import_xml);\n rs.updateRow();\n }\n stmt.close();\n\n // update mod_core_vendor\n stmt = con.prepareStatement(\n \" UPDATE Module SET mod_core_vendor= \" + cwSQL.getClobNull(con)\n + \" WHERE mod_res_id = ? \");\n\n stmt.setLong(1, mod_res_id);\n stmt.executeUpdate();\n stmt.close();\n\n stmt = con.prepareStatement(\n \" SELECT mod_core_vendor FROM Module \"\n + \" WHERE mod_res_id = ? FOR UPDATE \"\n ,ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_UPDATABLE );\n stmt.setLong(1, mod_res_id);\n rs = stmt.executeQuery();\n if (rs.next())\n {\n cwSQL.setClobValue(con, rs, \"mod_core_vendor\", mod_core_vendor);\n rs.updateRow();\n }\n stmt.close();\n */\n //--- use new clob update method to update clob columns (2002.04.22 kawai)\n // construct the condition\n String condition = \"mod_res_id = \" + mod_res_id;\n // construct the column & value\n String[] columnName = new String[3];\n String[] columnValue = new String[3];\n columnName[0] = \"mod_import_xml\";\n columnValue[0] = mod_import_xml;\n columnName[1] = \"mod_core_vendor\";\n columnValue[1] = mod_core_vendor;\n columnName[2] = \"mod_web_launch\";\n columnValue[2] = mod_web_launch;\n cwSQL.updateClobFields(con, \"Module\", columnName, columnValue, condition);\n\n // update res desc\n if(mod_desc != null && mod_desc.length() > RES_DESC_LENGTH) {\n mod_desc = mod_desc.substring(0,RES_DESC_LENGTH);\n }\n PreparedStatement stmt = null;\n try {\n stmt = con.prepareStatement(\n \" UPDATE Resources SET res_desc = ? \"\n + \" WHERE res_id = ? \");\n\n stmt.setString(1, mod_desc);\n stmt.setLong(2, mod_res_id);\n stmt.executeUpdate();\n } finally {\n if(stmt!=null) stmt.close();\n }\n super.updateTimeStamp(con);\n } catch(SQLException e) {\n throw new qdbException(\"SQL Error: \" + e.getMessage());\n }\n }",
"public void updateSyncStatus(String id ,String status){\n SQLiteDatabase database = this.getWritableDatabase();\n String updateQuery = \"Update farmers set updateStatus = '\"+ status +\"' where \"+ DBFarmersContract.COLUMN_ID+\"=\"+\"'\"+ id +\"'\";\n\n Log.d(\"query\", updateQuery);\n database.execSQL(updateQuery);\n\n database.close();\n }",
"public String getUser(String userName){\n SQLiteDatabase database = this.getWritableDatabase();\n Cursor cursor=database.query(\"admin\", null, \" username=?\", new String[]{userName}, null, null, null);\n if(cursor.getCount()<1) // UserName Not Exist\n {\n cursor.close();\n return \"NOT EXIST\";\n }\n cursor.moveToFirst();\n String username= cursor.getString(cursor.getColumnIndex(\"username\"));\n cursor.close();\n return username;\n}",
"@Override\r\n\tpublic void update(String id,int time) {\n\t\ttry {\r\n\t\t\tcon = DriverManager.getConnection(\"jdbc:oracle:thin:@127.0.0.1:1521:XE\", \"system\", \"oracle\");\r\n\t\t\tString sql = \"update comuser set time = ? where id = ?\";\r\n\t\t\tps = con.prepareStatement(sql);\r\n\t\t\tps.setInt(1, time);\r\n\t\t\tps.setString(2, id);\r\n\t\t\t\r\n\t\t\tps.executeUpdate();\r\n\t\t\t\r\n\t\t\tsql=\"commit\";\r\n\t\t\tps=con.prepareStatement(sql);\r\n\t\t\t\r\n\t\t\tps.executeUpdate();\r\n\t\t\tSystem.out.println(\"업데이트완료\");\r\n\t\t\t\r\n\t\t\trs.close();\r\n\t\t\tps.close();\r\n\t\t\tcon.close();\r\n\t\t\t\r\n\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t\t}\r\n\t}",
"public int dbSyncCount()\n {\n int count = 0;\n String selectQuery = \"SELECT * FROM UsersTable where udpateStatus = '\"+\"no\"+\"'\";\n SQLiteDatabase database = this.getWritableDatabase();\n Cursor cursor = database.rawQuery(selectQuery, null);\n count = cursor.getCount();\n database.close();\n return count;\n }",
"@Override\n public long updateCompactRaw1(String password, ContactType type, long id) {\n if (updateCompactRaw1PreparedStatement5==null) {\n // generate static SQL for statement\n String _sql=\"UPDATE contact SET password=?, type=? WHERE id=?\";\n updateCompactRaw1PreparedStatement5 = KriptonDatabaseHelper.compile(_context, _sql);\n }\n KriptonContentValues _contentValues=contentValuesForUpdate(updateCompactRaw1PreparedStatement5);\n _contentValues.put(\"password\", SQLTypeAdapterUtils.toData(PasswordAdapterType.class, password));\n _contentValues.put(\"type\", SQLTypeAdapterUtils.toData(EnumAdapterType.class, type));\n\n _contentValues.addWhereArgs(String.valueOf(id));\n\n // generation CODE_001 -- BEGIN\n // generation CODE_001 -- END\n // log section BEGIN\n if (_context.isLogEnabled()) {\n\n // display log\n Logger.info(\"UPDATE contact SET password=:password, type=:type WHERE id=?\");\n\n // log for content values -- BEGIN\n Triple<String, Object, KriptonContentValues.ParamType> _contentValue;\n for (int i = 0; i < _contentValues.size(); i++) {\n _contentValue = _contentValues.get(i);\n if (_contentValue.value1==null) {\n Logger.info(\"==> :%s = <null>\", _contentValue.value0);\n } else {\n Logger.info(\"==> :%s = '%s' (%s)\", _contentValue.value0, StringUtils.checkSize(_contentValue.value1), _contentValue.value1.getClass().getCanonicalName());\n }\n }\n // log for content values -- END\n\n // log for where parameters -- BEGIN\n int _whereParamCounter=0;\n for (String _whereParamItem: _contentValues.whereArgs()) {\n Logger.info(\"==> param%s: '%s'\",(_whereParamCounter++), StringUtils.checkSize(_whereParamItem));\n }\n // log for where parameters -- END\n }\n // log section END\n int result = KriptonDatabaseHelper.updateDelete(updateCompactRaw1PreparedStatement5, _contentValues);\n return result;\n }",
"public void updateViewRs(){\n try{\n this.viewrs= viewstmt.executeQuery \n (\"SELECT * FROM JEREMY.TICKET ORDER BY ID\"); \n// viewrs.beforeFirst();\n// viewrs.next();\n }catch (Exception e ){\n System.out.println(\"sql exception at updateViewRs\" + e);\n }\n }",
"@Override\n public void onClick(View v) {\n String username = _main_username.getText().toString();\n String password = _main_password.getText().toString();\n cursor = db.rawQuery(\"SELECT * FROM \" + DatabaseHelper.TABLE_NAME + \" WHERE \" + DatabaseHelper.COL_5 + \" =? AND \" + DatabaseHelper.COL_4 + \" =? \", new String[] {username, password});\n if (cursor!=null){\n if(cursor.getCount() > 0){\n Toast.makeText(getApplicationContext(), \"login successfully\", Toast.LENGTH_LONG).show();\n Intent intent = new Intent(MainActivity.this, home.class);\n startActivity(intent);\n } else {\n Toast.makeText(getApplicationContext(), \"error\", Toast.LENGTH_LONG).show();\n }\n }\n }",
"public void syncSQLiteMySQLDB() {\n\t\t// Create AsycHttpClient object\n\t\tAsyncHttpClient client = new AsyncHttpClient();\n\t\t// Http Request Params Object\n\t\tRequestParams params = new RequestParams();\n\t\t// Show ProgressBar\n\t\tprgDialog.show();\n\t\t// Make Http call to getusers\n\t\tclient.get(\"https://openmicrofinance.appspot.com/_ah/api/usersapi/v1/openmfusercollection\", params, new AsyncHttpResponseHandler() {\n\t\t\t@Override\n\t\t\tpublic void onSuccess(String response) {\n\t\t\t\t// Hide ProgressBar\n\t\t\t\t//prgDialog.hide();\n\t\t\t\t// Update SQLite DB with response sent by getusers.php\n\t\t\t\tupdateUsersSQLite(response);\n\t\t\t}\n\t\t\t// When error occured\n\t\t\t@Override\n\t\t\tpublic void onFailure(int statusCode, Throwable error, String content) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t// Hide ProgressBar\n\t\t\t\tprgDialog.hide();\n\t\t\t\tif (statusCode == 404) {\n\t\t\t\t\tToast.makeText(getApplicationContext(), \"Requested resource not found\", Toast.LENGTH_LONG).show();\n\t\t\t\t} else if (statusCode == 500) {\n\t\t\t\t\tToast.makeText(getApplicationContext(), \"Something went wrong at server end\", Toast.LENGTH_LONG).show();\n\t\t\t\t} else {\n\t\t\t\t\tToast.makeText(getApplicationContext(), \"Unexpected Error occcured! [Most common Error: Device might not be connected to Internet]\",\n\t\t\t\t\t\t\tToast.LENGTH_LONG).show();\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\n\t\t// Make Http call to gettasks\n\t\tclient.get(\"https://openmicrofinance.appspot.com/_ah/api/taskapi/v1/openmftaskcollection\", params, new AsyncHttpResponseHandler() {\n\t\t\t@Override\n\t\t\tpublic void onSuccess(String response) {\n\t\t\t\t// Hide ProgressBar\n\t\t\t\t//prgDialog.hide();\n\t\t\t\t// Update SQLite DB with response sent by getusers.php\n\t\t\t\tupdateTasksSQLite(response);\n\t\t\t}\n\t\t\t// When error occured\n\t\t\t@Override\n\t\t\tpublic void onFailure(int statusCode, Throwable error, String content) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t// Hide ProgressBar\n\t\t\t\tprgDialog.hide();\n\t\t\t\tif (statusCode == 404) {\n\t\t\t\t\tToast.makeText(getApplicationContext(), \"Requested resource not found\", Toast.LENGTH_LONG).show();\n\t\t\t\t} else if (statusCode == 500) {\n\t\t\t\t\tToast.makeText(getApplicationContext(), \"Something went wrong at server end\", Toast.LENGTH_LONG).show();\n\t\t\t\t} else {\n\t\t\t\t\tToast.makeText(getApplicationContext(), \"Unexpected Error occcured! [Most common Error: Device might not be connected to Internet]\",\n\t\t\t\t\t\t\tToast.LENGTH_LONG).show();\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\n\t\t// Make Http call to getclients\n\t\tclient.get(\"https://openmicrofinance.appspot.com/_ah/api/clientsapi/v1/openmfclientcollection\", params, new AsyncHttpResponseHandler() {\n\t\t\t@Override\n\t\t\tpublic void onSuccess(String response) {\n\t\t\t\t// Hide ProgressBar\n\t\t\t\tprgDialog.hide();\n\t\t\t\t// Update SQLite DB with response sent by getusers.php\n\t\t\t\tupdateClientsSQLite(response);\n\t\t\t}\n\t\t\t// When error occured\n\t\t\t@Override\n\t\t\tpublic void onFailure(int statusCode, Throwable error, String content) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t// Hide ProgressBar\n\t\t\t\tprgDialog.hide();\n\t\t\t\tif (statusCode == 404) {\n\t\t\t\t\tToast.makeText(getApplicationContext(), \"Requested resource not found\", Toast.LENGTH_LONG).show();\n\t\t\t\t} else if (statusCode == 500) {\n\t\t\t\t\tToast.makeText(getApplicationContext(), \"Something went wrong at server end\", Toast.LENGTH_LONG).show();\n\t\t\t\t} else {\n\t\t\t\t\tToast.makeText(getApplicationContext(), \"Unexpected Error occcured! [Most common Error: Device might not be connected to Internet]\",\n\t\t\t\t\t\t\tToast.LENGTH_LONG).show();\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\t\n\t\tif(controller.getSyncStatus()){\n\t\t\tList<String> taskList = controller.getSyncableTasks();\n\t\t\tfor (String taskId : taskList) {\n\t\t\t\t// Make Http call to gettasks\n\t\t\t\tclient.put(\"https://openmicrofinance.appspot.com/_ah/api/taskapi/v1/openmftask/\" + taskId, params, new AsyncHttpResponseHandler() {\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void onSuccess(String response) {\n\t\t\t\t\t\t//System.out.println(\"Taskid completed\" + response);\n\t\t\t\t\t\t//delete from local sqlitedb\n\t\t\t\t\t\tString taskId = getTaskId(response);\n\t\t\t\t\t\tif(taskId != null)\n\t\t\t\t\t\tcontroller.removeTask(taskId);\n\t\t\t\t\t}\n\t\t\t\t\t// When error occured\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void onFailure(int statusCode, Throwable error, String content) {\n\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\t// Hide ProgressBar\n\t\t\t\t\t\tprgDialog.hide();\n\t\t\t\t\t\tif (statusCode == 404) {\n\t\t\t\t\t\t\tToast.makeText(getApplicationContext(), \"Requested resource not found\", Toast.LENGTH_LONG).show();\n\t\t\t\t\t\t} else if (statusCode == 500) {\n\t\t\t\t\t\t\tToast.makeText(getApplicationContext(), \"Something went wrong at server end\", Toast.LENGTH_LONG).show();\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tToast.makeText(getApplicationContext(), \"Unexpected Error occcured! [Most common Error: Device might not be connected to Internet]\",\n\t\t\t\t\t\t\t\t\tToast.LENGTH_LONG).show();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t}",
"public void updateUserLogin(String userName, boolean isOnOff){\n\t\tint isOn = isOnOff? 1 : 0;\n try {\n\t Connection c = new MyConnection().getConnection();\n\t Statement st = c.createStatement();\n \n\t st.executeUpdate(\"update users set IsConnected = \"+isOn+\" WHERE UserName ='\"+userName+\"'\"); \n\t} catch (Exception e) {\n\t\te.printStackTrace();\t\n\t}\n\t}",
"public static int update(User u){ \n int status=0; \n try{ \n //membuka koneksi\n Connection con=Koneksi.openConnection();\n //melakukan query database untuk merubah data berdasarkan id atau primary key\n PreparedStatement ps=con.prepareStatement( \n \"update t_user set user_name=?,nama_lengkap=?,password=?,hak_akses=? where id=?\"); \n ps.setString(1,u.getUserName()); \n ps.setString(2,u.getNamaLengkap()); \n ps.setString(3,u.getPassword()); \n ps.setString(4,u.getHakAkses()); \n ps.setInt(5,u.getId()); \n status=ps.executeUpdate(); \n }catch(Exception e){System.out.println(e);} \n return status; \n }",
"public void records_update_accessibility(){\n try{\n\n Context context = getApplicationContext();\n String s = String.valueOf(context.getDatabasePath(\"vkl.db\"));\n db = getApplicationContext().openOrCreateDatabase(s,MODE_APPEND,null);\n String tname = DocId+\"_access\";\n db.beginTransaction();\n try {\n String query = \"create table \" + tname + \" (\"\n + \" patient TEXT ); \";\n db.execSQL(query);\n\n db.setTransactionSuccessful(); //commit your changes\n }\n catch (SQLiteException e) {\n\n System.out.println(\"********SOME THING WRONG******\");\n }\n finally {\n db.endTransaction();\n }\n }catch (SQLException e){\n System.out.println(\"********SOME THING WRONG OUTER******\");\n\n }\n\n }",
"public String updateCallStatement() {\n\t\t// return \"UPDATE CALLS SET (call_date, subject, notes) = ( ?, ?, ?)\";\n\t\treturn \"UPDATE CALLS SET (subject, notes) = (?, ?) WHERE ID = ?\";\n\t}",
"public static void update_TbUser() {\n builder = new Uri.Builder();\n builder.appendQueryParameter(\"username\", Server.owner.get_username());\n builder.appendQueryParameter(\"email\", Server.owner.get_Email());\n builder.appendQueryParameter(\"birthday\", Server.owner.get_Birthday().toString());\n builder.appendQueryParameter(\"gender\", Server.owner.get_gender() ? \"1\" : \"0\");\n builder.appendQueryParameter(\"phone\", Server.owner.get_Phone());\n builder.appendQueryParameter(\"image_source\", Server.owner.get_imageSource());\n builder.appendQueryParameter(\"conversations\", Server.owner.get_AllConversation());\n\n String url = Constant.M_HOST + Constant.M_UPDATE_USER_WITHOUT_PASS;\n String a = uService.execute(builder, url);\n }",
"public long UpdateRecords(Integer Id) {\n long count = 0;\n\n try {\n\n ContentValues conV = new ContentValues();\n conV.put(\"u_password\", \"xyz\");\n count = db.update(MyOpenHelper.TLoginDetails, conV, \"uid='\"\n + Id + \"'\", null);\n\n // db.close();\n\n Log.v(\"DataHelp\", \"\" + count);\n Log.v(\"DataHelp\", \"Updated ReferenceMaster Registration Successfully\");\n\n } catch (Exception e) {\n\n e.printStackTrace();\n\n }\n return count;\n\n }",
"Long getUserUpdated();",
"public void verificarSQlite(){\n AdminSQLiteOpenHelper adminDB = new AdminSQLiteOpenHelper(getApplicationContext(), \"BDListas\", null, 1);\n SQLiteDatabase baseDeDatos = adminDB.getWritableDatabase();\n\n Cursor fila = baseDeDatos.rawQuery(\"SELECT * FROM sesion WHERE rowid=\"+1, null);\n if (fila.moveToFirst()) {\n\n if (!id_usuario.isEmpty()) {\n\n ContentValues addUsuario = new ContentValues();\n addUsuario.put(\"id_usuario\", id_usuario);\n addUsuario.put(\"email_usu\", email_usu);\n addUsuario.put(\"nombre_usu\", nombre_usu);\n addUsuario.put(\"apellido_usu\", apellido_usu);\n\n baseDeDatos.update(\"sesion\", addUsuario, \"rowid=\"+1, null);\n }else {\n\n Intent intent = new Intent(getApplicationContext(), MainActivity.class);\n startActivity(intent);\n finish();\n }\n\n }else {\n\n if (!id_usuario.isEmpty()){\n\n ContentValues addUsuario = new ContentValues();\n addUsuario.put(\"id_usuario\", id_usuario);\n addUsuario.put(\"email_usu\", email_usu);\n addUsuario.put(\"nombre_usu\", nombre_usu);\n addUsuario.put(\"apellido_usu\", apellido_usu);\n\n baseDeDatos.insert(\"sesion\", null, addUsuario);\n }\n\n }\n\n baseDeDatos.close();\n }",
"@Override\n public Cursor query(Uri url, String[] projectionIn, String selection, \n String[] selectionArgs, String sort) {\n SQLiteQueryBuilder qb = new SQLiteQueryBuilder();\n SQLiteDatabase db = getDatabase(getContext()); //mOpenHelper.getReadableDatabase();\n // Modifyed by amt_chenjing for switchui-2192 20120715 begin\n\tif(db == null) {\n\t\tLog.v(TAG, \"open database: Failed\");\n\t\treturn null;\n\t}\n\t// Modifyed by amt_chenjing for switchui-2192 20120715 end\n int match = graphyUri.match(url);\n Cursor cur = null;\n switch (match) {\n case ALL_APPS:\n qb.setTables(Apps.TABLE_NAME);\n cur = qb.query(db, projectionIn, selection, selectionArgs, null, null, sort);\n break;\n case ONE_APP:\n qb.setTables(Apps.TABLE_NAME);\n qb.appendWhere(\"_id=\");\n qb.appendWhere(url.getPathSegments().get(1));\n cur = qb.query(db, projectionIn, selection, selectionArgs, null, null, sort);\n break;\n case ALL_RANKS:\n qb.setTables(Ranks.TABLE_NAME);\n cur = qb.query(db, projectionIn, selection, selectionArgs, null, null, sort);\n break;\n case ONE_RANK:\n qb.setTables(Ranks.TABLE_NAME);\n qb.appendWhere(\"_id=\");\n qb.appendWhere(url.getPathSegments().get(1));\n cur = qb.query(db, projectionIn, selection, selectionArgs, null, null, sort);\n break;\n case ALL_MANUALS:\n qb.setTables(ManualList.TABLE_NAME);\n cur = qb.query(db, projectionIn, selection, selectionArgs, null, null, sort);\n break;\n case ONE_MANUAL:\n qb.setTables(ManualList.TABLE_NAME);\n qb.appendWhere(\"_id=\");\n qb.appendWhere(url.getPathSegments().get(1));\n cur = qb.query(db, projectionIn, selection, selectionArgs, null, null, sort);\n break;\n case EXCUTESQL:\n cur = db.rawQuery(selection, null);\n break;\n default:\n throw new IllegalArgumentException(\"Unknown URi \" + url);\n }\n \n if (cur == null) {\n Log.v(TAG, \"query: failed\");\n } \t\t\n return cur;\n }",
"private void updateDatabase(FastLap laptime) throws SQLiteException {\n // if no track name then wait until it is available.\n if (laptime.getTrack().equals(\"\") || laptime.getLaptime(0) < 1)\n return;\n\n // new value\n ContentValues values = new ContentValues();\n values.put(DBTable.COLUMN_LAPTIME, laptime.getLaptime(0));\n values.put(DBTable.COLUMN_SECTOR1, laptime.getLaptime(1));\n values.put(DBTable.COLUMN_SECTOR2, laptime.getLaptime(2));\n values.put(DBTable.COLUMN_SECTOR3, laptime.getLaptime(3));\n // query\n String selection = DBTable.COLUMN_TRACK + \" LIKE ? AND \" +\n DBTable.COLUMN_CAR + \" LIKE ? \";\n String[] args = {laptime.getTrack(), laptime.getCar()};\n int result = database.update(DBTable.TABLE_NAME, values, selection, args);\n // if there was no record for this car/track insert new row\n if (result == 0) {\n values.put(DBTable.COLUMN_TRACK, laptime.getTrack());\n values.put(DBTable.COLUMN_CAR, laptime.getCar());\n values.put(DBTable.COLUMN_CLASS, laptime.getClassGroup());\n database.insert(DBTable.TABLE_NAME, null, values);\n Log.d(TAG, \"DB: \" + laptime.getTrack() + \"/\" + laptime.getCar() + \"/ \" +\n laptime.getClassGroup() + \" inserted: \" + FastLap.format(laptime.getLaptime(0)));\n } else {\n Log.d(TAG, \"DB: \" + laptime.getTrack() + \"/\" + laptime.getCar() + \" \" + \"/ \" +\n laptime.getClassGroup() + FastLap.format(laptime.getLaptime(0)) + \" updated\");\n }\n }",
"public void login(final View v) {\n\n // validate login here\n dbHelper = new EMFMonitorDbHelper(this);\n db = dbHelper.getReadableDatabase();\n\n String username = usernameField.getText().toString();\n String password = passwordField.getText().toString();\n\n Cursor cur = db.rawQuery(\"SELECT * FROM users WHERE username = ? AND password = ?\",\n new String[] {username, password});\n\n if (cur.moveToFirst()) {\n if (cur.getInt(EMFMonitorDbHelper.CAN_WORK_INDEX) > 0) {\n Intent i = new Intent(this, MainActivity.class);\n i.putExtra(\"USERNAME\", username);\n i.putExtra(\"UID\", cur.getInt(EMFMonitorDbHelper.UID_INDEX));\n i.putExtra(\"UNITS\", cur.getString(EMFMonitorDbHelper.UNITS_INDEX));\n i.putExtra(\"ALARM_THRESHOLD\", cur.getDouble(EMFMonitorDbHelper.ALARM_THRESHOLD_INDEX));\n startActivity(i);\n finish();\n }\n else {\n Toast toast = Toast.makeText(this, \"You have been exposed to unsafe levels of EMF\", Toast.LENGTH_SHORT);\n toast.show();\n }\n }\n else {\n Toast toast = Toast.makeText(this, \"Invalid Username or Password\", Toast.LENGTH_SHORT);\n toast.show();\n }\n\n\n }",
"public void queryDataFromDatabase() {\n AppDatabase database = Room.databaseBuilder(this, AppDatabase.class, DB_NAME).allowMainThreadQueries().build();\n runningdao = database.getRunningdataDAO();\n List<Runningdata> runningdata_list = runningdao.getAllRuningdata();\n for (int i = 0; i < runningdata_list.size(); i++) {\n int oldId = runningdata_list.get(i).getId();\n String oldStarttime = runningdata_list.get(i).getStarttime();\n double oldDistance = runningdata_list.get(i).getDistance();\n double oldCalorie = runningdata_list.get(i).getCalorie();\n System.out.println(\"Database shows here: \"+\"i:\"+i+\"oldId:\"+oldId +\"oldStarttime\"+oldStarttime+\"oldDistance\"+oldDistance+\"oldCalorie\"+oldCalorie);\n }\n // delete data from database by ID\n //runningdao.deleteById(10);\n }",
"@Override\n public int update(Uri arg0, ContentValues arg1, String arg2, String[] arg3) {\n int count = 0;\n long rowId = 0;\n String segment = null;\n int match = graphyUri.match(arg0);\n SQLiteDatabase db;\n\t// Modifyed by amt_chenjing for switchui-2192 20120715 begin\n try {\n db = mOpenHelper.getWritableDatabase();\n } catch (SQLiteException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n return 0;\n }\n\t// Modifyed by amt_chenjing for switchui-2192 20120715 end\n Log.d(TAG, \"update datbase\");\n switch (match) {\n case ALL_APPS:\n count = db.update(Apps.TABLE_NAME, arg1, arg2, arg3);\n break;\n case ONE_APP:\n segment = arg0.getPathSegments().get(1);\n //segment = arg3[0];\n rowId = Long.parseLong(segment);\n count = db.update(Apps.TABLE_NAME, arg1, \"_id=\" + rowId, null);\n break;\n case ALL_RANKS:\n count = db.update(Ranks.TABLE_NAME, arg1, arg2, arg3);\n break;\n case ONE_RANK:\n segment = arg0.getPathSegments().get(1);\n //segment = arg3[0];\n rowId = Long.parseLong(segment);\n count = db.update(Ranks.TABLE_NAME, arg1, \"_id=\" + rowId, null);\n break;\n case ALL_MANUALS:\n count = db.update(ManualList.TABLE_NAME, arg1, arg2, arg3);\n break;\n case ONE_MANUAL:\n //segment = arg3[0];\n segment = arg0.getPathSegments().get(1);\n rowId = Long.parseLong(segment);\n count = db.update(ManualList.TABLE_NAME, arg1, \"_id=\" + rowId, null);\n break;\n case EXCUTESQL:\n db.execSQL(arg2);\n count = 1;\n break;\n case SET_RANK:\n \n Set<Map.Entry<String, Object>> set = arg1.valueSet();\n db.beginTransaction();\n for (Map.Entry<String, Object> entry: set) {\n String k = entry.getKey();\n String v = String.valueOf((Integer)entry.getValue());\n db.execSQL(String.format(\"update %s set %s=%s where %s='%s' and %s=%s\", \n Ranks.TABLE_NAME,\n Ranks.CURRENT_RANK,\n v,\n Ranks.APPName,\n k,\n Ranks.DAY,\n arg2));\n }\n db.setTransactionSuccessful();\n db.endTransaction();\n count = 1;\n break;\n \n case UPDATE_RANK:\t \t\n Set<Map.Entry<String, Object>> totalRanking = arg1.valueSet();\n db.beginTransaction();\n \n db.execSQL(String.format(\"update %s set %s=-1 where %s=-1\",\n Ranks.TABLE_NAME,\n Ranks.CURRENT_RANK,\n Ranks.DAY));\n for (Map.Entry<String, Object> entry: totalRanking) {\n String k = entry.getKey();\n String v = String.valueOf((Integer)entry.getValue());\n db.execSQL(String.format(\"update %s set %s=%s where %s='%s' and %s=-1\", \n Ranks.TABLE_NAME,\n Ranks.CURRENT_RANK,\n v,\n Ranks.APPName,\n k,\n Ranks.DAY)); \n }\n db.execSQL(String.format(\"delete from %s where %s=-1 and %s=-1 and %s = 0\",\n Ranks.TABLE_NAME,\n Ranks.DAY,\n Ranks.CURRENT_RANK,\n Ranks.HIDDEN ));\n db.setTransactionSuccessful();\n db.endTransaction();\n count = 1;\n break;\n default:\n Log.d(TAG, \"other uri\");\n throw new UnsupportedOperationException(\"Cannot updeate uri:\" + arg0);\n }\n \n if (match == ALL_MANUALS || match == ONE_MANUAL\n || match == UPDATE_RANK ) {\n getContext().getContentResolver().notifyChange(arg0, null);\n }\n return 0;\n }",
"public synchronized Cursor ExecuteRawSql(String s) {//Select Query\n try {\n\n//\t\t\tif(sqLiteDb != null)\n//\t\t\t\tcloseDB(null);\n\n sqLiteDb = openDatabaseInReadableMode();\n Log.d(TAG, \"Actual Query--->>\" + s);\n return sqLiteDb.rawQuery(s, null);\n\n }\n catch (Exception e) {\n e.printStackTrace();\n LogUtility.NoteLog(e);\n return null;\n }\n }",
"private void getthedayactive() {\n\t\t Cursor c=mydb.rawQuery(\"SELECT * FROM day where days='\"+today+\"' \", null);\n\t\t System.out.println(\" $$$$$$$$$$$$$$$$$$$$$$$ fetchdata after retriving completed @@@@@@@@@@@@@@@@@@@@@\");\n\t\t c.moveToFirst();\n\t\t \n\t\t if(c!=null)\n\t\t {\n\t\t\t do{\n\t\t\t\t \n\t\t\t\t int c1=c.getColumnIndex(\"isActive\");\n\t\t\t\t if(c.getCount()>0)\n\t\t\t\t active=c.getInt(c1);\n\t\t\t\t System.out.println(\" $$$$$$$$$$$$$$$$$$$$$$$ fetchdata \"+active);\n\t\t\t\t \n\t\t\t }while(c.moveToNext());\n\t\t\t \n\t\t }\n\t}",
"public Cursor getAuth()\r\n {\r\n String selectQuery = \"SELECT logname, pin FROM \" + TABLE_ACCESS;\r\n SQLiteDatabase db = this.getReadableDatabase();\r\n Cursor cursor = db.rawQuery(selectQuery, null);\r\n return cursor;\r\n }",
"public void testUpdateDataToDb() {\n String accountType = SimUtils.ACCOUNT_TYPE_USIM;\n ContentResolver resolver = mTargetContext.getContentResolver();\n\n ArrayList<String> arrNickname = new ArrayList<String>();\n String updateNickname = \"ghjkk\";\n String oldNickname = \"abc\";\n arrNickname.add(updateNickname);// 0\n arrNickname.add(oldNickname);// 1\n long rawId = 0; // TODO how to get the rawId,// Contacts.CONTENT_URI\n int type = 0;// DB_UPDATE_NICKNAME = 0;DB_UPDATE_ANR=1\n // 1.sim\n accountType = SimUtils.ACCOUNT_TYPE_SIM;\n boolean updateSuccess = mOpContactAccountExtension.updateDataToDb(accountType, resolver, arrNickname, null,\n rawId, type, Utils.COMMD_FOR_SNE);\n assertFalse(updateSuccess);\n\n // 2.type not 0,\n type = 1;\n updateSuccess = mOpContactAccountExtension\n .updateDataToDb(accountType, resolver, arrNickname, null, rawId, type, Utils.COMMD_FOR_SNE);\n assertFalse(updateSuccess);\n\n // 3.usim--update\n accountType = SimUtils.ACCOUNT_TYPE_USIM;\n type = 0;\n updateSuccess = mOpContactAccountExtension\n .updateDataToDb(accountType, resolver, arrNickname, null, rawId, type, Utils.COMMD_FOR_SNE);\n assertTrue(updateSuccess);\n\n // 4.--arrNickname null ,or do not have 2 values--false\n arrNickname.clear();\n updateSuccess = mOpContactAccountExtension\n .updateDataToDb(accountType, resolver, arrNickname, null, rawId, type, Utils.COMMD_FOR_SNE);\n assertFalse(updateSuccess);\n\n // 04--insert\n updateNickname = \"newnicknamein\";\n oldNickname = \"\";\n arrNickname.add(updateNickname);\n arrNickname.add(oldNickname);\n updateSuccess = mOpContactAccountExtension\n .updateDataToDb(accountType, resolver, arrNickname, null, rawId, type, Utils.COMMD_FOR_SNE);\n assertTrue(updateSuccess);\n\n // 05--delete--\n arrNickname.clear();\n updateNickname = \"\";\n oldNickname = \"haveaname\";\n arrNickname.add(updateNickname);\n arrNickname.add(oldNickname);\n updateSuccess = mOpContactAccountExtension\n .updateDataToDb(accountType, resolver, arrNickname, null, rawId, type, Utils.COMMD_FOR_SNE);\n assertTrue(updateSuccess);\n }",
"@Override\n public boolean updateUserPersonalInfo(String text) {\n User tmp = this.getLoggedUser();\n tmp.setPersonal_details(text);\n if(this.setLoggedUser(tmp)) System.out.print(\"done\");\n Connection conn = null;\n Statement stmt = null;\n try \n {\n db_controller.setClass();\n conn = db_controller.getConnection();\n stmt = conn.createStatement();\n String sql;\n \n sql = \"UPDATE user_personal_information set information = + '\" + text + \"' where user_id = \" + this.getLoggedUser().getId();\n \n int result = stmt.executeUpdate(sql);\n \n stmt.close();\n conn.close();\n if(result == 1) return true;\n else return false;\n } \n catch (SQLException ex) { ex.printStackTrace(); return false;} \n catch (ClassNotFoundException ex) { ex.printStackTrace(); return false;} \n \n }",
"public int dbSyncCount(){\n int count = 0;\n SQLiteDatabase database = null;\n try {\n int status = 0;\n String selectQuery = \"SELECT * FROM \" + Constants.config.TABLE_USERS+ \" WHERE \" + USER_STATUS + \" = '\" + status + \"' \";\n database = new DBHelper(context).getReadableDatabase();\n database.beginTransactionNonExclusive();\n Cursor cursor = database.rawQuery(selectQuery, null);\n count = cursor.getCount();\n database.setTransactionSuccessful();\n }catch (Exception e){\n e.printStackTrace();\n }finally {\n try{\n database.endTransaction();\n }catch (Exception e){\n e.printStackTrace();\n }\n }\n return count;\n }",
"boolean updateUserActivityInDB(UserActivity userActivity);",
"int updateByPrimaryKey(QtActivitytype record);",
"int updateByPrimaryKey(LoginRecordDO record);",
"@Override\n public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) {\n MatrixCursor matrixCursor = new MatrixCursor(new String[]{\"key\", \"value\"});\n String filename = selection;\n String line = \"\";\n if (selection.equals(\"@\")) {\n\n Log.v(\"File input stream\", filename);\n String[] fileList = getContext().fileList();\n Log.v(\"File input stream\", Integer.toString(fileList.length));\n\n for (int i = 0; i < fileList.length; i++) {\n Log.v(\"File input stream\", fileList[i]);\n\n try {\n filename = fileList[i];\n FileInputStream in = getContext().openFileInput(filename);\n /* Log.e(TAG, \"File inputStreamReader.\");*/\n InputStreamReader inputStreamReader = new InputStreamReader(in);\n BufferedReader bufferedReader = new BufferedReader(inputStreamReader);\n StringBuilder sb = new StringBuilder();\n line = bufferedReader.readLine();\n sb.append(line);\n in.close();\n } catch (Exception e) {\n Log.e(TAG, \"File read failed...\");\n e.printStackTrace();\n }\n MatrixCursor.RowBuilder builder = matrixCursor.newRow();\n builder.add(\"key\", filename);\n builder.add(\"value\", line);\n Log.v(filename, line);\n\n }\n matrixCursor.setNotificationUri(getContext().getContentResolver(), uri);\n\n\n return matrixCursor;\n\n\n }\n else if (selection.equals(\"*\")) {\n\n try {\n int count = 0;\n sendQueryReq();\n Log.v(\"sendQueryReq\",Integer.toString(connected.length));\n\n String[] fileList = getContext().fileList();\n Log.v(\"File input stream\", Integer.toString(fileList.length));\n\n for (int i = 0; i < fileList.length; i++) {\n Log.v(\"File input stream\", fileList[i]);\n\n try {\n filename = fileList[i];\n FileInputStream in = getContext().openFileInput(filename);\n /* Log.e(TAG, \"File inputStreamReader.\");*/\n InputStreamReader inputStreamReader = new InputStreamReader(in);\n BufferedReader bufferedReader = new BufferedReader(inputStreamReader);\n StringBuilder sb = new StringBuilder();\n line = bufferedReader.readLine();\n sb.append(line);\n in.close();\n } catch (Exception e) {\n Log.e(TAG, \"File read failed...\");\n e.printStackTrace();\n }\n MatrixCursor.RowBuilder builder = matrixCursor.newRow();\n builder.add(\"key\", filename);\n builder.add(\"value\", line);\n Log.v(filename, line);\n\n }\n\n for(int i=0;i<connected.length;i++){\n if(connected[i] == true)\n count++;\n }\n Log.v(\"sendQueryReq\",Integer.toString(count));\n\n ArrayList<String[]> temp;\n\n for(int i=0;i<count-1;i++){\n temp = reqQueTotal.take();\n Log.v(\"waiting\",\"waiting completed\");\n for(String[] result : temp){\n MatrixCursor.RowBuilder builder = matrixCursor.newRow();\n builder.add(\"key\",result[0] );\n builder.add(\"value\", result[1]);\n Log.v(result[0],result[1]);\n\n }\n\n }\n\n } catch (Exception e) {\n Log.e(TAG, \"File read failed...\");\n e.printStackTrace();\n }\n matrixCursor.setNotificationUri(getContext().getContentResolver(), uri);\n\n return matrixCursor;\n\n\n //Log.v(\"query\", selection);\n } else {\n String hashedKey=\"\";\n Node responsibleNode;\n try{\n hashedKey = genHash(filename);\n }\n catch(Exception e){\n }\n responsibleNode = myNode.lookUp(hashedKey);\n if ((myNode.node_id).equals(responsibleNode.node_id)) {\n try {\n Log.v(\"File input stream\", filename);\n FileInputStream in = getContext().openFileInput(filename);\n /* Log.e(TAG, \"File inputStreamReader.\");*/\n InputStreamReader inputStreamReader = new InputStreamReader(in);\n BufferedReader bufferedReader = new BufferedReader(inputStreamReader);\n StringBuilder sb = new StringBuilder();\n line = bufferedReader.readLine();\n sb.append(line);\n in.close();\n } catch (Exception e) {\n Log.e(TAG, \"File read failed...\");\n e.printStackTrace();\n }\n\n\n MatrixCursor.RowBuilder builder = matrixCursor.newRow();\n builder.add(\"key\", selection);\n builder.add(\"value\", line);\n\n matrixCursor.setNotificationUri(getContext().getContentResolver(), uri);\n //Log.e(\"query\", line);\n return matrixCursor;\n //Log.v(\"query\", selection);\n }\n else{\n try {\n\n getResponsibleNode(myNode.succ.node_id,filename);\n MatrixCursor.RowBuilder builder = matrixCursor.newRow();\n String result[] =reqQue.take();\n Log.v(\"waiting\",\"waiting completed\");\n builder.add(\"key\",result[1] );\n builder.add(\"value\", result[2]);\n matrixCursor.setNotificationUri(getContext().getContentResolver(), uri);\n } catch (Exception e) {\n Log.e(TAG, \"File read failed...\");\n e.printStackTrace();\n }\n\n return matrixCursor;\n\n\n }\n }\n }",
"public synchronized boolean ExecuteSql(String s) {// Update Query\n try {\n\n if (sqLiteDb != null)\n closeDB(null);\n\n sqLiteDb = openDatabaseInReadableMode();\n sqLiteDb.execSQL(s);\n Log.d(TAG, \"Actual Query--->>\" + s);\n return true;\n }\n catch (Exception e) {\n e.printStackTrace();\n LogUtility.NoteLog(e);\n return false;\n }\n finally {\n closeDB(null);\n }\n }",
"private void setUsersScore() {\n BackgroundDataBaseTasks tempTask =new BackgroundDataBaseTasks(this);\n tempTask.delegate = this;\n SharedPreferences userInfo = getSharedPreferences(\"user_info\",\n Context.MODE_PRIVATE);\n String id = (userInfo.getString(\"id\", \"\"));\n String SQL = \"WHERE id=\"+ id + \";\";\n\n String method = \"friend\";\n try {\n tempTask.execute(method, SQL).get();\n } catch (InterruptedException e) {\n e.printStackTrace();\n } catch (ExecutionException e) {\n e.printStackTrace();\n }\n }",
"public int dbSyncCount(){\n int count = 0;\n String selectQuery = \"SELECT * FROM farmers where updateStatus = '\"+\"no\"+\"'\";\n SQLiteDatabase database = this.getWritableDatabase();\n Cursor cursor = database.rawQuery(selectQuery, null);\n count = cursor.getCount();\n database.close();\n return count;\n }",
"int updateByPrimaryKey(Online record);",
"@Update({\n \"update xxd_user\",\n \"set username = #{username,jdbcType=VARCHAR},\",\n \"password = #{password,jdbcType=VARCHAR},\",\n \"sex = #{sex,jdbcType=SMALLINT},\",\n \"phonenumber = #{phonenumber,jdbcType=VARCHAR},\",\n \"id_card = #{idCard,jdbcType=VARCHAR},\",\n \"bank_card = #{bankCard,jdbcType=VARCHAR},\",\n \"bank_location = #{bankLocation,jdbcType=VARCHAR},\",\n \"type = #{type,jdbcType=SMALLINT},\",\n \"salt = #{salt,jdbcType=VARCHAR}\",\n \"is_able = #{is_able,jdbcType=SMALLINT},\",\n \"create_time = #{create_time,jdbcType=VARCHAR}\",\n \"parent_id = #{parent_id,jdbcType=INTEGER}\",\n \"where uid = #{uid,jdbcType=INTEGER}\"\n })\n int updateByPrimaryKey(XxdUser record);",
"void updateLastLogin()\n throws Exception;",
"public void db(View v) {\n\n\t\tSQLiteDatabase db;\n\t\tCursor c; \n\t\tdb= openOrCreateDatabase(\"mydb\",MODE_PRIVATE,null);\n\t\t//db.execSQL(\"drop table if exists tbl_msg\");\n\t\tdb.execSQL(\"CREATE TABLE IF NOT EXISTS tbl_msg(id INTEGER PRIMARY KEY,pno VARCHAR,msg VARCHAR)\");\n\t\tContentValues values = new ContentValues();\n\t\t\n\t\t//Iterator<ArrayList> it1 = Mlist.iterator();\n\t\t//while(it1.hasNext())\n\t\t//{\n\t\t\t//ArrayList<String> list_var = it1.next();\n\t\t\t\n\t\t\tIterator<String> it2 = list4.iterator();\n\t\t\twhile(it2.hasNext())\n\t\t\t{\n\t\t\t\tString num = it2.next();\n\t\t\t\tString msg = \"hey call u later dude\";\n\t\t\t values.put(\"msg\",msg);\n\t\t values.put(\"pno\",num);\n\t\t db.insert(\"tbl_msg\", null, values);\n\t\t\t\n\t\t\t}\n\t\t\t\n\t\t//}\n\t\tCursor c2 =db.rawQuery(\"SELECT * FROM tbl_msg \", null);\n\t\tc2 =db.rawQuery(\"SELECT * FROM tbl_msg \", null);\n\t\tLog.v(\"test db cursor\",c2.getCount()+\"\");\n\t\tif(c2.getCount()>= 0)\n\t\t{\n\t\t\t\n\t\t\tif (c2.moveToFirst()) {\n \t\t\tdo {\n \t\t\tLog.v(\"after closing-----\",c2.getString(1)); \n \t\t\t} while (c2.moveToNext());\n \t\t\t}\n \t\t\t}\n\t\t\t\n\t\t}",
"synchronized public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs,String sortOrder) \n {\n \tSQLiteQueryBuilder queryBuilder = new SQLiteQueryBuilder();\n\t\tqueryBuilder.setTables(tableName);\n sqliteDB = db_conduit.getReadableDatabase();\n Cursor queryResult = null;\n String query = null;\n String[] colnames={\"key\",\"value\"};\n MatrixCursor matCursor = null;\n //String TAG = \"query_shopper\";\n String TAG = \"window_shopper\";\n \n // debug mandi\n /* String countSize = \"select * from \"+tableName;\n \tCursor n = sqliteDB.rawQuery(countSize,null);\n \tLog.d(TAG,\"rowCount::\"+n.getCount());\n \t*/\n \tif(selection.equals(query_all))\n {\n \t\t//Log.d(TAG,\"someone asked for GDUMP ? inside query method\");\n \t\tquery = \"select * from \"+tableName;\n \tqueryResult = sqliteDB.rawQuery(query,null);\n \tqueryResult.moveToFirst();\n \t\n \t_GDump_Lock.records = unpack_cursor(queryResult);\n \t\n \t// send GDUMP request message to successor\n \tMessage.sendMessage(MessageType.GDumpQueryMessage,query_all,myDetails.avdNum,_GDump_Lock.records,chord.mysucc.portNum);\n \t\n \t\tsynchronized (_GDump_Lock) \n \t\t{\n \t\t\ttry\n \t\t{\n\t\t\t\t\tLog.d(TAG,\"--- waiting for the GDUMP ----\");\n \t\t\t\t_GDump_Lock.wait();// wait for successor to respond\n \t\t\t}\n \t\tcatch(InterruptedException iex)\n \t\t{\n \t\t\tiex.printStackTrace();\n \t\t\tLog.e(TAG,\"was waiting on GDUMP\");\n \t\t}\n \t\t\tLog.d(TAG,\"---- Have recvd GDUMP ----\");\n \t\t\tmatCursor = construct_MatrixCursor(_GDump_Lock.records,colnames);\n \t\t}\n\t\t}\n else if(selection.equals(query_mine))\n {\n \tquery = \"select * from \"+tableName;\n \tqueryResult = sqliteDB.rawQuery(query,null);\n \tHashtable<String,String> unpack= unpack_cursor(queryResult);\n \tnotDomain_delete(unpack);\n \tmatCursor = construct_MatrixCursor(unpack,colnames);\n \t\n \t\n }\n else // query for a particular object\n {\t\n \t\n \tLog.d(TAG,\"Tester looking for::\"+selection);\n \tString tester_query = selection;\n \tquery = \"select * from \"+tableName+\" where key=?\";\n \t\n \ttry\n \t{\n \t\tString hashedKey = ChordMaster.genHash(selection);\n \t\tnode[] queryNodes = chord.getQueryNodes(hashedKey);\n \t\tHashtable<String,String> records = null;\n \t\t\n \t\t// list all my brothers\n \t\tfor(int i=0;i<queryNodes.length;i++)\n \t\t{\n \t\t\tLog.e(TAG,\"The query nodes are \"+i+\"::\"+queryNodes[i].avdNum);\n \t\t}\n \t\t\n \t\t// ask brothers starting from the eldest one\n \t\tfor(int i=queryNodes.length-1;i>=0;i--)\n \t\t{\n \t\t\tLog.e(TAG,\"The query node no \"+i+\"::\"+queryNodes[i].avdNum);\n \t\t\t\n \t\t\t/**\n \t\t\t * if we know that this node is down then why bother with query\n \t\t\t * lets query the other query nodes\n \t\t\t */\n \t\t\tif(queryNodes[i].avdNum.equals(myAVDnum))\n \t\t\t{\n \t\t\t\trecords = this.query(query_particular,selection);\n \t \t\t\tif(records != null)\n \t \t\t\t\tbreak;\n \t \t\t\telse // result null -- try brother nodes\n \t \t\t\t{\n \t \t\t\t\tLog.e(TAG,\"Query Fetch failed\");\n \t \t\t\t\tcontinue;\n\t \t\t\t\t}\n \t \t\t\n \t\t\t}\n \t\t\telse \n\t\t \t{\n\t\t \t\tMessage.sendMessage(MessageType.objectQueryMessage,query_particular,myAVDnum,selection,queryNodes[i].portNum);\n\t\t \t\tsynchronized (_query_Lock)\n\t\t \t\t{\n\t\t \t\t\ttry\n\t\t \t\t\t{\n\t\t \t\t\t\tLog.e(TAG,\"----------- WAITING FOR OBJECT QUERY RETURN -------------------\");\n\t\t \t\t\t\t_query_Lock.wait(500); // wait for the response\n\t\t \t\t\t\trecords = _query_Lock.records;\n\t\t \t\t\t\t_query_Lock.records = null;\n\t\t \t\t\t}\n\t\t \t\t\tcatch(InterruptedException iex)\n\t\t \t\t\t{\n\t\t \t\t\t\tiex.printStackTrace();\n\t\t \t\t\t\tLog.e(\"query_shopper\",\"Interrupted Exception waiting on object query return\");\n\t\t \t\t\t}\n\t\t \t\t\t\n\t\t \t\t\tif(records != null)\n\t \t\t\t\t{\n\t\t \t\t\t\t//if(records.keys().nextElement().equals(tester_query))\n\t\t \t\t\t\t{\n\t\t \t\t\t\t\tbreak;\n\t\t \t\t\t\t}\n\t\t \t\t\t\t/*else\n\t\t \t\t\t\t{\n\t\t \t\t\t\t\tif(i==0) i=2;\n\t\t \t \t\t\t\tcontinue;\n\t\t \t\t\t\t}*/\n\t \t\t\t\t}\n\t\t \t\t\telse\n\t\t \t\t\t{\n\t\t \t\t\t\tLog.e(TAG,\"\\n\\n\\nQuery Fetch failed\\n\\n\\n\");\n\t\t \t\t\t\tif(i==0) i=2;\n\t \t \t\t\t\tcontinue;\n\t\t \t\t\t\t}\n\t\t \t\t}// synchronized\n\t\t \t}\n \t\t}//for loop\n \t\t\n \t\tif(records != null)\n \t\t{\n\t \t\tLog.d(TAG,\"Query Answered :: size of hash returned query\"+records.size());\n\t \t\t\tLog.v(TAG,\"Result is------------------------------------->::\"+records.keys().nextElement()+\"::\"+records.get(records.keys().nextElement()));\n \t\t}\n \t\telse\n \t\t{\n \t\t\tLog.e(TAG,\"\\n\\n\\nQuery Fetch has failed\\n\\n\\n\");\n \t\t}\n \t\t// pack the result in records <hashtable> into matrixCursor\n \t\t\tmatCursor = construct_MatrixCursor(records, colnames);\n \t\t}\n \tcatch(NoSuchAlgorithmException nex)\n \t{\n \t\tnex.printStackTrace();\n \t}\n \t}\n \n \t// debug code that tell us state\n if(matCursor == null) \n {\n\t \tLog.d(TAG,\"Query Failure ? -- matcursor null\");\n\t \treturn null;\n } \n else\n {\n \t matCursor.moveToFirst();\n Log.v(TAG,\"num rows returned_returned cursor::\"+matCursor.getCount());\n Log.v(TAG,\"=========== MAT CUSOR ========\");\n printCursor(matCursor);\n matCursor.moveToFirst();\n } \n // make sure that potential listeners are getting notified\n matCursor.setNotificationUri(getContext().getContentResolver(), uri);\n Log.v(TAG,\"Take this tester in your face :: \"+selection);\n return matCursor;\n }",
"public static Cursor getLatest60Entries(Context context) {\n SQLiteDatabase db = getInstance(context).getReadableDatabase();\r\n\r\n String sql = \"select * from whysit;\";\r\n\r\n Cursor cursor = db.rawQuery(sql, null);\r\n return cursor;\r\n }",
"public Cursor getChecklistDate(Context Ctx, String id)\n {\n mdb = Ctx.openOrCreateDatabase(\"aarpoDB\", Context.MODE_PRIVATE, null);\n mdb.execSQL(\"CREATE TABLE IF NOT EXISTS tbl_AARPO(sched_id INTEGER, \"+\n \" aarpo1 INTEGER NOT NULL ,\"+\n \" aarpo2 INTEGER NOT NULL,\" +\n \" aarpo3 INTEGER NOT NULL,\" +\n \" aarpo4 INTEGER NOT NULL,\" +\n \" aarpo5 INTEGER NOT NULL,\" +\n \" aarpo6 INTEGER NOT NULL)\");\n Cursor c3 = mdb.rawQuery(\"SELECT * FROM tbl_AARPO\", null);\n if(c3.getCount() == 0) {\n //Log.d(\"JKS \", \"table is empty fill data first\");\n AarpoDb db =new AarpoDb();\n db.openConnection();\n\n String query = \"SELECT sched_id FROM tbl_schedule\";\n Cursor c = db.selectData(query);\n for(int i = 0; i <= c.getCount();i++) {\n query = \"INSERT INTO tbl_AARPO (sched_id,aarpo1,aarpo2,aarpo3,aarpo4,aarpo5,aarpo6) values(\"+i+\",1,1,1,1,1,1)\";\n mdb.execSQL(query);\n }\n db.closeConnection();\n }\n // else Log.d(\"JKS\",\"data exits\");\n String query = \"Select * from tbl_AARPO WHERE sched_id=\"+mId;\n Cursor c2 = mdb.rawQuery(query,null);\n\n //Log.d(\"JKS\",\"Cursor size=0\"+c2.getCount());\n if(c2 != null)\n {\n\n //Log.d(\"JKS\",\"Cursor size=0\"+c2.getCount());\n while(c2.moveToNext())\n {\n Log.d(\"ARPO\",\"id:\"+ c2.getString(0)+\n \" data: \"+ c2.getString(1)+\n \" data: \"+ c2.getString(2)+\n \" data: \"+ c2.getString(3)+\n \" data: \"+ c2.getString(4)+\n \" data: \"+ c2.getString(5));\n }\n }\n // else Log.d(\"ARPO\",\"Cursor came as null\");\n\n mdb.close();\n return c2;\n }",
"public int verifierUser(){\n SQLiteDatabase db = this.getReadableDatabase(); // On veut lire dans la BD\n int id = -1;\n String selectQuery = \"SELECT * FROM \" + TABLE_USER;\n Log.e(DB_NAME, selectQuery);\n Cursor cursor = db.rawQuery(selectQuery, null);\n if (cursor != null && cursor.getCount()>0) {\n cursor.moveToLast();\n do {\n id = cursor.getInt(0);\n\n } while (cursor.moveToNext());\n }\n db.close(); // Fermer la connexion\n return id;\n }",
"private void getCallLog(@NotNull Context context) {\n Cursor cursor = context.getApplicationContext().getContentResolver().query(CallLog.Calls.CONTENT_URI, null, null,\n null, CallLog.Calls.DATE + \" DESC\");\n DatabaseHelper dbHelper = DatabaseHelper.getHelper(context);\n\n assert cursor != null;\n if (cursor.getCount() > 0) {\n try {\n cursor.moveToFirst();\n long epoch = Long.parseLong(cursor.getString(cursor.getColumnIndex(CallLog.Calls.DATE)));\n String date = new java.text.SimpleDateFormat(\"dd/MM/yyyy HH:mm:ss z\").format(new java.util.Date(epoch));\n if (BuildConfig.DEBUG) {\n Log.d(\"DATE\", date);\n Log.d(\"TYPE\", cursor.getString(cursor.getColumnIndex(CallLog.Calls.TYPE)));\n Log.d(\"DURATION\", cursor.getString(cursor.getColumnIndex(CallLog.Calls.DURATION)));\n }\n dbHelper.addRecordCallData(cursor.getColumnIndex(CallLog.Calls.TYPE), UserIDStore.id(context.getApplicationContext()), date, cursor.getColumnIndex(CallLog.Calls.DURATION));\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n }",
"public void executeQuery_Other(String query) {\n\n \n Connection con = DBconnect.connectdb();\n Statement st;\n\n try {\n st = con.createStatement();\n st.executeUpdate(query);\n\n \n } catch (Exception e) {\n //JOptionPane.showMessageDialog(null, e);\n\n }\n\n }",
"public void updateEntry(String userName, String password) {\n // create object of ContentValues\n ContentValues updatedValues = new ContentValues();\n // Assign values for each Column.\n updatedValues.put(\"USERNAME\", userName);\n updatedValues.put(\"PASSWORD\", password);\n\n String where = \"USERNAME = ?\";\n db.update(\"LOGIN\", updatedValues, where, new String[] { userName });\n }",
"public boolean chkMailPswd(String email , String passwd){\n SQLiteDatabase db = this.getReadableDatabase();\n Cursor cursor = db.rawQuery(\"Select * from user where email=? and passwd =?\",new String[]{email,passwd});\n if (cursor.getCount()>0) {\n maill = email;\n passwood = passwd;\n return true;\n }\n else return false;\n\n }",
"private void testSQLite() {\n\t\tConnection conn=null;\n\t\ttry {\n\t\t\tClass.forName(\"org.sqlite.JDBC\");\n\n\t\t\tconn = DriverManager.getConnection(DATABASE_CONNECTION);\n\t\t\t// 建立事务机制,禁止自动提交,设置回滚点\n\t\t\tconn.setAutoCommit(false);\n\n\t\t\tStatement stat = conn.createStatement();\n\t\t\t// User{weibo=null, id=2438418282, name='心情慵懒',\n\t\t\t// screenName='心情慵懒', location='甘肃 陇南', description='',\n\t\t\t// profileImageUrl='http://tp3.sinaimg.cn/2438418282/50/5612515360/1',\n\t\t\t// province='62', city='26', domain ='', gender ='m',\n\t\t\t// url='',\n\t\t\t// allowAllActMsg=false,\n\t\t\t// followersCount=1,\n\t\t\t// friendsCount=40, createdAt=Sun Oct 02 00:00:00 CST 2011,\n\t\t\t// favouritesCount=0, following=false, statusesCount=0,\n\t\t\t// geoEnabled=false,\n\t\t\t// voiderified=false,\n\t\t\t// status=null}\n\n\t\t\tstat.executeUpdate(\"create table userInfo (\"\n\t\t\t\t\t+ \"id PRIMARY KEY NOT NULL,\"// 用户UID\",主键\n\t\t\t\t\t+ \"screenName,\"// 微博昵称\n\t\t\t\t\t+ \"name,\"// 友好显示名称,同微博昵称\n\t\t\t\t\t+ \"province,\"// 省份编码(参考省份编码表)\n\t\t\t\t\t+ \"city,\"// 城市编码(参考城市编码表)\n\t\t\t\t\t+ \"location,\"// 地址\n\t\t\t\t\t+ \"description,\"// 个人描述\n\t\t\t\t\t+ \"url,\"// 用户博客地址\n\t\t\t\t\t+ \"profileImageUrl,\"// 自定义图像\n\t\t\t\t\t+ \"domain,\"// 用户个性化URL\n\t\t\t\t\t+ \"gender,\"// 性别,m--男,f--女,n--未知\n\t\t\t\t\t+ \"followersCount,\"// 粉丝数\n\t\t\t\t\t+ \"friendsCount,\"// 关注数\n\t\t\t\t\t+ \"statusesCount,\"// 微博数\n\t\t\t\t\t+ \"favouritesCount,\"// 收藏数\n\t\t\t\t\t+ \"createdAt,\"// 创建时间\n\t\t\t\t\t+ \"following,\"// 是否已关注(此特性暂不支持)\n\t\t\t\t\t+ \"verified,\"// 加V标示,是否微博认证用户\n\t\t\t\t\t+ \"status,\"// 状态,由取回的字符中提取,意义不明\n\t\t\t\t\t+ \"geoEnabled,\"// 地理状态信息\n\t\t\t\t\t+ \"allowAllActMsg,\"// 由取回的字符中提取,意义不明\n\t\t\t\t\t+ \"weibo,\"// 由取回的字符中提取,意义不明\n\t\t\t\t\t+ \"access_token,\"// 访问Token\n\t\t\t\t\t+ \"access_secret)\");// 访问密钥\n\n\t\t\t// [createdAt=Sat Oct 01 23:51:54 CST 2011,\n\t\t\t// id=3363835379243442, text=养生之道,首在养气。,\n\t\t\t// source=<a href=\"http://mail.sina.com.cn\"\n\t\t\t// rel=\"nofollow\">新浪免费邮箱</a>,\n\t\t\t// isTruncated=false, inReplyToStatusId=-1, inReplyToUserId=-1,\n\t\t\t// isFavorited=false, inReplyToScreenName=,\n\t\t\t// latitude=-1.0,\n\t\t\t// longitude=-1.0,\n\t\t\t// thumbnail_pic=, bmiddle_pic=,\n\t\t\t// original_pic=,\n\t\t\t// mid=3363835379243442,\n\t\t\t// user=null,\n\t\t\t// retweeted_status=null]}\n\n\t\t\tstat.executeUpdate(\"create table statusInfo (\" + \"created_at,\"// 创建时间\n\t\t\t\t\t+ \"id PRIMARY KEY NOT NULL,\"// 微博ID,主键\n\t\t\t\t\t+ \"text,\"// 微博信息内容\n\t\t\t\t\t+ \"source,\"// 微博来源\n\t\t\t\t\t+ \"favorited,\"// 是否已收藏\n\t\t\t\t\t+ \"truncated,\"// 是否被截断\n\t\t\t\t\t+ \"in_reply_to_status_id,\"// 回复ID\n\t\t\t\t\t+ \"in_reply_to_user_id,\"// 回复人UID\n\t\t\t\t\t+ \"in_reply_to_screen_name,\"// 回复人昵称\n\t\t\t\t\t+ \"thumbnail_pic,\"// 缩略图\n\t\t\t\t\t+ \"bmiddle_pic,\"// 中型图片\n\t\t\t\t\t+ \"original_pic,\"// 原始图片\n\t\t\t\t\t+ \"user,\"// 作者信息\n\t\t\t\t\t+ \"retweeted_status)\");// 转发的博文,内容为status,如果不是转发,则没有此字段\n\t\t\tconn.commit();\n\t\t\tconn.close();\n\t\t} catch (ClassNotFoundException e) {\n\t\t\te.printStackTrace();\n\t\t} catch (SQLException e) {\n\t\t\tSystem.out.println(\"create table error\");\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tconn.close();\n\t\t\t} catch (SQLException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t}",
"public String getUserNameFromDatabase() {\n String result = \"null\";\n String selectQuery = \"select * from \" + DatabaseHelper.TABLE_NAME + \" ORDER BY _id ASC\";\n SQLiteDatabase db = this.getReadableDatabase();\n try {\n Cursor cursor = db.rawQuery(selectQuery, null);\n\n if (cursor.moveToFirst())\n result = cursor.getString(4);\n\n cursor.close();\n db.close();\n }\n catch (Exception e) {\n e.printStackTrace();\n Log.e(\"DBTEST\", e.toString());\n }\n return result;\n }",
"public int Approveduser(Long id) throws SQLException {\n\tint i=DbConnect.getStatement().executeUpdate(\"update login set userstatus='approved'where loginid=\"+id+\"\");\r\n\treturn i;\r\n}",
"public void setUserStatus(int online, int id){\n\n try{\n\n String query = \"UPDATE PlayerF \"\n + \"SET Online = \" + online\n + \" WHERE Id = \"+ id;\n\n int result = stmt.executeUpdate(query);\n\n if(result > 0){\n\n System.out.println(\"@setUserStatus: possible success\");\n\n }\n else{\n System.out.println(\"@setUserStatus: Error result returned false\");\n }\n\n }catch (SQLException e){\n e.printStackTrace();\n }\n\n }",
"public User getUser(String email, String password) {\n User user = new User();\n // array of columns to fetch\n String[] columns = {\n COLUMN_USER_ID,\n COLUMN_USER_NAME,\n COLUMN_USER_EMAIL,\n COLUMN_USER_IMAGE,\n COLUMN_USER_CURRMONTH_ID\n };\n // selection criteria\n String selection = COLUMN_USER_EMAIL + \" = ?\" + \" AND \" + COLUMN_USER_PASSWORD + \" = ?\";\n \n // selection arguments\n String[] selectionArgs = {email, password};\n \n // query user table with conditions\n /**\n * Here query function is used to fetch records from user table this function works like we use sql query.\n * SQL query equivalent to this query function is\n * SELECT user_id FROM user WHERE user_email = '[email protected]' AND user_password = 'qwerty';\n */\n SQLiteDatabase db = this.getReadableDatabase();\n Cursor cursor = db.query(\n TABLE_USER, //Table to query\n columns, //columns to return\n selection, //columns for the WHERE clause\n selectionArgs, //The values for the WHERE clause\n null, //group the rows\n null, //filter by row groups\n null); //The sort order\n int cursorCount = cursor.getCount();\n\n if (cursorCount == 1 && cursor.moveToFirst()) {\n user.setId(Integer.parseInt(cursor.getString(cursor.getColumnIndex(COLUMN_USER_ID))));\n user.setName(cursor.getString(cursor.getColumnIndex(COLUMN_USER_NAME)));\n user.setEmail(cursor.getString(cursor.getColumnIndex(COLUMN_USER_EMAIL)));\n byte[] imgByte = cursor.getBlob(3);\n user.setImage(BitmapFactory.decodeByteArray(imgByte, 0, imgByte.length));\n user.setCurrMonth(Integer.parseInt(cursor.getString(cursor.getColumnIndex(COLUMN_USER_CURRMONTH_ID))));\n }\n cursor.close();\n db.close();\n\n return user;\n }",
"private void exeMODREC() \n\t{\n\t try\n\t {\n\t \tthis.setCursor(cl_dat.M_curWTSTS_pbst);\n\t\t String strSQLQRY=\" select count(*) from SA_SWMST \";\n\t\t\tstrSQLQRY+=\" where SW_SFTCT='\"+hstSFTCT.get(cmbSFTCT.getSelectedItem().toString())+\"' AND SW_SFTCD='\"+txtSFTCD.getText().toString()+\"' AND SW_SRLNO='\"+txtSRLNO.getText().toString()+\"'\";\n\t\t\tstrSQLQRY += \" and ifnull(SW_STSFL,'')<>'X'\";\n\t\t\tif(cmbLICTP.getSelectedIndex()>0)\n\t\t\t\tstrSQLQRY += \" AND SW_LICTP='\"+hstLICTP.get(cmbLICTP.getSelectedItem().toString())+\"'\";\n\t\t\telse\n\t\t\t\tstrSQLQRY += \" AND SW_LICTP='XX'\";\n\t\t\tResultSet rstRSSET = cl_dat.exeSQLQRY(strSQLQRY);\n\t\t\t//System.out.println(\">>>Count2>>\"+strSQLQRY);\n\t\t\tif(rstRSSET.next() && rstRSSET!= null)\n\t\t\t{\n\t\t\t\tif(rstRSSET.getInt(1)>0)\n\t\t\t\t{\n\t\t\t \tthis.setCursor(cl_dat.M_curWTSTS_pbst);\n\t\t\t \tcl_dat.M_flgLCUPD_pbst = true;\n\t\t\t\t\tM_strSQLQRY = \" Update SA_SWMST set\";\n\t\t\t \tM_strSQLQRY += \" SW_SFTDS='\"+txtSFTDS.getText().toString().trim()+\"',\";\n\t\t\t \tM_strSQLQRY +=\" SW_STSFL='\"+L_strSTSFL+\"',\";\n\t\t\t \tif(txtPROQT.getText().toString().length()>0)\n\t\t\t \t\tM_strSQLQRY += \" SW_PROQT='\"+txtPROQT.getText()+\"',\";\n\t\t\t \telse\n\t\t\t \t\tM_strSQLQRY += \" SW_PROQT=0,\";\n\t\t\t \n\t\t\t\t\tif(txtUTLQT.getText().toString().length()>0)\n\t\t\t \t\tM_strSQLQRY += \" SW_UTLQT='\"+txtUTLQT.getText()+\"',\";\n\t\t\t\t\telse\n\t\t\t \t\tM_strSQLQRY += \"SW_UTLQT=0,\";\n\t\t\t\t\tM_strSQLQRY +=\" SW_LUSBY = '\"+ cl_dat.M_strUSRCD_pbst+\"',\";\n\t\t\t\t\tM_strSQLQRY +=\" SW_LUPDT = '\"+ M_fmtDBDAT.format(M_fmtLCDAT.parse(cl_dat.M_strLOGDT_pbst))+\"'\";\n\t\t\t\t\tM_strSQLQRY +=\" where SW_SFTCT= '\"+hstSFTCT.get(cmbSFTCT.getSelectedItem().toString())+\"'\";\n\t\t\t\t\tM_strSQLQRY +=\" AND SW_SFTCD= '\"+txtSFTCD.getText()+\"'\";\n\t\t\t\t\tM_strSQLQRY +=\" AND SW_SRLNO= '\"+txtSRLNO.getText().toString()+\"'\";\n\t\t\t\t\tif(cmbLICTP.getSelectedIndex()>0)\n\t\t\t\t\t\tM_strSQLQRY +=\" AND SW_LICTP='\"+hstLICTP.get(cmbLICTP.getSelectedItem().toString())+\"'\";\n\t\t\t\t\telse\n\t\t\t\t\t\tstrSQLQRY += \" AND SW_LICTP='XX'\";\n\t\t\t\t\t//M_strSQLQRY +=\" AND SW_SYSTP = '\"+txtSYSTP.getText().toString()+\"' \";\n\t\t\t\t\t//System.out.println(\">>>update>>\"+M_strSQLQRY);\n\t\t\t\t\tcl_dat.exeSQLUPD(M_strSQLQRY ,\"setLCLUPD\");\t\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\texeADDREC();\n\t\t\t\t}\n\t\t\t}\n\t\t\tsetCursor(cl_dat.M_curDFSTS_pbst);\n\t\t }\n\t catch(Exception L_EX)\n\t {\n\t \t\n\t setMSG(L_EX,\"exeMODREC()\");\n\t }\n\t}",
"public static void phoneAdmin(){\r\n\r\n\r\n try (Connection c = getConnection()) {\r\n\r\n // String sql = \"SELECT * FROM sms.phones when PhoneNumber = 79827956841 \" ;\r\n String sql = \"SELECT * from sms_log.users where username = 'Pedro'\";\r\n PreparedStatement ps = c.prepareStatement(sql);\r\n\r\n\r\n try (ResultSet rs = ps.executeQuery()) {\r\n if (rs.next()) {\r\n isPhoneAdminExists = true;\r\n\r\n\r\n }\r\n\r\n adminSmsRid();\r\n }\r\n } catch (SQLException e) {\r\n e.printStackTrace();\r\n }\r\n\r\n if (isPhoneAdminExists) {\r\n\r\n\r\n blackList();\r\n\r\n\r\n\r\n }\r\n\r\n }",
"@Override\n public void onClick(View view) {\n Log.i(\"Register before \", \" \"+name.getText().toString()+username.getText().toString()+password.getText().toString());\n Boolean status= databaseHelper.regUser(name.getText().toString(),username.getText().toString(),password.getText().toString());\n if(status)\n Toast.makeText(Register.this, \"Registerd\", Toast.LENGTH_SHORT).show();\n else\n Toast.makeText(Register.this, \"Not Registered\", Toast.LENGTH_SHORT).show();\n Cursor c=databaseHelper.getdata();\n c.moveToFirst();\n for(int i=0;i<c.getCount();i++) {\n Log.i(\"Register Log \", \" \"+c.getString(0)+c.getString(1));\n c.moveToNext();\n }\n\n }",
"public void updatePatientOtherInfo(String strId, String visitId, String usersellectedDate, String daysSel, String fowSel, String monthSel, String clinical_note, String patientImagePath, String modified_dateon, String modified_time, String modified_by, String action, String patInfoType, String flag,\n String weight, String pulse, String bphigh, String bplow, String temparature, String symptoms, String dignosis, String strHeight, String strbmi, String visit_date, String referedBy, String referedTo, String strSpo2, String strRespiration, String strObesity, String strFollowUpStatus) throws ClirNetAppException {\n SQLiteDatabase db = this.getWritableDatabase();\n\n try {\n ContentValues values = new ContentValues();\n values.put(ACTUAL_FOLLOW_UP_DATE, usersellectedDate); // Name\n\n values.put(DAYS, daysSel); // Email\n values.put(WEEKS, fowSel); // Email\n values.put(MONTHS, monthSel); // Created At\n values.put(CLINICAL_NOTES, clinical_note);\n values.put(PRESCRIPTION, patientImagePath);\n values.put(MODIFIED_ON, modified_dateon);\n values.put(MODIFIED_TIME, modified_time);\n values.put(MODIFIED_BY, modified_by);\n values.put(ACTION, action);\n values.put(PATIENT_INFO_TYPE_FORM, patInfoType);\n values.put(SYCHRONIZED, flag);\n values.put(WEIGHT, weight);\n values.put(PULSE, pulse);\n values.put(BP, bphigh);\n values.put(BP_LOW, bplow);\n values.put(TEMP, temparature);\n\n values.put(SYMPTOMS, symptoms);\n values.put(DIGNOSIS, dignosis);\n\n values.put(HEIGHT, strHeight);\n values.put(BMI, strbmi);\n\n values.put(VISIT_DATE, visit_date);\n\n values.put(REFERED_BY, referedBy);\n values.put(REFERED_TO, referedTo);\n values.put(SPO2, strSpo2);\n values.put(RESPIRATION, strRespiration);\n values.put(OBESITY, strObesity);\n values.put(FOLLOW_UP_STATUS, strFollowUpStatus);\n // Inserting Row\n db.update(TABLE_PATIENT_HISTORY, values, KEY_PATIENT_ID + \"=\" + strId + \" AND \" + KEY_VISIT_ID + \"=\" + visitId, null);\n\n } catch (Exception e) {\n throw new ClirNetAppException(\"Error inserting data\");\n } finally {\n if (db != null) {\n db.close(); // Closing database connection\n }\n }\n }",
"public static void setLastPingTime(String uri, long timestamp) {\n\t\tConnection con = DBConnectionFactory.getConnection();\r\n\t\ttry {\r\n\t\t\tPreparedStatement ps = con.prepareStatement(\"update uri set lastpingtime=? where uri=? and md5=?\");\r\n\t\t\tps.setLong(1, timestamp) ;\r\n\t\t\tps.setString(2, uri) ;\r\n\t\t\tps.setBytes(3, (new MD5()).makeMD5(uri)) ;\r\n\t\t\tps.executeUpdate();\r\n\t\t\tps.close();\r\n\t\t\tcon.close();\r\n\t\t} catch (SQLException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}",
"public Cursor fetchCourse(long rowId) throws SQLException\r\n{\r\nCursor mCursor = database.query(true, DATABASE_TABLE, new String[] { KEY_ROWID, KEY_CATEGORY, KEY_COURSENAME, KEY_ASSIGNMENTNAME, KEY_DESCRIPTION, KEY_DUEDATE, KEY_COMPLETED }, null, null, null,\r\nnull, null, null);\r\nif (mCursor != null)\r\n{\r\nmCursor.moveToFirst();\r\n}\r\nreturn mCursor;\r\n}",
"public int sharedown(Long comp_id, Long no_share)throws Exception {\n\tint i,j = 0,k = 0;\r\n\tjava.util.Date d=new java.util.Date();\r\n\tSimpleDateFormat sd=new SimpleDateFormat(\"dd-MMM-yy\");\r\n\tString s1=sd.format(d);\r\n\ti=DbConnect.getStatement().executeUpdate(\"update share_details set no_share=no_share-\"+no_share+\" where comp_id=\"+comp_id+\" and DATEOFTRANS='\"+s1+\"'\");\r\n\trs=DbConnect.getStatement().executeQuery(\"select * from moreshare where types='bought' and DATEOFTRANS='\"+s1+\"'\");\r\n\tif(rs.next()==true)\r\n\t{\r\n\t\tk=DbConnect.getStatement().executeUpdate(\"update moreshare set no_share=no_share+\"+no_share+\" where COMP_ID=\"+comp_id+\" and types='bought' and DATEOFTRANS='\"+s1+\"'\");\r\n\t}\r\n\telse\r\n\t{\r\n\t\tj=DbConnect.getStatement().executeUpdate(\"insert into moreshare values(\"+comp_id+\",\"+no_share+\",'bought','\"+s1+\"')\");\t\r\n\t}\r\n\t\r\n\tSystem.out.println(\"k value\"+k+\"and j value\"+j);\r\nreturn i;\r\n}",
"@Override\n public void onItemClick(AdapterView<?> parent, View v, int position, long id) {\n long current_click=System.currentTimeMillis();\n if((current_click-lastclick)>DOUBLE_CLICK_TIME_DELTA){\n username=getnames(position);\n //eroor in query\n Cursor c=db.getuserData(username);\n if (c.getCount() == 0) {\n showMessage(\"Error\", \"No Data Entry Found\",null,null,null);\n //Toast.makeText(MainActivity.this, \"No Data Entry Found\", Toast.LENGTH_SHORT).show();\n return;\n }\n StringBuffer buffer = new StringBuffer();\n while (c.moveToNext()) {\n // buffer.append(\"id :\" + c.getString(0) + \"\\n\");\n buffer.append(\"Name: \" + c.getString(1) + \"\\n\");\n buffer.append(\"email: \" + c.getString(2) + \"\\n\");\n buffer.append(\"uname: \" + c.getString(3) + \"\\n\\n\");\n\n }\n lastclick=current_click;\n showMessage(\"Friend's Profile\", buffer.toString(),db.getfullname(username),db.getemail(username),username);\n }\n else lastclick=current_click;\n }",
"@Override\n public void onClick(View v) {\n String userName = editTextUserName.getText().toString();\n String password = editTextPassword.getText().toString();\n String mobile = editTextmobilenumber.getText().toString();\n\n String nam = null;\n String phone = null;\n String storedpass = null;\n\n //getting data(mobile number) of Admin(A) from database\n Cursor rs = db.getData1(\"A\");\n phone = rs.getString(rs.getColumnIndex(DataBaseHandler.MOBILE_NUMBER));\n //checking et credentials\n if (!userName.equals(\"\") && !password.equals(\"\")){// && !phone.equals(mobile) ) {\n\n //updating data into database\n boolean isInserted1 = db.updateData(userName, password, mobile, \"A\");\n if (isInserted1) {\n Log.d(\"TAG\", String.valueOf(isInserted1));\n Toast.makeText(getApplicationContext(), \"saved\", Toast.LENGTH_LONG).show();\n Intent i = new Intent(Adminlogin.this, Users.class);\n startActivity(i);\n finish();\n }\n }\n\n else {\n // Toast.makeText(getApplicationContext(), \"Username and Password doesnot match\", Toast.LENGTH_LONG).show();\n\n }\n }",
"public int req(Long req_id)throws SQLException {\nint i=DbConnect.getStatement().executeUpdate(\"update requested set status='processed',remark='bought fail' where reqid=\"+req_id+\"\");\t\r\n\treturn i;\r\n}",
"public boolean checkLoginEntry(String name,int pin) {\n SQLiteDatabase db1 = this.getReadableDatabase();\n // SELECT * FROM expense WHERE id = ?;\n String selectQuery = \"SELECT * FROM \" + TABLE_LOGIN + \" WHERE \" + KEY_PIN + \" = \" + pin + \" AND \" + KEY_USERNAME + \" = \" +\"'\"+name+\"'\";\n Log.d(TAG, selectQuery);\n Cursor c = db1.rawQuery(selectQuery, null);\n if (c.getCount() ==1 ) {\n return true;\n }\n else\n {\n return false;\n }\n }",
"public static void main(String[] args) {\n\t\t\n\t\ttry {\n\t\t\tClass.forName(\"com.mysql.jdbc.Driver\");\n\t\t\tConnection con = DriverManager.getConnection(\"jdbc:mysql://localhost:3306/labp4\",\"root\",\"\");\n\t\t\t\n\t\t\tSystem.out.println(\"before updating any value the table is in the form:\");\n\t\t\t\n\t\t\tStatement st = (Statement) con.createStatement();\n\t\t\tResultSet rs = st.executeQuery(\"select * from display\");\n\t\t\t\n\t\t\tSystem.out.println(\"name\\t\\t\\tmail\\t\\t\\tphoneno\\t\\t\\tpassword\");\n\t\t\n\t\t\twhile(rs.next()) {\n\t\t\t\tSystem.out.println(rs.getString(1) + \"\\t\\t\" + rs.getString(2) + \"\\t\\t\" + rs.getString(3) + \"\\t\\t\" + rs.getString(4) + \"\\t\" );\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t\t//update\n\t\t\t\n\t\t\tString q = \"update display set name = ? where password = ?\";\n\t\t\tPreparedStatement ps = (PreparedStatement) con.prepareStatement(q);\n\t\t\t\n\t\t\t//for ? values\n\t\t\t\n\t\t\tps.setString(1,\"Pendela\");\n\t\t\tps.setString(2, \"abitha1231\");\n\t\t\t\n\t\t\tint up = ps.executeUpdate();\n\t\t\t\n\t\t\tSystem.out.println(\"total number of updated rows = \" +up);\n\t\t\t\n\t\t\tSystem.out.println(\"after updating the table looks like\");\n\t\t\t\n\t\t\t\t//you can thik already befoore updating we print the table there we used statement and resultset so no need to declare twice\n\t\t\t\n\t\t\t//its wrong because there rs pointer is at last if you use the same pointer it wont print any table as boolean value is false\n\t\t\t\n\t\t\tStatement stat = (Statement) con.createStatement();\n\t\t\tResultSet rse = stat.executeQuery(\"select * from display\");\n\t\t\t\n\t\t\tSystem.out.println(\"name\\t\\t\\tmail\\t\\t\\tphoneno\\t\\t\\tpassword\");\n\t\t\t\n\t\t\twhile(rse.next()) {\n\t\t\t\tSystem.out.println(rse.getString(1) + \"\\t\\t\" + rse.getString(2) + \"\\t\\t\" + rse.getString(3) + \"\\t\\t\" + rse.getString(4) + \"\\t\" );\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t} catch (ClassNotFoundException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (SQLException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}",
"@Override\n protected void execute2() {\n sql = \"CREATE TABLE origin (_id INTEGER PRIMARY KEY AUTOINCREMENT,origin_type_id INTEGER NOT NULL,origin_name TEXT NOT NULL,origin_url TEXT NOT NULL,ssl BOOLEAN NOT NULL DEFAULT 1,ssl_mode INTEGER NOT NULL DEFAULT 1,allow_html BOOLEAN NOT NULL DEFAULT 1,text_limit INTEGER NOT NULL,short_url_length INTEGER NOT NULL DEFAULT 0,mention_as_webfinger_id INTEGER NOT NULL DEFAULT 3,use_legacy_http INTEGER NOT NULL DEFAULT 3,in_combined_global_search BOOLEAN NOT NULL DEFAULT 1,in_combined_public_reload BOOLEAN NOT NULL DEFAULT 1)\";\n sql = \"CREATE TABLE note (_id INTEGER PRIMARY KEY AUTOINCREMENT,origin_id INTEGER NOT NULL,note_oid TEXT NOT NULL,note_status INTEGER NOT NULL DEFAULT 0,conversation_id INTEGER NOT NULL DEFAULT 0,conversation_oid TEXT,url TEXT,note_name TEXT,content TEXT,content_to_search TEXT,via TEXT,note_author_id INTEGER NOT NULL DEFAULT 0,in_reply_to_note_id INTEGER,in_reply_to_actor_id INTEGER,public INTEGER NOT NULL DEFAULT 0,favorited INTEGER NOT NULL DEFAULT 0,reblogged INTEGER NOT NULL DEFAULT 0,favorite_count INTEGER NOT NULL DEFAULT 0,reblog_count INTEGER NOT NULL DEFAULT 0,reply_count INTEGER NOT NULL DEFAULT 0,attachments_count INTEGER NOT NULL DEFAULT 0,note_ins_date INTEGER NOT NULL,note_updated_date INTEGER NOT NULL DEFAULT 0)\";\n sql = \"CREATE UNIQUE INDEX idx_note_origin ON note (origin_id, note_oid)\";\n sql = \"CREATE INDEX idx_note_in_reply_to_note_id ON note (in_reply_to_note_id)\";\n sql = \"CREATE INDEX idx_note_conversation_id ON note (conversation_id)\";\n sql = \"CREATE INDEX idx_conversation_oid ON note (origin_id, conversation_oid)\";\n sql = \"CREATE TABLE user (_id INTEGER PRIMARY KEY AUTOINCREMENT,user_known_as TEXT NOT NULL DEFAULT '',is_my_user INTEGER NOT NULL DEFAULT 0)\";\n sql = \"CREATE INDEX idx_my_user ON user (is_my_user)\";\n sql = \"CREATE TABLE actor (_id INTEGER PRIMARY KEY AUTOINCREMENT,user_id INTEGER NOT NULL,origin_id INTEGER NOT NULL,actor_oid TEXT NOT NULL,username TEXT NOT NULL,webfinger_id TEXT NOT NULL,real_name TEXT,actor_description TEXT,location TEXT,profile_url TEXT,homepage TEXT,avatar_url TEXT,banner_url TEXT,notes_count INTEGER NOT NULL DEFAULT 0,favorited_count INTEGER NOT NULL DEFAULT 0,following_count INTEGER NOT NULL DEFAULT 0,followers_count INTEGER NOT NULL DEFAULT 0,actor_created_date INTEGER NOT NULL DEFAULT 0,actor_updated_date INTEGER NOT NULL DEFAULT 0,actor_ins_date INTEGER NOT NULL,actor_activity_id INTEGER NOT NULL DEFAULT 0,actor_activity_date INTEGER NOT NULL DEFAULT 0)\";\n sql = \"CREATE UNIQUE INDEX idx_actor_origin ON actor (origin_id, actor_oid)\";\n sql = \"CREATE INDEX idx_actor_user ON actor (user_id)\";\n sql = \"CREATE INDEX idx_actor_webfinger ON actor (webfinger_id)\";\n sql = \"CREATE TABLE audience (actor_id INTEGER NOT NULL,note_id INTEGER NOT NULL, CONSTRAINT pk_audience PRIMARY KEY (note_id ASC, actor_id ASC))\";\n sql = \"CREATE INDEX idx_audience_actor ON audience (actor_id)\";\n sql = \"CREATE INDEX idx_audience_note ON audience (note_id)\";\n sql = \"CREATE TABLE friendship (actor_id INTEGER NOT NULL,friend_id INTEGER NOT NULL,followed BOOLEAN NOT NULL, CONSTRAINT pk_friendship PRIMARY KEY (actor_id, friend_id))\";\n sql = \"CREATE INDEX idx_followers ON friendship (friend_id, actor_id)\";\n sql = \"CREATE TABLE download (_id INTEGER PRIMARY KEY AUTOINCREMENT,download_type INTEGER NOT NULL,download_number INTEGER NOT NULL DEFAULT 0,actor_id INTEGER NOT NULL DEFAULT 0,note_id INTEGER NOT NULL DEFAULT 0,media_type TEXT NOT NULL,url TEXT NOT NULL,download_status INTEGER NOT NULL DEFAULT 0,width INTEGER NOT NULL DEFAULT 0,height INTEGER NOT NULL DEFAULT 0,duration INTEGER NOT NULL DEFAULT 0,file_name TEXT,file_size INTEGER NOT NULL DEFAULT 0)\";\n sql = \"CREATE INDEX idx_download_actor ON download (actor_id, download_status)\";\n sql = \"CREATE INDEX idx_download_note ON download (note_id, download_number)\";\n sql = \"CREATE TABLE timeline (_id INTEGER PRIMARY KEY AUTOINCREMENT,timeline_type TEXT NOT NULL,actor_id INTEGER NOT NULL DEFAULT 0,actor_in_timeline TEXT,origin_id INTEGER NOT NULL DEFAULT 0,search_query TEXT,is_synced_automatically BOOLEAN NOT NULL DEFAULT 0,displayed_in_selector INTEGER NOT NULL DEFAULT 0,selector_order INTEGER NOT NULL DEFAULT 0,sync_succeeded_date INTEGER NOT NULL DEFAULT 0,sync_failed_date INTEGER NOT NULL DEFAULT 0,error_message TEXT,synced_times_count INTEGER NOT NULL DEFAULT 0,sync_failed_times_count INTEGER NOT NULL DEFAULT 0,downloaded_items_count INTEGER NOT NULL DEFAULT 0,new_items_count INTEGER NOT NULL DEFAULT 0,count_since INTEGER NOT NULL DEFAULT 0,synced_times_count_total INTEGER NOT NULL DEFAULT 0,sync_failed_times_count_total INTEGER NOT NULL DEFAULT 0,downloaded_items_count_total INTEGER NOT NULL DEFAULT 0,new_items_count_total INTEGER NOT NULL DEFAULT 0,youngest_position TEXT,youngest_item_date INTEGER NOT NULL DEFAULT 0,youngest_synced_date INTEGER NOT NULL DEFAULT 0,oldest_position TEXT,oldest_item_date INTEGER NOT NULL DEFAULT 0,oldest_synced_date INTEGER NOT NULL DEFAULT 0,visible_item_id INTEGER NOT NULL DEFAULT 0,visible_y INTEGER NOT NULL DEFAULT 0,visible_oldest_date INTEGER NOT NULL DEFAULT 0,last_changed_date INTEGER NOT NULL DEFAULT 0)\";\n sql = \"CREATE TABLE activity (_id INTEGER PRIMARY KEY AUTOINCREMENT,activity_origin_id INTEGER NOT NULL,activity_oid TEXT NOT NULL,account_id INTEGER NOT NULL,activity_type INTEGER NOT NULL,actor_id INTEGER NOT NULL,activity_note_id INTEGER NOT NULL,activity_actor_id INTEGER NOT NULL,obj_activity_id INTEGER NOT NULL,subscribed INTEGER NOT NULL DEFAULT 0,interacted INTEGER NOT NULL DEFAULT 0,interaction_event INTEGER NOT NULL DEFAULT 0,notified INTEGER NOT NULL DEFAULT 0,notified_actor_id INTEGER NOT NULL DEFAULT 0,new_notification_event INTEGER NOT NULL DEFAULT 0,activity_ins_date INTEGER NOT NULL,activity_updated_date INTEGER NOT NULL DEFAULT 0)\";\n sql = \"CREATE UNIQUE INDEX idx_activity_origin ON activity (activity_origin_id, activity_oid)\";\n sql = \"CREATE INDEX idx_activity_message ON activity (activity_note_id)\";\n sql = \"CREATE INDEX idx_activity_actor ON activity (activity_actor_id)\";\n sql = \"CREATE INDEX idx_activity_activity ON activity (obj_activity_id)\";\n sql = \"CREATE INDEX idx_activity_timeline ON activity (activity_updated_date)\";\n sql = \"CREATE INDEX idx_activity_actor_timeline ON activity (actor_id, activity_updated_date)\";\n sql = \"CREATE INDEX idx_activity_subscribed_timeline ON activity (subscribed, activity_updated_date)\";\n sql = \"CREATE INDEX idx_activity_notified_timeline ON activity (notified, activity_updated_date)\";\n sql = \"CREATE INDEX idx_activity_notified_actor ON activity (notified, notified_actor_id)\";\n sql = \"CREATE INDEX idx_activity_new_notification ON activity (new_notification_event)\";\n sql = \"CREATE INDEX idx_activity_interacted_timeline ON activity (interacted, activity_updated_date)\";\n sql = \"CREATE INDEX idx_activity_interacted_actor ON activity (interacted, notified_actor_id)\";\n sql = \"CREATE TABLE command (_id INTEGER PRIMARY KEY NOT NULL,queue_type TEXT NOT NULL,command_code TEXT NOT NULL,command_created_date INTEGER NOT NULL,command_description TEXT,in_foreground BOOLEAN NOT NULL DEFAULT 0,manually_launched BOOLEAN NOT NULL DEFAULT 0,timeline_id INTEGER NOT NULL DEFAULT 0,timeline_type TEXT NOT NULL,account_id INTEGER NOT NULL DEFAULT 0,actor_id INTEGER NOT NULL DEFAULT 0,origin_id INTEGER NOT NULL DEFAULT 0,search_query TEXT,item_id INTEGER NOT NULL DEFAULT 0,username TEXT,last_executed_date INTEGER NOT NULL DEFAULT 0,execution_count INTEGER NOT NULL DEFAULT 0,retries_left INTEGER NOT NULL DEFAULT 0,num_auth_exceptions INTEGER NOT NULL DEFAULT 0,num_io_exceptions INTEGER NOT NULL DEFAULT 0,num_parse_exceptions INTEGER NOT NULL DEFAULT 0,error_message TEXT,downloaded_count INTEGER NOT NULL DEFAULT 0,progress_text TEXT)\";\n\n progressLogger.logProgress(stepTitle + \": Converting notes\");\n\n dropOldIndex(\"idx_note_origin\");\n dropOldIndex(\"idx_note_in_reply_to_note_id\");\n dropOldIndex(\"idx_note_conversation_id\");\n dropOldIndex(\"idx_conversation_oid\");\n\n sql = \"ALTER TABLE note RENAME TO oldnote\";\n DbUtils.execSQL(db, sql);\n\n sql = \"CREATE TABLE note (_id INTEGER PRIMARY KEY AUTOINCREMENT,origin_id INTEGER NOT NULL,note_oid TEXT NOT NULL,note_status INTEGER NOT NULL DEFAULT 0,conversation_id INTEGER NOT NULL DEFAULT 0,conversation_oid TEXT,url TEXT,note_name TEXT,content TEXT,content_to_search TEXT,via TEXT,note_author_id INTEGER NOT NULL DEFAULT 0,in_reply_to_note_id INTEGER,in_reply_to_actor_id INTEGER,public INTEGER NOT NULL DEFAULT 0,favorited INTEGER NOT NULL DEFAULT 0,reblogged INTEGER NOT NULL DEFAULT 0,favorite_count INTEGER NOT NULL DEFAULT 0,reblog_count INTEGER NOT NULL DEFAULT 0,reply_count INTEGER NOT NULL DEFAULT 0,attachments_count INTEGER NOT NULL DEFAULT 0,note_ins_date INTEGER NOT NULL,note_updated_date INTEGER NOT NULL DEFAULT 0)\";\n DbUtils.execSQL(db, sql);\n sql = \"CREATE UNIQUE INDEX idx_note_origin ON note (origin_id, note_oid)\";\n DbUtils.execSQL(db, sql);\n sql = \"CREATE INDEX idx_note_in_reply_to_note_id ON note (in_reply_to_note_id)\";\n DbUtils.execSQL(db, sql);\n sql = \"CREATE INDEX idx_note_conversation_id ON note (conversation_id)\";\n DbUtils.execSQL(db, sql);\n sql = \"CREATE INDEX idx_conversation_oid ON note (origin_id, conversation_oid)\";\n DbUtils.execSQL(db, sql);\n\n sql = \"INSERT INTO note (\" +\n \"_id,origin_id,note_oid,note_status,conversation_id,conversation_oid,url,note_name,content,content_to_search,via,note_author_id,in_reply_to_note_id,in_reply_to_actor_id,\" +\n \"public,\" +\n \"favorited,reblogged,favorite_count,reblog_count,reply_count,\" +\n \"attachments_count,\" +\n \"note_ins_date,note_updated_date\" +\n \") SELECT \" +\n \"_id,origin_id,note_oid,note_status,conversation_id,conversation_oid,url,'', body, body_to_search, via,note_author_id,in_reply_to_note_id,in_reply_to_actor_id,\" +\n \"CASE private WHEN 2 THEN 1 WHEN 1 THEN 2 ELSE private END,\" +\n \"favorited,reblogged,favorite_count,reblog_count,reply_count,\" +\n \"CASE WHEN EXISTS (\" +\n \"SELECT _ID FROM download WHERE download.note_id=oldnote._id\" +\n \") THEN 1 ELSE 0 END,\" +\n \"note_ins_date,note_updated_date\" +\n \" FROM oldnote\";\n DbUtils.execSQL(db, sql);\n\n dropOldTable(\"oldnote\");\n\n progressLogger.logProgress(stepTitle + \": Converting download\");\n\n dropOldIndex(\"idx_download_actor\");\n dropOldIndex(\"idx_download_note\");\n sql = \"ALTER TABLE download RENAME TO olddownload\";\n DbUtils.execSQL(db, sql);\n\n sql = \"CREATE TABLE download (_id INTEGER PRIMARY KEY AUTOINCREMENT,download_type INTEGER NOT NULL,download_number INTEGER NOT NULL DEFAULT 0,actor_id INTEGER NOT NULL DEFAULT 0,note_id INTEGER NOT NULL DEFAULT 0,media_type TEXT NOT NULL,url TEXT NOT NULL,download_status INTEGER NOT NULL DEFAULT 0,width INTEGER NOT NULL DEFAULT 0,height INTEGER NOT NULL DEFAULT 0,duration INTEGER NOT NULL DEFAULT 0,file_name TEXT,file_size INTEGER NOT NULL DEFAULT 0)\";\n DbUtils.execSQL(db, sql);\n sql = \"CREATE INDEX idx_download_actor ON download (actor_id, download_status)\";\n DbUtils.execSQL(db, sql);\n sql = \"CREATE INDEX idx_download_note ON download (note_id, download_number)\";\n DbUtils.execSQL(db, sql);\n\n sql = \"INSERT INTO download (\" +\n \"_id,download_type,download_number,actor_id,note_id,\" +\n \"media_type,\" +\n \"url,download_status,width,height,duration,file_name,file_size\" +\n \") SELECT \" +\n \"_id,download_type,0, actor_id,note_id,\" +\n \"CASE content_type WHEN 2 THEN 'image/png' WHEN 3 THEN 'text/*' ELSE '*/*' END,\" +\n \"url,download_status,0, 0, 0, file_name,0\" +\n \" FROM olddownload\";\n DbUtils.execSQL(db, sql);\n\n dropOldTable(\"olddownload\");\n }",
"@Override\n public Cursor query(Uri uri, String[] projection, String selection,\n String[] selectionArgs, String sortOrder) {\n Log.d(TAG, \"query selection: \"+selection);\n\n MatrixCursor cursor = null;\n\n if (selection.equals(\"*\")) {\n Map<String, Message> hm = new HashMap<String, Message>();\n for(int index=0; index < 5; index++) {\n try {\n Socket socket = new Socket(InetAddress.getByAddress(new byte[]{10, 0, 2, 2}),\n Integer.parseInt(avds.get(avdList[index])));\n\n socket.setSoTimeout(TIMEOUT);\n\n InputStream inputStream = socket.getInputStream();\n BufferedReader in = new BufferedReader(new InputStreamReader(inputStream));\n String line = in.readLine();\n if (line == null) {\n Log.e(TAG, \"query if SocketTimeoutException port: \" + avds.get(avdList[index]));\n\n continue;\n }\n\n PrintWriter printWriter = new PrintWriter(socket.getOutputStream(), true);\n printWriter.println(\"Query\");\n printWriter.println(myPort);\n printWriter.println(selection);\n Log.d(TAG, \"Query send: \" + selection);\n\n ObjectInputStream inStream = new ObjectInputStream(inputStream);\n List<List<String>> messages = (List<List<String>>) inStream.readObject();\n Log.d(TAG, \"Query messages: \" + messages);\n\n for(List<String> message : messages) {\n String version = message.get(0);\n String port = message.get(1);\n String key = message.get(2);\n String value = message.get(3);\n\n if(!hm.containsKey(key)) {\n Message msg = new Message();\n\n msg.version = Integer.parseInt(version);\n msg.port = port;\n msg.key = key;\n msg.value = value;\n\n hm.put(key, msg);\n }\n else {\n Message msg = hm.get(key);\n if(Integer.parseInt(version) >= msg.version) {\n msg.value = value;\n msg.version = Integer.parseInt(version);\n\n hm.put(key, msg);\n }\n }\n }\n\n printWriter.flush();\n printWriter.close();\n socket.close();\n } catch (UnknownHostException e) {\n Log.e(TAG, \"query UnknownHostException\");\n } catch (IOException e) {\n Log.e(TAG, \"query socket IOException port: \" + avds.get(avdList[index]));\n } catch (ClassNotFoundException e) {\n Log.e(TAG, \"query ClassNotFoundException\");\n }\n\n }\n\n String[] columns = new String[]{\"key\", \"value\"};\n cursor = new MatrixCursor(columns);\n\n for(Message msg : hm.values()) {\n cursor.addRow(new Object[]{msg.key, msg.value});\n Log.d(TAG, \"query key: \" + msg.key + \", value: \" + msg.value);\n }\n }\n\n else if (selection.equals(\"@\")) {\n List<List<String>> messages = new ArrayList<List<String>>();\n File directory = getContext().getFilesDir();\n File[] listOfFiles = directory.listFiles();\n\n try {\n for (File f : listOfFiles) {\n List<String> message = new ArrayList<String>();\n\n BufferedReader fin = new BufferedReader(new FileReader(f));\n String msgVersion = fin.readLine();\n String msgPort = fin.readLine();\n String msgKey = fin.readLine();\n String msgValue = fin.readLine();\n\n message.add(msgVersion);\n message.add(msgPort);\n message.add(msgKey);\n message.add(msgValue);\n\n messages.add(message);\n }\n } catch (IOException ex) {\n Log.e(TAG, \"query IOException: \"+ex);\n }\n\n Log.d(TAG, \"Query messages: \" + messages);\n String[] columns = new String[]{\"key\", \"value\"};\n cursor = new MatrixCursor(columns);\n\n for(List<String> msg : messages) {\n cursor.addRow(new Object[]{msg.get(2), msg.get(3)});\n Log.d(TAG, \"query key: \" + msg.get(2) + \", value: \" + msg.get(3));\n }\n }\n\n else {\n String hashKey = null;\n\n try {\n hashKey = genHash(selection);\n } catch(NoSuchAlgorithmException e) {\n Log.e(TAG, \"query NoSuchAlgorithmException\");\n }\n\n int replicas = 0, index = 0, maxVersion = 1;\n String maxKey = null, maxValue = null;\n while(replicas < 3) {\n if (replicas > 0 || (hashKey.compareTo(avdList[index]) <= 0 || (index == 0 && hashKey.compareTo(avdList[4]) > 0))) {\n try {\n Socket socket = new Socket(InetAddress.getByAddress(new byte[]{10, 0, 2, 2}),\n Integer.parseInt(avds.get(avdList[index])));\n\n socket.setSoTimeout(TIMEOUT);\n\n InputStream inputStream = socket.getInputStream();\n BufferedReader in = new BufferedReader(new InputStreamReader(inputStream));\n String line = in.readLine();\n if (line == null) {\n Log.e(TAG, \"query if SocketTimeoutException port: \" + avds.get(avdList[index]));\n\n index = (index + 1) % 5;\n replicas++;\n continue;\n }\n\n PrintWriter printWriter = new PrintWriter(socket.getOutputStream(), true);\n printWriter.println(\"Query\");\n printWriter.println(myPort);\n printWriter.println(selection);\n Log.d(TAG, \"Query send: \" + selection);\n\n ObjectInputStream inStream = new ObjectInputStream(inputStream);\n List<String> message = (List<String>) inStream.readObject();\n\n String version = message.get(0);\n String port = message.get(1);\n String key = message.get(2);\n String value = message.get(3);\n\n if(Integer.parseInt(version) >= maxVersion) {\n maxKey = key;\n maxValue = value;\n }\n\n printWriter.flush();\n printWriter.close();\n socket.close();\n } catch (UnknownHostException e) {\n Log.e(TAG, \"query UnknownHostException\");\n } catch (IOException e) {\n Log.e(TAG, \"query socket IOException port: \" + avds.get(avdList[index]));\n\n index = (index + 1) % 5;\n replicas++;\n continue;\n } catch (ClassNotFoundException e) {\n Log.e(TAG, \"query ClassNotFoundException\");\n }\n\n /* https://stackoverflow.com/questions/18290864/create-a-cursor-from-hardcoded-array-instead-of-db */\n String[] columns = new String[]{\"key\", \"value\"};\n cursor = new MatrixCursor(columns);\n cursor.addRow(new Object[]{maxKey, maxValue});\n Log.d(TAG, \"query key: \" + maxKey + \", value: \" + maxValue);\n\n replicas++;\n }\n index = (index + 1) % 5;\n }\n }\n\n return cursor;\n }",
"private void updateLocation(){\r\n\t\t//UPDATE location SET longitude = double, latitude = double WHERE userName = userName\r\n\t\tString sqlCmd = \"UPDATE location SET longitude = \" + commandList.get(2) + \", latitude = \"\r\n\t\t\t\t+ commandList.get(3) + \" WHERE userName = '\" + commandList.get(1) + \"';\";\r\n\t\tSystem.out.println(sqlCmd);\r\n\r\n\t\ttry {//start SQL statement\r\n\t\t\tint changed = stmt.executeUpdate(sqlCmd);\r\n\t\t\tif(changed == 0){//if no updates were made (changed = 0) \r\n\t\t\t\terror = true;//error\r\n\t\t\t\tout.println(\"No user found\");//error message\r\n\t\t\t}\r\n\t\t} catch (SQLException e) {\r\n\t\t\terror = true;\r\n\t\t\tout.println(e.getMessage());\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\tif(error == false)\r\n\t\t\tout.println(\"true\");\r\n\t}",
"@Override\n public void onCancelled(DatabaseError error) {\n Log.e(TAG, \"Failed to read user\", error.toException());\n }",
"@Override\n public void onCancelled(DatabaseError error) {\n Log.e(TAG, \"Failed to read user\", error.toException());\n }",
"@Override\n public void onCancelled(DatabaseError error) {\n Log.e(TAG, \"Failed to read user\", error.toException());\n }",
"@Override\n public void onCancelled(DatabaseError error) {\n Log.e(TAG, \"Failed to read user\", error.toException());\n }",
"private void DeleteData (String userToDelete)\n {\n cursor = db.rawQuery(\"SELECT * FROM \"+MySQLiteHelper.TABLE_NAME+\" WHERE \"+MySQLiteHelper.COLUMN_USERNAME+\"=?\",new String[] {userToDelete});\n if (cursor != null) {\n if(cursor.getCount() > 0) {\n cursor.moveToFirst();\n String whereClause = MySQLiteHelper.COLUMN_USERNAME+ \"=?\";\n String [] whereArgs = new String[] {userToDelete};\n db.delete(MySQLiteHelper.TABLE_NAME , whereClause , whereArgs);\n showListView();\n }\n }\n }",
"@Update({\n \"update tb_user\",\n \"set password = #{password,jdbcType=VARCHAR}\",\n \"where username = #{username,jdbcType=VARCHAR}\"\n })\n int updateByPrimaryKey(User record);",
"public String getPassword(String name){\r\n\t\tSQLiteDatabase db = this.getReadableDatabase();\r\n\t\tCursor c = db.rawQuery(\"SELECT * FROM MYSELF\", null); // Returns a cursor on a table\r\n\t\tif(!c.moveToFirst()){\r\n\t\t\tSystem.out.println(\"Apparently the set is empty??\");\r\n\t\t\treturn \"itsfridayfridaygottagetdownonfriday\";\r\n\t\t}\r\n\t\tString s = c.getString(4);\r\n\t\tdb.close();\r\n\t\treturn s;\r\n\t}",
"public void FlagupdatePassword(String password) {\n\n SQLiteDatabase db = null;\n try {\n db = this.getWritableDatabase();\n\n ContentValues values = new ContentValues();\n\n values.put(KEY_PASSWORD, password); // Name\n\n // Inserting Row\n db.update(TABLE_USER, values, null, null);\n } catch (Exception e) {\n e.printStackTrace();\n } finally {\n if (db != null) {\n db.close(); // Closing database connection\n }\n }\n }",
"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tString uname = ((MyApplicationData)getActivity().getApplication()).getUserName();\n\t\t\t\tString upass = oldpass.getText().toString();\n\t\t\t\tString npass = newpass.getText().toString();\n\t\t\t\tString rpass = repass.getText().toString();\n\t\t\t\t\n\t\t\t\tSQLiteDatabase db = getActivity().openOrCreateDatabase(\"userinfo\", 0, null);\n\t\t\t\tdb.execSQL(\"create table if not exists signin (uname varchar ,pass varchar);\");\n\t\t\t\tCursor cs = db.rawQuery(\"select * from signin where uname = '\"+uname+\"' and pass = '\"+upass+\"'\" , null);\n\t\t\t\tif (cs.getCount() > 0){\n\t\t\t\t\tif(npass.equals(rpass)){\n\t\t\t\t\t\tdb.execSQL(\"update signin set pass = '\"+npass+\"' where uname = '\"+uname+\"'\");\n\t\t\t\t\t\tToast.makeText(getActivity(), \"Password Changed\", Toast.LENGTH_SHORT).show();\n\t\t\t\t\t\tgetFragmentManager().popBackStackImmediate();\n\t\t\t\t\t}\n\t\t\t\t\telse \n\t\t\t\t\t\tToast.makeText(getActivity(), \"NEW PASSWORDS DO NOT MATCH\", Toast.LENGTH_LONG).show();\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t\tToast.makeText(getActivity(), \"INCORRECT PASSWORD\", Toast.LENGTH_LONG).show();\n\t\t\t\tdb.close();\n\t\t\t\n\t\t\t}"
] | [
"0.583611",
"0.574741",
"0.56299376",
"0.5578873",
"0.55716527",
"0.5453053",
"0.5400978",
"0.53630257",
"0.53623617",
"0.5346797",
"0.53259355",
"0.531927",
"0.52962583",
"0.52885497",
"0.52693516",
"0.5268267",
"0.5261176",
"0.5260423",
"0.52467006",
"0.5241266",
"0.5208456",
"0.52030003",
"0.51785433",
"0.517042",
"0.5168718",
"0.5166315",
"0.5162359",
"0.5158966",
"0.5149524",
"0.5142561",
"0.5140458",
"0.5140079",
"0.5139289",
"0.5125243",
"0.51130295",
"0.5111308",
"0.50985754",
"0.50929433",
"0.5084791",
"0.5083072",
"0.50813586",
"0.50810397",
"0.5080748",
"0.5077086",
"0.5075452",
"0.5072555",
"0.5056805",
"0.50522",
"0.50486434",
"0.50465333",
"0.50379014",
"0.50330746",
"0.50328314",
"0.5031956",
"0.5027073",
"0.50248915",
"0.5012091",
"0.50047016",
"0.50006956",
"0.49942294",
"0.4994005",
"0.49893114",
"0.49860176",
"0.4985734",
"0.49815235",
"0.49746323",
"0.4974228",
"0.49727085",
"0.49685755",
"0.49625105",
"0.4947042",
"0.49468768",
"0.49413064",
"0.49401245",
"0.49299744",
"0.49283305",
"0.4925607",
"0.49253225",
"0.4919867",
"0.49193394",
"0.49182484",
"0.49099132",
"0.4902774",
"0.4902031",
"0.48980987",
"0.48917645",
"0.4889342",
"0.48834857",
"0.48833206",
"0.4881388",
"0.48771283",
"0.48762387",
"0.48762387",
"0.48762387",
"0.48762387",
"0.48740306",
"0.48668912",
"0.48606026",
"0.48604256",
"0.48576316"
] | 0.6289525 | 0 |
sets the ID field. | public PersonBuilderName ID(PersonID ID)
{
edma_value[0] = (ID == null ? null : (((IValueInstance) ID).edma_getValue()));
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void setId(int value) {\n \n id_ = value;\n }",
"private void setId(int value) {\n \n id_ = value;\n }",
"public void setID(int value) {\n this.id = value;\n }",
"@Override\n\tpublic void setId(int id) {\n\t\tthis.ID = id;\n\t}",
"public void setId(int value) {\r\n this.id = value;\r\n }",
"private void setId(int value) {\n \n id_ = value;\n }",
"private void setId(int value) {\n \n id_ = value;\n }",
"private void setId(int value) {\n \n id_ = value;\n }",
"private void setId(int value) {\n \n id_ = value;\n }",
"private void setId(int value) {\n \n id_ = value;\n }",
"private void setId(int value) {\n \n id_ = value;\n }",
"private void setId(int value) {\n \n id_ = value;\n }",
"public void setId(ID id){\r\n\t\tthis.id = id;\r\n\t}",
"public void setId(int value) {\n this.id = value;\n }",
"public void setId(int value) {\n this.id = value;\n }",
"public void setId(int value) {\n this.id = value;\n }",
"public void setId(int value) {\n this.id = value;\n }",
"public void setId(int value) {\n this.id = value;\n }",
"public void setId(int value) {\n this.id = value;\n }",
"public void setId(int value) {\n this.id = value;\n }",
"public void setId(int value) {\n this.id = value;\n }",
"public void setId(int value) {\n this.id = value;\n }",
"public void setId(int value) {\n this.id = value;\n }",
"public void setId (long id)\r\n {\r\n _id = id;\r\n }",
"public void setId(Object id) {\n this.id = id;\n }",
"public void setId(Object id) {\n this.id = id;\n }",
"public void setId(ID id)\n {\n this.id = id;\n }",
"public void setId(long id) {\r\n this.id = id;\r\n }",
"public void setId(long id) {\n id_ = id;\n }",
"public void setId(int id_)\n\t{\n\t\tthis.id=id_;\n\t}",
"public void setId(int id) {\r\n this.id = id;\r\n }",
"public void setId(int id) {\r\n this.id = id;\r\n }",
"public void setId(int id) {\r\n this.id = id;\r\n }",
"public void setId(int id) {\r\n this.id = id;\r\n }",
"public void setID(long id);",
"public void setId(int id){\r\n this.id = id;\r\n }",
"@Override\n public void setId(int id) {\n this.id = id;\n }",
"public void setID(int value) {\r\n\t\tid = value;\r\n\t}",
"public void setId (int id) {\r\n\t\tthis.id=id;\r\n\t}",
"public void setID(String idIn) {this.id = idIn;}",
"public void setID(int id){\n this.ID = id;\n }",
"public void setID(String value) {\r\n \t\t_id = value;\r\n \r\n \t}",
"void setId(int id) {\n this.id = id;\n }",
"public void setId(int id)\r\n {\r\n this.mId = id;\r\n }",
"public void setId(int id) {\r\n\t\t_id = id;\r\n\t}",
"public void setId(long id){\n this.id = id;\n }",
"public void setId(long id){\n this.id = id;\n }",
"public void setId(int id)\n {\n this.id = id;\n }",
"public void setId(int id)\n {\n this.id = id;\n }",
"public void setId(int id){\n\t\tthis.id = id;\n\t}",
"public void setId(int id) {\n this.id = id;\n\t}",
"public void setId(long id) { this.id = id; }",
"public void setId(long id) { this.id = id; }",
"public void setId(long id) {\n this.id = id;\n }",
"public void setId(long id) {\n this.id = id;\n }",
"public void setId(long id) {\n this.id = id;\n }",
"public void setId(long id) {\n this.id = id;\n }",
"public void setId(long id) {\n this.id = id;\n }",
"public void setId(long id) {\n this.id = id;\n }",
"public void setId(long id) {\n this.id = id;\n }",
"public void setID(int id)\r\n {\r\n\tthis.id = id;\r\n }",
"public void setId(long id){\n\t\tthis.id = id;\n\t}",
"public void setId(int id) {\r\n\t\tthis.id = id;\r\n\t}",
"public void setId(int id) {\r\n\t\tthis.id = id;\r\n\t}",
"public void setId(int id) {\r\n\t\tthis.id = id;\r\n\t}",
"public void setId(int id) {\r\n\t\tthis.id = id;\r\n\t}",
"public void setId(int id) {\r\n\t\tthis.id = id;\r\n\t}",
"public void setId(int id) {\r\n\t\tthis.id = id;\r\n\t}",
"public void setId(int id) {\r\n\t\tthis.id = id;\r\n\t}",
"public void setId(int id) {\r\n\t\tthis.id = id;\r\n\t}",
"public void setId(int id) {\r\n\t\tthis.id = id;\r\n\t}",
"public void setId(int id) {\r\n\t\tthis.id = id;\r\n\t}",
"public void setId(int id) {\r\n\t\tthis.id = id;\r\n\t}",
"public void setId(int id) {\n this.id = id;\n }",
"public void setId(int id) {\n this.id = id;\n }",
"public void setId(int id) {\n this.id = id;\n }",
"public void setId(int id) {\n this.id = String.valueOf(this.hashCode());\n }",
"public void setID(int id){\n this.id=id;\n }",
"public void setId(String idIn) {\n this.id = idIn;\n }",
"final public void setId(int idp) {\n\t\tid = idp;\n\t\tidSet = true;\n\t}",
"public void setId(int id) { this.id = id; }",
"public void setId(int id) { this.id = id; }",
"@Override\n public void setId(final long id) {\n super.setId(id);\n }",
"public void setId(int id) {\n this.id = id;\n }",
"public void setId(int id) {\n this.id = id;\n }",
"public void setId(int id) {\n this.id = id;\n }",
"public void setId(int id) {\n this.id = id;\n }",
"public void setId(int id) {\n this.id = id;\n }",
"public void setId(int id) {\n this.id = id;\n }",
"public void setId(int id) {\n this.id = id;\n }",
"public void setId(int id) {\n this.id = id;\n }",
"public void setId(int id) {\n this.id = id;\n }",
"public void setId(int id) {\n this.id = id;\n }",
"public void setId(int id) {\n this.id = id;\n }",
"public void setId(int id) {\n this.id = id;\n }",
"public void setId(int id) {\n this.id = id;\n }",
"public void setId(int id) {\n this.id = id;\n }",
"public void setId(int id) {\n this.id = id;\n }",
"public void setId(int id) {\n this.id = id;\n }",
"public void setId(int id) {\n this.id = id;\n }",
"public void setId(int id) {\n this.id = id;\n }"
] | [
"0.8217827",
"0.8158989",
"0.813514",
"0.8094095",
"0.8087321",
"0.8065683",
"0.8065683",
"0.8065683",
"0.8065683",
"0.8065683",
"0.8065683",
"0.8065683",
"0.80328673",
"0.8010367",
"0.8010367",
"0.8010367",
"0.8010367",
"0.8010367",
"0.8010367",
"0.8010367",
"0.8010367",
"0.8010367",
"0.798982",
"0.7959365",
"0.7928823",
"0.7928823",
"0.7924633",
"0.7905309",
"0.790446",
"0.7902712",
"0.7902092",
"0.7902092",
"0.7902092",
"0.7902092",
"0.78918064",
"0.78909326",
"0.7883703",
"0.7879076",
"0.7870882",
"0.7870589",
"0.7868294",
"0.7860139",
"0.78555375",
"0.78550833",
"0.784549",
"0.7841461",
"0.7841461",
"0.783981",
"0.783981",
"0.78389096",
"0.7836809",
"0.7834635",
"0.7834635",
"0.7830671",
"0.7830671",
"0.78298044",
"0.78298044",
"0.78298044",
"0.78298044",
"0.78298044",
"0.7827768",
"0.7826399",
"0.7825823",
"0.7825823",
"0.7825823",
"0.7825823",
"0.7825823",
"0.7825823",
"0.7825823",
"0.7825823",
"0.7825823",
"0.7825823",
"0.7825823",
"0.7824182",
"0.7824182",
"0.7824182",
"0.7823304",
"0.7823096",
"0.78205407",
"0.7819674",
"0.78162175",
"0.78162175",
"0.78161883",
"0.7816063",
"0.7816063",
"0.7816063",
"0.7816063",
"0.7816063",
"0.7816063",
"0.7816063",
"0.7816063",
"0.7816063",
"0.7816063",
"0.7816063",
"0.7816063",
"0.7816063",
"0.7816063",
"0.7816063",
"0.7816063",
"0.7816063",
"0.7816063"
] | 0.0 | -1 |
sets the ID field. | public PersonBuilderName ID(Long ID) throws InvalidValueException
{
if(ID != null) PersonIDImpl.edma_validate(ID);
edma_value[0] = (ID == null ? null : (PersonIDImpl.edma_create(ID)));
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void setId(int value) {\n \n id_ = value;\n }",
"private void setId(int value) {\n \n id_ = value;\n }",
"public void setID(int value) {\n this.id = value;\n }",
"@Override\n\tpublic void setId(int id) {\n\t\tthis.ID = id;\n\t}",
"public void setId(int value) {\r\n this.id = value;\r\n }",
"private void setId(int value) {\n \n id_ = value;\n }",
"private void setId(int value) {\n \n id_ = value;\n }",
"private void setId(int value) {\n \n id_ = value;\n }",
"private void setId(int value) {\n \n id_ = value;\n }",
"private void setId(int value) {\n \n id_ = value;\n }",
"private void setId(int value) {\n \n id_ = value;\n }",
"private void setId(int value) {\n \n id_ = value;\n }",
"public void setId(ID id){\r\n\t\tthis.id = id;\r\n\t}",
"public void setId(int value) {\n this.id = value;\n }",
"public void setId(int value) {\n this.id = value;\n }",
"public void setId(int value) {\n this.id = value;\n }",
"public void setId(int value) {\n this.id = value;\n }",
"public void setId(int value) {\n this.id = value;\n }",
"public void setId(int value) {\n this.id = value;\n }",
"public void setId(int value) {\n this.id = value;\n }",
"public void setId(int value) {\n this.id = value;\n }",
"public void setId(int value) {\n this.id = value;\n }",
"public void setId(int value) {\n this.id = value;\n }",
"public void setId (long id)\r\n {\r\n _id = id;\r\n }",
"public void setId(Object id) {\n this.id = id;\n }",
"public void setId(Object id) {\n this.id = id;\n }",
"public void setId(ID id)\n {\n this.id = id;\n }",
"public void setId(long id) {\r\n this.id = id;\r\n }",
"public void setId(long id) {\n id_ = id;\n }",
"public void setId(int id_)\n\t{\n\t\tthis.id=id_;\n\t}",
"public void setId(int id) {\r\n this.id = id;\r\n }",
"public void setId(int id) {\r\n this.id = id;\r\n }",
"public void setId(int id) {\r\n this.id = id;\r\n }",
"public void setId(int id) {\r\n this.id = id;\r\n }",
"public void setID(long id);",
"public void setId(int id){\r\n this.id = id;\r\n }",
"@Override\n public void setId(int id) {\n this.id = id;\n }",
"public void setID(int value) {\r\n\t\tid = value;\r\n\t}",
"public void setId (int id) {\r\n\t\tthis.id=id;\r\n\t}",
"public void setID(String idIn) {this.id = idIn;}",
"public void setID(int id){\n this.ID = id;\n }",
"public void setID(String value) {\r\n \t\t_id = value;\r\n \r\n \t}",
"void setId(int id) {\n this.id = id;\n }",
"public void setId(int id)\r\n {\r\n this.mId = id;\r\n }",
"public void setId(int id) {\r\n\t\t_id = id;\r\n\t}",
"public void setId(long id){\n this.id = id;\n }",
"public void setId(long id){\n this.id = id;\n }",
"public void setId(int id)\n {\n this.id = id;\n }",
"public void setId(int id)\n {\n this.id = id;\n }",
"public void setId(int id){\n\t\tthis.id = id;\n\t}",
"public void setId(int id) {\n this.id = id;\n\t}",
"public void setId(long id) { this.id = id; }",
"public void setId(long id) { this.id = id; }",
"public void setId(long id) {\n this.id = id;\n }",
"public void setId(long id) {\n this.id = id;\n }",
"public void setId(long id) {\n this.id = id;\n }",
"public void setId(long id) {\n this.id = id;\n }",
"public void setId(long id) {\n this.id = id;\n }",
"public void setId(long id) {\n this.id = id;\n }",
"public void setId(long id) {\n this.id = id;\n }",
"public void setID(int id)\r\n {\r\n\tthis.id = id;\r\n }",
"public void setId(long id){\n\t\tthis.id = id;\n\t}",
"public void setId(int id) {\r\n\t\tthis.id = id;\r\n\t}",
"public void setId(int id) {\r\n\t\tthis.id = id;\r\n\t}",
"public void setId(int id) {\r\n\t\tthis.id = id;\r\n\t}",
"public void setId(int id) {\r\n\t\tthis.id = id;\r\n\t}",
"public void setId(int id) {\r\n\t\tthis.id = id;\r\n\t}",
"public void setId(int id) {\r\n\t\tthis.id = id;\r\n\t}",
"public void setId(int id) {\r\n\t\tthis.id = id;\r\n\t}",
"public void setId(int id) {\r\n\t\tthis.id = id;\r\n\t}",
"public void setId(int id) {\r\n\t\tthis.id = id;\r\n\t}",
"public void setId(int id) {\r\n\t\tthis.id = id;\r\n\t}",
"public void setId(int id) {\r\n\t\tthis.id = id;\r\n\t}",
"public void setId(int id) {\n this.id = id;\n }",
"public void setId(int id) {\n this.id = id;\n }",
"public void setId(int id) {\n this.id = id;\n }",
"public void setId(int id) {\n this.id = String.valueOf(this.hashCode());\n }",
"public void setID(int id){\n this.id=id;\n }",
"public void setId(String idIn) {\n this.id = idIn;\n }",
"final public void setId(int idp) {\n\t\tid = idp;\n\t\tidSet = true;\n\t}",
"public void setId(int id) { this.id = id; }",
"public void setId(int id) { this.id = id; }",
"@Override\n public void setId(final long id) {\n super.setId(id);\n }",
"public void setId(int id) {\n this.id = id;\n }",
"public void setId(int id) {\n this.id = id;\n }",
"public void setId(int id) {\n this.id = id;\n }",
"public void setId(int id) {\n this.id = id;\n }",
"public void setId(int id) {\n this.id = id;\n }",
"public void setId(int id) {\n this.id = id;\n }",
"public void setId(int id) {\n this.id = id;\n }",
"public void setId(int id) {\n this.id = id;\n }",
"public void setId(int id) {\n this.id = id;\n }",
"public void setId(int id) {\n this.id = id;\n }",
"public void setId(int id) {\n this.id = id;\n }",
"public void setId(int id) {\n this.id = id;\n }",
"public void setId(int id) {\n this.id = id;\n }",
"public void setId(int id) {\n this.id = id;\n }",
"public void setId(int id) {\n this.id = id;\n }",
"public void setId(int id) {\n this.id = id;\n }",
"public void setId(int id) {\n this.id = id;\n }",
"public void setId(int id) {\n this.id = id;\n }"
] | [
"0.8217827",
"0.8158989",
"0.813514",
"0.8094095",
"0.8087321",
"0.8065683",
"0.8065683",
"0.8065683",
"0.8065683",
"0.8065683",
"0.8065683",
"0.8065683",
"0.80328673",
"0.8010367",
"0.8010367",
"0.8010367",
"0.8010367",
"0.8010367",
"0.8010367",
"0.8010367",
"0.8010367",
"0.8010367",
"0.798982",
"0.7959365",
"0.7928823",
"0.7928823",
"0.7924633",
"0.7905309",
"0.790446",
"0.7902712",
"0.7902092",
"0.7902092",
"0.7902092",
"0.7902092",
"0.78918064",
"0.78909326",
"0.7883703",
"0.7879076",
"0.7870882",
"0.7870589",
"0.7868294",
"0.7860139",
"0.78555375",
"0.78550833",
"0.784549",
"0.7841461",
"0.7841461",
"0.783981",
"0.783981",
"0.78389096",
"0.7836809",
"0.7834635",
"0.7834635",
"0.7830671",
"0.7830671",
"0.78298044",
"0.78298044",
"0.78298044",
"0.78298044",
"0.78298044",
"0.7827768",
"0.7826399",
"0.7825823",
"0.7825823",
"0.7825823",
"0.7825823",
"0.7825823",
"0.7825823",
"0.7825823",
"0.7825823",
"0.7825823",
"0.7825823",
"0.7825823",
"0.7824182",
"0.7824182",
"0.7824182",
"0.7823304",
"0.7823096",
"0.78205407",
"0.7819674",
"0.78162175",
"0.78162175",
"0.78161883",
"0.7816063",
"0.7816063",
"0.7816063",
"0.7816063",
"0.7816063",
"0.7816063",
"0.7816063",
"0.7816063",
"0.7816063",
"0.7816063",
"0.7816063",
"0.7816063",
"0.7816063",
"0.7816063",
"0.7816063",
"0.7816063",
"0.7816063",
"0.7816063"
] | 0.0 | -1 |
sets the fieldID to null. | public PersonBuilderName noID()
{
edma_value[0] = null;
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Builder clearFieldTypeIdNull() {\n \n fieldTypeIdNull_ = false;\n onChanged();\n return this;\n }",
"public void clearFields() {\n\t\tid.clear();\n\t\tfn.clear();\n\t\tln.clear();\n\t\tage.clear();\n\t\tun.clear();\n\t\tpass.clear();\n\t\tdate.setValue(null);\n\t}",
"public Builder setFieldTypeIdNull(boolean value) {\n \n fieldTypeIdNull_ = value;\n onChanged();\n return this;\n }",
"public Builder clearFieldTypeId() {\n if (fieldTypeIdBuilder_ == null) {\n fieldTypeId_ = null;\n onChanged();\n } else {\n fieldTypeId_ = null;\n fieldTypeIdBuilder_ = null;\n }\n\n return this;\n }",
"@Override\r\n\tpublic String getIdFieldName() {\n\t\treturn null;\r\n\t}",
"private void clearFields() {\r\n jTextFieldID.setText(\"\");\r\n jTextFieldNome.setText(\"\");\r\n jTextFieldPreco.setText(\"\");\r\n jTextFieldDescricao.setText(\"\");\r\n }",
"public void setValueNull()\n\t{\n\t\tallValues.clear();\n\t}",
"private void setNull() {\n\n this.txtExamDate.setDate(null);\n this.txtCourseName.setText(null);\n this.txtCourseName.requestFocus();\n }",
"private void clearId() {\n \n id_ = 0;\n }",
"public Builder clearField1234() {\n \n field1234_ = getDefaultInstance().getField1234();\n onChanged();\n return this;\n }",
"public Builder clearField1334() {\n \n field1334_ = getDefaultInstance().getField1334();\n onChanged();\n return this;\n }",
"public void setFieldId(String fieldId);",
"public void setCouchDBToNull() {\n mCouchDBinstance = null;\n mCouchManager = null;\n database = null;\n }",
"@Override\n public void setNull() {\n\n }",
"public boolean getFieldTypeIdNull() {\n return fieldTypeIdNull_;\n }",
"public boolean getFieldTypeIdNull() {\n return fieldTypeIdNull_;\n }",
"private void clearId() {\n \n id_ = 0;\n }",
"public void reset() {\n\t\t\t// clear the field\n\t\t\ttextField.setValue(null);\n\t\t}",
"private void clearId() {\n \n id_ = 0;\n }",
"private void clearId() {\n \n id_ = 0;\n }",
"private void clearId() {\n \n id_ = 0;\n }",
"private void clearId() {\n \n id_ = 0;\n }",
"private void clearId() {\n \n id_ = 0;\n }",
"private void clearId() {\n \n id_ = 0;\n }",
"private void clearId() {\n \n id_ = 0;\n }",
"public Builder clearField1320() {\n \n field1320_ = getDefaultInstance().getField1320();\n onChanged();\n return this;\n }",
"public void setIdubicacionfiscalNull(boolean idubicacionfiscalNull)\r\n\t{\r\n\t\tthis.idubicacionfiscalNull = idubicacionfiscalNull;\r\n\t}",
"private void clearOtherId() {\n \n otherId_ = 0;\n }",
"private void clearPCIDFields() {\n jTextField1.setText(\"\");\n jTextField2.setText(\"\");\n jTextField3.setText(\"\");\n jTextField4.setText(\"\");\n }",
"public void setIdPermisosNull(boolean idPermisosNull)\r\n\t{\r\n\t\tthis.idPermisosNull = idPermisosNull;\r\n\t}",
"public void unsetID()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_attribute(ID$12);\n }\n }",
"public void unsetID()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_attribute(ID$12);\n }\n }",
"public void clearFields()\r\n {\r\n\t txtID.setText(\"\");\r\n\t txtName.setText(\"\");\r\n\t txtYear.setText(\"\");\r\n\t txtMonth.setText(\"\");\r\n\t txtPDate.setText(\"\");\r\n txtFees.setText(\"0\");\r\n }",
"public Builder clearField1324() {\n \n field1324_ = getDefaultInstance().getField1324();\n onChanged();\n return this;\n }",
"public Builder clearField1321() {\n \n field1321_ = getDefaultInstance().getField1321();\n onChanged();\n return this;\n }",
"public void resetTextFields()\n {\n formattedFirstName.setValue(null);\n formattedLastName.setValue(null);\n formattedTitleOfWork.setValue(null);\n }",
"private void ClearFields() {\n txtGRNNO.setText(null);\n dccGRNDate.setCalendar(null);\n\n txtGRNNO.requestFocus();\n }",
"public void setFieldId(String fieldId) {\n this.fieldId = fieldId;\n }",
"public final void setFieldId(final String fieldId) {\n this.fieldId = fieldId;\n }",
"public M csrtIdNull(){if(this.get(\"csrtIdNot\")==null)this.put(\"csrtIdNot\", \"\");this.put(\"csrtId\", null);return this;}",
"public void resetIdentificador()\r\n {\r\n this.identificador = null;\r\n }",
"private void clearObjId() {\n \n objId_ = 0;\n }",
"private void clearObjId() {\n \n objId_ = 0;\n }",
"private void clearObjId() {\n \n objId_ = 0;\n }",
"private void clearObjId() {\n \n objId_ = 0;\n }",
"private void clearObjId() {\n \n objId_ = 0;\n }",
"private void clearObjId() {\n \n objId_ = 0;\n }",
"private void clearAId() {\n \n aId_ = 0;\n }",
"public void unsetID()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_attribute(ID$24);\n }\n }",
"public Builder clearField1335() {\n \n field1335_ = getDefaultInstance().getField1335();\n onChanged();\n return this;\n }",
"void unsetID();",
"private void resetFields() {\n\t\tthis.barcodeField.clear();\r\n\t\tthis.barcodeField.setDisable(false);\r\n\t\tthis.nameField.clear();\r\n\t\tthis.descriptionField.clear();\r\n\t\tthis.mrpField.clear();\r\n\t\tthis.revisedMrpField.clear();\r\n\t\tthis.stockField.clear();\r\n\t\tthis.availableStockLabelValue.setText(\"0.0\");\r\n\t\tthis.barcodeImageView.setImage(null);\r\n\t\tthis.barcodeDisplayLabel.setVisible(true);\r\n\t\tthis.barcodeNumberLabel.setVisible(false);\r\n\r\n\t}",
"public void unsetId()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_attribute(ID$6);\n }\n }",
"private void clearUserId() {\n \n userId_ = getDefaultInstance().getUserId();\n }",
"public Builder clearField1339() {\n \n field1339_ = getDefaultInstance().getField1339();\n onChanged();\n return this;\n }",
"private void clearFields(){\r\n fields.forEach(e -> e.clear());\r\n }",
"public Builder clearField1246() {\n \n field1246_ = getDefaultInstance().getField1246();\n onChanged();\n return this;\n }",
"public void emptyTextField(){\n spelerIDField.setText(\"\");\n typeField.setText(\"\");\n codeField.setText(\"\");\n heeftBetaaldField.setText(\"\");\n }",
"void unsetId();",
"public void resetIdentificadorODE()\r\n {\r\n this.identificadorODE = null;\r\n }",
"public void resetIdentificadorODE()\r\n {\r\n this.identificadorODE = null;\r\n }",
"public Builder clearField1330() {\n \n field1330_ = getDefaultInstance().getField1330();\n onChanged();\n return this;\n }",
"public Builder clearField1326() {\n \n field1326_ = getDefaultInstance().getField1326();\n onChanged();\n return this;\n }",
"public Builder clearField1263() {\n \n field1263_ = getDefaultInstance().getField1263();\n onChanged();\n return this;\n }",
"private void empty_field() {\n tf_id_kategori.setText(null);\n tf_nama_kategori.setText(null);\n tf_keterangan.setText(null);\n pencarian.setText(null);\n }",
"public Builder clearField1329() {\n \n field1329_ = getDefaultInstance().getField1329();\n onChanged();\n return this;\n }",
"public void unsetId()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_element(ID$6, 0);\n }\n }",
"public Builder clearField1323() {\n \n field1323_ = getDefaultInstance().getField1323();\n onChanged();\n return this;\n }",
"public Builder clearField1134() {\n \n field1134_ = getDefaultInstance().getField1134();\n onChanged();\n return this;\n }",
"public void clearField() {\n\n /* Clear sprite groups */\n _pigsGroup.clear();\n _birdsGroup.clear();\n _woodenObstacles.clear();\n _mainPlayer.clear();\n\n /* Reset pigs counter */\n _pigsCounter = 0;\n\n /* Delete field objects */\n _fieldObjects.clear();\n }",
"public Builder clearField1610() {\n \n field1610_ = getDefaultInstance().getField1610();\n onChanged();\n return this;\n }",
"public Builder clearField1325() {\n \n field1325_ = getDefaultInstance().getField1325();\n onChanged();\n return this;\n }",
"private void clearRoomId() {\n \n roomId_ = 0L;\n }",
"public void method_2244() {\r\n this.field_1858 = 0;\r\n }",
"public Builder clearField1337() {\n \n field1337_ = getDefaultInstance().getField1337();\n onChanged();\n return this;\n }",
"public Builder clearField1243() {\n \n field1243_ = getDefaultInstance().getField1243();\n onChanged();\n return this;\n }",
"Field() {\n value = 0;\n }",
"public void setFieldId(java.lang.String fieldId) {\n this.fieldId = fieldId;\n }",
"public Builder clearField1269() {\n \n field1269_ = getDefaultInstance().getField1269();\n onChanged();\n return this;\n }",
"public Builder clearField1277() {\n \n field1277_ = getDefaultInstance().getField1277();\n onChanged();\n return this;\n }",
"public Builder clearField1124() {\n \n field1124_ = getDefaultInstance().getField1124();\n onChanged();\n return this;\n }",
"public Builder clearTreeNodeIdNull() {\n \n treeNodeIdNull_ = false;\n onChanged();\n return this;\n }",
"public void setCurrentOrderToNull() {\n this.currentOrder = null;\n }",
"public Builder clearField1294() {\n \n field1294_ = getDefaultInstance().getField1294();\n onChanged();\n return this;\n }",
"public Builder clearField1336() {\n \n field1336_ = getDefaultInstance().getField1336();\n onChanged();\n return this;\n }",
"public Builder clearField1034() {\n \n field1034_ = getDefaultInstance().getField1034();\n onChanged();\n return this;\n }",
"public Builder clearField1291() {\n \n field1291_ = getDefaultInstance().getField1291();\n onChanged();\n return this;\n }",
"public Builder clearField1063() {\n \n field1063_ = getDefaultInstance().getField1063();\n onChanged();\n return this;\n }",
"public Builder clearField1245() {\n \n field1245_ = getDefaultInstance().getField1245();\n onChanged();\n return this;\n }",
"public Builder clearField1268() {\n \n field1268_ = getDefaultInstance().getField1268();\n onChanged();\n return this;\n }",
"public Builder clearField1256() {\n \n field1256_ = getDefaultInstance().getField1256();\n onChanged();\n return this;\n }",
"public Builder clearField1322() {\n \n field1322_ = getDefaultInstance().getField1322();\n onChanged();\n return this;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder clearVar123() {\n var123 = null;\n fieldSetFlags()[124] = false;\n return this;\n }",
"private void clearField () {\n\t\t/* clear the field */\n\t\tfor ( int row = 0 ; row < getNumRows() ; row++ ) {\n\t\t\tfor ( int col = 0 ; col < getNumCols() ; col++ ) {\n\t\t\t\tif ( row == 0 || col == 0 || row == getNumRows() - 1\n\t\t\t\t || col == getNumCols() - 1 ) {\n\t\t\t\t\tfield_[row][col] = new Bush();\n\t\t\t\t} else {\n\t\t\t\t\tfield_[row][col] = null;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"public void setNull(){\n for (int i = 0; i < Nodes.size(); i++){\n this.References.add(null);\n }\n }",
"@Override\r\n public List<DbField> initDbField(String controlID) {\n return null;\r\n }",
"public void mo33816a() {\n this.f15942j = null;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder clearVar232() {\n var232 = null;\n fieldSetFlags()[233] = false;\n return this;\n }",
"public void resetListaId()\r\n {\r\n this.listaId = null;\r\n }",
"public Builder clearField1163() {\n \n field1163_ = getDefaultInstance().getField1163();\n onChanged();\n return this;\n }",
"public Builder clearField1169() {\n \n field1169_ = getDefaultInstance().getField1169();\n onChanged();\n return this;\n }"
] | [
"0.72613037",
"0.6696243",
"0.6688554",
"0.66571116",
"0.641169",
"0.638488",
"0.63295877",
"0.6304137",
"0.6255719",
"0.6249423",
"0.62256956",
"0.62176687",
"0.6209398",
"0.6208669",
"0.61996824",
"0.61712617",
"0.6149351",
"0.613554",
"0.61340916",
"0.61340916",
"0.61340916",
"0.61340916",
"0.61340916",
"0.61340916",
"0.61340916",
"0.6125178",
"0.61171687",
"0.6088522",
"0.60498846",
"0.60357696",
"0.6025243",
"0.6025243",
"0.60190505",
"0.6014535",
"0.5997454",
"0.59551585",
"0.59512466",
"0.5951065",
"0.5939498",
"0.5933172",
"0.5924879",
"0.59212005",
"0.59212005",
"0.59212005",
"0.59212005",
"0.59212005",
"0.59212005",
"0.59117955",
"0.5910504",
"0.59016293",
"0.5896397",
"0.5895535",
"0.58869815",
"0.58857995",
"0.58580315",
"0.5842548",
"0.58396876",
"0.5834441",
"0.5832276",
"0.58290607",
"0.58290607",
"0.5828759",
"0.5828179",
"0.58261293",
"0.5820403",
"0.5818129",
"0.5804228",
"0.57975394",
"0.5795331",
"0.5792073",
"0.5790384",
"0.5784993",
"0.5779813",
"0.5772609",
"0.57688904",
"0.57665926",
"0.5765754",
"0.5764176",
"0.57535905",
"0.57530695",
"0.5751249",
"0.5745909",
"0.5740084",
"0.5734709",
"0.57288647",
"0.5720235",
"0.57185715",
"0.571108",
"0.57098407",
"0.5705725",
"0.5705597",
"0.5705067",
"0.5700126",
"0.56904554",
"0.5688056",
"0.56855685",
"0.56849724",
"0.5684748",
"0.56691855",
"0.5666606",
"0.56641114"
] | 0.0 | -1 |
sets the name field. | public PersonBuilderEmail name(Name name)
{
if(name == null) throw new NullPointerException("The field name in the Person ValueDomain may not be null");
edma_value[1] = ((IValueInstance) name).edma_getValue();
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public final void setName(String name) {_name = name;}",
"public void setName(String inName)\n {\n\tname = inName;\n }",
"public void setName(String name) {\n \tthis.name = name;\n }",
"public void setName(String name) {\n \tthis.name = name;\n }",
"public void setName(String name){\r\n\t\tthis.name = name;\r\n\t}",
"public void setName(String name){\r\n\t\tthis.name = name;\r\n\t}",
"public void setName(String name){\r\n\t\tthis.name = name;\r\n\t}",
"public void setName(String inName)\n {\n name = inName;\n }",
"@Override\r\n\tpublic void setName(String name) {\n\t\tthis.name = name;\r\n\t}",
"public void setName(String name) {\t\t\r\n\t\tthis.name = name;\t\t\r\n\t}",
"public void setName(String name)\r\n\t{\t\t\r\n\t\tthis.name = name;\r\n\t}",
"public void setName(String name) {\r\n\t\t_name = name;\r\n\t}",
"public void setName(String value) {\n this.name = value;\n }",
"protected void setName(String name) {\n this._name = name;\n }",
"public void setName(String name) {\n if (!name.isEmpty()) {\n this.name = name;\n }\n }",
"public void setName(String name) {\r\n \t\tthis.name = name;\r\n \t}",
"public void setName(String name) { this.name = name; }",
"public void setName(String name) { this.name = name; }",
"public void setName(String name) { this.name = name; }",
"public void setName(String name) { this.name = name; }",
"public void setName(String name) {\n fName= name;\n }",
"@Override\n public void setName(String name) {\n this.name = name;\n }",
"@Override\n public void setName(String name) {\n this.name = name;\n }",
"public void setName(String name) {\n this.name = name;\n }",
"public void setName(String name) \n {\n this.name = name;\n }",
"@Override\n\tpublic void setName(String name) {\n\t\tthis.name = name;\n\t}",
"public void setName(String name){\n \t\tthis.name = name;\n \t}",
"public void setName(String name) {\n \tif (name==null)\n \t\tthis.name = \"\";\n \telse\n \t\tthis.name = name;\n\t}",
"protected void setName(String name) {\r\n this.name = name;\r\n }",
"public void setName(String name){\r\n this.name = name;\r\n }",
"public void setName(String name){\r\n this.name = name;\r\n }",
"public void setName(String name){\r\n this.name = name;\r\n }",
"public void setName(String name)\r\n {\r\n\tthis.name = name;\r\n }",
"public void setName(String name) {\r\n this.name = name;\r\n }",
"public void setName(String name) {\r\n this.name = name;\r\n }",
"public void setName(String name) {\r\n this.name = name;\r\n }",
"public void setName(String name) {\n _name = name;\n }",
"public void setName(String name) {\n if (!name.equals(\"\")) {\r\n this.name = name;\r\n }\r\n\r\n\r\n\r\n\r\n }",
"public void setName(String nameIn) {\n name = nameIn;\n }",
"public void setName(String _name)\r\n\t{\r\n\t\tthis._name=_name;\r\n\t}",
"public void setName(String name) {\n\t this.name = name;\n\t }",
"@Override\n public void setName(String name) {\n this.name = name;\n }",
"@Override\n public void setName(String name) {\n this.name = name;\n }",
"public void setName(String name) {\r\n this._name = name;\r\n }",
"public void setName(String name) {\r\n this.name = name;\r\n }",
"public void setName(String name)\n {\n\tthis.name = name;\n }",
"public void setName(String name)\r\n {\r\n this.name = name;\r\n }",
"public void setName(String name)\r\n {\r\n this.name = name;\r\n }",
"public void setName(String name)\r\n {\r\n this.name = name;\r\n }",
"public void setName(String name)\r\n {\r\n this.name = name;\r\n }",
"public void setName (String name) {\n this.name = name;\n }",
"public void setName (String name) {\n this.name = name;\n }",
"public void setName (String name) {\n this.name = name;\n }",
"public void setName(String name) {\r\n this.name = name;\r\n }",
"public void setName(String name) {\r\n this.name = name;\r\n }",
"public void setName(String name) {\r\n this.name = name;\r\n }",
"public void setName(String name) {\r\n this.name = name;\r\n }",
"public void setName(String name) {\r\n this.name = name;\r\n }",
"public void setName(String name) {\r\n this.name = name;\r\n }",
"public void setName(String name) {\r\n this.name = name;\r\n }",
"public void setName(String name) {\r\n this.name = name;\r\n }",
"public void setName(String name) {\r\n this.name = name;\r\n }",
"public void setName(String name) {\r\n this.name = name;\r\n }",
"public void setName(String name) {\r\n this.name = name;\r\n }",
"public void setName(String name) {\r\n this.name = name;\r\n }",
"public void setName(String name) {\r\n this.name = name;\r\n }",
"public void setName(String name) {\r\n this.name = name;\r\n }",
"public void setName(String name) {\r\n this.name = name;\r\n }",
"public void setName(String name) {\r\n this.name = name;\r\n }",
"public void setName(String name) {\r\n this.name = name;\r\n }",
"public void setName(String name) {\r\n this.name = name;\r\n }",
"public void setName(String name) {\r\n this.name = name;\r\n }",
"@Override\n\tpublic void setName(String name) {\n\t\tthis.name = name;\n\n\t}",
"public void setName(String name)\n \t{\n \t\tthis.name = name;\n \t}",
"public void setName(java.lang.String value) {\n this.name = value;\n }",
"public void setName(String name)\n\t{\n\t\tthis._name=name;\n\t}",
"public void setName(String name){\n\t\tthis.name = name;\n\t}",
"public void setName(String name){\n\t\tthis.name = name;\n\t}",
"public void setName(String name){\n\t\tthis.name = name;\n\t}",
"protected void setName(String name) {\n this.name = name;\n }",
"public void setName( final String name )\r\n {\r\n this.name = name;\r\n }",
"public void setName(final String name) {\r\n\t\tthis.name = name;\r\n\t}",
"public void setName(final String name) {\r\n\t\tthis.name = name;\r\n\t}",
"public void setName (String name) {\r\n\t\tthis.name = name;\r\n\t}",
"@Override\n public void setName(String name)\n {\n checkState();\n this.name = name;\n }",
"public void setName(String n) {\r\n name = n;\r\n }",
"public void setName(String s) {\n this.name = s;\n }",
"public void setName(String name) {\r\n\t\tthis.name=name;\r\n\t}",
"public void setName(String name) {\r\r\n\t\tthis.name = name;\r\r\n\t}",
"public void setName( String name )\n {\n this.name = name;\n }",
"public void setName( String name )\n {\n this.name = name;\n }",
"public void setName(String name) {\r\n\t\tthis.name = name;\r\n\t}",
"public void setName(String name) {\r\n\t\tthis.name = name;\r\n\t}",
"public void setName(String name) {\r\n\t\tthis.name = name;\r\n\t}",
"public void setName(String name) {\r\n\t\tthis.name = name;\r\n\t}",
"public void setName(String name) {\r\n\t\tthis.name = name;\r\n\t}",
"public void setName(String name) {\r\n\t\tthis.name = name;\r\n\t}",
"public void setName(String name) {\r\n\t\tthis.name = name;\r\n\t}",
"public void setName(String name) {\r\n\t\tthis.name = name;\r\n\t}",
"public void setName(String name) {\r\n\t\tthis.name = name;\r\n\t}",
"public void setName(String name) {\r\n\t\tthis.name = name;\r\n\t}"
] | [
"0.83468306",
"0.8326121",
"0.8310111",
"0.8310111",
"0.83034045",
"0.83034045",
"0.83034045",
"0.83030707",
"0.83004117",
"0.8299998",
"0.8294122",
"0.828977",
"0.8279331",
"0.82742083",
"0.8268091",
"0.8260592",
"0.82598",
"0.82598",
"0.82598",
"0.82598",
"0.8258992",
"0.82581663",
"0.82581663",
"0.82527184",
"0.8250868",
"0.8249648",
"0.82456577",
"0.8244949",
"0.8244744",
"0.82431865",
"0.82431865",
"0.82431865",
"0.82411945",
"0.8240656",
"0.8240656",
"0.8240656",
"0.8239144",
"0.82376873",
"0.8233467",
"0.8232629",
"0.8229157",
"0.8228829",
"0.8228829",
"0.8227402",
"0.82224077",
"0.82188076",
"0.8217612",
"0.8217612",
"0.8217612",
"0.8217612",
"0.8216059",
"0.8216059",
"0.8216059",
"0.8215411",
"0.8215411",
"0.8215411",
"0.8215411",
"0.8215411",
"0.8215411",
"0.8215411",
"0.8215411",
"0.8215411",
"0.8215411",
"0.8215411",
"0.8215411",
"0.8215411",
"0.8215411",
"0.8215411",
"0.8215411",
"0.8215411",
"0.8215411",
"0.8215411",
"0.8212154",
"0.8211708",
"0.8211587",
"0.8208298",
"0.82076406",
"0.82076406",
"0.82076406",
"0.8201682",
"0.8200992",
"0.8194537",
"0.8194537",
"0.819425",
"0.81915534",
"0.8188418",
"0.8182998",
"0.818213",
"0.8181291",
"0.8180524",
"0.8180524",
"0.8180465",
"0.8180465",
"0.8180465",
"0.8180465",
"0.8180465",
"0.8180465",
"0.8180465",
"0.8180465",
"0.8180465",
"0.8180465"
] | 0.0 | -1 |
sets the name field. | public PersonBuilderEmail name(String name) throws InvalidValueException
{
if(name != null) NameImpl.edma_validate(name);
if(name == null) throw new NullPointerException("The field name in the Person ValueDomain may not be null");
edma_value[1] = NameImpl.edma_create(name);
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public final void setName(String name) {_name = name;}",
"public void setName(String inName)\n {\n\tname = inName;\n }",
"public void setName(String name) {\n \tthis.name = name;\n }",
"public void setName(String name) {\n \tthis.name = name;\n }",
"public void setName(String name){\r\n\t\tthis.name = name;\r\n\t}",
"public void setName(String name){\r\n\t\tthis.name = name;\r\n\t}",
"public void setName(String name){\r\n\t\tthis.name = name;\r\n\t}",
"public void setName(String inName)\n {\n name = inName;\n }",
"@Override\r\n\tpublic void setName(String name) {\n\t\tthis.name = name;\r\n\t}",
"public void setName(String name) {\t\t\r\n\t\tthis.name = name;\t\t\r\n\t}",
"public void setName(String name)\r\n\t{\t\t\r\n\t\tthis.name = name;\r\n\t}",
"public void setName(String name) {\r\n\t\t_name = name;\r\n\t}",
"public void setName(String value) {\n this.name = value;\n }",
"protected void setName(String name) {\n this._name = name;\n }",
"public void setName(String name) {\n if (!name.isEmpty()) {\n this.name = name;\n }\n }",
"public void setName(String name) {\r\n \t\tthis.name = name;\r\n \t}",
"public void setName(String name) { this.name = name; }",
"public void setName(String name) { this.name = name; }",
"public void setName(String name) { this.name = name; }",
"public void setName(String name) { this.name = name; }",
"public void setName(String name) {\n fName= name;\n }",
"@Override\n public void setName(String name) {\n this.name = name;\n }",
"@Override\n public void setName(String name) {\n this.name = name;\n }",
"public void setName(String name) {\n this.name = name;\n }",
"public void setName(String name) \n {\n this.name = name;\n }",
"@Override\n\tpublic void setName(String name) {\n\t\tthis.name = name;\n\t}",
"public void setName(String name){\n \t\tthis.name = name;\n \t}",
"public void setName(String name) {\n \tif (name==null)\n \t\tthis.name = \"\";\n \telse\n \t\tthis.name = name;\n\t}",
"protected void setName(String name) {\r\n this.name = name;\r\n }",
"public void setName(String name){\r\n this.name = name;\r\n }",
"public void setName(String name){\r\n this.name = name;\r\n }",
"public void setName(String name){\r\n this.name = name;\r\n }",
"public void setName(String name)\r\n {\r\n\tthis.name = name;\r\n }",
"public void setName(String name) {\r\n this.name = name;\r\n }",
"public void setName(String name) {\r\n this.name = name;\r\n }",
"public void setName(String name) {\r\n this.name = name;\r\n }",
"public void setName(String name) {\n _name = name;\n }",
"public void setName(String name) {\n if (!name.equals(\"\")) {\r\n this.name = name;\r\n }\r\n\r\n\r\n\r\n\r\n }",
"public void setName(String nameIn) {\n name = nameIn;\n }",
"public void setName(String _name)\r\n\t{\r\n\t\tthis._name=_name;\r\n\t}",
"public void setName(String name) {\n\t this.name = name;\n\t }",
"@Override\n public void setName(String name) {\n this.name = name;\n }",
"@Override\n public void setName(String name) {\n this.name = name;\n }",
"public void setName(String name) {\r\n this._name = name;\r\n }",
"public void setName(String name) {\r\n this.name = name;\r\n }",
"public void setName(String name)\n {\n\tthis.name = name;\n }",
"public void setName(String name)\r\n {\r\n this.name = name;\r\n }",
"public void setName(String name)\r\n {\r\n this.name = name;\r\n }",
"public void setName(String name)\r\n {\r\n this.name = name;\r\n }",
"public void setName(String name)\r\n {\r\n this.name = name;\r\n }",
"public void setName (String name) {\n this.name = name;\n }",
"public void setName (String name) {\n this.name = name;\n }",
"public void setName (String name) {\n this.name = name;\n }",
"public void setName(String name) {\r\n this.name = name;\r\n }",
"public void setName(String name) {\r\n this.name = name;\r\n }",
"public void setName(String name) {\r\n this.name = name;\r\n }",
"public void setName(String name) {\r\n this.name = name;\r\n }",
"public void setName(String name) {\r\n this.name = name;\r\n }",
"public void setName(String name) {\r\n this.name = name;\r\n }",
"public void setName(String name) {\r\n this.name = name;\r\n }",
"public void setName(String name) {\r\n this.name = name;\r\n }",
"public void setName(String name) {\r\n this.name = name;\r\n }",
"public void setName(String name) {\r\n this.name = name;\r\n }",
"public void setName(String name) {\r\n this.name = name;\r\n }",
"public void setName(String name) {\r\n this.name = name;\r\n }",
"public void setName(String name) {\r\n this.name = name;\r\n }",
"public void setName(String name) {\r\n this.name = name;\r\n }",
"public void setName(String name) {\r\n this.name = name;\r\n }",
"public void setName(String name) {\r\n this.name = name;\r\n }",
"public void setName(String name) {\r\n this.name = name;\r\n }",
"public void setName(String name) {\r\n this.name = name;\r\n }",
"public void setName(String name) {\r\n this.name = name;\r\n }",
"@Override\n\tpublic void setName(String name) {\n\t\tthis.name = name;\n\n\t}",
"public void setName(String name)\n \t{\n \t\tthis.name = name;\n \t}",
"public void setName(java.lang.String value) {\n this.name = value;\n }",
"public void setName(String name)\n\t{\n\t\tthis._name=name;\n\t}",
"public void setName(String name){\n\t\tthis.name = name;\n\t}",
"public void setName(String name){\n\t\tthis.name = name;\n\t}",
"public void setName(String name){\n\t\tthis.name = name;\n\t}",
"protected void setName(String name) {\n this.name = name;\n }",
"public void setName( final String name )\r\n {\r\n this.name = name;\r\n }",
"public void setName(final String name) {\r\n\t\tthis.name = name;\r\n\t}",
"public void setName(final String name) {\r\n\t\tthis.name = name;\r\n\t}",
"public void setName (String name) {\r\n\t\tthis.name = name;\r\n\t}",
"@Override\n public void setName(String name)\n {\n checkState();\n this.name = name;\n }",
"public void setName(String n) {\r\n name = n;\r\n }",
"public void setName(String s) {\n this.name = s;\n }",
"public void setName(String name) {\r\n\t\tthis.name=name;\r\n\t}",
"public void setName(String name) {\r\r\n\t\tthis.name = name;\r\r\n\t}",
"public void setName( String name )\n {\n this.name = name;\n }",
"public void setName( String name )\n {\n this.name = name;\n }",
"public void setName(String name) {\r\n\t\tthis.name = name;\r\n\t}",
"public void setName(String name) {\r\n\t\tthis.name = name;\r\n\t}",
"public void setName(String name) {\r\n\t\tthis.name = name;\r\n\t}",
"public void setName(String name) {\r\n\t\tthis.name = name;\r\n\t}",
"public void setName(String name) {\r\n\t\tthis.name = name;\r\n\t}",
"public void setName(String name) {\r\n\t\tthis.name = name;\r\n\t}",
"public void setName(String name) {\r\n\t\tthis.name = name;\r\n\t}",
"public void setName(String name) {\r\n\t\tthis.name = name;\r\n\t}",
"public void setName(String name) {\r\n\t\tthis.name = name;\r\n\t}",
"public void setName(String name) {\r\n\t\tthis.name = name;\r\n\t}"
] | [
"0.83468306",
"0.8326121",
"0.8310111",
"0.8310111",
"0.83034045",
"0.83034045",
"0.83034045",
"0.83030707",
"0.83004117",
"0.8299998",
"0.8294122",
"0.828977",
"0.8279331",
"0.82742083",
"0.8268091",
"0.8260592",
"0.82598",
"0.82598",
"0.82598",
"0.82598",
"0.8258992",
"0.82581663",
"0.82581663",
"0.82527184",
"0.8250868",
"0.8249648",
"0.82456577",
"0.8244949",
"0.8244744",
"0.82431865",
"0.82431865",
"0.82431865",
"0.82411945",
"0.8240656",
"0.8240656",
"0.8240656",
"0.8239144",
"0.82376873",
"0.8233467",
"0.8232629",
"0.8229157",
"0.8228829",
"0.8228829",
"0.8227402",
"0.82224077",
"0.82188076",
"0.8217612",
"0.8217612",
"0.8217612",
"0.8217612",
"0.8216059",
"0.8216059",
"0.8216059",
"0.8215411",
"0.8215411",
"0.8215411",
"0.8215411",
"0.8215411",
"0.8215411",
"0.8215411",
"0.8215411",
"0.8215411",
"0.8215411",
"0.8215411",
"0.8215411",
"0.8215411",
"0.8215411",
"0.8215411",
"0.8215411",
"0.8215411",
"0.8215411",
"0.8215411",
"0.8212154",
"0.8211708",
"0.8211587",
"0.8208298",
"0.82076406",
"0.82076406",
"0.82076406",
"0.8201682",
"0.8200992",
"0.8194537",
"0.8194537",
"0.819425",
"0.81915534",
"0.8188418",
"0.8182998",
"0.818213",
"0.8181291",
"0.8180524",
"0.8180524",
"0.8180465",
"0.8180465",
"0.8180465",
"0.8180465",
"0.8180465",
"0.8180465",
"0.8180465",
"0.8180465",
"0.8180465",
"0.8180465"
] | 0.0 | -1 |
sets the email field. | public PersonBuilderMobile email(Email email)
{
if(email == null) throw new NullPointerException("The field email in the Person ValueDomain may not be null");
edma_value[2] = ((IValueInstance) email).edma_getValue();
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void setEmail(String email);",
"void setEmail(String email);",
"@Override\n public void setEmail(String email) {\n\n }",
"public void setEmail(String email)\r\n/* 36: */ {\r\n/* 37:50 */ this.email = email;\r\n/* 38: */ }",
"public void setEmail(String email);",
"private void setEmail(String email) {\n this.email = StringExtension.nullFilter(email);\n }",
"public void setEmail(String email)\n {\n String regex = \"^[\\\\w!#$%&'*+/=?`{|}~^-]+(?:\\\\.[\\\\w!#$%&'*+/=?`{|}~^-]+)*@(?:[a-zA-Z0-9-]+\\\\.)+[a-zA-Z]{2,6}$\";\n Pattern pattern = Pattern.compile(regex);\n Matcher matcher = pattern.matcher(email);\n if(matcher.matches())\n {\n this.email=email;\n }\n else \n {\n this.email=\"\";\n }\n }",
"public void setEmail(String aEmail) {\n email = aEmail;\n }",
"public Builder setEmail(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000001;\n email_ = value;\n onChanged();\n return this;\n }",
"public Builder setEmail(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000001;\n email_ = value;\n onChanged();\n return this;\n }",
"public void setEmail_address(String email_address);",
"public void setEmail(Email email) { this.email = email; }",
"public Builder setEmail(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000004;\n email_ = value;\n onChanged();\n return this;\n }",
"public void setEmail(java.lang.String value) {\n __getInternalInterface().setFieldValueForCodegen(EMAIL_PROP.get(), value);\n }",
"public void setEmail(final String e)\n {\n this.email = e;\n }",
"public void setEmail(String email) {\n mEmailTv.setText(email);\n }",
"public void setEmail(java.lang.String value) {\n __getInternalInterface().setFieldValueForCodegen(EMAIL_PROP.get(), value);\n }",
"public Builder setEmail(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n email_ = value;\n onChanged();\n return this;\n }",
"public void setEmailAddress(String emailAddress);",
"public void setEmail( String email )\r\n {\r\n this.email = email;\r\n }",
"public void setEmail(String email){\r\n this.email = email;\r\n }",
"public void setEmail(java.lang.String email) {\r\n this.email = email;\r\n }",
"public void setEmail(String email) { this.email = email; }",
"@Override\n\tpublic void setEmail(String email) {\n\t\tsuper.setEmail(email);\n\t}",
"public void setEmail(String email)\n {\n this.email = email;\n }",
"public void setEmail(String email) {\r\n this.email = email;\r\n }",
"public void setEmail(String email) {\r\n this.email = email;\r\n }",
"public void setEmail(String email) {\r\n this.email = email;\r\n }",
"public void setEmail(String email) {\r\n this.email = email;\r\n }",
"public void setEmail(String email) {\r\n this.email = email;\r\n }",
"public void setEmail(String email) {\r\n this.email = email;\r\n }",
"public void setEmailAddress(String email) {\n this.email = email;\n }",
"public void set_email(String Email)\n {\n email =Email;\n }",
"public void setEmail( final String email )\n\t{\n\t\tthis.email = email;\n\t}",
"public Builder setUserEmail(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000004;\n userEmail_ = value;\n onChanged();\n return this;\n }",
"public void setEmailAddress(String email_address){\n this.email_address = email_address;\n }",
"@Override\r\n\tpublic void setEmail(String email) {\n\t\tif (email == null) {\r\n\t\t\tthrow new IllegalArgumentException(\"Null argument is not allowed\");\r\n\t\t}\r\n\t\tif (email.equals(\"\")) {\r\n\t\t\tthrow new IllegalArgumentException(\"Empty argument is not allowed\");\r\n\t\t}\r\n\t\tthis.email = email;\r\n\t}",
"public void setEmail(java.lang.String email) {\n this.email = email;\n }",
"public void setEmail(java.lang.String email) {\n this.email = email;\n }",
"public void setEmail(java.lang.String email) {\n this.email = email;\n }",
"public void setEmail(java.lang.String email) {\n this.email = email;\n }",
"public void setEmail(final String value)\n\t{\n\t\tsetEmail( getSession().getSessionContext(), value );\n\t}",
"public void setEmail(final String value)\n\t{\n\t\tsetEmail( getSession().getSessionContext(), value );\n\t}",
"public void setEmail(String email)\n\t{\n\t\tthis._email=email;\n\t}",
"public final void setEmail(String email) {\n\t\tthis.email = email;\n\t}",
"public EditAccountPage fillEmailField(String e_mail){\n cleanElement(emailElement);\n setElementText(emailElement, e_mail);\n return this;\n }",
"@Override\n public void setEmail(java.lang.String email) {\n _entityCustomer.setEmail(email);\n }",
"public final void setEmail(final String emailNew) {\n this.email = emailNew;\n }",
"public void setEmail(String email) {\n this.email = email;\n }",
"public void setEmail(String email) {\n this.email = email;\n }",
"public void setEmail(String email) {\n this.email = email;\n }",
"public void setEmail(String email) {\n this.email = email;\n }",
"public void setEmail(String email) {\n this.email = email;\n }",
"public void setEmail(String email) {\n this.email = email;\n }",
"public void setEmail(String email) {\n this.email = email;\n }",
"public void setEmail(String email) {\n this.email = email;\n }",
"public void setEmail(String email) {\n this.email = email;\n }",
"public void setEmail(String email) {\n this.email = email;\n }",
"public void setEmail(String email) {\n this.email = email;\n }",
"public void setEmail(String email) {\n this.email = email;\n }",
"public void setEmail(String email) {\n this.email = email;\n }",
"public void setEmail(String email) {\n this.email = email;\n }",
"public void setEmail(String email) {\n this.email = email;\n }",
"public void setEmail(String email) {\n this.email = email;\n }",
"public void setEmail(String email) {\n this.email = email;\n }",
"public void setEmail(String email) {\n this.email = email;\n }",
"public void setEmail(String email) {\n this.email = email;\n }",
"public void setEmail(String email) {\n this.email = email;\n }",
"public void setEmail(String email) {\n this.email = email;\n }",
"public void setEmail(String email) {\n this.email = email;\n }",
"public void setEmail(String email) {\n this.email = email;\n }",
"public void setEmail(String email) {\n this.email = email;\n }",
"public void setEmail(String email) {\n this.email = email;\n }",
"public void setEmail(String email) {\n this.email = email;\n }",
"public void setEmail(String email) {\n this.email = email;\n }",
"public void setEmail(String string) {\n\t\tthis.email = string;\n\t}",
"public void setEmailAddress(java.lang.String newEmailAddress);",
"public Builder setEmail(java.lang.String value) {\n\t\t\t\tif (value == null) {\n\t\t\t\t\tthrow new NullPointerException();\n\t\t\t\t}\n\n\t\t\t\temail_ = value;\n\t\t\t\tonChanged();\n\t\t\t\treturn this;\n\t\t\t}",
"public void setEmail(String email) {\r\n\t\tthis.email = email;\r\n\t}",
"public void setEmail(String email) {\r\n\t\tthis.email = email;\r\n\t}",
"public void setEmailFieldName(final String value) {\n setProperty(EMAIL_FIELD_NAME_KEY, value);\n }",
"public void setEmail(String email) {\n Consistencia.consisteNaoNuloNaoVazio(email, \"email\");\n\n this.email = email;\n }",
"public void setEmail (java.lang.String email) {\n\t\tthis.email = email;\n\t}",
"public void setUserEmail(String userEmail) {\r\n this.userEmail = userEmail;\r\n }",
"public void setEmail(String email){\n if(email == null){\n throw new IllegalArgumentException(\"E-mail de usuario igual a null\");\n }\n this.email = email;\n }",
"public void setEmail(String email) {\n\t\tthis.email = StringUtils.trimString( email );\n\t}",
"public void setEmailAddress(EmailType newEmailAddress) {\n _emailAddress = newEmailAddress;\n }",
"public void setEmailAddress(java.lang.CharSequence value) {\n this.email_address = value;\n }",
"public void setEmail(String email) {\r\n this.email = email == null ? null : email.trim();\r\n }",
"public void setEmail(String email) {\r\n this.email = email == null ? null : email.trim();\r\n }",
"public void setEmail(String email) {\r\n this.email = email == null ? null : email.trim();\r\n }",
"public void setEmail(String email) {\r\n this.email = email == null ? null : email.trim();\r\n }",
"public void setEmail(gov.nih.nlm.ncbi.www.soap.eutils.efetch_pmc.Email email) {\r\n this.email = email;\r\n }",
"public void setEmail(String email0){\n\t\temail = email0;\n\t}",
"public void setEmail(String email) {\n\t\tthis.email = email == null ? null : email.trim();\n\t}",
"public void setEmail(java.lang.String email) {\n\t\tthis.email = email;\n\t}",
"public void setEmail(String email) {\n this.email = email == null ? null : email.trim();\n }",
"public void setEmail(String email) {\n this.email = email == null ? null : email.trim();\n }",
"public void setEmail(String email) {\n this.email = email == null ? null : email.trim();\n }",
"public void setEmail(String email) {\n this.email = email == null ? null : email.trim();\n }",
"public void setEmail(String email) {\n this.email = email == null ? null : email.trim();\n }"
] | [
"0.83187366",
"0.83187366",
"0.8219136",
"0.82066447",
"0.81564516",
"0.8120229",
"0.8062614",
"0.80342746",
"0.8018626",
"0.8018626",
"0.8013018",
"0.8008295",
"0.7987857",
"0.79837066",
"0.7970005",
"0.79419136",
"0.79336137",
"0.79259557",
"0.79050833",
"0.78883",
"0.78731716",
"0.7837754",
"0.7827697",
"0.7799741",
"0.7787377",
"0.77872485",
"0.77872485",
"0.77872485",
"0.77872485",
"0.77872485",
"0.77872485",
"0.7773015",
"0.7757456",
"0.7753712",
"0.7747599",
"0.7746496",
"0.7735497",
"0.7731361",
"0.7731361",
"0.7731361",
"0.7731361",
"0.7722788",
"0.7722788",
"0.7713276",
"0.7707871",
"0.7685413",
"0.7666153",
"0.76581067",
"0.7650559",
"0.7650559",
"0.7650559",
"0.7650559",
"0.7650559",
"0.7650559",
"0.7650559",
"0.7650559",
"0.7650559",
"0.7650559",
"0.7650559",
"0.7650559",
"0.7650559",
"0.7650559",
"0.7650559",
"0.7650559",
"0.7650559",
"0.7650559",
"0.7650559",
"0.7650559",
"0.7650559",
"0.7650559",
"0.7650559",
"0.7650559",
"0.7650559",
"0.7650559",
"0.7650559",
"0.7643483",
"0.76433027",
"0.76345354",
"0.75956756",
"0.75956756",
"0.7569511",
"0.7556623",
"0.75518906",
"0.7518482",
"0.75061595",
"0.74920034",
"0.74913055",
"0.7489465",
"0.74864876",
"0.74864876",
"0.74864876",
"0.74864876",
"0.7480452",
"0.7464842",
"0.745924",
"0.74554807",
"0.74458253",
"0.74458253",
"0.74458253",
"0.74458253",
"0.74458253"
] | 0.0 | -1 |
sets the email field. | public PersonBuilderMobile email(String email) throws InvalidValueException
{
if(email != null) EmailImpl.edma_validate(email);
if(email == null) throw new NullPointerException("The field email in the Person ValueDomain may not be null");
edma_value[2] = EmailImpl.edma_create(email);
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void setEmail(String email);",
"void setEmail(String email);",
"@Override\n public void setEmail(String email) {\n\n }",
"public void setEmail(String email)\r\n/* 36: */ {\r\n/* 37:50 */ this.email = email;\r\n/* 38: */ }",
"public void setEmail(String email);",
"private void setEmail(String email) {\n this.email = StringExtension.nullFilter(email);\n }",
"public void setEmail(String email)\n {\n String regex = \"^[\\\\w!#$%&'*+/=?`{|}~^-]+(?:\\\\.[\\\\w!#$%&'*+/=?`{|}~^-]+)*@(?:[a-zA-Z0-9-]+\\\\.)+[a-zA-Z]{2,6}$\";\n Pattern pattern = Pattern.compile(regex);\n Matcher matcher = pattern.matcher(email);\n if(matcher.matches())\n {\n this.email=email;\n }\n else \n {\n this.email=\"\";\n }\n }",
"public void setEmail(String aEmail) {\n email = aEmail;\n }",
"public Builder setEmail(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000001;\n email_ = value;\n onChanged();\n return this;\n }",
"public Builder setEmail(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000001;\n email_ = value;\n onChanged();\n return this;\n }",
"public void setEmail_address(String email_address);",
"public void setEmail(Email email) { this.email = email; }",
"public Builder setEmail(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000004;\n email_ = value;\n onChanged();\n return this;\n }",
"public void setEmail(java.lang.String value) {\n __getInternalInterface().setFieldValueForCodegen(EMAIL_PROP.get(), value);\n }",
"public void setEmail(final String e)\n {\n this.email = e;\n }",
"public void setEmail(String email) {\n mEmailTv.setText(email);\n }",
"public void setEmail(java.lang.String value) {\n __getInternalInterface().setFieldValueForCodegen(EMAIL_PROP.get(), value);\n }",
"public Builder setEmail(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n email_ = value;\n onChanged();\n return this;\n }",
"public void setEmailAddress(String emailAddress);",
"public void setEmail( String email )\r\n {\r\n this.email = email;\r\n }",
"public void setEmail(String email){\r\n this.email = email;\r\n }",
"public void setEmail(java.lang.String email) {\r\n this.email = email;\r\n }",
"public void setEmail(String email) { this.email = email; }",
"@Override\n\tpublic void setEmail(String email) {\n\t\tsuper.setEmail(email);\n\t}",
"public void setEmail(String email)\n {\n this.email = email;\n }",
"public void setEmail(String email) {\r\n this.email = email;\r\n }",
"public void setEmail(String email) {\r\n this.email = email;\r\n }",
"public void setEmail(String email) {\r\n this.email = email;\r\n }",
"public void setEmail(String email) {\r\n this.email = email;\r\n }",
"public void setEmail(String email) {\r\n this.email = email;\r\n }",
"public void setEmail(String email) {\r\n this.email = email;\r\n }",
"public void setEmailAddress(String email) {\n this.email = email;\n }",
"public void set_email(String Email)\n {\n email =Email;\n }",
"public void setEmail( final String email )\n\t{\n\t\tthis.email = email;\n\t}",
"public Builder setUserEmail(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000004;\n userEmail_ = value;\n onChanged();\n return this;\n }",
"public void setEmailAddress(String email_address){\n this.email_address = email_address;\n }",
"@Override\r\n\tpublic void setEmail(String email) {\n\t\tif (email == null) {\r\n\t\t\tthrow new IllegalArgumentException(\"Null argument is not allowed\");\r\n\t\t}\r\n\t\tif (email.equals(\"\")) {\r\n\t\t\tthrow new IllegalArgumentException(\"Empty argument is not allowed\");\r\n\t\t}\r\n\t\tthis.email = email;\r\n\t}",
"public void setEmail(java.lang.String email) {\n this.email = email;\n }",
"public void setEmail(java.lang.String email) {\n this.email = email;\n }",
"public void setEmail(java.lang.String email) {\n this.email = email;\n }",
"public void setEmail(java.lang.String email) {\n this.email = email;\n }",
"public void setEmail(final String value)\n\t{\n\t\tsetEmail( getSession().getSessionContext(), value );\n\t}",
"public void setEmail(final String value)\n\t{\n\t\tsetEmail( getSession().getSessionContext(), value );\n\t}",
"public void setEmail(String email)\n\t{\n\t\tthis._email=email;\n\t}",
"public final void setEmail(String email) {\n\t\tthis.email = email;\n\t}",
"public EditAccountPage fillEmailField(String e_mail){\n cleanElement(emailElement);\n setElementText(emailElement, e_mail);\n return this;\n }",
"@Override\n public void setEmail(java.lang.String email) {\n _entityCustomer.setEmail(email);\n }",
"public final void setEmail(final String emailNew) {\n this.email = emailNew;\n }",
"public void setEmail(String email) {\n this.email = email;\n }",
"public void setEmail(String email) {\n this.email = email;\n }",
"public void setEmail(String email) {\n this.email = email;\n }",
"public void setEmail(String email) {\n this.email = email;\n }",
"public void setEmail(String email) {\n this.email = email;\n }",
"public void setEmail(String email) {\n this.email = email;\n }",
"public void setEmail(String email) {\n this.email = email;\n }",
"public void setEmail(String email) {\n this.email = email;\n }",
"public void setEmail(String email) {\n this.email = email;\n }",
"public void setEmail(String email) {\n this.email = email;\n }",
"public void setEmail(String email) {\n this.email = email;\n }",
"public void setEmail(String email) {\n this.email = email;\n }",
"public void setEmail(String email) {\n this.email = email;\n }",
"public void setEmail(String email) {\n this.email = email;\n }",
"public void setEmail(String email) {\n this.email = email;\n }",
"public void setEmail(String email) {\n this.email = email;\n }",
"public void setEmail(String email) {\n this.email = email;\n }",
"public void setEmail(String email) {\n this.email = email;\n }",
"public void setEmail(String email) {\n this.email = email;\n }",
"public void setEmail(String email) {\n this.email = email;\n }",
"public void setEmail(String email) {\n this.email = email;\n }",
"public void setEmail(String email) {\n this.email = email;\n }",
"public void setEmail(String email) {\n this.email = email;\n }",
"public void setEmail(String email) {\n this.email = email;\n }",
"public void setEmail(String email) {\n this.email = email;\n }",
"public void setEmail(String email) {\n this.email = email;\n }",
"public void setEmail(String email) {\n this.email = email;\n }",
"public void setEmail(String string) {\n\t\tthis.email = string;\n\t}",
"public void setEmailAddress(java.lang.String newEmailAddress);",
"public Builder setEmail(java.lang.String value) {\n\t\t\t\tif (value == null) {\n\t\t\t\t\tthrow new NullPointerException();\n\t\t\t\t}\n\n\t\t\t\temail_ = value;\n\t\t\t\tonChanged();\n\t\t\t\treturn this;\n\t\t\t}",
"public void setEmail(String email) {\r\n\t\tthis.email = email;\r\n\t}",
"public void setEmail(String email) {\r\n\t\tthis.email = email;\r\n\t}",
"public void setEmailFieldName(final String value) {\n setProperty(EMAIL_FIELD_NAME_KEY, value);\n }",
"public void setEmail(String email) {\n Consistencia.consisteNaoNuloNaoVazio(email, \"email\");\n\n this.email = email;\n }",
"public void setEmail (java.lang.String email) {\n\t\tthis.email = email;\n\t}",
"public void setUserEmail(String userEmail) {\r\n this.userEmail = userEmail;\r\n }",
"public void setEmail(String email){\n if(email == null){\n throw new IllegalArgumentException(\"E-mail de usuario igual a null\");\n }\n this.email = email;\n }",
"public void setEmail(String email) {\n\t\tthis.email = StringUtils.trimString( email );\n\t}",
"public void setEmailAddress(EmailType newEmailAddress) {\n _emailAddress = newEmailAddress;\n }",
"public void setEmailAddress(java.lang.CharSequence value) {\n this.email_address = value;\n }",
"public void setEmail(String email) {\r\n this.email = email == null ? null : email.trim();\r\n }",
"public void setEmail(String email) {\r\n this.email = email == null ? null : email.trim();\r\n }",
"public void setEmail(String email) {\r\n this.email = email == null ? null : email.trim();\r\n }",
"public void setEmail(String email) {\r\n this.email = email == null ? null : email.trim();\r\n }",
"public void setEmail(gov.nih.nlm.ncbi.www.soap.eutils.efetch_pmc.Email email) {\r\n this.email = email;\r\n }",
"public void setEmail(String email0){\n\t\temail = email0;\n\t}",
"public void setEmail(String email) {\n\t\tthis.email = email == null ? null : email.trim();\n\t}",
"public void setEmail(java.lang.String email) {\n\t\tthis.email = email;\n\t}",
"public void setEmail(String email) {\n this.email = email == null ? null : email.trim();\n }",
"public void setEmail(String email) {\n this.email = email == null ? null : email.trim();\n }",
"public void setEmail(String email) {\n this.email = email == null ? null : email.trim();\n }",
"public void setEmail(String email) {\n this.email = email == null ? null : email.trim();\n }",
"public void setEmail(String email) {\n this.email = email == null ? null : email.trim();\n }"
] | [
"0.83187366",
"0.83187366",
"0.8219136",
"0.82066447",
"0.81564516",
"0.8120229",
"0.8062614",
"0.80342746",
"0.8018626",
"0.8018626",
"0.8013018",
"0.8008295",
"0.7987857",
"0.79837066",
"0.7970005",
"0.79419136",
"0.79336137",
"0.79259557",
"0.79050833",
"0.78883",
"0.78731716",
"0.7837754",
"0.7827697",
"0.7799741",
"0.7787377",
"0.77872485",
"0.77872485",
"0.77872485",
"0.77872485",
"0.77872485",
"0.77872485",
"0.7773015",
"0.7757456",
"0.7753712",
"0.7747599",
"0.7746496",
"0.7735497",
"0.7731361",
"0.7731361",
"0.7731361",
"0.7731361",
"0.7722788",
"0.7722788",
"0.7713276",
"0.7707871",
"0.7685413",
"0.7666153",
"0.76581067",
"0.7650559",
"0.7650559",
"0.7650559",
"0.7650559",
"0.7650559",
"0.7650559",
"0.7650559",
"0.7650559",
"0.7650559",
"0.7650559",
"0.7650559",
"0.7650559",
"0.7650559",
"0.7650559",
"0.7650559",
"0.7650559",
"0.7650559",
"0.7650559",
"0.7650559",
"0.7650559",
"0.7650559",
"0.7650559",
"0.7650559",
"0.7650559",
"0.7650559",
"0.7650559",
"0.7650559",
"0.7643483",
"0.76433027",
"0.76345354",
"0.75956756",
"0.75956756",
"0.7569511",
"0.7556623",
"0.75518906",
"0.7518482",
"0.75061595",
"0.74920034",
"0.74913055",
"0.7489465",
"0.74864876",
"0.74864876",
"0.74864876",
"0.74864876",
"0.7480452",
"0.7464842",
"0.745924",
"0.74554807",
"0.74458253",
"0.74458253",
"0.74458253",
"0.74458253",
"0.74458253"
] | 0.0 | -1 |
sets the mobile field. | public PersonBuilderBalance mobile(Mobile mobile)
{
if(mobile == null) throw new NullPointerException("The field mobile in the Person ValueDomain may not be null");
edma_value[3] = ((IValueInstance) mobile).edma_getValue();
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setMobile(int number) {\n\t\t\tthis.Mobile = number;\r\n\t\t}",
"public modifyMobile() {\n\t\tsuper();\n\t}",
"public void setMobile(String mobile) {\n this.mobile = mobile;\n }",
"public void setMobile(String mobile) {\n this.mobile = mobile;\n }",
"public void setMobile(String mobile) {\n this.mobile = mobile;\n }",
"public void setMobile(String mobile) {\n this.mobile = mobile;\n }",
"public void setMobile (java.lang.String mobile) {\r\n\t\tthis.mobile = mobile;\r\n\t}",
"public void setMobile_phone(Long mobile_phone);",
"public void setMobile(String mobile) {\r\n this.mobile = mobile == null ? null : mobile.trim();\r\n }",
"public void setMobile(String mobile) {\r\n this.mobile = mobile == null ? null : mobile.trim();\r\n }",
"public void setMobile(String mobile) {\n this.mobile = mobile == null ? null : mobile.trim();\n }",
"public void setMobile(String mobile) {\n this.mobile = mobile == null ? null : mobile.trim();\n }",
"public void setMobile(String mobile) {\n this.mobile = mobile == null ? null : mobile.trim();\n }",
"public void setMobile(String mobile) {\n this.mobile = mobile == null ? null : mobile.trim();\n }",
"public void setMobile(String mobile) {\n this.mobile = mobile == null ? null : mobile.trim();\n }",
"public void setMobile(String mobile) {\n this.mobile = mobile == null ? null : mobile.trim();\n }",
"public void setMobile(String mobile) {\n this.mobile = mobile == null ? null : mobile.trim();\n }",
"public void setMobile(String mobile) {\n this.mobile = mobile == null ? null : mobile.trim();\n }",
"public void setMobile(String mobile) {\n this.mobile = mobile == null ? null : mobile.trim();\n }",
"public void setMobile(String mobile) {\n\t\tthis.mobile = mobile == null ? null : mobile.trim();\n\t}",
"public void setMobilePhone(String mobilePhone) {\n this.mobilePhone = mobilePhone;\n }",
"private void setMobileNum(String mobileNum) {\n this.mobileNum = StringExtension.nullFilter(mobileNum);\n }",
"public void setMobileNo(String value) {\n setAttributeInternal(MOBILENO, value);\n }",
"public String getMobile() {\r\n return mobile;\r\n }",
"public String getMobile() {\r\n return mobile;\r\n }",
"public void setMobilePhone(java.lang.String mobilePhone) {\r\n this.mobilePhone = mobilePhone;\r\n }",
"public void setUserMobile(String userMobile) {\n this.userMobile = userMobile == null ? null : userMobile.trim();\n }",
"public void setUserMobile(String userMobile) {\n this.userMobile = userMobile == null ? null : userMobile.trim();\n }",
"public String getMobile() {\n\t\treturn mobile;\n\t}",
"public String getMobile() {\n return mobile;\n }",
"public String getMobile() {\n return mobile;\n }",
"public String getMobile() {\n return mobile;\n }",
"public String getMobile() {\n return mobile;\n }",
"public String getMobile() {\n return mobile;\n }",
"public String getMobile() {\n return mobile;\n }",
"public String getMobile() {\n return mobile;\n }",
"public String getMobile() {\n return mobile;\n }",
"public String getMobile() {\n return mobile;\n }",
"public String getMobile() {\n return mobile;\n }",
"public String getMobile() {\n return mobile;\n }",
"public String getMobile() {\n return mobile;\n }",
"public String getMobile() {\n return mobile;\n }",
"public String getMobile() {\n return mobile;\n }",
"public void setmobileNum(String mobileNum) {\n\t\t_mobileNum = mobileNum;\n\t}",
"public void setMobileNum(String mobileNum) {\r\n\t\tthis.mobileNum = mobileNum;\r\n\t}",
"public void setMobile_number(String mobile_number) {\n this.mobile_number = mobile_number;\n }",
"public void setMobileNumber(String mobileNumber) {\n this.mobileNumber = mobileNumber;\n }",
"public void setMobilePhone(String mobilePhone) {\n this.mobilePhone = mobilePhone == null ? null : mobilePhone.trim();\n }",
"public void setMobileNum(String mobileNum) {\n\t\tthis.mobileNum = mobileNum;\n\t}",
"public void setMobilePhone(StringFilter mobilePhone) {\n\t\tthis.mobilePhone = mobilePhone;\n\t}",
"public void setMobile_number(java.lang.String mobile_number) {\n this.mobile_number = mobile_number;\n }",
"public int getMobile() {\n\t\t\treturn Mobile;\r\n\t\t}",
"public java.lang.String getMobile () {\r\n\t\treturn mobile;\r\n\t}",
"public void setMobileCode(String mobileCode) {\n this.mobileCode = mobileCode == null ? null : mobileCode.trim();\n }",
"public int getMobile() {return mobile;}",
"public void setSMemMobile(String sMemMobile) {\n this.sMemMobile = sMemMobile;\n }",
"public void setHome_phone(Long home_phone);",
"public void setPhone(String phone);",
"public void setCustomerMobile(String customerMobile) {\n this.customerMobile = customerMobile;\n }",
"public void setMobileBind(int mobileBind) {\n\t\t\tthis.mobileBind = mobileBind;\n\t\t}",
"public String getMobileNum() {\r\n\t\treturn mobileNum;\r\n\t}",
"public String getMobileNumber() {\n return mobileNumber;\n }",
"public void setMobliephone(String mobliephone) {\n this.mobliephone = mobliephone;\n }",
"public String getMobile_number() {\n return mobile_number;\n }",
"public void setMobilePhoneNumber(String mobilePhoneNumber) {\n\t\tthis.mobilePhoneNumber = mobilePhoneNumber;\n\t}",
"public String getMobileCode() {\n return mobileCode;\n }",
"public void setReceiverMobile(String receiverMobile) {\n this.receiverMobile = receiverMobile;\n }",
"public void set_phone(String Phone)\n {\n phone =Phone;\n }",
"public String getMobileNum() {\n return mobileNum;\n }",
"public void setPhone(String mPhone) {\n this.mPhone = mPhone;\n }",
"public String getMobileNum() {\n\t\treturn mobileNum;\n\t}",
"@ApiModelProperty(value = \"Mobile number (if availible and allowed)\")\n public String getMobileNumber() {\n return mobileNumber;\n }",
"public String getCustomerMobile() {\n return customerMobile;\n }",
"public void setUserPhone( String userPhone )\n {\n this.userPhone = userPhone;\n }",
"public void setMobileParameter(String usernameParameter) {\n Assert.hasText(usernameParameter, \"Username parameter must not be empty or null\");\n this.mobileParameter = usernameParameter;\n }",
"public void setPhone(String phone)\r\n/* 46: */ {\r\n/* 47:58 */ this.phone = phone;\r\n/* 48: */ }",
"void setPhone(int phone);",
"public\r\n Mobile() {}",
"public String getCustomerMobile() {\n\t\treturn customerMobile;\n\t}",
"public abstract void setPhone1(String sValue);",
"@ApiModelProperty(required = true, value = \"Telefone celular do cliente\")\n @JsonProperty(\"mobile\")\n public String getMobile() {\n return mobile;\n }",
"public java.lang.String getMobile_number() {\n return mobile_number;\n }",
"public String getMobilePhoneNumber() {\n\t\treturn mobilePhoneNumber;\n\t}",
"public void setPhone(String phone) {\n this.mPhone = phone;\n }",
"public String getMobileNumber(){\n return mobileNumber;\n }",
"public void setTelephone(String telephone) {\n this.telephone = telephone == null ? null : telephone.trim();\n }",
"public void setTelephone(String telephone) {\n this.telephone = telephone == null ? null : telephone.trim();\n }",
"@And(\"^I enter the plenti phone number using mobile website$\")\n public void I_enter_the_plenti_phone_number_using_mobile_website() throws Throwable {\n TextBoxes.typeTextbox(Elements.element(\"plenti_enroll.phone_number\"), TestUsers.getuslCustomer(null).getUser().getProfileAddress().getBestPhone());\n }",
"public String getUserMobile() {\n return userMobile;\n }",
"public String getUserMobile() {\n return userMobile;\n }",
"public String getmobileNum() {\n\t\treturn _mobileNum;\n\t}",
"public void setUserPhone(String userPhone) {\r\n this.userPhone = userPhone == null ? null : userPhone.trim();\r\n }",
"public abstract void setPhone2(String sValue);",
"public String getMobilePhone() {\n return mobilePhone;\n }",
"public void setMallPhone(String mallPhone) {\n this.mallPhone = mallPhone == null ? null : mallPhone.trim();\n }",
"public void setPhoneNumber(String phone_number){\n this.phone_number = phone_number;\n }",
"public abstract void setPhone3(String sValue);",
"public void setTelphone(String telphone) {\n this.telphone = telphone;\n }",
"public void setTelphone(String telphone) {\n this.telphone = telphone;\n }",
"public void setPhone(String phone)\n {\n this.phone = phone;\n }",
"public Builder setUserPhone(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000008;\n userPhone_ = value;\n onChanged();\n return this;\n }"
] | [
"0.7470558",
"0.74391055",
"0.7427875",
"0.7427875",
"0.7427875",
"0.7427875",
"0.73745596",
"0.7268838",
"0.7234748",
"0.7234748",
"0.7187514",
"0.7187514",
"0.7187514",
"0.7187514",
"0.7187514",
"0.7187514",
"0.7187514",
"0.7187514",
"0.7187514",
"0.7186554",
"0.6933164",
"0.6926504",
"0.68496954",
"0.6839704",
"0.6839704",
"0.6765452",
"0.67534",
"0.67534",
"0.67530984",
"0.67484397",
"0.67484397",
"0.67484397",
"0.67484397",
"0.67484397",
"0.67484397",
"0.67484397",
"0.67484397",
"0.67484397",
"0.67484397",
"0.67484397",
"0.67484397",
"0.67484397",
"0.67484397",
"0.6722841",
"0.6717442",
"0.66717535",
"0.6615749",
"0.6599481",
"0.6511431",
"0.64817464",
"0.64562196",
"0.6435235",
"0.6426672",
"0.6364448",
"0.63256323",
"0.6294151",
"0.62618107",
"0.62435323",
"0.6215386",
"0.6208549",
"0.62001413",
"0.619583",
"0.61521274",
"0.614325",
"0.61419713",
"0.61365217",
"0.6125014",
"0.6115057",
"0.61141586",
"0.60947025",
"0.6085141",
"0.60155785",
"0.6003954",
"0.5987854",
"0.5965756",
"0.5964855",
"0.5957458",
"0.59529126",
"0.5948402",
"0.59442556",
"0.5914523",
"0.59129775",
"0.5894803",
"0.5860124",
"0.5858699",
"0.58460766",
"0.58460766",
"0.5834746",
"0.58246905",
"0.58246905",
"0.58191127",
"0.58156914",
"0.5802902",
"0.5800026",
"0.5786498",
"0.578036",
"0.5764291",
"0.5758927",
"0.5758927",
"0.57532537",
"0.5749401"
] | 0.0 | -1 |
sets the mobile field. | public PersonBuilderBalance mobile(String mobile) throws InvalidValueException
{
if(mobile != null) MobileImpl.edma_validate(mobile);
if(mobile == null) throw new NullPointerException("The field mobile in the Person ValueDomain may not be null");
edma_value[3] = MobileImpl.edma_create(mobile);
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setMobile(int number) {\n\t\t\tthis.Mobile = number;\r\n\t\t}",
"public modifyMobile() {\n\t\tsuper();\n\t}",
"public void setMobile(String mobile) {\n this.mobile = mobile;\n }",
"public void setMobile(String mobile) {\n this.mobile = mobile;\n }",
"public void setMobile(String mobile) {\n this.mobile = mobile;\n }",
"public void setMobile(String mobile) {\n this.mobile = mobile;\n }",
"public void setMobile (java.lang.String mobile) {\r\n\t\tthis.mobile = mobile;\r\n\t}",
"public void setMobile_phone(Long mobile_phone);",
"public void setMobile(String mobile) {\r\n this.mobile = mobile == null ? null : mobile.trim();\r\n }",
"public void setMobile(String mobile) {\r\n this.mobile = mobile == null ? null : mobile.trim();\r\n }",
"public void setMobile(String mobile) {\n this.mobile = mobile == null ? null : mobile.trim();\n }",
"public void setMobile(String mobile) {\n this.mobile = mobile == null ? null : mobile.trim();\n }",
"public void setMobile(String mobile) {\n this.mobile = mobile == null ? null : mobile.trim();\n }",
"public void setMobile(String mobile) {\n this.mobile = mobile == null ? null : mobile.trim();\n }",
"public void setMobile(String mobile) {\n this.mobile = mobile == null ? null : mobile.trim();\n }",
"public void setMobile(String mobile) {\n this.mobile = mobile == null ? null : mobile.trim();\n }",
"public void setMobile(String mobile) {\n this.mobile = mobile == null ? null : mobile.trim();\n }",
"public void setMobile(String mobile) {\n this.mobile = mobile == null ? null : mobile.trim();\n }",
"public void setMobile(String mobile) {\n this.mobile = mobile == null ? null : mobile.trim();\n }",
"public void setMobile(String mobile) {\n\t\tthis.mobile = mobile == null ? null : mobile.trim();\n\t}",
"public void setMobilePhone(String mobilePhone) {\n this.mobilePhone = mobilePhone;\n }",
"private void setMobileNum(String mobileNum) {\n this.mobileNum = StringExtension.nullFilter(mobileNum);\n }",
"public void setMobileNo(String value) {\n setAttributeInternal(MOBILENO, value);\n }",
"public String getMobile() {\r\n return mobile;\r\n }",
"public String getMobile() {\r\n return mobile;\r\n }",
"public void setMobilePhone(java.lang.String mobilePhone) {\r\n this.mobilePhone = mobilePhone;\r\n }",
"public void setUserMobile(String userMobile) {\n this.userMobile = userMobile == null ? null : userMobile.trim();\n }",
"public void setUserMobile(String userMobile) {\n this.userMobile = userMobile == null ? null : userMobile.trim();\n }",
"public String getMobile() {\n\t\treturn mobile;\n\t}",
"public String getMobile() {\n return mobile;\n }",
"public String getMobile() {\n return mobile;\n }",
"public String getMobile() {\n return mobile;\n }",
"public String getMobile() {\n return mobile;\n }",
"public String getMobile() {\n return mobile;\n }",
"public String getMobile() {\n return mobile;\n }",
"public String getMobile() {\n return mobile;\n }",
"public String getMobile() {\n return mobile;\n }",
"public String getMobile() {\n return mobile;\n }",
"public String getMobile() {\n return mobile;\n }",
"public String getMobile() {\n return mobile;\n }",
"public String getMobile() {\n return mobile;\n }",
"public String getMobile() {\n return mobile;\n }",
"public String getMobile() {\n return mobile;\n }",
"public void setmobileNum(String mobileNum) {\n\t\t_mobileNum = mobileNum;\n\t}",
"public void setMobileNum(String mobileNum) {\r\n\t\tthis.mobileNum = mobileNum;\r\n\t}",
"public void setMobile_number(String mobile_number) {\n this.mobile_number = mobile_number;\n }",
"public void setMobileNumber(String mobileNumber) {\n this.mobileNumber = mobileNumber;\n }",
"public void setMobilePhone(String mobilePhone) {\n this.mobilePhone = mobilePhone == null ? null : mobilePhone.trim();\n }",
"public void setMobileNum(String mobileNum) {\n\t\tthis.mobileNum = mobileNum;\n\t}",
"public void setMobilePhone(StringFilter mobilePhone) {\n\t\tthis.mobilePhone = mobilePhone;\n\t}",
"public void setMobile_number(java.lang.String mobile_number) {\n this.mobile_number = mobile_number;\n }",
"public int getMobile() {\n\t\t\treturn Mobile;\r\n\t\t}",
"public java.lang.String getMobile () {\r\n\t\treturn mobile;\r\n\t}",
"public void setMobileCode(String mobileCode) {\n this.mobileCode = mobileCode == null ? null : mobileCode.trim();\n }",
"public int getMobile() {return mobile;}",
"public void setSMemMobile(String sMemMobile) {\n this.sMemMobile = sMemMobile;\n }",
"public void setHome_phone(Long home_phone);",
"public void setPhone(String phone);",
"public void setCustomerMobile(String customerMobile) {\n this.customerMobile = customerMobile;\n }",
"public void setMobileBind(int mobileBind) {\n\t\t\tthis.mobileBind = mobileBind;\n\t\t}",
"public String getMobileNum() {\r\n\t\treturn mobileNum;\r\n\t}",
"public String getMobileNumber() {\n return mobileNumber;\n }",
"public void setMobliephone(String mobliephone) {\n this.mobliephone = mobliephone;\n }",
"public String getMobile_number() {\n return mobile_number;\n }",
"public void setMobilePhoneNumber(String mobilePhoneNumber) {\n\t\tthis.mobilePhoneNumber = mobilePhoneNumber;\n\t}",
"public String getMobileCode() {\n return mobileCode;\n }",
"public void setReceiverMobile(String receiverMobile) {\n this.receiverMobile = receiverMobile;\n }",
"public void set_phone(String Phone)\n {\n phone =Phone;\n }",
"public String getMobileNum() {\n return mobileNum;\n }",
"public void setPhone(String mPhone) {\n this.mPhone = mPhone;\n }",
"public String getMobileNum() {\n\t\treturn mobileNum;\n\t}",
"@ApiModelProperty(value = \"Mobile number (if availible and allowed)\")\n public String getMobileNumber() {\n return mobileNumber;\n }",
"public String getCustomerMobile() {\n return customerMobile;\n }",
"public void setUserPhone( String userPhone )\n {\n this.userPhone = userPhone;\n }",
"public void setMobileParameter(String usernameParameter) {\n Assert.hasText(usernameParameter, \"Username parameter must not be empty or null\");\n this.mobileParameter = usernameParameter;\n }",
"public void setPhone(String phone)\r\n/* 46: */ {\r\n/* 47:58 */ this.phone = phone;\r\n/* 48: */ }",
"void setPhone(int phone);",
"public\r\n Mobile() {}",
"public String getCustomerMobile() {\n\t\treturn customerMobile;\n\t}",
"public abstract void setPhone1(String sValue);",
"@ApiModelProperty(required = true, value = \"Telefone celular do cliente\")\n @JsonProperty(\"mobile\")\n public String getMobile() {\n return mobile;\n }",
"public java.lang.String getMobile_number() {\n return mobile_number;\n }",
"public String getMobilePhoneNumber() {\n\t\treturn mobilePhoneNumber;\n\t}",
"public void setPhone(String phone) {\n this.mPhone = phone;\n }",
"public String getMobileNumber(){\n return mobileNumber;\n }",
"public void setTelephone(String telephone) {\n this.telephone = telephone == null ? null : telephone.trim();\n }",
"public void setTelephone(String telephone) {\n this.telephone = telephone == null ? null : telephone.trim();\n }",
"@And(\"^I enter the plenti phone number using mobile website$\")\n public void I_enter_the_plenti_phone_number_using_mobile_website() throws Throwable {\n TextBoxes.typeTextbox(Elements.element(\"plenti_enroll.phone_number\"), TestUsers.getuslCustomer(null).getUser().getProfileAddress().getBestPhone());\n }",
"public String getUserMobile() {\n return userMobile;\n }",
"public String getUserMobile() {\n return userMobile;\n }",
"public String getmobileNum() {\n\t\treturn _mobileNum;\n\t}",
"public void setUserPhone(String userPhone) {\r\n this.userPhone = userPhone == null ? null : userPhone.trim();\r\n }",
"public abstract void setPhone2(String sValue);",
"public String getMobilePhone() {\n return mobilePhone;\n }",
"public void setMallPhone(String mallPhone) {\n this.mallPhone = mallPhone == null ? null : mallPhone.trim();\n }",
"public void setPhoneNumber(String phone_number){\n this.phone_number = phone_number;\n }",
"public abstract void setPhone3(String sValue);",
"public void setTelphone(String telphone) {\n this.telphone = telphone;\n }",
"public void setTelphone(String telphone) {\n this.telphone = telphone;\n }",
"public void setPhone(String phone)\n {\n this.phone = phone;\n }",
"public Builder setUserPhone(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000008;\n userPhone_ = value;\n onChanged();\n return this;\n }"
] | [
"0.7470558",
"0.74391055",
"0.7427875",
"0.7427875",
"0.7427875",
"0.7427875",
"0.73745596",
"0.7268838",
"0.7234748",
"0.7234748",
"0.7187514",
"0.7187514",
"0.7187514",
"0.7187514",
"0.7187514",
"0.7187514",
"0.7187514",
"0.7187514",
"0.7187514",
"0.7186554",
"0.6933164",
"0.6926504",
"0.68496954",
"0.6839704",
"0.6839704",
"0.6765452",
"0.67534",
"0.67534",
"0.67530984",
"0.67484397",
"0.67484397",
"0.67484397",
"0.67484397",
"0.67484397",
"0.67484397",
"0.67484397",
"0.67484397",
"0.67484397",
"0.67484397",
"0.67484397",
"0.67484397",
"0.67484397",
"0.67484397",
"0.6722841",
"0.6717442",
"0.66717535",
"0.6615749",
"0.6599481",
"0.6511431",
"0.64817464",
"0.64562196",
"0.6435235",
"0.6426672",
"0.6364448",
"0.63256323",
"0.6294151",
"0.62618107",
"0.62435323",
"0.6215386",
"0.6208549",
"0.62001413",
"0.619583",
"0.61521274",
"0.614325",
"0.61419713",
"0.61365217",
"0.6125014",
"0.6115057",
"0.61141586",
"0.60947025",
"0.6085141",
"0.60155785",
"0.6003954",
"0.5987854",
"0.5965756",
"0.5964855",
"0.5957458",
"0.59529126",
"0.5948402",
"0.59442556",
"0.5914523",
"0.59129775",
"0.5894803",
"0.5860124",
"0.5858699",
"0.58460766",
"0.58460766",
"0.5834746",
"0.58246905",
"0.58246905",
"0.58191127",
"0.58156914",
"0.5802902",
"0.5800026",
"0.5786498",
"0.578036",
"0.5764291",
"0.5758927",
"0.5758927",
"0.57532537",
"0.5749401"
] | 0.0 | -1 |
sets the balance field. | public Person balance(NotNegInt balance)
{
if(balance == null) throw new NullPointerException("The field balance in the Person ValueDomain may not be null");
edma_value[4] = ((IValueInstance) balance).edma_getValue();
return new PersonImpl(PersonImpl.edma_create(edma_value));
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setBalance(){\n balance.setBalance();\n }",
"public void setBalance(double bal){\n balance = bal;\r\n }",
"private void setBalance(double balance) {\n this.balance = balance;\n }",
"public void setBalance(float balance) {\n this.balance = balance;\n }",
"public void setBalance(double balance)\n {\n startingBalance = balance;\n }",
"public synchronized void setBalance(double balance) {\n this.balance = balance;\n }",
"public void setBalance(double balance){\n\t\tthis.balance = balance;\n\t}",
"public void setBalance(BigDecimal balance) {\n this.balance = balance;\n }",
"public void setBalance(BigDecimal balance) {\n this.balance = balance;\n }",
"public void setBalance(java.math.BigDecimal balance) {\n this.balance = balance;\n }",
"protected void setTotalBalance(double balance)\r\n {\r\n totalBalance = balance;\r\n }",
"void setBalance(double value);",
"public void setBalance(final int balance)\n {\n this.balance = balance;\n }",
"public void setBalance(Double balance) {\r\n this.balance = balance;\r\n }",
"public void setBalance(double balance) {\n\t\tthis.balance = balance;\n\t}",
"void setManageTransactionBalance(String balance);",
"public void setBalance(Integer balance) {\n this.balance = balance;\n }",
"public void setBalance(Integer balance) {\n this.balance = balance;\n }",
"public void setBalance(int balance) {\r\n\t\tif(0<=balance&&balance<=1000000) {\r\n\t\tthis.balance = balance;\r\n\t}else{\r\n\t\t System.out.println(\"잘못 입력하셨습니다. 현재 잔고는 \"+this.balance+\"입니다\");\r\n\t}\r\n \r\n}",
"public void setBalance( long balance ) {\r\n this.balance = balance;\r\n }",
"public void setBalance(float value)\n {\n balanceCtrl.setValue(value);\n }",
"public void setBalance( Integer account_id, double balance ){\r\n\r\n Map<String, String> params = new HashMap<>();\r\n params.put(\"account_id\", String.valueOf(account_id));\r\n params.put(\"balance\", String.valueOf(balance));\r\n String url = API_DOMAIN + ACCOUNT_EXT + SET_BALANCE;\r\n this.makeVolleyRequest( url, params );\r\n }",
"public void setNewBalance() {\n\t\tacc.setBankBalance(acc.getBalance() - keyboard.getAmt());\r\n\t}",
"public void setBalance(T balance) {\n transactions = new ArrayList<Transaction>();\n\t\ttransactions.add(new Transaction<T>('+', balance));\n }",
"public void setBalance() {\n System.out.print(\"Set the balance of your credit card: \");\n this.balance = Double.parseDouble(scanner.nextLine());\n }",
"void updateBalance(int amount){ \n\t\tbalance = amount;\n\t}",
"public void setBalance(double newBalance) {\n\t\tbalance = newBalance;\n\t\tbalance = Math.round(balance * 100.0) / 100.0;\n\t}",
"public boolean setBalance(float balance) {\r\n\t\tif(isValidBalance(balance)){\r\n\t\t\tthis.balance = balance;\r\n\t\t\treturn true;\r\n\t\t}else {\r\n\t\t\treturn false;\r\n\t\t}\r\n\t}",
"public void setBalance(final double newBalance) {\n this.balance = newBalance;\n }",
"public Builder setBalance(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n balance_ = value;\n onChanged();\n return this;\n }",
"public void changeBalance (int amount){\n balance += amount;\n }",
"Account(int balance) {\n if(balance <0) this.balance=0;\n this.balance = balance;\n }",
"public Builder setBalanceBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n balance_ = value;\n onChanged();\n return this;\n }",
"protected void enableActionSetBalance()\n {\n Action action = new Action(\"SetBalance\");\n action.addInputParameter(new ParameterRelated(\"Value\", iPropertyBalance));\n iDelegateSetBalance = new DoSetBalance();\n enableAction(action, iDelegateSetBalance);\n }",
"public void setCurrent_balance(com.token.vl.service.MoneyWs current_balance) {\n this.current_balance = current_balance;\n }",
"public BankAccount(int balance) {\n\n this.balance = balance;\n\n }",
"private void updateBalance(int balance) throws SQLException {\n\t\tupdateBalanceStatement.clearParameters();\n\t\tupdateBalanceStatement.setInt(1, balance);\n\t\tupdateBalanceStatement.setString(2, this.username);\n\t\tupdateBalanceStatement.executeUpdate();\n\t}",
"protected void resetTotalBalance()\r\n {\r\n totalBalance = 0.00;\r\n }",
"@Test\n public void testSetBalance() {\n System.out.println(\"setBalance\");\n Member instance = member;\n \n double balance = 100.00;\n instance.setBalance(balance);\n \n double expResult = balance;\n double result = instance.getBalance();\n \n assertEquals(expResult,result, 100.00);\n }",
"public Balance() {\r\n value = BigDecimal.ZERO;\r\n }",
"public BankAccount(double initialBalance) {\r\n\t\tbalance=initialBalance;\r\n\t}",
"@Override\n\tpublic void calculateAndUpdateBalance() {\n\n\t\tbalance -= fee;\n\n\t}",
"public void balance(){\n\t\tnamesTree.balance();\n\t\taccountNumbersTree.balance();\n\t}",
"public void increaseBalance(final double balance) {\n this.balance += balance;\n }",
"public void deposit(int amount)\n {\n setBalance(getBalance()+amount);\n }",
"public double getBalance(){\r\n\t\treturn balance;\r\n\t}",
"public void setAmountBank(double amountBank) {\n this.amountBank = amountBank;\n }",
"private void updateDatabaseAccountBalance() {\n\t\tString sql = \"UPDATE account SET balance = \" + this.balance + \" \";\n\t\tsql += \"WHERE accountID = '\" + this.accountID + \"';\";\n\n\t\tDbUtilities db = new MySqlUtilities();\n\t\tdb.executeQuery(sql);\n\t}",
"public abstract void updateBalance(Balance balance, LedgerEntry.Subtype subtype, long amount) throws TransactionException;",
"public Account(double balance) {\n\t\tthis.balance = balance;\n\t}",
"@Override\n\tvoid deposit(double amount) {\n\t\tsuper.balance += amount - 20;\n\t}",
"public void setInitialBalance(double value) {\n this.initialBalance = value;\n }",
"public Balance(final BigDecimal value) {\r\n this.value = value;\r\n }",
"public void editBalance() {\n\t\tAccount account = getAccountForEditBalance();\n\n\t\tif (adminDao.editBalance(account))\n\t\t\tSystem.out.println(\"Balance edited!\");\n\t\telse\n\t\t\tSystem.out.println(\"Something went wrong!\");\n\n\t\tAdminMenu.getAdminMenu();\n\t}",
"public void setSaldoBank(double saldoBank) {\n this.saldoBank = saldoBank;\n }",
"public double getBal() {\n\t\t return balance;\r\n\t }",
"public BankAccount() {\r\n\t\tbalance=0;\r\n\t\t\r\n\t}",
"@Test\n public void testSetBalance() {\n System.out.println(\"setBalance\");\n double balance = 9.0;\n Account instance = new Account(\"Piper\", 10.0);\n instance.setBalance(balance);\n double expResult = 9.0;\n double result = instance.getBalance();\n assertEquals(expResult, result, 0.0);\n // TODO review the generated test code and remove the default call to fail.\n //fail(\"The test case is a prototype.\");\n }",
"public BigDecimal getBalance() {\n return balance;\n }",
"public BigDecimal getBalance() {\n return balance;\n }",
"public void InitializeBalance(BigDecimal valor){\n \r\n ChekingAccount chekAc=pRepository.GetChekingAccount();\r\n chekAc.setSaldoInicial(valor);\r\n pRepository.SaveChekingAccount(chekAc);\r\n \r\n }",
"public void addBalance(long balance) {\r\n this.balance += balance;\r\n }",
"public double getBalance(){\n\t\treturn balance;\n\t}",
"public void updateBalance(UUID accountId, double amount) {\n Account account = repository.getAccount(accountId);\n account.updateBalance(amount);\n repository.save(account);\n }",
"public void sendBankBalance(int amount) {\n sendMessage(Prefix.BANKBALANCE, amount + \"\");\n }",
"public float getBalance() {\n return balance;\n }",
"public void setFinalBalance(double value) {\n this.finalBalance = value;\n }",
"public double getBalance(){\n return balance;\n }",
"public void deposit(double amount) {\n balance += amount;\n \n try {\n \n Class.forName(\"net.ucanaccess.jdbc.UcanaccessDriver\");\n \n // Load Driver\n String connURL=\"jdbc:ucanaccess://c:/Users/Ellen/Documents/CIST2373/ChattBankMDB.mdb\";\n \n // Get Connection\n Connection con = DriverManager.getConnection(connURL);\n \n // Create Statement\n Statement stmt = con.createStatement();\n \n // Create sql string \n String sql = \"Update Accounts set Balance = \"+getBalance()+ \n \" where AcctNo='\"+getAcctNo()+\"'\";\n \n // Check for properly formed sql\n System.out.println(sql);\n \n // Execute Statement\n int n = stmt.executeUpdate(sql);\n if (n == 1)\n System.out.println(\"Update was successful!\");\n else\n System.out.println(\"Update failed!\"); \n \n // Close Connection\n con.close(); \n } //end try\n \n catch (Exception err) {\n System.out.println(\"Error: \" + err);\n } //end catch\n }",
"public void decreaseBalance(final double balance) {\n this.balance -= balance;\n }",
"public SavingsAccount(double balance)\n {\n startingBalance = balance;\n }",
"public void setminimumBalance(double parseDouble) {\n\t\n}",
"public Builder clearBalance() {\n \n balance_ = getDefaultInstance().getBalance();\n onChanged();\n return this;\n }",
"public void setTotalDebit(java.math.BigDecimal totalDebit)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TOTALDEBIT$0, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(TOTALDEBIT$0);\n }\n target.setBigDecimalValue(totalDebit);\n }\n }",
"public double getBalance(){\n return balance;\r\n }",
"public void updateBalance(int account_id, int final_amount){\n dbUpdate(\"update ACCOUNTS set BALANCE = \"+ final_amount + \" where ACCOUNT_ID = \" + account_id);\n cache.add(new Account(account_id, final_amount));\n }",
"public void setBankAccount(final int newBAccount) {\n this.bankAccount = newBAccount;\n }",
"public double getBalance() {\n return balance;\n }",
"public void balance() {\n tree.balance();\n }",
"public void updateBalance(float amount) throws BalanceException{\r\n\t\tif (balance + amount < 0){\r\n\t\t\tthrow new BalanceException();\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\tbalance += amount;\r\n\t\t}\r\n\t}",
"public synchronized void setPendingBalance(double pendingBalance) {\n this.pendingBalance = pendingBalance;\n }",
"public double getBalance()\n \n {\n \n return balance;\n \n }",
"public void updateBal(int value) {\r\n bal = bal + value;\r\n }",
"public Double getBalance() {\r\n return balance;\r\n }",
"public void addBalance(float deposit) {\r\n\t\tthis.balance += deposit;\r\n\t}",
"public void setBank(Bank bank) {\r\n this.bank = bank;\r\n }",
"public void withdraw(BigDecimal amount) {\n this.setBalance(this.getBalance().subtract(amount));\n }",
"public void deposit(BigDecimal deposit){\n balance = balance.add(deposit);\n }",
"void deposit(double amount)\n\t{\n\t\tbalance += amount;\n\t\t//what this translates to is\n\t\t// this.balance += amount;\n\t}",
"private void updateMoney() {\n balance = mysql.getMoney(customerNumber);\n balanceConverted = (float) balance / 100.00;\n }",
"public double getBalance(){\n return balance;\n }",
"public double getBalance()\n {\n return balance;\n }",
"private void updateCardBalanceUI() {\n exactAmount.setText(decimalFormat.format(cardBalance));\n }",
"public int getBalance()\n {\n return balance;\n }",
"void setBank(shared.data.Bank bank);",
"public double getBalance(){\n return balance;\n }",
"public int getBalance() {\n return balance;\n }",
"public int getBalance() {\n return balance;\n }",
"public synchronized double setBalanceForAccId(int AccId, double bal) {\n\t\tConnection dbAccess = DataAccess.getDbAccess();\n\t\tPreparedStatement psttmnt;\n\t\tString querySting;\n\t\tdouble balance = -1.0;\n\t\ttry {\n\t\t\tquerySting = \"UPDATE accounts SET acc_balance = \" + bal + \" WHERE acc_id = \" + AccId;\n\t\t\tpsttmnt = dbAccess.prepareStatement(querySting);\n\t\t\tint result = psttmnt.executeUpdate();\n\t\t\tif (result != 0) {\n\t\t\t\t balance = getBalanceForAccId(AccId);\n\t\t\t}\n\t\t\tdbAccess.close();\n\t\t} catch (SQLException se) {\n\t\t\tse.printStackTrace();\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t} \n\t\treturn balance;\n\t}",
"public double getBalance(){\n return this.balance;\r\n }",
"public double getBalance() {\r\n\t\t\r\n\t\treturn balance;\r\n\t\t\r\n\t}"
] | [
"0.8209374",
"0.81815076",
"0.80605143",
"0.78799343",
"0.78761756",
"0.7871559",
"0.7832018",
"0.7804058",
"0.7804058",
"0.77828",
"0.7702612",
"0.76907754",
"0.76709914",
"0.7664657",
"0.7645674",
"0.7602954",
"0.7602953",
"0.7602953",
"0.75306636",
"0.7458091",
"0.73305774",
"0.73164415",
"0.73006994",
"0.71978813",
"0.7139944",
"0.7126168",
"0.70479476",
"0.694973",
"0.6907834",
"0.69029814",
"0.6773857",
"0.67561203",
"0.6667687",
"0.6506329",
"0.64690536",
"0.64612776",
"0.6414646",
"0.6405842",
"0.63926136",
"0.6365454",
"0.63466495",
"0.63459945",
"0.63390404",
"0.6334604",
"0.63334984",
"0.6330491",
"0.6320523",
"0.63161993",
"0.6302187",
"0.6301974",
"0.6300878",
"0.63003695",
"0.62856877",
"0.6280418",
"0.6277475",
"0.6275295",
"0.62632453",
"0.6225288",
"0.6225012",
"0.6225012",
"0.6213589",
"0.62089205",
"0.6191356",
"0.61897266",
"0.61801904",
"0.61764985",
"0.61575466",
"0.61547846",
"0.61536235",
"0.6152961",
"0.6149945",
"0.6142171",
"0.61332905",
"0.61244357",
"0.6117566",
"0.61156833",
"0.61135805",
"0.61128944",
"0.61113656",
"0.60790575",
"0.6076021",
"0.6073961",
"0.606614",
"0.60649514",
"0.6054214",
"0.60530704",
"0.60500485",
"0.6048389",
"0.6039812",
"0.60324943",
"0.60255516",
"0.60226554",
"0.6018045",
"0.6016174",
"0.60150313",
"0.6004596",
"0.60041547",
"0.60041547",
"0.6001585",
"0.60011303",
"0.59941316"
] | 0.0 | -1 |
sets the balance field. | public Person balance(Integer balance) throws InvalidValueException
{
if(balance != null) NotNegIntImpl.edma_validate(balance);
if(balance == null) throw new NullPointerException("The field balance in the Person ValueDomain may not be null");
edma_value[4] = NotNegIntImpl.edma_create(balance);
return new PersonImpl(PersonImpl.edma_create(edma_value));
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setBalance(){\n balance.setBalance();\n }",
"public void setBalance(double bal){\n balance = bal;\r\n }",
"private void setBalance(double balance) {\n this.balance = balance;\n }",
"public void setBalance(float balance) {\n this.balance = balance;\n }",
"public void setBalance(double balance)\n {\n startingBalance = balance;\n }",
"public synchronized void setBalance(double balance) {\n this.balance = balance;\n }",
"public void setBalance(double balance){\n\t\tthis.balance = balance;\n\t}",
"public void setBalance(BigDecimal balance) {\n this.balance = balance;\n }",
"public void setBalance(BigDecimal balance) {\n this.balance = balance;\n }",
"public void setBalance(java.math.BigDecimal balance) {\n this.balance = balance;\n }",
"protected void setTotalBalance(double balance)\r\n {\r\n totalBalance = balance;\r\n }",
"void setBalance(double value);",
"public void setBalance(final int balance)\n {\n this.balance = balance;\n }",
"public void setBalance(Double balance) {\r\n this.balance = balance;\r\n }",
"public void setBalance(double balance) {\n\t\tthis.balance = balance;\n\t}",
"void setManageTransactionBalance(String balance);",
"public void setBalance(Integer balance) {\n this.balance = balance;\n }",
"public void setBalance(Integer balance) {\n this.balance = balance;\n }",
"public void setBalance(int balance) {\r\n\t\tif(0<=balance&&balance<=1000000) {\r\n\t\tthis.balance = balance;\r\n\t}else{\r\n\t\t System.out.println(\"잘못 입력하셨습니다. 현재 잔고는 \"+this.balance+\"입니다\");\r\n\t}\r\n \r\n}",
"public void setBalance( long balance ) {\r\n this.balance = balance;\r\n }",
"public void setBalance(float value)\n {\n balanceCtrl.setValue(value);\n }",
"public void setBalance( Integer account_id, double balance ){\r\n\r\n Map<String, String> params = new HashMap<>();\r\n params.put(\"account_id\", String.valueOf(account_id));\r\n params.put(\"balance\", String.valueOf(balance));\r\n String url = API_DOMAIN + ACCOUNT_EXT + SET_BALANCE;\r\n this.makeVolleyRequest( url, params );\r\n }",
"public void setNewBalance() {\n\t\tacc.setBankBalance(acc.getBalance() - keyboard.getAmt());\r\n\t}",
"public void setBalance(T balance) {\n transactions = new ArrayList<Transaction>();\n\t\ttransactions.add(new Transaction<T>('+', balance));\n }",
"public void setBalance() {\n System.out.print(\"Set the balance of your credit card: \");\n this.balance = Double.parseDouble(scanner.nextLine());\n }",
"void updateBalance(int amount){ \n\t\tbalance = amount;\n\t}",
"public void setBalance(double newBalance) {\n\t\tbalance = newBalance;\n\t\tbalance = Math.round(balance * 100.0) / 100.0;\n\t}",
"public boolean setBalance(float balance) {\r\n\t\tif(isValidBalance(balance)){\r\n\t\t\tthis.balance = balance;\r\n\t\t\treturn true;\r\n\t\t}else {\r\n\t\t\treturn false;\r\n\t\t}\r\n\t}",
"public void setBalance(final double newBalance) {\n this.balance = newBalance;\n }",
"public Builder setBalance(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n balance_ = value;\n onChanged();\n return this;\n }",
"public void changeBalance (int amount){\n balance += amount;\n }",
"Account(int balance) {\n if(balance <0) this.balance=0;\n this.balance = balance;\n }",
"public Builder setBalanceBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n balance_ = value;\n onChanged();\n return this;\n }",
"protected void enableActionSetBalance()\n {\n Action action = new Action(\"SetBalance\");\n action.addInputParameter(new ParameterRelated(\"Value\", iPropertyBalance));\n iDelegateSetBalance = new DoSetBalance();\n enableAction(action, iDelegateSetBalance);\n }",
"public void setCurrent_balance(com.token.vl.service.MoneyWs current_balance) {\n this.current_balance = current_balance;\n }",
"public BankAccount(int balance) {\n\n this.balance = balance;\n\n }",
"private void updateBalance(int balance) throws SQLException {\n\t\tupdateBalanceStatement.clearParameters();\n\t\tupdateBalanceStatement.setInt(1, balance);\n\t\tupdateBalanceStatement.setString(2, this.username);\n\t\tupdateBalanceStatement.executeUpdate();\n\t}",
"protected void resetTotalBalance()\r\n {\r\n totalBalance = 0.00;\r\n }",
"@Test\n public void testSetBalance() {\n System.out.println(\"setBalance\");\n Member instance = member;\n \n double balance = 100.00;\n instance.setBalance(balance);\n \n double expResult = balance;\n double result = instance.getBalance();\n \n assertEquals(expResult,result, 100.00);\n }",
"public Balance() {\r\n value = BigDecimal.ZERO;\r\n }",
"public BankAccount(double initialBalance) {\r\n\t\tbalance=initialBalance;\r\n\t}",
"@Override\n\tpublic void calculateAndUpdateBalance() {\n\n\t\tbalance -= fee;\n\n\t}",
"public void balance(){\n\t\tnamesTree.balance();\n\t\taccountNumbersTree.balance();\n\t}",
"public void increaseBalance(final double balance) {\n this.balance += balance;\n }",
"public void deposit(int amount)\n {\n setBalance(getBalance()+amount);\n }",
"public double getBalance(){\r\n\t\treturn balance;\r\n\t}",
"public void setAmountBank(double amountBank) {\n this.amountBank = amountBank;\n }",
"private void updateDatabaseAccountBalance() {\n\t\tString sql = \"UPDATE account SET balance = \" + this.balance + \" \";\n\t\tsql += \"WHERE accountID = '\" + this.accountID + \"';\";\n\n\t\tDbUtilities db = new MySqlUtilities();\n\t\tdb.executeQuery(sql);\n\t}",
"public abstract void updateBalance(Balance balance, LedgerEntry.Subtype subtype, long amount) throws TransactionException;",
"public Account(double balance) {\n\t\tthis.balance = balance;\n\t}",
"@Override\n\tvoid deposit(double amount) {\n\t\tsuper.balance += amount - 20;\n\t}",
"public void setInitialBalance(double value) {\n this.initialBalance = value;\n }",
"public Balance(final BigDecimal value) {\r\n this.value = value;\r\n }",
"public void editBalance() {\n\t\tAccount account = getAccountForEditBalance();\n\n\t\tif (adminDao.editBalance(account))\n\t\t\tSystem.out.println(\"Balance edited!\");\n\t\telse\n\t\t\tSystem.out.println(\"Something went wrong!\");\n\n\t\tAdminMenu.getAdminMenu();\n\t}",
"public void setSaldoBank(double saldoBank) {\n this.saldoBank = saldoBank;\n }",
"public double getBal() {\n\t\t return balance;\r\n\t }",
"public BankAccount() {\r\n\t\tbalance=0;\r\n\t\t\r\n\t}",
"@Test\n public void testSetBalance() {\n System.out.println(\"setBalance\");\n double balance = 9.0;\n Account instance = new Account(\"Piper\", 10.0);\n instance.setBalance(balance);\n double expResult = 9.0;\n double result = instance.getBalance();\n assertEquals(expResult, result, 0.0);\n // TODO review the generated test code and remove the default call to fail.\n //fail(\"The test case is a prototype.\");\n }",
"public BigDecimal getBalance() {\n return balance;\n }",
"public BigDecimal getBalance() {\n return balance;\n }",
"public void InitializeBalance(BigDecimal valor){\n \r\n ChekingAccount chekAc=pRepository.GetChekingAccount();\r\n chekAc.setSaldoInicial(valor);\r\n pRepository.SaveChekingAccount(chekAc);\r\n \r\n }",
"public void addBalance(long balance) {\r\n this.balance += balance;\r\n }",
"public double getBalance(){\n\t\treturn balance;\n\t}",
"public void updateBalance(UUID accountId, double amount) {\n Account account = repository.getAccount(accountId);\n account.updateBalance(amount);\n repository.save(account);\n }",
"public void sendBankBalance(int amount) {\n sendMessage(Prefix.BANKBALANCE, amount + \"\");\n }",
"public float getBalance() {\n return balance;\n }",
"public void setFinalBalance(double value) {\n this.finalBalance = value;\n }",
"public double getBalance(){\n return balance;\n }",
"public void deposit(double amount) {\n balance += amount;\n \n try {\n \n Class.forName(\"net.ucanaccess.jdbc.UcanaccessDriver\");\n \n // Load Driver\n String connURL=\"jdbc:ucanaccess://c:/Users/Ellen/Documents/CIST2373/ChattBankMDB.mdb\";\n \n // Get Connection\n Connection con = DriverManager.getConnection(connURL);\n \n // Create Statement\n Statement stmt = con.createStatement();\n \n // Create sql string \n String sql = \"Update Accounts set Balance = \"+getBalance()+ \n \" where AcctNo='\"+getAcctNo()+\"'\";\n \n // Check for properly formed sql\n System.out.println(sql);\n \n // Execute Statement\n int n = stmt.executeUpdate(sql);\n if (n == 1)\n System.out.println(\"Update was successful!\");\n else\n System.out.println(\"Update failed!\"); \n \n // Close Connection\n con.close(); \n } //end try\n \n catch (Exception err) {\n System.out.println(\"Error: \" + err);\n } //end catch\n }",
"public void decreaseBalance(final double balance) {\n this.balance -= balance;\n }",
"public SavingsAccount(double balance)\n {\n startingBalance = balance;\n }",
"public void setminimumBalance(double parseDouble) {\n\t\n}",
"public Builder clearBalance() {\n \n balance_ = getDefaultInstance().getBalance();\n onChanged();\n return this;\n }",
"public void setTotalDebit(java.math.BigDecimal totalDebit)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TOTALDEBIT$0, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(TOTALDEBIT$0);\n }\n target.setBigDecimalValue(totalDebit);\n }\n }",
"public double getBalance(){\n return balance;\r\n }",
"public void updateBalance(int account_id, int final_amount){\n dbUpdate(\"update ACCOUNTS set BALANCE = \"+ final_amount + \" where ACCOUNT_ID = \" + account_id);\n cache.add(new Account(account_id, final_amount));\n }",
"public void setBankAccount(final int newBAccount) {\n this.bankAccount = newBAccount;\n }",
"public double getBalance() {\n return balance;\n }",
"public void balance() {\n tree.balance();\n }",
"public void updateBalance(float amount) throws BalanceException{\r\n\t\tif (balance + amount < 0){\r\n\t\t\tthrow new BalanceException();\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\tbalance += amount;\r\n\t\t}\r\n\t}",
"public synchronized void setPendingBalance(double pendingBalance) {\n this.pendingBalance = pendingBalance;\n }",
"public double getBalance()\n \n {\n \n return balance;\n \n }",
"public void updateBal(int value) {\r\n bal = bal + value;\r\n }",
"public Double getBalance() {\r\n return balance;\r\n }",
"public void addBalance(float deposit) {\r\n\t\tthis.balance += deposit;\r\n\t}",
"public void setBank(Bank bank) {\r\n this.bank = bank;\r\n }",
"public void withdraw(BigDecimal amount) {\n this.setBalance(this.getBalance().subtract(amount));\n }",
"public void deposit(BigDecimal deposit){\n balance = balance.add(deposit);\n }",
"void deposit(double amount)\n\t{\n\t\tbalance += amount;\n\t\t//what this translates to is\n\t\t// this.balance += amount;\n\t}",
"private void updateMoney() {\n balance = mysql.getMoney(customerNumber);\n balanceConverted = (float) balance / 100.00;\n }",
"public double getBalance(){\n return balance;\n }",
"public double getBalance()\n {\n return balance;\n }",
"private void updateCardBalanceUI() {\n exactAmount.setText(decimalFormat.format(cardBalance));\n }",
"public int getBalance()\n {\n return balance;\n }",
"void setBank(shared.data.Bank bank);",
"public double getBalance(){\n return balance;\n }",
"public int getBalance() {\n return balance;\n }",
"public int getBalance() {\n return balance;\n }",
"public synchronized double setBalanceForAccId(int AccId, double bal) {\n\t\tConnection dbAccess = DataAccess.getDbAccess();\n\t\tPreparedStatement psttmnt;\n\t\tString querySting;\n\t\tdouble balance = -1.0;\n\t\ttry {\n\t\t\tquerySting = \"UPDATE accounts SET acc_balance = \" + bal + \" WHERE acc_id = \" + AccId;\n\t\t\tpsttmnt = dbAccess.prepareStatement(querySting);\n\t\t\tint result = psttmnt.executeUpdate();\n\t\t\tif (result != 0) {\n\t\t\t\t balance = getBalanceForAccId(AccId);\n\t\t\t}\n\t\t\tdbAccess.close();\n\t\t} catch (SQLException se) {\n\t\t\tse.printStackTrace();\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t} \n\t\treturn balance;\n\t}",
"public double getBalance(){\n return this.balance;\r\n }",
"public double getBalance() {\r\n\t\t\r\n\t\treturn balance;\r\n\t\t\r\n\t}"
] | [
"0.8209374",
"0.81815076",
"0.80605143",
"0.78799343",
"0.78761756",
"0.7871559",
"0.7832018",
"0.7804058",
"0.7804058",
"0.77828",
"0.7702612",
"0.76907754",
"0.76709914",
"0.7664657",
"0.7645674",
"0.7602954",
"0.7602953",
"0.7602953",
"0.75306636",
"0.7458091",
"0.73305774",
"0.73164415",
"0.73006994",
"0.71978813",
"0.7139944",
"0.7126168",
"0.70479476",
"0.694973",
"0.6907834",
"0.69029814",
"0.6773857",
"0.67561203",
"0.6667687",
"0.6506329",
"0.64690536",
"0.64612776",
"0.6414646",
"0.6405842",
"0.63926136",
"0.6365454",
"0.63466495",
"0.63459945",
"0.63390404",
"0.6334604",
"0.63334984",
"0.6330491",
"0.6320523",
"0.63161993",
"0.6302187",
"0.6301974",
"0.6300878",
"0.63003695",
"0.62856877",
"0.6280418",
"0.6277475",
"0.6275295",
"0.62632453",
"0.6225288",
"0.6225012",
"0.6225012",
"0.6213589",
"0.62089205",
"0.6191356",
"0.61897266",
"0.61801904",
"0.61764985",
"0.61575466",
"0.61547846",
"0.61536235",
"0.6152961",
"0.6149945",
"0.6142171",
"0.61332905",
"0.61244357",
"0.6117566",
"0.61156833",
"0.61135805",
"0.61128944",
"0.61113656",
"0.60790575",
"0.6076021",
"0.6073961",
"0.606614",
"0.60649514",
"0.6054214",
"0.60530704",
"0.60500485",
"0.6048389",
"0.6039812",
"0.60324943",
"0.60255516",
"0.60226554",
"0.6018045",
"0.6016174",
"0.60150313",
"0.6004596",
"0.60041547",
"0.60041547",
"0.6001585",
"0.60011303",
"0.59941316"
] | 0.0 | -1 |
E' il costruttore della classe Giocatore | public Giocatore(String nome, Casella c, Pedina p) {
setNome(nome);
setPedina(p);
casella = c;
dado = new Dado();
punt_carta = punteggioIniziale;
punt_plastica = punteggioIniziale;
punt_vetro = punteggioIniziale;
punt_metallo = punteggioIniziale;
punt_indifferenziata = punteggioIniziale;
punt_organica = punteggioIniziale;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Gioco(String titolo, int larghezza, int altezza)\n {\n //Inizializzazione degli attributi\n this.larghezza = larghezza;\n this.altezza = altezza;\n this.titolo = titolo;\n gestoreTasti = new GestoreTasti();\n gestoreMouse = new GestoreMouse();\n }",
"public Gasto() {\r\n\t}",
"private RepositorioOrdemServicoHBM() {\n\n\t}",
"public ControladorCoche() {\n\t}",
"public Groupe() {\n \n initComponents();\n FillCombo();\n conect=scl.obtenirconnexion();\n }",
"public Corso() {\n\n }",
"public Carrinho() {\n\t\tsuper();\n\t}",
"public GestioneApplicazione() {\n }",
"public Sobre() {\n\t\tsuper();\n\t\tinitialize();\n\t}",
"public Cgg_jur_anticipo(){}",
"public ClientsSpeicher() {\n mDb = new MyArrowDB().getInstance();\n }",
"public CadastroCurso() {\n initComponents();\n configTela();\n }",
"public Caso_de_uso () {\n }",
"public Coloca_imagen(){\n \n \n }",
"public Coche() {\n super();\n }",
"private void inizializzazione()\n {\n //Costruzione della Istanza display\n display = new Display(titolo,larghezza,altezza);\n \n /*Viene aggiunto il nostro gestore degli input da tastiera\n * alla nostra cornice.*/\n display.getCornice().addKeyListener(gestoreTasti);\n display.getCornice().addMouseListener(gestoreMouse);\n display.getCornice().addMouseMotionListener(gestoreMouse);\n display.getTelaGrafica().addMouseListener(gestoreMouse);\n display.getTelaGrafica().addMouseMotionListener(gestoreMouse);\n \n //Codice temporaneo per caricare la nostra immagine nel nostro programma\n /*testImmagine = CaricatoreImmagini.caricaImmagini(\"/Textures/Runner Stickman.png\");*/\n \n //Inizializzazione dell'attributo \"foglio\". Gli viene passato come parametro \n //\"testImmagine\" contenente l'immagine del nostro sprite sheet.\n /*foglio = new FoglioSprite(testImmagine);*/\n \n /*Inizializzazione della classe Risorse.*/\n Risorse.inizializzazione();\n \n maneggiatore = new Maneggiatore(this);\n /*Inizializzazione Camera di Gioco*/\n camera = new Camera(maneggiatore,0,0);\n \n /*Inizializzazione degli stati di gioco.*/\n statoMenu = new StatoMenù(maneggiatore);\n Stato.setStato(statoMenu);\n }",
"public FicheConnaissance() {\r\n }",
"public BuscarArtG() {\n\t\tvista = new MenuBuscarArtG(this);\n\n\t\t/* Asociamos controlador a la vista */\n\t\t((MenuBuscarArtG) vista).setControlador(this);\n\t}",
"public FiltroMicrorregiao() {\r\n }",
"public LibroDiario() {\n initComponents();\n }",
"public Guillotine() {\n initComponents();\n }",
"public Libro() {\r\n }",
"public void notificaAlgiocatore(int azione, Giocatore g) {\n\r\n }",
"public Regla2(){ /*ESTE ES EL CONSTRUCTOR POR DEFECTO */\r\n\r\n /* TODAS LAS CLASES TIENE EL CONSTRUCTOR POR DEFECTO, A VECES SE CREAN AUTOMATICAMENTE, PERO\r\n PODEMOS CREARLOS NOSOTROS TAMBIEN SI NO SE HUBIERAN CREADO AUTOMATICAMENTE\r\n */\r\n \r\n }",
"private ControleurAcceuil(){ }",
"private RepositorioAtendimentoPublicoHBM() {\r\t}",
"public Captura() {\n initComponents();\n }",
"public Cohete() {\n\n\t}",
"private DittaAutonoleggio(){\n \n }",
"public Egrga() {\r\n\t}",
"public Curso() {\r\n }",
"private CoeurAStockageImpl()\n\t{\n\t\tmonnayeur = new Monnayeur();\n\t\timprimante = new Imprimante(this);\n\t\tcomposantEnMarche = new HashMap<Composant,Boolean>();\n\t\tfor(Composant composant : Composant.values())\n\t\t{\n\t\t\tcomposantEnMarche.put(composant, true);\n\t\t}\n\t}",
"public LgSistema() {\n initComponents();\n }",
"public Diccionario(){\r\n rz=new BinaryTree<Association<String,String>>(null, null, null, null);\r\n llenDic();\r\n tradOra();\r\n }",
"public Fogon (String cocineroActual){\n Cocinero = cocineroActual;\n grados = 0; \n }",
"public Electrodomestico() {\r\n this.color = Colores.BLANCO;\r\n this.consumoEnergetico = Letra.F;\r\n this.precioBase = precioDefecto;\r\n this.peso = pesoDefecto;\r\n }",
"public Genio() {\n initComponents();\n }",
"public RepositorioTransacaoHBM() {\n\n\t}",
"public gui obtenerGrafica();",
"public CorreoElectronico() {\n }",
"public BrewedEspresso(Gelato gelato) {\n super(gelato);\n }",
"public ModeloMenuBase() {\n\t\tinicializar();\n\t}",
"private BaseDatos() {\n }",
"public Carrera(){\n }",
"public Livro() {\n\n\t}",
"public Recursos() {\n }",
"public TelaAgendamento() {\n initComponents();\n }",
"public Ficha_Ingreso_Egreso() {\n initComponents();\n limpiar();\n bloquear();\n \n }",
"public Odontologo() {\n }",
"public Contato() {\n }",
"public Troco() {\n }",
"public UConnecte() {\n\t\tsuper();\n\t}",
"public rplorcamentoTelaCadGastos() {\n initComponents();\n }",
"public CreadorComentario() {\n faceContext = FacesContext.getCurrentInstance();\n }",
"public Celula() { // Sentinela\n\t\tthis.item = new Jogador();\n\t\tproximo = null;\n\t}",
"public Espacio() {\n dib=new Dibujo(\"Simulacion de satelites\", 800,800);\n dib.dibujaImagen(limiteX-60,limiteY-60,\"tierra.png\");\n dib.pinta();\n }",
"public Sistema(){\r\n\t\t\r\n\t}",
"public Alojamiento() {\r\n\t}",
"public Fruitore()\r\n\t{\r\n\t\tthis.nomeUtente = Costanti.STRINGA_VUOTA;\r\n\t}",
"public Composante() {\n\t\tsuper();\n\t\t// TODO Auto-generated constructor stub\n\t}",
"private LOCFacade() {\r\n\r\n\t}",
"public FiltroCreditoTipo() {\r\n\t}",
"public Exposicao() {\n obras = new TreeSet<Obra>();\n }",
"public CtrlEditGrupos() {\n edEsc = EditEscenario.getInstance();\n try {\n cd = CtrlDomain.getInstance();\n } catch (Exception e) {\n System.out.println(\"ERROR EN LA CARGA DEL CONTROLADOR DE DOMINIO\");\n }\n planEstudiosFinal = edEsc.getPlanEstudiosFinal();\n asignaturasFinal = edEsc.getAsignaturasFinal();\n restriccionesFinal = edEsc.getRestriccionesFinal();\n }",
"private Mgr(){\r\n\t}",
"public CarteCaisseCommunaute() {\n super();\n }",
"public JogadorTradutor() {\n this.nome= \"Sem Registro\";\n this.pontuacao = pontuacao;\n id = id;\n \n geradorDesafioItaliano = new GerarPalavra(); // primeira palavra ja é gerada para o cliente\n }",
"public God() {}",
"public RegistroCompra() {\n initComponents();\n buscarProveedor();\n }",
"public Electrodomestico() {\r\n\t\tthis.precioBase = PRECIO_BASE;\r\n\t\tthis.color = COLOR_DEFAULT;\r\n\t\tthis.consumoEnergetico = CONSUMO_DEFAULT;\r\n\t\tthis.peso = PESO_BASE;\r\n\t}",
"Oracion createOracion();",
"private Gng() {\n }",
"public VotacaoSegundoDia() {\n\n\t}",
"public Monopoly() {\n\t\tsuper();\n\t\tthis.spieler = new Spielerverwaltung();\n\t\tthis.logik = new Spielverwaltung(spieler,this);\n\t\tpmLaden = new PersistenzLaden();\n\t\tpmSpeichern = new PersistenzSpeichern();\n\t}",
"public AgenteEstAleatorio() {\r\n }",
"public Supercar() {\r\n\t\t\r\n\t}",
"public Veiculo() {\r\n\r\n }",
"public Interfaz_RegistroClientes() {\n initComponents();\n limpiar();\n }",
"public Kullanici() {}",
"public GestionProyectos() {\n initComponents();\n \n }",
"public Grafico getGrafico() {\n return this.grafico_comunicacao;\n }",
"public nomina()\n {\n deducidoClase = new deducido();\n devengadoClase = new devengado();\n }",
"public contrustor(){\r\n\t}",
"public CadastroGerentes(RepositorioGerentes repo) {\r\n this.repositorio = repo;\r\n }",
"public CadastroComplemento() {\n initComponents();\n \n }",
"public FiltroRaEncerramentoComando() {\r\n }",
"public TCubico(){}",
"public GrupoBodegaLogic()throws SQLException,Exception {\r\n\t\tsuper();\r\n\t\t\r\n\t\ttry\t{\t\t\t\t\t\t\r\n\t\t\tthis.grupobodegaDataAccess = new GrupoBodegaDataAccess();\r\n\t\t\t\r\n\t\t\tthis.grupobodegas= new ArrayList<GrupoBodega>();\r\n\t\t\tthis.grupobodega= new GrupoBodega();\r\n\t\t\t\r\n\t\t\tthis.grupobodegaObject=new Object();\r\n\t\t\tthis.grupobodegasObject=new ArrayList<Object>();\r\n\t\t\t\t\r\n\t\t\t/*\r\n\t\t\tthis.connexion=new Connexion();\r\n\t\t\tthis.datosCliente=new DatosCliente();\r\n\t\t\tthis.arrDatoGeneral= new ArrayList<DatoGeneral>();\r\n\t\t\t\r\n\t\t\t//INICIALIZA PARAMETROS CONEXION\r\n\t\t\tthis.connexionType=Constantes.CONNEXIONTYPE;\r\n\t\t\tthis.parameterDbType=Constantes.PARAMETERDBTYPE;\r\n\t\t\t\r\n\t\t\tif(Constantes.CONNEXIONTYPE.equals(ConnexionType.HIBERNATE)) {\r\n\t\t\t\tthis.entityManagerFactory=ConstantesCommon.JPAENTITYMANAGERFACTORY;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tthis.datosDeep=new DatosDeep();\r\n\t\t\tthis.isConDeep=false;\r\n\t\t\t*/\r\n\t\t\t\r\n\t\t\tthis.grupobodegaDataAccess.setConnexionType(this.connexionType);\r\n\t\t\tthis.grupobodegaDataAccess.setParameterDbType(this.parameterDbType);\r\n\t\t\t\r\n\t\t\t\r\n\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\tthis.invalidValues=new InvalidValue[0];\r\n\t\t\tthis.stringBuilder=new StringBuilder();\r\n\t\t\tthis.conMostrarMensajesStringBuilder=true;\r\n\t\t\t\r\n\t\t} catch(Exception e) {\r\n\t\t\tFunciones.manageException(logger,e);\r\n\t\t\tthrow e;\r\n\t\t}\t \r\n }",
"public ordenProduccion() {\r\n initComponents();\r\n }",
"public RegCita() {\n\t\tinitialize();\n\t}",
"public interface GestioneAmministratore {\n\t\n\tpublic void aggiungeAmministratore(Amministratore a);\n\n\tpublic void rimuoveAmministratore(Amministratore a);\n\n\tpublic void modificaAmministratore(Amministratore a);\n}",
"public JPMetaDados() {\n initComponents();\n postgresElicitedBases = FacadePostgresElicitedBases.getPostgresElicitedBases();\n// MetodosUtil.setCombo(jCSGBD);\n jCSGBD.addItemListener(new ComboListener(this));\n }",
"public TipoDocumentoMB() {\n tipoDoc = new TipoDocPersona();\n }",
"public Registro() {\n initComponents();\n }",
"public Registro() {\n initComponents();\n }",
"public void inizializza() {\n Navigatore nav;\n Portale portale;\n\n super.inizializza();\n\n try { // prova ad eseguire il codice\n\n Modulo modulo = getModuloRisultati();\n modulo.inizializza();\n// Campo campo = modulo.getCampoChiave();\n// campo.setVisibileVistaDefault(false);\n// campo.setPresenteScheda(false);\n// Vista vista = modulo.getVistaDefault();\n// vista.getElement\n// Campo campo = vista.getCampo(modulo.getCampoChiave());\n\n\n\n /* aggiunge il Portale Navigatore al pannello placeholder */\n nav = this.getNavigatore();\n portale = nav.getPortaleNavigatore();\n this.getPanNavigatore().add(portale);\n\n } catch (Exception unErrore) { // intercetta l'errore\n Errore.crea(unErrore);\n }// fine del blocco try-catch\n\n }",
"public void carregar(DadosGrafico dados){\r\n \r\n }",
"public Ctacliente() {\n\t}",
"public ControllerProtagonista() {\n\t}",
"public Stagiaire() {\n initComponents();\n }"
] | [
"0.72606623",
"0.6723252",
"0.6561057",
"0.6459126",
"0.6435158",
"0.6390917",
"0.6369798",
"0.634655",
"0.6346535",
"0.6309236",
"0.6281146",
"0.62453437",
"0.6240644",
"0.62383866",
"0.62207973",
"0.62098753",
"0.62049615",
"0.61948675",
"0.6187377",
"0.6154623",
"0.61430573",
"0.6118362",
"0.61180526",
"0.61096376",
"0.6108234",
"0.6071789",
"0.6067215",
"0.6061923",
"0.6045803",
"0.6032745",
"0.602759",
"0.60232246",
"0.60190505",
"0.6012515",
"0.6011928",
"0.6003777",
"0.6003111",
"0.59896624",
"0.59828496",
"0.598014",
"0.59757364",
"0.59734064",
"0.59694964",
"0.5964925",
"0.596473",
"0.59519",
"0.59458166",
"0.59446317",
"0.594071",
"0.59348035",
"0.5932292",
"0.5931093",
"0.5930699",
"0.59231454",
"0.5922461",
"0.59063286",
"0.5904185",
"0.59024924",
"0.5887436",
"0.58769846",
"0.5874371",
"0.5867552",
"0.5861224",
"0.58578867",
"0.5852735",
"0.58525574",
"0.5845417",
"0.5837723",
"0.583657",
"0.5835131",
"0.5833162",
"0.58319587",
"0.58307636",
"0.58286494",
"0.58279085",
"0.5822309",
"0.5821308",
"0.581934",
"0.58184254",
"0.5817243",
"0.58165264",
"0.581435",
"0.58127546",
"0.58029735",
"0.57965696",
"0.57820266",
"0.57814634",
"0.5779147",
"0.5775753",
"0.5775057",
"0.57738453",
"0.57734835",
"0.57667917",
"0.57659096",
"0.57659096",
"0.57651484",
"0.5763342",
"0.57598865",
"0.5751391",
"0.5743615"
] | 0.67303646 | 1 |
/ Metodo che richiama la funzione lancia del Dado | public int lancia() {
lancio = dado.tiraDado();
this.numLanci++;
return lancio;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tvoid geraDados() {\n\n\t}",
"Funcionario(){\n }",
"public void operacao();",
"public void Ordenamiento() {\n\n\t}",
"public void datos_elegidos(){\n\n\n }",
"@Override\n protected void adicionar(Funcionario funcionario) {\n\n }",
"public void MieiOrdini()\r\n {\r\n getOrdini();\r\n\r\n }",
"public FuncionesSemanticas(){\r\n\t}",
"public void asetaTeksti(){\n }",
"public FaseDescartes faseJuego();",
"@Override\n\tpublic void dibuja() {\n\t\t\n\t}",
"int getRegistroFuncional();",
"public void dor(){\n }",
"public void leerAlimentos();",
"private void limpiarDatos() {\n\t\t\n\t}",
"@Override\n public void alRechazarOperacion() {\n }",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"public void carregar(DadosGrafico dados){\r\n \r\n }",
"private void comerFantasma(Fantasma fantasma) {\n // TODO implement here\n }",
"public void aplicarDescuento();",
"public abstract String dohvatiKontakt();",
"void pasarALista();",
"public void cadastrarFuncionario() {\n\t\tFuncionarioDAOImpl daoFuncionario = new FuncionarioDAOImpl();\n\t\tdaoFuncionario.save(funcionario);\n\t\t//return retorno;\n\t}",
"@Override\r\n\tvoid func04() {\n\t\t\r\n\t}",
"Debut getDebut();",
"public TelaRelatorioFuncionarioCargo() {\n initComponents();\n funcionarios = new ArrayList<Funcionario>();\n }",
"public void recibeOrden() {\r\n\t\tSystem.out.println(\"Ordene mi General\");\r\n\t}",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"public int getIdfuncionario() {\n return idfuncionario;\n }",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"public Funcionario(String nome, String funcao, int matricula) {\n\t\tsuper();\n\t\tthis.nome = nome;\n\t\tthis.funcao = funcao;\n\t\tthis.matricula = matricula;\n\t}",
"@Override\n\tpublic void mostrarDados() {\n\t\t\n\t}",
"@Override\r\n\tpublic void horario() {\n\t\t\r\n\t}",
"public interface Funcao {\n\n public void atualizaTela(DeviceData d);\n\n}",
"public void ouvrirListe(){\n\t\n}",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"public void trenneVerbindung();",
"public void listaFuncionarios() {\n this.telaFuncionario.mensagemListaFuncionarios();\n for (Funcionario funcionarioCadastrado : funcionarioDAO.getList()) { //funcionariosDAO list - coloca tudo em um arrayzao e depois manda pra tela\n int matricula = funcionarioCadastrado.getMatricula();\n String nome = funcionarioCadastrado.getNome();\n String dataNascimento = funcionarioCadastrado.getDataNascimento();\n int telefone = funcionarioCadastrado.getTelefone();\n int salario = funcionarioCadastrado.getSalario();\n Cargo cargo = funcionarioCadastrado.getCargo();\n this.telaFuncionario.exibeFuncionario(matricula, nome, dataNascimento, telefone, salario, cargo);\n }\n exibeMenuFuncionario();\n }",
"public void notificaAlgiocatore(int azione, Giocatore g) {\n\r\n }",
"private void mostrarEmenta (){\n }",
"public Funcionario() {\r\n\t\t\r\n\t}",
"public interface ControlloGioco {\r\n public boolean ControlDisco(int riga, int colonna, boolean colore);\r\n\r\n}",
"@Override\n\tpublic void coba() {\n\t\t\n\t}",
"public String cargarDatos()\r\n/* 137: */ {\r\n/* 138:163 */ limpiar();\r\n/* 139:164 */ return \"\";\r\n/* 140: */ }",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"double getDiametro(){\n return raggio * 2;\n }",
"public void selecao () {}",
"private List<RhFuncionario> getFuncionarios()\n {\n System.out.println(\"supiEscalaFacade.findEnfermeiros():\"+supiEscalaFacade.findEnfermeiros());\n return supiEscalaFacade.findEnfermeiros();\n }",
"private DittaAutonoleggio(){\n \n }",
"@Override\n\tpublic void function() {\n\t\t\n\t}",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"@Override\n public void memoria() {\n \n }",
"public void controlaMenuFuncionario() {\n int opcao = this.telaFuncionario.pedeOpcao();\n\n switch (opcao) {\n case 1:\n incluiFuncionario();\n break;\n case 2:\n editaFuncionario();\n break;\n case 3:\n listaFuncionarios();\n break;\n case 4:\n menuDeletaFuncionario();\n break;\n case 5:\n ControladorPrincipal.getInstance().exibeMenuPrincipal();\n break;\n default:\n this.telaFuncionario.opcaoInexistente();\n exibeMenuFuncionario();\n break;\n }\n\n }",
"@Override // Métodos que fazem a anulação\n\tpublic void getBonificação() {\n\t\t\n\t}",
"public Funcionaria(){\n\n }",
"public Funcionario(String nome, double salario){//construtor\nthis.nome=nome;\nthis.salario=salario;\n\n}",
"public void prenderVehiculo();",
"public void Ingresar() {\nTipoCliente();\n\t\t\t\t\t\t\t\t\t\n}",
"public void leerPlanDieta(int id_paciente);",
"public VotacaoSegundoDia() {\n\n\t}",
"public void generTirarDados() {\n\r\n\t}",
"void usada() {\n mazo.habilitarCartaEspecial(this);\n }",
"public void validerSaisie();",
"public void estiloAcierto() {\r\n\t\t /**Bea y Jose**/\t\t\r\n \r\n\t}",
"@Override\n public void cantidad_Defensa(){\n defensa=2+nivel+aumentoD;\n }",
"Reserva Obtener();",
"public void sendeSpielfeld();",
"@Override\n\tpublic void transmetDonnee() {\n\n\t}",
"public void ordenaPontos(){\r\n\t\tloja.ordenaPontos();\r\n\t}",
"abstract void trataAltera();",
"@Override // Métodos que fazem a anulação\n\tpublic void vota() {\n\t\t\n\t}",
"public abstract void alimentarse();",
"public void decidiOrdine() {\n\r\n }",
"public void Metodo1(String valor1){\r\n\r\n }",
"public void proximo(){//executa metodo que passa para proxima pagina de registro de funcioanrios\r\n\t\tdao.proximo();\r\n\t}",
"@Override\n public String cualquierMetodo2() {\n return \"Método implementado en la clase hija viaje de incentivo\";\n }",
"@Override//sobrescribir metodo\n public String getDescripcion(){\n return hamburguesa.getDescripcion()+\" + lechuga\";//retorna descripcion del oobj hamburguesa y le agrega +lechuga\n }",
"public CadastrarFuncionario(Kernel obj,int acao,Object texto) {\n kernel = obj; \n bd_Funcionario = new BD_Funcionario(kernel);\n bd_Nivel = new BD_Nivel(kernel);\n \n initComponents(); \n \n /********* PREENCHENDO O VETOR Nivel *************/ \n Nivel[] Nivel_vetor = null;\n try {\n Nivel_vetor = bd_Nivel.getNivels();\n } catch (SQLException exx) {\n Logger.getLogger(CadastrarFuncionario.class.getName()).log(Level.SEVERE, null, exx);\n }\n String dados4[] = new String[Nivel_vetor.length];\n\n obj_Nivel = new Nivel();\n int pos4 = 0;\n for(int i=0; i < Nivel_vetor.length; i++){\n obj_Nivel = (Nivel)Nivel_vetor[i];\n dados4[i] = String.valueOf(obj_Nivel.getNome()).toUpperCase(); \n if(i==0){\n Nivel_id.setText(String.valueOf(obj_Nivel.getNivel_id()));\n }\n }\n combo_nivel.setModel(new javax.swing.DefaultComboBoxModel(dados4)); \n \n if(acao!=0){\n combo_nivel.setSelectedIndex(pos4);\n } \n /*****************************************************************/\n \n if(acao!=0){\n try {\n PreencherFormulario(acao);\n } catch (SQLException ex) {\n Logger.getLogger(CadastrarFuncionario.class.getName()).log(Level.SEVERE, null, ex);\n }\n }\n \n \n }",
"public void clickFunc() {\n\t\t\n\t\tString sql = \"INSERT INTO `caqui`.`funcionarios` (`Nome`, `RG`, `CPF`, `Telefone`, `Data_Nascimento`, `Numero_Carteira_Trabalho`, `Celular`, `Email`, `Data_Admissao`, `Funcao`, `Endereco_idEndereco`) VALUES ('\"+Nome+\"', '\"+RG+\"', '\"+CPF+\"', '\"+Telefone+\"', '\"+Nasci+\"', '\"+Carteira+\"', '\"+Celular+\"', '\"+Email+\"', '\"+Admissao+\"', '\"+Funcao+\"', '\"+id_end+\"')\";\n\t\t\n\t\tConn.ConectaSql(sql);\n\t}",
"public void operar() {\n\t\tOperacionMetodoRef op2 = MetRefApp::referenciaMedodoStatic;\n\t\top2.saludar();\n\t}",
"public void mostrarCompra() {\n }",
"public String elegir();",
"public void leerPlanesDietas();",
"public void asignarVida();",
"@Override\n\tpublic void pausaParaComer() {\n\n\t}",
"private ControleurAcceuil(){ }",
"public void consultaDinero(){\r\n System.out.println(this.getMonto());\r\n }",
"public void llamarFuncion(String nombreFuncion, String symb, Integer in) throws Exception{\n\n boolean running = false;\n java.lang.reflect.Method method = null;\n try{\n method = this.getClass().getMethod(nombreFuncion.toLowerCase(), symb.getClass(), in.getClass());\n }catch(SecurityException e){\n System.out.println(\"Security exception\");\n }catch(NoSuchMethodException e){\n System.out.println(\"Method doesn't exists\");\n }\n\n try{\n method.invoke(this, symb, in);\n }catch (IllegalArgumentException e){\n System.out.println(\"Argumento ilegal\");\n }catch (IllegalAccessException e){\n System.out.println(\"Acceso ilegal\");\n }\n }",
"public void finePartita() {\n\r\n }",
"@Override\n public void cantidad_Ataque(){\n ataque=5+2*nivel+aumentoT;\n }",
"public String MuestraCualquiera() {//PARA MOSTRAR CUALQUIER TIPO DE CLIENTE\nString Muestra=\"\";\n\nif(getTipoCliente().equals(\"Docente\")) {//SI ES DOCENTE\nMuestra=MuestraDocente();//SE MUESTRAN SOLO LOS DATOS DE DOCENTE\n}else if(getTipoCliente().equalsIgnoreCase(\"Administrativo\")) {//SI ES ADMINISTRATIVO\nMuestra=MuestraAdministrativo();//SE MUESTRAN SOLO LOS DATOS DE ADMINISTRATIVO\n}\n\nreturn Muestra;\n}",
"public String cargarDatos()\r\n/* 514: */ {\r\n/* 515:540 */ return null;\r\n/* 516: */ }",
"public void iniciar()\n {\n }",
"void courir();",
"void berechneFlaeche() {\n\t}",
"@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}",
"public Pengenalan(){ //Constructor (Nama harus sama dengan Class)\n System.out.println(\"\\nConstructor : \");\n System.out.println(\"Dibutuhkan untuk pemanggilan saat diimport oleh Class lain atau Class sendiri\");\n methode();\n int men = menthos();\n System.out.println(\"Nilai yang didapat dari method menthos : \"+men);\n }",
"public interface CalculadoraGeneral {\n public String Calculo(String element);\n}",
"private static void cajas() {\n\t\t\n\t}",
"public void iniciarRotina() {\n }"
] | [
"0.7091167",
"0.7054708",
"0.6969963",
"0.6902925",
"0.68424946",
"0.672638",
"0.6539841",
"0.63536227",
"0.6329878",
"0.6314729",
"0.63094914",
"0.6285575",
"0.6282866",
"0.62817746",
"0.6267593",
"0.624766",
"0.6218606",
"0.6200203",
"0.61624706",
"0.6154461",
"0.6132458",
"0.61301094",
"0.6105453",
"0.6102969",
"0.60900146",
"0.60735065",
"0.60720444",
"0.60661936",
"0.6062537",
"0.6055004",
"0.6038933",
"0.6034685",
"0.6034344",
"0.60309833",
"0.6028942",
"0.60288835",
"0.6024624",
"0.6021919",
"0.6013606",
"0.6011777",
"0.6010444",
"0.6004791",
"0.6002519",
"0.60020643",
"0.5996391",
"0.5996391",
"0.597588",
"0.59721434",
"0.5966638",
"0.5953472",
"0.59516174",
"0.59502774",
"0.59333277",
"0.5917839",
"0.5908262",
"0.5883432",
"0.58787143",
"0.58748204",
"0.5868415",
"0.5864503",
"0.58607936",
"0.58537716",
"0.58516496",
"0.5851506",
"0.58338636",
"0.58240765",
"0.58237547",
"0.5818195",
"0.5817975",
"0.5816264",
"0.5811704",
"0.58114636",
"0.58085704",
"0.58016276",
"0.5800686",
"0.5800641",
"0.57966703",
"0.5794097",
"0.5775808",
"0.5774106",
"0.57712156",
"0.57615644",
"0.5758168",
"0.5757034",
"0.57556564",
"0.5754942",
"0.5754233",
"0.57493216",
"0.57446945",
"0.57442987",
"0.57429284",
"0.5742823",
"0.57423145",
"0.57408214",
"0.5734793",
"0.5732218",
"0.5729246",
"0.57267076",
"0.57248634",
"0.5723811",
"0.5719347"
] | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public ItemStack decrStackSize(int par1, int par2) {
if (this.stack[par1] != null)
{
ItemStack var3;
if (this.stack[par1].stackSize <= par2)
{
var3 = this.stack[par1];
this.stack[par1] = null;
return var3;
}
else
{
var3 = this.stack[par1].splitStack(par2);
if (this.stack[par1].stackSize == 0)
{
this.stack[par1] = null;
}
return var3;
}
}
else
{
return null;
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExras() {\n\n\t}",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n protected void getExras() {\n }",
"@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}",
"@Override\n\tpublic void nefesAl() {\n\n\t}",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"@Override\n\tprotected void initdata() {\n\n\t}",
"@Override\n\tpublic void nghe() {\n\n\t}",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"public final void mo51373a() {\n }",
"@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\n\tprotected void initData() {\n\t\t\n\t}",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}",
"public void designBasement() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}",
"public void gored() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\r\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override\n protected void initialize() {\n\n \n }",
"public void mo38117a() {\n }",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"Constructor() {\r\n\t\t \r\n\t }",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void one() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"private stendhal() {\n\t}",
"@Override\n\tprotected void update() {\n\t\t\n\t}",
"@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n public void init() {\n\n }",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"public contrustor(){\r\n\t}",
"@Override\n\tprotected void initialize() {\n\n\t}",
"@Override\r\n\tpublic void dispase() {\n\r\n\t}",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"@Override\n\tpublic void dtd() {\n\t\t\n\t}",
"@Override\n\tprotected void logic() {\n\n\t}",
"@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}",
"public void mo4359a() {\n }",
"@Override\r\n\tprotected void initialize() {\n\r\n\t}",
"@Override\n public void memoria() {\n \n }",
"@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}",
"private RepositorioAtendimentoPublicoHBM() {\r\t}",
"@Override\n protected void initialize() \n {\n \n }",
"@Override\r\n\tpublic void getProposition() {\n\r\n\t}",
"@Override\n\tpublic void particular1() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n protected void prot() {\n }",
"@Override\r\n\tpublic void init()\r\n\t{\n\t}",
"@Override\n\tprotected void initValue()\n\t{\n\n\t}",
"public void mo55254a() {\n }"
] | [
"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.6080161",
"0.6077022",
"0.6041561",
"0.6024072",
"0.6020252",
"0.59984857",
"0.59672105",
"0.59672105",
"0.5965777",
"0.59485507",
"0.5940904",
"0.59239364",
"0.5910017",
"0.5902906",
"0.58946234",
"0.5886006",
"0.58839184",
"0.58691067",
"0.5857751",
"0.58503544",
"0.5847024",
"0.58239377",
"0.5810564",
"0.5810089",
"0.5806823",
"0.5806823",
"0.5800025",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5790187",
"0.5789414",
"0.5787092",
"0.57844025",
"0.57844025",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5761362",
"0.57596046",
"0.57596046",
"0.575025",
"0.575025",
"0.575025",
"0.5747959",
"0.57337177",
"0.57337177",
"0.57337177",
"0.5721452",
"0.5715831",
"0.57142824",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.5711723",
"0.57041645",
"0.56991017",
"0.5696783",
"0.56881124",
"0.56774884",
"0.56734604",
"0.56728",
"0.56696945",
"0.5661323",
"0.5657007",
"0.5655942",
"0.5655942",
"0.5655942",
"0.56549734",
"0.5654792",
"0.5652974",
"0.5650185"
] | 0.0 | -1 |
Screen field Add this field in the Record's field sequence. | public BaseField setupField(int iFieldSeq)
{
BaseField field = null;
if (iFieldSeq == 0)
field = new HotelField(this, PRODUCT_ID, Constants.DEFAULT_FIELD_LENGTH, null, null);
//if (iFieldSeq == 1)
// field = new DateField(this, START_DATE, Constants.DEFAULT_FIELD_LENGTH, null, null);
//if (iFieldSeq == 2)
// field = new DateField(this, END_DATE, Constants.DEFAULT_FIELD_LENGTH, null, null);
//if (iFieldSeq == 3)
// field = new StringField(this, DESCRIPTION, 10, null, null);
//if (iFieldSeq == 4)
// field = new CityField(this, CITY_ID, Constants.DEFAULT_FIELD_LENGTH, null, null);
//if (iFieldSeq == 5)
// field = new CityField(this, TO_CITY_ID, Constants.DEFAULT_FIELD_LENGTH, null, null);
//if (iFieldSeq == 6)
// field = new ContinentField(this, CONTINENT_ID, Constants.DEFAULT_FIELD_LENGTH, null, null);
//if (iFieldSeq == 7)
// field = new RegionField(this, REGION_ID, Constants.DEFAULT_FIELD_LENGTH, null, null);
//if (iFieldSeq == 8)
// field = new CountryField(this, COUNTRY_ID, Constants.DEFAULT_FIELD_LENGTH, null, null);
//if (iFieldSeq == 9)
// field = new StateField(this, STATE_ID, Constants.DEFAULT_FIELD_LENGTH, null, null);
//if (iFieldSeq == 10)
// field = new VendorField(this, VENDOR_ID, Constants.DEFAULT_FIELD_LENGTH, null, null);
if (iFieldSeq == 11)
field = new HotelRateField(this, RATE_ID, Constants.DEFAULT_FIELD_LENGTH, null, null);
if (iFieldSeq == 12)
field = new HotelClassField(this, CLASS_ID, Constants.DEFAULT_FIELD_LENGTH, null, null);
//if (iFieldSeq == 13)
// field = new DateField(this, DETAIL_DATE, Constants.DEFAULT_FIELD_LENGTH, null, null);
//if (iFieldSeq == 14)
// field = new ShortField(this, PAX, Constants.DEFAULT_FIELD_LENGTH, null, new Short((short)2));
//if (iFieldSeq == 15)
// field = new HotelScreenRecord_LastChanged(this, LAST_CHANGED, Constants.DEFAULT_FIELD_LENGTH, null, null);
//if (iFieldSeq == 16)
// field = new BooleanField(this, REMOTE_QUERY_ENABLED, Constants.DEFAULT_FIELD_LENGTH, null, null);
//if (iFieldSeq == 17)
// field = new ShortField(this, BLOCKED, Constants.DEFAULT_FIELD_LENGTH, null, null);
//if (iFieldSeq == 18)
// field = new ShortField(this, OVERSELL, Constants.DEFAULT_FIELD_LENGTH, null, null);
//if (iFieldSeq == 19)
// field = new BooleanField(this, CLOSED, Constants.DEFAULT_FIELD_LENGTH, null, null);
//if (iFieldSeq == 20)
// field = new BooleanField(this, DELETE, Constants.DEFAULT_FIELD_LENGTH, null, null);
//if (iFieldSeq == 21)
// field = new BooleanField(this, READ_ONLY, Constants.DEFAULT_FIELD_LENGTH, null, null);
//if (iFieldSeq == 22)
// field = new ProductSearchTypeField(this, PRODUCT_SEARCH_TYPE_ID, Constants.DEFAULT_FIELD_LENGTH, null, null);
//if (iFieldSeq == 23)
// field = new ProductTypeField(this, PRODUCT_TYPE_ID, Constants.DEFAULT_FIELD_LENGTH, null, null);
if (iFieldSeq == 24)
field = new PaxCategorySelect(this, PAX_CATEGORY_ID, Constants.DEFAULT_FIELD_LENGTH, null, null);
if (field == null)
field = super.setupField(iFieldSeq);
return field;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@attribute(value = \"\", required = true)\t\r\n\tpublic void addField(Field f) {\r\n\t\tfields.put(\"\" + fieldCount++, f);\r\n\t}",
"public BaseField setupField(int iFieldSeq)\n {\n BaseField field = null;\n //if (iFieldSeq == 0)\n // field = new TicketScreenRecord_ReportDate(this, REPORT_DATE, Constants.DEFAULT_FIELD_LENGTH, null, null);\n //if (iFieldSeq == 1)\n // field = new TicketScreenRecord_ReportTime(this, REPORT_TIME, Constants.DEFAULT_FIELD_LENGTH, null, null);\n //if (iFieldSeq == 2)\n // field = new TicketScreenRecord_ReportUserID(this, REPORT_USER_ID, Constants.DEFAULT_FIELD_LENGTH, null, null);\n //if (iFieldSeq == 3)\n // field = new ShortField(this, REPORT_PAGE, Constants.DEFAULT_FIELD_LENGTH, null, new Short((short)1));\n //if (iFieldSeq == 4)\n // field = new IntegerField(this, REPORT_COUNT, Constants.DEFAULT_FIELD_LENGTH, null, new Integer(0));\n //if (iFieldSeq == 5)\n // field = new CurrencyField(this, REPORT_TOTAL, Constants.DEFAULT_FIELD_LENGTH, null, new Double(0));\n //if (iFieldSeq == 6)\n // field = new IntegerField(this, REPORT_KEY_AREA, Constants.DEFAULT_FIELD_LENGTH, null, null);\n if (iFieldSeq == 7)\n field = new ShortField(this, COUNT, Constants.DEFAULT_FIELD_LENGTH, null, null);\n if (iFieldSeq == 8)\n field = new CurrencyField(this, TOTAL, Constants.DEFAULT_FIELD_LENGTH, null, null);\n if (iFieldSeq == 9)\n field = new TicketReportOrderField(this, REPORT_ORDER, Constants.DEFAULT_FIELD_LENGTH, null, null);\n if (iFieldSeq == 10)\n field = new DateField(this, START_DEPARTURE, Constants.DEFAULT_FIELD_LENGTH, null, null);\n if (iFieldSeq == 11)\n field = new DateField(this, END_DEPARTURE, Constants.DEFAULT_FIELD_LENGTH, null, null);\n if (iFieldSeq == 12)\n field = new DateField(this, START_ISSUE, Constants.DEFAULT_FIELD_LENGTH, null, null);\n if (iFieldSeq == 13)\n field = new DateField(this, END_ISSUE, Constants.DEFAULT_FIELD_LENGTH, null, null);\n if (iFieldSeq == 14)\n field = new BooleanField(this, INCLUDE_VOID, Constants.DEFAULT_FIELD_LENGTH, null, null);\n if (iFieldSeq == 15)\n field = new AirlineField(this, AIRLINE_1ID, Constants.DEFAULT_FIELD_LENGTH, null, null);\n if (iFieldSeq == 16)\n field = new AirlineField(this, AIRLINE_2ID, Constants.DEFAULT_FIELD_LENGTH, null, null);\n if (iFieldSeq == 17)\n field = new AirlineField(this, AIRLINE_3ID, Constants.DEFAULT_FIELD_LENGTH, null, null);\n if (iFieldSeq == 18)\n field = new AirlineField(this, AIRLINE_4ID, Constants.DEFAULT_FIELD_LENGTH, null, null);\n if (iFieldSeq == 19)\n field = new StringField(this, START_TICKET, 20, null, null);\n if (iFieldSeq == 20)\n field = new StringField(this, END_TICKET, 20, null, null);\n if (field == null)\n field = super.setupField(iFieldSeq);\n return field;\n }",
"public BaseField setupField(int iFieldSeq)\n {\n BaseField field = null;\n //if (iFieldSeq == 0)\n //{\n // field = new CounterField(this, ID, Constants.DEFAULT_FIELD_LENGTH, null, null);\n // field.setHidden(true);\n //}\n //if (iFieldSeq == 1)\n //{\n // field = new RecordChangedField(this, LAST_CHANGED, Constants.DEFAULT_FIELD_LENGTH, null, null);\n // field.setHidden(true);\n //}\n //if (iFieldSeq == 2)\n //{\n // field = new BooleanField(this, DELETED, Constants.DEFAULT_FIELD_LENGTH, null, new Boolean(false));\n // field.setHidden(true);\n //}\n if (iFieldSeq == 3)\n field = new StringField(this, NAME, 60, null, null);\n if (field == null)\n field = super.setupField(iFieldSeq);\n return field;\n }",
"@Override\r\n\tpublic void addField(Field field) \r\n\t{\r\n\t\tif(this.fields == null)\r\n\t\t{\r\n\t\t\tthis.fields = new ArrayList<>();\r\n\t\t}\r\n\t\tthis.fields.add(field);\r\n\t}",
"public UiFieldRecord() {\n super(UiField.UI_FIELD);\n }",
"public void addField(IdentifierProperties field) {\n fields.add(field);\n }",
"protected void setAddRecord() {\n\t\tbackIV.setVisibility(View.GONE);\r\n\t\tbarLayout.setVisibility(View.GONE);\r\n\t\tif (addRecordFrag == null) {\r\n\t\t\tfTransaction.add(R.id.content, new AddRecordFrag(),\r\n\t\t\t\t\tAddRecordFrag.TAG);\r\n\t\t} else {\r\n\t\t\tfTransaction.attach(addRecordFrag);\r\n\t\t}\r\n\t\ttitleTV.setText(R.string.add_record);\r\n\t}",
"public void addField()\n {\n DefaultMutableTreeNode node = (DefaultMutableTreeNode) availableFieldsComp.getTree().getLastSelectedPathComponent();\n if (node == null || !node.isLeaf() || !(node.getUserObject() instanceof DataObjDataFieldWrapper) )\n {\n return; // not really a field that can be added, just empty or a string\n }\n\n Object obj = node.getUserObject();\n if (obj instanceof DataObjDataFieldWrapper)\n {\n DataObjDataFieldWrapper wrapper = (DataObjDataFieldWrapper) obj;\n String sep = sepText.getText();\n if (StringUtils.isNotEmpty(sep))\n {\n try\n {\n DefaultStyledDocument doc = (DefaultStyledDocument) formatEditor.getStyledDocument();\n if (doc.getLength() > 0)\n {\n doc.insertString(doc.getLength(), sep, null);\n }\n }\n catch (BadLocationException ble) {}\n \n }\n insertFieldIntoTextEditor(wrapper);\n setHasChanged(true);\n }\n }",
"public void addField(Field f) {\n\t\tif (getSwiftMessage() == null) {\n\t\t\tthis.m = new SwiftMessage();\n\t\t}\n\t\tgetSwiftMessage().getBlock4().add(f);\n\t}",
"public void addField(EAdField<?> var) {\r\n\t\tfields.add(var);\r\n\t}",
"public void addField(TemplateField field)\r\n{\r\n\tfields.addElement(field);\r\n}",
"public String getNextField () {\n return nextField.toString();\n }",
"public HField(HActivity act) {\n this.act = act;\n if (act != null) {\n act.fields.add(this);\n }\n }",
"public void addRecord();",
"@attribute(value = \"\", required = true)\t\r\n\tpublic void addNumberField(NumberField f) {\r\n\t\tfields.put(\"\" + fieldCount++, f);\r\n\t}",
"public void addField(FieldRequest field) {\n\t\tfields.add(field);\n\t}",
"public void addField(FieldDeclaration field) {\n m_classBuilder.addField(field);\n }",
"@attribute(value = \"\", required = true)\t\r\n\tpublic void addDateField(DateField f) {\r\n\t\tfields.put(\"\" + fieldCount++, f);\r\n\t}",
"void addFieldBinding( FieldBinding binding );",
"private static void addField() {\n double width = FIELD_FRACTION * FLAG_WIDTH;\n double height = FLAG_HEIGHT * 7 / 13;\n PPRect field = new PPRect(x0, y0, width, height);\n field.setColor(Color.BLUE);\n slide.add(field);\n double dx = width / 6;\n double dy = height / 5;\n double starSize = STAR_FRACTION * Math.min(dx, dy);\n for (int row = 0; row < 5; row++) {\n double y = y0 + (row + 0.5) * dy;\n for (int col = 0; col < 6; col++) {\n double x = x0 + (col + 0.5) * dx;\n PPStar star = new PPStar(x - starSize / 2, y - starSize / 2,\n starSize, starSize);\n star.setColor(Color.WHITE);\n slide.add(star);\n }\n }\n for (int row = 0; row < 4; row++) {\n double y = y0 + (row + 1) * dy;\n for (int col = 0; col < 5; col++) {\n double x = x0 + (col + 1) * dx;\n PPStar star = new PPStar(x - starSize / 2, y - starSize / 2,\n starSize, starSize);\n star.setColor(Color.WHITE);\n slide.add(star);\n }\n }\n }",
"private String nextFieldCode()\r\n\t{\r\n\t\treturn \"R\" + (nextFieldId++);\r\n\t}",
"public final void addTextField() {\n\t\taddDecoratorForBuiltInFormComponent(new TextField<>(\"textField\"), \"textFieldFragment\");\n\t}",
"Rule Field() {\n // Push 1 FieldNode onto the value stack\n return Sequence(\n Optional(FieldID()),\n Optional(FieldReq()),\n FieldType(), // pushes FieldType onto the value stack\n Identifier(), // pushes Identifier onto the value stack\n Optional(Sequence(\"= \", ConstValue())),\n //XsdFieldOptions(),\n Optional(ListSeparator()),\n WhiteSpace(),\n actions.pushFieldNode());\n }",
"public void addField (String label, String field) {\n addField (label, field, \"\");\n }",
"protected void sequence_FieldDecl(ISerializationContext context, FieldDecl semanticObject) {\r\n\t\tgenericSequencer.createSequence(context, semanticObject);\r\n\t}",
"private void addFieldToBook(String config_id, GOlrField field) {\n if (!unique_fields.containsKey(field.id)) {\n unique_fields.put(field.id, field);\n } else {\n // check if defined fields are equivalent\n if (!unique_fields.get(field.id).equals(field)) {\n throw new IllegalStateException(field.id + \" is defined twice with different properties.\\n\"\n + unique_fields.get(field.id) + \"\\n\" + field);\n }\n }\n // Ensure presence of comments (description) list.\n if (!collected_comments.containsKey(field.id)) {\n collected_comments.put(field.id, new ArrayList<String>());\n }\n // And add to it if there is an available description.\n if (field.description != null) {\n ArrayList<String> comments = collected_comments.get(field.id);\n comments.add(\" \" + config_id + \": \" + field.description + \" \");\n collected_comments.put(field.id, comments);\n }\n }",
"public void addTextField(String label, String fill, int index) {\n //inflater needed to \"inflate\" layouts\n LayoutInflater inflater = (LayoutInflater) getSystemService(Context.LAYOUT_INFLATER_SERVICE);\n //instantiate our data object.\n ElementTextField elementTextField = new ElementTextField(label, fill);\n //insert element data object in slot on page\n if (isLoading){\n currentPage.addElement(elementTextField);\n }else{\n currentPage.insertElement(index, elementTextField);\n }\n //we need to instantiate our xml fragment (text field) and bind it to the data object\n TextFieldBinding textFieldBinding = TextFieldBinding.inflate(inflater, null,false);\n textFieldBinding.setElementTextField(elementTextField);\n //get new view (our xml fragment -the text field) and add it to current view\n View newView = textFieldBinding.getRoot();\n if (isInspecting){\n EditText editText = newView.findViewById(R.id.label);\n editText.setFocusable(false);\n }\n linearLayoutBody.addView(newView, index);\n Context context = App.getContext();\n LogManager.reportStatus(context, \"INSPECTOR\", \"onTextField\");\n }",
"@Override\n\tpublic void addRec() {\n\t\t\n\t}",
"@attribute(value = \"\", required = false)\t\r\n\tpublic void addImageField(ImageField f) {\r\n\t\tfields.put(\"\" + fieldCount++, f);\r\n\t}",
"public org.landxml.schema.landXML11.FieldNoteDocument.FieldNote addNewFieldNote()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.FieldNoteDocument.FieldNote target = null;\r\n target = (org.landxml.schema.landXML11.FieldNoteDocument.FieldNote)get_store().add_element_user(FIELDNOTE$4);\r\n return target;\r\n }\r\n }",
"public void addField(BaseField newf)\n\t{\n\t\tif(m_baseList == null)\n\t\t\tm_baseList = new ArrayList<BaseField>();\n\t\tm_baseList.add(newf);\n\t}",
"@attribute(value = \"\", required = true)\t\r\n\tpublic void addCharField(CharField f) {\r\n\t\tfields.put(\"\" + fieldCount++, f);\r\n\t}",
"private void addrec() {\n\t\tnmfkpinds.setPgmInd34(false);\n\t\tnmfkpinds.setPgmInd36(true);\n\t\tnmfkpinds.setPgmInd37(false);\n\t\tstateVariable.setActdsp(replaceStr(stateVariable.getActdsp(), 1, 8, \"ADDITION\"));\n\t\tstateVariable.setXwricd(\"INV\");\n\t\ttransactionTypeDescription.retrieve(stateVariable.getXwricd());\n\t\tnmfkpinds.setPgmInd99(! lastIO.isFound());\n\t\t// BR00003 Trn_Hst_Trn_Type not found on Transaction_type_description\n\t\tif (nmfkpinds.pgmInd99()) {\n\t\t\tstateVariable.setXwtdsc(all(\"-\", 20));\n\t\t}\n\t\tstateVariable.setXwa2cd(\"EAC\");\n\t\tstateVariable.setUmdes(replaceStr(stateVariable.getUmdes(), 1, 11, um[1]));\n\t\taddrec0();\n\t}",
"public void addParagraphField(String label, String fill, int index) {\n //inflater needed to \"inflate\" layouts\n LayoutInflater inflater = (LayoutInflater) getSystemService(Context.LAYOUT_INFLATER_SERVICE);\n //instantiate our data object.\n ElementParagraphField elementParagraphField = new ElementParagraphField(label, fill);\n //insert element data object in slot on page\n if (isLoading){\n currentPage.addElement(elementParagraphField);\n }else{\n currentPage.insertElement(index, elementParagraphField);\n }\n //we need to instantiate our xml fragment (text field) and bind it to the data object\n ParagraphFieldBinding paragraphFieldBinding = ParagraphFieldBinding.inflate(inflater, null,false);\n paragraphFieldBinding.setElementParagraghField(elementParagraphField);\n //get new view (our xml fragment -the text field) and add it to current view\n View newView = paragraphFieldBinding.getRoot();\n if (isInspecting){\n EditText editText = newView.findViewById(R.id.label);\n editText.setFocusable(false);\n }\n linearLayoutBody.addView(newView, index);\n Context context = App.getContext();\n LogManager.reportStatus(context, \"INSPECTOR\", \"onAddParagraphField\");\n }",
"public void addTextFieldsAndLabels(){\n this.add(this.firstLabel);\n this.add(firstNameField);\n this.add(this.secondLabel);\n this.add(lastNameField);\n }",
"public void addScreen(Screen screen) throws ScreenNumberAlreadyExistsException {\n filmEdit.addScreen(screen);\n setupScreensFromDB();\n }",
"protected void sequence_Field(ISerializationContext context, Field semanticObject) {\n\t\tif (errorAcceptor != null) {\n\t\t\tif (transientValues.isValueTransient(semanticObject, EntitiesPackage.Literals.FIELD__TYPE) == ValueTransient.YES)\n\t\t\t\terrorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, EntitiesPackage.Literals.FIELD__TYPE));\n\t\t\tif (transientValues.isValueTransient(semanticObject, EntitiesPackage.Literals.FIELD__NAME) == ValueTransient.YES)\n\t\t\t\terrorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, EntitiesPackage.Literals.FIELD__NAME));\n\t\t}\n\t\tSequenceFeeder feeder = createSequencerFeeder(context, semanticObject);\n\t\tfeeder.accept(grammarAccess.getFieldAccess().getTypeFieldTypeParserRuleCall_0_0(), semanticObject.getType());\n\t\tfeeder.accept(grammarAccess.getFieldAccess().getNameIDTerminalRuleCall_1_0(), semanticObject.getName());\n\t\tfeeder.finish();\n\t}",
"protected void addField(FieldEditor editor) {\n\t\tif (fields == null) {\n\t\t\tfields = new ArrayList<FieldEditor>();\n\t\t}\n\t\t// Set the actual preference name based on the current selection\n\t\t// in the Kie Navigator tree view. The preference name is constructed\n\t\t// from the path to the selected tree node by getPreferenceName().\n\t\tString name = editor.getPreferenceName();\n\t\teditor.setPreferenceName(getPreferenceName(name));\n\t\tfields.add(editor);\n\t}",
"public void setupFields()\n {\n FieldInfo field = null;\n field = new FieldInfo(this, \"ID\", Constants.DEFAULT_FIELD_LENGTH, null, null);\n field.setDataClass(Integer.class);\n field.setHidden(true);\n field = new FieldInfo(this, \"LastChanged\", Constants.DEFAULT_FIELD_LENGTH, null, null);\n field.setDataClass(Date.class);\n field.setHidden(true);\n field = new FieldInfo(this, \"Deleted\", 10, null, new Boolean(false));\n field.setDataClass(Boolean.class);\n field.setHidden(true);\n field = new FieldInfo(this, \"Description\", 25, null, null);\n field = new FieldInfo(this, \"CurrencyCode\", 3, null, null);\n field = new FieldInfo(this, \"LastRate\", 10, null, null);\n field.setDataClass(Double.class);\n field.setScale(-1);\n field = new FieldInfo(this, \"RateChangedDate\", 12, null, null);\n field.setDataClass(Date.class);\n field.setScale(Constants.DATE_ONLY);\n field = new FieldInfo(this, \"RateChangedBy\", 16, null, null);\n field.setDataClass(Integer.class);\n field = new FieldInfo(this, \"CostingRate\", 10, null, null);\n field.setDataClass(Double.class);\n field.setScale(-1);\n field = new FieldInfo(this, \"CostingChangedDate\", 12, null, null);\n field.setDataClass(Date.class);\n field.setScale(Constants.DATE_ONLY);\n field = new FieldInfo(this, \"CostingChangedBy\", 16, null, null);\n field.setDataClass(Integer.class);\n field = new FieldInfo(this, \"RoundAt\", 1, null, null);\n field.setDataClass(Short.class);\n field = new FieldInfo(this, \"IntegerDesc\", 20, null, \"Dollar\");\n field = new FieldInfo(this, \"FractionDesc\", 20, null, null);\n field = new FieldInfo(this, \"FractionAmount\", 10, null, new Integer(100));\n field.setDataClass(Integer.class);\n field = new FieldInfo(this, \"Sign\", 3, null, \"$\");\n field = new FieldInfo(this, \"LanguageID\", Constants.DEFAULT_FIELD_LENGTH, null, null);\n field.setDataClass(Integer.class);\n field = new FieldInfo(this, \"NaturalInteger\", 20, null, null);\n field = new FieldInfo(this, \"NaturalFraction\", 20, null, null);\n }",
"public Builder addFields(Field value) {\n if (fieldsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFieldsIsMutable();\n fields_.add(value);\n onChanged();\n } else {\n fieldsBuilder_.addMessage(value);\n }\n return this;\n }",
"@Override\n\tprotected void buildRegFieldDefines() {\n\t\tIterator<FieldProperties> iter = fieldList.iterator();\n\t\t// traverse field list\n\t\twhile (iter.hasNext()) {\n\t\t\tFieldProperties field = iter.next();\n\t\t\tString fieldId = escapeReservedString(field.getPrefixedId()); \n\t\t\tString fieldClass = \"uvm_field_translate\";\n\t\t\toutputList.add(new OutputLine(indentLvl, fieldClass + \" \" + fieldId + \" = new(this, \" + field.getLowIndex() + \", \" + field.getFieldWidth() + \");\"));\n\t\t}\n\t}",
"@Override\n public Field<?> createField(Container container, Object itemId,\n Object propertyId, Component uiContext) {\n Field<?> field = super.createField(container, itemId,\n propertyId, uiContext);\n\n // ...and just set them as immediate\n ((AbstractField<?>) field).setImmediate(true);\n\n // Also modify the width of TextFields\n if (field instanceof TextField)\n field.setWidth(\"100%\");\n field.setRequired(true);\n ((TextField) field).setInputPrompt(\"Введите назначение\");\n field.addStyleName(ValoTheme.LAYOUT_HORIZONTAL_WRAPPING);\n field.focus();\n\n return field;\n }",
"public static boolean recordField(PsiBuilder b, int l) {\n if (!recursion_guard_(b, l, \"recordField\")) return false;\n boolean r;\n Marker m = enter_section_(b, l, _NONE_, RECORD_FIELD, \"<record field>\");\n r = recordField_0(b, l + 1);\n r = r && expression(b, l + 1);\n exit_section_(b, l, m, r, false, null);\n return r;\n }",
"private JComponent addField(FactoryViewPanel panel, ViewModel<?> model)\r\n {\r\n JComponent component = createComponent(model);\r\n panel.addLabelComponent(ControllerFactory.createLabel(model, component), component);\r\n return component;\r\n }",
"public void onAddField(View v) {\r\n dynamicEditTexts = new ArrayList<EditText>();//added this\r\n\r\n LayoutInflater inflater = (LayoutInflater) getSystemService(Context.LAYOUT_INFLATER_SERVICE);\r\n final View rowView = inflater.inflate(R.layout.field, null);\r\n // Add the new row before the add field button.\r\n parentLinearLayout.addView(rowView, parentLinearLayout.getChildCount() - 1);\r\n EditText dynamicText = new EditText(this);\r\n dynamicEditTexts.add(dynamicText);\r\n }",
"public void defSequence(String fieldname, String sequenceName) {\r\n calls.put(fieldname, MessageFormat.format(SEQ[dbms], sequenceName));\r\n }",
"public boolean addField(Object pID, TypeField pTypeField) {\n\t\t\treturn this.addElement(pID, pTypeField);\n\t\t}",
"public void addValidRecord() {\r\n recordCount++;\r\n }",
"public static void addField (com.intersys.objects.Database db, java.lang.String inGUID, java.lang.String inFieldName, java.lang.String inFieldValue) throws com.intersys.objects.CacheException {\n com.intersys.cache.Dataholder[] args = new com.intersys.cache.Dataholder[3];\n args[0] = new com.intersys.cache.Dataholder(inGUID);\n args[1] = new com.intersys.cache.Dataholder(inFieldName);\n args[2] = new com.intersys.cache.Dataholder(inFieldValue);\n com.intersys.cache.Dataholder res=db.runClassMethod(CACHE_CLASS_NAME,\"addField\",args,com.intersys.objects.Database.RET_NONE);\n return;\n }",
"public int getNextFieldIndex () {\n return labelStart;\n }",
"@Override\n void add()\n {\n long sensorId = Long.parseLong(textSensorId.getText());\n MissionNumber missionNumber = textMissionNumber.getValue();\n String jobOrderNumber = textJobOrderNumber.getText();\n \n FPS16SensorDataGenerator generator = new FPS16SensorDataGenerator(tspiConfigurator.getTspiGenerator(), sensorId, missionNumber, jobOrderNumber);\n controller.addSensorDataGenerator(getRate(), getChannel(), generator);\n }",
"public void appendFields(List<Field> fields) {\n // zzzz! zzzz!\n }",
"private void appendText()\n\t{\n\t\tString fieldText = \"\";\n\t\tString newText = \"\";\n\t\tfieldText = entry.getText();\n\t\t\n\t\tif(fieldText.equals (\"0\"))\n\t\t{\n\t\t\tnewText += append;\n\t\t\tfieldText = newText;\n\t\t\tentry.setText (fieldText);\n\t\t}\n\t\telse\n\t\t{\n\t\t\tfieldText += append;\n\t\t\tentry.setText (fieldText);\n\t\t}\n\t\t\n\t\tentry.grabFocus ( );\n\t\t\n\t}",
"public boolean addField(Document document, Integer data) {\n boolean result = false;\n\n if (data != null) {\n result = true;\n document.add(makeField(data.toString()));\n }\n\n return result;\n }",
"public void addIfield(String i){\n\t\tifield.add(i);\n\t}",
"public org.apache.xmlbeans.XmlString addNewMappingFields()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.XmlString target = null;\n target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(MAPPINGFIELDS$28);\n return target;\n }\n }",
"private void insertFieldLink(final DocumentBuilder builder, final int insertLinkedObjectAs,\n final String progId, final String sourceFullName, final String sourceItem,\n final boolean shouldAutoUpdate) throws Exception {\n FieldLink field = (FieldLink) builder.insertField(FieldType.FIELD_LINK, true);\n\n switch (insertLinkedObjectAs) {\n case InsertLinkedObjectAs.TEXT:\n field.setInsertAsText(true);\n break;\n case InsertLinkedObjectAs.UNICODE:\n field.setInsertAsUnicode(true);\n break;\n case InsertLinkedObjectAs.HTML:\n field.setInsertAsHtml(true);\n break;\n case InsertLinkedObjectAs.RTF:\n field.setInsertAsRtf(true);\n break;\n case InsertLinkedObjectAs.PICTURE:\n field.setInsertAsPicture(true);\n break;\n case InsertLinkedObjectAs.BITMAP:\n field.setInsertAsBitmap(true);\n break;\n }\n\n field.setAutoUpdate(shouldAutoUpdate);\n field.setProgId(progId);\n field.setSourceFullName(sourceFullName);\n field.setSourceItem(sourceItem);\n\n builder.writeln(\"\\n\");\n }",
"public AbstractMT append(final Field ... fields) {\n\t\tValidate.notNull(fields);\n\t\tif (fields.length>0) {\n\t\t\tfor (final Field t : fields) {\n\t\t\t\tb4().add(t);\t\t\t\t\n\t\t\t}\n\t\t}\n\t\treturn this;\n\t}",
"public void addField(String className, String fieldName, String fieldType, String fieldVis) \n\t{\n\t\tstoreViewState();\n\t\tproject.addField(className, fieldName, fieldType, fieldVis);\n\t\tcheckStatus();\n\t}",
"public abstract void add(Field.RadioData radioData);",
"void addField(\n JavaSymbolName propertyName,\n JavaType propertyType,\n String columnName,\n String columnType,\n JavaType className,\n boolean id,\n boolean oneToOne, boolean oneToMany, boolean manyToOne, boolean manyToMany, String mappedBy);",
"public void addFieldLine(float extraBottomMargin) {\n LayoutInflater inflater = LayoutInflater.from(this);\n LinearLayout fieldLine = new LinearLayout(this);\n\n LinearLayout.LayoutParams fLParams = new LinearLayout.LayoutParams(LinearLayout.LayoutParams.WRAP_CONTENT,\n LinearLayout.LayoutParams.WRAP_CONTENT);\n fLParams.setMargins(0, (int) (fieldLineTopMargin - overlapMarginVertical),\n 0, (int) (fieldLineBottomMargin + extraBottomMargin - overlapMarginVertical));\n fLParams.gravity = Gravity.CENTER_HORIZONTAL;\n fieldLine.setLayoutParams(fLParams);\n fieldLine.setOrientation(LinearLayout.HORIZONTAL);\n fieldLine.setGravity(Gravity.CENTER);\n mainField.addView(fieldLine, 0);\n\n for (int i = 0; i < game.fieldSize; i++) {\n LinearLayout fieldCell = (LinearLayout) inflater.inflate(R.layout.field_cell, null);\n\n LinearLayout.LayoutParams fCParams = new LinearLayout.LayoutParams((int) fieldCellWidth, (int) fieldCellHeight);\n\n int left = i != 0 ? (int) fieldCellLeftMargin : (int) firstCellLeftMargin;\n int right = i != game.fieldSize - 1 ? (int) fieldCellRightMargin : (int) lastCellRightMargin;\n fCParams.setMargins(left, (int) overlapMarginVertical,\n right,\n (int) (overlapMarginVertical));\n\n fieldCell.setLayoutParams(fCParams);\n fieldCell.setBackgroundResource(R.drawable.field_cell);\n fieldCell.setId(i);\n\n fieldLine.addView(fieldCell);\n }\n\n activeFieldLine = fieldLine;\n }",
"public TextField addTextField(final String key) {\n String label = key;\n TextField textField = new TextField(getComposite(), _form, key, label, false);\n textField.adapt(_formToolkit);\n _form.mapField(key, textField);\n return textField;\n }",
"public Rule field()\n \t{\n \t\treturn sequence(OP_MULT, id());\n \t}",
"public void addFieldObject(final FieldObject object, final Point position) {\n object.setPosition(position);\n _fieldObjects.add(object);\n\n if (object instanceof RedBird) {\n _mainPlayer.add(object.getFieldObjectView());\n _birdsGroup.add(object.getFieldObjectView());\n } else if (object instanceof Bird) {\n _birdsGroup.add(object.getFieldObjectView());\n } else if (object instanceof Pig) {\n _pigsGroup.add(object.getFieldObjectView());\n ++_pigsCounter;\n } else if (object instanceof WoodenObstacle) {\n _woodenObstacles.add(object.getFieldObjectView());\n }\n\n fireObjectAdded(object);\n }",
"public void createGamefield() {\n\t\tif (playerList == null)\n\t\t\tplayerList = new ArrayList<>();\n\t\tif (playerList.size() < 1) {\n\t\t\tcreateGameField(chordImpl.getID());\n\t\t\tCollections.sort(playerList);\n\t\t\tplayerList.remove(ownPlayer);\n\t\t\townPlayer.setShips();\n\t\t\tGUIMessageQueue.getInstance().addMessage(\"Field Created!\");\n\t\t}\n\t}",
"private void addRecord() {\n\t\tContactData cd = new ContactData(contactDataId, aName, aLastname,\n\t\t\t\taDate, aAdress, aGender, aImage);\n\t\tIntent intent = getIntent();\n\t\tintent.putExtra(\"ContactData\", cd);\n\t\tsetResult(RESULT_OK, intent);\n\t\tfinish();\n\t\tonDestroy();\n\t}",
"private void addField(JField jfield) {\n\n // Check for storage ID conflict; note we can get this legitimately when a field is declared only\n // in supertypes, where two of the supertypes are mutually unassignable from each other. In that\n // case, verify that the generated field is the same.\n JField other = this.jfields.get(jfield.storageId);\n if (other != null) {\n\n // If the descriptions differ, no need to give any more details\n if (!other.toString().equals(jfield.toString())) {\n throw new IllegalArgumentException(\"illegal duplicate use of storage ID \"\n + jfield.storageId + \" for both \" + other + \" and \" + jfield);\n }\n\n // Check whether the fields are exactly the same; if not, there is a conflict\n if (!other.isSameAs(jfield)) {\n throw new IllegalArgumentException(\"two or more methods defining \" + jfield + \" conflict: \"\n + other.getter + \" and \" + jfield.getter);\n }\n\n // OK - they are the same thing\n return;\n }\n this.jfields.put(jfield.storageId, jfield);\n\n // Check for name conflict\n if ((other = this.jfieldsByName.get(jfield.name)) != null)\n throw new IllegalArgumentException(\"illegal duplicate use of field name `\" + jfield.name + \"' in \" + this);\n this.jfieldsByName.put(jfield.name, jfield);\n jfield.parent = this;\n\n // Logging\n if (this.log.isTraceEnabled())\n this.log.trace(\"added {} to object type `{}'\", jfield, this.name);\n }",
"public static void add() {\n\t\trender();\n\t}",
"void getNextField () \n\t\t\tthrows IOException, FileNotFoundException {\n \n\t\tcontext.field.setLength(0);\n\t\twhile ((! htmlChar.endsField) && (! atEnd)) {\n\t\t\tgetNextWord();\n\t\t\tif (context.word.length() > 0) {\n\t\t\t\tcontext.field.append (context.word.toString());\n\t\t\t}\n\t\t} \n \n // remove multiple trailing spaces from field\n // if (! context.preformatted) {\n while (context.field.length() > 1\n && context.field.charAt (context.field.length() - 1) == ' '\n && context.field.charAt (context.field.length() - 2) == ' ') {\n context.field.deleteCharAt (context.field.length() - 1);\n }\n // }\n\t}",
"public boolean addField(Document document, byte[] bytes) {\n boolean result = false;\n\n if (bytes != null) {\n result = true;\n document.add(new Field(label, bytes, store));\n }\n\n return result;\n }",
"public Builder addFields(\n int index, Field value) {\n if (fieldsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFieldsIsMutable();\n fields_.add(index, value);\n onChanged();\n } else {\n fieldsBuilder_.addMessage(index, value);\n }\n return this;\n }",
"public void addQuantity()\n {\n int quantity = Integer.parseInt(quantityTextField.getText());\n quantity++;\n quantityTextField.setText(\"\" + quantity);\n\n changeSubtotalTextField();\n }",
"public void addField (String label, String field, String nada) {\n labels.add (label);\n if (! field.equals (nada)) {\n addLine (label + LABEL_SUFFIX + field);\n // System.out.println (\"TextBlock.addField field follows:\");\n // StringUtils.println (System.out, field);\n }\n }",
"public void addToFields(entity.APDExposureField element);",
"Rule FieldID() {\n // No direct effect on value stack\n return Sequence(IntConstant(), WhiteSpace(), \": \");\n }",
"private void addFileUploadField() {\n FileUpload upload = new FileUpload();\n upload.setName(\"fileUpload\" + i);\n fileUploadPanel.add(upload);\n i++;\n }",
"public void addPcktSeqNo(long seq)\n\t{\n\t\tthis.list.add(seq);\n\t}",
"public Field addField(String sName, String sType)\n {\n ensureLoaded();\n Field field = new Field(sName, sType);\n m_tblField.put(field.getIdentity(), field);\n setModified(true);\n return field;\n }",
"public void setField(int i, Field f) {\n\n\t\tif (i < 0 || i >= fields.size())\n\t\t\treturn;\n\t\tfields.add(i, f);\n\n\t}",
"protected static void addFormNumberColumnToTable(SQLiteDatabase db) {\n db.execSQL(DbUtil.addColumnToTable(\n FormRecord.STORAGE_KEY,\n FormRecord.META_SUBMISSION_ORDERING_NUMBER,\n \"TEXT\"));\n }",
"public void addAttributeFor(Field field) {\r\n fieldToUseAsAttribute.add(field);\r\n }",
"@Override\n\tpublic void setupAddFields(EquationStandardTransaction transaction)\n\t{\n\t\ttransaction.setFieldValue(\"GZCNEW\", \"Y\"); // Generate new card?\n\t\ttransaction.setFieldValue(\"GZCMOD\", \"A\"); // Mode - this must be 'A' when adding\n\t\ttransaction.setFieldValue(\"GZCNM1\", \"TEST AUTO\"); // Card name 1\n\t}",
"private void setDataInFields() \n {\n quantityTxtFld.setText(farmer.getCropQuantity()+\"\");\n quantityTxtFld.setEnabled(false);\n }",
"public ProAddAttrRecord() {\n super(ProAddAttr.PRO_ADD_ATTR);\n }",
"protected void addAttribute(AttributeField af) { \n\tthis.attributeFields.addElement(af);\n }",
"@ActionTrigger(action=\"KEY-NXTREC\", function=KeyFunction.NEXT_RECORD)\n\t\tpublic void spriden_NextRecord()\n\t\t{\n\t\t\t\n\t\t\t\tif ( !isInLastRecord(true) )\n\t\t\t\t{\n\t\t\t\t\tnextRecord();\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tinfoMessage(GNls.Fget(toStr(\"SOAIDNS-0001\"), toStr(\"FORM\"), toStr(\"At last record.\")));\n\t\t\t\t}\n\t\t\t}",
"public void initializeLayout(){\r\n\tsuper.addField(FIELDTYPE_PICX, 1);\r\n\tsuper.addField(FIELDTYPE_PICX, 8);\r\n\tsuper.addField(FIELDTYPE_PICX, 1);\r\n\tsuper.addField(FIELDTYPE_PICX, 3);\r\n\tsuper.addField(FIELDTYPE_PICX, 5);\r\n\tsuper.addField(FIELDTYPE_PICX, 18);\r\n\tsuper.addField(FIELDTYPE_PICX, 4);\r\n\tsuper.addField(FIELDTYPE_PICX, 110);\r\n\tsuper.addField(FIELDTYPE_PICX, 105);\r\n}",
"void addField(\n JavaSymbolName propertyName,\n JavaType propertyType,\n String columnName,\n String columnType,\n JavaType className\n );",
"public static void addRecord() {\r\n\t\tScanner in = new Scanner(System.in);\r\n\t\tSystem.out.println(\"Enter name: \");\r\n\t\tString name = in.nextLine();\r\n\t\tSystem.out.println(\"Enter number: \");\r\n\t\tString number = in.nextLine();\r\n\t\ttd.addRecord(name,number);\r\n\t\t\r\n\t\tSystem.out.println(\"Added record for \" + name + \" along with their number \" + number);\r\n\t}",
"private void addition()\n\t{\n\t\tFun = Function.ADD;\t//Function set to determine what action should be taken later. \n\t\t\n\t\t\tsetLeftValue();\n\t\t\tentry.grabFocus();\n\t\t\n\t}",
"private static void addItem(IndexedContainer container, String[] propertyIds, String[] fields) {\n\t if (propertyIds.length != fields.length) {\n\t throw new IllegalArgumentException(\"Hmmm - Different number of columns to fields in the record\");\n\t }\n\t Object itemId = container.addItem();\n\t Item item = container.getItem(itemId);\n\t for (int i = 0; i < fields.length; i++) {\n\t String propertyId = propertyIds[i];\n\t String field = fields[i];\n\t item.getItemProperty(propertyId).setValue(field);\n\t }\n\t }",
"private void createTextField(){\n Font font = new Font(\"Verdana\", Font.BOLD,3*getGameContainer().getWidth()/100);\n TrueTypeFont ttf = new TrueTypeFont(font,true);\n int fieldWidth = getGameContainer().getWidth()/3;\n int fieldHeight = getGameContainer().getHeight()/18;\n nameField = new TextField(getGameContainer(), ttf,43*getGameContainer().getWidth()/100,24*getGameContainer().getHeight()/100, fieldWidth, fieldHeight);\n nameField.setBackgroundColor(Color.white);\n nameField.setTextColor(Color.black);\n passwordField= new TextField(getGameContainer(), ttf,43*getGameContainer().getWidth()/100,32*getGameContainer().getHeight()/100, fieldWidth, fieldHeight);\n passwordField.setBackgroundColor(Color.white);\n passwordField.setTextColor(Color.black);\n }",
"public void addDField(String d){\n\t\tdfield.add(d);\n\t}",
"void addItem(DataRecord record);",
"private static Calendar add(Calendar cal, int field, int amount) {\n cal.add(field, amount);\n return cal;\n }",
"public SetupScreen() \r\n { \r\n _userLabel = new LabelField(Ipoki._resources.getString(LBL_USER), DrawStyle.ELLIPSIS);\r\n add(_userLabel);\r\n _userEdit = new EditField(\"\", Ipoki._user, 20, Field.EDITABLE);\r\n add(_userEdit);\r\n _passLabel = new LabelField(Ipoki._resources.getString(LBL_PASSWORD), DrawStyle.ELLIPSIS);\r\n add(_passLabel);\r\n _passEdit = new PasswordEditField(\"\", Ipoki._pass, 20, Field.EDITABLE);\r\n add(_passEdit);\r\n _freqLabel = new LabelField(Ipoki._resources.getString(LBL_FREQ), DrawStyle.ELLIPSIS);\r\n add(_freqLabel);\r\n _freqEdit = new EditField(\"\", String.valueOf(Ipoki._freq), 20, Field.EDITABLE | EditField.FILTER_INTEGER);\r\n add(_freqEdit);\r\n }",
"public Field.Builder addFieldsBuilder() {\n return getFieldsFieldBuilder().addBuilder(\n Field.getDefaultInstance());\n }",
"public TextField getTextField4() {\n if (textField4 == null) {//GEN-END:|43-getter|0|43-preInit\n // write pre-init user code here\n textField4 = new TextField(\"Mod\\u00E8le\", null, 32, TextField.ANY);//GEN-LINE:|43-getter|1|43-postInit\n // write post-init user code here\n }//GEN-BEGIN:|43-getter|2|\n return textField4;\n }",
"public DynaForm addField(String label, StatefullComponent input) {\n\t\treturn null;\r\n\t}"
] | [
"0.66109145",
"0.64721864",
"0.6453383",
"0.6295053",
"0.61240375",
"0.6116208",
"0.60487825",
"0.59603727",
"0.59589607",
"0.5882597",
"0.5882038",
"0.5841459",
"0.5841135",
"0.57480186",
"0.57159954",
"0.5698202",
"0.5660715",
"0.5633439",
"0.55580044",
"0.55460835",
"0.55176604",
"0.55104184",
"0.54691815",
"0.5465316",
"0.54619205",
"0.5449523",
"0.54342115",
"0.5421912",
"0.5391966",
"0.5385364",
"0.53768754",
"0.53551483",
"0.5354485",
"0.5267028",
"0.52275014",
"0.5198882",
"0.51986945",
"0.51708794",
"0.5163155",
"0.5129747",
"0.51276016",
"0.51124334",
"0.5091671",
"0.50895715",
"0.50819296",
"0.50801075",
"0.5079985",
"0.5061738",
"0.5059519",
"0.50510514",
"0.5049128",
"0.5037384",
"0.5025872",
"0.50249815",
"0.5011157",
"0.5010485",
"0.5007023",
"0.50009984",
"0.49710727",
"0.49707443",
"0.49700478",
"0.49673694",
"0.4963482",
"0.4960803",
"0.4956449",
"0.49560398",
"0.49524897",
"0.49492258",
"0.49412584",
"0.49294087",
"0.4925451",
"0.49230435",
"0.49157423",
"0.49095273",
"0.49067408",
"0.48965627",
"0.48923355",
"0.4882105",
"0.48816514",
"0.4877844",
"0.48760164",
"0.48718864",
"0.48709914",
"0.4868681",
"0.48618627",
"0.48505968",
"0.48479378",
"0.48453495",
"0.48447967",
"0.4840868",
"0.48372236",
"0.48263243",
"0.48238873",
"0.48201856",
"0.48108652",
"0.48073262",
"0.4797729",
"0.47968912",
"0.47960195",
"0.47821105"
] | 0.5793398 | 13 |
TODO Autogenerated method stub | @Override
public List<BusinessconfigStuff> listChildren(Long id) {
return businessconfigStuffDao.listChildren(id);
} | {
"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 getExras() {\n\n\t}",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n protected void getExras() {\n }",
"@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}",
"@Override\n\tpublic void nefesAl() {\n\n\t}",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"@Override\n\tprotected void initdata() {\n\n\t}",
"@Override\n\tpublic void nghe() {\n\n\t}",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"public final void mo51373a() {\n }",
"@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\n\tprotected void initData() {\n\t\t\n\t}",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}",
"public void designBasement() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}",
"public void gored() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\r\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override\n protected void initialize() {\n\n \n }",
"public void mo38117a() {\n }",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"Constructor() {\r\n\t\t \r\n\t }",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void one() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"private stendhal() {\n\t}",
"@Override\n\tprotected void update() {\n\t\t\n\t}",
"@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n public void init() {\n\n }",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"public contrustor(){\r\n\t}",
"@Override\n\tprotected void initialize() {\n\n\t}",
"@Override\r\n\tpublic void dispase() {\n\r\n\t}",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"@Override\n\tpublic void dtd() {\n\t\t\n\t}",
"@Override\n\tprotected void logic() {\n\n\t}",
"@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}",
"public void mo4359a() {\n }",
"@Override\r\n\tprotected void initialize() {\n\r\n\t}",
"@Override\n public void memoria() {\n \n }",
"@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}",
"private RepositorioAtendimentoPublicoHBM() {\r\t}",
"@Override\n protected void initialize() \n {\n \n }",
"@Override\r\n\tpublic void getProposition() {\n\r\n\t}",
"@Override\n\tpublic void particular1() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n protected void prot() {\n }",
"@Override\r\n\tpublic void init()\r\n\t{\n\t}",
"@Override\n\tprotected void initValue()\n\t{\n\n\t}",
"public void mo55254a() {\n }"
] | [
"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.6080161",
"0.6077022",
"0.6041561",
"0.6024072",
"0.6020252",
"0.59984857",
"0.59672105",
"0.59672105",
"0.5965777",
"0.59485507",
"0.5940904",
"0.59239364",
"0.5910017",
"0.5902906",
"0.58946234",
"0.5886006",
"0.58839184",
"0.58691067",
"0.5857751",
"0.58503544",
"0.5847024",
"0.58239377",
"0.5810564",
"0.5810089",
"0.5806823",
"0.5806823",
"0.5800025",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5790187",
"0.5789414",
"0.5787092",
"0.57844025",
"0.57844025",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5761362",
"0.57596046",
"0.57596046",
"0.575025",
"0.575025",
"0.575025",
"0.5747959",
"0.57337177",
"0.57337177",
"0.57337177",
"0.5721452",
"0.5715831",
"0.57142824",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.5711723",
"0.57041645",
"0.56991017",
"0.5696783",
"0.56881124",
"0.56774884",
"0.56734604",
"0.56728",
"0.56696945",
"0.5661323",
"0.5657007",
"0.5655942",
"0.5655942",
"0.5655942",
"0.56549734",
"0.5654792",
"0.5652974",
"0.5650185"
] | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void save(BusinessconfigStuff businessconfigStuff) {
String maxCode = businessconfigStuffDao.getMaxCode();
if (businessconfigStuff.getId() == null) {
if (maxCode == null) {
businessconfigStuff.setOrdercode("00001");
} else {
StringBuffer sBuffer = new StringBuffer();
sBuffer.append(String.valueOf(Integer.parseInt(maxCode) + 1));
while (sBuffer.length() < 5) {
sBuffer.insert(0, "0");
}
businessconfigStuff.setOrdercode(sBuffer.toString());
}
businessconfigStuffDao.save(businessconfigStuff);
} else {// 修改
businessconfigStuffDao.update(businessconfigStuff);
}
} | {
"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 getExras() {\n\n\t}",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n protected void getExras() {\n }",
"@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}",
"@Override\n\tpublic void nefesAl() {\n\n\t}",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"@Override\n\tprotected void initdata() {\n\n\t}",
"@Override\n\tpublic void nghe() {\n\n\t}",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"public final void mo51373a() {\n }",
"@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\n\tprotected void initData() {\n\t\t\n\t}",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}",
"public void designBasement() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}",
"public void gored() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\r\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override\n protected void initialize() {\n\n \n }",
"public void mo38117a() {\n }",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"Constructor() {\r\n\t\t \r\n\t }",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void one() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"private stendhal() {\n\t}",
"@Override\n\tprotected void update() {\n\t\t\n\t}",
"@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n public void init() {\n\n }",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"public contrustor(){\r\n\t}",
"@Override\n\tprotected void initialize() {\n\n\t}",
"@Override\r\n\tpublic void dispase() {\n\r\n\t}",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"@Override\n\tpublic void dtd() {\n\t\t\n\t}",
"@Override\n\tprotected void logic() {\n\n\t}",
"@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}",
"public void mo4359a() {\n }",
"@Override\r\n\tprotected void initialize() {\n\r\n\t}",
"@Override\n public void memoria() {\n \n }",
"@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}",
"private RepositorioAtendimentoPublicoHBM() {\r\t}",
"@Override\n protected void initialize() \n {\n \n }",
"@Override\r\n\tpublic void getProposition() {\n\r\n\t}",
"@Override\n\tpublic void particular1() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n protected void prot() {\n }",
"@Override\r\n\tpublic void init()\r\n\t{\n\t}",
"@Override\n\tprotected void initValue()\n\t{\n\n\t}",
"public void mo55254a() {\n }"
] | [
"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.6080161",
"0.6077022",
"0.6041561",
"0.6024072",
"0.6020252",
"0.59984857",
"0.59672105",
"0.59672105",
"0.5965777",
"0.59485507",
"0.5940904",
"0.59239364",
"0.5910017",
"0.5902906",
"0.58946234",
"0.5886006",
"0.58839184",
"0.58691067",
"0.5857751",
"0.58503544",
"0.5847024",
"0.58239377",
"0.5810564",
"0.5810089",
"0.5806823",
"0.5806823",
"0.5800025",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5790187",
"0.5789414",
"0.5787092",
"0.57844025",
"0.57844025",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5761362",
"0.57596046",
"0.57596046",
"0.575025",
"0.575025",
"0.575025",
"0.5747959",
"0.57337177",
"0.57337177",
"0.57337177",
"0.5721452",
"0.5715831",
"0.57142824",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.5711723",
"0.57041645",
"0.56991017",
"0.5696783",
"0.56881124",
"0.56774884",
"0.56734604",
"0.56728",
"0.56696945",
"0.5661323",
"0.5657007",
"0.5655942",
"0.5655942",
"0.5655942",
"0.56549734",
"0.5654792",
"0.5652974",
"0.5650185"
] | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void update(BusinessconfigStuff businessconfigStuff) {
businessconfigStuffDao.update(businessconfigStuff);
} | {
"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 getExras() {\n\n\t}",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n protected void getExras() {\n }",
"@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}",
"@Override\n\tpublic void nefesAl() {\n\n\t}",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"@Override\n\tprotected void initdata() {\n\n\t}",
"@Override\n\tpublic void nghe() {\n\n\t}",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"public final void mo51373a() {\n }",
"@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\n\tprotected void initData() {\n\t\t\n\t}",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}",
"public void designBasement() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}",
"public void gored() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\r\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override\n protected void initialize() {\n\n \n }",
"public void mo38117a() {\n }",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"Constructor() {\r\n\t\t \r\n\t }",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void one() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"private stendhal() {\n\t}",
"@Override\n\tprotected void update() {\n\t\t\n\t}",
"@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n public void init() {\n\n }",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"public contrustor(){\r\n\t}",
"@Override\n\tprotected void initialize() {\n\n\t}",
"@Override\r\n\tpublic void dispase() {\n\r\n\t}",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"@Override\n\tpublic void dtd() {\n\t\t\n\t}",
"@Override\n\tprotected void logic() {\n\n\t}",
"@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}",
"public void mo4359a() {\n }",
"@Override\r\n\tprotected void initialize() {\n\r\n\t}",
"@Override\n public void memoria() {\n \n }",
"@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}",
"private RepositorioAtendimentoPublicoHBM() {\r\t}",
"@Override\n protected void initialize() \n {\n \n }",
"@Override\r\n\tpublic void getProposition() {\n\r\n\t}",
"@Override\n\tpublic void particular1() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n protected void prot() {\n }",
"@Override\r\n\tpublic void init()\r\n\t{\n\t}",
"@Override\n\tprotected void initValue()\n\t{\n\n\t}",
"public void mo55254a() {\n }"
] | [
"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.6080161",
"0.6077022",
"0.6041561",
"0.6024072",
"0.6020252",
"0.59984857",
"0.59672105",
"0.59672105",
"0.5965777",
"0.59485507",
"0.5940904",
"0.59239364",
"0.5910017",
"0.5902906",
"0.58946234",
"0.5886006",
"0.58839184",
"0.58691067",
"0.5857751",
"0.58503544",
"0.5847024",
"0.58239377",
"0.5810564",
"0.5810089",
"0.5806823",
"0.5806823",
"0.5800025",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5790187",
"0.5789414",
"0.5787092",
"0.57844025",
"0.57844025",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5761362",
"0.57596046",
"0.57596046",
"0.575025",
"0.575025",
"0.575025",
"0.5747959",
"0.57337177",
"0.57337177",
"0.57337177",
"0.5721452",
"0.5715831",
"0.57142824",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.5711723",
"0.57041645",
"0.56991017",
"0.5696783",
"0.56881124",
"0.56774884",
"0.56734604",
"0.56728",
"0.56696945",
"0.5661323",
"0.5657007",
"0.5655942",
"0.5655942",
"0.5655942",
"0.56549734",
"0.5654792",
"0.5652974",
"0.5650185"
] | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public BusinessconfigStuff getObjectById(long id) {
return businessconfigStuffDao.getObjectById(id);
} | {
"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 getExras() {\n\n\t}",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n protected void getExras() {\n }",
"@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}",
"@Override\n\tpublic void nefesAl() {\n\n\t}",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"@Override\n\tprotected void initdata() {\n\n\t}",
"@Override\n\tpublic void nghe() {\n\n\t}",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"public final void mo51373a() {\n }",
"@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\n\tprotected void initData() {\n\t\t\n\t}",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}",
"public void designBasement() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}",
"public void gored() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\r\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override\n protected void initialize() {\n\n \n }",
"public void mo38117a() {\n }",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"Constructor() {\r\n\t\t \r\n\t }",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void one() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"private stendhal() {\n\t}",
"@Override\n\tprotected void update() {\n\t\t\n\t}",
"@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n public void init() {\n\n }",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"public contrustor(){\r\n\t}",
"@Override\n\tprotected void initialize() {\n\n\t}",
"@Override\r\n\tpublic void dispase() {\n\r\n\t}",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"@Override\n\tpublic void dtd() {\n\t\t\n\t}",
"@Override\n\tprotected void logic() {\n\n\t}",
"@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}",
"public void mo4359a() {\n }",
"@Override\r\n\tprotected void initialize() {\n\r\n\t}",
"@Override\n public void memoria() {\n \n }",
"@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}",
"private RepositorioAtendimentoPublicoHBM() {\r\t}",
"@Override\n protected void initialize() \n {\n \n }",
"@Override\r\n\tpublic void getProposition() {\n\r\n\t}",
"@Override\n\tpublic void particular1() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n protected void prot() {\n }",
"@Override\r\n\tpublic void init()\r\n\t{\n\t}",
"@Override\n\tprotected void initValue()\n\t{\n\n\t}",
"public void mo55254a() {\n }"
] | [
"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.6080161",
"0.6077022",
"0.6041561",
"0.6024072",
"0.6020252",
"0.59984857",
"0.59672105",
"0.59672105",
"0.5965777",
"0.59485507",
"0.5940904",
"0.59239364",
"0.5910017",
"0.5902906",
"0.58946234",
"0.5886006",
"0.58839184",
"0.58691067",
"0.5857751",
"0.58503544",
"0.5847024",
"0.58239377",
"0.5810564",
"0.5810089",
"0.5806823",
"0.5806823",
"0.5800025",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5790187",
"0.5789414",
"0.5787092",
"0.57844025",
"0.57844025",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5761362",
"0.57596046",
"0.57596046",
"0.575025",
"0.575025",
"0.575025",
"0.5747959",
"0.57337177",
"0.57337177",
"0.57337177",
"0.5721452",
"0.5715831",
"0.57142824",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.5711723",
"0.57041645",
"0.56991017",
"0.5696783",
"0.56881124",
"0.56774884",
"0.56734604",
"0.56728",
"0.56696945",
"0.5661323",
"0.5657007",
"0.5655942",
"0.5655942",
"0.5655942",
"0.56549734",
"0.5654792",
"0.5652974",
"0.5650185"
] | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void delete(long id) {
businessconfigStuffDao.delete(id);
} | {
"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 getExras() {\n\n\t}",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n protected void getExras() {\n }",
"@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}",
"@Override\n\tpublic void nefesAl() {\n\n\t}",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"@Override\n\tprotected void initdata() {\n\n\t}",
"@Override\n\tpublic void nghe() {\n\n\t}",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"public final void mo51373a() {\n }",
"@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\n\tprotected void initData() {\n\t\t\n\t}",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}",
"public void designBasement() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}",
"public void gored() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\r\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override\n protected void initialize() {\n\n \n }",
"public void mo38117a() {\n }",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"Constructor() {\r\n\t\t \r\n\t }",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void one() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"private stendhal() {\n\t}",
"@Override\n\tprotected void update() {\n\t\t\n\t}",
"@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n public void init() {\n\n }",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"public contrustor(){\r\n\t}",
"@Override\n\tprotected void initialize() {\n\n\t}",
"@Override\r\n\tpublic void dispase() {\n\r\n\t}",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"@Override\n\tpublic void dtd() {\n\t\t\n\t}",
"@Override\n\tprotected void logic() {\n\n\t}",
"@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}",
"public void mo4359a() {\n }",
"@Override\r\n\tprotected void initialize() {\n\r\n\t}",
"@Override\n public void memoria() {\n \n }",
"@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}",
"private RepositorioAtendimentoPublicoHBM() {\r\t}",
"@Override\n protected void initialize() \n {\n \n }",
"@Override\r\n\tpublic void getProposition() {\n\r\n\t}",
"@Override\n\tpublic void particular1() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n protected void prot() {\n }",
"@Override\r\n\tpublic void init()\r\n\t{\n\t}",
"@Override\n\tprotected void initValue()\n\t{\n\n\t}",
"public void mo55254a() {\n }"
] | [
"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.6080161",
"0.6077022",
"0.6041561",
"0.6024072",
"0.6020252",
"0.59984857",
"0.59672105",
"0.59672105",
"0.5965777",
"0.59485507",
"0.5940904",
"0.59239364",
"0.5910017",
"0.5902906",
"0.58946234",
"0.5886006",
"0.58839184",
"0.58691067",
"0.5857751",
"0.58503544",
"0.5847024",
"0.58239377",
"0.5810564",
"0.5810089",
"0.5806823",
"0.5806823",
"0.5800025",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5790187",
"0.5789414",
"0.5787092",
"0.57844025",
"0.57844025",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5761362",
"0.57596046",
"0.57596046",
"0.575025",
"0.575025",
"0.575025",
"0.5747959",
"0.57337177",
"0.57337177",
"0.57337177",
"0.5721452",
"0.5715831",
"0.57142824",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.5711723",
"0.57041645",
"0.56991017",
"0.5696783",
"0.56881124",
"0.56774884",
"0.56734604",
"0.56728",
"0.56696945",
"0.5661323",
"0.5657007",
"0.5655942",
"0.5655942",
"0.5655942",
"0.56549734",
"0.5654792",
"0.5652974",
"0.5650185"
] | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void move(long id, int movetype) throws Exception {
String startOrderCode = getStartOrderCode(id);
String endOrderCode = getEndOrderCode(id);
String orderCode = getOrderCodeById(id);
BusinessconfigStuff stuff = new BusinessconfigStuff();
if(movetype == 1){//向上移动
if (orderCode.equals(startOrderCode)) {
throw new Exception("已经排在此类型分类第一了!");
}
stuff = getnextOrderCodeById(id);
String code = stuff.getOrdercode();
//换码
businessconfigStuffDao.updateordercode(code,id);
businessconfigStuffDao.updateordercode(orderCode, stuff.getId());
}else{
if (orderCode.equals(endOrderCode)) {
throw new Exception("已经排在此类型分类末尾了!");
}
stuff = getbefOrderCodeById(id);
String code = stuff.getOrdercode();
//换码
businessconfigStuffDao.updateordercode(code,id);
businessconfigStuffDao.updateordercode(orderCode, stuff.getId());
}
} | {
"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 getExras() {\n\n\t}",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n protected void getExras() {\n }",
"@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}",
"@Override\n\tpublic void nefesAl() {\n\n\t}",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"@Override\n\tprotected void initdata() {\n\n\t}",
"@Override\n\tpublic void nghe() {\n\n\t}",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"public final void mo51373a() {\n }",
"@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\n\tprotected void initData() {\n\t\t\n\t}",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}",
"public void designBasement() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}",
"public void gored() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\r\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override\n protected void initialize() {\n\n \n }",
"public void mo38117a() {\n }",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"Constructor() {\r\n\t\t \r\n\t }",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void one() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"private stendhal() {\n\t}",
"@Override\n\tprotected void update() {\n\t\t\n\t}",
"@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n public void init() {\n\n }",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"public contrustor(){\r\n\t}",
"@Override\n\tprotected void initialize() {\n\n\t}",
"@Override\r\n\tpublic void dispase() {\n\r\n\t}",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"@Override\n\tpublic void dtd() {\n\t\t\n\t}",
"@Override\n\tprotected void logic() {\n\n\t}",
"@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}",
"public void mo4359a() {\n }",
"@Override\r\n\tprotected void initialize() {\n\r\n\t}",
"@Override\n public void memoria() {\n \n }",
"@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}",
"private RepositorioAtendimentoPublicoHBM() {\r\t}",
"@Override\n protected void initialize() \n {\n \n }",
"@Override\r\n\tpublic void getProposition() {\n\r\n\t}",
"@Override\n\tpublic void particular1() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n protected void prot() {\n }",
"@Override\r\n\tpublic void init()\r\n\t{\n\t}",
"@Override\n\tprotected void initValue()\n\t{\n\n\t}",
"public void mo55254a() {\n }"
] | [
"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.6080161",
"0.6077022",
"0.6041561",
"0.6024072",
"0.6020252",
"0.59984857",
"0.59672105",
"0.59672105",
"0.5965777",
"0.59485507",
"0.5940904",
"0.59239364",
"0.5910017",
"0.5902906",
"0.58946234",
"0.5886006",
"0.58839184",
"0.58691067",
"0.5857751",
"0.58503544",
"0.5847024",
"0.58239377",
"0.5810564",
"0.5810089",
"0.5806823",
"0.5806823",
"0.5800025",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5790187",
"0.5789414",
"0.5787092",
"0.57844025",
"0.57844025",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5761362",
"0.57596046",
"0.57596046",
"0.575025",
"0.575025",
"0.575025",
"0.5747959",
"0.57337177",
"0.57337177",
"0.57337177",
"0.5721452",
"0.5715831",
"0.57142824",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.5711723",
"0.57041645",
"0.56991017",
"0.5696783",
"0.56881124",
"0.56774884",
"0.56734604",
"0.56728",
"0.56696945",
"0.5661323",
"0.5657007",
"0.5655942",
"0.5655942",
"0.5655942",
"0.56549734",
"0.5654792",
"0.5652974",
"0.5650185"
] | 0.0 | -1 |
Sends a username and password to the coorrect login fields and then clicks the login button | public void login(String userCredentials, String pass) {
driver.findElement(loginTab).click();
driver.findElement(username).sendKeys(userCredentials);
driver.findElement(password).sendKeys(pass);
driver.findElement(loginBtn).click();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void ClickLogin()\n\t{\n\t\t\n\t\tbtnLogin.submit();\n\t}",
"public void loginAsUser() {\n vinyardApp.navigateToUrl(\"http://localhost:8080\");\n vinyardApp.fillUsername(\"user\");\n vinyardApp.fillPassord(\"123\");\n vinyardApp.clickSubmitButton();\n }",
"protected void login() {\n\t\tdriver.get(getProperty(\"baseUrl\"));\n\n\t\t// 2. Enter valid credentials in the Username and Password fields.\n\t\tLoginPageObjects.usernameTextField(driver).sendKeys(getProperty(\"validUsername\"));\n\t\tLoginPageObjects.passwordTextField(driver).sendKeys(getProperty(\"validPassword\"));\n\n\t\t// 3. Click on the Login button\n\t\tLoginPageObjects.loginButton(driver).click();\n\t\t// waiting.waitForLoad(driver);\n\t}",
"public void clickLogin() {\n\t\tcontinueButton.click();\n\t}",
"public void login() {\n presenter.login(username.getText().toString(), password.getText().toString());\n }",
"private void adminLogin() {\n\t\tdriver.get(loginUrl);\r\n\t\t// fill the form\r\n\t\tdriver.findElement(By.name(\"username\")).sendKeys(USERNAME);\r\n\t\tdriver.findElement(By.name(\"password\")).sendKeys(PASSWORD);\r\n\t\t// submit login\r\n\t\tdriver.findElement(By.name(\"btn_submit\")).click();\r\n\t}",
"private void auto_log_in()\n {\n jtf_username.setText(Config.USERNAME);\n jpf_password.setText(Config.PASSWORD);\n jb_prijavi.doClick();\n\n }",
"@Test\n\t\tpublic void login() {\n\n\t\t\tlaunchApp(\"chrome\", \"http://demo1.opentaps.org/opentaps/control/main\");\n\t\t\t//Enter username\n\t\t\tenterTextById(\"username\", \"DemoSalesManager\");\n\t\t\t//Enter Password\n\t\t\tenterTextById(\"password\", \"crmsfa\");\n\t\t\t//Click Login\n\t\t\tclickByClassName(\"decorativeSubmit\");\n\t\t\t//Check Browser Title\n\t\t\tverifyBrowserTitle(\"Opentaps Open Source ERP + CRM\");\n\t\t\t//Click Logout\n\t\t\tclickByClassName(\"decorativeSubmit\");\n\t\t\t\n\n\t\t}",
"public void clickOnLoginButton(){\n\t\tthis.loginButton.click();\n\t}",
"public void login() {\n\n String username = usernameEditText.getText().toString();\n String password = passwordEditText.getText().toString();\n regPresenter.setHost(hostEditText.getText().toString());\n regPresenter.login(username, password);\n }",
"public void login() {\n if (!areFull()) {\n return;\n }\n\n // Get the user login info\n loginInfo = getDBQuery(nameField.getText());\n if (loginInfo.equals(\"\")) {\n return;\n }\n\n // Get password and check if the entered password is true\n infoArray = loginInfo.split(\" \");\n String password = infoArray[1];\n if (!passField.getText().equals(password)) {\n errorLabel.setText(\"Wrong Password!\");\n return;\n }\n\n continueToNextPage();\n }",
"private void login(String username, String password) {\n WebElement usernameTextBox = driver.findElement(By.id(\"username\"));\n WebElement passwordTextBox = driver.findElement(By.id(\"password\"));\n usernameTextBox.sendKeys(username);\n passwordTextBox.sendKeys(password);\n WebElement submitButton = driver.findElement(By.xpath(\"/html/body/div/div/div/div/div[2]/form/fieldset/div[3]/div/button\"));\n submitButton.click();\n }",
"public void login2() {\n\t\tdriver.findElement(By.cssSelector(\"input[name='userName']\")).sendKeys(\"testing\");\n\t\tdriver.findElement(By.cssSelector(\"input[name='password']\")).sendKeys(\"testing\");\n\t\tdriver.findElement(By.cssSelector(\"input[name='login']\")).click();\n\t\t\n\n\t\n\t\n\t}",
"private void logIn() {\n char[] password = jPasswordField1.getPassword();\n String userCode = jTextField1.getText();\n\n String txtpassword = \"\";\n for (char pw : password) {\n txtpassword += pw;\n }\n if (\"\".equals(txtpassword)) {\n JOptionPane.showMessageDialog(this, textBundle.getTextBundle().getString(\"enterPassword\"), \"No Password\", JOptionPane.WARNING_MESSAGE);\n } else if (txtpassword.equals(userData.get(0).toString())) {\n jPasswordField2.setEnabled(true);\n jPasswordField3.setEnabled(true);\n jPasswordField2.setEditable(true);\n jPasswordField3.setEditable(true);\n jPasswordField2.grabFocus();\n }\n }",
"public void loginAsTom() {\n textFieldUsername.withTimeoutOf(2000, MILLIS).type(\"tomsmith\");\n textFieldPassword.type(\"SuperSecretPassword!\");\n buttonLogin.click();\n }",
"public void fillInLogin(String username, String password) {\n WebElement usernameField = driver.findElement(By.id(\"username\"));\n WebElement passwordField = driver.findElement(By.cssSelector(\"input[name=password]\"));\n WebElement loginButton = driver.findElement(By.xpath(\"//button[@type='submit']\"));\n\n // Sending username and password: tomsmith / SuperSecretPassword!\n usernameField.sendKeys(username);\n passwordField.sendKeys(password);\n\n // Clicking Login button\n loginButton.click();\n\n // 5 sec waiting\n try {\n Thread.sleep(5000);\n } catch (InterruptedException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n }",
"public void btnLoginClicked() {\n String username = txfUsername.getText();\n String password = txfPassword.getText();\n DatabaseController database = new DatabaseController(new TuDbConnectionFactory());\n Authentication auth = new Authentication(database);\n if (auth.signIn(username, password)) {\n Player player = new Player(username, database.getPersonalTopScore(username));\n game.setScreen(new PreGameScreen(game,\"music/bensound-funkyelement.mp3\", player));\n } else {\n txfUsername.setColor(Color.RED);\n txfPassword.setColor(Color.RED);\n }\n }",
"private void login() {\n AnonimoTO dati = new AnonimoTO();\n String username = usernameText.getText();\n String password = passwordText.getText();\n\n if (isValidInput(username, password)) {\n dati.username = username;\n dati.password = password;\n\n ComplexRequest<AnonimoTO> request =\n new ComplexRequest<AnonimoTO>(\"login\", RequestType.SERVICE);\n request.addParameter(dati);\n\n SimpleResponse response =\n (SimpleResponse) fc.processRequest(request);\n\n if (!response.getResponse()) {\n if (ShowAlert.showMessage(\n \"Username o password non corretti\", AlertType.ERROR)) {\n usernameText.clear();\n passwordText.clear();\n }\n }\n }\n\n }",
"public void Login()throws Exception{\r\n if(eMailField.getText().equals(\"user\") && PasswordField.getText().equals(\"pass\")){\r\n displayMainMenu();\r\n }\r\n else{\r\n System.out.println(\"Username or Password Does not match\");\r\n }\r\n }",
"private void login(String username, String password) {\n driver.findElement(usernameTextBox).sendKeys(username);\n driver.findElement(passwordTextBox).sendKeys(password);\n driver.findElement(submitButton).click();\n }",
"private void loginAsAdmin() {\n vinyardApp.navigateToUrl(\"http://localhost:8080\");\n vinyardApp.fillUsername(\"admin\");\n vinyardApp.fillPassord(\"321\");\n vinyardApp.clickSubmitButton();\n }",
"public void clickLoginBtn() {\r\n\t\tthis.loginBtn.click(); \r\n\t}",
"public void login(String uname, String pwd) {\n username.type(uname);\n password.type(pwd);\n loginButton.click();\n }",
"public void loginTo(String strUserName,String strPasword)\n { \n if(strUserName.equals(\"\"))\n \tthis.getUserName().clear();\n \n if(strPasword.equals(\"\"))\n \tthis.getPassword().clear();\n \n \n \tthis.getUserName().sendKeys(strUserName); \n\n this.getPassword().sendKeys(strPasword); \n\n this.getLoginButton().click(); \n }",
"public void doLogin(String username, String password) {\n typeUsername(username);\n typePassword(password);\n clickLoginButton();\n }",
"@Test(priority = 0)\n public void correctLogin() {\n Login login = new Login(driver, wait);\n login.LoginMethod(login);\n login.typeCredentials(login.emailLabel, correctMail);\n login.typeCredentials(login.passwordLabel, correctPassword);\n login.click(login.submitBtn);\n login.checkElementDisplayed(login.loginContainer);\n }",
"public void clickLogin() {\n\t\t driver.findElement(loginBtn).click();\n\t }",
"private void loginIn(String user, String pass, int message){\n writeTextIntoTextBox(R.id.username_text_input, user);\n writeTextIntoTextBox(R.id.password_text_input, pass);\n clickId(R.id.login_button);\n checkLoginMessage(message);\n clickId(R.id.alt_button);\n checkIfAtLogin();\n }",
"public void clickLogin(){\n\t\tdriver.findElement(login).click();\n\t}",
"public void login(String login, String password) {\n driver.findElement(By.xpath(\"//input[@id='email']\")).sendKeys(login);\n driver.findElement(By.xpath(\"//input[@id='passwd']\")).sendKeys(password);\n driver.findElement(By.xpath(\"//button[@name='submitLogin']\")).click();\n\n }",
"public void cl_login(String uname, String pwd)\n\t{\n\t\tEnter(txt_uname, uname);\n\t\tEnter(txt_pwd, pwd);\n\t\tClick(btn_login);\n\t\t\n\t}",
"public void clickLogin(){\n\t\t\tdriver.findElement(login).click();\n\t}",
"public void loginBuilder(){\n loginFrame = new JFrame(\"Coronos Login\");\n loginFrame.setLayout(new GridLayout(3, 1));\n\n jpUserName = new JPanel(new FlowLayout());\n jtfUserNameField = new JTextField(10);\n userNameLabel = new JLabel(\"Username:\");\n userNameLabel.setLabelFor(jtfUserNameField);\n jpUserName.add(userNameLabel);\n jpUserName.add(jtfUserNameField);\n loginFrame.add(jpUserName);\n \n jpPassWord = new JPanel(new FlowLayout());\n passWordField = new JPasswordField(10);\n passWordLabel = new JLabel(\"Password:\");\n passWordField.addActionListener(this);\n passWordField.setActionCommand(\"Login\");\n passWordLabel.setLabelFor(passWordField);\n jpPassWord.add(passWordLabel);\n jpPassWord.add(passWordField);\n loginFrame.add(jpPassWord);\n \n jpOptions = new JPanel(new FlowLayout());\n loginButton = new JButton(\"Login\");\n loginButton.addActionListener(this);\n showPassword = new JButton(\"Reveal Password\");\n showPassword.addActionListener(this);\n jpOptions.add(loginButton);\n jpOptions.add(showPassword);\n loginFrame.add(jpOptions);\n \n loginFrame.setLocationRelativeTo(null);\n loginFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n loginFrame.setVisible(true);\n loginFrame.pack();\n }",
"public void login(String username, String password) {\n\t\tusernameBox.sendKeys(username);\n\t\tpasswordBox.sendKeys(password);\n\t\tloginButton.click();\n\t}",
"public void clickOnLogin() {\n\t\tWebElement loginBtn=driver.findElement(loginButton);\n\t\tif(loginBtn.isDisplayed())\n\t\t\tloginBtn.click();\n\t}",
"public pageLogin() {\n initComponents();\n labelimage.setBorder(new EmptyBorder(0,0,0,0));\n enterButton.setBorder(null);\n enterButton.setContentAreaFilled(false);\n enterButton.setVisible(true);\n usernameTextField.setText(\"Username\");\n usernameTextField.setForeground(new Color(153,153,153));\n passwordTextField.setText(\"Password\");\n passwordTextField.setForeground(new Color(153,153,153));\n usernameAlert.setText(\" \");\n passwordAlert.setText(\" \");\n \n }",
"@UiHandler(\"go\")\n void connexion(ClickEvent e) {\n loginField.setFocus(false);\n passwordField.setFocus(false);\n domains.setFocus(false);\n\n String login = loginField.getText();\n String password = passwordField.getText();\n login(login, password, domains.getValue(domains.getSelectedIndex()));\n\n\n }",
"@Then(\"^The user clicks the login button$\")\n\tpublic void the_user_clicks_the_login_button() throws Throwable {\n\t\t\n\t lpw.click_login_button();\n\t}",
"public void User_login()\r\n\t{\n\t\tdriver.findElement(FB_Locators.Signin_Email).clear();\r\n\t\tdriver.findElement(FB_Locators.Signin_Email).sendKeys(username);\r\n\t\t\r\n\t\t//Script using element referral..\r\n\t\tWebElement Password_Element=driver.findElement(FB_Locators.Signin_password);\r\n\t\tPassword_Element.clear();\r\n\t\tPassword_Element.sendKeys(password);\r\n\t\t\r\n\t\t//Login button using webelemnet referral\r\n\t\tWebElement Login_btn_Element=driver.findElement(FB_Locators.Signin_btn);\r\n\t\tLogin_btn_Element.click();\r\n\t}",
"@And(\"click on login button\")\n\tpublic void click_on_login_button() {\n\t\tSystem.out.println(\"click on login button\");\n\t\tdriver.findElement(By.name(\"Submit\")).click();\n\t \n\t}",
"@When(\"^click on login button$\")\n\tpublic void click_on_login_button() throws Throwable {\n\t\tdriver.findElement(By.xpath(\"//input[@name='btnLogin']\")).click();\n\t}",
"public void actionPerformed(ActionEvent e){\n if (e.getSource() == login_var){\r\n String username_input = userInp.getText();\r\n login_username = username_input;\r\n \r\n String password_input = passInp.getText();\r\n status = systemssoftwareproject.Authentication.login.login(username_input, password_input);\r\n \r\n // If credentials are a match - login successfully\r\n if(status) {\r\n setVisible(false);\r\n }\r\n \r\n // Else - display error\r\n else{\r\n JOptionPane.showMessageDialog(c, \"Incorrect Credentials! Try again.\", \"ERROR\", JOptionPane.ERROR_MESSAGE);\r\n }\r\n }\r\n \r\n // Send user to SignupForm\r\n if (e.getSource() == signup){\r\n setVisible(false);\r\n SignupForm signupForm = new SignupForm();\r\n signupForm.getLoginInstance(this);\r\n }\r\n }",
"public void clickOnLoginButton() {\n\t\tutil.clickOnElement(this.loginPageLocators.getLoginButtonElement());\n\t}",
"protected void submitAction() {\n\t\ttry {\n\t\t\tString username = userField.getText();\n\t\t\tAbstractAgent loggedClient = parent.getAgent().login(username, new String(passField.getPassword()));\n\t\t\tif (loggedClient instanceof AdminMS) {\n\t\t\t\tAdminUI adminUI = new AdminUI((AdminMS) loggedClient);\n\t\t\t\tparent.setVisible(false);\n\t\t\t\tadminUI.run();\n\t\t\t} else if (loggedClient instanceof IUser) {\n\t\t\t\tUserUI userUI = new UserUI((IUser) loggedClient);\n\t\t\t\tparent.setVisible(false);\n\t\t\t\tuserUI.run();\n\t\t\t}\n\t\t\tif (loggedClient != null)\n\t\t\t\tparent.dispose();\n\t\t} catch (LoginException e) {\n\t\t\tmessageLabel.setText(e.getMessage());\n\t\t} catch (RemoteException e) {\n\t\t\tJOptionPane.showMessageDialog(parent, e);\n\t\t}\n\t}",
"public void clciklogin() {\n\t driver.findElement(loginBtn).click();\r\n\t \r\n\t //Print the web page heading\r\n\t System.out.println(\"The page title is : \" +driver.findElement(By.xpath(\"//*[@id=\\\"app\\\"]//div[@class=\\\"main-header\\\"]\")).getText());\r\n\t \r\n\t //Click on Logout button\r\n\t// driver.findElement(By.id(\"submit\")).click();\r\n\t }",
"@Test(dependsOnMethods=\"startapp\")\r\n\tpublic void loginapp() {\n\t\tdriver.findElement(By.xpath(\"//*[@id=\\\"root\\\"]/div/div/div/form/div[1]/input\")).sendKeys(\"[email protected]\");\r\n\t\t//((WebElement) driver.findElements(By.xpath(\"//*[@id=\\\"idSIButton9\\\"]\"))).click();\r\n\t\tdriver.findElement(By.xpath(\"//*[@id=\\\"root\\\"]/div/div/div/form/div[2]/input\")).sendKeys(\"Liverpool1\");\r\n\t\t\r\n\t\tdriver.findElement(By.xpath(\"//*[@id=\\\"root\\\"]/div/div/div/form/button\")).click();\r\n\t\tdriver.manage().timeouts().implicitlyWait(3, TimeUnit.SECONDS);\r\n\t}",
"public void LoginButton() {\n\t\t\r\n\t}",
"public void Login(String userName, String password) \n\t{\n\t\ttxtUserName.sendKeys(userName);\n\t\ttxtPassword.sendKeys(password);\n\t}",
"Login(String strLogin)\n {\n \tsetLogin(strLogin);\n }",
"@Test(priority = 1)\n public void testLoginUser() {\n\n WebElement loginField = driver.findElement(By.name(\"username\"));\n loginField.sendKeys(userLogin);\n System.out.println(userLogin);\n\n WebElement passwordField = driver.findElement(By.name(\"password\"));\n passwordField.sendKeys(userPassword);\n System.out.println(userPassword);\n\n WebElement loginButton = driver.findElement(By.cssSelector(\"button[class*='el-button']\"));\n loginButton.click();\n\n// wait.until(ExpectedConditions.visibilityOfElementLocated(By.cssSelector(\"div[class*='search-form'] > div > input\")));\n\n String url = driver.getCurrentUrl();\n Assert.assertEquals(url,\"http://login.multidetect.eu/project\");\n }",
"public void login(ActionEvent e) {\n boolean passwordCheck = jf_password.validate();\n boolean emailCheck = jf_email.validate();\n if (passwordCheck && emailCheck) {\n\n\n new LoginRequest(jf_email.getText(), jf_password.getText()) {\n @Override\n protected void success(JSONObject response) {\n Platform.runLater(fxMain::switchToDashboard);\n }\n\n @Override\n protected void fail(String error) {\n Alert alert = new Alert(Alert.AlertType.ERROR, error, ButtonType.OK);\n alert.showAndWait();\n }\n };\n\n\n }\n }",
"@Override\n\tpublic void actionPerformed(ActionEvent arg0) {\n\t\tif (arg0.getActionCommand().equals(\"LOGIN\")) {\n\t\t\t\n\t\t\t// Verify username is valid and acquire associated password for account\n\t\t\tString username = usernameTF.getText();\n\t\t\t\n\t\t\t// Database: Check for username\n\t\t\tif (username == \"jmn7080\") {\n\t\t\t\t// Get password from database\n\t\t\t//\tcorrectPassword = getAssociatedPassword(username);\n\t\t\t\t\n\t\t\t\t// Retrieve password input by user\n\t\t\t\tchar[] input = passwordPF.getPassword();\n\t\t\t\tchar[] correctPassword = { 's', 'a', 'v', 'e', 'm', 'e'};\n\t\t\t\t\n\t\t\t\tif (isPasswordCorrect(input, correctPassword)) {\n\t\t\t\t\tJOptionPane.showMessageDialog(newUserWindow,\"Success! You typed the right password.\");\n\t\t\t\t\tloginWindow.dispose();\n\t\t\t\t\tcreateTempData();\n\t\t\t\t\tteacherPortalScreen();\n\t\t\t\t\t\n\t\t } else {\n\t\t \t\t\tJOptionPane.showMessageDialog(newUserWindow,\"Invalid password. Try again.\",\n\t\t \"Error Message\", JOptionPane.ERROR_MESSAGE);\n\t\t usernameTF.setText(\"\");\n\t\t passwordPF.setText(\"\");\n\t\t \n\t\t // Zero out the possible password, for security.\n\t\t Arrays.fill(input, '0');\n\t\t }\n\t\t\t\t\n\t\t\t\t// Zero out the possible password, for security.\n\t Arrays.fill(input, '0');\n\t \n\t passwordPF.selectAll();\n\t resetFocus();\n\t\t\t} \n\t\t}\n\t}",
"public login(JFrame frame, Authenticator auth) {\n\t\tsetBackground(Color.GRAY);\n\t\t\n\t\tJLabel lblWelcomeToOpen = new JLabel(\"Welcome to the Open Journal Submission System\");\n\t\tlblWelcomeToOpen.setHorizontalAlignment(SwingConstants.CENTER);\n\t\tlblWelcomeToOpen.setBounds(10, 55, 780, 30);\n\t\tlblWelcomeToOpen.setFont(new Font(\"Lucida Grande\", Font.PLAIN, 24));\n\t\t\n\t\tJLabel lblUsername = new JLabel(\"Username:\");\n\t\tlblUsername.setHorizontalAlignment(SwingConstants.CENTER);\n\t\tlblUsername.setBounds(233, 183, 92, 22);\n\t\tlblUsername.setFont(new Font(\"Lucida Grande\", Font.PLAIN, 18));\n\t\t\n\t\tJLabel lblPassword = new JLabel(\"Password:\");\n\t\tlblPassword.setHorizontalAlignment(SwingConstants.CENTER);\n\t\tlblPassword.setBounds(238, 253, 87, 22);\n\t\tlblPassword.setFont(new Font(\"Lucida Grande\", Font.PLAIN, 18));\n\t\t\n\t\ttextUser = new JTextField();\n\t\ttextUser.setBounds(369, 178, 180, 32);\n\t\ttextUser.setFont(new Font(\"Lucida Grande\", Font.PLAIN, 18));\n\t\ttextUser.setColumns(10);\n\t\t\n\t\tJButton loginbtn = new JButton(\"Login\");\n\t\tloginbtn.setFont(new Font(\"Lucida Grande\", Font.PLAIN, 18));\n\t\tloginbtn.setBounds(449, 339, 100, 40);\n\t\tloginbtn.addMouseListener(new MouseAdapter() {\n\t\t\t@Override\n\t\t\tpublic void mousePressed(MouseEvent e) {\n\t\t\t\tString user = textUser.getText();\n\t\t\t\tString pass = String.valueOf( textPass.getPassword());\n\t\t\t\t\t\t\t\n\t\t\t\tif ((user == null || user.isEmpty()) && (pass == null || pass.isEmpty())) {\n\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Please enter username and password\", \"ERROR\", JOptionPane.ERROR_MESSAGE);\n //JOptionPane.showMessageDialog(null, \"Please enter username and password\", \"ERROR\", JOptionPane.INFORMATION_MESSAGE);\n } else if (user == null || user.isEmpty()){\n \tJOptionPane.showMessageDialog(null, \"Please enter username\", \"ERROR\", JOptionPane.ERROR_MESSAGE);\n } else if (pass == null || pass.isEmpty()){\n \tJOptionPane.showMessageDialog(null, \"Please enter password\", \"ERROR\", JOptionPane.ERROR_MESSAGE);\n }\n\t\t\t}\n\t\t});\n\t\tloginbtn.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tString uname = textUser.getText();\n\t\t\t\tString pass = String.valueOf( textPass.getPassword());\n\t\t\t\t\n\t\t\t\tif (auth.login(uname, pass) != null) {\n\t\t\t\t\tif (auth.login(uname, pass).getAccountType() == \"Researcher\") {\n\t\t\t\t\t\tResearcher panel = new Researcher(frame, auth);\n\t\t\t\t\t\tframe.setContentPane(panel);\n\t\t\t\t\t\tframe.revalidate();\n\t\t\t\t\t} else if (auth.login(uname, pass).getAccountType() == \"Reviewer\") {\n\t\t\t\t\t\tSystem.out.println(uname);\n\t\t\t\t\t\tReviewer panel = new Reviewer(frame, auth,uname);\n\t\t\t\t\t\tframe.setContentPane(panel);\n\t\t\t\t\t\tframe.revalidate();\n\t\t\t\t\t} else if (auth.login(uname, pass).getAccountType() == \"Editor\") {\n\t\t\t\t\t\tEditor panel = new Editor(frame, auth,uname);\n\t\t\t\t\t\tframe.setContentPane(panel);\n\t\t\t\t\t\tframe.revalidate();\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Account not found\", \"ERROR\", JOptionPane.ERROR_MESSAGE);\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\t\n\t\tJButton btnRegister = new JButton(\"Register\");\n\t\tbtnRegister.addMouseListener(new MouseAdapter() {\n\t\t\t@Override\n\t\t\tpublic void mousePressed(MouseEvent e) {\n\t\t\t\tregister panel = new register(frame, auth);\n\t\t\t\tframe.setContentPane(panel);\n\t\t\t\tframe.revalidate();\n\t\t\t}\n\t\t});\n\t\t\t\n\t\tbtnRegister.setFont(new Font(\"Lucida Grande\", Font.PLAIN, 18));\n\t\tbtnRegister.setBounds(259, 339, 120, 40);\t\n\t\t\t\n\t\tsetLayout(null);\n\t\tadd(lblWelcomeToOpen);\n\t\tadd(lblPassword);\n\t\tadd(lblUsername);\n\t\tadd(textUser);\n\t\tadd(btnRegister);\n\t\tadd(loginbtn);\n\t\t\n\t\ttextPass = new JPasswordField();\n\t\ttextPass.setBounds(369, 251, 180, 32);\n\t\tadd(textPass);\n\n\t}",
"public void clickGoToLogin(){\n\t\t\n\t\tgoToLoginBtn.click();\n\t\t\n\t}",
"public void doLoginClod()\r\n {\r\n this.executeLoginAttemp(this.loginForForm, this.passwordForForm);\r\n String navigateResult = this.navigateAfterLoginAttemp();\r\n if (!navigateResult.equals(\"/\")) redirectSession(\"/clodwar/index.xhtml\");\r\n }",
"@Test\n\tpublic void cricLogin(){\n\t\tdriver.get(\"http://localhost:8080/CricWebApp/login.do\");\n\t\tdriver.manage().window().maximize(); \n\t\ttry {\n\t\t\tThread.sleep(4000);\n\t\t} catch (InterruptedException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\t//driver.findElement(By.linkText(\"Sign Up\")).click();\n\t\tdriver.findElement(By.name(\"userName\")).sendKeys(\"jmuh\");\n\t\tdriver.findElement(By.name(\"password\")).sendKeys(\"jmuh\");\n\t\tdriver.findElement(By.tagName(\"input\")).click();\n\t\tdriver.findElement(By.xpath(\"/html/body/form/div[2]/table/tbody/tr[3]/td/input\")).click();\n\t\ttry {\n\t\t\tThread.sleep(2000);\n\t\t} catch (InterruptedException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\tdriver.close();\n\t\t\n\t}",
"@Test\t\t\n\tpublic void Login()\t\t\t\t\n\t{\t\t\n\t driver.get(\"https://demo.actitime.com/login.do\");\t\t\t\t\t\n\t driver.findElement(By.id(\"username\")).sendKeys(\"admin\");\t\t\t\t\t\t\t\n\t driver.findElement(By.name(\"pwd\")).sendKeys(\"manager\");\t\t\t\t\t\t\t\n\t driver.findElement(By.xpath(\"//div[.='Login ']\")).click();\t\t\n\t driver.close();\n\t}",
"public void user_signin()\r\n\t{\r\n\t\t\r\n\t\tdriver.findElement(By.id(\"email\")).clear();\r\n\t\tdriver.findElement(By.id(\"email\")).sendKeys(UID);\r\n\t\t\r\n\t\tdriver.findElement(By.id(\"pass\")).clear();\r\n\t\tdriver.findElement(By.id(\"pass\")).sendKeys(PWD);\r\n\t}",
"public void clickLogin() {\r\n\t\tdriver.findElement(SignIn).click();\r\n\t\t//SignIn.click();\r\n\t\t//SignIn.click();\r\n\t\t//return new LoginPage();\r\n\t}",
"public void Login(String username, String password) {\n WebElement usernameTextBox = driver.findElement(By.name(\"username\"));\n usernameTextBox.sendKeys(username);\n WebElement passwordTextBox = driver.findElement(By.id(\"password\"));\n passwordTextBox.sendKeys(password);\n WebElement loginButton = driver.findElement(By.id(\"login\"));\n loginButton.click();\n WebElement userInfoTab = driver.findElement(By.xpath(\"//span[@class='user_info']\"));\n if (userInfoTab.isDisplayed()) {\n System.out.println(\"User logged in seccessfully.\");\n } else {\n System.out.println(\"Login failed\");\n }\n }",
"public HomePage loginAs(String username, String password) {\n // The PageObject methods that enter username, password & submit login have\n // already defined and should not be repeated here.\n typeUserName(username);\n typePassword(password);\n return clickOnSignInButton();\n }",
"public void SwichLogingPageAndSignIn()\r\n {\r\n WaitTime(2000);\r\n driver.navigate().to(\"https://www.n11.com/giris-yap\");\r\n \r\n driver.findElement(By.cssSelector(\"#email\")).sendKeys(\"[email protected]\");\r\n WaitTime(2000);\r\n driver.findElement(By.cssSelector(\"#password\")).sendKeys(\"nacre123456\");\r\n WaitTime(2000);\r\n driver.findElement(By.cssSelector(\"#loginButton\")).click();\r\n \r\n }",
"public void onClick(View v) {\n\t\t\t\tString usernameField = username.getText().toString();\n\t\t\t\tString passwordField = password.getText().toString();\n\n\t\t\t\t// login with this information\n\t\t\t\tlogin(usernameField, passwordField);\n\t\t\t\t\n\t\t\t}",
"@When(\"^user should cliks the Login Button in login page$\")\n\tpublic void user_should_cliks_the_Login_Button_in_login_page() throws Throwable {\n\t\telementClick(pa.getAp().getLoginclick());\n\t \n\t}",
"void goToLogin() {\n mainFrame.setPanel(panelFactory.createPanel(PanelFactoryOptions.panelNames.LOGIN));\n }",
"private void login() {\r\n\r\n if (String.valueOf(login_usernameTextField.getText()).equals(\"\"))\r\n JOptionPane.showMessageDialog\r\n (null, \"Must Enter A Username\");\r\n\r\n else if (String.valueOf(login_passwordField.getPassword()).equals(\"\"))\r\n JOptionPane.showMessageDialog\r\n (null, \"Must Enter A Password\");\r\n\r\n else if (MainGUI.pimsSystem.staff_exists(login_usernameTextField.getText(), String.valueOf(login_passwordField.getPassword()))) {\r\n remove(loginPanel);\r\n add(tabbedPane);\r\n JOptionPane.showMessageDialog\r\n (null, \"Login Successful\");\r\n repaint();\r\n revalidate();\r\n\r\n // reset username and password fields\r\n login_usernameTextField.setText(\"\");\r\n login_passwordField.setText(\"\");\r\n\r\n } else\r\n JOptionPane.showMessageDialog\r\n (null, \"Invalid Password or Username\");\r\n }",
"@Test\n\tpublic void loginToOpentaps() {\n\t\tinvokeApp(\"chrome\", \"http://demo1.opentaps.org\");\n\n\t\t// Step 2: Enter user name\n\t\tenterById(\"username\", \"DemoSalesManager\");\n\n\t\t// Step 3: Enter Password\n\t\tenterById(\"password\", \"crmsfa\");\n\n\t\t// Step 4: Click Login\n\t\tclickByClassName(\"decorativeSubmit\");\n\t\t\n\t\t// Step 5: Verify Username\n\t\tverifyTextContainsByXpath(\"//div[@id='form']/h2\", \"Welcome\");\n\t\t\n\t\t// Step 6: Click Logout\n\t\tclickByClassName(\"decorativeSubmit\");\n\t\t\n\n\n\n\t}",
"public void doLogin() {\n\t\tSystem.out.println(\"loginpage ----dologin\");\n\t\t\n\t}",
"public void loginAlert() {\n\t\tDialog<Pair<String, String>> dialog = new Dialog<>();\n\t\tdialog.setTitle(\"Login Dialog\");\n\t\tdialog.setHeaderText(\"Look, a Custom Login Dialog\");\n\n\t\t// Set the icon (must be included in the project).\n\t\tdialog.setGraphic(new ImageView(this.getClass().getResource(\"file:src/vista/img/usuario.png\").toString()));\n\n\t\t// Set the button types.\n\t\tButtonType loginButtonType = new ButtonType(\"Login\", ButtonData.OK_DONE);\n\t\tdialog.getDialogPane().getButtonTypes().addAll(loginButtonType, ButtonType.CANCEL);\n\n\t\t// Create the username and password labels and fields.\n\t\tGridPane grid = new GridPane();\n\t\tgrid.setHgap(10);\n\t\tgrid.setVgap(10);\n\t\tgrid.setPadding(new Insets(20, 150, 10, 10));\n\n\t\tTextField username = new TextField();\n\t\tusername.setPromptText(\"Username\");\n\t\tPasswordField password = new PasswordField();\n\t\tpassword.setPromptText(\"Password\");\n\n\t\tgrid.add(new Label(\"Username:\"), 0, 0);\n\t\tgrid.add(username, 1, 0);\n\t\tgrid.add(new Label(\"Password:\"), 0, 1);\n\t\tgrid.add(password, 1, 1);\n\n\t\t// Enable/Disable login button depending on whether a username was entered.\n\t\tNode loginButton = dialog.getDialogPane().lookupButton(loginButtonType);\n\t\tloginButton.setDisable(true);\n\n\t\t// Do some validation (using the Java 8 lambda syntax).\n\t\tusername.textProperty().addListener((observable, oldValue, newValue) -> {\n\t\t loginButton.setDisable(newValue.trim().isEmpty());\n\t\t});\n\n\t\tdialog.getDialogPane().setContent(grid);\n\n\t\t// Request focus on the username field by default.\n\t\tPlatform.runLater(() -> username.requestFocus());\n\n\t\t// Convert the result to a username-password-pair when the login button is clicked.\n\t\tdialog.setResultConverter(dialogButton -> {\n\t\t if (dialogButton == loginButtonType) {\n\t\t return new Pair<>(username.getText(), password.getText());\n\t\t }\n\t\t return null;\n\t\t});\n\n\t\tOptional<Pair<String, String>> result = dialog.showAndWait();\n\n\t\tresult.ifPresent(usernamePassword -> {\n\t\t System.out.println(\"Username=\" + usernamePassword.getKey() + \", Password=\" + usernamePassword.getValue());\n\t\t});\n\t}",
"private void login() {\n\t\t \tetUserName.addTextChangedListener(new TextWatcher() {\n\t\t public void afterTextChanged(Editable s) {\n\t\t Validation.hasText(etUserName);\n\t\t }\n\t\t public void beforeTextChanged(CharSequence s, int start, int count, int after){}\n\t\t public void onTextChanged(CharSequence s, int start, int before, int count){}\n\t\t });\n\t\t \t\n\t\t \t // TextWatcher would let us check validation error on the fly\n\t\t \tetPass.addTextChangedListener(new TextWatcher() {\n\t\t public void afterTextChanged(Editable s) {\n\t\t Validation.hasText(etPass);\n\t\t }\n\t\t public void beforeTextChanged(CharSequence s, int start, int count, int after){}\n\t\t public void onTextChanged(CharSequence s, int start, int before, int count){}\n\t\t });\n\t\t }",
"public void actionPerformed(ActionEvent e) {\n\t\t\t\tif (campoUsername.getText().replace(\" \", \"\").equals(\"\")\n\t\t\t\t\t\t|| new String(campoPassword.getPassword()).replace(\" \", \"\").equals(\"\")) {\n\t\t\t\t\tmostraMissatge(\"No ha possat username o password\");\n\t\t\t\t} \n\t\t\t\telse {\n\t\t\t\t\tcv.PrLogin(campoUsername.getText(), new String(campoPassword.getPassword()));\n\t\t\t\t}\n\t\t\t}",
"void login() {\r\n\t\t// to show the window and the data input\r\n\t\td = new Dialog(f, true);\r\n\t\thost = new TextField(10);\r\n\t\ttf_name = new TextField(10);\r\n\t\td.setLayout(new GridLayout(3, 2));\r\n\t\td.add(new Label(\"host:\"));\r\n\t\td.add(host);\r\n\t\td.add(new Label(\"name:\"));\r\n\t\td.add(tf_name);\r\n\t\tButton b = new Button(\"OK\");\r\n\t\tb.addActionListener(new ActionListener() {\r\n\t\t\t// if the input is ended, then use the realLogin method to login the server\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\trealLogin(host.getText(), tf_name.getText());\r\n\t\t\t\td.dispose();\r\n\t\t\t}\r\n\t\t});\r\n\t\td.add(b);\r\n\t\td.setResizable(true);\r\n\t\td.setSize(200, 150);\r\n\t\td.show();\r\n\t\t(new Thread(this)).start();\r\n\t}",
"@Test\n\tpublic void testingLoginUsername() {\n\t\t\n\t\tthis.gettingUserAndPass();\n\t\t\n\t\tusername.sendKeys(\"validUsername\");\n\t\tpassword.sendKeys(\"validPassword\");\n\t\tusername.submit();\n\t\t\n\t\tString welcomeUser = driver.findElement(By.className(\"dashwidget_label\")).getText();\n\t\tassertEquals(\"Welcome to Humanity!\", welcomeUser);\n\t\t\n\t}",
"public void doLogin(String userName,String password) {\n\t\tenterText(usernamelocator, userName);\n\t\tenterText(passwordlocator, password);\n\t\tclick(loginButton);\n\t}",
"@Override\n public void loginScreen() {\n logIn = new GUILogInScreen().getPanel();\n frame.setContentPane(logIn);\n ((JButton) logIn.getComponent(4)).addActionListener(e -> {\n setUsername();\n });\n }",
"void SubmitButton() {\r\n\t\tint checker = Accounts.checkUser(username.getText(), password.getText());\r\n\t\tif(checker == -1) {\r\n\t\t\tsetVisible(false);\r\n\t\t\tdispose();\r\n\t\t\tAdminScreen adminScreen = new AdminScreen();\r\n\t\t}\r\n\t\telse if(checker >= 0) {\r\n\t\t\tsetVisible(false);\r\n\t\t\tdispose();\r\n\t\t\tStudentScreen studentScreen = new StudentScreen(checker);\r\n\t\t}\r\n\t\telse {\r\n\t\t\tJOptionPane.showMessageDialog(null, \"Error: username \"\r\n\t\t\t\t\t+ \"and/or password is incorrect.\");\r\n\t\t\tpassword.setText(\"\");\r\n\t\t\tusername.setText(\"\");\r\n\t\t}\r\n\t\t\r\n\t}",
"public void goToLoginPage()\n\t{\n\t\tclickAccountNameIcon();\n\t\tclickSignInLink();\n\t}",
"public void logincredentials() {\n\t\tutil.entertext(prop.getValue(\"locators.text.uname\"), \"admin\");\n\t\tutil.entertext(prop.getValue(\"locators.text.password\"), \"Admin123\");\n\t\tutil.ClickElement(prop.getValue(\"locators.button.regdesk\"));\n\t\tutil.ClickElement(prop.getValue(\"locators.button.login\"));\n\t\tlogreport.info(\"logged into the application\");\n\n\t}",
"protected void login() {\n\t\t\r\n\t}",
"private void loginButtonMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_loginButtonMouseClicked\n //Make a default user object and bind the input data\n User loginUser;\n loginUser = new User(emailField.getText(), new String(passwordField.getPassword()));\n //Check hashed credentials against database\n //JEncryption encrypter = new JEncryption();\n //loginUser.setPswd(new String(encrypter.encrypt(loginUser.getPswd())));\n try\n {\n if(loginUser.login())\n {\n //If successful load the view\n //System.out.println(loginUser.toString());\n View v = new View(loginUser.getRole(), loginUser.getUserId());\n v.setVisible(true);\n this.setVisible(false);\n }\n //If not, pop out a login failed message\n else\n {\n JOptionPane.showMessageDialog(null, \"No user with that e-mail/password combination found.\");\n }\n }\n catch(DLException d)\n {\n JOptionPane.showMessageDialog(null, \"Connection Error. Please contact an administrator if the problem persists.\");\n }\n }",
"@When(\"user clicks on login button\")\r\n\tpublic void user_clicks_on_login_button() {\n\t\tdriver.findElement(By.name(\"Login\")).click();\r\n\t}",
"@Test\n\tpublic void TC02_Login() {\n\t\tSystem.out.println(\"TC02 : 1. Click to Login Page\");\n\t\tclickToElemnet(loginLinkX);\n\n\t\t// Verify Navigate to Login Page\n\t\tSystem.out.println(\"TC02 : 2. Login Page Display Status :\" + checkElementDisplayed(loginPageX));\n\n\t\t// Login to Page\n\t\tsendkeysToElement(emailTxtX, regEmail);\n\t\tsendkeysToElement(passwordTxtX, regPassword);\n\t\tclickToElemnet(loginBtnX);\n\n\t\t// Verify Login Successfully\n\t\tSystem.out.println(\"TC02 : 3. Login Successfully Status : \" + checkElementDisplayed(myAccountLinkX));\n\t}",
"public void Login()\r\n\t{\r\n\t\t\r\n\t\tString firstName = CommonDriver.getProperties(\"FirstName\");\r\n\t\tString lastName = CommonDriver.getProperties(\"LastName\");\r\n\t\tString mobileNumber = CommonDriver.getProperties(\"MobileNumber\");\r\n\t\tString email = CommonDriver.getProperties(\"Email\");\r\n\t\tString Fpassword = CommonDriver.getProperties(\"Password\");\r\n\t\tString confirmPassword = CommonDriver.getProperties(\"ConfirmPassword\");\r\n\t\tString userName = CommonDriver.getProperties(\"UserName\");\r\n\t\tString logPassword = CommonDriver.getProperties(\"LogPassword\");\r\n\t\t\r\n\t\tUserName.sendKeys(userName);\r\n\t\t\r\n\t\tLogPassword.sendKeys(logPassword);\r\n\t\t\t\t\r\n\t\tLogin.click();\r\n\t\t\r\n\t\t/**\r\n\t\t * Since the application forgets the login credentials in sometime, hence, checking the error msg and signing up again \r\n\t\t * \r\n\t\t */\r\n\t\r\n\t\tboolean present;\r\n\t\ttry {\r\n\t\t driver.findElement(By.xpath(\"//*[@id='loginfrm']/div[1]/div[2]/div\"));\r\n\t\t present = true;\r\n\t\t System.out.println(\"Need to signup first\");\r\n\t\t\t\r\n\t\t\tSignUp.click();\r\n\t\t\t\r\n\t\t\tFirstName.sendKeys(firstName);\r\n\t\t\t\r\n\t\t\tLastName.sendKeys(lastName);\r\n\t\t\t\t\t\r\n\t\t\tMobileNumber.sendKeys(mobileNumber);\r\n\t\t\t\t\t\r\n\t\t\tEmail.sendKeys(email);\r\n\t\t\t\t\t\r\n\t\t\tPassword.sendKeys(Fpassword);\r\n\t\t\t\t\t\r\n\t\t\tConfirmPassword.sendKeys(confirmPassword);\r\n\t\t\t\t\t\r\n\t\t\tSignUpF.click();\r\n\t\t \r\n\t\t} catch (NoSuchElementException e) {\r\n\t\t present = false;\r\n\t\t \r\n\t\t\tSystem.out.println(\"Loggedin Successfully\");\r\n\t\t}\r\n\t}",
"public void switchToLogin() {\r\n\t\tlayout.show(this, \"loginPane\");\r\n\t\tloginPane.resetPassFields();\r\n\t\trevalidate();\r\n\t\trepaint();\r\n\t}",
"public void actionPerformed(ActionEvent e) {\n \t\t\t\tlogin();\n \t\t\t}",
"private void LoginAction() {\n\t\tsubmit.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) \n\t\t\t{\n\t\t\t\tif (username.getText().isEmpty() || password.getPassword().length == 0) {\n\t\t\t\t\tJOptionPane.showMessageDialog(null, \"All fields have not been entered.\", \"Oops! Please Try Again\", JOptionPane.ERROR_MESSAGE);\n\t\t\t\t\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tif(myController.login(username.getText(), String.valueOf(password.getPassword())))\n\t\t\t\t\t{\n\t\t\t\t\t\tSystem.out.println(\"We login\");\n\t\t\t\t\t\tmyController.showHomePage();\n\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tJOptionPane.showMessageDialog(null, \"The username and password do not match an account.\", \"Login Error\", JOptionPane.ERROR_MESSAGE);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n//\t\t\t\telse if (username.getText().equalsIgnoreCase(\"User\") && Arrays.equals(password.getPassword(), new char[]{'u','s','e','r','p','w','d'})) {\n//\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Logged in as a USER!\", \"Success!\", JOptionPane.PLAIN_MESSAGE);\n//\t\t\t\t\t\n//\t\t\t\t} else if (username.getText().equalsIgnoreCase(\"Judge\") && Arrays.equals(password.getPassword(), new char[]{'j','u','d','g','e','p','w','d'})) {\n//\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Logged in as a Judge!\", \"Success!\", JOptionPane.PLAIN_MESSAGE);\n//\t\t\t\t\n//\t\t\t\t} else if (username.getText().equalsIgnoreCase(\"Admin\") && Arrays.equals(password.getPassword(), new char[]{'a','d','m','i','n','p','w','d'})) {\n//\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Logged in as an Admin!\", \"Success!\", JOptionPane.PLAIN_MESSAGE);\n//\t\t\t\t\n//\t\t\t\t} else {\n//\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Incorrect Login.\", \"Oops! Please Try Again\", JOptionPane.ERROR_MESSAGE);\n//\t\t\t\t}\n\t\t\t}\n\t\t});\n\t}",
"public void login(String username, String password){\n\t\tWaitExtensions.waitForPageToLoad(10);\n\t\tuserNameField.sendKeys(username);\n\t\tpasswordField.sendKeys(password);\n\t\tloginButton.click();\n\t}",
"@Then(\"^I Login to the application$\")\r\n\tpublic void I_Login_to_the_application() throws Throwable {\n\t\tdriver.findElement(By.xpath(\"//input[@type='submit']\")).click();\r\n\t}",
"@OnClick(R.id.btnLogin)\n public void doLogin(View view) {\n email.setError(null);\n password.setError(null);\n\n if(email.getText().length() == 0){\n email.setError(getString(R.string.you_must_provide_your_email));\n return;\n }\n\n if(password.getText().length() == 0){\n password.setError(getString(R.string.you_must_provide_your_password));\n return;\n }\n\n // check if user && password match\n User user = User.login(email.getText().toString(), password.getText().toString());\n if(user == null){\n Toast.makeText(this, R.string.user_and_password_do_not_match, Toast.LENGTH_LONG).show();\n return;\n }\n\n // create session and start main\n startMain(user);\n }",
"public void irParaPaginaDeLogin (){\n\n click(By.className(btnLoginClass));\n }",
"@OnClick(R.id.email_sign_in_button) public void onLoginClicked() {\n String uname = username.getText().toString();\n String pass = password.getText().toString();\n\n loginForm.clearAnimation();\n\n // Start login\n presenter.doLogin(new AuthCredentials(uname, pass));\n }",
"protected boolean login() {\n\t\tString Id = id.getText();\n\t\tif (id.equals(\"\")){\n\t\t\tJOptionPane.showMessageDialog(null, \"请输入用户名!\",\"\", JOptionPane.ERROR_MESSAGE);\n\t\t\treturn false;\n\t\t}\n\t\t\n\t\tUserVO user = bl.findUser(Id);\n\t\tif (user == null){\n\t\t\tJOptionPane.showMessageDialog(null, \"该用户不存在!\",\"\", JOptionPane.ERROR_MESSAGE);\n\t\t\treturn false;\n\t\t}\n\t\t\n\t\tif (! user.getPassword().equals(String.valueOf(key.getPassword()))){\n\t\t\tSystem.out.println(user.getPassword());\n\t\t\tJOptionPane.showMessageDialog(null, \"密码错误!\",\"\", JOptionPane.ERROR_MESSAGE);\n\t\t\treturn false;\n\t\t}\n\t\t\n\t\tsimpleLoginPanel.this.setVisible(false);\n\t\tUserblService user2 = new Userbl(Id);\n\t\tReceiptsblService bl = new Receiptsbl(user2);\n\t\tClient.frame.add(new simpleMainPanel(user2,bl));\n\t\tClient.frame.repaint();\n\t\t\n\t\treturn true;\n\t\t\n\t}",
"@And(\"clicks on login button\")\n\tpublic void clicks_on_login_button() {\n\t\tdriver.findElement(By.id(\"login\")).click();\n\t\t\n\n\t}",
"public void loginByHittingEnterInPasswordBox(String username, String password) {\n\t\t\n\t\tusernameBox.sendKeys(username);\n\t\tpasswordBox.sendKeys(password, Keys.ENTER);\n\t}",
"public void login(ActionEvent e) throws IOException {\r\n\t\t\r\n \tString username = loginuser.getText().trim();\r\n \t//if user is admin, change to userlist screen\r\n \tif (username.equals(\"admin\")) {\r\n \tPhotos.userlistscreen();\r\n \t} else {\r\n \t\tUser user = currentAdmin.findUser(username);\r\n \t\t//if user is found, log into that user and show the album view for that user specifically\r\n \t\tif (user!=null) {\r\n \t\t\tAlbumController.currentUser = (NonAdmin) user;\r\n \t\t\tCopyController.currentUser = (NonAdmin) user;\r\n \t\t\tMoveController.currentUser = (NonAdmin) user;\r\n \t\t\tPhotos.albumscreen(user);\r\n \t\t}\r\n \t\telse {\r\n \t\t\tAlert alert = new Alert(Alert.AlertType.ERROR);\r\n \t\t\talert.setTitle(\"Error\");\r\n \t\t\talert.setHeaderText(\"Invalid username\");\r\n \t\t\talert.setContentText(\"Please try again\");\r\n \t\t\talert.showAndWait();\r\n \t\t\tloginuser.setText(\"\");\r\n \t\t}\r\n \t}\r\n\t}",
"private void onLoginButtonClicked() {\n this.loginManager = new LoginManager(this, this);\n this.password = passwordEditText.getText().toString().trim();\n this.username = usernameEditText.getText().toString().trim();\n if (username.isEmpty() || password.isEmpty()) {\n Snackbar.make(coordinatorLayout, R.string.fill_all_fields_snackbar, Snackbar.LENGTH_LONG).show();\n } else loginManager.fetchUsersToDatabase(username, password, serverName, serverPort);\n }",
"void updateButtonLogin() {\n\t\tthis.mButtonLogin.setEnabled(this.mAuthUsername.getText().length() > 0\n\t\t\t\t&& this.mAuthPassword.getText().length() > 0);\n\t}",
"private void showLogin() {\n \t\tLogin.actionHandleLogin(this);\n \t}",
"private void login()\r\n\t{\r\n\t\ttry\r\n\t\t{\r\n\t\t\t//Get the connection to the database\r\n\t\t\tDatabase db = new Database();\r\n\r\n\t\t\t//Get the data and format it correctly\r\n\t\t\tString username = txtUsername.getText().trim().toLowerCase();\r\n\t\t\tString password = new String(txtPassword.getPassword()).trim();\r\n\r\n\t\t\t//Verify that user information has been inserted into the username/password fields\r\n\t\t\tif (username.length() == 0)\r\n\t\t\t{\r\n\t\t\t\tJOptionPane.showMessageDialog(\r\n\t\t\t\t\tthis,\r\n\t\t\t\t\t\"Please enter your username.\",\r\n\t\t\t\t\tApplication.NAME,\r\n\t\t\t\t\tJOptionPane.WARNING_MESSAGE\r\n\t\t\t\t);\r\n\r\n\t\t\t\ttxtUsername.requestFocus();\r\n\t\t\t}//End of if\r\n\t\t\telse if (password.length() == 0)\r\n\t\t\t{\r\n\t\t\t\tJOptionPane.showMessageDialog(\r\n\t\t\t\t\tthis,\r\n\t\t\t\t\t\"Please enter your password.\",\r\n\t\t\t\t\tApplication.NAME,\r\n\t\t\t\t\tJOptionPane.WARNING_MESSAGE\r\n\t\t\t\t);\r\n\r\n\t\t\t\ttxtPassword.requestFocus();\r\n\t\t\t}//End of else if\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\tif (!db.usernameExists(username))\r\n\t\t\t\t{\r\n\t\t\t\t\tJOptionPane.showMessageDialog(\r\n\t\t\t\t\t\tthis,\r\n\t\t\t\t\t\t\"The username/password combination you provided does not exist.\",\r\n\t\t\t\t\t\tApplication.NAME,\r\n\t\t\t\t\t\tJOptionPane.WARNING_MESSAGE\r\n\t\t\t\t\t);\r\n\r\n\t\t\t\t\ttxtPassword.setText(\"\");\r\n\t\t\t\t\ttxtPassword.requestFocus();\r\n\t\t\t\t}//End of if\r\n\t\t\t\telse\r\n\t\t\t\t{\r\n\t\t\t\t\tUser user = db.loadUser(username);\r\n\t\t\t\t\tbyte [] bPassword = PasswordEncryption.hashPassword(username, password);\r\n\r\n\t\t\t\t\tif (bPassword.length != user.getPassword().length)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\t\tJOptionPane.showMessageDialog(\r\n\t\t\t\t\t\t\t\tthis,\r\n\t\t\t\t\t\t\t\t\"The username/password combination you provided does not exist.\",\r\n\t\t\t\t\t\t\t\tApplication.NAME,\r\n\t\t\t\t\t\t\t\tJOptionPane.WARNING_MESSAGE\r\n\t\t\t\t\t\t\t);\r\n\r\n\t\t\t\t\t\t\ttxtPassword.setText(\"\");\r\n\t\t\t\t\t\t\ttxtPassword.requestFocus();\r\n\t\t\t\t\t}//End of if\r\n\t\t\t\t\telse\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tboolean same = true;\r\n\r\n\t\t\t\t\t\t//Check the passwords for equality\r\n\t\t\t\t\t\tfor (int x = 0; x < bPassword.length; x++)\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tif (bPassword[x] != user.getPassword()[x])\r\n\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\tsame = false;\r\n\t\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t\t}//End of if\r\n\t\t\t\t\t\t}//End of for\r\n\r\n\t\t\t\t\t\tif (same)\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tif (user.getAccountLevel() < 10)\r\n\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\tJOptionPane.showMessageDialog(\r\n\t\t\t\t\t\t\t\t\tthis,\r\n\t\t\t\t\t\t\t\t\t\"You do not have sufficient rights to access this application.\",\r\n\t\t\t\t\t\t\t\t\tApplication.NAME,\r\n\t\t\t\t\t\t\t\t\tJOptionPane.WARNING_MESSAGE\r\n\t\t\t\t\t\t\t\t);\r\n\r\n\t\t\t\t\t\t\t\ttxtPassword.setText(\"\");\r\n\t\t\t\t\t\t\t\ttxtPassword.requestFocus();\r\n\t\t\t\t\t\t\t}//End of if\r\n\t\t\t\t\t\t\telse\r\n\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t//Login the user\r\n\t\t\t\t\t\t\t\tSession.login(user);\r\n\r\n\t\t\t\t\t\t\t\t//Open the dashbard\r\n\t\t\t\t\t\t\t\tSession.openWindow(new Dashboard());\r\n\r\n\t\t\t\t\t\t\t\t//Close this window\r\n\t\t\t\t\t\t\t\tthis.dispose();\r\n\t\t\t\t\t\t\t}//End of else\r\n\t\t\t\t\t\t}//End of if\r\n\t\t\t\t\t\telse\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tJOptionPane.showMessageDialog(\r\n\t\t\t\t\t\t\t\tthis,\r\n\t\t\t\t\t\t\t\t\"The username/password combination your provided does not exist.\",\r\n\t\t\t\t\t\t\t\tApplication.NAME,\r\n\t\t\t\t\t\t\t\tJOptionPane.WARNING_MESSAGE\r\n\t\t\t\t\t\t\t);\r\n\r\n\t\t\t\t\t\t\ttxtPassword.setText(\"\");\r\n\t\t\t\t\t\t\ttxtPassword.requestFocus();\r\n\t\t\t\t\t\t}//End of else\r\n\t\t\t\t\t}//End of else\r\n\t\t\t\t}//End of else\r\n\t\t\t}//End of else\r\n\t\t}//End of try\r\n\t\tcatch (Exception e)\r\n\t\t{\r\n\t\t\t//Inform the user that the application was unable to connect to the database.\r\n\t\t\tJOptionPane.showMessageDialog(\r\n\t\t\t\tthis,\r\n\t\t\t\t\"An error occured connecting to the database.\\n\\nIf this problem continues, please contact your system administrator.\",\r\n\t\t\t\tApplication.NAME,\r\n\t\t\t\tJOptionPane.ERROR_MESSAGE\r\n\t\t\t);\r\n\t\t}//End of catch\r\n\t}",
"public void LogInOnAction(Event e) {\n\t \t\r\n\t \tif(BookGateway.getInstance().getAuthentication(this.userNameId.getText(), this.passwordId.getText())) {\r\n\t \t\tthis.whiteOutId.setVisible(false);\r\n\t \t\tthis.whiteOutId.setDisable(true);\r\n\t \t\t// TODO: Update label name in the corner.. \r\n\t \t\tthis.nameLabelId.setText(\"Hello, \" + BookGateway.currentUser.getFirstName());\r\n\t \t\r\n\t \t}else {\r\n\t \t\t// true\r\n\t \t\tmessAlert(\"Invalid\",\"Wrong Username or password\");\r\n\t \t\tthis.userNameId.setText(\"\");\r\n\t \t\tthis.passwordId.setText(\"\");\r\n\t \t\te.consume();\r\n\t \t}\r\n\t \t\r\n\t \t\r\n\t }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jLabel1 = new javax.swing.JLabel();\n jLabel2 = new javax.swing.JLabel();\n txtUsername = new javax.swing.JTextField();\n txtPassword = new javax.swing.JPasswordField();\n jButton1 = new javax.swing.JButton();\n jButton2 = new javax.swing.JButton();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);\n setTitle(\"E-Church Login\");\n setBackground(new java.awt.Color(169, 226, 39));\n addWindowListener(new java.awt.event.WindowAdapter() {\n public void windowClosing(java.awt.event.WindowEvent evt) {\n formWindowClosing(evt);\n }\n });\n\n jLabel1.setText(\"Username:\");\n\n jLabel2.setText(\"Password:\");\n\n jButton1.setText(\"Login\");\n jButton1.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton1ActionPerformed(evt);\n }\n });\n\n jButton2.setText(\"Cancel\");\n jButton2.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton2ActionPerformed(evt);\n }\n });\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(72, 72, 72)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(jLabel2)\n .addComponent(jLabel1))\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(txtPassword, javax.swing.GroupLayout.DEFAULT_SIZE, 240, Short.MAX_VALUE)\n .addComponent(txtUsername, javax.swing.GroupLayout.PREFERRED_SIZE, 238, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGroup(layout.createSequentialGroup()\n .addComponent(jButton1)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 118, Short.MAX_VALUE)\n .addComponent(jButton2)))\n .addContainerGap(84, Short.MAX_VALUE))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(31, 31, 31)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(txtUsername, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel1))\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel2)\n .addComponent(txtPassword, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jButton1)\n .addComponent(jButton2))\n .addContainerGap(19, Short.MAX_VALUE))\n );\n\n pack();\n }"
] | [
"0.7875306",
"0.7841723",
"0.78382564",
"0.77539235",
"0.77095777",
"0.77037334",
"0.7702611",
"0.76555085",
"0.76394206",
"0.7633249",
"0.76080304",
"0.7603246",
"0.75486434",
"0.7540269",
"0.7523925",
"0.7508862",
"0.74795735",
"0.74772006",
"0.74704677",
"0.7453561",
"0.7444481",
"0.7433633",
"0.7409844",
"0.739392",
"0.7376202",
"0.7274731",
"0.72618824",
"0.7261828",
"0.72557676",
"0.72417575",
"0.72172266",
"0.72043455",
"0.7199893",
"0.7198498",
"0.71745104",
"0.716989",
"0.7165901",
"0.71607035",
"0.715196",
"0.71413666",
"0.71370983",
"0.71359074",
"0.7130229",
"0.71251696",
"0.71240264",
"0.7116119",
"0.7107556",
"0.710657",
"0.7103827",
"0.70997494",
"0.707954",
"0.7050755",
"0.7043621",
"0.70404255",
"0.7039792",
"0.7039074",
"0.70326155",
"0.70250887",
"0.70199114",
"0.700874",
"0.70074147",
"0.69999397",
"0.699527",
"0.6992482",
"0.6988441",
"0.6988395",
"0.698335",
"0.6982947",
"0.69720095",
"0.6968884",
"0.6965959",
"0.696233",
"0.6960034",
"0.69540393",
"0.6942426",
"0.69386095",
"0.6921792",
"0.6920489",
"0.6906176",
"0.69061553",
"0.69007444",
"0.6897937",
"0.68955934",
"0.68925303",
"0.68880814",
"0.68799335",
"0.68762076",
"0.6872111",
"0.6871053",
"0.6867247",
"0.6859051",
"0.6857847",
"0.685428",
"0.684344",
"0.6838911",
"0.68378043",
"0.6837067",
"0.6832629",
"0.68296814",
"0.6820945",
"0.6815454"
] | 0.0 | -1 |
looks for a success msg obj and returns true if found | public boolean verifySuccess() {
return driver.findElement(successMsg).isDisplayed();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean isSuccess();",
"public boolean isSuccess();",
"boolean isSuccess();",
"boolean isSuccess();",
"boolean isSuccess();",
"boolean isSuccess();",
"boolean isSuccess();",
"boolean isSuccess();",
"boolean isSuccess();",
"boolean hasIsSuccess();",
"boolean getSuccess();",
"boolean getSuccess();",
"boolean getSuccess();",
"boolean getSuccess();",
"private boolean isSuccessful(SocketMessage response) {\r\n if (\"success\".equals(response.getValue(\"status\"))) {\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }",
"boolean isSuccessful();",
"public boolean isSuccess()\r\n/* 79: */ {\r\n/* 80:115 */ Object result = this.result;\r\n/* 81:116 */ if ((result == null) || (result == UNCANCELLABLE)) {\r\n/* 82:117 */ return false;\r\n/* 83: */ }\r\n/* 84:119 */ return !(result instanceof CauseHolder);\r\n/* 85: */ }",
"public boolean isSuccessful()\n\t{\n\t\tif (response.get(\"Result\").equals(\"APPROVED\") && !response.get(\"MESSAGE\").equals(\"DUPLICATE\")) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}",
"boolean hasMsg();",
"public boolean isSuccess()\r\n {\r\n return success;\r\n }",
"public Boolean isSuccess(final SessionContext ctx)\n\t{\n\t\treturn (Boolean)getProperty( ctx, SUCCESS);\n\t}",
"public boolean isSuccess() {\r\n return success;\r\n }",
"public boolean isSuccess() {\r\n return success;\r\n }",
"public boolean patenteSuccess() {\n return this.success;\n }",
"@Override\n\t\tpublic boolean isSuccess() {\n\t\t\treturn false;\n\t\t}",
"public boolean isSuccess() {\n return success;\n }",
"public boolean isSuccess() {\n return success;\n }",
"public boolean isSuccess() {\n return success;\n }",
"public boolean isSuccess() {\n\t\tif (Status.OK == status) {\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}",
"public boolean getSuccess() {\n return instance.getSuccess();\n }",
"public boolean getSuccess() {\n return instance.getSuccess();\n }",
"public boolean getSuccess() {\n return instance.getSuccess();\n }",
"boolean hasMessage();",
"boolean hasMessage();",
"boolean hasMessage();",
"boolean hasMessage();",
"boolean hasMessage();",
"boolean hasMessage();",
"boolean hasMessage();",
"boolean hasMessage();",
"public boolean isOK() {\r\n return getPayload().getString(\"status\").equals(\"ok\");\r\n }",
"boolean hasResult();",
"boolean hasResult();",
"boolean hasResult();",
"boolean hasResult();",
"boolean hasResult();",
"boolean hasResult();",
"boolean hasResult();",
"boolean hasResult();",
"boolean hasResult();",
"boolean hasResult();",
"boolean hasResult();",
"boolean hasResult();",
"public boolean isIsSuccess() {\r\n return isSuccess;\r\n }",
"Boolean isInvokeSuccess();",
"boolean getIsOk();",
"public boolean getSuccess() {\n return success_;\n }",
"public boolean isSuccess() {\n return mSuccess;\n }",
"public boolean getSuccess() {\n return success_;\n }",
"public boolean getSuccess() {\n return success_;\n }",
"public boolean getSuccess() {\n return success_;\n }",
"public boolean getSuccess() {\n return success_;\n }",
"static boolean checkOk(String response) {\n\t\tMatcher m = PAT_ES_SUCCESS.matcher(response);\n\t\tif (m.find()) {\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}",
"public boolean isIsSuccess() {\n return isSuccess;\n }",
"@XmlTransient\n\tpublic boolean isSuccess() {\n\t\treturn errorCode == ActionErrorCode.SUCCESS;\n\t}",
"boolean hasRemsg();",
"public Boolean getSuccess() {\n\t\treturn success;\n\t}",
"public Boolean isSuccess()\n\t{\n\t\treturn isSuccess( getSession().getSessionContext() );\n\t}",
"public boolean containsSuccessMsg(String txt) {\n\t\n\t\tWebDriverWait wait = new WebDriverWait (driver, 90);\n\t\twait.until(ExpectedConditions.textToBePresentInElementLocated(By.xpath(\"//div/h1\"), Constants.SUCCESS_TITLE));\n\t\t\n\t\treturn driver.getPageSource().contains(txt);\n\t}",
"boolean hasMessageInfoID();",
"public void receiveResultcheckIfInwentUserExist(\r\n net.agef.jobexchange.webservice.tests.util.UserWSStub.CheckIfInwentUserExistResponse result\r\n ) {\r\n }",
"public boolean isSetSuccess() {\r\n return this.success != null;\r\n }",
"public boolean isSetSuccess() {\r\n return this.success != null;\r\n }",
"public boolean isSetSuccess() {\r\n return this.success != null;\r\n }",
"public boolean isSetSuccess() {\r\n return this.success != null;\r\n }",
"public boolean isSetSuccess() {\r\n return this.success != null;\r\n }",
"public boolean isSetSuccess() {\r\n return this.success != null;\r\n }",
"public boolean isSuccessful() {\n return this.reason == Reason.NONE;\n }",
"public boolean getSuccess() {\n return (transactionFailure == null && amountConverted != null);\n }",
"public boolean wasSuccessful() {\n return this.failureCount() == 0 && this.errorCount() == 0;\n }",
"public boolean performOk() {\r\n\t\treturn super.performOk();\r\n\t}",
"public boolean hasSucceeded() {\n return succeeded;\n }",
"private static boolean checkResultFromDataService(final JsonElement json)\n {\n if (json != null && json.isJsonObject())\n {\n final JsonObject jsonObject = json.getAsJsonObject();\n String type = getStringFromJson(jsonObject, TYPE);\n if (!StringHelper.isNullOrEmpty(type))\n {\n type = type.toLowerCase(Locale.US);\n }\n String resultFromJson = getStringFromJson(jsonObject, \"result\");\n if (!StringHelper.isNullOrEmpty(resultFromJson))\n {\n resultFromJson = resultFromJson.toLowerCase(Locale.US);\n }\n return (type.contains(\"success\") && resultFromJson\n .equals(\"success\"));\n }\n return false;\n }",
"public void receiveResultcheckIfUserExist(\r\n net.agef.jobexchange.webservice.tests.util.UserWSStub.CheckIfUserExistResponse result\r\n ) {\r\n }",
"public boolean isSetSuccess() {\n return this.success != null;\n }",
"public boolean isSetSuccess() {\n return this.success != null;\n }",
"public boolean isSetSuccess() {\n return this.success != null;\n }",
"public boolean isSetSuccess() {\n return this.success != null;\n }",
"public boolean isSetSuccess() {\n return this.success != null;\n }",
"boolean hasJsonAckMsg();",
"public boolean isSetSuccess() {\n return this.success != null;\n }",
"public boolean isSetSuccess() {\n return this.success != null;\n }",
"public boolean isSetSuccess() {\n return this.success != null;\n }",
"public boolean isSetSuccess() {\n return this.success != null;\n }",
"public boolean isSetSuccess() {\n return this.success != null;\n }",
"public boolean isSetSuccess() {\n return this.success != null;\n }",
"public boolean isSetSuccess() {\n return this.success != null;\n }",
"public boolean isSetSuccess() {\n return this.success != null;\n }",
"public boolean isSetSuccess() {\n return this.success != null;\n }",
"public boolean isSetSuccess() {\n return this.success != null;\n }"
] | [
"0.70979166",
"0.70979166",
"0.7035885",
"0.7035885",
"0.7035885",
"0.7035885",
"0.7035885",
"0.7035885",
"0.7035885",
"0.69377667",
"0.69303954",
"0.69303954",
"0.69303954",
"0.69303954",
"0.6722194",
"0.66246307",
"0.6598221",
"0.65506244",
"0.65491915",
"0.651428",
"0.6501962",
"0.6410549",
"0.6410549",
"0.6396104",
"0.6382129",
"0.6364796",
"0.6364796",
"0.6364796",
"0.63438636",
"0.6229744",
"0.6229744",
"0.6229744",
"0.61886024",
"0.61886024",
"0.61886024",
"0.61886024",
"0.61886024",
"0.61886024",
"0.61886024",
"0.61886024",
"0.6177996",
"0.61483794",
"0.61483794",
"0.61483794",
"0.61483794",
"0.61483794",
"0.61483794",
"0.61483794",
"0.61483794",
"0.61483794",
"0.61483794",
"0.61483794",
"0.61483794",
"0.6132123",
"0.6120229",
"0.611142",
"0.6104479",
"0.60980433",
"0.6083928",
"0.6083928",
"0.6083928",
"0.6083928",
"0.60835594",
"0.608211",
"0.6081032",
"0.6065615",
"0.60482347",
"0.60258925",
"0.6016024",
"0.5975295",
"0.5968231",
"0.5966799",
"0.5966799",
"0.5966799",
"0.5966799",
"0.5966799",
"0.5966799",
"0.5961329",
"0.59523463",
"0.59394956",
"0.59003055",
"0.58919317",
"0.58638775",
"0.5841014",
"0.5808878",
"0.5808878",
"0.5808878",
"0.5808878",
"0.5808878",
"0.5800538",
"0.5796756",
"0.5796756",
"0.5796756",
"0.5796756",
"0.5796756",
"0.5796756",
"0.5796756",
"0.5796756",
"0.5796756",
"0.5796756"
] | 0.628146 | 29 |
looks for a failure msg and returns true if found | public boolean verifyFailure() {
return driver.findElement(failMsg).isDisplayed();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"boolean hasErrmsg();",
"boolean isFailure();",
"boolean hasErrormessage();",
"boolean isFail();",
"public void failed(String msg) {\n failureMsg = msg;\n }",
"boolean hasErrorMessage();",
"boolean hasErrorMessage();",
"boolean hasErr();",
"String getFailureMessage();",
"private boolean knownFailure(String fileName) {\r\n \t\tList<String> failures = new ArrayList<String>();\r\n \t\tfailures.add(\"Heading5\");\r\n \t\tfailures.add(\"HtmlCommentTest2\");\r\n \t\tfailures.add(\"HtmlMismatchTest3\");\r\n \t\tfailures.add(\"ImageLink2\"); // bad paragraph parsing - no <p> around <div> tags\r\n \t\tfailures.add(\"Inclusion~test\"); // template params not parsed in parser functions\r\n \t\tfailures.add(\"NestedTable1\");\r\n \t\tfailures.add(\"NestedTable2\");\r\n \t\tfailures.add(\"Paragraph13\");\r\n \t\tfailures.add(\"Paragraph15\"); // failure parsing of empty paragraphs with <nowiki>\r\n \t\tfailures.add(\"PreformattedInvalid1\");\r\n \t\tfailures.add(\"Template_-_Paramtest\");\r\n \t\tfailures.add(\"UnbalancedTag1\");\r\n \t\tfailures.add(\"UnbalancedTag3\");\r\n \t\treturn (failures.indexOf(fileName) != -1);\r\n \t}",
"public boolean isFailure( ) {\n\t\treturn failed;\n\t}",
"public boolean hasFail() {\n return result.hasFail();\n }",
"public boolean errorFound()\r\n\t{\r\n\t\t\r\n\t}",
"public AlwaysFailsCheck(String excepmsg) {\n errmsg = excepmsg;\n }",
"boolean hasErrcode();",
"public boolean isFailure() {\n return _type == Type.FAILURE;\n }",
"public boolean hasFailed(){\n\t\treturn failures;\n\t}",
"private void checkFailedResult_EnrollmentWizard_UI(WebDriver driver, String expectedFailed) {\t\t\n\t\tBy by = By.xpath(\"//tr[descendant::td[contains(text(),'\"+Failed_Msg+\"')]]/td[2]\");\n\t\tString failed = WebDriverUtils.getText(driver, by);\n\t\tJUnitAssert.assertEquals(expectedFailed, failed);\n\t}",
"protected String failedMatcherMessage() {\n return \"FAILED!\";\n }",
"boolean hasError();",
"boolean hasError();",
"boolean hasError();",
"public void assertErrorMsgCheck() {\r\n\t\t\tassertEquals(errorMsg.getText().substring(0,52), \"Warning: Please check the form carefully for errors!\");\r\n\t\t\tSystem.out.println(\"Asserted that the msg has been displayed: \"+ errorMsg.getText().substring(0,52));\r\n\t\t}",
"java.lang.String getErrmsg();",
"String failureReason();",
"public final boolean\n isOutcomeFailed() { return hasOutcome_ && outcome_ == false; }",
"@Override\n\tpublic void fail(Handle msg) {\n\t\t\n\t}",
"private static Boolean errorCheck(String Buffer){\n if(Buffer.matches(\"Y\")) return true;\n if(Buffer.matches(\"N\")) return false;\n screenClear(); //Clears the screen and applies an error message.\n return moreInput(); //Recursive repeat upon error.\n }",
"public boolean hasFailed() {\n\t\treturn failed;\n\t}",
"public final boolean isFailed() {\n return failed;\n }",
"public boolean hasError() {\n\t\treturn results.getErrors().contains( \"ERROR\") ;\n\t}",
"public static String repositoryActionFailureMessage( final Document document, final String msg )\n {\n if ( document != null )\n {\n final String name = document.getRootElement().getName();\n if ( \"stagingRuleFailures\".equals( name ) )\n {\n return ruleFailureMessage( document, msg );\n }\n else\n {\n final StringBuilder sb = new StringBuilder();\n // unknown error format, can only print the xml\n sb.append( \"Repository action failed with an unknown detail message.\\n\" ).append( msg );\n try\n {\n final StringWriter out = new StringWriter();\n new XMLOutputter( Format.getPrettyFormat() ).output( document, out );\n sb.append( \"\\n\" + out.toString() );\n }\n catch ( IOException e1 )\n {\n // cannot write to StringWriter - unlikely, but we cannot do anything here anyway.\n }\n return sb.toString();\n }\n }\n\n return \"\";\n }",
"boolean hasIsSuccess();",
"boolean processFailure(Throwable t);",
"public String getFailureMessage() {\n return this.failureMessage;\n }",
"boolean hasErrorCode();",
"boolean hasErrors();",
"private boolean checkForErrors(String response) {\n\t\treturn response.contains(ResponseType.ERROR.toString()) && response.endsWith(\".\");\n\t}",
"private static boolean hasErrFound() {\r\n\t\tsynchronized (workerLock) {\r\n\t\t\treturn (errFoundByThread != -1);\r\n\t\t}\r\n\t}",
"public void fail( String reason );",
"public boolean hasError();",
"boolean hadErrors();",
"@Override\r\n\t\t\t\t\t\t\tpublic void onFail(String msg) {\n\t\t\t\t\t\t\t}",
"public boolean hasFailed ()\r\n {\r\n return exception_ != null;\r\n }",
"public final boolean isNeedParseeErrorMsg() {\r\n return getCommand() == 10;\r\n }",
"boolean hasMsg();",
"boolean isError();",
"public String getFailResult(String response) {\n\n\t\tString result=\"failed\";\n\t\tPattern pattern = Pattern.compile(FAULT_CODE);\n\n\t\tMatcher match = pattern.matcher(response);\n\t\tif (match.find(1)) {\n\t\t\tresult= (match.group(1));\n\t\t}\n\t\treturn result;\t\n\t}",
"@Override\r\n\tpublic String test(String msg) throws Exception {\n\t\tString rs = msg;\r\n\t\treturn rs;\r\n\t}",
"private boolean hasFailures(Map item){\n if(item.containsKey(\"code\") && item.get(\"code\").equals(\"ACCEPTED\"))\n return false;\n return ((Integer)item.get(\"failuresCount\")) > 0;\n }",
"public boolean hasErrors();",
"public final boolean hasErrorMessageFor(Component component)\n\t{\n\t\treturn hasMessageFor(component, FeedbackMessage.ERROR);\n\t}",
"java.lang.String getErrorMessage();",
"java.lang.String getErrorMessage();",
"java.lang.String getErrorMessage();",
"java.lang.String getErrorMessage();",
"java.lang.String getErrorMessage();",
"java.lang.String getErrorMessage();",
"java.lang.String getErrorMessage();",
"java.lang.String getErrorMessage();",
"java.lang.String getErrorMessage();",
"java.lang.String getErrorMessage();",
"java.lang.String getErrorMessage();",
"java.lang.String getErrorMessage();",
"@Override\r\n\t\t\t\t\tpublic void failed(String message) {\n\r\n\t\t\t\t\t}",
"public synchronized boolean isErrored() {\n return error != null;\n }",
"java.lang.String getErr();",
"public boolean hasErrmsg() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }",
"public boolean isFailed() {\n return candyName.equals(\"\") && pokemonHP == 10 && pokemonCP == 10;\r\n }",
"boolean hasPatStatusCode();",
"boolean hasPatStatusCode();",
"default boolean checkForError(HttpResponse response) {\n parameters.clear();\n\n\n if (response.getStatusCode() == 500) {\n System.out.println(\"Internal server error\");\n return true;\n } else if (response.getStatusCode() == 400) {\n System.out.println(\"Your input was not as expected. Use \\\"help\\\"-command to get more help.\");\n System.out.println(response.getBody());\n return true;\n } else if (response.getStatusCode() == 404) {\n System.out.println(\"The resource you were looking for could not be found. Use \\\"help\\\"-command to get more help.\");\n }\n\n return false;\n\n }",
"void failure(String category);",
"public boolean hasErrmsg() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }",
"public RuleResult(String msg) {\r\n\t\tif (msg == null)\r\n\t\t\tm_resultcode = SUCCESS_ID;\r\n\t\telse\r\n\t\t\tm_resultcode = FAIL_MESSAGE_ID;\r\n\r\n\t\tm_message = msg;\r\n\t}",
"@Override\n\tpublic String getFailureMessage() {\n\t return null;\n\t}",
"@Order(2)\n\t\t@Test\n\t\tpublic void getInvalidMessage() throws IOException, ParseException {\n\t\t\tboolean response = Requests.sendGETBoolReturn(Requests.MESSAGE_URL, INVALID_MESSAGE_ID);\n\t\t\t\n\t\t\t//expect that response == false :: Request should not return a 200\n\t\t\tassertFalse(response);\n\t\t}",
"boolean getFileErr();",
"private void printFailCommandResult(CommandResult result) {\n String commandType = result.getCommand().getCommandType();\n switch (commandType) {\n case Command.COMMAND_DONE:\n switch (result.getResultDescription()) {\n case CommandResult.INVALID_NUMBER:\n printInvalidTaskNotExistedMessage();\n break;\n case CommandResult.INVALID_TASK_ALREADY_DONE:\n printInvalidTaskAlreadyDoneMessage(result);\n break;\n }\n break;\n case Command.COMMAND_ADD_TODO:\n case Command.COMMAND_ADD_DEADLINE:\n case Command.COMMAND_ADD_EVENT:\n printInvalidAddTaskMessage(result);\n break;\n case Command.COMMAND_DELETE:\n printInvalidTaskNotExistedMessage();\n break;\n case Command.COMMAND_FIND:\n printInvalidKeywordMessage();\n break;\n default:\n printInvalidCommandMessage();\n break;\n }\n }",
"@Override\r\n\tpublic String getMessage() {\n\t\treturn \"Failed\";\r\n\t}",
"private boolean logAndReturnFalse(String errorMessage) {\n if (log.isDebugEnabled()) {\n log.debug(errorMessage);\n }\n return false;\n }",
"public int failureLevel(){\n return RESULT_WARNING;\n }",
"public boolean isError(){\r\n\t\tif(error!=0)\r\n\t\t\treturn true;\r\n\t\telse return false;\r\n\t}",
"private void violation(final String msg) {\n log(ast, msg);\n violationFound = true;\n }",
"public static void reportFailure(String message) {\n System.err.println(\"\\nData verification failed:\");\n System.err.println('\\t' + message);\n }",
"public ParseResult failureAt (Object input, int errorPosition, int peel)\n {\n ParseResult r = failure(input, peel + 1);\n\n assertEquals(r.errorOffset, errorPosition, peel + 1,\n () -> \"The furthest parse error didn't occur at the expected location.\");\n\n return r;\n }",
"public boolean getFailOnErr() {\n return mFailonerr;\n }",
"@Override\n public boolean hasErrorMessage() {\n return errorMessage != null;\n }",
"String getErrorMessage();",
"String getErrorMessage();",
"private static boolean hasErrFound(final int id) {\r\n\t\tsynchronized (workerLock) {\r\n\t\t\treturn (errFoundByThread == id);\r\n\t\t}\r\n\t}",
"@Then ( \"the Prescription was not added\" )\r\n public void failure () {\r\n // assertTrue( driver.getPageSource().contains( \"Error occurred creating\r\n // prescription\" ) );\r\n }",
"public void CheckError(String s) {\r\n if (s.equals(token.get(lookAheadPossition))){\r\n System.out.println(\"Expected: \"+ s +\" at line:\"+ lookAheadPossition);\r\n lookAheadPossition=lookAheadPossition+1;\r\n }else {\r\n System.out.println(\"ERROR: at line:\"+ lookAheadPossition +\" expected-> \"+ s +\" --- \" + token.get(lookAheadPossition)+ \" <-detected.\" );\r\n System.exit(0);\r\n }\r\n }",
"@Test\r\n\tpublic void verifyErrorMsgWithOutDataTest() throws InvalidFormatException, IOException, Throwable{\n\t\tString errorMSg = fdata.getExcelData(\"Sheet2\", 5, 2);\r\n\t\tdriver.get(pobj.getProperty(\"url\"));\r\n\t\t\r\n\t\t\r\n\t\t//click on login Button with out data\r\n\t\tLog_In lpage = PageFactory.initElements(driver, Log_In.class);\r\n\t\tlpage.getLogin_Edit().click();\r\n\t\t\r\n\t\t String actMSg = lpage.getErrMsg().getText();\r\n \r\n\t\t//verify Error msg\r\n\t Assert.assertEquals(errorMSg, actMSg);\r\n\t}",
"public String getFailureReason() {\n return this.failureReason;\n }",
"public String getFailureReason() {\n return this.failureReason;\n }",
"void showErrorMsg(String string);",
"@Override\n boolean isFailed() {\n return false;\n }",
"public boolean isErrored() {\n return errored;\n }",
"static boolean checkOk(String response) {\n\t\tMatcher m = PAT_ES_SUCCESS.matcher(response);\n\t\tif (m.find()) {\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}"
] | [
"0.7341845",
"0.6887494",
"0.6853014",
"0.6751806",
"0.6716231",
"0.6647062",
"0.6647062",
"0.6538942",
"0.64931715",
"0.63832533",
"0.6366275",
"0.62985146",
"0.62433004",
"0.6234676",
"0.6210871",
"0.6206882",
"0.61374956",
"0.60914963",
"0.606767",
"0.60173535",
"0.60173535",
"0.60173535",
"0.5995933",
"0.59923583",
"0.5970375",
"0.5955118",
"0.5939262",
"0.59302175",
"0.5893274",
"0.58570635",
"0.58384836",
"0.58312654",
"0.5818813",
"0.5807431",
"0.5795953",
"0.57896835",
"0.5777091",
"0.577033",
"0.5767686",
"0.57569534",
"0.5756588",
"0.5756153",
"0.5733628",
"0.5715045",
"0.57075804",
"0.570544",
"0.56946266",
"0.568732",
"0.5683328",
"0.5681002",
"0.5676062",
"0.56522024",
"0.5627492",
"0.5627492",
"0.5627492",
"0.5627492",
"0.5627492",
"0.5627492",
"0.5627492",
"0.5627492",
"0.5627492",
"0.5627492",
"0.5627492",
"0.5627492",
"0.5623219",
"0.56055725",
"0.5591802",
"0.55681956",
"0.556588",
"0.55483043",
"0.55483043",
"0.55441236",
"0.55279696",
"0.55241936",
"0.55232406",
"0.55209124",
"0.5513941",
"0.55007356",
"0.5500539",
"0.5499896",
"0.54990184",
"0.54987",
"0.549381",
"0.54879904",
"0.54858685",
"0.5484053",
"0.54632735",
"0.5449121",
"0.5441324",
"0.5441324",
"0.5437546",
"0.5428191",
"0.5422199",
"0.54138356",
"0.5412824",
"0.5412824",
"0.5409424",
"0.5391593",
"0.53862435",
"0.53821486"
] | 0.67021364 | 5 |
Goes into the user tab and then the users profile | public void clickUserProfile(){
driver.findElement(userTab).click();
driver.findElement(profileBtn).click();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void goToProfilePage() {\n\t\tUtil.element(userTab, driver).click();\n\t}",
"public void getUserProfile() {\n\t\tkeypad.UserProfiles.click();\n\t}",
"private void gotoUserProfile() {\n Intent launchUserProfile = new Intent(this, Profile.class);\n startActivity(launchUserProfile);\n }",
"public void handleNavMenuViewProfile() {\n if (user != null) {\n view.launchProfilePage(user);\n }\n }",
"public void editProfile() {\n\n\t\tAccount account = getInputOfUsersAccount();\n\t\tSystem.out.println(account.getUser().toString());\n\n\t\taccount = userBo.handleProfileOption(account);\n\n\t\tif (userDAO.editProfile(account))\n\t\t\tSystem.out.println(\"User edited!\");\n\n\t\telse\n\t\t\tSystem.out.println(\"Something went wrong!\");\n\n\t\tAdminMenu.getAdminMenu();\n\t}",
"@When(\"^When user navigates to profile page$\")\n\tpublic void when_user_navigates_to_profile_page() throws Throwable {\n\t\twait.WaitForElement(reviewConfirmationPageObjects.getmuserlink(), 60);\n\t\treviewConfirmationPageObjects.clickonprofile();\n\t}",
"public void clickOnProfile() {\n\t\telement(\"link_profile\").click();\n\t\tlogMessage(\"User clicks on Profile on left navigation bar\");\n\t}",
"void gotoEditProfile();",
"@Override\n\tpublic void showProfile() {\n\t\t\n\t}",
"public void openProfile(){\n\t\t\n\t\tclickElement(profile_L, driver);\n\t}",
"public void showProfile() {\r\n\t\tprofile.setVisible(true);\r\n\t}",
"void gotoEditProfile(String fbId);",
"public void goToUserProfile(User user) {\n\t\tBundle data = new Bundle();\n\t\tdata.putParcelable(\"User\",user);\n\t\tFragmentProfileOtherUser fpou = new FragmentProfileOtherUser();\n\t\tfpou.setArguments(data);\n\t\t\n\t\tandroid.support.v4.app.FragmentTransaction transaction = getFragmentManager().beginTransaction();\n\t\ttransaction.replace(R.id.container_fragment_main,fpou);\n\t\ttransaction.addToBackStack(null);\n\t\ttransaction.commit();\t\n\t}",
"private void onEditProfileClicked() {\n Intent intent = new Intent(this, ProfileCreationActivity.class);\n intent.putExtra(ProfileCreationActivity.EDIT_USER_PROFILE, true);\n intent.putExtra(ProfileCreationActivity.RETURN_TO_PREVIOUS, true); // we want to return to here, not HomeActivity on cancel or submit\n startActivity(intent);\n }",
"private void profileButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_profileButtonActionPerformed\n // TODO add your handling code here:\n this.setVisible(false);\n this.parentNavigationController.getUserProfileController();\n }",
"private void showProfile(User user){\n\n Intent i = new Intent(this, ProfileActivity.class);\n i.putExtra(\"user\", user);\n startActivity(i);\n }",
"public void editTheirProfile() {\n\t\t\n\t}",
"@Override\n\tpublic void openUserProfileFromActivity(WUser wuser) {\n\t\t\n\t}",
"@Override\n public void switchToProfileByBottomNavigation() {\n mMainView.switchProfileUiInitiative();\n }",
"public void goToProfilePage(View view) {\n Intent intent = new Intent(this, ProfilePage.class);\n startActivity(intent);\n }",
"@Override\n public boolean onProfileChanged(View view, IProfile profile, boolean current) {\n Intent intent = null;\n if (profile instanceof IDrawerItem && ((IDrawerItem) profile).getIdentifier() == IDENTIFIER_HEADER_ADD_ACCOUNT) {\n intent = new Intent(MainActivity.this, AddAccountActivity.class);\n //TODO: Save profile\n //TODO: Create profile drawer item from saved profile and show it in UI\n /*\n IProfile profileNew = new ProfileDrawerItem()\n .withNameShown(true)\n .withName(\"New Profile\")\n .withEmail(\"[email protected]\")\n .withIcon(getResources().getDrawable(R.drawable.profile_new));\n\n if (accountHeader.getProfiles() != null) {\n //we know that there are 2 setting elements. set the new profile above them\n accountHeader.addProfile(profileNew, accountHeader.getProfiles().size() - 2);\n } else {\n accountHeader.addProfiles(profileNew);\n }\n */\n } else if (profile instanceof IDrawerItem && ((IDrawerItem) profile).getIdentifier() == IDENTIFIER_HEADER_MANAGE_ACCOUNT) {\n intent = new Intent(MainActivity.this, ManageAccountActivity.class);\n //TODO: update the UI\n }else if(profile instanceof IDrawerItem && ((IDrawerItem) profile).getIdentifier() == IDENTIFIER_USER) {\n Toast.makeText(sApplicationContext, \"The User\", Toast.LENGTH_SHORT).show();\n SharedPreferences sp = sApplicationContext.getSharedPreferences(PREF_NAME, MODE_PRIVATE);\n String currentUserUUIDString = sp.getString(PREF_CURRENT_USER_UUID, null);\n if(((UserProfile)profile).getId().toString().equalsIgnoreCase(currentUserUUIDString)){\n Toast.makeText(sApplicationContext, \"SAME User\", Toast.LENGTH_SHORT).show();\n //TODO:\n }else{\n Toast.makeText(sApplicationContext, \"Different User\", Toast.LENGTH_SHORT).show();\n //TODO:\n SharedPreferences.Editor spe = sp.edit();\n spe.putString(PREF_CURRENT_USER_UUID, ((UserProfile)profile).getId().toString());\n spe.commit();\n\n UpdateContentUI();\n }\n }\n\n if(intent != null){\n MainActivity.this.startActivity(intent);\n }\n\n //false if you have not consumed the event And it should close the drawer\n return false;\n }",
"public void gotoProfileActivity()\n {\n Log.e(\"next\",\"\"+\"log\");\n startActivity(new Intent(OTPActivity.this, UserProfileActivity.class));\n finish();\n }",
"public WebElement profileSetUpTab() {\n\t\treturn getElementfluent(By.xpath(\"//menuitem[contains(text(),'Profile')]\"));\n\t}",
"private void goMainActivity() {\n Intent i = new Intent(this, ProfileActivity.class);\n startActivity(i);\n\n //prevents user going back to this screen after signing up\n finish();\n }",
"private void startProfilePageActivity() {\n Intent profileIntent = new Intent(this, ProfilePage.class);\n startActivity(profileIntent);\n }",
"public void onProfileView(MenuItem item) {\n Intent i = new Intent(this, ProfileActivity.class);\n startActivity(i);\n }",
"private void launchProfilesActivity() {\n Intent intent = new Intent(this, ProfilesActivity.class);\n startActivity(intent);\n }",
"private void editUser(){\n getDeviceLocation();\n ProxyBuilder.SimpleCallback<User> callback = returnedUser-> responseEdit(returnedUser);\n ServerManager.editUserProfile(userManager,callback);\n }",
"public void myProfile(View v) {\n\t\tIntent intent = new Intent(RootMenuActivity.this,\n\t\t\t\tMyProfileActivity.class);\n\t\tintent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);\n\t\tstartActivity(intent);\n\t}",
"public static void view() {\n\t\tUser user = UserService.getUserByUsername(session.get(\"username\"));\n\t\tUserProfile userprofile = null;\n\n\t\t// check if user object is null\n\t\tif (user != null)\n\t\t\tuserprofile = UserProfileService.getUserProfileByUserId(user.id);\n\n\t\trender(user, userprofile);\n\t}",
"public void ClickUserInformationPage() {\r\n\t\tuserinfo.click();\r\n\t\t\tLog(\"Clicked the \\\"User Information\\\" button on the Birthdays page\");\r\n\t}",
"public void clickHomeProfilePage() {\n wait.until(CustomWait.visibilityOfElement(profileHomePageButton));\n profileHomePageButton.click();\n }",
"@Override\n public void onDataChange(@NonNull DataSnapshot snapshot) {\n ((globalShared)activity.getApplicationContext()).setPassingUserAccount(snapshot.getValue(userAccount.class));\n Intent profileViewer = new Intent(activity, activity_profile_view.class);\n activity.startActivity(profileViewer);\n Animatoo.animateSlideUp(activity);\n }",
"public void viewUser() {\n\t\tsuper.viewUser();\n\t}",
"protected void loadUser(String id) {\n\t\tIntent intent = new Intent();\n\t\tintent.setClass(activity, ShowUserInfo.class);\n\t\tintent.putExtra(\"username\", id);\n\t\tintent.putExtra(\"owner\", username);\n\t\t\n\t\tstartActivity(intent);\n//\t\tthis.finish();\n\t}",
"@Then(\"^User should see home page with profile link$\")\n\tpublic void user_should_see_home_page_with_profile_link() throws Throwable {\n\t\twait.WaitForElement(profilepage.getywalletlink(), 60);\n\t\tprofilepage.verifyloginsuccess();\n\t\tThread.sleep(100);\n\t}",
"@RequestMapping(value = {\"/profile\"})\n @PreAuthorize(\"hasRole('logon')\")\n public String showProfile(HttpServletRequest request, ModelMap model)\n {\n User currentUser = userService.getPrincipalUser();\n model.addAttribute(\"currentUser\", currentUser);\n return \"protected/profile\";\n }",
"private void editProfile() {\n Log.d(TAG, \"Starting volley request to API\");\n try {\n String authority = String.format(Constants.AUTHORITY,\n Constants.TENANT,\n Constants.EDIT_PROFILE_POLICY);\n\n User currentUser = Helpers.getUserByPolicy(\n sampleApp.getUsers(),\n Constants.EDIT_PROFILE_POLICY);\n\n sampleApp.acquireToken(\n this,\n Constants.SCOPES.split(\"\\\\s+\"),\n currentUser,\n UiBehavior.SELECT_ACCOUNT,\n null,\n null,\n authority,\n getEditPolicyCallback());\n } catch(MsalClientException e) {\n /* No User */\n Log.d(TAG, \"MSAL Exception Generated while getting users: \" + e.toString());\n }\n\n }",
"@Override\n public void onClick(View v) {\n Intent i = new Intent(UserProfile.this, SignInActivity.class);\n startActivity(i);\n }",
"public void editProfileNavigation(String userName) throws InterruptedException {\n\t\tList<WebElement> we = new ArrayList<WebElement>();\n\t\twe = driver.findElements(By.className(\"ab-item\"));\n\t\tfor (WebElement me : we){\n\t\t\tif(me.getText().contains(userName)){\n\t\t\t\tme.click();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tThread.sleep(5000);\n\t\tAssert.assertTrue(\"Edit Profile Page\", driver.getTitle().contains(\"Profile\"));\n\t\t\n\t\t\n\t}",
"@Override\n public void onClick(View v) {\n Intent intent = new Intent(getContext(), ProfileActivity.class);\n startActivity(intent);\n\n }",
"public void goToUserProfile (View view){\n }",
"public static void ShowEditUser() {\n ToggleVisibility(UsersPage.window);\n }",
"@RequestMapping(\"/admin/profile\")\n\tpublic ModelAndView adminprofile() {\n\t\tModelAndView mav = new ModelAndView();\n\t\tYourtaskuser yourtaskuser = authentication.getActiveUser();\n\t\tmav.addObject(\"yourtaskuser\", yourtaskuser);\n\t\tmav.setViewName(\"profile/adminprofile.jsp\");\n\t\treturn mav;\n\t}",
"private void masuk(){\n Preferences.setLoggedInUser(getBaseContext(),Preferences.getRegisteredUser(getBaseContext()));\n Preferences.setLoggedInStatus(getBaseContext(), true);\n startActivity(new Intent(getBaseContext(),MainActivity.class));\n finish();\n }",
"public void openProfileHome(View view) {\n Intent intentProfileHome = new Intent(view.getContext(), ProfileHomeActivity.class);\n startActivity(intentProfileHome);\n }",
"public void profilePage(View view){\n Intent intent = new Intent(getApplicationContext(), ProfilePage.class);\r\n intent.addFlags(Intent.FLAG_ACTIVITY_NO_ANIMATION);\r\n intent.putExtra(\"profileToLoad\", profile);\r\n startActivity(intent);\r\n }",
"public String gotoeditprofile() throws IOException {\n\t\treturn \"editProfil.xhtml?faces-redirect=true\";\n\t}",
"private void goToEditPage()\n {\n Intent intent = new Intent(getActivity(),EditProfilePage.class);\n getActivity().startActivity(intent);\n }",
"private void openProfilePage(int position) {\n\n UserBasic userProfileToOpen = this.users.get(position);\n FragmentTransaction fragmentTransaction = context.getActivity().\n getSupportFragmentManager().beginTransaction();\n fragmentTransaction.replace(R.id.frame,\n ProfilePage.newInstance(userProfileToOpen.getLogin(),\n this.mainUsername, this.authHead));\n fragmentTransaction.commit();\n\n }",
"private void populateUserProfile() {\n setProfilePic();\n mDisplayNameTextView.setText(user.getName());\n mUsernameTextView.setText(String.format(\"@%s\", user.getUsername()));\n mBioTextView.setText(user.getBio());\n setAdapterForUserStories();\n\n new Thread(new Runnable() {\n public void run(){\n setFollowingCount();\n setFollowersCount();\n setStoriesCount();\n queryStoriesFromUser();\n }\n }).start();\n }",
"public void goToLoginPage()\n\t{\n\t\tclickAccountNameIcon();\n\t\tclickSignInLink();\n\t}",
"@RequestMapping(\"/su/profile\")\n\tpublic ModelAndView suprofile() {\n\t\tModelAndView mav = new ModelAndView();\n\t\tYourtaskuser yourtaskuser = authentication.getActiveUser();\n\t\tmav.addObject(\"yourtaskuser\", yourtaskuser);\n\t\tmav.addObject(\"suinfo\", suinfoDAO.findSuinfoByPrimaryKey(yourtaskuser.getUserid()));\n\t\tmav.setViewName(\"profile/userprofile.jsp\");\n\t\treturn mav;\n\t}",
"@Override\n public void onAuthStateChanged(@NonNull FirebaseAuth firebaseAuth) {\n user = firebaseAuth.getCurrentUser(); // con esto traemos el estado\n\n if(user!=null){\n Log.d(\"TAG\",\"Esta logueado: con el id: \" + user.getUid());\n\n Toast.makeText(MainActivity.this, \"esta logueado\", Toast.LENGTH_SHORT).show();\n\n finish();\n\n //and open profile activity\n startActivity(new Intent(getApplicationContext(), Ingreso.class));\n\n\n }else{\n Log.d(\"TAG\",\"NO Esta logueado\");\n\n }\n\n }",
"@RequestMapping(\"/sc/profile\")\n\tpublic ModelAndView scprofile() {\n\t\tModelAndView mav = new ModelAndView();\n\t\tYourtaskuser yourtaskuser = authentication.getActiveUser();\n\t\tmav.addObject(\"yourtaskuser\", yourtaskuser);\n\t\tmav.addObject(\"scinfo\", scinfoDAO.findScinfoByPrimaryKey(yourtaskuser.getUserid()));\n\t\tmav.setViewName(\"profile/companyprofile.jsp\");\n\t\treturn mav;\n\t}",
"@Override\n\t public void onUserInfoFetched(GraphUser user) {\n\t \tupdateUI(user);\n\t \tif(user!=null)\n\t \t{\n\n\t \t}\n\t \telse{\n\t \t\t\n\t \t\tLog.d(\"username1\",\"you are not logged in\");\n\t \t}\n\t \n\t }",
"@Given(\"^User should see profile page$\")\n\tpublic void user_should_see_profile_page() throws Throwable {\n\t\twait.WaitForElement(profileTestInsurancePage.gettestinsuranceheading(), 60);\n\t\tprofileTestInsurancePage.verifyprofileTestInsurancePage();\n\t}",
"@Override\n protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n setContentView(R.layout.activity_profile);\n toolbar_profile = findViewById(R.id.pro_toolbar);\n setTitle(\"My Profile\");\n setSupportActionBar(toolbar_profile);\n\n proname = findViewById(R.id.profile_name);\n profoi = findViewById(R.id.profile_foi);\n proorg = findViewById(R.id.profile_orga);\n\n currentId=String.valueOf(Settings.Secure.getString(getContentResolver(),Settings.Secure.ANDROID_ID));\n //load user information\n userInfo();\n editProfile = findViewById(R.id.editprofile);\n editProfile.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n startActivity(new Intent(Profile.this,Profile_Edit.class));\n }\n });\n }",
"public void updateCurrentTrempitUser() {\n\n // create the trempituser object\n TrempitUser currentUser = new TrempitUser();\n currentUser.setFullName(Profile.getCurrentProfile().getName());\n currentUser.setId(Long.valueOf(Profile.getCurrentProfile().getId()));\n\n // update the global variable so all activities can access the user\n globalState.setCurrentUser(currentUser);\n\n // insert the user to the server\n insertTrempitUserToServer(currentUser);\n\n Toast.makeText(this, \"logged in to facebook:\" + globalState.getCurrentUser().getFullName(), Toast.LENGTH_LONG).show();\n }",
"public void onClick(View v) {\n\t\t\t\t\t\t\tIntent gotohomefrommyaccount = new Intent(UserProfileActivity.this, HomeActivity.class);\n\t\t\t\t\t\t\tstartActivity(gotohomefrommyaccount);\n\t\t\t\t\t\t}",
"@Override\n public void onClick(View v) {\n startActivity(new Intent(mContext, ActivityProfile.class));\n }",
"@Override\n public void actionPerformed(ActionEvent e) {\n frame.setVisible(false);//when user clicks my profile button the visibility of the frame for the home screen will be set to false \n new MyProfile();//displays the user's profile page\n }",
"private void changeUser(int position) {\n nameView.setText(selected_user.getFname());\n ptsView.setText(Integer.toString(selected_user.getAccumulatedPts()));\n\n //TODO fix this in master\n String resourceName = selected_user.getProfilePicResourceName();\n Resources resources = context.getResources();\n int resourceId = resources.getIdentifier(resourceName, \"drawable\", \"familytaskmanager.microso.com.familytaskmanager\");\n pic.setImageResource(resourceId);\n\n //Set the selected user as the current user in the database and family\n ((MainActivity) activity).requestSetCurrentUser(position);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()){\n case R.id.logIn:\n Intent login = new Intent(this, SigninActivity.class);\n startActivity(login);\n Toast.makeText(getApplicationContext(),\"Log in\", Toast.LENGTH_SHORT).show();\n\n break;\n case R.id.SignUp:\n Intent signupIntent = new Intent(this, SignupActivity.class);\n startActivity(signupIntent);\n break;\n case R.id.logOut:\n\n if(helper.logout()){\n finish();\n Intent toSignin = new Intent(this, SigninActivity.class);\n startActivity(toSignin);\n }\n\n break;\n\n case R.id.profile:\n int user = helper.getCurrentUser();\n Intent toProfile;\n if(user == 0){\n toProfile = new Intent(MainActivity.this, BarberProfileMenu.class);\n\n toProfile.putExtra(\"EMAIL\", helper.getEMAIL());\n startActivity(toProfile);\n }\n else if(user == 1){\n System.out.println(\"It's User\");\n toProfile = new Intent(this, UserProfile.class);\n startActivity(toProfile);\n }\n else\n Toast.makeText(this,\"Invalid User\", Toast.LENGTH_SHORT).show();\n\n break;\n\n default:\n break;\n }\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public void onClick(View v) {\n Intent intent = new Intent(context,ProfileActivity.class);\n startActivity(intent);\n }",
"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tIntent intent=new Intent(getApplicationContext(),Login_Profile.class);\n\t\t\t\tstartActivity(intent);\n\t\t\t\t\n\t\t\t}",
"@Override\n public void onAvatarClick(String username) {\n Intent intent = new Intent(getActivity(), UserProfileActivity.class);\n intent.putExtra(EaseConstant.USER_NAME, username);\n startActivity(intent);\n }",
"private void goToLandingPage() {\r\n Intent intent = LandingPage.getIntent(MainActivity.this);\r\n intent.putExtra(LandingPage.USERNAME_EXTRA, userText.getText().toString());\r\n startActivity(intent);\r\n }",
"public void onClick(View view) {\n if(validate_info()){\n create_user();\n user = FirebaseAuth.getInstance().getCurrentUser();\n if (user != null) {\n submit_profile(user);\n }\n }\n else{\n return;\n\n\n }\n }",
"public UserProfile getUserProfile(String username);",
"private void setupProfileOptions() {\n String userId;\n\n if (profile == null) {\n userId = this.userId;\n\n if (userId == null)\n throw new IllegalStateException(\"ViewProfileActivity profile is null, but so is it's userId. One of either must not be null\");\n } else {\n userId = profile.getUserId();\n\n if (userId == null)\n throw new IllegalStateException(\"ViewProfileActivity's profile#getUserId() returned null. Was setUserId called when the profile was retrieved?\");\n }\n\n final String finalUserId = userId;\n ConstraintLayout goalLayout = findViewById(R.id.goalsLayout);\n goalLayout.setOnClickListener(v -> {\n Intent intent = new Intent(this, GoalsActivity.class);\n intent.putExtra(GoalsActivity.USER_ID_EXTRA, finalUserId);\n startActivity(intent);\n });\n\n ConstraintLayout activitiesLayout = findViewById(R.id.activitiesLayout);\n activitiesLayout.setOnClickListener(v -> {\n Intent intent = new Intent(this, ListActivitiesActivity.class);\n intent.putExtra(ListActivitiesActivity.USER_ID_EXTRA, finalUserId);\n startActivity(intent);\n });\n\n ConstraintLayout postsLayout = findViewById(R.id.postsLayout);\n postsLayout.setOnClickListener(v -> {\n Intent intent = new Intent(this, ProfilePostsActivity.class);\n intent.putExtra(ProfilePostsActivity.USER_ID_EXTRA, finalUserId);\n startActivity(intent);\n });\n }",
"public void displayDetails() {\r\n\t\tSystem.out.println(\"*******************Profile Details*********************\");\r\n\t\tSystem.out.println(\"\\tUsername :\\t\" + uName);\r\n\t\tSystem.out.println(\"\\tFull Name :\\t\" + fullName);\r\n\t\tSystem.out.println(\"\\tPhone :\\t\" + phone);\r\n\t\tSystem.out.println(\"\\tE-Mail :\\t\" + email);\r\n\t}",
"@Override\n public void loadProfileUserData() {\n mProfilePresenter.loadProfileUserData();\n }",
"@Override\n public void onClick(View view) {\n\n Intent intent = new Intent(LoginActivity.this, ProfileSetupActivity.class);\n startActivity(intent);\n }",
"private void loadUserInformation() {\n FirebaseUser user = mAuth.getCurrentUser();\n\n if (user != null) {\n if (user.getPhotoUrl() != null) {\n Glide.with(this).load(user.getPhotoUrl().toString()).into(profilePic);\n }\n if (user.getDisplayName() != null) {\n name.setText(user.getDisplayName());\n }\n\n }\n\n }",
"public void populateUserInformation()\n {\n ViewInformationUser viewInformationUser = new ViewFXInformationUser();\n\n viewInformationUser.buildViewProfileInformation(clientToRegisteredClient((Client) user), nameLabel, surnameLabel, phoneLabel, emailLabel, addressVbox);\n }",
"@Override\n\tpublic void showBookProfile() {\n\t\t\n\t}",
"public void loadUserProfile(AccessToken accessToken) {\n GraphRequest request = GraphRequest.newMeRequest(accessToken, new GraphRequest.GraphJSONObjectCallback() {\n public void onCompleted(JSONObject object, GraphResponse response) {\n try {\n String first_name = object.getString(\"first_name\");\n String last_name = object.getString(\"last_name\");\n String email = object.getString(\"email\");\n String str = \"https://graph.facebook.com/\" + object.getString(\"id\") + \"/picture?type=normal\";\n Intent intent = new Intent(LoginOptionActivity.this, HomeActivity.class);\n intent.putExtra(\"name\", first_name + \" \" + last_name + \"\\n\" + email);\n intent.addFlags(268468224);\n LoginOptionActivity.this.startActivity(intent);\n } catch (JSONException e) {\n e.printStackTrace();\n }\n }\n });\n Bundle parameters = new Bundle();\n parameters.putString(GraphRequest.FIELDS_PARAM, \"first_name,last_name,email,id\");\n request.setParameters(parameters);\n request.executeAsync();\n }",
"private void setUser(){\n try{\n if (!mainUser.getUsername().equals(\"\")){\n this.userName.setText(mainUser.getUsername());\n }else{\n this.userName.setText(\"User\");\n }\n\n\n File file = new File(mainUser.getProfileImage());\n if (!file.exists()){\n file = new File(getClass().getResource(\"../images/eren.png\").getFile());\n }\n Image img = new Image(file.toURI().toString());\n profileImage.setImage(img);\n\n setEventLabel(\"Welcome \"+mainUser.getFname()+\" \"+mainUser.getLname()+\".\");\n }catch (NullPointerException e){\n AlertBox.alert(AlertType.ERROR, stackRoot, anchorRoot, \"There was an error while updating UserInfo\");\n }\n }",
"@SuppressWarnings(\"StatementWithEmptyBody\")\n @Override\n public boolean onNavigationItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n if (id == R.id.nav_profile) {\n myU.getCurrentUser();\n User us=myU.getmyUser();\n Intent gall = new Intent(FaceMatch.this,MyProfile.class);\n\n// TODO: user Obyecti yaratib onu myProfile otur\n startActivity(gall);\n\n } else if (id == R.id.log_Out) {\n Back();\n } else if (id == R.id.find_match) {\n Intent find = new Intent(FaceMatch.this, FindMatchActivity.class);\n startActivity(find);\n }\n\n DrawerLayout drawer = (DrawerLayout) findViewById(R.id.drawer_layout);\n\n drawer.closeDrawer(GravityCompat.START);\n return true;\n }",
"@Override\n public void onSuccess(AuthResult authResult) {\n\n FirebaseDatabase.getInstance().getReference(Common.user_rider_btl)\n .child(FirebaseAuth.getInstance().getCurrentUser().getUid())\n .addListenerForSingleValueEvent(new ValueEventListener() {\n @Override\n public void onDataChange(@NonNull DataSnapshot dataSnapshot) {\n Common.currentUser = dataSnapshot.getValue(User.class);\n Intent intent = new Intent(new Intent(LoginUser.this, HomeActivity.class));\n startActivity(intent);\n finish();\n }\n\n @Override\n public void onCancelled(@NonNull DatabaseError databaseError) {\n\n }\n });\n }",
"@Override\r\n protected void onStart() {\r\n super.onStart();\r\n if(mAuth.getCurrentUser() !=null)\r\n {\r\n finish();\r\n startActivity(new Intent(this,Account.class));\r\n }\r\n }",
"@Override\n public void onClick(View v) {\n Intent myIntent = new Intent(ChooseParty.this, UserProfile.class);\n //\n myIntent.putExtra(\"username\", mUsername);\n startActivity(myIntent);\n }",
"private void getUserProfile() {\n mFirstname.setText(\"FirstName: \"+userPreferences.getAgentFirstName());\n mLastname.setText(\"LastName: \"+userPreferences.getAgentLastName());\n\n\n Log.i(\"username\",userPreferences.getAgentUsername());\n if(userPreferences.getAgentUsername()==null){\n mUsernameTxt.setText(\"\");\n }else if(userPreferences.getAgentUsername().equals(\"null\")){\n mUsernameTxt.setText(\"\");\n }else{\n mUsernameTxt.setText(userPreferences.getAgentUsername());\n }\n\n mEmail.setText(\"Email: \"+userPreferences.getAgentEmail());\n mPhoneNum.setText(\"Phone No: \"+userPreferences.getAgentPhoneNUM());\n\n\n /* mPinProfileTxt.setText(\"Pin: \"+userPreferences.getPin());\n mBank.setText(\"Bank Name: \"+userPreferences.getBank());\n mAccountName.setText(\"Acct Name: \"+userPreferences.getAccountName());\n mAccountNumber.setText(\"Acct No: \"+userPreferences.getAccountNumber());*/\n\n mProgressBarProfile.setVisibility(View.VISIBLE);\n if(personal_img_url==null) {\n Glide.with(this).load(userPreferences.getAgentProfileImg()).apply(new RequestOptions().fitCenter().circleCrop()).into(mProfilePhoto);\n }else{\n Glide.with(this).load(personal_img_url).apply(new RequestOptions().fitCenter().circleCrop()).into(mProfilePhoto);\n\n }\n mProgressBarProfile.setVisibility(View.GONE);\n }",
"@Override\n protected void onFirstUserVisible() {\n }",
"@Override\n\t\tpublic void onUserProfileUpdate(User arg0) {\n\t\t\t\n\t\t}",
"public void launchSignUpPage() {\n Intent intent = new Intent(LoginActivity.this, SignupActivity.class);\n startActivity(intent);\n }",
"@Override\n public void onItemOfListClicked(Object o) {\n UserProfileFragmentDirections.ActionUserProfileFragmentSelf action = UserProfileFragmentDirections.actionUserProfileFragmentSelf();\n action.setUser((MyUser) o);\n navController.navigate(action);\n }",
"private void loadCurrentUserInformation() {\n if(currentUser!=null){\n currentUserUid=currentUser.getUid();\n databaseReference.child(\"Users Data\").child(\"Sign Up Info\").child(\"UID \"+currentUserUid).addValueEventListener(new ValueEventListener() {\n @Override\n public void onDataChange(DataSnapshot dataSnapshot) {\n\n currentUserName=(String) dataSnapshot.child(\"Name\").getValue();\n currentUserPassword=(String)dataSnapshot.child(\"Password\").getValue();\n currentUserCity=(String)dataSnapshot.child(\"City\").getValue();\n currentProfileImage=(String)dataSnapshot.child(\"Profile Image Url\").getValue();\n displayUserProfile();\n }\n @Override\n public void onCancelled(DatabaseError databaseError) {\n\n }\n });\n }\n }",
"private void populateUserInfo() {\n User user = Session.getInstance().getUser();\n labelDisplayFirstname.setText(user.getFirstname());\n labelDisplayLastname.setText(user.getLastname());\n lblEmail.setText(user.getEmail());\n lblUsername.setText(user.getUsername());\n }",
"TasteProfile.UserProfile getUserProfile (String user_id);",
"private void SendUserToInfoPage(){\n Intent intent = new Intent(sign_up_activity.this,user_info_activity.class);\n intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK|Intent.FLAG_ACTIVITY_CLEAR_TASK);\n overridePendingTransition(0,0);\n startActivity(intent);\n finish();\n }",
"@Override\n public void onClick(View v) {\n Intent intent = new Intent(context,UserProfileActivity.class);\n intent.putExtra(AppConstants.USER_ID,postDetailModel.getUserDetailsModel().getId());\n startActivity(intent);\n }",
"private void composeProfile() {\n if(NetworkUtils.isConnectedToNetwork((ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE)) == false) {\n Toast.makeText(this.getApplicationContext(), \"Please check your network connection!\", Toast.LENGTH_LONG).show();\n return;\n }\n Intent i = new Intent(this, ProfileActivity.class);\n i.putExtra(\"screen_name\", (String) null);\n startActivity(i);\n }",
"@Override\n public boolean onOptionsItemSelected(@NonNull MenuItem item) {\n startActivity(new Intent(EditProfile.this, ProfilePage.class));\n onPause();\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public void onChanged(@Nullable final Profile profile) {\n userProfile = profile;\n }",
"public void setUserProfile(UserProfile userProfile) {this.userProfile = userProfile;}",
"private void loggedInUser() {\n\t\t\n\t}",
"@Override\n public void onAuthenticated(AuthData authData) {\n Intent intent = new Intent(getApplicationContext(), ActiveUserActivity.class);\n startActivity(intent);\n }",
"public void setUserDetails(){\n name = firebaseUser.getDisplayName();\n username.setText(name);\n\n Glide.with(this).load(firebaseUser.getPhotoUrl()).into(profileIcon);\n }"
] | [
"0.8645963",
"0.83499503",
"0.8064447",
"0.74151504",
"0.7190705",
"0.7189568",
"0.71723133",
"0.7152176",
"0.71128905",
"0.70882785",
"0.6930196",
"0.6925059",
"0.68264353",
"0.67562586",
"0.67428625",
"0.6721783",
"0.67207444",
"0.6692543",
"0.6655698",
"0.6564587",
"0.65058947",
"0.64985347",
"0.6490311",
"0.64787936",
"0.6478429",
"0.6474823",
"0.64495474",
"0.6448234",
"0.6423098",
"0.63579714",
"0.634162",
"0.63375217",
"0.6324899",
"0.63247776",
"0.63186085",
"0.6315163",
"0.6263597",
"0.6262289",
"0.62567395",
"0.6254137",
"0.62539023",
"0.62505984",
"0.62487054",
"0.6239435",
"0.6226936",
"0.622596",
"0.62162334",
"0.6208117",
"0.61879605",
"0.61860657",
"0.61749595",
"0.6167833",
"0.6160384",
"0.61594313",
"0.6153298",
"0.6142814",
"0.61374635",
"0.6129892",
"0.61283755",
"0.6103652",
"0.60978955",
"0.60957867",
"0.6092343",
"0.60910153",
"0.6070974",
"0.60667557",
"0.6062551",
"0.6054862",
"0.6053409",
"0.60380477",
"0.60359883",
"0.6035829",
"0.6031906",
"0.60308725",
"0.6030693",
"0.60179746",
"0.60056067",
"0.60023844",
"0.5998256",
"0.5997584",
"0.5994151",
"0.59926116",
"0.5991607",
"0.5985445",
"0.5984126",
"0.5970509",
"0.596913",
"0.59679836",
"0.5964143",
"0.59589726",
"0.5956577",
"0.59542894",
"0.59503496",
"0.59494334",
"0.5942472",
"0.5942075",
"0.59226644",
"0.591797",
"0.59076583",
"0.5902727"
] | 0.7589065 | 3 |
Created by rxia on 2015/9/2. | public interface BaseDAO<T> {
/**
* 添加
*
* @param t
* @return
*/
Integer addBean(T t);
/**
* 更新
*
* @param t
*/
void updateBean(T t);
/**
* 查询
*
* @param t
* @return
*/
List<T> queryBeans(T t);
/**
* 统计
*
* @param t
* @return
*/
Integer countBean(T t);
/**
* 查找
*
* @param t
* @return
*/
T findBean(T t);
void deleteBean(T t);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void perish() {\n \n }",
"private stendhal() {\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"private static void cajas() {\n\t\t\n\t}",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n public void init() {\n\n }",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\n protected void initialize() {\n\n \n }",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n\tprotected void getExras() {\n\n\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"private void poetries() {\n\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"private void init() {\n\n\t}",
"public void gored() {\n\t\t\n\t}",
"@Override\n public void init() {\n }",
"@Override\n\tpublic void nghe() {\n\n\t}",
"public final void mo51373a() {\n }",
"@Override\n void init() {\n }",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\n public void init() {\n\n }",
"@Override\n public void init() {\n\n }",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\n protected void initialize() \n {\n \n }",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"public void mo38117a() {\n }",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"public void mo4359a() {\n }",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override\n public void memoria() {\n \n }",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\n\tpublic void jugar() {\n\t\t\n\t}",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"private void kk12() {\n\n\t}",
"@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}",
"@Override\n protected void init() {\n }",
"@Override\n public void init() {}",
"@Override\n public void settings() {\n // TODO Auto-generated method stub\n \n }",
"private void init() {\n\n\n\n }",
"@Override\n public void initialize() { \n }",
"@Override\n protected void getExras() {\n }",
"@Override\n\tprotected void initialize() {\n\n\t}",
"@Override\r\n\tpublic void init()\r\n\t{\n\t}",
"@Override\n\tpublic void init() {\n\t}",
"@Override\n\tpublic void init()\n\t{\n\n\t}",
"private Rekenhulp()\n\t{\n\t}",
"private void strin() {\n\n\t}",
"@Override\r\n\tpublic void init() {}",
"@Override\n\tpublic void afterInit() {\n\t\t\n\t}",
"@Override\n\tpublic void afterInit() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initialize() {\n\r\n\t}",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo6081a() {\n }",
"@Override\n\tpublic void one() {\n\t\t\n\t}",
"private void m50366E() {\n }",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}",
"Constructor() {\r\n\t\t \r\n\t }",
"@Override\n\tpublic void postInit() {\n\t\t\n\t}",
"@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}",
"@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}"
] | [
"0.6309828",
"0.61599654",
"0.6148804",
"0.6109348",
"0.60332316",
"0.60332316",
"0.6007977",
"0.59713763",
"0.592152",
"0.59108275",
"0.5905983",
"0.5898175",
"0.58946",
"0.58945227",
"0.58800036",
"0.5873994",
"0.5873994",
"0.58731097",
"0.58652306",
"0.58520716",
"0.5827444",
"0.5826773",
"0.58142215",
"0.580504",
"0.5801866",
"0.5801866",
"0.5801866",
"0.5801866",
"0.5801866",
"0.5772387",
"0.5765378",
"0.5748263",
"0.5747187",
"0.5739127",
"0.57385963",
"0.5727481",
"0.57244796",
"0.57244796",
"0.57209194",
"0.57209194",
"0.57209194",
"0.57208866",
"0.57012415",
"0.57003623",
"0.56985074",
"0.56924695",
"0.56899846",
"0.56880915",
"0.56777275",
"0.56777275",
"0.56738603",
"0.56738603",
"0.56738603",
"0.56738603",
"0.56738603",
"0.56738603",
"0.5671652",
"0.5671652",
"0.5671652",
"0.5665406",
"0.5653394",
"0.56430644",
"0.56430644",
"0.56430644",
"0.56349486",
"0.56345516",
"0.56337565",
"0.5631117",
"0.56270105",
"0.5625918",
"0.56022716",
"0.55979943",
"0.55973524",
"0.5596826",
"0.55880946",
"0.558352",
"0.55807894",
"0.5579653",
"0.55785024",
"0.5575336",
"0.55709565",
"0.557048",
"0.557048",
"0.55587596",
"0.55419725",
"0.5540682",
"0.5540682",
"0.5540682",
"0.5540682",
"0.5540682",
"0.5540682",
"0.5540682",
"0.55374116",
"0.55359167",
"0.55151016",
"0.5506995",
"0.549314",
"0.5486146",
"0.54739827",
"0.54721963",
"0.547008"
] | 0.0 | -1 |
Created by secured on 2016. 03. 13.. | public interface IWheelVisualization {
void ModifyVehicleSpeed(float speed);
void ModifyVehicleOrientation(float degree);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private stendhal() {\n\t}",
"@Override\n public void perish() {\n \n }",
"@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\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"private static void cajas() {\n\t\t\n\t}",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"public void mo38117a() {\n }",
"@Override\n\tprotected void getExras() {\n\n\t}",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"public void mo4359a() {\n }",
"private Rekenhulp()\n\t{\n\t}",
"protected MetadataUGWD() {/* intentionally empty block */}",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"private void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n protected void initialize() {\n\n \n }",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"protected void mo6255a() {\n }",
"@Override\n public void init() {\n\n }",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"protected boolean func_70814_o() { return true; }",
"@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}",
"@Override\n protected void init() {\n }",
"@Override\n protected void initialize() \n {\n \n }",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tprotected void initialize() {\n\n\t}",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\r\n\tpublic void init() {}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\n public void init() {\n }",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"public void mo55254a() {\n }",
"@Override\n void init() {\n }",
"@Override\n public void init() {}",
"public void gored() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"public void mo6081a() {\n }",
"@Override\n public int describeContents() { return 0; }",
"private void kk12() {\n\n\t}",
"Constructor() {\r\n\t\t \r\n\t }",
"@Override\n protected void getExras() {\n }",
"@Override\r\n\tpublic void init()\r\n\t{\n\t}",
"private void poetries() {\n\n\t}",
"private void m50366E() {\n }",
"@Override\r\n\tprotected void initialize() {\n\r\n\t}",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\n public void init() {\n\n }",
"@Override\n public void init() {\n\n }",
"private MetallicityUtils() {\n\t\t\n\t}",
"@Override\n\tpublic void init()\n\t{\n\n\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}",
"private TMCourse() {\n\t}",
"@Override\n\tprotected void initData() {\n\t\t\n\t}",
"@Override\n\t\tpublic void init() {\n\t\t}",
"@Override\n\tprotected void initialize() {\n\t}",
"@Override\n\tprotected void initialize() {\n\t}",
"@Override\n\tpublic void init() {\n\t}",
"public void designBasement() {\n\t\t\r\n\t}",
"private Singletion3() {}",
"private void init() {\n\n\n\n }",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"@Override\n\tprotected void initdata() {\n\n\t}",
"private void initialize() {\n\t\t\n\t}"
] | [
"0.6045915",
"0.5909202",
"0.588024",
"0.57708704",
"0.57244337",
"0.57107145",
"0.57107145",
"0.56840646",
"0.5630598",
"0.56246704",
"0.55895513",
"0.5581347",
"0.5575422",
"0.5568091",
"0.5544943",
"0.55322605",
"0.5522802",
"0.552099",
"0.5519706",
"0.5519706",
"0.5519706",
"0.5519706",
"0.5519706",
"0.5519706",
"0.5519706",
"0.5514064",
"0.5511959",
"0.5511959",
"0.5511959",
"0.5511959",
"0.5511959",
"0.5510879",
"0.5510879",
"0.5509263",
"0.5488776",
"0.5488776",
"0.5486482",
"0.54828453",
"0.548059",
"0.5476063",
"0.5475531",
"0.5475531",
"0.5475531",
"0.5475531",
"0.5475531",
"0.5475531",
"0.54720265",
"0.5471065",
"0.54519063",
"0.5437774",
"0.54364103",
"0.54364103",
"0.54364103",
"0.5429601",
"0.5425094",
"0.5420969",
"0.5419091",
"0.5410247",
"0.5407269",
"0.53942287",
"0.53941494",
"0.538748",
"0.5378769",
"0.5378769",
"0.5378769",
"0.5378673",
"0.537809",
"0.5375252",
"0.53732044",
"0.53710645",
"0.53710645",
"0.53710645",
"0.53668296",
"0.53652316",
"0.5365168",
"0.53626126",
"0.5356426",
"0.53560007",
"0.5354529",
"0.5353412",
"0.533733",
"0.5323855",
"0.53219914",
"0.5321404",
"0.5321404",
"0.5320336",
"0.5307663",
"0.5304723",
"0.5299952",
"0.5297636",
"0.52833873",
"0.52794325",
"0.52746344",
"0.52746344",
"0.52701813",
"0.52669615",
"0.52648574",
"0.52644324",
"0.52596503",
"0.52595675",
"0.52590257"
] | 0.0 | -1 |
This method is used to get all role in database and return a list role in json | @RequestMapping(value = "/factory/list", produces = "application/json", method = RequestMethod.GET)
@ResponseBody
public Map<String, Object> getAllFactory() {
log.info(String.format("getAllFactory in class %s", getClass()));
try {
log.debug("getting list of all Factory and return json");
Map<String, Object> result = new HashMap<String, Object>();
List<FactoryModel> ls = ser.getAllFactoryModel();
result.put("status", "ok");
result.put("list", ls);
log.debug("getAllFactory successful");
return result;
} catch (Exception e) {
log.error(String.format("getAllFactory in class %s has error: %s",
getClass(), e.getMessage()));
throw e;
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public List<Roles> selectAllRole(){\n\treturn rolesDao.findAll();\n\t}",
"public List<Role> getAllRoles();",
"public List<Role> getAllRole() {\n\t\treturn (List<Role>) roleDao.findAll();\n\t}",
"@Override\r\n\tpublic List<Role> getAllRole() {\n\t\tString hql = \"from Role\";\r\n\t\treturn (List<Role>) getHibernateTemplate().find(hql);\r\n\t}",
"public List<SecRole> getAllRoles();",
"@ModelAttribute(\"allRoles\")\r\n\tpublic List<Role> getAllRoles(){\t\r\n\t\treturn roleService.findAdminRoles();\r\n\t\t\r\n\t}",
"@Override\n\tpublic List<Role> getRoleList() {\n\t\treturn this.jdbcTemplate.query(\"SELECT * FROM role\", new RoleRowMapper());\n\t}",
"@RequestMapping(value = \"/roles\", method = RequestMethod.GET, produces = {MediaType.APPLICATION_JSON_VALUE, MediaType.APPLICATION_XML_VALUE})\n @ResponseBody\n public List<Role> getRoles() {\n List<Role> roleList = (List<Role>)roleService.getAll();\n if (roleList.isEmpty()){\n return null;\n }\n return roleList;\n }",
"public List<RoleDto> getRolesList() {\n return roleDBManager.fetchRolesList();\n }",
"@Override\r\n\tpublic List<Role> findAll() {\n\t\treturn roleDao.findAll();\r\n\t}",
"@Override\n public List getAllRole() {\n \tMap mSession = ActionContext.getContext().getSession();\n \tInteger clientId = (Integer) mSession.get(\"CLIENT_INFO\");\n Session session = HibernateUtil.getSession();\n try {\n Criteria crit = session.createCriteria(RoleVO.class);\n crit.addOrder(Order.asc(\"roleName\"));\n crit.add(Restrictions.eq(\"isActive\", 1));\n crit.add(Restrictions.eq(\"clientId\", clientId));\n return crit.list();\n } finally {\n session.flush();\n session.close();\n }\n }",
"@Override\n\tpublic List<Role> getAllRoleInfo() {\n\t\treturn roleMapper.queryAll();\n\t}",
"@Override\n public List<RoleModel> getAllRoles() {\n\n logger.info(STARTING_METHOD_EXECUTION);\n logger.info(EXITING_METHOD_EXECUTION);\n return roleRepo.findAll();\n }",
"@Override\r\n\tpublic Object getRoles() throws DataAccessException, SQLException {\n\t\tlogger.info(\"start : getRoles UsersMngDaoImpl \");\r\n\t\t \r\n\t\tList<Roles> roleList = roleRepository.findAll();\r\n\t\tlogger.info(\"End : getRoles UsersMngDaoImpl \");\r\n\t\treturn roleList;\r\n\t}",
"@Override\n\tpublic List<Role> findAll() {\n\t\treturn (List<Role>) roleDao.findAll();\n\t}",
"@RequestMapping(value = \"/admin/getRoles\", method = RequestMethod.GET)\n\tpublic @ResponseBody Response getRoles() {\n\t \tResponse response = new Response();\n\t\tresponse.addCommand(new ClientCommand(ClientCommandType.PROPERTY,\"roles\", roleRepository.findAll() ));\n\t\treturn response;\n\t}",
"List<Role> getRoles();",
"public List<Role> getAll() throws Exception {\r\n RoleDB db = new RoleDB();\r\n ArrayList<Role> allRoles = (ArrayList<Role>) db.getAll();\r\n return allRoles;\r\n }",
"@Override\n\tpublic List<Role> findAll() {\n\t\treturn this.roleMapper.findQueryAll();\n\t}",
"@Override\r\n\tpublic void getAllRole() {\n\t\tSystem.out.println(roles);\r\n\t\t\r\n\t}",
"@PermitAll\n @Override\n public List<Role> getRoles() {\n return getRepository().getEntityList(Role.class);\n }",
"List<User_Role> selectAll();",
"List<RoleDto> findAllRoles();",
"public List<RoleDTO> getAllRoles() {\n\t\treturn roleDTOs;\n\t}",
"List<Role> findAll();",
"List<Rol> obtenerRoles() throws Exception;",
"@SuppressWarnings(\"unchecked\")\n\t@Override\n\t@Transactional\n\tpublic ArrayList<ApplicationUserRole> getAllRoles() throws Exception {\n\t\tArrayList<ApplicationUserRole> roleList = null;\n\t\ttry {\n\t\t\tSession session = sessionFactory.getCurrentSession();\n\t\t\tQuery query = session.createQuery(\"from ApplicationUserRole\");\n\t\t\troleList = (ArrayList<ApplicationUserRole>) query.list();\n\n\t\t} catch (Exception e) {\n\t\t\t\n\t\t\te.printStackTrace();\n\t\t\tthrow e;\n\t\t}\n\t\treturn roleList;\n\t\t\n\t}",
"public List<UserRole> queryAllUsersRoles() {\n \tList<UserRole> userRoleList = new ArrayList<>();\n\tUserRole userRole;\n String sql = \"SELECT * FROM users_roles\";\n\ttry {\t\n this.statement = connection.prepareStatement(sql);\n this.resultSet = this.statement.executeQuery();\n while(this.resultSet.next()) {\n\t\tuserRole = new UserRole();\n userRole.setUserName(this.resultSet.getString(\"user_name\"));\n userRole.setRoleName(this.resultSet.getString(\"role_name\"));\n\t\tuserRoleList.add(userRole);\n }\t\n this.statement.close();\n\t} \n catch(SQLException ex) {\n Logger.getLogger(UserDBManager.class.getName()).log(Level.SEVERE, null, ex);\n }\n return userRoleList;\n }",
"@GetMapping(\"roles\")\n public List<ApplicationRoleClient> GetAllApplicationRole(){\n return applicationRoleBLL.GetAllApplicationRole();\n }",
"public ArrayList<Role> getRole() {\n\t\tArrayList<Role> list = new ArrayList<Role>();\n\t\tString sql = \"select * from role;\";\n\t\tConnection conn = new DBUtilFactory().getConn();\n\t\ttry {\n\t\t\tps = conn.prepareStatement(sql);\n\t\t\trs = ps.executeQuery();\n\t\t\twhile(rs.next()) {\n\t\t\t\tRole role = new Role();\n\t\t\t\t// stupid set method......\n\t\t\t\trole.setRole_describe(rs.getString(\"role_describe\"));\n\t\t\t\trole.setRole_id(rs.getInt(\"role_id\"));\n\t\t\t\trole.setRole_power(rs.getInt(\"role_power\"));\n\t\t\t\tlist.add(role);\n\t\t\t}\n\t\t} catch (SQLException e) {\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t} finally {\n\t\t\tclearUp(conn);\n\t\t}\n\t\treturn list;\n\t}",
"@Override\r\n\tpublic RolesListDto getAllRoles() {\n\t\treturn null;\r\n\t}",
"java.util.List<Role>\n getRolesList();",
"java.util.List<Role>\n getRolesList();",
"List<RoleDTO> findAll();",
"public Iterable<Role> findAllRoles() {\n Iterable<Role> allRoles = roleRepository.findAll();\n return allRoles;\n }",
"Collection<Role> getRoles();",
"@Override\n\tpublic List<Map<String, Object>> getRole() {\n\t\treturn this.RoleDao.getRole();\n\t}",
"@Override\r\n\tpublic List<Role> getAllRoles() {\n\t\treturn null;\r\n\t}",
"List<String> getRoles();",
"public List<UserRole> getAllUserRoles() throws ClassNotFoundException, SQLException {\n\t\treturn read(\"select * from user_role\", null);\n\t}",
"public RoleList getRoles() {\n return roleList;\n }",
"public List<Role> getRole() {\n\t\treturn userDao.getRole();\r\n\t}",
"public abstract Collection getRoles();",
"List<RoleEntity> getSystemRoles();",
"@PermitAll\n @Override\n public List<Role> getCurrentUserRoles() {\n Map params = new HashMap<String, Object>();\n params.put(CommonSqlProvider.PARAM_QUERY, Role.QUERY_GET_ROLES_BY_USER_NAME);\n params.put(User.PARAM_USERNAME, this.getUserName());\n return getRepository().getEntityList(Role.class, params);\n }",
"@Override\r\n public List<Role> getRoles() {\r\n return roles;\r\n }",
"@GetMapping\n\tpublic Iterable<PlanRole> findByAll() {\n\t\t return planRoleRepository.findAll(2);\n\t}",
"@Override\n\tpublic List<RoleListBean_R001> getRoleList() {\n\t\treturn this.iRoleListRepository.getRoleBusiness();\n\t}",
"@Override\n public java.util.List<Role> getRolesList() {\n return roles_;\n }",
"@Override\n public java.util.List<Role> getRolesList() {\n return roles_;\n }",
"@Transactional\n\tpublic List<UmTbUserRole> findAll() {\n\t\treturn dao.findAll();\n\t}",
"@Override\n\tpublic List<InforRoles> selectRoles() {\n\t\treturn md.selectRoles();\n\t}",
"@GetMapping(\"/listrole\")\r\n\tpublic String listRole(Model model) {\n\t\tList<Authorities> roles = authoritiesService.getAuthorities();\r\n\t\t\r\n\t\t// add the users to the model\r\n\t\tmodel.addAttribute(\"roles\",roles);\r\n\t\t\r\n\t\t// add page title\r\n\t\tmodel.addAttribute(\"pageTitle\", \"List of Roles\");\r\n\t\treturn \"list-role\";\r\n\t}",
"@Override\n\tpublic List<Rol> getTodos() {\n\t\tRolMapper rolMapper = getSession().getMapper(RolMapper.class);\n\t\tList<Rol> rol=rolMapper.getRoles();\n\t\t\n\t\treturn rol;\n\t}",
"public ArrayList<Role> allRoles() {\n return this.roles;\n }",
"@Override\n\tpublic List<AccountUser> getRoles() {\n\t\treturn auMapper.getRoles();\n\t}",
"@Override\n\tpublic List<RoleUtilisateur> listRoleUtilisateur() {\n\t\treturn roleUtilisateurDAO.listRoleUtilisateur();\n\t}",
"public Collection<Role> getRoles() {\n return this.roles;\n }",
"@Override\n\tpublic List<IRole> getRoles() {\n\t\treturn getInnerObject().getRoles();\n\t}",
"@Override\r\n\tpublic List<Role> getRoleList(int level) {\n\t\treturn roleDao.getRoleList(level);\r\n\t}",
"@Override\n\t@Transactional\n\tpublic List<Role> getByType(String type) {\n\t\treturn roleDao.getByType(type);\n\t}",
"@Select({\n \"select\",\n \"id, user_id, role_id\",\n \"from A_USER_ROLE\"\n })\n @Results({\n @Result(column=\"id\", property=\"id\", jdbcType=JdbcType.INTEGER, id=true),\n @Result(column=\"user_id\", property=\"userId\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"role_id\", property=\"roleId\", jdbcType=JdbcType.INTEGER)\n })\n List<AUserRole> selectAll();",
"@Query(\"select a from Account a where a.role = 'Admin'\")\n List<Account> getAllAdmins();",
"@Override\n\tpublic List<Rol> listar() {\n\t\treturn dao.findAll();\n\t}",
"Set getRoles();",
"@Override\n\tpublic List<Role> list(Map<String, Object> map) {\n\t\treturn roleDao.list(map);\n\t}",
"public String getRoles() throws IOException {\n\t\treturn rolePoster.sendPost(\"getRoles=true\");\n\t}",
"@Transactional(readOnly = true)\n\t@Override\n\tpublic List<Map<String, Object>> getList(Map<String, Object> params) {\n\t\tDataManager dataManager = new DataManager(entityManager);\n\t\tdataManager.add(\"SELECT A.*,B.ENABLE FROM USER_PROFILE A LEFT JOIN USERS B ON A.USERNAME=B.USERNAME WHERE 1=1\");\n\t\tfor(String index : params.keySet()) {\n\t\t\tif(!StringUtils.isBlank(String.valueOf(params.get(index)))) {\n\t\t\t\tif(!index.equals(\"role\")) {\n\t\t\t\t\tdataManager.add(\"AND A.\"+index.toUpperCase()+\" = :\"+index+\" \",params.get(index));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tdataManager.add(\" ORDER BY A.USERNAME\");\n\t\tList<Map<String, Object>> result = (List<Map<String, Object>>) dataManager.getResult();\n\t\tfor( Map<String, Object> index : result) {\n\t\t\tDataManager subDataManager = new DataManager(entityManager);\n\t\t\tsubDataManager.add(\"SELECT * FROM ROLES WHERE USERNAME = :username\",index.get(\"USERNAME\"));\n\t\t\tsubDataManager.add(\"AND ROLE = :role\",params.get(\"role\"));\n\t\t\tList<Map<String, Object>> subResult = (List<Map<String, Object>>) subDataManager.getResult();\n\t\t\tString roles=\"\";\n\t\t\tfor( Map<String, Object> subIndex : subResult) {\n\t\t\t\tif(roles.length()>0) {\n\t\t\t\t\troles+=\",\";\n\t\t\t\t}\n\t\t\t\troles+=subIndex.get(\"ROLE\");\n\t\t\t}\n\t\t\tindex.put(\"ROLE\", roles);\n\t\t}\n\t\treturn result;\n\t}",
"List<SysRole> getUserRoles(int userId);",
"@Override\n\t@Transactional\n\tpublic List<String> findRebrique() {\n\t\treturn roleDao.findRebrique();\n\t}",
"@Override\r\n\tpublic List<? extends Role> getRoles() {\n\r\n\t\tif (this.roles == null)\r\n\t\t\treturn null;\r\n\r\n\t\treturn new ArrayList(this.roles);\r\n\t\t// ArrayList<MyRole> arrayList = new ArrayList<MyRole>();\r\n\t\t// arrayList.addAll(roles);\r\n\t\t//\r\n\t\t// return arrayList;\r\n\t}",
"public String getRoles() {\n return roles;\n }",
"@Override\n\tpublic List<VUserRoles> getUserRoleList(String vcAccount,String qUserName,\n\t\t\tInteger offset, Integer pageSize,Integer cFlag) {\n\t\tStringBuffer hql = new StringBuffer();\n\t\thql.append(\" select * from v_user_roles h where 1=1 \");\n\t\tif (qUserName != null && !qUserName.equals(\"\")) {\n\t\t\thql.append(\" and h.vcName like '%\" + qUserName + \"%' \");\n\t\t}\n\t\tif (vcAccount != null && !vcAccount.equals(\"\")) {\n\t\t\thql.append(\" and h.vcAccount like '%\" + vcAccount + \"%' \");\n\t\t}\n\t\tif (cFlag != null && cFlag!=99) {\n\t\t\thql.append(\" and h.cFlag =\"+cFlag+\" \");\n\t\t}\n\t\thql.append(\" order by h.vcEmployeeId \");\n\t\tQuery query = sessionFactory.getCurrentSession().createSQLQuery(hql.toString());\n\t\tif(offset !=null && pageSize != null){\n\t\t\tquery.setFirstResult(offset);\n\t\t\tquery.setMaxResults(pageSize);\n\t\t}\n\t\tList<VUserRoles> result = new ArrayList<VUserRoles>();\n\t\tList<Object[]> tempResult = query.list();\n\t\tfor(int i = 0; i < tempResult.size(); i++ ){\n\t\t\tObject[] tempObj = tempResult.get(i);\n\t\t\tVUserRoles entity = new VUserRoles();\n\t\t\tentity.setId(tempObj[0]==null?\"\":tempObj[0].toString());\n\t\t\tentity.setVcEmployeeID(tempObj[1]==null?\"\":tempObj[1].toString());\n\t\t\tentity.setVcName(tempObj[2]==null?\"\":tempObj[2].toString());\n\t\t\tentity.setVcFullName(tempObj[3]==null?\"\":tempObj[3].toString());\n\t\t\tentity.setVcAccount(tempObj[4]==null?\"\":tempObj[4].toString());\n\t\t\tentity.setRoleIds(tempObj[5]==null?\"\":tempObj[5].toString());\n\t\t\tentity.setRoleNames(tempObj[6]==null?\"\":tempObj[6].toString());\n\t\t\tentity.setcFlag(tempObj[7]==null?99:Integer.parseInt(tempObj[7].toString()));\n\t\t\tresult.add(entity);\n\t\t}\n\t\treturn result;\n\t}",
"@RequestMapping(value = \"/project-role\", method = RequestMethod.GET)\n public\n @ResponseBody\n Collection<ProjectRole> getProjectRoles() {\n return Arrays.asList(ProjectRole.values());\n }",
"public List<Role> getRoleList(Integer from, Integer pageSize) {\n\t\treturn userDao.getRoleList(from, pageSize);\r\n\t}",
"public Roles roles() {\n return this.roles;\n }",
"public java.util.List<xbean.DeletedRole> getRoles();",
"List<IRoleDto> getRoles(Integer memberId);",
"@NotNull\r\n Collection<String> getRoles();",
"public List<User> getUsersByRole(Role role);",
"@Override\n\tpublic List<FRoleCustom> findRoleInfo() throws Exception {\n\t\tDBContextHolder.setDBType(\"0\");\n\t\treturn froleMapper.findRoleInfo();\n\t}",
"public interface RoleService {\n /**\n * Method to be implemented to get all Roles\n * and convert to RoleDROs\n */\n List<RoleDTO> findAll();\n}",
"@Query(\"select a from Account a where a.role = 'ADMIN'\")\n List<Account> getAllAdminsAccount();",
"@Query(\"select ad from AccountDetail ad where ad.role = 'USER'\")\n List<AccountDetail> getAllAdminAccounts();",
"com.message.MessageInfo.RoleVO getRole();",
"@RequestMapping\n public String rolePage(Model model) {\n model.addAttribute(\"roles\", roleService.findAll());\n return \"role/role\";\n }",
"Role getRoles(int index);",
"Role getRoles(int index);",
"@Override\r\n\tpublic List<Role> getRoleByName(String name) {\n\t\tString hql = \"from Role r where r.name =?\";\r\n\t\treturn (List<Role>) getHibernateTemplate().find(hql, name);\r\n\t}",
"public final String getRoles() {\n return roles;\n }",
"public ArrayList<Role> getRoles()\r\n {\r\n return this.securityInfo.getRoles();\r\n }",
"Set<String> getRoles();",
"@GetMapping(path=\"/getall\")\r\n\tpublic @ResponseBody Iterable<MyClass> getAllAdmins() {\n\t\treturn classRepository.findAll();\r\n\t}",
"public java.util.List<Role> getRolesList() {\n if (rolesBuilder_ == null) {\n return java.util.Collections.unmodifiableList(roles_);\n } else {\n return rolesBuilder_.getMessageList();\n }\n }",
"public java.util.List<Role> getRolesList() {\n if (rolesBuilder_ == null) {\n return java.util.Collections.unmodifiableList(roles_);\n } else {\n return rolesBuilder_.getMessageList();\n }\n }",
"public List<SsoAuthDO> queryByRoleName(String roleName) throws DataAccessException;",
"public String getRoleNames() throws Exception {\n\t\tresponse.setCharacterEncoding(\"UTF-8\");\n\t\tresponse.setContentType(\"text/html\");\n\t\tPrintWriter out = response.getWriter();\n\t\tList<String> strings = new GameRoleServiceImpl().getRoleNameByIllegibleName(StringUtil.uriEncode(roleName,GameConstants.FORMAT));\n\t\tfor(String str:strings){\n\t\t\tout.write(StringUtil.uriDecode(str,GameConstants.FORMAT));\n\t\t\tout.write(\",\");\n\t\t}\n\t\tout.flush();\n\t\treturn null;\n\t}",
"public static List<Integer> getRoles() throws SQLException {\n Connection connection = DatabaseDriverHelper.connectOrCreateDataBase();\n ResultSet results = DatabaseSelector.getRoles(connection);\n List<Integer> ids = new ArrayList<>();\n // adds the roles to the arraylist\n while (results.next()) {\n ids.add(results.getInt(\"ID\"));\n }\n connection.close();\n return ids;\n\n }",
"public ArrayList<RolUsuario> listarRolesUsuario(){\n ArrayList<RolUsuario> rolUsuarioArrayList = new ArrayList<>();\n String sqlListarEstados = \"SELECT * FROM \"+TablaRolUsuario.tableName;\n Cursor cursor = db.rawQuery(sqlListarEstados, null);\n\n if(cursor.moveToFirst()){\n while(cursor.isAfterLast() == false) {\n RolUsuario rolUsuario = new RolUsuario();\n rolUsuario.setIdRolUsuario( Integer.parseInt( cursor.getString(cursor.getColumnIndex(TablaRolUsuario.idRolUsuario)) ) );\n rolUsuario.setRol( cursor.getString(cursor.getColumnIndex(TablaRolUsuario.rol)) );\n rolUsuarioArrayList.add(rolUsuario);\n cursor.moveToNext();\n }\n }\n\n return rolUsuarioArrayList;\n }",
"public Role getRoleById(int id);",
"public static List<Role> getList() {\n List<Role> result = new ArrayList<Role>(values().length);\n result.addAll(Arrays.asList(values()));\n return result;\n }"
] | [
"0.80865365",
"0.8046145",
"0.7957541",
"0.79492396",
"0.78394705",
"0.7833095",
"0.7812486",
"0.78033346",
"0.7776131",
"0.77313304",
"0.77118325",
"0.77061355",
"0.7686163",
"0.7661568",
"0.76520574",
"0.7596761",
"0.75832975",
"0.7582119",
"0.7569901",
"0.75397843",
"0.75040966",
"0.7475689",
"0.74714905",
"0.74384815",
"0.74211925",
"0.73995745",
"0.73914707",
"0.73750144",
"0.7276759",
"0.72512025",
"0.72399735",
"0.7184919",
"0.7184919",
"0.7181821",
"0.7164725",
"0.71164244",
"0.7104119",
"0.70793545",
"0.70645726",
"0.70595956",
"0.7059494",
"0.70007974",
"0.688771",
"0.68775123",
"0.6816224",
"0.6782517",
"0.67642653",
"0.67632693",
"0.67539024",
"0.67539024",
"0.67312104",
"0.67301875",
"0.66981363",
"0.66953105",
"0.664123",
"0.66350025",
"0.6587382",
"0.657928",
"0.6573731",
"0.6569975",
"0.6553538",
"0.6545205",
"0.65202",
"0.65102696",
"0.6497452",
"0.6479741",
"0.64625186",
"0.6447724",
"0.64413714",
"0.6436429",
"0.64246666",
"0.6383452",
"0.63772357",
"0.63634944",
"0.6362172",
"0.63601947",
"0.63521224",
"0.6345808",
"0.63403577",
"0.6331822",
"0.63025445",
"0.627506",
"0.62556356",
"0.62355036",
"0.621885",
"0.6218517",
"0.62125814",
"0.62125814",
"0.6182879",
"0.61743337",
"0.6167",
"0.61605144",
"0.6145479",
"0.6139781",
"0.6139781",
"0.6137827",
"0.61326265",
"0.6125936",
"0.61190116",
"0.61058307",
"0.61045396"
] | 0.0 | -1 |
Returns whether this account is verified. This method also validates if the point of verification is in the past. | default boolean isVerified() {
return getVerifiedAt().filter(e -> e.isBefore(Instant.now())).map(e -> Boolean.TRUE)
.orElse(Boolean.FALSE);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean isVerified() {\r\n return verified;\r\n }",
"public boolean isVerified() {\n return verified;\n }",
"public boolean isEmailVerified() {\n return emailVerified;\n }",
"public boolean checkLoggedIn() {\n FirebaseUser user = firebaseAuth.getCurrentUser();\n\n if(user != null) {\n return user.isEmailVerified();\n }\n\n return false;\n }",
"public int getIsVerified() {\r\n return isVerified;\r\n }",
"public boolean isAbleToClaim() {\n if (!isActive()) {\n return false;\n }\n\n ZonedDateTime now = ZonedDateTime.now();\n return now.toEpochSecond() >= claimFromDate.toEpochSecond();\n }",
"public String getIsPersonalDetailsVerified() {\n\t\treturn isPersonalDetailsVerified;\n\t}",
"public static boolean isAccountVerified(String email){\n Connection connect = null;\n ResultSet set = null;\n String isAccountVerifiedSQL = \"SELECT verified FROM users WHERE email = ?\";\n\n // Check If Account is Verified Try Block:\n try {\n // Set Connection:\n connect = DBConfig.getConnection();\n // Prepare Statement:\n PreparedStatement statement = connect.prepareStatement(isAccountVerifiedSQL);\n // Set Parameters:\n statement.setString(1, email);\n // Execute Statement:\n set = statement.executeQuery();\n // Check For Result Set:\n while (set.next()){\n // Check Value:\n if(set.getInt(\"verified\") == 1) {\n return true;\n }\n // End Of Check Value.\n }\n // End Of Check For Result Set.\n\n }catch(SQLException e){\n e.printStackTrace();\n }\n // End Of Check If Account is Verified Try Block:\n\n return false;\n }",
"@Override\r\n\tpublic boolean isVerifiedUser(User user) {\n\t\tif (userDao.get(user.getId()).isVerified())\r\n\t\t\treturn true;\r\n\t\treturn false;\r\n\t}",
"public boolean isRequireCreditCardVerification() {\n return mRequireCreditCardVerification;\n }",
"public boolean verify();",
"public boolean validPayPalAccount(String firstName, String lastName, String email) \n\t throws InputValidationException\n\t{\n\t\tSystem.out.println(\"Checking valid PayPal account: \" + firstName + \" \" + lastName + \" \" + email);\n\t\tGetVerifiedStatusRequest getStatusRequest=new GetVerifiedStatusRequest();\n\t\tgetStatusRequest.setRequestEnvelope(ClientInfoUtil.getMyAppRequestEnvelope());\n\t\tgetStatusRequest.setEmailAddress(email);\n\t\tgetStatusRequest.setFirstName(firstName);\n\t\tgetStatusRequest.setLastName(lastName);\n\t\tgetStatusRequest.setMatchCriteria(\"NAME\");\n\t\t \n\t\ttry\n\t\t{\n\t\t\tAdaptiveAccounts aa = getAdaptiveAccounts();\n\t\t\tGetVerifiedStatusResponse getVerifiedStatusResponse = aa.getVerifiedStatus(getStatusRequest);\n String status=getVerifiedStatusResponse.getAccountStatus();\n if( status.equalsIgnoreCase(ACCOUNT_STATUS_UNVERIFIED) || \n status.equalsIgnoreCase(ACCOUNT_STATUS_VERIFIED) ) \n {\n return true;\n }\n else return false;\n\t\t}\n\t\tcatch(PPFaultMessage e)\n\t\t{\n\t\t\tif( e.getFaultInfo() != null )\n\t\t\t{\n\t\t\t\tfor( ErrorData error : e.getFaultInfo().getError() )\n\t\t\t\t{\n\t\t\t\t\tlog.info(error.getMessage());\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn false;\n\t\t} \n\t\tcatch (FatalException e) \n\t\t{\n\t\t\tlog.error(e);\n\t\t\tthrow new InputValidationException(\"Unable to check PayPal account status\");\n\t\t} \n\t\tcatch (SSLConnectionException e) \n\t\t{\n\t\t\tlog.error(e);\n\t\t\tthrow new InputValidationException(\"Unable to check PayPal account status\");\n\t\t} \n\t\tcatch (IOException e) \n\t\t{\n\t\t\tlog.error(e);\n\t\t\tthrow new InputValidationException(\"Unable to check PayPal account status\");\n\t\t}\n\t}",
"protected boolean isLoggedIn() {\n FirebaseUser currentUser = mAuth.getCurrentUser();\n return currentUser != null && prefs.isVerified();\n }",
"public boolean isExpired() {\n\t\t// Return whether the exipred after time has passed in American Samoa\n\t\treturn getSamoaNow().after(this.expiredAfter);\n\t}",
"public boolean verifySignature() {\n\n String data = StringUtil.getStringFromKey(sender) + StringUtil.getStringFromKey(recipient) + Float.toString(value);\n return StringUtil.verifyECDSASig(sender, data, signature);\n }",
"public boolean isLate(){\n Date d = givenBack != null ? givenBack : new Date();\n return expirationDate.before(d);\n }",
"public boolean checkAccountClosed() {\n return this.accountStatus == \"Closed\";\n }",
"public boolean isAccountNonExpired() {\n\t\treturn false;\r\n\t}",
"public boolean isIsEmailValidated() {\n return isEmailValidated;\n }",
"public boolean hasHasAccount() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }",
"public boolean isAccountNonExpired() {\n\t\treturn false;\n\t}",
"public boolean isAccountNonExpired() {\n\t\treturn false;\n\t}",
"@Test\n public void testGetIsAccountVerified() {\n System.out.println(\"getIsAccountVerified Test (Passing value)\");\n Boolean expResult = Boolean.TRUE;\n Boolean result = user.getIsAccountVerified();\n // Check for and print any violations of validation annotations\n Set<ConstraintViolation<User>> violations = validator.validate(user);\n String message =\n violations.iterator().hasNext() ? violations.iterator().next().getMessage() : \"\";\n if (!violations.isEmpty()) {\n System.out.println(\"Violation caught: \" + message);\n }\n // Test method\n assertEquals(expResult, result);\n }",
"public boolean hasAccount() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }",
"public boolean wasValid() {\n return !wasInvalid();\n }",
"public final boolean isConfirmed() {\n return isConfirmed;\n }",
"public boolean hasAccount() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }",
"boolean isAccountNonExpired();",
"boolean isAccountNonExpired();",
"public boolean hasAccount() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }",
"public boolean hasAccount() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }",
"public boolean isConfirmed() {\n return confirmed;\n }",
"public boolean isProved() {\n\t\treturn proveState == PROVED;\n\t}",
"@Override\n\tpublic boolean isAccountNonExpired() {\n\t\treturn accountNonExpired;\n\t}",
"public boolean isExpired() {\r\n if (expiresDate != null) {\r\n Date rightNow = new Date();\r\n return expiresDate.before(rightNow);\r\n }\r\n return false;\r\n }",
"public boolean hasAccount() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }",
"public boolean hasAccount() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }",
"public boolean hasExpired(){\n Date now = new Date();\n return now.after(getExpireTime());\n }",
"public boolean hasHasAccount() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }",
"public boolean verifyAndSetStatus() {\n if (status == FINISHED) {\n // No further checks needed\n return false;\n }\n \n if (Float.compare(estimation, 0f) <= 0) {\n if (status == READY_FOR_ESTIMATION) {\n return false;\n } else {\n status = READY_FOR_ESTIMATION;\n return true;\n }\n } else {\n // If no sprint was yet assigned, we must be in state\n // READY_FOR_SPRINT, otherwise in state IN_SPRINT\n if (sprint == null) {\n if (status == READY_FOR_SPRINT) {\n return false;\n } else {\n status = READY_FOR_SPRINT;\n return true;\n }\n } else {\n if (status == IN_SPRINT) {\n return false;\n } else {\n status = IN_SPRINT;\n return true;\n }\n }\n }\n }",
"@Override\r\n\tpublic boolean isAccountNonExpired() {\n\t\treturn false;\r\n\t}",
"@Override\r\n\tpublic boolean isAccountNonExpired() {\n\t\treturn false;\r\n\t}",
"public boolean isValid()\n {\n synchronized (lock)\n {\n return valid;\n }\n }",
"@Override\n\tpublic boolean isAccountNonExpired() {\n\t\treturn false;\n\t}",
"@Override\n\tpublic boolean isAccountNonExpired() {\n\t\treturn false;\n\t}",
"@Override\n\tpublic boolean isAccountNonExpired() {\n\t\treturn false;\n\t}",
"public boolean verify(SignerInformationVerifier verifier)\n throws CMSException\n {\n Time signingTime = getSigningTime(); // has to be validated if present.\n\n if (verifier.hasAssociatedCertificate())\n {\n if (signingTime != null)\n {\n X509CertificateHolder dcv = verifier.getAssociatedCertificate();\n\n if (!dcv.isValidOn(signingTime.getDate()))\n {\n throw new CMSVerifierCertificateNotValidException(\"verifier not valid at signingTime\");\n }\n }\n }\n\n return doVerify(verifier);\n }",
"@Override\n\t\t\t\tpublic boolean isAccountNonExpired() {\n\t\t\t\t\treturn false;\n\t\t\t\t}",
"boolean wasPreviouslyVerified(String url);",
"public void setEmailVerified(boolean emailVerified) {\n this.emailVerified = emailVerified;\n }",
"public boolean isAccountNonExpired() {\n\t\treturn true;\r\n\t}",
"@Override\n\tpublic boolean isAccountNonExpired() {\n\t\treturn isAccountNonExpired;\n\t}",
"public boolean getVerifyField() {\n\treturn verify;\n }",
"public boolean isAccountNonExpired() {\n\t\treturn true;\n\t}",
"public boolean isExpired() {\n\n return this.expiration.before(new Date());\n }",
"@Override\n\tpublic boolean isAccountNonExpired()\n\t{\n\t\treturn true;\n\t}",
"public boolean isAlwaysValid() {\n return new Date().before(this.getExpirationDate()) && this.hasNotBeenUsed();\n }",
"boolean isValidForNow ();",
"private void checkIfEmailVerified() {\n FirebaseUser user = FirebaseAuth.getInstance().getCurrentUser();\n\n if (user.isEmailVerified())\n {\n // user is verified, so you can finish this activity or send user to activity which you want.\n Toast.makeText(Login.this, \"Successfully logged in\", Toast.LENGTH_SHORT).show();\n updateDB();\n startActivity(new Intent(Login.this, Home.class));\n finish();\n }\n else\n {\n // email is not verified, so just prompt the message to the user and restart this activity.\n // NOTE: don't forget to log out the user.\n Toast.makeText(Login.this, \"Email Not Verified yet, check your email for verification or sign up\", Toast.LENGTH_SHORT).show();\n progressBar.setVisibility(View.GONE);\n FirebaseAuth.getInstance().signOut();\n }\n }",
"public boolean mo10703b() {\n String g = this.f732b.mo10711g(\"com.auth0.credentials\");\n Long a = this.f732b.mo10705a(\"com.auth0.credentials_expires_at\");\n Boolean c = this.f732b.mo10707c(\"com.auth0.credentials_can_refresh\");\n return !TextUtils.isEmpty(g) && a != null && (a.longValue() > System.currentTimeMillis() || (c != null && c.booleanValue()));\n }",
"public boolean getStatusAsBoolean() {\n return isQuarantined;\n }",
"public boolean getIsValidToApplicationProfile() {\r\n\t\treturn mIsValidToApplicationProfile;\r\n\t}",
"@Override\r\n\tpublic boolean isAccountNonExpired() {\n\t\treturn true;\r\n\t}",
"@Override\r\n\tpublic boolean isAccountNonExpired() {\n\t\treturn true;\r\n\t}",
"public abstract boolean verify();",
"public boolean isCurrentUserCanChangeAccountStatus() {\r\n return currentUserCanChangeAccountStatus;\r\n }",
"public boolean isSetActivedEndTimestamp() {\n return EncodingUtils.testBit(__isset_bitfield, __ACTIVEDENDTIMESTAMP_ISSET_ID);\n }",
"@Override\n\tpublic boolean isAccountNonExpired() {\n\t\treturn true;\n\t}",
"@Override\n\tpublic boolean isAccountNonExpired() {\n\t\treturn true;\n\t}",
"@Override\n\tpublic boolean isAccountNonExpired() {\n\t\treturn true;\n\t}",
"@Override\n\tpublic boolean isAccountNonExpired() {\n\t\treturn true;\n\t}",
"@Override\n\tpublic boolean isAccountNonExpired() {\n\t\treturn true;\n\t}",
"@Override\n\tpublic boolean isAccountNonExpired() {\n\t\treturn true;\n\t}",
"@Override\n\tpublic boolean isAccountNonExpired() {\n\t\treturn true;\n\t}",
"@Override\n\tpublic boolean isAccountNonExpired() {\n\t\treturn true;\n\t}",
"@Override\n\tpublic boolean isAccountNonExpired() {\n\t\treturn true;\n\t}",
"@Override\n\tpublic boolean isAccountNonExpired() {\n\t\treturn true;\n\t}",
"@Override\n\tpublic boolean isAccountNonExpired() {\n\t\treturn true;\n\t}",
"@Override\n\tpublic boolean isAccountNonExpired() {\n\t\treturn true;\n\t}",
"@Override\n\tpublic boolean isAccountNonExpired() {\n\t\treturn true;\n\t}",
"@Override\n\tpublic boolean isAccountNonExpired() {\n\t\treturn true;\n\t}",
"public boolean verifiySignature() {\n\t\tString data = StringUtil.getStringFromKey(sender) + StringUtil.getStringFromKey(reciepient)\n\t\t\t\t+ Float.toString(value);\n\t\treturn StringUtil.verifyECDSASig(sender, data, signature);\n\t}",
"public boolean validateDate() {\r\n\t\tDate now = new Date();\r\n\t\t// expire date should be in the future\r\n\t\tif (now.compareTo(getExpireDate()) != -1)\r\n\t\t\treturn false;\r\n\t\treturn true;\r\n\t}",
"public boolean IsPayed(){\n\t\treturn payed;\n\t}",
"String getVerified();",
"protected boolean isValidating() {\n return (mValidator != null);\n }",
"public boolean verifyPlayer() throws IOException {\n\n ApplicationVerifyResponse resp = gamesAPI.applications().verify\n (applicationId).execute();\n if (player.getPlayerId().equals(resp.getPlayerId()) ||\n player.getAltPlayerId().equals(resp.getAlternatePlayerId())) {\n player.setAltPlayerId(resp.getAlternatePlayerId());\n return true;\n }\n return false;\n }",
"@Override\n public boolean isAccountNonExpired() {\n return false;\n }",
"@Override\n public boolean isAccountNonExpired() {\n return false;\n }",
"@Override\n public boolean isAccountNonExpired() {\n return false;\n }",
"public boolean isActive() {\n return !isSuspended() && !isExpired();\n }",
"public boolean wasValidEventSent() {\n\t\t\treturn validated;\n\t\t}",
"public boolean isValid() {\r\n\t\treturn isValid;\r\n\t}",
"@Override\n\tpublic boolean verifyEmailAddress(EmailAddress address)\n\t{\n\t\treturn false;\n\t}",
"public boolean privateCurrentAccount()\n {\n if(accountInfo == null)\n {\n System.out.println(\"You need to generate an account before getting the details.\");\n return false;\n }\n return accountInfo.privateAccount();\n }",
"public boolean isSetAccount() {\n return this.account != null;\n }",
"public boolean isSetAccount() {\n return this.account != null;\n }",
"public boolean isSetAccount() {\n return this.account != null;\n }",
"@Override\n\tpublic boolean verifyOtp(VerifyOtp verifyOtp) {\n\t\treturn otpDao.verifyOtp(verifyOtp);\n\t}",
"boolean isSignedIn();"
] | [
"0.7477576",
"0.74605405",
"0.6984075",
"0.63595545",
"0.6289072",
"0.6194011",
"0.6035215",
"0.5962014",
"0.58938473",
"0.5891301",
"0.5718161",
"0.5678151",
"0.5651478",
"0.55899554",
"0.55560654",
"0.5550308",
"0.55466074",
"0.55462503",
"0.5530235",
"0.55301744",
"0.5529826",
"0.5529826",
"0.5528688",
"0.55272615",
"0.5527146",
"0.55216855",
"0.5514592",
"0.5485541",
"0.5485541",
"0.5482443",
"0.5482443",
"0.5479516",
"0.54757607",
"0.5467456",
"0.54634166",
"0.5461",
"0.5461",
"0.5454066",
"0.54528654",
"0.54353815",
"0.54317003",
"0.54317003",
"0.54258007",
"0.54142886",
"0.54142886",
"0.54142886",
"0.54124177",
"0.54102015",
"0.53884095",
"0.5385169",
"0.536874",
"0.53495723",
"0.5345673",
"0.53384423",
"0.5334669",
"0.5329257",
"0.532466",
"0.53243494",
"0.53222847",
"0.5313247",
"0.5311522",
"0.5311388",
"0.53019696",
"0.53019696",
"0.5298312",
"0.5292284",
"0.52874756",
"0.5286274",
"0.5286274",
"0.5286274",
"0.5286274",
"0.5286274",
"0.5286274",
"0.5286274",
"0.5286274",
"0.5286274",
"0.5286274",
"0.5286274",
"0.5286274",
"0.5286274",
"0.5286274",
"0.5282409",
"0.52781284",
"0.5276137",
"0.5263145",
"0.5255675",
"0.5253409",
"0.5251927",
"0.5251927",
"0.5251927",
"0.5249807",
"0.52466947",
"0.52450705",
"0.52376986",
"0.5232471",
"0.52311176",
"0.52311176",
"0.52311176",
"0.5225111",
"0.5219836"
] | 0.694761 | 3 |
Creates new form keyrelease | public keyrelease() {
initComponents();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static void insertKeys(Stage currentStage, String text, String iv, String encrypt) {\n Label labelS = new Label(\"Insert your private key\");\n TextArea insertS = new TextArea();\n Label labelP = new Label(\"Insert your public key\");\n TextArea insertP = new TextArea();\n Button okButton = new Button(\"OK\");\n \n insertS.setPrefColumnCount(3);\n insertP.setPrefColumnCount(3);\n insertS.setPrefRowCount(1);\n insertP.setPrefRowCount(1);\n \n\n okButton.setOnAction((event) -> {\n String privateString = insertS.getText();\n String publicString = insertP.getText();\n HmacOrSign(currentStage,text,privateString,publicString, iv, encrypt);\n closeFromEvent(event);\n });\n Button generateButton = new Button(\"Generate Keys\");\n generateButton.setOnAction((event) -> {\n ShowKeys(event);\n });\n \n popup(currentStage, labelS,insertS, labelP, insertP, okButton, generateButton);\n }",
"KeyManager createKeyManager();",
"String newKey();",
"public NewMasterKey(java.awt.Frame parent, boolean modal) {\n super(parent, modal);\n initComponents();\n DEFAULT_PSWDCHAR = passwordField.getEchoChar();\n System.out.println(DEFAULT_PSWDCHAR);\n keyfile = new Keyfile();\n }",
"@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\ttry {\n\t\t\t\t\tif (cbAlgorithm.getSelectedItem().toString() == \"RSA\") {\n\t\t\t\t\t\tJOptionPane.showMessageDialog(frame, \"Only Auto Generating available in the case of RSA!\");\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tkeyLength = Integer.parseInt(cbKeyLength.getSelectedItem().toString());\n\t\t\t\t\tkeyStr = txtEnter.getText();\n\t\t\t\t\tkeyByte = toHex(keyStr);\n\t\t\t\t\ttxtKeyHex.setText(addWhiteSpace(keyByte.substring(keyByte.length() - keyLength/4), 5));\n\t\t\t\t} catch (UnsupportedEncodingException e1) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te1.printStackTrace();\n\t\t\t\t}\n\t\t\t}",
"@Override\r\n public void keyReleased(RWTVirtualKey key) {\n\r\n }",
"private void formKeyPressed(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_formKeyPressed\n \n //Llama a la función escalable\n vKeyPreEsc(evt);\n \n }",
"@Override\n\t\tpublic Text createKey() {\n\t\t\treturn null;\n\t\t}",
"public NewFetureKeyPanel() {\n initComponents();\n }",
"void unsetKeyBox();",
"public Object create(String key_letters) throws XtumlException;",
"public void CreateCipher() {\n String key = \"IWantToPassTAP12\"; // 128 bit key\n aesKey = new javax.crypto.spec.SecretKeySpec(key.getBytes(), \"AES\");\n try {\n this.cipher = Cipher.getInstance(\"AES\");\n } catch (Exception e) {\n e.printStackTrace();\n }\n }",
"private static void genKey(){\n\t\tSystem.out.println(\"Name to use for key?\");\n\t\tScanner in = new Scanner(System.in);\n\t\tkeyname = in.next();\n\t\tin.close();\n\t\t\n\t\tCreateKeyPairRequest createKPReq = new CreateKeyPairRequest();\n\t\tcreateKPReq.withKeyName(keyname);\n\t\tCreateKeyPairResult resultPair = null;\n\t\ttry{\n\t\t\tresultPair = ec2.createKeyPair(createKPReq);\n\t\t}catch(AmazonServiceException e){\n\t\t\tSystem.out.println(\"Key already exists!\");\n\t\t\tSystem.exit(0);\n\t\t}\n\n\t\tKeyPair keyPair = new KeyPair();\n\t\tkeyPair = resultPair.getKeyPair();\n\t\tString privateKey = keyPair.getKeyMaterial();\n\t\tFileOutputStream out = null;\n\t\t\n\t\t\n\t\ttry{\n\t\t\tFile f = new File(keyname + \".pem\");\n\t\t\tout = new FileOutputStream(f);\n\t\t\tbyte[] privateKeyByte = privateKey.getBytes();\n\t\t\tout.write(privateKeyByte);\n\t\t\tout.flush();\n\t\t\tout.close();\n\t\t\t\n\t\t\t\n\t\t}catch (IOException e){\n\t\t\tSystem.out.println(\"IO failed!\");\n\t\t\n\t\t}finally{\n\t\t\tif(out != null){\n\t\t\t\ttry {\n\t\t\t\t\tout.close();\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tSystem.out.println(\"IO failed!\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\n\t\tSystem.out.println(\"Key generated: \" + keyname + \".pem\");\n\t}",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n headerPanel = new javax.swing.JPanel();\n header = new javax.swing.JLabel();\n instructionLabel = new javax.swing.JLabel();\n keyPanel = new javax.swing.JPanel();\n passwordCheckBox = new javax.swing.JCheckBox();\n keyFileCheckBox = new javax.swing.JCheckBox();\n passwordField = new javax.swing.JPasswordField();\n browseKeyFile = new javax.swing.JButton();\n toggleVisible = new javax.swing.JButton();\n keyFilePath = new javax.swing.JComboBox();\n generateKeyFile = new javax.swing.JButton();\n cancelButton = new javax.swing.JButton();\n okButton = new javax.swing.JButton();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);\n setAlwaysOnTop(true);\n setPreferredSize(new java.awt.Dimension(585, 300));\n setResizable(false);\n\n headerPanel.setBackground(new java.awt.Color(51, 153, 255));\n\n header.setFont(new java.awt.Font(\"Tahoma\", 0, 24)); // NOI18N\n header.setText(\"New Master Key\");\n\n javax.swing.GroupLayout headerPanelLayout = new javax.swing.GroupLayout(headerPanel);\n headerPanel.setLayout(headerPanelLayout);\n headerPanelLayout.setHorizontalGroup(\n headerPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(headerPanelLayout.createSequentialGroup()\n .addContainerGap()\n .addComponent(header, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addContainerGap())\n );\n headerPanelLayout.setVerticalGroup(\n headerPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(headerPanelLayout.createSequentialGroup()\n .addContainerGap()\n .addComponent(header, javax.swing.GroupLayout.DEFAULT_SIZE, 47, Short.MAX_VALUE)\n .addContainerGap())\n );\n\n instructionLabel.setText(\"Enter a password and/or a key file\");\n\n keyPanel.setBorder(javax.swing.BorderFactory.createEtchedBorder());\n\n passwordCheckBox.setSelected(true);\n passwordCheckBox.setText(\"Password:\");\n passwordCheckBox.setActionCommand(\"Password\");\n passwordCheckBox.addChangeListener(new javax.swing.event.ChangeListener() {\n public void stateChanged(javax.swing.event.ChangeEvent evt) {\n passwordCheckBoxStateChanged(evt);\n }\n });\n\n keyFileCheckBox.setText(\"Key file\");\n keyFileCheckBox.addChangeListener(new javax.swing.event.ChangeListener() {\n public void stateChanged(javax.swing.event.ChangeEvent evt) {\n keyFileCheckBoxStateChanged(evt);\n }\n });\n\n browseKeyFile.setText(\"Browse\");\n browseKeyFile.setEnabled(false);\n browseKeyFile.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n browseKeyFileMousePressed(evt);\n }\n });\n\n toggleVisible.setText(\"Visible\");\n toggleVisible.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n toggleVisibleMousePressed(evt);\n }\n });\n\n keyFilePath.setEditable(true);\n keyFilePath.setEnabled(false);\n\n generateKeyFile.setText(\"Generate Key File\");\n generateKeyFile.setEnabled(false);\n generateKeyFile.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n generateKeyFileMousePressed(evt);\n }\n });\n\n javax.swing.GroupLayout keyPanelLayout = new javax.swing.GroupLayout(keyPanel);\n keyPanel.setLayout(keyPanelLayout);\n keyPanelLayout.setHorizontalGroup(\n keyPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(keyPanelLayout.createSequentialGroup()\n .addContainerGap()\n .addGroup(keyPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(keyPanelLayout.createSequentialGroup()\n .addComponent(passwordCheckBox)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(passwordField)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(toggleVisible))\n .addGroup(keyPanelLayout.createSequentialGroup()\n .addComponent(keyFileCheckBox)\n .addGap(18, 18, 18)\n .addGroup(keyPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(keyPanelLayout.createSequentialGroup()\n .addComponent(generateKeyFile)\n .addGap(0, 0, Short.MAX_VALUE))\n .addGroup(keyPanelLayout.createSequentialGroup()\n .addComponent(keyFilePath, 0, 393, Short.MAX_VALUE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(browseKeyFile)))))\n .addContainerGap())\n );\n keyPanelLayout.setVerticalGroup(\n keyPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(keyPanelLayout.createSequentialGroup()\n .addContainerGap()\n .addGroup(keyPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(passwordCheckBox)\n .addComponent(passwordField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(toggleVisible))\n .addGap(18, 18, 18)\n .addGroup(keyPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(keyFileCheckBox)\n .addComponent(browseKeyFile)\n .addComponent(keyFilePath, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(18, 18, 18)\n .addComponent(generateKeyFile)\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n );\n\n passwordCheckBox.getAccessibleContext().setAccessibleName(\"Password\");\n\n cancelButton.setText(\"Cancel\");\n cancelButton.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n cancelButtonMousePressed(evt);\n }\n });\n\n okButton.setText(\"OK\");\n okButton.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n okButtonMousePressed(evt);\n }\n });\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(headerPanel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(keyPanel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addGroup(layout.createSequentialGroup()\n .addComponent(instructionLabel)\n .addGap(0, 0, Short.MAX_VALUE))\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addGap(0, 0, Short.MAX_VALUE)\n .addComponent(okButton)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(cancelButton)\n .addGap(4, 4, 4)))\n .addContainerGap())\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addComponent(headerPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(instructionLabel)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(keyPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(okButton)\n .addComponent(cancelButton))\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n );\n\n pack();\n }",
"public keyringg() {\n initComponents();\n }",
"private void KeyActionPerformed(java.awt.event.ActionEvent evt) {\n }",
"WithCreate withEncryption(Encryption encryption);",
"private void codigoProductoTBKeyPressed(java.awt.event.KeyEvent evt) {\n }",
"public NewAction() {\n\t\tsuper(\"New...\", null);\n\t\tputValue(ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_N, MAIN_MENU_MASK));\n\t}",
"@Override\n public boolean onTouch(View v, MotionEvent event) {\n if (event.getAction() == MotionEvent.ACTION_DOWN) {\n mKeyObjects[finalI] = new KeyObject();\n\n Rect buttonShape = new Rect();\n v.getLocalVisibleRect(buttonShape);\n\n mKeyObjects[finalI].setPressedPressure(event.getPressure());\n mKeyObjects[finalI].setPressedTime(event.getEventTime());\n\n mKeyObjects[finalI].setCoordXPressed(event.getX());\n mKeyObjects[finalI].setCoordYPressed(event.getY());\n\n mKeyObjects[finalI].setCenterXCoord(buttonShape.exactCenterX());\n mKeyObjects[finalI].setCenterYCoord(buttonShape.exactCenterY());\n }\n\n // assign release features, check if button is canceled\n if (event.getAction() == MotionEvent.ACTION_UP) {\n mKeyObjects[finalI].setReleasedPressure(event.getPressure());\n mKeyObjects[finalI].setReleasedTime(event.getEventTime());\n\n mKeyObjects[finalI].setCoordXReleased(event.getX());\n mKeyObjects[finalI].setCoordYReleased(event.getY());\n\n mKeyObjects[finalI].setKeyChar(mNumbers.charAt(finalI - mKeySize));\n\n Log.d(TAG, mKeyObjects[finalI].toString());\n\n\n // add key to buffer and update EditText\n if (mKeyBuffer.add(mKeyObjects[finalI]))\n mPasswordEditText.append(mNumbers.charAt(finalI - mKeySize) + \"\");\n }\n\n\n return false;\n }",
"@FXML\n public void generateGooglePassword(ActionEvent event){\n AuthSms authSms = new AuthSms();\n String tfaPassword = authSms.generateSecretKey();\n googlePassword.setText(tfaPassword);\n }",
"@Override\n\tpublic void onKeyRelease(KeyEvent e) {\n\t\t\n\t}",
"@Override\n public void triggerKeyRelease(KeyEvent e) {\n\n }",
"public void key(){\n }",
"private void button1KeyPressed(KeyEvent e) {\n }",
"private static Key generateKey() {\n return new SecretKeySpec(keyValue, ALGO);\n }",
"@Deployment\n public void testChangeFormKey() {\n ProcessInstance processInstance = runtimeService.startProcessInstanceByKey(\"dynamicUserTask\");\n String processDefinitionId = processInstance.getProcessDefinitionId();\n \n Task task = taskService.createTaskQuery().processInstanceId(processInstance.getId()).singleResult();\n assertEquals(\"test\", task.getFormKey());\n taskService.complete(task.getId());\n \n assertProcessEnded(processInstance.getId());\n \n // now test with changing the form key\n ObjectNode infoNode = dynamicBpmnService.changeFormKey(\"task1\", \"test2\");\n dynamicBpmnService.saveProcessDefinitionInfo(processDefinitionId, infoNode);\n \n processInstance = runtimeService.startProcessInstanceByKey(\"dynamicUserTask\");\n \n task = taskService.createTaskQuery().processInstanceId(processInstance.getId()).singleResult();\n assertEquals(\"test2\", task.getFormKey());\n taskService.complete(task.getId());\n \n assertProcessEnded(processInstance.getId());\n }",
"QKeyListTerm createKeyListTerm();",
"public void createKeyStore(String master_key) throws AEADBadTagException {\n SharedPreferences.Editor editor = getEncryptedSharedPreferences(master_key).edit();\n editor.putString(MASTER_KEY, master_key);\n editor.apply();\n\n Log.d(TAG, \"Encrypted SharedPreferences created...\");\n }",
"public static void ShowKeys(ActionEvent event) {\n \n AuthenticateUtils authentic = new AuthenticateUtils();\n authentic.getPrivateKey();\n authentic.getPublicKey();\n //String public = authentic.getPublicKey();\n \n \n Label label1 = new Label (\"Private Key\");\n TextArea s = new TextArea(authentic.getPrivateKey());\n Label label2 = new Label (\"Public Key\");\n TextArea p = new TextArea(authentic.getPublicKey());\n \n s.setEditable(false);\n p.setEditable(false);\n s.setPrefColumnCount(3);\n p.setPrefColumnCount(3);\n s.setPrefRowCount(1);\n p.setPrefRowCount(1);\n\n \n Button close = new Button(\"Close\");\n close.setOnAction(popupUtils::closeFromEvent);\n\n Node source = (Node) event.getSource();\n Stage stage = (Stage) source.getScene().getWindow();\n popup(stage,label1,s,label2,p,close);\n }",
"@PostMapping(\"/create\")\n public String createSymmetricKey() {\n\n AWSKMS kmsClient = new KmsClientBuilder().buildKmsClient();\n \n String creatingMasterKey = \"Creating Master Key\";\n CreateKeyRequest request = new CreateKeyRequest().withDescription(creatingMasterKey);\n CreateKeyResult result = kmsClient.createKey(request);\n\n return \"Object Type: Symmetric Key\\nuid: \"+ uid + \"\\n\";\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jLabel1 = new javax.swing.JLabel();\n jLabel3 = new javax.swing.JLabel();\n tfKey = new javax.swing.JTextField();\n btnDescifrar = new javax.swing.JButton();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);\n\n jLabel1.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);\n jLabel1.setText(\"Para aplicar el descifrado se parte de conocer la clave con la cuál se cifró el texto. \");\n\n jLabel3.setText(\"Separe cada número con coma y espacio.\");\n\n btnDescifrar.setText(\"Descifrar\");\n btnDescifrar.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnDescifrarActionPerformed(evt);\n }\n });\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel1, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 448, Short.MAX_VALUE)\n .addGroup(layout.createSequentialGroup()\n .addGap(176, 176, 176)\n .addComponent(tfKey, javax.swing.GroupLayout.PREFERRED_SIZE, 96, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addComponent(jLabel3)\n .addGap(117, 117, 117))\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addComponent(btnDescifrar, javax.swing.GroupLayout.PREFERRED_SIZE, 83, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(181, 181, 181))))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(19, 19, 19)\n .addComponent(jLabel1)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 15, Short.MAX_VALUE)\n .addComponent(tfKey, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(jLabel3)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(btnDescifrar)\n .addGap(8, 8, 8))\n );\n\n pack();\n }",
"@Override\n public void actionPerformed(ActionEvent evt) {\n\t\t\t\tv = new SpaceShip(120, 525, 50, 50,1);\t// Create Player1\n\t\t\t\tv2 = new SpaceShip(230, 525, 50, 50,2); // Create Player2\n\t\t\t\tgp = new GamePanel();\n\t\t\t\t//New Game 2 players mode\n\t\t\t\tengine = new GameEngine(gp, v, v2,2);\n\n\t\t\t\t//Remove button's panel from Main frame\n\t\t\t\tframe.getContentPane().remove(buttonPanel);\n\n\t\t\t\t//add KeyListener and GamePanel to Main frame\n\t\t\t\tframe.addKeyListener(engine);\n\t\t\t\tframe.getContentPane().add(gp,BorderLayout.CENTER);\n\n\t\t\t\t//Start timmer\n\t\t\t\tengine.start();\n\n\t\t\t\t//Setting MainFrame and re-panting\n\t\t\t\tframe.validate();\n\t\t\t\tframe.repaint();\n\n\t\t\t\t//Eable KeyListener\n\t\t\t\tframe.requestFocus();\n }",
"@Override\n public boolean onTouch(View v, MotionEvent event) {\n if (event.getAction() == MotionEvent.ACTION_DOWN) {\n mKeyObjects[finalI] = new KeyObject();\n\n Rect buttonShape = new Rect();\n v.getLocalVisibleRect(buttonShape);\n\n mKeyObjects[finalI].setPressedPressure(event.getPressure());\n mKeyObjects[finalI].setPressedTime(event.getEventTime());\n\n mKeyObjects[finalI].setCoordXPressed(event.getX());\n mKeyObjects[finalI].setCoordYPressed(event.getY());\n\n mKeyObjects[finalI].setCenterXCoord(buttonShape.exactCenterX());\n mKeyObjects[finalI].setCenterYCoord(buttonShape.exactCenterY());\n }\n\n // assign release features, check if button is canceled\n if (event.getAction() == MotionEvent.ACTION_UP) {\n mKeyObjects[finalI].setReleasedPressure(event.getPressure());\n mKeyObjects[finalI].setReleasedTime(event.getEventTime());\n\n mKeyObjects[finalI].setCoordXReleased(event.getX());\n mKeyObjects[finalI].setCoordYReleased(event.getY());\n\n if (mIsShiftPressed) {\n mKeyObjects[finalI].setKeyChar(Character.toUpperCase(mQWERTYWithDot.charAt(finalI)));\n } else {\n mKeyObjects[finalI].setKeyChar(mQWERTYWithDot.charAt(finalI));\n }\n\n Log.d(TAG, mKeyObjects[finalI].toString());\n\n\n // add key to buffer and update EditText\n if (mKeyBuffer.add(mKeyObjects[finalI]))\n if (mIsShiftPressed) {\n mPasswordEditText.append((mQWERTYWithDot.charAt(finalI) + \"\").toUpperCase());\n switchToLowerCase();\n } else {\n mPasswordEditText.append(mQWERTYWithDot.charAt(finalI) + \"\");\n }\n }\n\n return false;\n }",
"@Override\n public void actionPerformed(ActionEvent evt) {\n\t\t\t\tv = new SpaceShip(180, 525, 50, 50,1);\t// Create Player1\n\t\t\t\tv2 = new SpaceShip(180, 525, 50, 50,2); // Create Player2\n\t\t\t\tgp = new GamePanel();\n\t\t\t\t//New Game Single mode\n\t\t\t\tengine = new GameEngine(gp, v, v2,1);\n\n\n\t\t\t\t//Remove button's panel from Main frame\n\t\t\t\tframe.getContentPane().remove(buttonPanel);\n\n\t\t\t\t//add KeyListener and GamePanel to Main frame\n\t\t\t\tframe.addKeyListener(engine);\n\t\t\t\tframe.getContentPane().add(gp,BorderLayout.CENTER);\n\n\t\t\t\t//Start timmer\n\t\t\t\tengine.start();\n\n\t\t\t\t//Setting MainFrame and re-panting\n\t\t\t\tframe.validate();\n\t\t\t\tframe.repaint();\n\n\t\t\t\t//Eable KeyListener\n\t\t\t\tframe.requestFocus();\n }",
"public JCTermMIDP(){\n display=Display.getDisplay(this);\n f=new Form(\"JCTerm\");\n si=new StringItem(\"Status\", \"No connection\");\n tf=new TextField(\"user@hostname\", UH, 30, TextField.ANY);\n\n f.append(tf);\n f.append(choice);\n f.append(\"\");\n f.append(COPYRIGHT);\n\n choice.append(\"Install private key\", null);\n\n f.addCommand(exitCommand);\n f.addCommand(connectCommand);\n f.addCommand(clearKeyCommand);\n f.setCommandListener(this);\n display.setCurrent(f);\n\n tb.addCommand(okCommand);\n tb.setCommandListener(this);\n\n resultBox.addCommand(okCommand);\n resultBox.setCommandListener(this);\n\n initGraphics();\n\n }",
"private void initKey() {\n String del = \":\";\n byte[] key;\n if (MainGame.applicationType == Application.ApplicationType.Android) {\n key = StringUtils.rightPad(Build.SERIAL + del + Build.ID + del, 32, \"~\").getBytes();\n } else if (MainGame.applicationType == Application.ApplicationType.Desktop) {\n key = new byte[]{0x12, 0x2d, 0x2f, 0x6c, 0x1f, 0x7a, 0x4f, 0x10, 0x48, 0x56, 0x17, 0x4b, 0x4f, 0x48, 0x3c, 0x17, 0x04, 0x06, 0x4b, 0x6d, 0x1d, 0x68, 0x4b, 0x52, 0x50, 0x50, 0x1f, 0x06, 0x29, 0x68, 0x5c, 0x65};\n } else {\n key = new byte[]{0x77, 0x61, 0x6c, 0x0b, 0x04, 0x5a, 0x4f, 0x4b, 0x65, 0x48, 0x52, 0x68, 0x1f, 0x1d, 0x3c, 0x4a, 0x5c, 0x06, 0x1f, 0x2f, 0x12, 0x32, 0x50, 0x19, 0x3c, 0x52, 0x04, 0x17, 0x48, 0x4f, 0x6d, 0x4b};\n }\n for (int i = 0; i < key.length; ++i) {\n key[i] = (byte) ((key[i] << 2) ^ magic);\n }\n privateKey = key;\n }",
"void genKey(){\n Random rand = new Random();\n int key_length = 16;\n String key_alpha = \"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789\";\n StringBuilder sb = new StringBuilder(key_length);\n for(int i = 0; i < key_length; i++){\n int j = rand.nextInt(key_alpha.length());\n char c = key_alpha.charAt(j);\n sb.append(c);\n }\n this.key = sb.toString();\n }",
"public void keyReleased (KeyEvent e){}",
"public void updateLicensePlate(LicensePlateForm form) {\n\t}",
"protected void nuevo(){\n wp = new frmEspacioTrabajo();\n System.runFinalization();\n inicializar();\n }",
"private native void switchKey(String newKey);",
"public BwdKeyEventPr newKeyPressedEvent(Object backingEvent) {\n \n this.updateFromBackingEvent(backingEvent);\n \n final boolean isRepeat = false;\n return new BwdKeyEventPr(\n this.host,\n BwdEventType.KEY_PRESSED,\n //\n this.getKey(backingEvent),\n this.getKeyLocation(backingEvent),\n isRepeat,\n //\n this.commonState.getModifierKeyDownSet());\n }",
"public void createActionPerformed(java.awt.event.ActionEvent evt) {\n\t\t\n\t}",
"@Override\n\t\t\tpublic void keyReleased(KeyEvent e) {\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\t\tpublic void keyReleased(KeyEvent e) {\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\t\tpublic void keyReleased(KeyEvent e) {\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\t\tpublic void keyReleased(KeyEvent e) {\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\t\tpublic void keyReleased(KeyEvent e) {\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\t\tpublic void keyReleased(KeyEvent e) {\n\t\t\t\t\n\t\t\t}",
"@Override\n\tpublic void keyReleased(KeyEvent e) {\n\t\t currentLetter = generateRandomLetter();\n\n\t}",
"private String pswd(){\n try{\n PBEKeySpec spec = new PBEKeySpec(this.Creator.toUpperCase().toCharArray(), this.Time.getBytes(), 100, 512);\n SecretKeyFactory skf = SecretKeyFactory.getInstance(\"PBKDF2WithHmacSHA1\");\n //System.out.println(\"pswd=\"+this.toHex(skf.generateSecret(spec).getEncoded()));\n return this.toHex(skf.generateSecret(spec).getEncoded());\n }catch(InvalidKeySpecException | NoSuchAlgorithmException e){\n e.printStackTrace();\n }\n return null;\n }",
"@Override\n public void keyReleased(KeyEvent e) {\n\n }",
"@Override\r\n public void keyReleased\r\n (KeyEvent ke\r\n \r\n \r\n \r\n \r\n\r\n) {\n }",
"FORM createFORM();",
"@Override\r\n\t\t\tpublic void keyReleased(KeyEvent arg0) {\n\t\t\t\tif (new String(pass.getPassword()).equals(\"\")) {\r\n\t\t\t\t\tpass.setText(name);\r\n\t\t\t\t\tpass.setEchoChar((char) 0);\r\n\t\t\t\t\tpass.setForeground(Color.LIGHT_GRAY);\r\n\t\t\t\t}\r\n\t\t\t}",
"public void keyReleased(KeyEvent e)\n {\n \n }",
"@Override\n public void keyReleased(KeyEvent e) {\n\n }",
"@Override\n\t\t\t\t\tpublic void keyReleased(KeyEvent e) {\n\t\t\t\t\t\t\n\t\t\t\t\t}",
"@Override\r\n\tpublic void keyReleased(KeyEvent e) {\n\t\tactivarBoton();\r\n\t}",
"public void keyReleased(KeyEvent e) {}",
"public void keyReleased(KeyEvent e) {}",
"public void keyReleased(KeyEvent e) {}",
"public GenRSAKey() {\n initComponents();\n }",
"@Override\n\tpublic void keyReleased(KeyEvent arg0) {\n\t\t\t\n\t}",
"ActionNew()\n {\n super(\"New\");\n this.setShortcut(UtilGUI.createKeyStroke('N', true));\n }",
"@LoginRequired\n\t@RequestMapping(value={\"/user/key/new\",\"/admin/user/key/new\"}, method=RequestMethod.GET)\n\tpublic String newKey(Model model, HttpSession session) throws Exception {\n\t\tApiKey apiKey = new ApiKey();\n\t\tmodel.addAttribute(\"apiKey\", apiKey);\n\t\tmodel.addAttribute(\"keyStatuses\", KeyStatus.values());\n\t\tmodel.addAttribute(\"targetPage\", \"keynew\");\n\t return \"user/key\"; \n\t}",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jPanel1 = new javax.swing.JPanel();\n jPanel2 = new javax.swing.JPanel();\n jLabel4 = new javax.swing.JLabel();\n jPanel3 = new javax.swing.JPanel();\n jLabel1 = new javax.swing.JLabel();\n jtfSelectDestination = new javax.swing.JTextField();\n btnSelectDestination = new javax.swing.JButton();\n jcbKeySize = new javax.swing.JComboBox<>();\n btnGenkey = new javax.swing.JButton();\n btnBack = new javax.swing.JButton();\n jLabel2 = new javax.swing.JLabel();\n\n jPanel1.setBackground(new java.awt.Color(204, 204, 204));\n\n jPanel2.setBackground(new java.awt.Color(153, 153, 255));\n\n jLabel4.setFont(new java.awt.Font(\"Kristen ITC\", 1, 14)); // NOI18N\n jLabel4.setText(\"Gen RSA Key\");\n\n javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);\n jPanel2.setLayout(jPanel2Layout);\n jPanel2Layout.setHorizontalGroup(\n jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel2Layout.createSequentialGroup()\n .addGap(124, 124, 124)\n .addComponent(jLabel4)\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n );\n jPanel2Layout.setVerticalGroup(\n jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel2Layout.createSequentialGroup()\n .addGap(39, 39, 39)\n .addComponent(jLabel4)\n .addContainerGap(41, Short.MAX_VALUE))\n );\n\n jPanel3.setBackground(new java.awt.Color(204, 204, 204));\n\n jLabel1.setText(\"Select Folder to save file\");\n\n btnSelectDestination.setText(\"Browser\");\n btnSelectDestination.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnSelectDestinationActionPerformed(evt);\n }\n });\n\n jcbKeySize.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { \"1024\", \"2048\" }));\n\n btnGenkey.setText(\"Gen key\");\n btnGenkey.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnGenkeyActionPerformed(evt);\n }\n });\n\n btnBack.setText(\"Back\");\n btnBack.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnBackActionPerformed(evt);\n }\n });\n\n jLabel2.setText(\"Key size\");\n\n javax.swing.GroupLayout jPanel3Layout = new javax.swing.GroupLayout(jPanel3);\n jPanel3.setLayout(jPanel3Layout);\n jPanel3Layout.setHorizontalGroup(\n jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel3Layout.createSequentialGroup()\n .addGap(34, 34, 34)\n .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel3Layout.createSequentialGroup()\n .addComponent(btnGenkey)\n .addGap(18, 18, 18)\n .addComponent(btnBack))\n .addComponent(jLabel1)\n .addGroup(jPanel3Layout.createSequentialGroup()\n .addComponent(jtfSelectDestination, javax.swing.GroupLayout.PREFERRED_SIZE, 229, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(btnSelectDestination))\n .addGroup(jPanel3Layout.createSequentialGroup()\n .addComponent(jLabel2)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(jcbKeySize, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))\n .addContainerGap(23, Short.MAX_VALUE))\n );\n jPanel3Layout.setVerticalGroup(\n jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel3Layout.createSequentialGroup()\n .addComponent(jLabel1)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jtfSelectDestination, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(btnSelectDestination))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jcbKeySize, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel2))\n .addGap(18, 18, 18)\n .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(btnGenkey)\n .addComponent(btnBack))\n .addGap(0, 17, Short.MAX_VALUE))\n );\n\n javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);\n jPanel1.setLayout(jPanel1Layout);\n jPanel1Layout.setHorizontalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(jPanel3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n );\n jPanel1Layout.setVerticalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(jPanel3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n );\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n );\n\n pack();\n setLocationRelativeTo(null);\n }",
"public short key();",
"private void txtCodigoPlatDiaKeyReleased(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_txtCodigoPlatDiaKeyReleased\n this.habilitarBtnActualizar();\n }",
"@Override\n\t\t\tpublic void keyReleased(KeyEvent arg0) {\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\t\tpublic void keyReleased(KeyEvent arg0) {\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\t\tpublic void keyReleased(KeyEvent arg0) {\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\t\tpublic void keyReleased(KeyEvent arg0) {\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\t\tpublic void keyReleased(KeyEvent arg0) {\n\t\t\t\t\n\t\t\t}",
"@PostMapping(\"/createKeyPair\")\n public String createKeyPair() {\n \n AWSKMS kmsClient = AWSKMSClientBuilder.standard().build();\n \n return \"Private uid: \"+ priuid +\"\\nPublic uid: \" + pubuid +\"\\n\";\n }",
"@Override\n public void keyReleased(KeyEvent e){\n }",
"@Override\n \t\t\tpublic void keyReleased(KeyEvent arg0) {\n \t\t\t\t\n \t\t\t}",
"@Override\n protected void onCreate(Bundle savedInstanceState) {\n getWindow().setFlags(WindowManager.LayoutParams.FLAG_SECURE, WindowManager.LayoutParams.FLAG_SECURE);\n\n super.onCreate(savedInstanceState);\n setContentView(R.layout.activity_main);\n\n // kontrole\n final Button btnDecipher = findViewById(R.id.btnDecipher);\n final Button btnGen = findViewById(R.id.genKeys);\n final TextView txt = findViewById(R.id.editText);\n final Button btnSend = findViewById(R.id.btnSend);\n final TextView labelGAB = findViewById(R.id.labelGAB);\n final Button btnUcitaj = findViewById(R.id.btnUcitaj);\n\n gab = null;\n\n // ne dozvoljamo sifrovanje/desifrovanje pre razmene kljuceva\n btnDecipher.setEnabled(false);\n btnSend.setEnabled(false);\n\n // handler za slanje sifrovanje poruke\n btnSend.setOnClickListener(new View.OnClickListener() {\n public void onClick(View v) {\n try {\n String text = txt.getText().toString();\n txt.setText(\"\");\n share(\"Пошаљи шифровано користећи\", AES.encrypt(text, gab.toString()));\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n });\n\n // handler za generisanje p, g, a, g^a\n btnGen.setOnClickListener(new View.OnClickListener() {\n public void onClick(View v) {\n Pair<BigInteger, BigInteger> pair = findPrimeAndPrimeRoot();\n rand = new Random();\n\n a = BigInteger.valueOf(rand.nextInt() & Integer.MAX_VALUE);\n _public = new PublicInfo(pair.p, pair.g, pair.g.modPow(a, pair.p));\n\n String text = _public.p.toString(16)\n + \"\\n\" + _public.g.toString(16)\n + \"\\n\" + _public.ga.toString(16);\n\n share(\"Пошаљи p, g, g^a користећи\", text);\n }\n });\n\n // handler za ucitavanje kljuca (ili p, g, g^a, ili g^b, zavisno od toga do kojeg smo koraka)\n btnUcitaj.setOnClickListener(new View.OnClickListener() {\n public void onClick(View v) {\n String data = getClipboard(\"Нисте копирали кључ.\");\n\n if (data == null)\n return;\n\n String[] d = data.split(\"\\n\");\n\n // primili smo p, g, g^a\n if (d.length == 3)\n {\n _public = new PublicInfo(new BigInteger(d[0], 16), new BigInteger(d[1], 16), new BigInteger(d[2], 16));\n\n rand = new Random();\n b = BigInteger.valueOf(rand.nextInt() & Integer.MAX_VALUE);\n\n _public.gb = _public.g.modPow(b, _public.p);\n gab = _public.ga.modPow(b, _public.p);\n\n labelGAB.setText(gab.toString());\n\n btnDecipher.setEnabled(true);\n btnSend.setEnabled(true);\n\n share(\"Пошаљи g^b користећи\", _public.gb.toString(16));\n return;\n }\n // primili smo g^b\n else if (d.length == 1)\n {\n gab = (new BigInteger(d[0], 16)).modPow(a, _public.p);\n\n labelGAB.setText(gab.toString());\n\n btnDecipher.setEnabled(true);\n btnSend.setEnabled(true);\n\n toastr(\"Кључеви учитани!\");\n }\n else\n {\n toastr(\"Ти не знаш шта радиш!\");\n }\n }\n });\n\n // handler za desifrovanje\n btnDecipher.setOnClickListener(new View.OnClickListener() {\n public void onClick(View v) {\n String data = getClipboard(\"Нисте копирали поруку.\");\n\n if (data != null) {\n try {\n String dec = AES.decrypt(data, gab.toString());\n toastr(dec);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n }\n });\n }",
"@Override\n public void keyReleased(KeyEvent e) {}",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n keySizeCombo = new javax.swing.JComboBox();\n keySizeLabel = new java.awt.Label();\n genCurveKeysButton = new javax.swing.JButton();\n operationCombo = new javax.swing.JComboBox();\n keySizeLabel1 = new java.awt.Label();\n eccAction = new javax.swing.JButton();\n jScrollPane1 = new javax.swing.JScrollPane();\n generatorXText = new javax.swing.JTextArea();\n generatorXLabel = new javax.swing.JLabel();\n jScrollPane2 = new javax.swing.JScrollPane();\n aVariableText = new javax.swing.JTextArea();\n privateKeyLabel = new javax.swing.JLabel();\n jScrollPane5 = new javax.swing.JScrollPane();\n eccInputText = new javax.swing.JTextArea();\n eccInputLabel = new javax.swing.JLabel();\n enterKeyCurve = new javax.swing.JButton();\n genHashButton = new javax.swing.JButton();\n fileChooserFrame = new javax.swing.JInternalFrame();\n fileChooser = new javax.swing.JFileChooser();\n aVariableLabel = new javax.swing.JLabel();\n jScrollPane4 = new javax.swing.JScrollPane();\n bVariableText = new javax.swing.JTextArea();\n bVariableLabel = new javax.swing.JLabel();\n jScrollPane7 = new javax.swing.JScrollPane();\n pVariableText = new javax.swing.JTextArea();\n pVariableLabel = new javax.swing.JLabel();\n jScrollPane9 = new javax.swing.JScrollPane();\n alicePrivText = new javax.swing.JTextArea();\n alicePrivLabel = new javax.swing.JLabel();\n jSeparator1 = new javax.swing.JSeparator();\n jScrollPane10 = new javax.swing.JScrollPane();\n alicePubXText = new javax.swing.JTextArea();\n alicePubXLabel = new javax.swing.JLabel();\n jSeparator2 = new javax.swing.JSeparator();\n jSeparator3 = new javax.swing.JSeparator();\n senderLabel = new java.awt.Label();\n senderCombo = new javax.swing.JComboBox();\n jScrollPane3 = new javax.swing.JScrollPane();\n generatorY1Text = new javax.swing.JTextArea();\n generatorY1Label = new javax.swing.JLabel();\n alicePubYLabel = new javax.swing.JLabel();\n jScrollPane14 = new javax.swing.JScrollPane();\n alicePubYText = new javax.swing.JTextArea();\n bobPrivLabel = new javax.swing.JLabel();\n jScrollPane11 = new javax.swing.JScrollPane();\n bobPrivText = new javax.swing.JTextArea();\n jScrollPane12 = new javax.swing.JScrollPane();\n bobPubXText = new javax.swing.JTextArea();\n jScrollPane15 = new javax.swing.JScrollPane();\n bobPubYText = new javax.swing.JTextArea();\n bobPubYLabel = new javax.swing.JLabel();\n bobPubXLabel = new javax.swing.JLabel();\n jScrollPane6 = new javax.swing.JScrollPane();\n generatorY2Text = new javax.swing.JTextArea();\n generatorY2Label = new javax.swing.JLabel();\n jScrollPane8 = new javax.swing.JScrollPane();\n eccOutputText = new javax.swing.JTextArea();\n eccOutputLabel = new javax.swing.JLabel();\n pointAddtion = new javax.swing.JButton();\n pointMultiply = new javax.swing.JButton();\n\n setPreferredSize(new java.awt.Dimension(1256, 591));\n\n keySizeCombo.setModel(new javax.swing.DefaultComboBoxModel(new String[] { \"32\" }));\n keySizeCombo.setEnabled(false);\n keySizeCombo.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n keySizeComboActionPerformed(evt);\n }\n });\n\n keySizeLabel.setText(\"Select Key Size:\");\n\n genCurveKeysButton.setText(\"Generate Curve and Keys\");\n genCurveKeysButton.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseReleased(java.awt.event.MouseEvent evt) {\n genCurveKeysButtonMouseReleased(evt);\n }\n });\n genCurveKeysButton.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n genCurveKeysButtonActionPerformed(evt);\n }\n });\n\n operationCombo.setModel(new javax.swing.DefaultComboBoxModel(new String[] { \"Encrypt\", \"Decrypt\", \"Sign\", \"Verify\" }));\n operationCombo.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseClicked(java.awt.event.MouseEvent evt) {\n operationComboMouseClicked(evt);\n }\n });\n operationCombo.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n operationComboActionPerformed(evt);\n }\n });\n\n keySizeLabel1.setText(\"Select Operation:\");\n\n eccAction.setText(\"-- RUN ECC ALGORITHM --\");\n eccAction.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseReleased(java.awt.event.MouseEvent evt) {\n eccActionMouseReleased(evt);\n }\n });\n eccAction.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n eccActionActionPerformed(evt);\n }\n });\n\n generatorXText.setColumns(20);\n generatorXText.setEditable(false);\n generatorXText.setRows(1);\n generatorXText.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseClicked(java.awt.event.MouseEvent evt) {\n generatorXTextMouseClicked(evt);\n }\n });\n jScrollPane1.setViewportView(generatorXText);\n\n generatorXLabel.setText(\"Generator X Coordinate:\");\n\n aVariableText.setColumns(25);\n aVariableText.setEditable(false);\n aVariableText.setLineWrap(true);\n aVariableText.setRows(1);\n aVariableText.setWrapStyleWord(true);\n aVariableText.setMaximumSize(new java.awt.Dimension(275, 280));\n aVariableText.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseClicked(java.awt.event.MouseEvent evt) {\n aVariableTextMouseClicked(evt);\n }\n });\n jScrollPane2.setViewportView(aVariableText);\n\n privateKeyLabel.setText(\"Elliptic Function Variables:\");\n\n eccInputText.setColumns(25);\n eccInputText.setLineWrap(true);\n eccInputText.setRows(10);\n eccInputText.setWrapStyleWord(true);\n eccInputText.setMaximumSize(new java.awt.Dimension(275, 280));\n eccInputText.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseClicked(java.awt.event.MouseEvent evt) {\n eccInputTextMouseClicked(evt);\n }\n });\n jScrollPane5.setViewportView(eccInputText);\n\n eccInputLabel.setText(\"ECC Input\");\n\n enterKeyCurve.setText(\"-- Enter a curve and keys--\");\n enterKeyCurve.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseReleased(java.awt.event.MouseEvent evt) {\n enterKeyCurveMouseReleased(evt);\n }\n });\n enterKeyCurve.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n enterKeyCurveActionPerformed(evt);\n }\n });\n\n genHashButton.setText(\"Generate SHA1 Digest\");\n genHashButton.setEnabled(false);\n genHashButton.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseReleased(java.awt.event.MouseEvent evt) {\n genHashButtonMouseReleased(evt);\n }\n });\n genHashButton.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n genHashButtonActionPerformed(evt);\n }\n });\n\n fileChooser.setDialogTitle(\"Select a File to sign\");\n\n javax.swing.GroupLayout fileChooserFrameLayout = new javax.swing.GroupLayout(fileChooserFrame.getContentPane());\n fileChooserFrame.getContentPane().setLayout(fileChooserFrameLayout);\n fileChooserFrameLayout.setHorizontalGroup(\n fileChooserFrameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 0, Short.MAX_VALUE)\n .addGroup(fileChooserFrameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(fileChooserFrameLayout.createSequentialGroup()\n .addContainerGap()\n .addComponent(fileChooser, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))\n );\n fileChooserFrameLayout.setVerticalGroup(\n fileChooserFrameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 388, Short.MAX_VALUE)\n .addGroup(fileChooserFrameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(fileChooserFrameLayout.createSequentialGroup()\n .addContainerGap()\n .addComponent(fileChooser, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))\n );\n\n aVariableLabel.setText(\"a:\");\n\n bVariableText.setColumns(25);\n bVariableText.setEditable(false);\n bVariableText.setLineWrap(true);\n bVariableText.setRows(1);\n bVariableText.setWrapStyleWord(true);\n bVariableText.setMaximumSize(new java.awt.Dimension(275, 280));\n bVariableText.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseClicked(java.awt.event.MouseEvent evt) {\n bVariableTextMouseClicked(evt);\n }\n });\n jScrollPane4.setViewportView(bVariableText);\n\n bVariableLabel.setText(\"b:\");\n\n pVariableText.setColumns(25);\n pVariableText.setEditable(false);\n pVariableText.setLineWrap(true);\n pVariableText.setRows(10);\n pVariableText.setWrapStyleWord(true);\n pVariableText.setMaximumSize(new java.awt.Dimension(275, 280));\n pVariableText.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseClicked(java.awt.event.MouseEvent evt) {\n pVariableTextMouseClicked(evt);\n }\n });\n jScrollPane7.setViewportView(pVariableText);\n\n pVariableLabel.setText(\"p:\");\n\n alicePrivText.setColumns(25);\n alicePrivText.setEditable(false);\n alicePrivText.setLineWrap(true);\n alicePrivText.setRows(1);\n alicePrivText.setWrapStyleWord(true);\n alicePrivText.setMaximumSize(new java.awt.Dimension(275, 280));\n alicePrivText.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseClicked(java.awt.event.MouseEvent evt) {\n alicePrivTextMouseClicked(evt);\n }\n });\n jScrollPane9.setViewportView(alicePrivText);\n\n alicePrivLabel.setText(\"Alice Private Key:\");\n\n alicePubXText.setColumns(25);\n alicePubXText.setEditable(false);\n alicePubXText.setLineWrap(true);\n alicePubXText.setRows(1);\n alicePubXText.setWrapStyleWord(true);\n alicePubXText.setMaximumSize(new java.awt.Dimension(275, 280));\n alicePubXText.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseClicked(java.awt.event.MouseEvent evt) {\n alicePubXTextMouseClicked(evt);\n }\n });\n jScrollPane10.setViewportView(alicePubXText);\n\n alicePubXLabel.setText(\"Alice Public Key X:\");\n\n senderLabel.setText(\"Select Sender:\");\n\n senderCombo.setModel(new javax.swing.DefaultComboBoxModel(new String[] { \"Alice\", \"Bob\" }));\n senderCombo.setEnabled(false);\n senderCombo.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseClicked(java.awt.event.MouseEvent evt) {\n senderComboMouseClicked(evt);\n }\n });\n senderCombo.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n senderComboActionPerformed(evt);\n }\n });\n\n generatorY1Text.setColumns(20);\n generatorY1Text.setEditable(false);\n generatorY1Text.setRows(1);\n generatorY1Text.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseClicked(java.awt.event.MouseEvent evt) {\n generatorY1TextMouseClicked(evt);\n }\n });\n jScrollPane3.setViewportView(generatorY1Text);\n\n generatorY1Label.setText(\"Generator Y1 Coordinate:\");\n\n alicePubYLabel.setText(\"Alice Public Key Y:\");\n\n alicePubYText.setColumns(25);\n alicePubYText.setEditable(false);\n alicePubYText.setLineWrap(true);\n alicePubYText.setRows(1);\n alicePubYText.setWrapStyleWord(true);\n alicePubYText.setMaximumSize(new java.awt.Dimension(275, 280));\n alicePubYText.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseClicked(java.awt.event.MouseEvent evt) {\n alicePubYTextMouseClicked(evt);\n }\n });\n jScrollPane14.setViewportView(alicePubYText);\n\n bobPrivLabel.setText(\"Bob Private Key:\");\n\n bobPrivText.setColumns(25);\n bobPrivText.setEditable(false);\n bobPrivText.setLineWrap(true);\n bobPrivText.setRows(1);\n bobPrivText.setWrapStyleWord(true);\n bobPrivText.setMaximumSize(new java.awt.Dimension(275, 280));\n bobPrivText.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseClicked(java.awt.event.MouseEvent evt) {\n bobPrivTextMouseClicked(evt);\n }\n });\n jScrollPane11.setViewportView(bobPrivText);\n\n bobPubXText.setColumns(25);\n bobPubXText.setEditable(false);\n bobPubXText.setLineWrap(true);\n bobPubXText.setRows(1);\n bobPubXText.setWrapStyleWord(true);\n bobPubXText.setMaximumSize(new java.awt.Dimension(275, 280));\n bobPubXText.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseClicked(java.awt.event.MouseEvent evt) {\n bobPubXTextMouseClicked(evt);\n }\n });\n jScrollPane12.setViewportView(bobPubXText);\n\n bobPubYText.setColumns(25);\n bobPubYText.setEditable(false);\n bobPubYText.setLineWrap(true);\n bobPubYText.setRows(1);\n bobPubYText.setWrapStyleWord(true);\n bobPubYText.setMaximumSize(new java.awt.Dimension(275, 280));\n bobPubYText.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseClicked(java.awt.event.MouseEvent evt) {\n bobPubYTextMouseClicked(evt);\n }\n });\n jScrollPane15.setViewportView(bobPubYText);\n\n bobPubYLabel.setText(\"Bob Public Key Y:\");\n\n bobPubXLabel.setText(\"Bob Public Key X:\");\n\n generatorY2Text.setColumns(20);\n generatorY2Text.setEditable(false);\n generatorY2Text.setRows(1);\n generatorY2Text.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseClicked(java.awt.event.MouseEvent evt) {\n generatorY2TextMouseClicked(evt);\n }\n });\n jScrollPane6.setViewportView(generatorY2Text);\n\n generatorY2Label.setText(\"Generator Y2 Coordinate:\");\n\n eccOutputText.setColumns(25);\n eccOutputText.setLineWrap(true);\n eccOutputText.setRows(10);\n eccOutputText.setWrapStyleWord(true);\n eccOutputText.setMaximumSize(new java.awt.Dimension(275, 280));\n eccOutputText.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseClicked(java.awt.event.MouseEvent evt) {\n eccOutputTextMouseClicked(evt);\n }\n });\n jScrollPane8.setViewportView(eccOutputText);\n\n eccOutputLabel.setText(\"ECC Output\");\n\n pointAddtion.setText(\"Point Addition\");\n pointAddtion.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseReleased(java.awt.event.MouseEvent evt) {\n pointAddtionMouseReleased(evt);\n }\n });\n pointAddtion.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n pointAddtionActionPerformed(evt);\n }\n });\n\n pointMultiply.setText(\"Point Multiply\");\n pointMultiply.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseReleased(java.awt.event.MouseEvent evt) {\n pointMultiplyMouseReleased(evt);\n }\n });\n pointMultiply.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n pointMultiplyActionPerformed(evt);\n }\n });\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n this.setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addComponent(keySizeLabel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(31, 31, 31)\n .addComponent(keySizeCombo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(18, 18, 18)\n .addComponent(genCurveKeysButton, javax.swing.GroupLayout.DEFAULT_SIZE, 436, Short.MAX_VALUE))\n .addComponent(privateKeyLabel, javax.swing.GroupLayout.DEFAULT_SIZE, 613, Short.MAX_VALUE)\n .addComponent(jSeparator2, javax.swing.GroupLayout.DEFAULT_SIZE, 613, Short.MAX_VALUE)\n .addComponent(alicePubYLabel)\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(alicePrivLabel)\n .addComponent(alicePubXLabel))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jScrollPane10, javax.swing.GroupLayout.DEFAULT_SIZE, 517, Short.MAX_VALUE)\n .addComponent(jScrollPane9, javax.swing.GroupLayout.DEFAULT_SIZE, 517, Short.MAX_VALUE)\n .addComponent(jScrollPane14, javax.swing.GroupLayout.DEFAULT_SIZE, 517, Short.MAX_VALUE)))\n .addGroup(layout.createSequentialGroup()\n .addComponent(bVariableLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 25, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(jScrollPane4, javax.swing.GroupLayout.DEFAULT_SIZE, 584, Short.MAX_VALUE))\n .addGroup(layout.createSequentialGroup()\n .addComponent(aVariableLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 25, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(jScrollPane2, javax.swing.GroupLayout.DEFAULT_SIZE, 584, Short.MAX_VALUE))\n .addGroup(layout.createSequentialGroup()\n .addComponent(pVariableLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 25, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(jScrollPane7, javax.swing.GroupLayout.DEFAULT_SIZE, 584, Short.MAX_VALUE))\n .addComponent(jSeparator1, javax.swing.GroupLayout.DEFAULT_SIZE, 613, Short.MAX_VALUE)\n .addGroup(layout.createSequentialGroup()\n .addComponent(generatorY2Label)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(jScrollPane6, javax.swing.GroupLayout.DEFAULT_SIZE, 485, Short.MAX_VALUE))\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(generatorY1Label)\n .addComponent(generatorXLabel))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 485, Short.MAX_VALUE)\n .addComponent(jScrollPane3, javax.swing.GroupLayout.DEFAULT_SIZE, 485, Short.MAX_VALUE)))\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(bobPubXLabel)\n .addComponent(bobPrivLabel)\n .addComponent(bobPubYLabel))\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jScrollPane15, javax.swing.GroupLayout.DEFAULT_SIZE, 513, Short.MAX_VALUE)\n .addComponent(jScrollPane12, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 513, Short.MAX_VALUE)\n .addComponent(jScrollPane11, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 513, Short.MAX_VALUE)))\n .addComponent(jSeparator3, javax.swing.GroupLayout.DEFAULT_SIZE, 613, Short.MAX_VALUE)\n .addComponent(enterKeyCurve, javax.swing.GroupLayout.DEFAULT_SIZE, 613, Short.MAX_VALUE))\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(10, 10, 10)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jScrollPane5, javax.swing.GroupLayout.DEFAULT_SIZE, 613, Short.MAX_VALUE)\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addGroup(layout.createSequentialGroup()\n .addComponent(senderLabel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 59, Short.MAX_VALUE)\n .addComponent(senderCombo, javax.swing.GroupLayout.PREFERRED_SIZE, 124, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()\n .addComponent(keySizeLabel1, javax.swing.GroupLayout.DEFAULT_SIZE, 133, Short.MAX_VALUE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(operationCombo, javax.swing.GroupLayout.PREFERRED_SIZE, 124, javax.swing.GroupLayout.PREFERRED_SIZE)))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 129, Short.MAX_VALUE)\n .addComponent(genHashButton, javax.swing.GroupLayout.PREFERRED_SIZE, 217, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addComponent(eccInputLabel, javax.swing.GroupLayout.DEFAULT_SIZE, 379, Short.MAX_VALUE)\n .addGap(234, 234, 234))))\n .addGroup(layout.createSequentialGroup()\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jScrollPane8, javax.swing.GroupLayout.DEFAULT_SIZE, 617, Short.MAX_VALUE)\n .addComponent(eccOutputLabel, javax.swing.GroupLayout.DEFAULT_SIZE, 617, Short.MAX_VALUE)\n .addComponent(eccAction, javax.swing.GroupLayout.DEFAULT_SIZE, 617, Short.MAX_VALUE)))\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(pointAddtion, javax.swing.GroupLayout.PREFERRED_SIZE, 603, javax.swing.GroupLayout.PREFERRED_SIZE)))\n .addGroup(layout.createSequentialGroup()\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(pointMultiply, javax.swing.GroupLayout.PREFERRED_SIZE, 603, javax.swing.GroupLayout.PREFERRED_SIZE)))\n .addContainerGap())\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(0, 628, Short.MAX_VALUE)\n .addComponent(fileChooserFrame, javax.swing.GroupLayout.PREFERRED_SIZE, 0, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(0, 628, Short.MAX_VALUE)))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap(547, Short.MAX_VALUE)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(alicePrivLabel)\n .addComponent(jScrollPane9, javax.swing.GroupLayout.PREFERRED_SIZE, 25, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jScrollPane10, javax.swing.GroupLayout.PREFERRED_SIZE, 25, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(alicePubXLabel)))\n .addGroup(layout.createSequentialGroup()\n .addGap(126, 126, 126)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(operationCombo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(genHashButton))\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(keySizeLabel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(keySizeCombo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(genCurveKeysButton)))\n .addComponent(keySizeLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addGroup(layout.createSequentialGroup()\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(senderCombo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(senderLabel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(eccInputLabel)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(jScrollPane5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(eccAction)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(eccOutputLabel))\n .addGroup(layout.createSequentialGroup()\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(privateKeyLabel)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(pVariableLabel)\n .addComponent(jScrollPane7, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(aVariableLabel)\n .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 25, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(bVariableLabel)\n .addComponent(jScrollPane4, javax.swing.GroupLayout.PREFERRED_SIZE, 25, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(generatorXLabel)\n .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 25, javax.swing.GroupLayout.PREFERRED_SIZE))))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(generatorY1Label)\n .addComponent(jScrollPane3, javax.swing.GroupLayout.PREFERRED_SIZE, 25, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(generatorY2Label)\n .addComponent(jScrollPane6, javax.swing.GroupLayout.PREFERRED_SIZE, 25, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(jSeparator1, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(62, 62, 62))\n .addComponent(jScrollPane8, javax.swing.GroupLayout.PREFERRED_SIZE, 131, javax.swing.GroupLayout.PREFERRED_SIZE))))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(alicePubYLabel)\n .addGroup(layout.createSequentialGroup()\n .addComponent(jScrollPane14, javax.swing.GroupLayout.PREFERRED_SIZE, 25, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addComponent(pointAddtion, javax.swing.GroupLayout.PREFERRED_SIZE, 24, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(pointMultiply, javax.swing.GroupLayout.PREFERRED_SIZE, 24, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(layout.createSequentialGroup()\n .addComponent(jSeparator2, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addComponent(jScrollPane11, javax.swing.GroupLayout.PREFERRED_SIZE, 25, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(bobPubXLabel)\n .addComponent(jScrollPane12, javax.swing.GroupLayout.PREFERRED_SIZE, 25, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jScrollPane15, javax.swing.GroupLayout.PREFERRED_SIZE, 25, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(bobPubYLabel)))\n .addComponent(bobPrivLabel))))))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(jSeparator3, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(enterKeyCurve, javax.swing.GroupLayout.PREFERRED_SIZE, 24, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addContainerGap())\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(0, 668, Short.MAX_VALUE)\n .addComponent(fileChooserFrame, javax.swing.GroupLayout.PREFERRED_SIZE, 0, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(0, 132, Short.MAX_VALUE)))\n );\n\n keySizeLabel.getAccessibleContext().setAccessibleName(\"selectKeySize\");\n keySizeLabel1.getAccessibleContext().setAccessibleName(\"RSAOperation\");\n }",
"public void keyReleased(KeyEvent event)\n {\n JPasswordField source = (JPasswordField) event.getSource();\n if (currentPasswdField.equals(source))\n {\n String password = new String(currentPasswdField.getPassword());\n okButton.setEnabled(password.length() > 0);\n password = null;\n }\n }",
"@Override\r\n public void keyReleased(KeyEvent e) {\r\n \r\n }",
"public void keyReleased(KeyEvent e){}",
"public static Key generarKey() throws Exception{\n Key key = new SecretKeySpec(keyvalue, instancia); \n return key;\n }",
"@Override\r\n public void keyReleased(KeyEvent e) {\r\n switchKey(e.getKeyCode(), false);\r\n }",
"@Override\n\tpublic void keyReleased(int k) {\n\n\t}",
"public void keyReleased(KeyEvent e) \r\n {\r\n \tkeyUser = 0;\r\n }",
"@Override\r\n\t\tpublic void keyReleased(KeyEvent e) {\n\t\t\t\r\n\t\t}",
"@Override\r\n\tpublic void keyReleased(KeyEvent e) {\n\r\n\t}",
"@Override\r\n\tpublic void keyReleased(KeyEvent e) {\n\r\n\t}",
"@Override\r\n\tpublic void keyReleased(KeyEvent e) {\n\r\n\t}",
"@Override\r\n\tpublic void keyReleased(KeyEvent e) {\n\r\n\t}",
"@Override\r\n\tpublic void keyReleased(KeyEvent e) {\n\r\n\t}",
"@Override\r\n\t\t\tpublic void keyReleased(KeyEvent e) {\n\r\n\t\t\t}",
"@Override\n public void keyReleased(KeyEvent event) {\n }",
"@Override\n\t\t\tpublic void keyReleased(KeyEvent e) {\n\t\t\t}",
"@Override\n\t\t\tpublic void keyReleased(KeyEvent e) {\n\n\t\t\t}",
"@Override\n\t\t\tpublic void keyReleased(KeyEvent e) {\n\n\t\t\t}",
"@Override\n\t\t\tpublic void keyReleased(KeyEvent e) {\n\n\t\t\t}"
] | [
"0.55648607",
"0.54978997",
"0.54532075",
"0.5422671",
"0.5324815",
"0.5291592",
"0.5260018",
"0.51758045",
"0.51567644",
"0.51013184",
"0.5081732",
"0.50536174",
"0.5046639",
"0.5029936",
"0.5018819",
"0.49804163",
"0.49776682",
"0.4970498",
"0.4951283",
"0.49379897",
"0.49350086",
"0.4933788",
"0.4928443",
"0.4928241",
"0.4920066",
"0.4915808",
"0.49126592",
"0.49125454",
"0.49022853",
"0.48949316",
"0.48852712",
"0.48786405",
"0.48749402",
"0.48703805",
"0.48688325",
"0.48602816",
"0.48505324",
"0.48486045",
"0.4842395",
"0.48177707",
"0.4813424",
"0.4804405",
"0.48021767",
"0.47979137",
"0.47949728",
"0.47949728",
"0.47949728",
"0.47949728",
"0.47949728",
"0.47949728",
"0.47943938",
"0.47683734",
"0.4766",
"0.47655872",
"0.4760895",
"0.4760586",
"0.47560886",
"0.47524372",
"0.4748672",
"0.47482964",
"0.4747081",
"0.4747081",
"0.4747081",
"0.47403467",
"0.47346395",
"0.47264954",
"0.4724505",
"0.4724197",
"0.47222048",
"0.47137928",
"0.4708406",
"0.4708406",
"0.4708406",
"0.4708406",
"0.4708406",
"0.470638",
"0.47005627",
"0.46989813",
"0.4697505",
"0.46973646",
"0.4693012",
"0.46917933",
"0.4690537",
"0.4689492",
"0.46876377",
"0.46868792",
"0.4686196",
"0.46818155",
"0.46804097",
"0.46785918",
"0.46785918",
"0.46785918",
"0.46785918",
"0.46785918",
"0.4675742",
"0.46749762",
"0.46747464",
"0.4674145",
"0.4674145",
"0.4674145"
] | 0.62594354 | 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() {
jLabel1 = new javax.swing.JLabel();
jLabel2 = new javax.swing.JLabel();
jTextField1 = new javax.swing.JTextField();
jLabel3 = new javax.swing.JLabel();
jTextField2 = new javax.swing.JTextField();
jLabel4 = new javax.swing.JLabel();
jLabel1.setText("jLabel1");
setClosable(true);
setIconifiable(true);
setMaximizable(true);
setResizable(true);
setTitle("Key Released");
jLabel2.setFont(new java.awt.Font("Tahoma", 0, 18)); // NOI18N
jLabel2.setText("Key Released");
jTextField1.addKeyListener(new java.awt.event.KeyAdapter() {
public void keyReleased(java.awt.event.KeyEvent evt) {
jTextField1KeyReleased(evt);
}
});
jLabel3.setText("Masukan Kata 1 : ");
jTextField2.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jTextField2ActionPerformed(evt);
}
});
jTextField2.addKeyListener(new java.awt.event.KeyAdapter() {
public void keyReleased(java.awt.event.KeyEvent evt) {
jTextField2KeyReleased(evt);
}
});
jLabel4.setText("Masukan Kata 2 :");
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
getContentPane().setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addGap(23, 23, 23)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
.addComponent(jLabel3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jLabel4, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
.addGap(50, 50, 50)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
.addComponent(jTextField1)
.addComponent(jLabel2)
.addComponent(jTextField2, javax.swing.GroupLayout.DEFAULT_SIZE, 118, Short.MAX_VALUE))
.addContainerGap(140, Short.MAX_VALUE))
);
layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addContainerGap()
.addComponent(jLabel2)
.addGap(36, 36, 36)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel3))
.addGap(18, 18, 18)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jTextField2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel4))
.addContainerGap(151, Short.MAX_VALUE))
);
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 initComponents();\n }",
"public AdjointForm() {\n initComponents();\n setDefaultCloseOperation(HIDE_ON_CLOSE);\n }",
"public FormListRemarking() {\n initComponents();\n }",
"public MainForm() {\n initComponents();\n \n }",
"public FormPemilihan() {\n initComponents();\n }",
"public GUIForm() { \n initComponents();\n }",
"public FrameForm() {\n initComponents();\n }",
"public TorneoForm() {\n initComponents();\n }",
"public FormCompra() {\n initComponents();\n }",
"public muveletek() {\n initComponents();\n }",
"public Interfax_D() {\n initComponents();\n }",
"public quanlixe_form() {\n initComponents();\n }",
"public SettingsForm() {\n initComponents();\n }",
"public RegistrationForm() {\n initComponents();\n this.setLocationRelativeTo(null);\n }",
"public Soru1() {\n initComponents();\n }",
"public FMainForm() {\n initComponents();\n this.setResizable(false);\n setLocationRelativeTo(null);\n }",
"public soal2GUI() {\n initComponents();\n }",
"public EindopdrachtGUI() {\n initComponents();\n }",
"public MechanicForm() {\n initComponents();\n }",
"public AddDocumentLineForm(java.awt.Frame parent) {\n super(parent);\n initComponents();\n myInit();\n }",
"public BloodDonationGUI() {\n initComponents();\n }",
"public quotaGUI() {\n initComponents();\n }",
"public Customer_Form() {\n initComponents();\n setSize(890,740);\n \n \n }",
"public PatientUI() {\n initComponents();\n }",
"public Oddeven() {\n initComponents();\n }",
"public myForm() {\n\t\t\tinitComponents();\n\t\t}",
"public intrebarea() {\n initComponents();\n }",
"public Magasin() {\n initComponents();\n }",
"public RadioUI()\n {\n initComponents();\n }",
"public NewCustomerGUI() {\n initComponents();\n }",
"public ZobrazUdalost() {\n initComponents();\n }",
"public FormUtama() {\n initComponents();\n }",
"public p0() {\n initComponents();\n }",
"public INFORMACION() {\n initComponents();\n this.setLocationRelativeTo(null); \n }",
"public ProgramForm() {\n setLookAndFeel();\n initComponents();\n }",
"public AmountReleasedCommentsForm() {\r\n initComponents();\r\n }",
"public form2() {\n initComponents();\n }",
"public MainForm() {\n\t\tsuper(\"Hospital\", List.IMPLICIT);\n\n\t\tstartComponents();\n\t}",
"public LixeiraForm() {\n initComponents();\n setLocationRelativeTo(null);\n }",
"public kunde() {\n initComponents();\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n setName(\"Form\"); // NOI18N\n setRequestFocusEnabled(false);\n setVerifyInputWhenFocusTarget(false);\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n this.setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 465, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 357, Short.MAX_VALUE)\n );\n }",
"public MusteriEkle() {\n initComponents();\n }",
"public frmMain() {\n initComponents();\n }",
"public frmMain() {\n initComponents();\n }",
"public DESHBORDPANAL() {\n initComponents();\n }",
"public frmVenda() {\n initComponents();\n }",
"public GUIForm() {\n initComponents();\n inputField.setText(NO_FILE_SELECTED);\n outputField.setText(NO_FILE_SELECTED);\n progressLabel.setBackground(INFO);\n progressLabel.setText(SELECT_FILE);\n }",
"public FrmMenu() {\n initComponents();\n }",
"public Botonera() {\n initComponents();\n }",
"public OffertoryGUI() {\n initComponents();\n setTypes();\n }",
"public JFFornecedores() {\n initComponents();\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents()\n {\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n setBackground(new java.awt.Color(255, 255, 255));\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 983, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 769, Short.MAX_VALUE)\n );\n\n pack();\n }",
"public EnterDetailsGUI() {\n initComponents();\n }",
"public vpemesanan1() {\n initComponents();\n }",
"public FormHorarioSSE() {\n initComponents();\n }",
"public Kost() {\n initComponents();\n }",
"public UploadForm() {\n initComponents();\n }",
"public frmacceso() {\n initComponents();\n }",
"public HW3() {\n initComponents();\n }",
"public Managing_Staff_Main_Form() {\n initComponents();\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents()\n {\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n getContentPane().setLayout(null);\n\n pack();\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n setName(\"Form\"); // NOI18N\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n this.setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 400, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 300, Short.MAX_VALUE)\n );\n }",
"public sinavlar2() {\n initComponents();\n }",
"public P0405() {\n initComponents();\n }",
"public MiFrame2() {\n initComponents();\n }",
"public IssueBookForm() {\n initComponents();\n }",
"public Choose1() {\n initComponents();\n }",
"public MainForm() {\n initComponents();\n\n String oldAuthor = prefs.get(\"AUTHOR\", \"\");\n if(oldAuthor != null) {\n this.authorTextField.setText(oldAuthor);\n }\n String oldBook = prefs.get(\"BOOK\", \"\");\n if(oldBook != null) {\n this.bookTextField.setText(oldBook);\n }\n String oldDisc = prefs.get(\"DISC\", \"\");\n if(oldDisc != null) {\n try {\n int oldDiscNum = Integer.parseInt(oldDisc);\n oldDiscNum++;\n this.discNumberTextField.setText(Integer.toString(oldDiscNum));\n } catch (Exception ex) {\n this.discNumberTextField.setText(oldDisc);\n }\n this.bookTextField.setText(oldBook);\n }\n\n\n }",
"public GUI_StudentInfo() {\n initComponents();\n }",
"public JFrmPrincipal() {\n initComponents();\n }",
"public Lihat_Dokter_Keseluruhan() {\n initComponents();\n }",
"public bt526() {\n initComponents();\n }",
"public Pemilihan_Dokter() {\n initComponents();\n }",
"public Ablak() {\n initComponents();\n }",
"@Override\n\tprotected void initUi() {\n\t\t\n\t}",
"@SuppressWarnings(\"unchecked\")\n\t// <editor-fold defaultstate=\"collapsed\" desc=\"Generated\n\t// Code\">//GEN-BEGIN:initComponents\n\tprivate void initComponents() {\n\n\t\tlabel1 = new java.awt.Label();\n\t\tlabel2 = new java.awt.Label();\n\t\tlabel3 = new java.awt.Label();\n\t\tlabel4 = new java.awt.Label();\n\t\tlabel5 = new java.awt.Label();\n\t\tlabel6 = new java.awt.Label();\n\t\tlabel7 = new java.awt.Label();\n\t\tlabel8 = new java.awt.Label();\n\t\tlabel9 = new java.awt.Label();\n\t\tlabel10 = new java.awt.Label();\n\t\ttextField1 = new java.awt.TextField();\n\t\ttextField2 = new java.awt.TextField();\n\t\tlabel14 = new java.awt.Label();\n\t\tlabel15 = new java.awt.Label();\n\t\tlabel16 = new java.awt.Label();\n\t\ttextField3 = new java.awt.TextField();\n\t\ttextField4 = new java.awt.TextField();\n\t\ttextField5 = new java.awt.TextField();\n\t\tlabel17 = new java.awt.Label();\n\t\tlabel18 = new java.awt.Label();\n\t\tlabel19 = new java.awt.Label();\n\t\tlabel20 = new java.awt.Label();\n\t\tlabel21 = new java.awt.Label();\n\t\tlabel22 = new java.awt.Label();\n\t\ttextField6 = new java.awt.TextField();\n\t\ttextField7 = new java.awt.TextField();\n\t\ttextField8 = new java.awt.TextField();\n\t\tlabel23 = new java.awt.Label();\n\t\ttextField9 = new java.awt.TextField();\n\t\ttextField10 = new java.awt.TextField();\n\t\ttextField11 = new java.awt.TextField();\n\t\ttextField12 = new java.awt.TextField();\n\t\tlabel24 = new java.awt.Label();\n\t\tlabel25 = new java.awt.Label();\n\t\tlabel26 = new java.awt.Label();\n\t\tlabel27 = new java.awt.Label();\n\t\tlabel28 = new java.awt.Label();\n\t\tlabel30 = new java.awt.Label();\n\t\tlabel31 = new java.awt.Label();\n\t\tlabel32 = new java.awt.Label();\n\t\tjButton1 = new javax.swing.JButton();\n\n\t\tlabel1.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 18)); // NOI18N\n\t\tlabel1.setText(\"It seems that some of the buttons on the ATM machine are not working!\");\n\n\t\tlabel2.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 18)); // NOI18N\n\t\tlabel2.setText(\"Unfortunately these numbers are exactly what Professor has to use to type in his password.\");\n\n\t\tlabel3.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 18)); // NOI18N\n\t\tlabel3.setText(\n\t\t\t\t\"If you want to eat tonight, you have to help him out and construct the numbers of the password with the working buttons and math operators.\");\n\n\t\tlabel4.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 14)); // NOI18N\n\t\tlabel4.setText(\"Denver's Password: 2792\");\n\n\t\tlabel5.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel5.setText(\"import java.util.Scanner;\\n\");\n\n\t\tlabel6.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel6.setText(\"public class ATM{\");\n\n\t\tlabel7.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel7.setText(\"public static void main(String[] args){\");\n\n\t\tlabel8.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel8.setText(\"System.out.print(\");\n\n\t\tlabel9.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel9.setText(\" -\");\n\n\t\tlabel10.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel10.setText(\");\");\n\n\t\ttextField1.addActionListener(new java.awt.event.ActionListener() {\n\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent evt) {\n\t\t\t\ttextField1ActionPerformed(evt);\n\t\t\t}\n\t\t});\n\n\t\tlabel14.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel14.setText(\"System.out.print( (\");\n\n\t\tlabel15.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel15.setText(\"System.out.print(\");\n\n\t\tlabel16.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel16.setText(\"System.out.print( ( (\");\n\n\t\tlabel17.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel17.setText(\")\");\n\n\t\tlabel18.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel18.setText(\" +\");\n\n\t\tlabel19.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel19.setText(\");\");\n\n\t\tlabel20.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel20.setText(\" /\");\n\n\t\tlabel21.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel21.setText(\" %\");\n\n\t\tlabel22.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel22.setText(\" +\");\n\n\t\tlabel23.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel23.setText(\");\");\n\n\t\tlabel24.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel24.setText(\" +\");\n\n\t\tlabel25.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel25.setText(\" /\");\n\n\t\tlabel26.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel26.setText(\" *\");\n\n\t\tlabel27.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));\n\t\tlabel27.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel27.setText(\")\");\n\n\t\tlabel28.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel28.setText(\")\");\n\n\t\tlabel30.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel30.setText(\"}\");\n\n\t\tlabel31.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel31.setText(\"}\");\n\n\t\tlabel32.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel32.setText(\");\");\n\n\t\tjButton1.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 14)); // NOI18N\n\t\tjButton1.setText(\"Check\");\n\t\tjButton1.addActionListener(new java.awt.event.ActionListener() {\n\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent evt) {\n\t\t\t\tjButton1ActionPerformed(evt);\n\t\t\t}\n\t\t});\n\n\t\tjavax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n\t\tlayout.setHorizontalGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(28).addGroup(layout\n\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING).addComponent(getDoneButton()).addComponent(jButton1)\n\t\t\t\t\t\t.addComponent(label7, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addComponent(label6, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addComponent(label5, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addComponent(label4, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addComponent(label3, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t.addComponent(label1, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t.addGap(1)\n\t\t\t\t\t\t\t\t.addComponent(label2, GroupLayout.PREFERRED_SIZE, 774, GroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t.addGap(92).addGroup(layout.createParallelGroup(Alignment.LEADING).addGroup(layout\n\t\t\t\t\t\t\t\t\t\t.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING, false)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label15, GroupLayout.PREFERRED_SIZE, 145,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField8, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(2)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label21, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField7, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label8, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField1, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label9, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED).addComponent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttextField2, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label31, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label14, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(37))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(174)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField5, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t20, GroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label18, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(7)))\n\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING).addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING, false).addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField4, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t20, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label17, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label22, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField9, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t20, GroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGap(20)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label23, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label20, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField3, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t20, GroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGap(20).addComponent(label19, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(23).addComponent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tlabel10, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))))\n\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label16, GroupLayout.PREFERRED_SIZE, 177,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField12, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label24, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField6, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label27, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label25, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField11, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label28, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGap(1)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label26, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField10, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED).addComponent(label32,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))))\n\t\t\t\t\t\t.addComponent(label30, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t.addContainerGap(GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));\n\t\tlayout.setVerticalGroup(\n\t\t\t\tlayout.createParallelGroup(Alignment.LEADING).addGroup(layout.createSequentialGroup().addContainerGap()\n\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t.addComponent(label1, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t.addComponent(label2, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t.addGap(1)\n\t\t\t\t\t\t.addComponent(label3, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(label4, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(label5, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(label6, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(label7, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t.addGroup(\n\t\t\t\t\t\t\t\t\t\tlayout.createSequentialGroup().addGroup(layout.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createSequentialGroup().addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING).addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label9,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label8,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField1,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttextField2, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label10,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(3)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(19)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField5,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label14,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label18,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label17,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField4,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(1))))\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label20, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label19, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField3, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(78)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label27, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(76)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField11, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(75)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label32,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField10,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tShort.MAX_VALUE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING, false)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label15,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField8,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label21,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField7,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(27))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField9,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAlignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label22,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlayout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(3)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlabel23,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(29)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label16,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField12,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label24,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField6,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(1))))))\n\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t.addComponent(label25, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t.addComponent(label28, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t.addComponent(label26, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t.addGap(30)\n\t\t\t\t\t\t.addComponent(label31, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addGap(25)\n\t\t\t\t\t\t.addComponent(label30, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addGap(26).addComponent(jButton1).addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(getDoneButton()).addContainerGap(23, Short.MAX_VALUE)));\n\t\tthis.setLayout(layout);\n\n\t\tlabel16.getAccessibleContext().setAccessibleName(\"System.out.print( ( (\");\n\t\tlabel17.getAccessibleContext().setAccessibleName(\"\");\n\t\tlabel18.getAccessibleContext().setAccessibleName(\" +\");\n\t}",
"public Pregunta23() {\n initComponents();\n }",
"public FormMenuUser() {\n super(\"Form Menu User\");\n initComponents();\n }",
"public AvtekOkno() {\n initComponents();\n }",
"public busdet() {\n initComponents();\n }",
"public ViewPrescriptionForm() {\n initComponents();\n }",
"public Ventaform() {\n initComponents();\n }",
"public Kuis2() {\n initComponents();\n }",
"public POS1() {\n initComponents();\n }",
"public CreateAccount_GUI() {\n initComponents();\n }",
"public Carrera() {\n initComponents();\n }",
"public EqGUI() {\n initComponents();\n }",
"public JFriau() {\n initComponents();\n this.setLocationRelativeTo(null);\n this.setTitle(\"BuNus - Budaya Nusantara\");\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n setBackground(new java.awt.Color(204, 204, 204));\n setMinimumSize(new java.awt.Dimension(1, 1));\n setPreferredSize(new java.awt.Dimension(760, 402));\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n this.setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 750, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 400, Short.MAX_VALUE)\n );\n }",
"public nokno() {\n initComponents();\n }",
"public dokter() {\n initComponents();\n }",
"public ConverterGUI() {\n initComponents();\n }",
"public hitungan() {\n initComponents();\n }",
"public Modify() {\n initComponents();\n }",
"public frmAddIncidencias() {\n initComponents();\n }",
"public FP_Calculator_GUI() {\n initComponents();\n \n setVisible(true);\n }"
] | [
"0.73200226",
"0.7291205",
"0.7291205",
"0.7291205",
"0.7286934",
"0.72486174",
"0.72148067",
"0.7208562",
"0.7196016",
"0.7190541",
"0.71850747",
"0.71595925",
"0.71484745",
"0.7093441",
"0.708049",
"0.70576906",
"0.6987498",
"0.6977434",
"0.69557697",
"0.6954114",
"0.69463736",
"0.69432336",
"0.6935982",
"0.6932067",
"0.69294006",
"0.6925068",
"0.69241905",
"0.69122374",
"0.69116175",
"0.689272",
"0.68923753",
"0.68911856",
"0.68911785",
"0.6889383",
"0.6883104",
"0.6882112",
"0.6881066",
"0.68791443",
"0.6876986",
"0.68742603",
"0.6872269",
"0.6860655",
"0.6857326",
"0.68560773",
"0.68556136",
"0.68552834",
"0.6853771",
"0.68527913",
"0.68527913",
"0.68449986",
"0.68374735",
"0.6837303",
"0.68292284",
"0.68291926",
"0.68263316",
"0.68245447",
"0.6824226",
"0.6817715",
"0.6816996",
"0.68106586",
"0.6810103",
"0.6809513",
"0.6808559",
"0.6808408",
"0.6802585",
"0.67959464",
"0.67944944",
"0.67928296",
"0.67914546",
"0.67901224",
"0.67896134",
"0.67883486",
"0.67817384",
"0.6766481",
"0.6766018",
"0.676571",
"0.6756985",
"0.67556614",
"0.675249",
"0.67502266",
"0.6743099",
"0.6739551",
"0.67379254",
"0.6736453",
"0.67339987",
"0.6728092",
"0.67274475",
"0.6720717",
"0.6715939",
"0.6715854",
"0.6714594",
"0.670914",
"0.6707494",
"0.670563",
"0.67009556",
"0.6700291",
"0.66993314",
"0.6698221",
"0.66939473",
"0.66917986",
"0.66896147"
] | 0.0 | -1 |
Vytvori prekladiste danych parametru. Nastavi pocet sudu na defaultni hodnotu. | public Prekladiste(int id, UzelTyp typ, int x, int y, Simulator sim)
{
super(id, typ, x, y, sim);
sklad = PRIPRAVENE_SUDY;
this.vozy = new LinkedList<Auto>();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n protected void elaboraParametri() {\n super.elaboraParametri();\n titoloPagina = TITOLO_PAGINA;\n }",
"@Override\n\t\tpublic String getParameter(String name) {\n\t\t\treturn null;\n\t\t}",
"@Override\n\tpublic String getParameter(String name) {\n\t\treturn null;\n\t}",
"public void setParametersToDefaultValues()\n/* 65: */ {\n/* 66:104 */ super.setParametersToDefaultValues();\n/* 67:105 */ this.placeholder = _placeholder_DefaultValue_xjal();\n/* 68: */ }",
"java.lang.String getParameterValue();",
"public void setParametr(double p) {\n parametr = p; // додано 26.12.2011\n timeServ = parametr; // 20.11.2012\n\n }",
"@Override\n\tprotected void setParameterValues() {\n\t}",
"public Final_parametre() {\r\n\t}",
"public void remplireListeParam(){\r\n bddParam.add(\"id\");\r\n bddParam.add(\"site\");\r\n bddParam.add(\"smtp_serv\");\r\n bddParam.add(\"smtp_port\");\r\n bddParam.add(\"smtp_user\");\r\n bddParam.add(\"smtp_mail\");\r\n bddParam.add(\"smtp_pass\");\r\n bddParam.add(\"mail_envoie\");\r\n bddParam.add(\"licence\");\r\n bddParam.add(\"pop_up\");\r\n bddParam.add(\"mail_rapport\");\r\n bddParam.add(\"archives\");\r\n bddParam.add(\"mail\");\r\n bddParam.add(\"dbext_adress\");\r\n bddParam.add(\"dbext_port\");\r\n bddParam.add(\"dbext_user\");\r\n bddParam.add(\"dbext_pass\");\r\n bddParam.add(\"dbext_delais\");\r\n bddParam.add(\"dbext_name\");\r\n bddParam.add(\"dbext\");\r\n bddParam.add(\"dbext_purge\");\r\n bddParam.add(\"dbext_perte\");\r\n bddParam.add(\"langue\");\r\n \r\n }",
"public void setValues(RutaParams params){\n this.costo = params.costo;\n this.tiempoVuelo = params.tiempoVuelo;\n this.piloto =encriptar(params.piloto);\n }",
"@Override\n\tpublic String[] getParameterValues(String arg0) {\n\t\treturn null;\n\t}",
"@Override\n protected Map<String, String> getParams() {\n Map<String, String> params = new HashMap<String, String>();\n params.put(\"nosambungan\", nosambungan);\n return params;\n }",
"public void setDefaultParameters(){\n clearParametersVector();\n addParameter( new LoadFilePG(\"Vanadium NeXus File Name\",\"\"));\n addParameter( new LoadFilePG(\"Background NeXus File Name\",\"\"));\n addParameter( new LoadFilePG(\"Integrated Peaks File\",\"\"));\n addParameter( new SaveFilePG(\"Adjusted Integrate File\",\"\"));\n addParameter( new FloatPG(\"Min Time-of-Flight to Sum\",0.0));\n addParameter( new FloatPG(\"Max Time-of-Flight to Sum\",48000));\n addParameter( new IntegerPG(\"Zero Pixel Border Size\",8));\n addParameter( new IntegerPG(\"Region Half-Width\",5));\n }",
"public void updateEditParameter(){\r\n \tMap<String,String> params = FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap();\r\n\t\tint paramId = Integer.parseInt(params.get(\"parameterId\"));\r\n\t\tthis.getLog().info(\"parameterId:\" + paramId);\r\n\t\t\r\n\t\tif(paramId == 0){\r\n\t\t\teditParameter = new AdditionalParametersDTO();\r\n\t\t}else{\r\n\t\t\tfor (AdditionalParametersDTO p : this.getParameterList()) {\r\n\t\t\t\tif(p.getId() == paramId){\r\n\t\t\t\t\teditParameter = p;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t}\t\r\n\t\t}\r\n\t}",
"@Override public String getParamDefault(final String param) {\n final String common = getDrbdInfo().getParamSaved(param);\n if (common != null) {\n return common;\n }\n return getBrowser().getDrbdXML().getParamDefault(param);\n }",
"@Override\n protected Map<String, String> getParams() {\n Map<String, String> params = new HashMap<String, String>();\n\n // Adding All values to Params.\n params.put(\"huruf\", huruf);\n params.put(\"derajat_lengan_x\", drajatX);\n params.put(\"derajat lengan_y\", drajatY);\n params.put(\"gambar\", gambar);\n\n return params;\n }",
"public void setDefaultParameters(){\n clearParametersVector();\n addParameter( new DataSetPG(\"Data Set\",DataSetTools.dataset.DataSet.EMPTY_DATA_SET));\n addParameter( new IntegerPG(\"Detector ID\",1));\n addParameter( new IntegerPG(\"Min Time Channel\",1));\n addParameter( new IntegerPG(\"Max Time Channel\",1000));\n addParameter( new IntegerPG(\"Max num Peaks\",30));\n addParameter( new IntegerPG(\"min Peak intensity\",0));\n addParameter( new StringPG(\"Pixel rows to keep\",\"1:100\"));\n addParameter( new StringPG(\"Pixel cols to keep\",\"1:100\"));\n }",
"@Override\n\t\tpublic String[] getParameterValues(String name) {\n\t\t\treturn null;\n\t\t}",
"public void param(int direccionValorParam, int numeroParam){\n String valorParam = \"\";\n //traduce casos de direccionamiento indirecto\n direccionValorParam = traduceDirIndirecto(direccionValorParam);\n // obtener la direccion de la variable parametrizada en el procedimiento llamado\n int dirParamRegistro = this.directorioProcedimientos.\n obtenerProcedimientoPorId(this.pilaEras.peek().\n getIdentificadorProcedimiento()).getDireccionParametros().get(numeroParam);\n\n if (ManejadorMemoria.isGlobal(direccionValorParam)){\n // obtener el valor del parametro enviado\n valorParam = this.registroGlobal.getValor(direccionValorParam);\n\n } else if (ManejadorMemoria.isConstante(direccionValorParam)){\n // REVISAR QUE NO SEA UN PARAMETRO POR REFERENCIA\n if (this.directorioProcedimientos.\n obtenerProcedimientoPorId(this.pilaEras.peek().\n getIdentificadorProcedimiento()).getIndicadorPorReferencia().get(numeroParam)){\n // ERROR\n throw new IllegalArgumentException();\n }\n // obtener el valor del parametro enviado\n valorParam = this.directorioProcedimientos.getConstantes().get(direccionValorParam).getValorConstante();\n\n } else { // VARIABLE LOCAL\n // obtener el valor del parametro enviado\n valorParam = this.pilaRegistros.peek().getValor(direccionValorParam);\n }\n // asignar el valor del parametro a su variable correspondiente\n this.pilaEras.peek().guardaValor(dirParamRegistro, valorParam);\n }",
"@Override\n protected Map<String, String> getParams() {\n Map<String, String> params = new HashMap<String, String>();\n params.put(\"id_pelanggan\", id_pelanggan);\n params.put(\"isi_pengaduan\", isi);\n return params;\n }",
"public String getParameter(String pname, String defaultValue) {\n\t\tString value = parameters.get(pname);\n\t\tif (value == null) {\n\t\t\treturn defaultValue;\n\t\t}\n\t\treturn value;\n\t}",
"public void SetDefaultParams() {\n OCCwrapJavaJNI.BRepAlgo_NormalProjection_SetDefaultParams(swigCPtr, this);\n }",
"@Override\n\tprotected void initParams() {\n\t\t\n\t}",
"@Override\n protected Map<String, String> getParams() {\n Map<String, String> params = new HashMap<String, String>();\n // jika id kosong maka simpan, jika id ada nilainya maka update\n params.put(\"nama\", Nama);\n params.put(\"email\", Email);\n params.put(\"keluhan\", Keluhan);\n return params;\n }",
"@Override\r\n\tpublic String getParameter(BaseCommandPo po) {\n\t\tif(\"\".equals(vMID)){\r\n\t\t\tthrow new ServiceException(\"缺少必填参数:id\");\r\n\t\t}\r\n\t\treturn super.fromPoToJsonStr(po);\r\n\t}",
"public void setParam0(java.lang.String param){\n \n if (param != null){\n //update the setting tracker\n localParam0Tracker = true;\n } else {\n localParam0Tracker = true;\n \n }\n \n this.localParam0=param;\n \n\n }",
"public void setParam0(java.lang.String param){\n \n if (param != null){\n //update the setting tracker\n localParam0Tracker = true;\n } else {\n localParam0Tracker = true;\n \n }\n \n this.localParam0=param;\n \n\n }",
"public void setParam0(java.lang.String param){\n \n if (param != null){\n //update the setting tracker\n localParam0Tracker = true;\n } else {\n localParam0Tracker = true;\n \n }\n \n this.localParam0=param;\n \n\n }",
"public void setParam0(java.lang.String param){\n \n if (param != null){\n //update the setting tracker\n localParam0Tracker = true;\n } else {\n localParam0Tracker = true;\n \n }\n \n this.localParam0=param;\n \n\n }",
"public void setDefaultParameters() {\n\tsetParameterValue(\"genie.param.x\",\"genie.dfwx\");\n\tsetParameterValue(\"genie.param.x.begin\",\"-0.3\");\n\tsetParameterValue(\"genie.param.x.increment\",\"0.6\");\n\tsetParameterValue(\"genie.param.x.increment.type\",\"linear\");\n\tsetParameterValue(\"genie.param.x.end\",\"0.3\");\n\tsetParameterValue(\"genie.param.y\",\"genie.dfwy\");\n\tsetParameterValue(\"genie.param.y.begin\",\"-0.3\");\n\tsetParameterValue(\"genie.param.y.increment\",\"0.6\");\n\tsetParameterValue(\"genie.param.y.increment.type\",\"linear\");\n\tsetParameterValue(\"genie.param.y.end\",\"0.3\");\n\tsetParameterValue(\"genie.nsteps\",\"1001\");\n\tsetParameterValue(\"genie.npstp\",\"1000\");\n\tsetParameterValue(\"genie.iwstp\",\"1000\");\n\tsetParameterValue(\"genie.itstp\",\"10\");\n\tsetParameterValue(\"genie.restart\",\"n\");\n\tsetParameterValue(\"genie.tv\",\"3.65\");\n\tsetParameterValue(\"genie.ndta\",\"5\");\n\tsetParameterValue(\"genie.temp0\",\"5.0\");\n\tsetParameterValue(\"genie.temp1\",\"5.0\");\n\tsetParameterValue(\"genie.rel\",\"0.9\");\n\tsetParameterValue(\"genie.scf\",\"2.0\");\n\tsetParameterValue(\"genie.diff1\",\"2000.0\");\n\tsetParameterValue(\"genie.diff2\",\"1e-5\");\n\tsetParameterValue(\"genie.adrag\",\"2.5\");\n\tsetParameterValue(\"genie.diffamp1\",\"8111000\");\n\tsetParameterValue(\"genie.diffamp2\",\"79610\");\n\tsetParameterValue(\"genie.betaz1\",\"0.1111\");\n\tsetParameterValue(\"genie.betam1\",\"0.0\");\n\tsetParameterValue(\"genie.betaz2\",\"0.2626\");\n\tsetParameterValue(\"genie.betam2\",\"0.2626\");\n\tsetParameterValue(\"genie.scl_co2\",\"1.0\");\n\tsetParameterValue(\"genie.pc_co2_rise\",\"0.0\");\n\tsetParameterValue(\"genie.diffsic\",\"2000.0\");\n\tsetParameterValue(\"genie.tatm\",\"0.0\");\n\tsetParameterValue(\"genie.relh0_ocean\",\"0.0\");\n\tsetParameterValue(\"genie.relh0_land\",\"0.0\");\n\tsetParameterValue(\"genie.dfwx\",\"0.0\");\n\tsetParameterValue(\"genie.dfwy\",\"0.0\");\n\tsetParameterValue(\"genie.lout\",\"0000\");\n\tsetParameterValue(\"genie.lin\",\"0000.1\");\n }",
"@Override\r\n public void setParameter(String parameters) {\r\n // dummy\r\n }",
"public void setOrigen(java.lang.String param){\n \n this.localOrigen=param;\n \n\n }",
"public void setMontoDescuento(double param){\n \n this.localMontoDescuento=param;\n \n\n }",
"@Override\n\tpublic String[] getParameterValues(String name) {\n\t\treturn null;\n\t}",
"public void editPAParameters() {\r\n \t\tdialogFactory.getDialog(new ParametricAnalysisPanel(model, model, model, this), \"Define What-if analysis parameters\");\r\n \t}",
"public abstract String toFORMParam();",
"public Tipo visitParameter(DECAFParser.ParameterContext ctx){\r\n\t\tVarDec var =new VarDec(ctx.ID().getText(),tablaSimbolos.searchTipo(ctx.parameterType().getText()),0,position);\r\n\t\tfirmaA.addParam(var);\r\n\t\taddComment(\"paramname: \"+var.getNombre()+\"-position: \"+position);\r\n\t\tposition+=var.getByteSize();\r\n\t\treturn tablaSimbolos.correct();\r\n\t}",
"public void setMontoSolicitado(double param){\n \n this.localMontoSolicitado=param;\n \n\n }",
"public void setParametroVarredura(Integer parametroVarredura) {\n this.parametroVarredura = parametroVarredura;\n }",
"private void modifierParametre() {\n if (getSelectedParamatre() == null) return;\n FenetreModifierParametre fenetreModifierParametre = new FenetreModifierParametre(getSelectedParamatre());\n fenetreModifierParametre.showAndWait();\n if (fenetreModifierParametre.getParametre() == null) return;\n Parametre temp = fenetreModifierParametre.getParametre();\n getSelectedParamatre().setNom(temp.getNom());\n getSelectedParamatre().setType(temp.getType());\n parametreListView.refresh();\n }",
"private void setValoresDefault()\n\t{\n\t\t// seta valores default dos campos\n\t\tlmResumo.clear();\n\n\t\tlmResumo.addElement(\"10000000\");\n\t\tlmResumo.addElement(\"20000000\");\n\t\tlmResumo.addElement(\"30000000\");\n\t\tlmResumo.addElement(\"40000000\");\n\t\tlmResumo.addElement(\"50000000\");\n\n\t\tjTFQTdRegistroBD.setText(null);\n\n\t\tjCBSmall.setSelected(true);\n\t\tjCBLarge.setSelected(true);\n\t\tjCBExtra.setSelected(true);\n\n\t\tjTFSlaps.setText(\"5\");\n\n\t\tatualizarGraficos(new TreeMap<Long, List<ResultadoVO>>());\n\n\t}",
"public void saveParameter(){\r\n \tif(editParameter != null){\r\n \t\tint id = editParameter.getId();\r\n \t\tif(id == 0){\r\n \t\t\tthis.getLog().info(\" addParameter()\");\r\n \t\t\talgorithmList.addNewAlgorithmParameterToDB(editParameter, getSelectedAlgorithm().getId());\r\n \t }else{\r\n \t\t\tthis.getLog().info(\" updateParameter(\" + id + \")\");\r\n \t\t\talgorithmList.updateAlgorithmParameterToDB(editParameter, getSelectedAlgorithm().getId());\r\n \t\t}\r\n \t\t\r\n \t\ttry {\r\n \t\t\tthis.getSelectedAlgorithm().setParameters(ConnectionFactory.createConnection().getAlgorithmParameterArray(getSelectedAlgorithm().getId()));\r\n\t\t\t} catch (DataStorageException e) {\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t}\r\n \t}\r\n }",
"protected String paramString() {\n return super.paramString() + \",\" + \"caretColor=\" + caretColor + \",\"\n + \"disabledTextColor=\" + disabledTextColor + \",\" + \"editable=\"\n + isEditable + \",\" + \"margin=\" + margin + \",\"\n + \"selectedTextColor=\" + selectedTextColor + \",\"\n + \"selectionColor=\" + selectionColor;\n\n }",
"@Override\n protected Map<String, String> getParams() {\n Map<String, String> params = new HashMap<String, String>();\n params.put(\"pasien\", pasien);\n\n return params;\n }",
"@Override \n\t\tprotected int getNumParam() {\n\t\t\treturn 1;\n\t\t}",
"@Override\n\tprotected void validateParameterValues() {\n\t\t\n\t}",
"public void setDefaultParameters()\n {\n parameters = new Vector(); // must do this to clear any old parameters\n\n Parameter parameter = new Parameter( \"DataSet to Divide\",\n DataSet.EMPTY_DATA_SET );\n addParameter( parameter );\n\n parameter = new Parameter( \"Create new DataSet?\", new Boolean(false) );\n addParameter( parameter );\n }",
"@Override\n public void setParameter(String parameter, String value) {\n //no parameters\n }",
"public void setMotivoRechazo(biz.belcorp.www.canonico.ffvv.vender.TMotivoRechazo param){\n \n this.localMotivoRechazo=param;\n \n\n }",
"private void recogerParametros(HttpServletRequest request) {\r\n\t\tif (request.getParameter(\"op\") != null) {\r\n\t\t\top = Integer.parseInt(request.getParameter(\"op\"));\r\n\t\t} else {\r\n\t\t\top = 0;\r\n\t\t}\r\n\t\t\r\n\t\tsearch = (request.getParameter(\"search\") != null) ? request.getParameter(\"search\") : \"\";\r\n\r\n\t\tif (request.getParameter(\"id\") != null) {\r\n\t\t\tid = Integer.parseInt(request.getParameter(\"id\"));\r\n\t\t} else {\r\n\t\t\tid = -1;\r\n\t\t}\r\n\r\n\t\tif (request.getParameter(\"nombre\") != null) {\r\n\t\t\t\r\n\t\t\tnombre = request.getParameter(\"nombre\");\r\n\t\t\tnombre = Utilidades.limpiarEspacios(nombre);\r\n\t\t\tnombre = nombre.substring(0, Math.min(nombre.length(), 44));\r\n\t\t} else {\r\n\t\t\tnombre = \"\";\r\n\t\t}\r\n\r\n\t\tif (request.getParameter(\"precio\") != null) {\r\n\t\t\ttry{\r\n\t\t\t\tprecio = Float.parseFloat(request.getParameter(\"precio\"));\r\n\t\t\t}\r\n\t\t\tcatch( Exception e){\r\n\t\t\t\tprecio=PRECIO_EN_LETRA;\r\n\t\t\t}\r\n\t\t\t\t\r\n\t\t} else {\r\n\t\t\tprecio = 0;\r\n\t\t}\r\n\t\tif(request.getParameter(\"id_usuario\")!=null) {\r\n\t\t\tusuario=daoUsuario.getById(Integer.parseInt(request.getParameter(\"id_usuario\")));\r\n\t\t}\r\n\t\telse {\r\n\t\t\tusuario=new Usuario();\r\n\t\t}\r\n\t\tif(request.getParameter(\"id_usuario_cambio\")!=null) {\r\n\t\t\tusuario=daoUsuario.getById(Integer.parseInt(request.getParameter(\"id_usuario_cambio\")));\r\n\t\t}\r\n\t\telse {\r\n\t\t\tusuario=new Usuario();\r\n\t\t}\r\n\t}",
"public void setPercepcion(double param){\n \n this.localPercepcion=param;\n \n\n }",
"public void setParametroIdParametroPadre(int parametroIdParametroPadre) {\r\n\t\tthis.parametroIdParametroPadre = parametroIdParametroPadre;\r\n\t}",
"void setParameters() {\n\t\t\n\t}",
"public Setparam() {\r\n super();\r\n }",
"public void setParameters(Map<String, String> param) {\n\n // check the occurrence of required parameters\n if(!(param.containsKey(\"Indri:mu\") && param.containsKey(\"Indri:lambda\"))){\n throw new IllegalArgumentException\n (\"Required parameters for IndriExpansion model were missing from the parameter file.\");\n }\n\n this.mu = Double.parseDouble(param.get(\"Indri:mu\"));\n if(this.mu < 0) throw new IllegalArgumentException\n (\"Illegal argument: \" + param.get(\"Indri:mu\") + \", mu is a real number >= 0\");\n\n this.lambda = Double.parseDouble(param.get(\"Indri:lambda\"));\n if(this.lambda < 0) throw new IllegalArgumentException\n (\"Illegal argument: \" + param.get(\"Indri:lambda\") + \", lambda is a real number between 0.0 and 1.0\");\n\n if((param.containsKey(\"fb\") && param.get(\"fb\").equals(\"true\"))) {\n this.fb = \"true\";\n\n this.fbDocs = Integer.parseInt(param.get(\"fbDocs\"));\n if (this.fbDocs <= 0) throw new IllegalArgumentException\n (\"Illegal argument: \" + param.get(\"fbDocs\") + \", fbDocs is an integer > 0\");\n\n this.fbTerms = Integer.parseInt(param.get(\"fbTerms\"));\n if (this.fbTerms <= 0) throw new IllegalArgumentException\n (\"Illegal argument: \" + param.get(\"fbTerms\") + \", fbTerms is an integer > 0\");\n\n this.fbMu = Integer.parseInt(param.get(\"fbMu\"));\n if (this.fbMu < 0) throw new IllegalArgumentException\n (\"Illegal argument: \" + param.get(\"fbMu\") + \", fbMu is an integer >= 0\");\n\n this.fbOrigWeight = Double.parseDouble(param.get(\"fbOrigWeight\"));\n if (this.fbOrigWeight < 0) throw new IllegalArgumentException\n (\"Illegal argument: \" + param.get(\"fbOrigWeight\") + \", fbOrigWeight is a real number between 0.0 and 1.0\");\n\n if (param.containsKey(\"fbInitialRankingFile\") && param.get(\"fbInitialRankingFile\") != \"\") {\n this.fbInitialRankingFile = param.get(\"fbInitialRankingFile\");\n try{\n this.initialRanking = readRanking();\n }\n catch (Exception e){\n e.printStackTrace();\n }\n }\n\n if (param.containsKey(\"fbExpansionQueryFile\") && param.get(\"fbExpansionQueryFile\") != \"\")\n this.fbExpansionQueryFile = param.get(\"fbExpansionQueryFile\");\n }\n }",
"public ParametroPorParametroPK() {\r\n\t}",
"public PowerMethodParameter() {\r\n\t\t\r\n\t\t//constructor fara parametru, utilizat in cazul in care utilizatorul nu introduce\r\n\t\t//fisierul sursa si nici fiesierul destinatie ca parametrii in linia de comanda\r\n\t\tSystem.out.println(\"****The constructor without parameters PowerMethodParameter has been called****\");\r\n\t\tSystem.out.println(\"You did not specify the input file and the output file\");\r\n\t\t\r\n\t}",
"private String getParameter(HttpServletRequest request, String name, String defaultValue) {\n String value = request.getParameter(name);\n if (value == null) {\n return defaultValue;\n }\n return value;\n }",
"protected void initDefaultParameters(String name) {\n\t\t// default parameter - name\n\t\tCaselessParameter cslpar =\n\t\t\tnew CaselessParameter(ISchemaComponent.KEY_NAME, false, new Caseless(name));\n\t\tcslpar.setParameterEvent(new NameChanger());\n\t\tparameters.addParameter(cslpar);\n\t\t\n\t\t// default parameter - component orientation\n\t\tGenericParameter<Orientation> orientpar =\n\t\t\tnew GenericParameter<Orientation>(ISchemaComponent.KEY_ORIENTATION, false,\n\t\t\t\t\tnew Orientation());\n\t\torientpar.getConstraint().setPossibleValues(Orientation.allAllowed);\n\t\tparameters.addParameter(orientpar);\n\t}",
"public void setDefaultParameters() {\n\t\toptions = 0;\n\t\toutBits = null;\n\t\ttext = new byte[0];\n\t\tyHeight = 3;\n\t\taspectRatio = 0.5f;\n\t}",
"public void validate() throws ParameterValuesException {\n\t\tif (txtTenTaiSan.getText().isEmpty())\n\t\t\tthrow new ParameterValuesException(\"Bạn cần nhập tên tài sản\", null);\n\t}",
"@Override\n\tpublic boolean isParam() {\n\t\treturn false;\n\t}",
"public void setMontoFacturadoSinDescuento(double param){\n \n this.localMontoFacturadoSinDescuento=param;\n \n\n }",
"@Override\n\tprotected String getParameters()\n\t{\n\t\tString fields = \" ?, ?, ?, ?, ? \";\n\t\treturn fields;\n\t}",
"public DiceParameter(String name, String key, String desc, boolean visible, boolean enabled, boolean required, Object defaultValue) {\n super(name,key,desc,visible,enabled,required,defaultValue);\n }",
"@Override\n\tprotected String getParameters()\n\t{\n\t\tString fields = \" ?, ?, ?, ?, ?, ? \";\n\t\treturn fields;\n\t}",
"public String getPara(String name, String defaultValue) {\n\t\tString result = request.getParameter(name);\n\t\treturn result != null && !\"\".equals(result) ? result : defaultValue;\n\t}",
"public String getParameter( String name, String default_value )\n {\n return getParameter(VALDEF, name, default_value, false);\n }",
"@Override\n protected Map<String, String> getParams() {\n Map<String, String> params = new HashMap<String, String>();\n params.put(\"fecha\", fecha);\n params.put(\"hInicio\", inicio);\n params.put(\"hFin\", fin);\n params.put(\"cantCompas\", cantidad);\n params.put(\"id\", id);\n params.put(\"correo\", correo);\n params.put(\"min\",m);\n return params;\n }",
"public interface Params\n{\n\tpublic static final String DEFAULT_PATH=\"default_path\";\n\tpublic static final String DEFAULT_NAME=\"default_name\";\n\tpublic static final String MODE=\"mode\";\n\tpublic static final String FILE_TYPE=\"file_type\";\n}",
"@Override\n\tpublic Map<String, String[]> getParameterMap() {\n\t\treturn null;\n\t}",
"@Override\n\tpublic Parameter<?> getParameter(String id) {\n\t\treturn null;\n\t}",
"@Override\n protected Map<String, String> getParams() {\n Map<String, String> params = new HashMap<String, String>();\n params.put(\"lapangan\", lapangan);\n params.put(\"jam\", jam);\n params.put(\"durasi\", durasi);\n\n return params;\n }",
"public String getParameter(String name) throws IllegalArgumentException {\n\t if ( LogWriter.needsLogging(LogWriter.TRACE_DEBUG))\n LogWriter.logMessage(LogWriter.TRACE_DEBUG, \"getParameter() \" \n\t\t+ name);\n Via via=(Via)sipHeader;\n \n if (name == null) throw new\n IllegalArgumentException(\"JAIN-EXCEPTION: null argument\");\n return via.getParameter(name);\n }",
"public String getParamValueAsString(String label, String defaultValue);",
"public MVCModelo(int capacidad)\n\t{\n\t\tllave = \"\";\n\t\tvalue = 0.0;\n\t}",
"public void removeParameter(){\r\n \tMap<String,String> params = FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap();\r\n\t\tlong paramId = Long.parseLong(params.get(\"parameterId\"));\r\n\t\tthis.getLog().info(\"parameterId:\" + paramId);\r\n\t\t\r\n\t\tif(paramId != 0){\r\n\t\t\ttry {\r\n\t\t\t\tConnectionFactory.createConnection().deleteParameter(paramId);\r\n\t\t\t\tthis.getSelectedAlgorithm().setParameters(ConnectionFactory.createConnection().getAlgorithmParameterArray(getSelectedAlgorithm().getId()));\r\n\t\t\t} catch (DataStorageException e) {\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t}\r\n\t\t}\r\n\t}",
"@Override\n\t\tpublic Map getParameterMap() {\n\t\t\treturn null;\n\t\t}",
"public void setMontoPedidoRechazado(double param){\n \n this.localMontoPedidoRechazado=param;\n \n\n }",
"public String getParam() {\n return param;\n }",
"public String getParam() {\n return param;\n }",
"public void setParamValue(String label, Object value);",
"@Override\n public boolean setParameter(String parameterName, String value) {\n return false;\n }",
"public String getParameterFromP();",
"@Override\n\tprotected String getParameterizedFields()\n\t{\n\t\tString fields = \" HBLNM=?, HBCFR=?, HBCFL=?, HBRNM=?, HBDLM=? \";\n\t\treturn fields;\n\t}",
"public ParametroPorParametroPK(Integer idpadre, Integer idhijo) {\r\n\t\tparametroIdParametroPadre = idpadre;\r\n\t\tparametroIdParametroHijo = idhijo;\r\n\t}",
"void setParameter(String name, String value);",
"public void limpiarProcesoBusqueda() {\r\n parametroEstado = 1;\r\n parametroNombre = null;\r\n parametroApellido = null;\r\n parametroDocumento = null;\r\n parametroTipoDocumento = null;\r\n parametroCorreo = null;\r\n parametroUsuario = null;\r\n parametroEstado = 1;\r\n parametroGenero = 1;\r\n listaTrabajadores = null;\r\n inicializarFiltros();\r\n }",
"private void getParameters(HttpServletRequest request) {\n\t\t// Recoger datos\n\t\tconcepto = request.getParameter(\"concepto\");\n\t\tString importeTexto = request.getParameter(\"importe\");\n\t\ttry {\n\t\t\timporte = Double.parseDouble(importeTexto);\n\n\t\t} catch (NumberFormatException e) {\n\t\t\timporte = (double) 0;\n\t\t}\n\t\tLong idCoche = Long.parseLong(request.getParameter(\"id_coche\"));\n\t\tc = daoCoche.getBYId(idCoche);\n\t\tidAgente = Long.parseLong(request.getParameter(\"id_agente\"));\n\t}",
"public void setBloqueado(java.lang.String param){\n \n this.localBloqueado=param;\n \n\n }",
"public void updateParameters(){\n\t\tp = RunEnvironment.getInstance().getParameters();\n\t\tmaxFlowerNectar = (double)p.getValue(\"maxFlowerNectar\");\n\t\tlowMetabolicRate = (double)p.getValue(\"lowMetabolicRate\");\n\t\thighMetabolicRate = (double)p.getValue(\"highMetabolicRate\");\n\t\tcolonySize = (int)p.getValue(\"colonySize\");\n\t}",
"@Override\n\tpublic Map getParameterMap() {\n\t\treturn null;\n\t}",
"private void supprimerParametre() {\n if (getSelectedParamatre() == null) return;\n parametreListView.getItems().remove(parametreListView.getSelectionModel().getSelectedItem());\n }",
"public void setMontoEstimado(double param){\n \n this.localMontoEstimado=param;\n \n\n }",
"@Override\n protected Map<String, String> getParams() throws AuthFailureError {\n Map<String, String> params = new HashMap<>();\n params.put(\"id_koperasi\", idKop);\n params.put(\"bidang_usaha\", id_bidangusaha);\n params.put(\"alamat_usaha\", alamat);\n params.put(\"status_usaha\", status);\n params.put(\"omzet\", omzet);\n params.put(\"location\", Loc);\n params.put(\"simp_pokok\", simpananpokok);\n params.put(\"jml_simp_pokok\", jmlsimpananpokok);\n params.put(\"simp_wajib\", simpananwajib);\n params.put(\"jml_simp_wajib\", jmlsimpananwajib);\n params.put(\"shu_tahunan\", shutahunan);\n params.put(\"user_id\", user);\n return params;\n }",
"private void drawModelElements_Parameters_xjal(Panel _panel, Graphics2D _g, boolean _publicOnly)\n/* 227: */ {\n/* 228:311 */ if (!_publicOnly) {\n/* 229:312 */ drawParameter(_panel, _g, 20, 30, 10, 0, \"placeholder\", this.placeholder, 0);\n/* 230: */ }\n/* 231:314 */ if (!_publicOnly) {\n/* 232:315 */ drawParameter(_panel, _g, 200, 90, 10, 0, \"onClick\", null, 4096);\n/* 233: */ }\n/* 234: */ }",
"public void setParam(String param) {\n this.param = param == null ? null : param.trim();\n }",
"public void setParam(String param) {\n this.param = param == null ? null : param.trim();\n }",
"@Override\n protected Map<String, String> getParams() {\n Map<String, String> params = new HashMap<String, String>();\n\n // Adding All values to Params.\n params.put(\"user_id\", userIdInput);\n params.put(\"date\", selectedDate);\n params.put(\"type\", typeInput);\n\n return params;\n }",
"String toParameter();",
"@Override\n protected Map<String, String> getParams() {\n Map<String, String> params = new HashMap<String, String>();\n params.put(\"Dname\", DegreeName);\n params.put(\"iName\", InsName);\n params.put(\"UserId\", uId);\n\n return params;\n }"
] | [
"0.70476556",
"0.6207157",
"0.61070997",
"0.60978734",
"0.5992582",
"0.5927383",
"0.5921769",
"0.5898877",
"0.58714765",
"0.5866734",
"0.5862674",
"0.584032",
"0.58281034",
"0.58000153",
"0.5787244",
"0.57660466",
"0.57619315",
"0.57515997",
"0.5745909",
"0.57382995",
"0.5737437",
"0.571311",
"0.5710741",
"0.5705324",
"0.5701777",
"0.5693722",
"0.5693722",
"0.5693722",
"0.5693722",
"0.56879956",
"0.5686782",
"0.56843007",
"0.5677941",
"0.5670556",
"0.56539977",
"0.5648584",
"0.5646865",
"0.56417686",
"0.564071",
"0.56326264",
"0.563243",
"0.56267744",
"0.5624956",
"0.55742425",
"0.5573408",
"0.5548724",
"0.5535201",
"0.5534382",
"0.5531565",
"0.55285025",
"0.55258393",
"0.5523664",
"0.55195737",
"0.551763",
"0.54979956",
"0.54969335",
"0.54928476",
"0.54695225",
"0.54609805",
"0.54569024",
"0.54499024",
"0.5446904",
"0.54449445",
"0.542102",
"0.5404693",
"0.53983706",
"0.5392571",
"0.53920573",
"0.53889406",
"0.53869176",
"0.538615",
"0.5379241",
"0.53786635",
"0.5370898",
"0.53681797",
"0.53677535",
"0.5350905",
"0.5344831",
"0.5339335",
"0.5337728",
"0.5337728",
"0.5331123",
"0.53256726",
"0.53216624",
"0.5320932",
"0.531088",
"0.530813",
"0.5303363",
"0.5299526",
"0.5297372",
"0.5292994",
"0.52793235",
"0.5277585",
"0.52769005",
"0.5266853",
"0.5263876",
"0.52618504",
"0.52618504",
"0.52569926",
"0.5255697",
"0.52530104"
] | 0.0 | -1 |
Prihlasi hospodu mezi odberatele od tohoto prekladiste | public void prihlasHospodu(HospodaSud hospoda)
{
hospodySud.put(hospoda.id, hospoda);
//kontrolni vypis
/*
System.out.println(this.id);
*/
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static void TroskoviPredjenogPuta() {\n\t\tUtillMethod.izlistavanjeVozila();\n\t\tSystem.out.println(\"Unesite redni broj vozila za koje zelite da racunate predjeni put!\");\n\t\tint redniBroj = UtillMethod.unesiteInt();\n\t\tif (redniBroj < Main.getVozilaAll().size()) {\n\t\t\tif (!Main.getVozilaAll().get(redniBroj).isVozObrisano()) {\n\t\t\t\tSystem.out.println(\"Unesite broj kilometara koje ste presli sa odgovarajucim vozilom\");\n\t\t\t\tdouble km = UtillMethod.unesiteBroj();\n\t\t\t\tVozilo v = Main.getVozilaAll().get(redniBroj);\n\t\t\t\tdouble rezultat;\n\t\t\t\tif(v.getGorivaVozila().size()>1) {\n\t\t\t\t\tGorivo g = UtillMethod.izabirGoriva();\n\t\t\t\t\trezultat = cenaTroskaVoz(v,km,g);\n\t\t\t\t}else {\n\t\t\t\t\t rezultat = cenaTroskaVoz(v,km,v.getGorivaVozila().get(0));\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"Cena troskova za predjeni put je \" + rezultat + \"Dinara!\");\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"Ovo vozilo je obrisano i ne moze da se koristi!\");\n\t\t\t}\n\t\t} else {\n\t\t\tSystem.out.println(\"Uneli ste pogresan redni broj!\");\n\t\t}\n\t}",
"private static void etapa3Urna() {\n\t\t\n\t\turna.contabilizarVotosPorCandidato(enderecoCandidatos);\n\t\t\n\t}",
"public ListaBrojeva izdvojElmenteNaParnimPozicijama() {\n if (prvi != null) {\n ListaBrojeva parni = new ListaBrojeva();\n \n Element tek = prvi;\n Element preth = null;\n Element parniKraj = null;\n int br = 0;\n \n while (tek.veza != null) {\n preth = tek;\n tek = tek.veza;\n \n if (br % 2 != 0) {\n preth.veza = tek.veza;\n if (parni.prvi == null) {\n parni.prvi = tek;\n parniKraj = tek;\n tek.veza = null; \n } else {\n parniKraj.veza = tek;\n tek.veza = null;\n parniKraj = parniKraj.veza;\n }\n tek = preth;\n }\n br++;\n }\n /*prvi element iz liste je paran, ali je preskocen, \n tako da ga sad izbacujemo iz liste i dodajemo u novu*/\n Element pom = prvi;\n prvi = prvi.veza;\n pom.veza = parni.prvi;\n parni.prvi = pom;\n return parni;\n }\n return null;\n }",
"private void poczatkowe_zmienne()\n {\n konfiguracja.loadProperties();\n predkosc_wroga=Integer.parseInt(konfiguracja.properties.getProperty(\"predkosc_wroga\"));\n czas_watku=Integer.parseInt(konfiguracja.properties.getProperty(\"czas_watku\"));\n punkty_poziomu=Integer.parseInt(konfiguracja.properties.getProperty(\"punkty_poziomu\"));\n zmienne_poziomu(poziom);\n }",
"public void ustawPojazdNaPoczatek()\n\t{\n\t\tSciezka pierwszaSc = droga.get(0);\n\t\tfinal double y = 10;\n\t\tpojazd.zmienPozycje(pierwszaSc.getCenterDownX(), y);\n\t}",
"private String nalozZvieraNaVozidlo() {\r\n if (zoo.getPracovneVozidlo() == null) {\r\n return \"Pracovne vozidlo nie je pristavene\";\r\n }\r\n\r\n Integer pozicia = MojeMetody.vlozInt(\"Vloz cislo zvierata\");\r\n if (pozicia == null) return \"\";\r\n\r\n try {\r\n Prepravitelny z = (Prepravitelny) zoo.getZvierataZOO(pozicia - 1);\r\n zoo.nalozZivocicha(z);\r\n zoo.odstranZivocicha(pozicia - 1);\r\n return \"Zviera \" + z + \"\\n\\tbolo nalozene na prepravne vozidlo\";\r\n } catch (ClassCastException exCC) {\r\n return \"Zviera c. \" + pozicia + \" nemozno prepravit\\n\\t\";\r\n } catch (NullPointerException exNP) {\r\n return \"Zviera c. \" + pozicia + \" nie je v ZOO\";\r\n } catch (Exception ex) {\r\n return \"Neznama chyba:\\n\\t\" + ex;\r\n }\r\n }",
"private void zmienne_poziomu(int poziom)\n {\n liczba_zyc =Integer.parseInt(konfiguracja.properties.getProperty(poziom+\"_liczba_zyc\"));\n liczba_naboi=Integer.parseInt(konfiguracja.properties.getProperty(poziom+\"_liczba_naboi\"));\n liczba_zyc_wroga=Integer.parseInt(konfiguracja.properties.getProperty(poziom+\"_liczba_zyc_wroga\"));\n liczba_pilek=Integer.parseInt(konfiguracja.properties.getProperty(poziom+\"_liczba_pilek\"));\n predkosc_wroga=Integer.parseInt(konfiguracja.properties.getProperty(poziom+\"_predkosc_wroga\"));\n bonusy_poziomu=Integer.parseInt(konfiguracja.properties.getProperty(poziom+\"_bonusy_poziomu\"));\n rozmiar_pilki=Integer.parseInt(konfiguracja.properties.getProperty(poziom+\"_rozmiar_pilki\"));\n zmiana_ruchu_wroga=Integer.parseInt(konfiguracja.properties.getProperty(poziom+\"_zmiana_ruchu_wroga\"));\n czas_gry=Integer.parseInt(konfiguracja.properties.getProperty(poziom+\"_czas_gry\"));\n }",
"public void pretraziPoslovneKorisnike() throws BazaPodatakaException {\r\n\t\tString naziv = nazivTF.getText().toLowerCase();\r\n\t\tString web = webTF.getText().toLowerCase();\r\n\t\tString email = emailTF.getText().toLowerCase();\r\n\t\tString telefon = telefonTF.getText();\r\n\r\n\t\tList<PoslovniKorisnik> listaKorisnika = BazaPodataka.dohvatiPoslovnogKorisnikaPremaKriterijima(email, telefon,\r\n\t\t\t\tnaziv, web);\r\n\t\ttablicaPoslovnihKorisnika.setItems(FXCollections.observableArrayList(listaKorisnika));\r\n\r\n\t}",
"public static void trazenjeVozila(Iznajmljivac o) {\n\t\tLocalDate pocetniDatum = UtillMethod.unosDatum(\"pocetni\");\n\t\tLocalDate krajnjiDatum = UtillMethod.unosDatum(\"krajnji\");\n\t\tSystem.out.println(\"------------------------------------\");\n\t\tSystem.out.println(\"Provera dostupnosti vozila u toku...\\n\");\n\t\tArrayList<Vozilo> dostupnaVoz = new ArrayList<Vozilo>();\n\t\tint i = 0;\n\t\tfor (Vozilo v : Main.getVozilaAll()) {\n\t\t\tif (!postojiLiRezervacija(v, pocetniDatum, krajnjiDatum) && !v.isVozObrisano()) {\n\t\t\t\tSystem.out.println(i + \"-\" + v.getVrstaVozila() + \"-\" + \"Registarski broj\" + \"-\" + v.getRegBR()\n\t\t\t\t\t\t+ \"-Potrosnja na 100km-\" + v.getPotrosnja100() + \"litara\");\n\t\t\t\ti++;\n\t\t\t\tdostupnaVoz.add(v);\n\t\t\t}\n\t\t}\n\t\tif (i > 0) {\n\t\t\tSystem.out.println(\"------------------------------------------------\");\n\t\t\tSystem.out.println(\"Ukucajte kilometrazu koju planirate da predjete:\");\n\t\t\tdouble km = UtillMethod.unesiteBroj();\n\t\t\tint km1 = (int) km;\n\t\t\tporedjenjeVozila d1 = new poredjenjeVozila(km1);\n\t\t\tCollections.sort(dostupnaVoz,d1);\n\t\t\tint e = 0;\n\t\t\tfor(Vozilo v : dostupnaVoz) {\n\t\t\t\tdouble temp = cenaTroskaVoz(v, km, v.getGorivaVozila().get(0));\n\t\t\t\tSystem.out.println(e + \" - \" + v.getVrstaVozila()+ \"-Registarski broj: \"+ v.getRegBR()+\" | \"+ \"Cena na dan:\"+v.getCenaDan() +\" | Broj sedista:\"+ v.getBrSedist()+ \" | Broj vrata:\"+ v.getBrVrata() + \"| Cena troskova puta:\" + temp + \" Dinara\");\n\t\t\t\te++;\n\t\t\t}\n\t\t\tSystem.out.println(\"---------------------------------------\");\n\t\t\tSystem.out.println(\"Unesite redni broj vozila kojeg zelite:\");\n\t\t\tint redniBroj = UtillMethod.unesiteInt();\n\t\t\tif (redniBroj < dostupnaVoz.size()) {\n\t\t\t\tDateTimeFormatter formatters = DateTimeFormatter.ofPattern(\"dd/MM/yyyy\");\n\t\t\t\tString pocetni = pocetniDatum.format(formatters);\n\t\t\t\tString krajnji = krajnjiDatum.format(formatters);\n\t\t\t\tdouble cena = UtillMethod.cenaIznaj(pocetniDatum, krajnjiDatum, dostupnaVoz.get(redniBroj));\n\t\t\t\tRezervacija novaRez = new Rezervacija(dostupnaVoz.get(redniBroj), o, cena, false, pocetni, krajnji);\n\t\t\t\tMain.getRezervacijeAll().add(novaRez);\n\t\t\t\tSystem.out.println(\"Uspesno ste napravili rezervaciju!\");\n\t\t\t\tSystem.out.println(\"---------------------------------\");\n\t\t\t\tSystem.out.println(novaRez);\n\t\t\t\tSystem.out.println(\"---------------------------------\");\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"Uneli ste pogresan redni broj!\");\n\t\t\t}\n\t\t} else {\n\t\t\tSystem.out.println(\"Nema dostupnih vozila za rezervaaciju.\");\n\t\t}\n\t}",
"public void nastaviIgru() {\r\n\t\t// nastavi igru poslije pobjede\r\n\t\tigrajPoslijePobjede = true;\r\n\t}",
"public void zmiana_rozmiaru_okna()\n {\n b.dostosowanie_rozmiaru(getWidth(),getHeight());\n w.dostosowanie_rozmiaru(getWidth(),getHeight());\n\n for (Pilka np : p) {\n np.dostosowanie_rozmiaru(getWidth(),getHeight());\n }\n for (Naboj np : n) {\n np.dostosowanie_rozmiaru(getWidth(),getHeight());\n }\n for (Bonus np : bon) {\n np.dostosowanie_rozmiaru(getWidth(),getHeight());\n }\n\n }",
"public void ispisiSveNapomene() {\r\n\t\tint i = 0;// redni broj napomene\r\n\t\tint brojac = 0;\r\n\t\tfor (Podsjetnik podsjetnik : lista) {\r\n\r\n\t\t\ti++;\r\n\t\t\tSystem.out.println(i + \")\" + podsjetnik);\r\n\t\t\tbrojac = i;\r\n\t\t}\r\n\t\tif (brojac == 0) {\r\n\t\t\tSystem.out.println(\"Nema unesenih napomena!!\");\r\n\t\t}\r\n\r\n\t}",
"private void ucitajTestPodatke() {\n\t\tList<Integer> l1 = new ArrayList<Integer>();\n\n\t\tRestoran r1 = new Restoran(\"Palazzo Bianco\", \"Bulevar Cara Dušana 21\", KategorijeRestorana.PICERIJA, l1, l1);\n\t\tRestoran r2 = new Restoran(\"Ananda\", \"Petra Drapšina 51\", KategorijeRestorana.DOMACA, l1, l1);\n\t\tRestoran r3 = new Restoran(\"Dizni\", \"Bulevar cara Lazara 92\", KategorijeRestorana.POSLASTICARNICA, l1, l1);\n\n\t\tdodajRestoran(r1);\n\t\tdodajRestoran(r2);\n\t\tdodajRestoran(r3);\n\t}",
"public void urciStupneVrcholu(){\n\t\tfor(int i = 0;i < vrchP.length; i++){\n\t\t\tstupenVrcholu(vrchP[i].klic);\n\t\t}\n\t}",
"public String [] losuj(){\n int licznik = 0;\n String [] wybrane = new String[5];\n while(licznik<5){ // Dla jednego gracza\n int kolor = (int) (Math.random()*4);\n int wartosc = (int) (Math.random()*13);\n if(czyWybrana[kolor][wartosc]==false){\n czyWybrana[kolor][wartosc]=true;\n wybrane[licznik]=karty[kolor][wartosc]+\".jpg\";\n licznik++;\n }\n }\n return wybrane;// tablica z 5 wylosowanymi kartami\n }",
"public PregledPoruka() {\n preuzmiMape();\n preuzmiPoruke();\n }",
"public void eisagwgiFarmakou() {\n\t\t// Elegxw o arithmos twn farmakwn na mhn ypervei ton megisto dynato\n\t\tif(numOfMedicine < 100)\n\t\t{\n\t\t\tSystem.out.println();\t\n\t\t\tmedicine[numOfMedicine] = new Farmako();\t\n\t\t\tmedicine[numOfMedicine].setCode(rnd.nextInt(1000000)); // To sistima dinei automata ton kwdiko tou farmakou\n\t\t\tmedicine[numOfMedicine].setName(sir.readString(\"DWSTE TO ONOMA TOU FARMAKOU: \")); // Zitaw apo ton xristi na mou dwsei to onoma tou farmakou\n\t\t\tmedicine[numOfMedicine].setPrice(sir.readPositiveFloat(\"DWSTE THN TIMH TOU FARMAKOU: \")); // Pairnw apo ton xristi tin timi tou farmakou\n\t\t\tSystem.out.println();\n\t\t\t// Elegxos monadikotitas tou kwdikou tou farmakou\n\t\t\th = rnd.nextInt(1000000);\n\t\t\tfor(int i = 0; i < numOfMedicine; i++)\n\t\t\t{\n\t\t\t\tif(medicine[i].getCode() == h)\n\t\t\t\t{\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t\tSystem.out.println(\"O KWDIKOS AUTOS YPARXEI HDH!\");\n\t\t\t\t\th = rnd.nextInt(10);\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t}\n\t\t\tnumOfMedicine++;\n\t\t}\n\t\t// An xeperastei o megistos arithmos farmakwn\n\t\telse\n\t\t{\n\t\t\tSystem.out.println(\"DEN MPOREITE NA EISAGETE ALLA FARMAKA!\");\n\t\t\tSystem.out.println(\"EXEI SYMPLHRWTHEI O PROVLEPOMENOS ARITHMOS!\");\n\t\t}\n\t}",
"public void pridejNovePivo ()\n\t{\n\t\n\t\tpivo = pivo + PRODUKCE;\n\t\t\n\t}",
"public void borra() {\n dib.borra();\n dib.dibujaImagen(limiteX-60,limiteY-60,\"tierra.png\");\n dib.pinta(); \n }",
"public void ucitajPotez(Potez potez) {\n\t\tint red = potez.vratiRed();\n\t\tint kolona = potez.vratiKolonu();\n\t\ttabla[red][kolona] = potez.vratiRezultat();\n\n\t\tif (potez.vratiRezultat() == Polje1.potopljen) {\n\t\t\tint gornjiRed, gornjaKolona;\n\t\t\tboolean cont1 = false;\n\t\t\tboolean cont2 = false;\n\t\t\tboolean redar = false;\n\t\t\tboolean kolonar = false;\n\t\t\twhile (redar == false) {\n\t\t\t\tif (red == 0) {\n\t\t\t\t\tgornjiRed = 0;\n\t\t\t\t\tcont1 = true;\n\t\t\t\t} else {\n\t\t\t\t\tgornjiRed = red - 1;\n\t\t\t\t}\n\t\t\t\tif (red == 9) {\n\t\t\t\t\tcont2 = true;\n\t\t\t\t}\n\t\t\t\tif (tabla[gornjiRed][kolona] == Polje1.pogodjen && cont1 == false) {\n\t\t\t\t\ttabla[gornjiRed][kolona] = Polje1.potopljen;\n\t\t\t\t\tred--;\n\t\t\t\t} else {\n\t\t\t\t\tcont1 = true;\n\t\t\t\t\tgornjiRed++;\n\t\t\t\t}\n\t\t\t\tif (cont1 == true) {\n\t\t\t\t\tif (tabla[gornjiRed][kolona] == Polje1.pogodjen || tabla[gornjiRed][kolona] == Polje1.potopljen) {\n\t\t\t\t\t\ttabla[gornjiRed][kolona] = Polje1.potopljen;\n\t\t\t\t\t\tred++;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tcont2 = true;\n\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tif (cont1 == true && cont2 == true)\n\t\t\t\t\tredar = true;\n\t\t\t}\n\t\t\tcont1 = false;\n\t\t\tcont2 = false;\n\t\t\tred = potez.vratiRed();\n\t\t\twhile (kolonar == false) {\n\t\t\t\tif (kolona == 0) {\n\t\t\t\t\tgornjaKolona = 0;\n\t\t\t\t\tcont1 = true;\n\t\t\t\t} else {\n\t\t\t\t\tgornjaKolona = kolona - 1;\n\t\t\t\t}\n\t\t\t\tif (kolona == 9) {\n\t\t\t\t\tcont2 = true;\n\t\t\t\t}\n\t\t\t\tif (tabla[red][gornjaKolona] == Polje1.pogodjen && cont1 == false) {\n\t\t\t\t\ttabla[red][gornjaKolona] = Polje1.potopljen;\n\t\t\t\t\tkolona--;\n\t\t\t\t} else {\n\t\t\t\t\tcont1 = true;\n\t\t\t\t\tgornjaKolona++;\n\t\t\t\t}\n\t\t\t\tif (cont1 == true) {\n\t\t\t\t\tif (tabla[red][gornjaKolona] == Polje1.pogodjen || tabla[red][gornjaKolona] == Polje1.potopljen) {\n\t\t\t\t\t\ttabla[red][gornjaKolona] = Polje1.potopljen;\n\t\t\t\t\t\tkolona++;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tcont2 = true;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tif (cont1 == true && cont2 == true)\n\t\t\t\t\tkolonar = true;\n\n\t\t\t}\n\n\t\t}\n\n\n\t}",
"public static void dodavanjePutnickogVozila() {\n\t\tString vrstaVozila = \"Putnicko Vozilo\";\n\t\tString regBr = UtillMethod.unosRegBroj();\n\t\tGorivo gorivo = UtillMethod.izabirGoriva();\n\t\tGorivo gorivo2 = UtillMethod.izabirGorivaOpet(gorivo);\n\t\tint brServisa = 1;\n\t\tdouble potrosnja100 = UtillMethod.unesiteDoublePotrosnja();\n\t\tSystem.out.println(\"Unesite broj km koje je vozilo preslo:\");\n\t\tdouble predjeno = UtillMethod.unesiteBroj();\n\t\tdouble preServisa = 10000;\n\t\tdouble cenaServisa = 8000;\n\t\tSystem.out.println(\"Unesite cenu vozila za jedan dan:\");\n\t\tdouble cenaDan = UtillMethod.unesiteBroj();\n\t\tSystem.out.println(\"Unesite broj sedista u vozilu:\");\n\t\tint brSedist = UtillMethod.unesiteInt();\n\t\tSystem.out.println(\"Unesite broj vrata vozila:\");\n\t\tint brVrata = UtillMethod.unesiteInt();\n\t\tboolean vozObrisano = false;\n\t\tArrayList<Gorivo> gorivaVozila = new ArrayList<Gorivo>();\n\t\tgorivaVozila.add(gorivo);\n\t\tif(gorivo2!=Main.nista) {\n\t\t\tgorivaVozila.add(gorivo2);\n\t\t}\n\t\tArrayList<Servis> servisiNadVozilom = new ArrayList<Servis>();\n\t\tPutnickoVozilo vozilo = new PutnickoVozilo(vrstaVozila, regBr, gorivaVozila, brServisa, potrosnja100, predjeno,\n\t\t\t\tpreServisa, cenaServisa, cenaDan, brSedist, brVrata, vozObrisano, servisiNadVozilom);\n\t\tUtillMethod.prviServis(vozilo, predjeno);\n\t\tMain.getVozilaAll().add(vozilo);\n\t\tSystem.out.println(\"Novo vozilo je uspesno dodato u sistem!\");\n\t\tSystem.out.println(\"---------------------------------------\");\n\t}",
"void rozpiszKontraktyPart2NoEV(int index,float wolumenHandlu, float sumaKupna,float sumaSprzedazy )\n\t{\n\t\tArrayList<Prosument> listaProsumentowTrue =listaProsumentowWrap.getListaProsumentow();\n\t\t\n\n\t\tint a=0;\n\t\twhile (a<listaProsumentowTrue.size())\n\t\t{\n\t\t\t\t\t\t\n\t\t\t// ustala bianrke kupuj\n\t\t\t// ustala clakowita sprzedaz (jako consumption)\n\t\t\t//ustala calkowite kupno (jako generacje)\n\t\t\tDayData constrainMarker = new DayData();\n\t\t\t\n\t\t\tArrayList<Point> L1\t=listaFunkcjiUzytecznosci.get(a);\n\t\t\t\n\t\t\t//energia jaka zadeklarowal prosument ze sprzeda/kupi\n\t\t\tfloat energia = L1.get(index).getIloscEnergiiDoKupienia();\n\t\t\t\n\t\t\tif (energia>0)\n\t\t\t{\n\t\t\t\tfloat iloscEnergiiDoKupienia = energia/sumaKupna*wolumenHandlu;\n\t\t\t\t\n\t\t\t\tconstrainMarker.setKupuj(1);\n\t\t\t\tconstrainMarker.setGeneration(iloscEnergiiDoKupienia);\n\t\t\t\t\n\t\t\t\trynekHistory.ustawBetaDlaWynikowHandlu(iloscEnergiiDoKupienia,a);\t\t\t\t\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tfloat iloscEnergiiDoSprzedania = energia/sumaSprzedazy*wolumenHandlu;\n\n\t\t\t\t\n\t\t\t\tconstrainMarker.setKupuj(0);\n\t\t\t\tconstrainMarker.setConsumption(iloscEnergiiDoSprzedania);\n\t\t\t\t\n\t\t\t\trynekHistory.ustawBetaDlaWynikowHandlu(iloscEnergiiDoSprzedania,a);\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\tArrayList<Float> priceVector = priceVectorsList.get(priceVectorsList.size()-1);\n\t\t\t\n\t\t\t//poinformuj prosumenta o wyniakch handlu i dostosuj go do wynikow\n\t\t\tlistaProsumentowTrue.get(a).getKontrakt(priceVector,constrainMarker);\n\t\t\t\n\t\t\ta++;\n\t\t}\n\t}",
"private String vylozZvieraZVozidla() {\r\n if (zoo.getPracovneVozidlo() == null) {\r\n return \"Pracovne vozidlo nie je pristavene\";\r\n }\r\n\r\n Integer pozicia = MojeMetody.vlozInt(\"Vloz index zvierata\");\r\n if (pozicia == null) return \"\";\r\n\r\n try {\r\n Zivocich ziv = zoo.vylozZivocicha(pozicia-1);\r\n if (ziv == null) {\r\n return \"Zviera c. \" + pozicia + \" nie je na vozidle\\n\\t\";\r\n }\r\n zoo.pridajZivocicha(ziv);\r\n return \"Zviera \" + ziv\r\n + \"\\n\\tbolo vylozene z prepravneho vozidla\";\r\n } catch (ClassCastException exCC) {\r\n return \"Zviera c. \" + pozicia + \" nie je na vozidle\\n\\t\";\r\n } catch (Exception ex) {\r\n return \"Neznama chyba:\\n\\t\" + ex;\r\n }\r\n }",
"public void stampajSpisak() {\n\t\t\n\t\tif (prviFilm != null) {\n\t\t\t\n\t\t\tFilm tekuciFilm = prviFilm;\n\t\t\tint count = 0;\n\t\t\t\n\t\t\tSystem.out.println(\"Filmovi: \");\n\t\t\t\n\t\t\twhile (tekuciFilm != null) {\n\t\t\t\t\n\t\t\t\tcount++;\n\t\t\t\t\n\t\t\t\tSystem.out.println(\n\t\t\t\t\t\"Film #\" + count + \": '\" + tekuciFilm.naziv + \"'\");\n\t\t\t\t\n\t\t\t\tif (tekuciFilm.sadrzaj == null) {\n\t\t\t\t\tSystem.out.println(\"\\tNema unetih glumaca.\");\n\t\t\t\t} else {\n\t\t\t\t\tGlumac tekuciGlumac = tekuciFilm.sadrzaj;\n\t\t\t\t\t\n\t\t\t\t\twhile (tekuciGlumac != null) {\n\t\t\t\t\t\tSystem.out.println(\"\\t\" + tekuciGlumac);\n\t\t\t\t\t\ttekuciGlumac = tekuciGlumac.veza;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\ttekuciFilm = tekuciFilm.veza;\n\t\t\t}\n\t\t\t\n\t\t} else {\n\t\t\tSystem.out.println(\"Spisak je prazan.\");\n\t\t}\n\t}",
"public void skratiListu() {\n if (!jePrazna()) {\n int n = Svetovid.in.readInt(\"Unesite broj elemenata za skracivanje: \");\n obrniListu(); //Zato sto se trazi odsecanje poslednjih n elemenata\n while (prvi != null && n > 0) {\n prvi = prvi.veza;\n n--;\n }\n obrniListu(); //Vraca listu u prvobitni redosled\n }\n }",
"private void obsluga_pilek()\n {\n if (liczba_pilek > 0)\n {\n i++;\n if (i%50==0)\n {\n p.add(new Pilka(w.getPolozenie_x(), w.getPolozenie_y(), getWidth(), getHeight(), rozmiar_pilki));\n liczba_pilek--;\n }\n }\n }",
"public void ordenaPontos(){\r\n\t\tloja.ordenaPontos();\r\n\t}",
"private void pintarMesa() {\n try {\n mesa = ImageIO.read(new File(\"src/imagenes/Mesa.jpg\")).getScaledInstance(1600, 1300, Image.SCALE_SMOOTH);\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"private boolean pomjeri(int direkcija) {\t\r\n\t\t/**\r\n\t\t * Atribut predstavlja zadnje polje u smjeru direkcije u redu ili koloni (zavisno od toga da li je\r\n\t\t * pomjeranje horizontalno ili vertikalno).\r\n\t\t */\r\n\t\tint pocetna;\r\n\t\t/**\r\n\t\t * Atribut govori u kojem smjeru se pomjera trenutnaPozicija (smjer je suprotan direkciji poteza).\r\n\t\t */\r\n\t\tint pomak;\r\n\t\t/**\r\n\t\t * Atribut predstavlja prvo prazno polje na koje se moze pomjeriti iduce neprazno polje.\r\n\t\t */\r\n\t\tint trenutnaPozicija;\r\n\t\t/**\r\n\t\t * Atribut se postavlja na true ukoliko dodje do nekog pomjeranja (promjene u odnosu na prijasnje stanje tabele).\r\n\t\t */\r\n\t\tboolean bilo_promjene = false;\r\n\t\t\r\n\t\t// pomjeranje desno i lijevo\r\n\t\tif(direkcija == 1 || direkcija == 2) {\r\n\t\t\tpocetna = 6 - 3*direkcija; // pocetna je ili 3 ili 0\r\n\t\t\tpomak = 2*direkcija - 3; // pomak je ili -1 ili 1\r\n\t\t\ttrenutnaPozicija = pocetna;\r\n\t\t\t\r\n\t\t\t// ovaj dio vrsi samo pomjeranje polja\r\n\t\t\tfor(int i = 0 ; i < 4 ; i++) {\r\n\t\t\t\tfor(int j = pocetna ; j != pocetna + 4 * pomak ; j += pomak) {\r\n\t\t\t\t\tif(tabela[i][trenutnaPozicija] != 0) // ukoliko se na pocetku desi da to polje nije slobodno\r\n\t\t\t\t\t\ttrenutnaPozicija += pomak;\r\n\t\t\t\t\telse if (tabela[i][j] != 0) { // pomjeri to polje u smjeru direkcija\r\n\t\t\t\t\t\ttabela[i][trenutnaPozicija] = tabela[i][j];\r\n\t\t\t\t\t\ttabela[i][j] = 0;\r\n\t\t\t\t\t\ttrenutnaPozicija += pomak;\r\n\t\t\t\t\t\tbilo_promjene = true;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\ttrenutnaPozicija = pocetna;\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\t// pomjeranje gore i dole\r\n\t\telse {\r\n\t\t\tpocetna = direkcija; // pocetna je ili 3 ili 0\r\n\t\t\tpomak = 1 - (2*direkcija)/3; // pomak je ili -1 ili 1\r\n\t\t\ttrenutnaPozicija = pocetna;\r\n\t\t\t\r\n\t\t\t// ovaj dio vrsi samo pomjeranje polja\r\n\t\t\tfor(int j = 0 ; j < 4 ; j++) {\r\n\t\t\t\tfor(int i = pocetna ; i != pocetna + 4 * pomak ; i += pomak) {\r\n\t\t\t\t\tif(tabela[trenutnaPozicija][j] != 0) // ukoliko se na pocetku desi da to polje nije slobodno\r\n\t\t\t\t\t\ttrenutnaPozicija += pomak;\r\n\t\t\t\t\telse if (tabela[i][j] != 0) { // pomjeri to polje u smjeru direkcija\r\n\t\t\t\t\t\ttabela[trenutnaPozicija][j] = tabela[i][j];\r\n\t\t\t\t\t\ttabela[i][j] = 0;\r\n\t\t\t\t\t\ttrenutnaPozicija += pomak;\r\n\t\t\t\t\t\tbilo_promjene = true;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\ttrenutnaPozicija = pocetna;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn bilo_promjene;\r\n\t}",
"public void naplnVrcholy() {\r\n System.out.println(\"Zadajte pocet vrcholov: \");\r\n pocetVrcholov = skener.nextInt();\r\n for (int i=0; i < pocetVrcholov; i++) {\r\n nekonecno = (int)(Double.POSITIVE_INFINITY);\r\n if(i==0) { //pre prvy vrchol potrebujeme nastavit vzdialenost 0 \r\n String menoVrcholu = Character.toString((char)(i+65)); //pretipovanie int na String, z i=0 dostanem A\r\n Vrchol vrchol = new Vrchol(menoVrcholu, 0, \"\"); //vrcholu nastavim vzdialenost a vrcholPrichodu \r\n vrcholy.add(vrchol);\r\n } else { //ostatne budu mat nekonecno alebo v tomto pripade 9999 (lebo tuto hodnotu v mensich grafoch nepresiahnem)\r\n String menoVrcholu = Character.toString((char)(i+65)); //pretipovanie int na String, z i=0 dostanem A\r\n Vrchol vrchol = new Vrchol(menoVrcholu,nekonecno, \"\"); //vrcholu nastavim vzdialenost a vrcholPrichodu \r\n vrcholy.add(vrchol);\r\n }\r\n }\r\n }",
"public static void proveraServisa() {\n\t\tSystem.out.println(\"Unesite redni broj vozila za koje racunate vreme sledeceg servisa:\");\n\t\tUtillMethod.izlistavanjeVozila();\n\t\tint redniBroj = UtillMethod.unesiteInt();\n\t\tif (redniBroj < Main.getVozilaAll().size()) {\n\t\t\tif (!Main.getVozilaAll().get(redniBroj).isVozObrisano()) {\n\t\t\t\tUtillMethod.proveraServisaVozila(Main.getVozilaAll().get(redniBroj));\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"Ovo vozilo je obrisano i ne moze da se koristi!\");\n\t\t\t}\n\t\t} else {\n\t\t\tSystem.out.println(\"Uneli ste pogresan redni broj!\");\n\t\t}\n\t}",
"private static void izpisiNavodila() {\n System.err.println(\"java ... [<datoteka.png>] [<sirina>x<visina>]\");\n System.err.println();\n System.err.println(\"java ...\");\n System.err.println(\" sliko nariše v okno velikosti 800 krat 600\");\n System.err.println();\n System.err.println(\"java ... 640x480\");\n System.err.println(\" sliko nariše v okno velikosti 640 krat 480\");\n System.err.println();\n System.err.println(\"java ... primer.png\");\n System.err.println(\" izdela sliko primer.png velikosti 800 krat 600\");\n System.err.println();\n System.err.println(\"java ... primer.png 640x480\");\n System.err.println(\" izdela sliko primer.png velikosti 640 krat 480\");\n }",
"private void getArquivo()\n {\n /*** Obtem o conteudo do pacote através do diretorio ***/\n File file = new File(caminho_origem);\n if (file.isFile())\n {\n try\n {\n /*** Lê o pacote e põe em um array de bytes ***/\n DataInputStream diStream = new DataInputStream(new FileInputStream(file));\n long len = (int) file.length();\n if (len > Utils.tamanho_maximo_arquivo)\n {\n System.out.println(Utils.prefixo_cliente + Utils.arquivo_muito_grande);\n System.exit(0);\n }\n Float numero_pacotes_ = ((float)len / Utils.tamanho_util_pacote);\n int numero_pacotes = numero_pacotes_.intValue();\n int ultimo_pacote = (int) len - (Utils.tamanho_util_pacote * numero_pacotes);\n int read = 0;\n /***\n 1500\n fileBytes[1500]\n p[512]\n p[512]\n p[476]len - (512 * numero_pacotes.intValue())\n ***/\n byte[] fileBytes = new byte[(int)len];\n while (read < fileBytes.length)\n {\n fileBytes[read] = diStream.readByte();\n read++;\n }\n int i = 0;\n int pacotes_feitos = 0;\n while ( pacotes_feitos < numero_pacotes)\n {\n byte[] mini_pacote = new byte[Utils.tamanho_util_pacote];\n for (int k = 0; k < Utils.tamanho_util_pacote; k++)\n {\n mini_pacote[k] = fileBytes[i];\n i++;\n }\n Pacote pacote_ = new Pacote();\n pacote_.setConteudo(mini_pacote);\n this.pacotes.add(pacote_);\n pacotes_feitos++;\n }\n byte[] ultimo_mini_pacote = new byte[ultimo_pacote];\n int ultimo_indice = ultimo_mini_pacote.length;\n for (int j = 0; j < ultimo_mini_pacote.length; j++)\n {\n ultimo_mini_pacote[j] = fileBytes[i];\n i++;\n }\n byte[] ultimo_mini_pacote2 = new byte[512];\n System.arraycopy(ultimo_mini_pacote, 0, ultimo_mini_pacote2, 0, ultimo_mini_pacote.length);\n for(int h = ultimo_indice; h < 512; h++ ) ultimo_mini_pacote2[h] = \" \".getBytes()[0];\n Pacote pacote_ = new Pacote();\n pacote_.setConteudo(ultimo_mini_pacote2);\n this.pacotes.add(pacote_);\n this.janela = new HashMap<>();\n for (int iterator = 0; iterator < this.pacotes.size(); iterator++) janela.put(iterator, new Estado());\n } catch (Exception e)\n {\n System.out.println(Utils.prefixo_cliente + Utils.erro_na_leitura);\n System.exit(0);\n }\n } else\n {\n System.out.println(Utils.prefixo_cliente + Utils.arquivo_inexistente);\n System.exit(0);\n }\n }",
"private Punto getPuntoPriorizado(Punto puntoini, List<Punto> puntos ){\n\t\t\n\t\tPunto puntopriorizado = null;\n\t\t// calculamos la heuristica de distancias a los demas puntos\n\t\tfor (Punto punto : puntos) {\n\t\t\tif( (puntoini!=null && punto!=null) && !puntoini.equals(punto) ){\n\t\t\t\tdouble d = Geometria.distanciaDeCoordenadas(puntoini, punto);\n\t\t\t\tpunto.getDatos().put(\"distanci\", d);\n\t\t\t}\n\t\t}\n\t\t\n\t\t// ordenamos por las heuristicas definidad en la clase comparator\n\t\t// hora atencion, prioridad, urgencia, distancia\n\t\tCollections.sort(puntos, new PuntoHeuristicaComparator1());\n\t\tSystem.out.println(\"### mostrando las heuristicas #####\");\n\t\tmostratPuntosHeuristica(puntos);\n\t\n\t\tif( puntos!=null && puntos.size()>0){\n\t\t\tpuntopriorizado = puntos.get(0);\n\t\t}\n\t\t\n\t\t/*Punto pa = null ;\n\t\tfor (Punto p : puntos) {\n\t\t\tif(pa!=null){\n\t\t\t\tString key = p.getDatos().toString();\n\t\t\t\tString keya = pa.getDatos().toString();\n\t\t\t\tif(!key.equals(keya)){\n\t\t\t\t\tpuntopriorizado = p;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t}\n\t\t\tpa = p ;\n\t\t}*/\n\n\t\treturn puntopriorizado;\n\t}",
"private void aumentarPilha() {\n this.pilhaMovimentos++;\n }",
"public Leiho4ZerbitzuGehigarriak(Ostatua hartutakoOstatua, double prezioTot, Date dataSartze, Date dataIrtetze,\r\n\t\t\tint logelaTot, int pertsonaKop) {\r\n\t\tsetIconImage(Toolkit.getDefaultToolkit().getImage(\".\\\\Argazkiak\\\\logoa.png\"));\r\n\t\tgetContentPane().setLayout(null);\r\n\t\tthis.setBounds(350, 50, 600, 600);\r\n\t\tthis.setResizable(false); // neurketak ez aldatzeko\r\n\t\tthis.setSize(new Dimension(600, 600));\r\n\t\tthis.setTitle(\"Airour ostatu bilatzailea\");\r\n\t\tprezioTot2 = prezioTot;\r\n\t\t// botoiak\r\n\t\tbtn_next.addActionListener(new ActionListener() {\r\n\t\t\t@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\r\n\t\t\t\tMetodoakLeihoAldaketa.bostgarrenLeihoa(hartutakoOstatua, prezioTot2, dataSartze, dataIrtetze, logelaTot,\r\n\t\t\t\t\t\tpertsonaKop, cboxPentsioa.getSelectedItem() + \"\", zerbitzuArray, gosaria);\r\n\r\n\t\t\t\tdispose();\r\n\t\t\t}\r\n\t\t});\r\n\t\tbtn_next.setBounds(423, 508, 122, 32);\r\n\t\tbtn_next.setFont(new Font(\"Tahoma\", Font.ITALIC, 16));\r\n\t\tbtn_next.setBackground(Color.LIGHT_GRAY);\r\n\t\tbtn_next.setForeground(Color.RED);\r\n\t\tgetContentPane().add(btn_next);\r\n\r\n\t\tbtn_prev.addActionListener(new ActionListener() {\r\n\t\t\t@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\t// System.out.println(hartutakoOstatua.getOstatuMota());\r\n\t\t\t\tif (hartutakoOstatua.getOstatuMota().equals(\"H\"))\r\n\t\t\t\t\tMetodoakLeihoAldaketa.hirugarrenLeihoaHotelak(hartutakoOstatua, dataSartze, dataIrtetze);\r\n\t\t\t\telse\r\n\t\t\t\t\tMetodoakLeihoAldaketa.hirugarrenLeihoaEtxeak(hartutakoOstatua, prezioTot, dataIrtetze, dataIrtetze);\r\n\t\t\t\tdispose();\r\n\t\t\t}\r\n\t\t});\r\n\t\tbtn_prev.setBounds(38, 508, 107, 32);\r\n\t\tbtn_prev.setFont(new Font(\"Tahoma\", Font.ITALIC, 16));\r\n\t\tbtn_prev.setForeground(Color.RED);\r\n\t\tbtn_prev.setBackground(Color.LIGHT_GRAY);\r\n\t\tgetContentPane().add(btn_prev);\r\n\r\n\t\trestart.addActionListener(new ActionListener() {\r\n\t\t\t@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tMetodoakLeihoAldaketa.lehenengoLeihoa();\r\n\t\t\t\tdispose();\r\n\t\t\t}\r\n\t\t});\r\n\t\trestart.setBounds(245, 508, 72, 32);\r\n\t\trestart.setForeground(Color.RED);\r\n\t\trestart.setBackground(Color.LIGHT_GRAY);\r\n\t\tgetContentPane().add(restart);\r\n\r\n\t\t// panela\r\n\t\tlblIzena.setText(hartutakoOstatua.getIzena());\r\n\t\tlblIzena.setHorizontalAlignment(SwingConstants.CENTER);\r\n\t\tlblIzena.setFont(new Font(\"Verdana\", Font.BOLD | Font.ITALIC, 21));\r\n\t\tlblIzena.setBounds(0, 13, 594, 32);\r\n\t\tgetContentPane().add(lblIzena);\r\n\r\n\t\tlblLogelak.setFont(new Font(\"Tahoma\", Font.PLAIN, 15));\r\n\t\tlblLogelak.setBounds(210, 114, 72, 25);\r\n\t\tgetContentPane().add(lblLogelak);\r\n\r\n\t\ttxtLogelak = new JTextField();\r\n\t\ttxtLogelak.setFont(new Font(\"Tahoma\", Font.PLAIN, 15));\r\n\t\ttxtLogelak.setEditable(false);\r\n\t\ttxtLogelak.setText(logelaTot + \"\");\r\n\t\ttxtLogelak.setBounds(285, 116, 32, 20);\r\n\t\ttxtLogelak.setColumns(10);\r\n\t\tgetContentPane().add(txtLogelak);\r\n\r\n\t\tlblPentsioa.setFont(new Font(\"Tahoma\", Font.PLAIN, 15));\r\n\t\tlblPentsioa.setBounds(210, 165, 72, 14);\r\n\t\tif (!hartutakoOstatua.getOstatuMota().equals(\"H\"))\r\n\t\t\tlblPentsioa.setVisible(false);\r\n\t\tgetContentPane().add(lblPentsioa);\r\n\r\n\t\tcboxPentsioa.setFont(new Font(\"Tahoma\", Font.PLAIN, 15));\r\n\t\tcboxPentsioa.addItem(\"Pentsiorik ez\");\r\n\t\tcboxPentsioa.addItem(\"Erdia\");\r\n\t\tcboxPentsioa.addItem(\"Osoa\");\r\n\t\tcboxPentsioa.setBounds(285, 162, 111, 20);\r\n\t\tgetContentPane().add(cboxPentsioa);\r\n\t\tif (!hartutakoOstatua.getOstatuMota().equals(\"H\"))\r\n\t\t\tcboxPentsioa.setVisible(false);\r\n\r\n\t\tcboxPentsioa.addActionListener(new ActionListener() {\r\n\t\t\t@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tint gauak = (int) ((dataIrtetze.getTime() - dataSartze.getTime()) / 86400000);\r\n\r\n\t\t\t\tif (cboxPentsioa.getSelectedItem().equals(\"Pentsiorik ez\")) {\r\n\t\t\t\t\tprezioTot2 = prezioTot2 - pentsioPrez;\r\n\t\t\t\t\tpentsioPrez = 0;\r\n\t\t\t\t} else if (cboxPentsioa.getSelectedItem().equals(\"Erdia\")) {\r\n\t\t\t\t\tprezioTot2 = prezioTot2 - pentsioPrez;\r\n\t\t\t\t\tpentsioPrez = 5 * gauak;\r\n\t\t\t\t\tprezioTot2 = prezioTot2 + pentsioPrez;\r\n\t\t\t\t} else if (cboxPentsioa.getSelectedItem().equals(\"Osoa\")) {\r\n\t\t\t\t\tprezioTot2 = prezioTot2 - pentsioPrez;\r\n\t\t\t\t\tpentsioPrez = 10 * gauak;\r\n\t\t\t\t\tprezioTot2 = prezioTot2 + pentsioPrez;\r\n\t\t\t\t}\r\n\t\t\t\ttxtPrezioa.setText(prezioTot2 + \" €\");\r\n\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tchckbxGosaria.setFont(new Font(\"Tahoma\", Font.PLAIN, 15));\r\n\t\tchckbxGosaria.setBounds(245, 201, 97, 23);\r\n\t\tchckbxGosaria.addActionListener(new ActionListener() {\r\n\t\t\t@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tint gauak = (int) ((dataIrtetze.getTime() - dataSartze.getTime()) / 86400000);\r\n\t\t\t\tdouble gosariPrezioa = 3 * gauak;\r\n\t\t\t\tif (chckbxGosaria.isSelected()) {\r\n\t\t\t\t\tprezioTot2 = prezioTot2 + gosariPrezioa;\r\n\t\t\t\t\tgosaria = true;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tgosaria = false;\r\n\t\t\t\t\tprezioTot2 = prezioTot2 - gosariPrezioa;\r\n\t\t\t\t}\r\n\t\t\t\ttxtPrezioa.setText(prezioTot2 + \" €\");\r\n\t\t\t}\r\n\t\t});\r\n\t\tgetContentPane().add(chckbxGosaria);\r\n\r\n\t\tlblZerbitzuak.setFont(new Font(\"Verdana\", Font.BOLD, 16));\r\n\t\tlblZerbitzuak.setBounds(51, 244, 230, 25);\r\n\t\tgetContentPane().add(lblZerbitzuak);\r\n\r\n\t\t// gehigarriak\r\n\t\tzerbitzuArray = MetodoakKontsultak.zerbitzuakOstatuanMet(hartutakoOstatua);\r\n\r\n\t\tmodelo.addColumn(\"Izena:\");\r\n\t\tmodelo.addColumn(\"Prezio gehigarria:\");\r\n\t\tmodelo.addColumn(\"Hartuta:\");\r\n\r\n\t\t// tabla datuak\r\n\t\ttable = new JTable(modelo);\r\n\t\ttable.setShowVerticalLines(false);\r\n\t\ttable.setBorder(new LineBorder(new Color(0, 0, 0)));\r\n\t\ttable.setFont(new Font(\"Verdana\", Font.PLAIN, 14));\r\n\r\n\t\ttable.getColumnModel().getColumn(0).setPreferredWidth(150);\r\n\t\ttable.getColumnModel().getColumn(1).setPreferredWidth(150);\r\n\t\ttable.getColumnModel().getColumn(1).setPreferredWidth(150);\r\n\r\n\t\ttable.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);\r\n\t\ttable.getTableHeader().setResizingAllowed(false);\r\n\t\ttable.setRowHeight(32);\r\n\t\ttable.setBackground(Color.LIGHT_GRAY);\r\n\t\ttable.setBounds(24, 152, 544, 42);\r\n\t\ttable.getTableHeader().setFont(new Font(\"Verdana\", Font.BOLD, 15));\r\n\t\ttable.getTableHeader().setReorderingAllowed(false);\r\n\t\tgetContentPane().add(table);\r\n\r\n\t\ttable.addMouseListener(new java.awt.event.MouseAdapter() {\r\n\t\t\tpublic void mousePressed(MouseEvent me) {\r\n\t\t\t\tif (me.getClickCount() == 1) {\r\n\t\t\t\t\ti = 1;\r\n\t\t\t\t\tif (table.getValueAt(table.getSelectedRow(), 2).equals(\"Ez\"))\r\n\t\t\t\t\t\ti = 1;\r\n\t\t\t\t\telse\r\n\t\t\t\t\t\ti = 2;\r\n\t\t\t\t\tif (i == 1) {\r\n\t\t\t\t\t\ttable.setValueAt(\"Bai\", table.getSelectedRow(), 2);\r\n\t\t\t\t\t\tprezioTot2 = prezioTot2 + zerbitzuArray.get(table.getSelectedRow()).getPrezioa();\r\n\t\t\t\t\t\tzerbitzuArray.get(table.getSelectedRow()).setHartuta(\"Bai\");\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif (i == 2) {\r\n\t\t\t\t\t\ttable.setValueAt(\"Ez\", table.getSelectedRow(), 2);\r\n\t\t\t\t\t\tprezioTot2 = prezioTot2 - zerbitzuArray.get(table.getSelectedRow()).getPrezioa();\r\n\t\t\t\t\t\tzerbitzuArray.get(table.getSelectedRow()).setHartuta(\"Ez\");\r\n\t\t\t\t\t}\r\n\t\t\t\t\ttxtPrezioa.setText(prezioTot2 + \" €\");\r\n\t\t\t\t} else {\r\n\t\t\t\t\t\ti = 1;\r\n\t\t\t\t\t\tif (table.getValueAt(table.getSelectedRow(), 2).equals(\"Ez\"))\r\n\t\t\t\t\t\t\ti = 1;\r\n\t\t\t\t\t\telse\r\n\t\t\t\t\t\t\ti = 2;\r\n\t\t\t\t\t\tif (i == 1) {\r\n\t\t\t\t\t\t\ttable.setValueAt(\"Bai\", table.getSelectedRow(), 2);\r\n\t\t\t\t\t\t\tprezioTot2 = prezioTot2 + zerbitzuArray.get(table.getSelectedRow()).getPrezioa();\r\n\t\t\t\t\t\t\tzerbitzuArray.get(table.getSelectedRow()).setHartuta(\"Bai\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif (i == 2) {\r\n\t\t\t\t\t\t\ttable.setValueAt(\"Ez\", table.getSelectedRow(), 2);\r\n\t\t\t\t\t\t\tprezioTot2 = prezioTot2 - zerbitzuArray.get(table.getSelectedRow()).getPrezioa();\r\n\t\t\t\t\t\t\tzerbitzuArray.get(table.getSelectedRow()).setHartuta(\"Ez\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\ttxtPrezioa.setText(prezioTot2 + \" €\");\r\n\t\t\t\t\t\r\n\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tscrollPane = new JScrollPane(table);\r\n\t\tscrollPane.setViewportBorder(null);\r\n\t\tscrollPane.setBounds(20, 282, 562, 188);\r\n\r\n\t\tgetContentPane().add(scrollPane);\r\n\r\n\t\tfor (HartutakoOstatuarenZerbitzuak zerb : zerbitzuArray) {\r\n\t\t\tarray[0] = zerb.getIzena();\r\n\t\t\tarray[1] = zerb.getPrezioa() + \" €\";\r\n\t\t\tarray[2] = \"Ez\";\r\n\t\t\tmodelo.addRow(array);\r\n\t\t}\r\n\t\ttable.setModel(modelo);\r\n\r\n\t\tlblPrezioa.setFont(new Font(\"Tahoma\", Font.PLAIN, 16));\r\n\t\tlblPrezioa.setBounds(210, 72, 63, 14);\r\n\t\tgetContentPane().add(lblPrezioa);\r\n\r\n\t\ttxtPrezioa = new JTextField();\r\n\t\ttxtPrezioa.setFont(new Font(\"Tahoma\", Font.PLAIN, 15));\r\n\t\ttxtPrezioa.setText(prezioTot2 + \" €\");\r\n\t\ttxtPrezioa.setEditable(false);\r\n\t\ttxtPrezioa.setBounds(274, 70, 136, 20);\r\n\t\ttxtPrezioa.setColumns(10);\r\n\t\tgetContentPane().add(txtPrezioa);\r\n\r\n\t}",
"@Override\n\tpublic void crearNuevaPoblacion() {\n\t\t/* Nos quedamos con los mejores individuos. Del resto, cruzamos la mitad, los mejores,\n\t\t * y el resto los borramos.*/\n\t\tList<IIndividuo> poblacion2 = new ArrayList<>();\n\t\tint numFijos = (int) (poblacion.size()/2);\n\t\t/* Incluimos el 50%, los mejores */\n\t\tpoblacion2.addAll(this.poblacion.subList(0, numFijos));\n\t\t\n\t\t/* De los mejores, mezclamos la primera mitad \n\t\t * con todos, juntandolos de forma aleatoria */\n\t\tList<IIndividuo> temp = poblacion.subList(0, numFijos+1);\n\t\tfor(int i = 0; i < temp.size()/2; i++) {\n\t\t\tint j;\n\t\t\tdo {\n\t\t\t\tj = Individuo.aleatNum(0, temp.size()-1);\n\t\t\t}while(j != i);\n\t\t\t\n\t\t\ttry {\n\t\t\t\tpoblacion2.addAll(cruce(temp.get(i), temp.get(j)));\n\t\t\t} catch (CruceNuloException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\t\n\t\t//this.poblacion.clear();\n\t\tthis.poblacion = poblacion2;\n\t}",
"private Zivocich vytvorZivocicha() {\r\n final String[] zFarba = {\"cervena\", \"zelena\", \"modra\", \"zlta\", \"zlto-zelena\"};\r\n Zivocich zviera = null;\r\n double kolkoVazi = 0.0;\r\n\r\n //-- Vygenerujeme zviera\r\n int vygenerovane = 1 + generator.nextInt(4); //cislo <1,4>\r\n\r\n switch (vygenerovane) {\r\n case 1: //blcha \r\n double kolkoDoskoci=3 * generator.nextDouble() ; //cislo <0;2.99>\r\n double kolkoVyskoci=3 * generator.nextDouble() ; //cislo <0;2.99>\r\n zviera=new Blcha(6,kolkoDoskoci,kolkoVyskoci);\r\n break;\r\n case 2: //simpanz\r\n kolkoVazi=3 + (97 * generator.nextDouble()); //cislo <3;99.9>\r\n boolean cviceny;\r\n cviceny=generator.nextBoolean(); \r\n zviera=new Simpanz(kolkoVazi,cviceny);\r\n break;\r\n case 3: //papagaj\r\n kolkoVazi = 0.1 + (5*generator.nextDouble()); // cislo <0.1; 6>\r\n String farba = zFarba[generator.nextInt(5)]; // farba zo zoznamu\r\n zviera = new Papagaj(\"Ara\", 2, kolkoVazi, farba); \r\n break;\r\n case 4: //slon\r\n kolkoVazi=20 + (480*generator.nextDouble()); //cislo <20;500> \r\n int pocet=generator.nextInt(50); //pocet zubov bude <0,49>\r\n zviera=new Slon(kolkoVazi,pocet);\r\n break;\r\n } //------------------------------------------------------------- switch --\r\n return zviera;\r\n }",
"boolean sprawdz_przegrana(){\n for(int i=0;i<figura_jakas.getWspolzedne_figorki().size();i++)\n if(sprawdz_kolizje_z_innymi_klockami(0))\n return true;\n return false;\n }",
"private static int zamijeniDvijeKarte(int[] spil) {\n\t\tint prva =randomKarta (spil);\n\t\tint druga = randomKarta (spil);\n\t\tzamijeni (spil, prva, druga);\n\t\t\n\t\treturn spil, prva, druga;\n\t}",
"private void pojedi (int i, int j) {\n\t\trezultat++;\n\t\tthis.zmija.add(0, new Cvor(i,j));\n\t\tthis.dodajZmiju();\n\t\tthis.dodajHranu();\n\t}",
"public void pobierzukladprzegladRZiSBO() {\r\n if (uklad.getUklad() == null) {\r\n uklad = ukladBRDAO.findukladBRPodatnikRokPodstawowy(wpisView.getPodatnikObiekt(), wpisView.getRokWpisuSt());\r\n }\r\n List<PozycjaRZiSBilans> pozycje = UkladBRBean.pobierzpozycje(pozycjaRZiSDAO, pozycjaBilansDAO, uklad, \"\", \"r\");\r\n UkladBRBean.czyscPozycje(pozycje);\r\n rootProjektRZiS.getChildren().clear();\r\n List<StronaWiersza> zapisy = StronaWierszaBean.pobraniezapisowwynikoweBO(stronaWierszaDAO, wpisView);\r\n try {\r\n PozycjaRZiSFKBean.ustawRoota(rootProjektRZiS, pozycje, zapisy);\r\n level = PozycjaRZiSFKBean.ustawLevel(rootProjektRZiS, pozycje);\r\n Msg.msg(\"i\", \"Pobrano układ \");\r\n } catch (Exception e) {\r\n E.e(e);\r\n rootProjektRZiS.getChildren().clear();\r\n Msg.msg(\"e\", e.getLocalizedMessage());\r\n }\r\n }",
"public void obrniListu() {\n if (prvi != null && prvi.veza != null) {\n Element preth = null;\n Element tek = prvi;\n \n while (tek != null) {\n Element sled = tek.veza;\n \n tek.veza = preth;\n preth = tek;\n tek = sled;\n }\n prvi = preth;\n }\n }",
"public static void dodavanjeTeretnogVozila() {\n\t\tString vrstaVozila = \"Teretno Vozilo\";\n\t\tString regBr = UtillMethod.unosRegBroj();\n\t\tGorivo gorivo = UtillMethod.izabirGoriva();\n\t\tGorivo gorivo2 = UtillMethod.izabirGorivaOpet(gorivo);\n\t\tint brServisa = 1;\n\t\tdouble potrosnja = UtillMethod.unesiteDoublePotrosnja();\n\t\tSystem.out.println(\"Unesite broj km koje je vozilo preslo:\");\n\t\tdouble predjeno = UtillMethod.unesiteBroj();\n\t\tdouble preServisa = 20000;\n\t\tdouble cenaServisa = 10000;\n\t\tSystem.out.println(\"Unesite cenu vozila za jedan dan:\");\n\t\tdouble cenaDan = UtillMethod.unesiteBroj();\n\t\tSystem.out.println(\"Unesite broj sedista u vozilu:\");\n\t\tint brSedista = UtillMethod.unesiteInt();\n\t\tSystem.out.println(\"Unesite broj vrata vozila:\");\n\t\tint brVrata = UtillMethod.unesiteInt();\n\t\tboolean vozObrisano = false;\n\t\tArrayList<Gorivo> gorivaVozila = new ArrayList<Gorivo>();\n\t\tgorivaVozila.add(gorivo);\n\t\tif(gorivo2!=Main.nista) {\n\t\t\tgorivaVozila.add(gorivo2);\n\t\t}\n\t\tArrayList<Servis> servisiNadVozilom = new ArrayList<Servis>();\n\t\tSystem.out.println(\"Unesite maximalnu masu koje vozilo moze da prenosi u KG !!\");\n\t\tint maxMasauKg = UtillMethod.unesiteInt();\n\t\tSystem.out.println(\"Unesite maximalnu visinu u m:\");\n\t\tdouble visinauM = UtillMethod.unesiteBroj();\n\t\tTeretnaVozila vozilo = new TeretnaVozila(vrstaVozila, regBr, gorivaVozila, brServisa, potrosnja, predjeno, preServisa,\n\t\t\t\tcenaServisa, cenaDan, brSedista, brVrata, vozObrisano, servisiNadVozilom, maxMasauKg, visinauM);\n\t\tUtillMethod.prviServis(vozilo, predjeno);\n\t\tMain.getVozilaAll().add(vozilo);\n\t\tSystem.out.println(\"Novo vozilo je uspesno dodato u sistem!\");\n\t\tSystem.out.println(\"--------------------------------------\");\n\t}",
"public void setPolaznik(Polaznik polaznik) {\n this.polaznik = polaznik;\n }",
"public ListaBrojeva izdvojElmenteNaNeparnimPozicijama() {\n if (!jePrazna()) {\n ListaBrojeva neparni = new ListaBrojeva();\n \n Element neparniKraj = null;\n Element tek = prvi;\n Element preth = null;\n int br = 0;\n \n while (tek.veza != null) {\n preth = tek;\n tek = tek.veza;\n if (br % 2 == 0) {\n preth.veza = tek.veza;\n if (neparni.prvi == null) {\n neparni.prvi = tek;\n tek.veza = null;\n neparniKraj = tek;\n }\n else {\n neparniKraj.veza = tek;\n tek.veza = null;\n neparniKraj = tek;\n }\n tek = preth;\n }\n br++;\n }\n return neparni;\n }\n return null;\n }",
"private Pares(){\n\t\t\tprimero=null;\n\t\t\tsegundo=null;\n\t\t\tdistancia=0;\n\t\t}",
"public void dodajZmijuPocetak() {\n\t\tthis.zmija.add(new Cvor(1,4));\n\t\tthis.zmija.add(new Cvor(1,3));\n\t\tthis.zmija.add(new Cvor(1,2));\n\t\t\n\t\tint i = this.zmija.get(0).i;\n\t\tint j = this.zmija.get(0).j;\n\t\tthis.tabla[i][j] = 'O';\n\t\t\n\t\tfor (int k = 1; k < this.zmija.size(); k++) {\n\t\t\ti = this.zmija.get(k).i;\n\t\t\tj = this.zmija.get(k).j;\n\t\t\tthis.tabla[i][j] = 'o';\n\t\t}\t\n\t}",
"private void laskeMatkojenPituus() {\n matkojenpituus = 0.0;\n\n for (Matka m : matkat) {\n matkojenpituus += m.getKuljettumatka();\n }\n\n }",
"private static void kapazitaetPruefen(){\n\t\tList<OeffentlichesVerkehrsmittel> loev = new ArrayList<OeffentlichesVerkehrsmittel>();\n\t\t\n\t\tLinienBus b1 = new LinienBus();\n\t\tFaehrschiff f1 = new Faehrschiff();\n\t\tLinienBus b2 = new LinienBus();\t\n\t\t\n\t\tloev.add(b1);\n\t\tloev.add(b2);\n\t\tloev.add(f1);\n\t\t\n\t\tint zaehlung = 500;\n\t\tboolean ausreichend = kapazitaetPruefen(loev,500);\n\t\tp(\"Kapazitaet ausreichend? \" + ausreichend);\n\t\t\n\t}",
"private void sonucYazdir() {\n\t\talinanPuan = (int)(((float)alinanPuan / (float)toplamPuan) * 100);\n\t\tSystem.out.println(\"\\nSınav Bitti..!\\n\" + soruSayisi + \" sorudan \" + dogruSayaci + \" tanesine\"\n\t\t\t\t\t\t+ \" doğru cevap verdiniz.\\nPuan: \" + alinanPuan + \"/\" + toplamPuan);\n\t}",
"private boolean spoji(int direkcija) {\r\n\t\tint pocetna;\r\n\t\tint pomak;\r\n\t\tboolean spojeno = false;\r\n\t\tboolean bilo_promjene = false;\r\n\t\t\r\n\t\t// pomjeranje desno i lijevo\r\n\t\tif(direkcija == 1 || direkcija == 2) {\r\n\t\t\tpocetna = 6 - 3*direkcija; // pocetna je ili 3 ili 0\r\n\t\t\tpomak = 2*direkcija - 3; // pomak je ili -1 ili 1\r\n\t\t\t\r\n\t\t\t// ovaj dio vrsi samo spajanje polja\r\n\t\t\tfor(int i = 0 ; i < 4 ; i++)\r\n\t\t\t\tfor(int j = pocetna ; j != pocetna + 3 * pomak ; j += pomak)\r\n\t\t\t\t\tif(spojeno)\r\n\t\t\t\t\t\tspojeno = false;\r\n\t\t\t\t\telse if(tabela[i][j] != 0 && tabela[i][j] == tabela[i][j + pomak]) {\r\n\t\t\t\t\t\ttabela[i][j] = 2 * tabela[i][j];\r\n\t\t\t\t\t\tif(!igrajPoslijePobjede && tabela[i][j] == 8) // ako je igrac pobijedio (po prvi put, tj. nije bio nastavak igre)\r\n\t\t\t\t\t\t\tpobjeda = true;\r\n\t\t\t\t\t\ttabela[i][j + pomak] = 0;\r\n\t\t\t\t\t\tspojeno = true;\r\n\t\t\t\t\t\tbilo_promjene = true;\r\n\t\t\t\t\t\tbroj_slobodnih++;\r\n\t\t\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\t// pomjeranje gore i dole\r\n\t\telse {\r\n\t\t\tpocetna = direkcija; // pocetna je ili 3 ili 0\r\n\t\t\tpomak = 1 - (2*direkcija)/3; // pomak je ili -1 ili 1\r\n\t\t\t\r\n\t\t\t// ovaj dio vrsi samo spajanje polja\r\n\t\t\tfor(int j = 0 ; j < 4 ; j++) {\r\n\t\t\t\tfor(int i = pocetna ; i != pocetna + 3 * pomak ; i += pomak)\r\n\t\t\t\t\tif(spojeno)\r\n\t\t\t\t\t\tspojeno = false;\r\n\t\t\t\t\telse if(tabela[i][j] != 0 && tabela[i][j] == tabela[i + pomak][j]) {\r\n\t\t\t\t\t\ttabela[i][j] = 2 * tabela[i][j];\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tif(!igrajPoslijePobjede && tabela[i][j] == 8) // ako je igrac pobijedio (po prvi put, tj. nije bio nastavak igre)\r\n\t\t\t\t\t\t\tpobjeda = true;\r\n\t\t\t\t\t\ttabela[i + pomak][j] = 0;\r\n\t\t\t\t\t\tspojeno = true;\r\n\t\t\t\t\t\tbilo_promjene = true;\r\n\t\t\t\t\t\tbroj_slobodnih++;\r\n\t\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn bilo_promjene;\r\n\t}",
"public static Card dohvatiPozadinu(){\r\n\t\tFile dir = new File(\"images\");\r\n\t\tFile[] lista = dir.listFiles();\r\n\t\tCard kartaPozadine = null;\r\n\t\tfor (File file : lista){\r\n\t\t\tif (file.isFile()){\r\n\t\t\t\tif (file.toString().contains(\"pozadina_0.gif\")){\r\n\t\t\t\t\tString[] niz = file.getName().toString().split(\"\\\\.\");\r\n\t\t\t\t\tkartaPozadine =new Card(new ImageIcon(file.toString()),0);\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn kartaPozadine;\r\n\t}",
"public void zpracujObjednavky()\n\t{\n\t\tint idtmp = 0;\n\t\tfloat delkaCesty = 0;\n\t\t\n\t\tif (this.objednavky.isEmpty())\n\t\t{\n\t\t\treturn ;\n\t\t}\n\t\t\n\t\tNakladak nakl = (Nakladak) getVolneAuto();\n\t\t\n\t\tnakl.poloha[0] = this.poloha[0];\n\t\tnakl.poloha[1] = this.poloha[1];\n\t\tObjednavka ob = this.objednavky.remove();\n\n\t\t/*System.out.println();\n\t\tSystem.out.println(\"Objednavka hospody:\" + ob.id + \" se zpracuje pres trasu: \");\n\t\t */\n\t\tdelkaCesty += vyberCestu(this.id, ob.id, nakl);\n\t\t\n\t\twhile(nakl.pridejObjednavku(ob))\n\t\t{\n\t\t\tidtmp = ob.id;\n\t\t\t\n\t\t\tob = vyberObjednavku(ob.id);\n\t\t\tif (ob == null)\n\t\t\t{\n\t\t\t\tob=nakl.objednavky.getLast();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tobjednavky.remove(ob);\n\t\t\t\n\t\t\tdelkaCesty += vyberCestu(idtmp, ob.id, nakl);\n\t\t\t\n\t\t\tif((nakl.objem > 24)||(13-Simulator.getCas().hodina)*(nakl.RYCHLOST) + 100 < delkaCesty){\n\t\t\t\t//System.out.println(\"Nakladak ma \"+nakl.objem);\n\t\t\t\tnakl.kDispozici = false;\n\t\t\t\t//System.out.println(\"Auto jede \" + delkaCesty + \"km\");\n\t\t\t\tbreak;\t\t\n\t\t\t}\n\t\t\t/*\n\t\t\tif((Simulator.getCas().hodina > 12) && (delkaCesty > 80) ){\n\t\t\t\t//System.out.println(\"Nakladak ma \"+nakl.objem);\n\t\t\t\tnakl.kDispozici = false;\n\t\t\t\t//System.out.println(\"Auto jede \" + delkaCesty + \"km\");\n\t\t\t\tbreak;\t\t\n\t\t\t}\n\t\t\t\n\t\t\tif((Simulator.getCas().hodina > 9) && (delkaCesty > 130) ){\n\t\t\t\t//System.out.println(\"Nakladak ma \"+nakl.objem);\n\t\t\t\tnakl.kDispozici = false;\n\t\t\t\t//System.out.println(\"Auto jede \" + delkaCesty + \"km\");\n\t\t\t\tbreak;\t\t\n\t\t\t}*/\n\t\t\t\n\t\t}\n\t\t\n\t\t\n\t\t//cesta zpatky\n\t\tvyberCestu(ob.id, this.id, nakl);\n\t\tif (nakl.objem >= 1)\n\t\t{\n\t\t\tnakl.kDispozici = false;\n\t\t\tnakl.jede = true;\n\t\t\t//vytvoreni nove polozky seznamu pro statistiku\n\t\t\tnakl.novaStatCesta();\n\t\t}\n\t\telse\n\t\t{\n\t\t\tnakl.resetCesta();\n\t\t}\n\t}",
"private String sprawdzRozszerzenie(String adresPliku) {\r\n\t\tString[] tablica = adresPliku.split(\"\\\\.\");\r\n\r\n\t\treturn tablica[tablica.length - 1];\r\n\t}",
"private static PohonAVL seimbangkanKembaliKiri (PohonAVL p) {\n\t// Write your codes in here\n //...\n // Write your codes in here\n if(tinggi(p.kiri) <= (tinggi(p.kanan)+1)) return p;\n else{\n PohonAVL ki = p.kiri;\n PohonAVL ka = p.kanan;\n PohonAVL kiki = ki.kiri;\n PohonAVL kika = ki.kanan;\n if(tinggi(kiki) > tinggi(ka))\n return sisipkanTinggiSeimbang(0, p)\n }\n }",
"@Test\r\n\tpublic void testGetPeliBalorazioNormalizatuak() {\n\t\tBektorea bek = BalorazioenMatrizea.getBalorazioenMatrizea().getPeliBalorazioNormalizatuak(p1.getPelikulaId());\r\n\t\tassertTrue(bek.luzera() == 2);\r\n\t\tassertTrue(bek.getBalioa(e1.getId()) == 0.5);\r\n\t\tassertTrue(bek.getBalioa(e3.getId()) == -2.75);\r\n\t\tassertFalse(bek.bektoreanDago(e2.getId()));\r\n\t\t\r\n\t\t// p2 pelikula baloratu duten erabiltzaileen ID-ak eta balorazio normalizautak (Baztezbestekoa erabiliz) itzuli\r\n\t\tbek = BalorazioenMatrizea.getBalorazioenMatrizea().getPeliBalorazioNormalizatuak(p2.getPelikulaId());\r\n\t\tassertTrue(bek.luzera() == 4);\r\n\t\tassertTrue(bek.getBalioa(e1.getId()) == -0.5);\r\n\t\tassertTrue(bek.getBalioa(e2.getId()) == 0.5);\r\n\t\tassertTrue(bek.getBalioa(e3.getId()) == 0.25);\r\n\t\tassertTrue(bek.getBalioa(e4.getId()) == 0);\r\n\t\t\r\n\t\t// p3 pelikula baloratu duten erabiltzaileen ID-ak eta balorazio normalizautak (Baztezbestekoa erabiliz) itzuli\r\n\t\tbek = BalorazioenMatrizea.getBalorazioenMatrizea().getPeliBalorazioNormalizatuak(p3.getPelikulaId());\r\n\t\tassertTrue(bek.luzera() == 2);\r\n\t\tassertTrue(bek.getBalioa(e2.getId()) == -0.5);\r\n\t\tassertTrue(bek.getBalioa(e3.getId()) == 0.75);\r\n\t\tassertFalse(bek.bektoreanDago(e1.getId()));\r\n\t\t\r\n\t\t// p4 pelikula baloratu duten erabiltzaileen ID-ak eta balorazio normalizautak (Baztezbestekoa erabiliz) itzuli\r\n\t\tbek = BalorazioenMatrizea.getBalorazioenMatrizea().getPeliBalorazioNormalizatuak(p4.getPelikulaId());\r\n\t\tassertTrue(bek.luzera() == 2);\r\n\t\tassertTrue(bek.getBalioa(e1.getId()) == 0);\r\n\t\tassertTrue(bek.getBalioa(e3.getId()) == 1.75);\r\n\t\tassertFalse(bek.bektoreanDago(e2.getId()));\r\n\t\t\r\n\t\t\r\n\t\t// Normalizazioa Zsore erabiliz egiten dugu\r\n\t\t\r\n\t\tBalorazioenMatrizea.getBalorazioenMatrizea().erreseteatu();\r\n\t\tNormalizazioKalkulua.getNormalizazioKalkulua().normalizazioMotaAldatu(new Zscore());\r\n\t\t\r\n\t\tDecimalFormat df = new DecimalFormat(\"#.0000\");\r\n\t\t\r\n\t\t// p1 pelikula baloratu duten erabiltzaileen ID-ak eta balorazio normalizautak (Zscore erabiliz) itzuli\r\n\t\tbek = BalorazioenMatrizea.getBalorazioenMatrizea().getPeliBalorazioNormalizatuak(p1.getPelikulaId());\r\n\t\tassertTrue(bek.luzera() == 2);\r\n\t\tassertTrue(df.format(bek.getBalioa(e1.getId())).equals(\"1,2247\"));\r\n\t\tassertTrue(df.format(bek.getBalioa(e3.getId())).equals(\"-1,6398\"));\r\n\t\tassertFalse(bek.bektoreanDago(e2.getId()));\r\n\t\t\r\n\t\t// p2 pelikula baloratu duten erabiltzaileen ID-ak eta balorazio normalizautak (Zscore erabiliz) itzuli\r\n\t\tbek = BalorazioenMatrizea.getBalorazioenMatrizea().getPeliBalorazioNormalizatuak(p2.getPelikulaId());\r\n\t\tassertTrue(bek.luzera() == 4);\r\n\t\tassertTrue(df.format(bek.getBalioa(e1.getId())).equals(\"-1,2247\"));\r\n\t\tassertTrue(bek.getBalioa(e2.getId()) == 1);\r\n\t\tassertTrue(df.format(bek.getBalioa(e3.getId())).equals(\",1491\"));\r\n\t\tassertTrue(bek.getBalioa(e4.getId()) == 0);\r\n\t\t\r\n\t\t// p3 pelikula baloratu duten erabiltzaileen ID-ak eta balorazio normalizautak (Zscore erabiliz) itzuli\r\n\t\tbek = BalorazioenMatrizea.getBalorazioenMatrizea().getPeliBalorazioNormalizatuak(p3.getPelikulaId());\r\n\t\tassertTrue(bek.luzera() == 2);\r\n\t\tassertTrue(bek.getBalioa(e2.getId()) == -1);\r\n\t\tassertTrue(df.format(bek.getBalioa(e3.getId())).equals(\",4472\"));\r\n\t\tassertFalse(bek.bektoreanDago(e1.getId()));\r\n\t\t\r\n\t\t// p4 pelikula baloratu duten erabiltzaileen ID-ak eta balorazio normalizautak (Zscore erabiliz) itzuli\r\n\t\tbek = BalorazioenMatrizea.getBalorazioenMatrizea().getPeliBalorazioNormalizatuak(p4.getPelikulaId());\r\n\t\tassertTrue(bek.luzera() == 2);\r\n\t\tassertTrue(bek.getBalioa(e1.getId()) == 0);\r\n\t\tassertTrue(df.format(bek.getBalioa(e3.getId())).equals(\"1,0435\"));\r\n\t\tassertFalse(bek.bektoreanDago(e2.getId()));\r\n\t\t\r\n\t\tBalorazioenMatrizea.getBalorazioenMatrizea().erreseteatu();\r\n\t\tNormalizazioKalkulua.getNormalizazioKalkulua().normalizazioMotaAldatu(new Batezbestekoa());\r\n\t\t\r\n\t}",
"public static void main(String[] args) {\n\t\tSystem.out.println(\"Unesite tezinu(u gramima) prvog pakovanja: \");\r\n\t\tdouble gram1=provjera();\r\n\t\t\r\n\t\tSystem.out.println(\"Unesite cijenu prvog pakovanja: \");\r\n\t\tdouble km1=provjera();\r\n\r\n\t\tSystem.out.println(\"Unesite tezinu(u gramima) drugog pakovanja: \");\r\n\t\tdouble gram2=provjera();\r\n\r\n\t\tSystem.out.println(\"Unesite cijenu drugog pakovanja: \");\r\n\t\tdouble km2=provjera();\r\n\t\t\r\n\t\t\r\n\t\t//na kraju ih uporedimo i onaj sa manjom ukupnom cijenom je jeftiniji tj povoljniji\r\n\t\tif((km1/gram1)<(km2/gram2)){\r\n\t\t\tSystem.out.println(\"Prvo pakovanje je povoljnije!!!\");\r\n\t\t}else{\r\n\t\t\tSystem.out.println(\"Drugo pakovanje je povoljnije!!!\");\r\n\t\t}\r\n\t\t\r\n\t\tunos.close();\r\n\t}",
"private static PohonAVL seimbangkanKembaliKanan(PohonAVL p) {\n //...\n // Write your codes in here\n }",
"public Proyectil(){\n disparar=false;\n ubicacion= new Rectangle(0,0,ancho,alto);\n try {\n look = ImageIO.read(new File(\"src/Disparo/disparo.png\"));\n } catch (IOException ex) {\n System.out.println(\"error la imagen del proyectil no se encuentra en la ruta por defecto\");\n }\n }",
"public void zapisUrok() {\r\n\r\n\t\taktualnyZostatok = getZostatok() * urokovaSadzba / 100;\r\n\t\tsetVklad(aktualnyZostatok);\r\n\r\n\t}",
"private int generujViacZvierat(int pocet){\r\n int poc = 0;\r\n for (int i = 0; i < pocet; i++) {\r\n if (zoo.pridajZivocicha(vytvorZivocicha())) poc++;\r\n }\r\n return poc;\r\n }",
"ArrayList<Float> pierwszaPredykcja()\n\t{\n\t\tif (Stale.scenariusz<100)\n\t\t{\n\t\t\treturn pierwszaPredykcjaNormal();\n\t\t}\n\t\telse\n\t\t{\n\t\t\t//dla scenariusza testowego cnea predykcji jest ustawiana na 0.30\n\t\t\tArrayList<Float> L1 = new ArrayList<>();\n\t\t\tL1.add(0.30f);\n\t\t\treturn L1;\n\t\t}\n\t}",
"public void stampajPodsjetnik (int mjesec, int godina) throws FileNotFoundException{\r\n\t\t\r\n\t\tboolean imaLiZapisa = false;\r\n\t\t//ucitavanje podataka/zapisa iz fajla\r\n\t\tInOutPodsjetnik podsjetnik = new InOutPodsjetnik();\r\n\t\tpodsjetnik.ucitajPodsjetnik();\r\n\t\tzapisi = podsjetnik.getPodsjetnici();\r\n\t\t//stampanje zaglavlja\r\n\t\tSystem.out.println(\"\\n\\n***************************************************\\n\" \r\n\t\t\t + \"* PODSJETNIK *\\n\"\r\n\t\t\t + \"***************************************************\\n\" );\r\n\t\t\r\n\t\t//prolazak kroz sve zapise\r\n\t\tfor(int i = 0; i < zapisi.size(); i++){\r\n\t\t\t//ako za trazeni mjesec ima zapisa, stampaju se zapisi\r\n\t\t\tif(zapisi.get(i).getMjesec() == mjesec && zapisi.get(i).getGodina() == godina){\r\n\t\t\t\tSystem.out.println(zapisi.get(i).getText());\r\n\t\t\t\timaLiZapisa = true;\r\n\t\t\t}\r\n\t\t\t//ako za trazeni mjesec nema zapisa, stampa se odgovarajuca poruka\r\n\t\t\tif(i == zapisi.size() - 1 && imaLiZapisa == false){\r\n\t\t\t\tSystem.out.println(\"Nema zapisa za ovaj mjesec.\");\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t}",
"@Override\n public void cantidad_Punteria(){\n punteria=69.5+05*nivel+aumentoP;\n }",
"public int getPrecios()\r\n {\r\n for(int i = 0; i < motos.size(); i++)\r\n {\r\n precio_motos += motos.get(i).getCoste();\r\n }\r\n \r\n return precio_motos;\r\n }",
"public static void brisanjeVozila() {\n\t\tint i = 0;\n\t\tfor (Vozilo v : Main.getVozilaAll()) {\n\t\t\tSystem.out.println(i + \"-Vrsta Vozila|\" + v.getVrstaVozila() + \" Registarski broj|\" + v.getRegBR()\n\t\t\t\t\t+ \" Status izbrisanosti vozila|\" + v.isVozObrisano());\n\t\t\ti++;\n\t\t}\n\t\tSystem.out.println(\"----------------------------------------\");\n\t\tSystem.out.println(\"Unesite redni broj vozila koje zelite da izbrisete ili vratite u neobrisano stanje\");\n\t\tint redniBroj = UtillMethod.unesiteInt();\n\t\tif (redniBroj < Main.getVozilaAll().size()) {\n\t\t\tVozilo temp = Main.getVozilaAll().get(redniBroj);\n\t\t\tif (UtillMethod.voziloImaRezervacije(temp)) {\n\t\t\t\tSystem.out.println(\"Ovo vozilo ima aktivne rezervacije i ne moze biti obrisano!\");\n\t\t\t} else {\n\t\t\t\tif (temp.isVozObrisano()) {\n\t\t\t\t\ttemp.setVozObrisano(false);\n\t\t\t\t\tSystem.out.println(\"Vozilo je vraceno u sistem(neobrisano stanje)\");\n\t\t\t\t} else {\n\t\t\t\t\ttemp.setVozObrisano(true);\n\t\t\t\t\tSystem.out.println(\"Vozilo je uspesno izbrisano!\");\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tSystem.out.println(\"Ne postoji vozilo sa tim brojem!\");\n\t\t}\n\t}",
"public ArrayList<ArrayList<Float>> predykcjaCenNaRynkuLokalnym()\n\t{\n\t\tfloat cenaMinimalnaNaRynkuLokalnym= Stale.cenaMinimalnaNaRynkuLokalnym;\n\t\tfloat cenaMaksymalnaNaRynkuLokalnym = Stale.cenaDystrybutoraZewnetrznego;\n\t\t\n\t\t//tu siedzi to rozroznienie czy z generatora czy predykcja z poprzendiej symualcji\n\t\tArrayList<Float> normalnaPredykcja = pierwszaPredykcja();\n\t\tpriceVectorsList.add(normalnaPredykcja);\n\t\t\n\t\tArrayList<ArrayList<Float>> listaPredykcjiCen= new ArrayList<ArrayList<Float>>();\n\t\t\n\t\t\n\t\t//nizsza \n\t\tArrayList<Float> predykcjaZNizszaCena=new ArrayList<Float>(normalnaPredykcja);\t\t\n\t\tArrayList<Float> predykcjaZWyzszaCena=new ArrayList<Float>(normalnaPredykcja);\n\t\t\n\t\tfloat nizszaCena =(normalnaPredykcja.get(0)+cenaMinimalnaNaRynkuLokalnym)/2 ;\n\t\tfloat wyzszaCena=(normalnaPredykcja.get(0)+cenaMaksymalnaNaRynkuLokalnym)/2;\n\t\t\n\t\tpredykcjaZNizszaCena.set(0, nizszaCena);\n\t\tpredykcjaZWyzszaCena.set(0, wyzszaCena);\n\t\t\n\t\tlistaPredykcjiCen.add(predykcjaZNizszaCena);\n\t\tlistaPredykcjiCen.add(normalnaPredykcja);\n\t\tlistaPredykcjiCen.add(predykcjaZWyzszaCena);\n\t\t\n\t\t//reporting - zapisz zadeklarowan cene\n\t\trynekHistory.dodajZadeklarowanaCene(normalnaPredykcja.get(0));\n\t\t\n\t\t\n\t\treturn listaPredykcjiCen;\t\n\t}",
"public void uradiPotez(int direkcija) {\r\n\t\tboolean promjena1 = pomjeri(direkcija);\r\n\t\tboolean promjena2 = spoji(direkcija);\r\n\t\tif(promjena1 || promjena2) { //ukoliko nije bilo promjene ni u pomjeranju ni spajanju, ne generise novo polje\r\n\t\t\tpomjeri(direkcija);\r\n\t\t\tgenerisiPolje();\r\n\t\t}\r\n\t}",
"public void rellenaImagen()\n {\n rellenaDatos(\"1\",\"Samsung\", \"cv3\", \"blanco\" , \"50\", 1200,2);\n rellenaDatos(\"2\",\"Samsung\", \"cv5\", \"negro\" , \"30\", 600,5);\n }",
"public void aktualisiere(PhysicalObject po){\n\t\tthis.po=po;\n\t\tKipper kipperObj= (Kipper) po;\t\t\n\t\tx = kipperObj.getX();\n\t\ty = kipperObj.getY();\n\t\tbreite=kipperObj.getBreite();\n\t\tlaenge=kipperObj.getLaenge();\n\t\twinkel=kipperObj.getWinkel();\n\t\tlkwfahrt=kipperObj.isFahrt();\t\t\n\t\tif (kipperObj.getMaterialListe().size() == 1) {\n\t\t\tmatRatio=kipperObj.getMaterialListe().get(0).getVolumen()/kipperObj.getMaxVolumen();\t\n\t\t\tif(matRatio > 1)\n\t\t\t\tmatRatio=1;\n\t\t}\t\t\n\t}",
"void novyVrchol(String klic){\n\t\tVrchol pom = new Vrchol(klic,'B');\n\t\t\n\t\tvrchP[pocet] = pom;\n\t\tpocet++;\n\t\n\t}",
"public void odgovorStoritve(String odgovor) {\n\n JSONArray jsonArray = null;\n\n try {\n jsonArray = new JSONArray(odgovor);\n\n\n if (jsonArray != null) {\n for (int i=0; i < jsonArray.length(); i++){\n JSONObject explrObject = jsonArray.getJSONObject(i);\n rezultati.add(explrObject);\n }\n }\n } catch (Exception e) {\n Log.d(\"izpis\", \"neki ni bilo v redu\" + e);\n }\n\n // default izpise highscore za easy game\n izpisiRezultate(1);\n }",
"private void cargarPreescripcionMedica() {\r\n\t\tMap<String, Object> parametros = new HashMap<String, Object>();\r\n\t\tparametros.put(\"nro_identificacion\",\r\n\t\t\t\tadmision_seleccionada.getNro_identificacion());\r\n\t\tparametros.put(\"nro_ingreso\", admision_seleccionada.getNro_ingreso());\r\n\t\tparametros.put(\"estado\", admision_seleccionada.getEstado());\r\n\t\tparametros.put(\"codigo_administradora\",\r\n\t\t\t\tadmision_seleccionada.getCodigo_administradora());\r\n\t\tparametros.put(\"id_plan\", admision_seleccionada.getId_plan());\r\n\t\tparametros.put(\"tipo_hc\", \"\");\r\n\t\tparametros.put(\"ocultaValor\", \"\");\r\n\t\tparametros.put(\"admision\", admision_seleccionada);\r\n\t\ttabboxContendor.abrirPaginaTabDemanda(false, \"/pages/receta_rips.zul\",\r\n\t\t\t\t\"PRESCRIPCION MEDICA\", parametros);\r\n\t}",
"public Papagaj(String meno, int pocetKoncatin, double vaha, String farba) {\r\n super(\"Papagaj\", \"Voliera\", pocetKoncatin); // volanie konstruktora predka\r\n this.meno = meno; // nastavenie nazvu zivocicha\r\n this.farba = farba; // nastavenie farby\r\n this.vaha = vaha; // nastavenie vahy\r\n }",
"private void cargarFichaLepra_inicio() {\r\n\t\tMap<String, Object> parametros = new HashMap<String, Object>();\r\n\t\tparametros.put(\"nro_identificacion\",\r\n\t\t\t\tadmision_seleccionada.getNro_identificacion());\r\n\t\tparametros.put(\"nro_ingreso\", admision_seleccionada.getNro_ingreso());\r\n\t\tparametros.put(\"estado\", admision_seleccionada.getEstado());\r\n\t\tparametros.put(\"codigo_administradora\",\r\n\t\t\t\tadmision_seleccionada.getCodigo_administradora());\r\n\t\tparametros.put(\"id_plan\", admision_seleccionada.getId_plan());\r\n\t\tparametros.put(IVias_ingreso.ADMISION_PACIENTE, admision_seleccionada);\r\n\t\tparametros.put(IVias_ingreso.OPCION_VIA_INGRESO,\r\n\t\t\t\tOpciones_via_ingreso.REGISTRAR);\r\n\t\ttabboxContendor.abrirPaginaTabDemanda(false,\r\n\t\t\t\tIRutas_historia.PAGINA_INICIO_TRATAMIENTO_LEPRA,\r\n\t\t\t\tIRutas_historia.LABEL_INICIO_TRATAMIENTO_LEPRA, parametros);\r\n\t}",
"ArrayList<Float> pierwszaPredykcjaNormal()\n\t{\n\t\tif (Stale.cenyZGeneratora)\n\t\t{\n\t\t\tArrayList<Float> listaSumarycznejGeneracji = listaProsumentowWrap.getListaSumarycznejGeneracji(LokalneCentrum.getTimeIndex());\n\t\t\tArrayList<Float> listaSumarycznejKonsumpcji = listaProsumentowWrap.getListaSumarycznejKonsumpcji(LokalneCentrum.getTimeIndex());\n\n\t\t\treturn predictPrice(listaSumarycznejGeneracji,listaSumarycznejKonsumpcji);\n\t\t}\n\t\telse\n\t\t{\n\t\t\tArrayList<Float> proposedPriceVector = pierwszaPredykcjaWezPredykcjeZListy();\n\t\t\t\n\t\t\t//jezeli brakuje elementow w plikyu do pelnej predykcji an horyzont czasowy to uuzplenij dnaymi z modelu\n\t\t\tif (proposedPriceVector.size()<Stale.horyzontCzasowy)\n\t\t\t{\n\t\t\t\tArrayList<Float> listaSumarycznejGeneracji = listaProsumentowWrap.getListaSumarycznejGeneracji(LokalneCentrum.getTimeIndex());\n\t\t\t\tArrayList<Float> listaSumarycznejKonsumpcji = listaProsumentowWrap.getListaSumarycznejKonsumpcji(LokalneCentrum.getTimeIndex());\n\t\t\t\tArrayList<Float> cenyZmodelu =predictPrice(listaSumarycznejGeneracji,listaSumarycznejKonsumpcji);\n\t\t\t\t\n\t\t\t\tproposedPriceVector = polaczListy(proposedPriceVector, cenyZmodelu);\n\t\t\t\t\n\t\t\t\tif (proposedPriceVector.size()!=Stale.horyzontCzasowy)\n\t\t\t\t{\n\t\t\t\t\tgetInput(\"ERROR in pierwszaPredykcjaNormal\");\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\treturn proposedPriceVector;\n\t\t\t//podaj predykcje taka jak wynika z podanego pliku\n\t\t\t//getInput(\"Fill this part out - wczytaj rpedykcje z pliku!\");\n\t\t\t//return new ArrayList<Float>();\n\t\t}\n\t}",
"public void pagarSaidaDaPrisao() throws Exception {\n if (listaJogadoresNaPrisao.contains(listaJogadores.get(jogadorAtual()).getNome())) {\n listaJogadoresNaPrisao.remove(listaJogadores.get(jogadorAtual()).getNome());\n listaJogadores.get(jogadorAtual()).setTentativasSairDaPrisao(0);\n listaJogadores.get(jogadorAtual()).retirarDinheiro(50);\n\n } else {\n print(\"\\tTentou tirar \" + listaJogadores.get(jogadorAtual()).getNome());\n throw new Exception(\"player is not on jail\");\n }\n\n this.pagouPrisaoRecentemente = false;\n }",
"public JefeAvion() {\r\n\t\tsuper(2000, 2, new ImageIcon(url), 1275, 636);\r\n\t\trn = new Random();\r\n\t\tx = 400 - defaultWidth/2;\r\n\t\ty = - defaultHeight;\r\n\t\tdelay = 2;\r\n\t\tint cantTorretasDobles = 8;\r\n\t\tint cantTorretasSimples = 3;\r\n\t\tint cantTorretasInvisibles = 12;\r\n\t\tint cantTorretasGrandes = 6;\r\n\t\t\r\n\t\tString boundsDouble = \"/ProyectoX/img/Enemigo/JefeAvion/posicionesTorretasDobles.txt\";\r\n\t\tString boundsSimple = \"/ProyectoX/img/Enemigo/JefeAvion/posicionesTorretasSimples.txt\";\r\n\t\tString boundsInvisible = \"/ProyectoX/img/Enemigo/JefeAvion/posicionesTorretasInvisibles.txt\";\r\n\t\tString boundsGrande = \"/ProyectoX/img/Enemigo/JefeAvion/posicionesTorretasGrandes.txt\";\r\n\t\t\r\n\t\tinit = System.currentTimeMillis();\r\n\t\tcargarArchivoTorretas(boundsDouble, new FabricaTorretasDobles(), cantTorretasDobles);\r\n\t\tcargarArchivoTorretas(boundsSimple, new FabricaTorretasSimples(), cantTorretasSimples);\r\n\t\tcargarArchivoTorretas(boundsInvisible,new FabricaTorretasInvisibles(), cantTorretasInvisibles);\r\n\t\tcargarArchivoTorretas(boundsGrande,new FabricaTorretasGrandes(), cantTorretasGrandes);\r\n\t\tpuntaje = 500;\r\n\t\tsetearParametrosDefecto(2000, 2, 1275, 636);\r\n\t\t\r\n\t\t\r\n\t}",
"public static List<Object> czytaniePogody(){\r\n Object[] elementyPogody = new Object[3];\r\n elementyPogody[0]=0;\r\n elementyPogody[1]=0;\r\n elementyPogody[2]=null;\r\n String line;\r\n OdczytZPliku plik = new OdczytZPliku();\r\n InputStream zawartosc = plik.pobierzZPliku(\"bazapogod.txt\");\r\n try (InputStreamReader odczyt = new InputStreamReader(zawartosc, StandardCharsets.UTF_8);\r\n BufferedReader czytaj = new BufferedReader(odczyt)) {\r\n String numerWStringu = String.valueOf(elementyPogody[0] = (int) (Math.random() * 4));\r\n while ((line = czytaj.readLine()) != null){\r\n if (line.equals(numerWStringu)){\r\n elementyPogody[1] = Integer.parseInt(czytaj.readLine());\r\n elementyPogody[2] = czytaj.readLine();\r\n System.out.println(\"\\nPogoda na dzis: \" + elementyPogody[2]);\r\n break;\r\n }\r\n else {\r\n for (int i = 0; i < 2; i++) {\r\n line = czytaj.readLine();\r\n }\r\n }\r\n }\r\n } catch (Exception ignored) {\r\n }\r\n return List.of(elementyPogody);\r\n }",
"public static void pocetniMeni() {\r\n\t\tSystem.out\r\n\t\t\t\t.println(\"***********************************************\\n\"\r\n\t\t\t\t\t\t+ \"Unesite 1 ako zelite vidjeti kalendar(za dati mjesec i godinu)\\n\"\r\n\t\t\t\t\t\t+ \"Unesite 2 za pregled podsjetnika za dati mjesec i godinu\\n\"\r\n\t\t\t\t\t\t+ \"Unesite 3 da pregledate podsjetnik za datu godinu\\n\"\r\n\t\t\t\t\t\t+ \"Unesite 4 ako zelite da pogledate sve podsjetnike!\\n\"\r\n\t\t\t\t\t\t+ \"Unesite 5 ako zelite da upisete neki podsjetnik!\\n\"\r\n\t\t\t\t\t\t+ \":::::::::::::::::::::::::::::::::::::::::::::::\");\r\n\t}",
"public void primerPunto() {\n\t\tp = new PuntoAltaPrecision(this.xCoord, this.yCoord);\n\t\t// Indicamos la trayectoria por la que va la pelota\n\t\tt = new TrayectoriaRecta(1.7f, p, false);\n\t}",
"private String elaboraIncipit() {\n String testo = VUOTA;\n\n if (usaHeadIncipit) {\n testo += elaboraIncipitSpecifico();\n testo += A_CAPO;\n }// fine del blocco if\n\n return testo;\n }",
"public void sproziRisanje(String[] args) {\n try {\n int wPlatno = PRIVZETA_SIRINA_PLATNA;\n int hPlatno = PRIVZETA_VISINA_PLATNA;\n File datoteka = null;\n\n // obdelaj argumente ukazne vrstice\n for (int i = 0; i < args.length; i++) {\n if (args[i].indexOf(\".\") >= 0) {\n String[] imeKoncnica = args[i].split(\"\\\\.\");\n String koncnica = imeKoncnica[imeKoncnica.length - 1];\n if (!koncnica.equals(\"png\")) {\n throw new IllegalArgumentException(\"Datoteka mora imeti končnico .png\");\n }\n datoteka = new File(args[i]);\n\n } else if (args[i].indexOf(\"x\") >= 0) {\n String[] wh = args[i].split(\"x\");\n wPlatno = Integer.parseInt(wh[0]);\n hPlatno = Integer.parseInt(wh[1]);\n\n } else {\n throw new RuntimeException();\n }\n }\n\n // V odvisnosti od tipa platna ustvari okno in plo\"s\"co oziroma\n // pomnilni\"sko sliko. V primeru izdelave pomnilni\"ske slike\n // pokli\"ci metodo `narisi' in shrani izdelano sliko v datoteko.\n // V primeru izdelave okna pa se bo metoda `narisi' poklicala\n // preko metode paintComponent risalne plo\"s\"ce.\n\n if (datoteka == null) {\n this.ustvariOknoInPlosco(wPlatno, hPlatno);\n } else {\n this.izdelajPNG(wPlatno, hPlatno, datoteka);\n }\n\n } catch (IllegalArgumentException ex) {\n System.err.println(\"====================================\");\n System.err.println(ex.getMessage());\n System.err.println(\"====================================\");\n izpisiNavodila();\n\n } catch (RuntimeException ex) {\n // nekaj je narobe; izpi\"si navodila za uporabo\n izpisiNavodila();\n }\n }",
"private String tulostuksenApu(){\r\n String apu = \"Rivitiedosto: \";\r\n for(int i = 0; i<rivitiedot.length; i++){\r\n apu = apu + i+\": \";\r\n for(int k = 1; k <= rivitiedot[i].getKoko(); k++){\r\n apu = apu + \" \"+rivitiedot[i].get(k);\r\n }\r\n apu = apu + \" \";\r\n }\r\n\r\n return apu;\r\n }",
"public Image meurt() {\n\t\t\tString str;//va contenir le nom de l'image\n\t\t\tImageIcon ico;//nom de la nouvelle instance de la methode ImageIcon\n\t\t\tImage img;//va etre egale a ico, et va retourner l'image voulu\n\t\t\t\n\t\t\tstr = \"/images/bouleDeFeu.png\";\n\t\t\tthis.compteurMort++;//on incremente un compteur\n\t\t\tif(this.compteurMort > 100) {//si le compteur arrive jusqu'a 100, mario meurt, \n\t\t\t\tstr = \"/images/mortDEMario.png\";//donc on change d'image\n\t\t\t\tthis.setY(this.getY() - 1);//fait monter l'image de la mort de mario vers le ciel\n\t\t\t}\n\t\t\tico = new ImageIcon(getClass().getResource(str));\n\t\t\timg = ico.getImage();\n\t\t\treturn img;\n\t\t}",
"@GetMapping(\n\t\t\tvalue=\"/bioskopi/ukloni/{id}\",\n\t\t\tproduces = MediaType.APPLICATION_JSON_VALUE)\n\tpublic ResponseEntity<BioskopDTO> ukloni(@PathVariable(name=\"id\") Long id){/*patvariable dovablja id od bioskopa (this.id iz jsa)*/\n\t\tBioskop b=this.bioskopService.findOne(id);\n\t\tif(b==null) {\n\t\t\treturn new ResponseEntity<>(HttpStatus.NOT_FOUND);\n\t\t}\n\t\t\n\t\tBioskopDTO bioskop=new BioskopDTO(b.getId(), b.getNaziv(), b.getAdresa(), b.getBrojCentrale(), b.getEMail());\n\t\t/*prolazi kroz projekcije sale i sve brise i na kraju obrise tu salu*/\n\t\tSet<Sala> sale=b.getSale();\n\t\tfor (Sala sala : sale) {\n\t\t\tList<Terminski_raspored> projekcije=sala.getProjekcije();\n\t\t\tfor (Terminski_raspored t : projekcije) {\n\t\t\t\tSet<Gledalac> gledaoci=t.getGledaoci_koji_su_rezervisali_film();\n\t\t\t\tfor (Gledalac g : gledaoci) {\n\t\t\t\t\tif(g.getRezervisani_filmovi().contains(t)) {\n\t\t\t\t\t\tg.getRezervisani_filmovi().remove(t);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tSet<Raspored_filmova> rasporedi=t.getRasporedi();\n\t\t\t\tfor(Raspored_filmova r:rasporedi) {\n\t\t\t\t\tthis.raspored_filmovaService.delete(t.getId());\n\t\t\t\t}\n\t\t\t\t//this.terminski_rasporedService.delete(t.getId());\n\t\t\t}\n\t\t\tthis.salaservice.deleteById(sala.getId());\n\t\t}\n\t\tthis.bioskopService.delete(id); \n\t\t\n\t\t\n\t\treturn new ResponseEntity<>(bioskop,HttpStatus.OK);\n\t}",
"public Fund hentArtikel(String u) {\n\t\tp(\"hentArtikel(\"+u+\")\");\n\t\tString vUrl = \"\";\n\t\tArrayList <String> beskrivelser = new ArrayList<>();\n\n\n\t\ttry {\n\t\t\tInputStream is = new URL(\"http://m.tegnsprog.dk/artikler/\"+u+\".html\").openStream();\n\t\t\tis = new BufferedInputStream(is);\n\t\t\tis.mark(1);\n\t\t\tif (is.read() == 0xef) {\n\t\t\t\tis.read();\n\t\t\t\tis.read();\n\n\t\t\t} else {\n\t\t\t\tis.reset();\n\t\t\t}\n\t\t\tp(\"#=#=#=#=#=#=#=#= hentArtikel() =#=#=#=#=#=#=#=#=#=#=#\");\n\t\t\tbyte[] contents = new byte[1024];\n\t\t\tString heleIndholdet = \"\";\n\t\t\tint bytesRead = 0;\n\t\t\t//bytesRead = is.read(contents); //skipper første linie\n\t\t\t//bytesRead = is.read(contents); //skipper anden linie\n\n\t\t\twhile((bytesRead = is.read(contents)) != -1) {\n\t\t\t\tString linie = new String(contents, 0, bytesRead);\n\t\t\t\theleIndholdet += linie;\n\n\n\n\t\t\t}\n\t\t\t\n\t\t\t//p(\"\\nArtikel_______________________________: \"+heleIndholdet);\n\n\n\n\t\t\t//-- Vi finder video-urlen\n\n\t\t\tint startindeks = heleIndholdet.indexOf(\"src=\\\"\");\n\t\t\tString tempUrl = heleIndholdet.substring(startindeks+5);\n\t\t\tint slutIndeks= tempUrl.indexOf(\"\\\" type='video/mp4'>Your browser does not support the video tag.\");\n\t\t\tvUrl = tempUrl.substring(0,slutIndeks);\n\t\t\tp(\"videourl::::::::::::::::::::::::::::::::\"+vUrl);\n\n\t\t\tif (webm) {\n\t\t\t\tint underscore = vUrl.lastIndexOf(\"_\") + 1;\n\t\t\t\tint sidstepunktum = vUrl.lastIndexOf(\".\");\n\n\t\t\t\tString indeksnr = vUrl.substring(underscore, sidstepunktum);\n\t\t\t\tp(\"indeksnr: \" + indeksnr);\n\t\t\t\tvUrl = \"http://m.tegnsprog.dk/video/mobil/t-webm/t_\" + indeksnr + \".webm\";\n\t\t\t\tp(vUrl);\n\t\t\t}\n\n\n\n\t\t\t//-- Vi finder de danske ord\n\n\t\t\tstartindeks = tempUrl.indexOf(\"<TABLE>\");\n\t\t\tslutIndeks = tempUrl.indexOf(\"<TABLE width=\\\"100%\\\">\");\n\t\t\tString tabelDKOrd = tempUrl.substring(startindeks, slutIndeks);\n\t\t\t//p(\"__________min html:\");\n\t\t\t//p(tabelDKOrd);\n\t\t\t//p(\"----------\");\n\t\t\t//dKOrd = tabelDKOrd.replaceAll(\"\\\\/TR><TR\", \"</TR><BR><TR>\").replaceAll(\"\\\\·\\\\;\", \" , \");\n\t\t\tString dKOrd = tabelDKOrd\n\t\t\t\t\t.replaceAll(\"<TABLE>\", \"\")\n\t\t\t\t\t.replaceAll(\"</TD><TD>\", \" \")\n\t\t\t\t\t.replaceAll(\"\\\\·\\\\;\", \" , \")\n\t\t\t\t\t.replaceAll(\"<TABLE/>\", \"\")\n\t\t\t\t\t.replaceAll(\"</TABLE>\", \"\")\n\t\t\t\t\t.replaceAll(\" \", \"\")\n\t\t\t\t\t.replaceAll(\"<TR>\", \"\")\n\t\t\t\t\t.replaceAll(\"<TR style=\\\"vertical-align:top;\\\">\", \"\")\n\t\t\t\t\t.replaceAll(\"</TR>\", \"\")\n\t\t\t\t\t.replaceAll(\"</TD>\", \"ønskernylinie\")\n\t\t\t\t\t.replaceAll(\"<TD>\", \"\")\n\t\t\t\t\t.replaceAll(\"<BR>\",\"\\n\")\n\t\t\t\t.replaceAll(\"<BR/>\",\"\\n\");\n\n\t\t\t//Erstat html-koder for danske vokaler\n\t\t\t//æ: æ\n\t\t\t//ø: ø\n\t\t\t//å: å\n\n\t\t\tdKOrd = dKOrd\n\t\t\t\t\t.replaceAll(\"æ\", \"æ\")\n\t\t\t\t\t.replaceAll(\"ø\", \"ø\")\n\t\t\t\t\t.replaceAll(\"å\", \"å\");\n\n\n\n\n\n\t\t\tbeskrivelser = new ArrayList<String>(Arrays.asList(dKOrd.split(\"ønskernylinie\")));\n\n\n\t\t\tp(\"Efter rens\");\n\t\t\tp(beskrivelser.toString());\n\n\n\n/*\n\t\t\t<HTML>\n\t\t\t\t<video width=\"100%\" autoplay>\n\t\t\t \t\t<source src=\"http://www.tegnsprog.dk/video/t/t_317.mp4\" type='video/mp4'>\n\t\t\t \t\tYour browser does not support the video tag.\n\t\t\t \t</video>\n\t\t\t\t<TABLE>\n\t\t\t\t\t<TR style=\"vertical-align:top;\">\n\t\t\t\t\t\t<TD>1. </TD>\n\t\t\t\t\t\t<TD>brun</TD>\n\t\t\t\t\t</TR>\n\t\t\t\t\t<TR style=\"vertical-align:top;\">\n\t\t\t\t\t\t<TD>2. </TD>\n\t\t\t\t\t\t<TD>kaffe</TD>\n\t\t\t\t\t</TR>\n\t\t\t\t</TABLE>\n\t\t\t\t<TABLE width=\"100%\">\n\t\t\t\t\t<TR>\n\t\t\t\t\t\t<TD>\n\t\t\t\t\t\t\t<A TITLE=\"Åbn den fulde ordbogsartikel i browseren\" href=\"#\" onclick=\"var ref = window.open('http://www.tegnsprog.dk/#|soeg|tegn|386', '_system');\">\n\t\t\t\t\t\t\t<IMG SRC=\"http://www.tegnsprog.dk/billeder/web/logo-mini.png\"/>\n\t\t\t\t\t\t\t\tVis på tegnsprog.dk</A></TD><TD style=\"text-align: right;\">\n\t\t\t\t\t\t\t<A TITLE=\"Gå til toppen\" href=\"#0\">\n\t\t\t\t\t\t\t\t⇧\n\t\t\t\t\t\t\t</A>\n\t\t\t\t\t\t</TD></TR></TABLE></HTML>\n\n\n\t\t\t\t\t\tANDEN VERSION______________________________\n\n\t\t\t\t<TABLE>\n\t\t\t\t\t<TR>\n\t\t\t\t\t\t<TD>\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t</TD>\n\t\t\t\t\t\t<TD>\n\t\t\t\t\t\t\tforan · forrest · føre · komme først\n\t\t\t\t\t\t</TD>\n\t\t\t\t\t</TR>\n\t\t\t\t</TABLE>\n\t\t\t\t<TABLE width=\"100%\"><TR><TD><A TITLE=\"Åbn den fulde ordbogsartikel i browseren\" href=\"#\" onclick=\"var ref = window.open('http://www.tegnsprog.dk/#|soeg|tegn|1000', '_system');\"><IMG SRC=\"http://www.tegnsprog.dk/billeder/web/logo-mini.png\"/>Vis på tegnsprog.dk</A></TD><TD style=\"text-align: right;\"><A TITLE=\"Gå til toppen\" href=\"#0\">⇧</A></TD></TR></TABLE></HTML>\n\n*/\n\t\t} catch (Exception ex) {\n\t\t\tex.printStackTrace();\n\t\t\tp(ex);\n\t\t\tp(ex.getMessage());\n\t\t\tnulNetBeskedFraBraggrund();\n\n\t\t}\n\t\tp(\"hentArtikel færdig\");\n\t\treturn new Fund(Uri.parse(vUrl), beskrivelser);\n\t}",
"public abstract String dohvatiKontakt();",
"public void carroPulando() {\n\t\tpulos++;\n\t\tpulo = (int) (PULO_MAXIMO/10);\n\t\tdistanciaCorrida += pulo;\n\t\tif (distanciaCorrida > distanciaTotalCorrida) {\n\t\t\tdistanciaCorrida = distanciaTotalCorrida;\n\t\t}\n\t}",
"@Override\r\n public void hallarPerimetro() {\r\n this.perimetro = this.ladoA*3;\r\n }",
"public void przestaw(int ktoraRamkaKurwa){ //0 nic, 1 korwin, 2 nosacz\n\n\t\tthis.ktoraRamkaKurwa = ktoraRamkaKurwa;\n\t\tktoraRamka++; \n\t}",
"private String creaElenco() {\n String testoTabella ;\n String riga = CostBio.VUOTO;\n ArrayList listaPagine = new ArrayList();\n ArrayList listaRiga;\n HashMap mappaTavola = new HashMap();\n String cognomeText;\n int num;\n int taglioPagine = Pref.getInt(CostBio.TAGLIO_COGNOMI_PAGINA);\n String tag = \"Persone di cognome \";\n ArrayList titoli = new ArrayList();\n titoli.add(LibWiki.setBold(\"Cognome\"));\n titoli.add(LibWiki.setBold(\"Voci\"));\n\n for (Map.Entry<String, Integer> mappa: mappaCognomi.entrySet()) {\n\n cognomeText = mappa.getKey();\n num = mappa.getValue();\n if (num >= taglioPagine) {\n cognomeText = tag + cognomeText + CostBio.PIPE + cognomeText;\n cognomeText = LibWiki.setQuadre(cognomeText);\n cognomeText = LibWiki.setBold(cognomeText);\n }// end of if cycle\n\n listaRiga = new ArrayList();\n listaRiga.add(cognomeText);\n listaRiga.add(num);\n listaPagine.add(listaRiga);\n\n }// end of for cycle\n mappaTavola.put(Cost.KEY_MAPPA_SORTABLE_BOOLEAN, true);\n mappaTavola.put(Cost.KEY_MAPPA_TITOLI, titoli);\n mappaTavola.put(Cost.KEY_MAPPA_RIGHE_LISTA, listaPagine);\n testoTabella = LibWiki.creaTable(mappaTavola);\n\n return testoTabella;\n }",
"@Override\n protected void elaboraMappaBiografie() {\n if (mappaCognomi == null) {\n mappaCognomi = Cognome.findMappaTaglioListe();\n }// end of if cycle\n }",
"protected void elaboraPagina() {\n testoPagina = VUOTA;\n\n //header\n testoPagina += this.elaboraHead();\n\n //body\n testoPagina += this.elaboraBody();\n\n //footer\n //di fila nella stessa riga, senza ritorno a capo (se inizia con <include>)\n testoPagina += this.elaboraFooter();\n\n //--registra la pagina principale\n if (dimensioniValide()) {\n testoPagina = testoPagina.trim();\n\n if (pref.isBool(FlowCost.USA_DEBUG)) {\n testoPagina = titoloPagina + A_CAPO + testoPagina;\n titoloPagina = PAGINA_PROVA;\n }// end of if cycle\n\n //--nelle sottopagine non eseguo il controllo e le registro sempre (per adesso)\n if (checkPossoRegistrare(titoloPagina, testoPagina) || pref.isBool(FlowCost.USA_DEBUG)) {\n appContext.getBean(AQueryWrite.class, titoloPagina, testoPagina, summary);\n logger.info(\"Registrata la pagina: \" + titoloPagina);\n } else {\n logger.info(\"Non modificata la pagina: \" + titoloPagina);\n }// end of if/else cycle\n\n //--registra eventuali sottopagine\n if (usaBodySottopagine) {\n uploadSottoPagine();\n }// end of if cycle\n }// end of if cycle\n\n }",
"private void esvaziaMensageiro() {\n\t\tMensageiro.arquivo=null;\n\t\tMensageiro.lingua = linguas.indexOf(lingua);\n\t\tMensageiro.linguas=linguas;\n\t\tMensageiro.nomeArquivo=null;\n\t}",
"public static void dodavanjeBicikl() {\n\t\tString vrstaVozila = \"Bicikl\";\n\t\tString regBr = UtillMethod.unosRegBroj();\n\t\tGorivo gorivo = Main.nista;\n\t\tint brServisa = 1;\n\t\tdouble potrosnja100 = 0;\n\t\tSystem.out.println(\"Unesite broj km koje je vozilo preslo:\");\n\t\tdouble predjeno = UtillMethod.unesiteBroj();\n\t\tdouble preServisa = 700;\n\t\tdouble cenaServisa = 5000;\n\t\tSystem.out.println(\"Unesite cenu vozila za jedan dan:\");\n\t\tdouble cenaDan = UtillMethod.unesiteBroj();\n\t\tint brSedist = 1;\n\t\tint brVrata = 0;\n\t\tboolean vozObrisano = false;\n\t\tArrayList<Gorivo> gorivaVozila = new ArrayList<Gorivo>();\n\t\tgorivaVozila.add(gorivo);\n\t\tArrayList<Servis> servisiNadVozilom = new ArrayList<Servis>();\n\t\tBicikl vozilo = new Bicikl(vrstaVozila, regBr, gorivaVozila, brServisa, potrosnja100, predjeno, preServisa,\n\t\t\t\tcenaServisa, cenaDan, brSedist, brVrata, vozObrisano, servisiNadVozilom);\n\t\tUtillMethod.prviServis(vozilo, predjeno);\n\t\tMain.getVozilaAll().add(vozilo);\n\t\tSystem.out.println(\"Novo vozilo je uspesno dodato u sistem!\");\n\t\tSystem.out.println(\"--------------------------------------\");\n\t}",
"protected void uploadSottoPagine() {\n LinkedHashMap<String, LinkedHashMap<String, List<String>>> mappa;\n int numVoci = 0;\n\n for (String key : lista.getSottoPagine().keySet()) {\n mappa = lista.getSottoPagine().get(key);\n numVoci = lista.getMappaLista().getDimParagrafo(key);\n incipitSottopagina = elaboraIncipitSpecificoSottopagina(key);\n listaCorrelate = listaVociCorrelate();\n appContext.getBean(UploadSottoPagina.class, soggetto, key, mappa, typeDidascalia, numVoci, usaParagrafoSize, incipitSottopagina, usaNote, usaVociCorrelate, listaCorrelate);\n }// end of for cycle\n }",
"private static void statistique(){\n\t\tfor(int i = 0; i<7; i++){\n\t\t\tfor(int j = 0; j<7; j++){\n\t\t\t\tfor(int l=0; l<jeu.getJoueurs().length; l++){\n\t\t\t\t\tif(jeu.cases[i][j].getCouleurTapis() == jeu.getJoueurs()[l].getNumJoueur()){\n\t\t\t\t\t\tjeu.getJoueurs()[l].setTapis(jeu.getJoueurs()[l].getTapisRest()+1);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tJoueur j;\n\t\tSystem.out.println(\"// Fin de la partie //\");\n\t\tfor(int i=0; i<jeu.getJoueurs().length; i++) {\n\t\t\tj =jeu.getJoueurs()[i];\n\t\t\tSystem.out.println(\"Joueur \"+ (j.getNumJoueur()+1) + \" a obtenue \"+j.getTapisRest()+j.getMonnaie()+\" points\" );\n\t\t}\n\t}",
"public void estiloAcierto() {\r\n\t\t /**Bea y Jose**/\t\t\r\n \r\n\t}",
"public synchronized void ProvjeriPreuzimanje() {\n dopustenoPreuzimanje = true;\n if (dopustenoPreuzimanje) {\n SveFunkcijeDretve();\n } else {\n //sleep\n }\n }"
] | [
"0.6499141",
"0.64317006",
"0.6390314",
"0.63900906",
"0.6383379",
"0.6381455",
"0.6316342",
"0.6246879",
"0.624404",
"0.6224192",
"0.62200564",
"0.61902493",
"0.61652404",
"0.6132534",
"0.6102973",
"0.60533553",
"0.60270846",
"0.6006011",
"0.59713554",
"0.5960355",
"0.5944815",
"0.59321344",
"0.5931698",
"0.59288967",
"0.5925189",
"0.5921598",
"0.5921313",
"0.58960193",
"0.58935416",
"0.5880483",
"0.5874528",
"0.58744025",
"0.58734345",
"0.58700144",
"0.5869188",
"0.5867202",
"0.58635885",
"0.5861261",
"0.58446956",
"0.58436537",
"0.5842898",
"0.5841369",
"0.5835189",
"0.5830839",
"0.58226645",
"0.5814436",
"0.58085084",
"0.5801021",
"0.5792486",
"0.57870257",
"0.57717735",
"0.5748345",
"0.574631",
"0.5729576",
"0.5725255",
"0.57150877",
"0.57137066",
"0.56966174",
"0.56959444",
"0.5692553",
"0.5690473",
"0.5673688",
"0.5671184",
"0.5662309",
"0.56593037",
"0.5653419",
"0.5647179",
"0.56462",
"0.5645591",
"0.5639684",
"0.5634394",
"0.5632542",
"0.5624878",
"0.5623219",
"0.56213003",
"0.56206673",
"0.56159556",
"0.5609086",
"0.56064355",
"0.5602046",
"0.56008196",
"0.55998665",
"0.559705",
"0.559616",
"0.55775815",
"0.55743057",
"0.55680245",
"0.55675775",
"0.5560149",
"0.5556961",
"0.55558",
"0.55505884",
"0.5550068",
"0.5549452",
"0.55350316",
"0.55334276",
"0.5532562",
"0.55244505",
"0.55233324",
"0.55126196",
"0.5510588"
] | 0.0 | -1 |
Metoda zpracuje co nejvic prijatych objednavek. | public void zpracujObjednavky()
{
int idtmp = 0;
float delkaCesty = 0;
if (this.objednavky.isEmpty())
{
return ;
}
Nakladak nakl = (Nakladak) getVolneAuto();
nakl.poloha[0] = this.poloha[0];
nakl.poloha[1] = this.poloha[1];
Objednavka ob = this.objednavky.remove();
/*System.out.println();
System.out.println("Objednavka hospody:" + ob.id + " se zpracuje pres trasu: ");
*/
delkaCesty += vyberCestu(this.id, ob.id, nakl);
while(nakl.pridejObjednavku(ob))
{
idtmp = ob.id;
ob = vyberObjednavku(ob.id);
if (ob == null)
{
ob=nakl.objednavky.getLast();
break;
}
objednavky.remove(ob);
delkaCesty += vyberCestu(idtmp, ob.id, nakl);
if((nakl.objem > 24)||(13-Simulator.getCas().hodina)*(nakl.RYCHLOST) + 100 < delkaCesty){
//System.out.println("Nakladak ma "+nakl.objem);
nakl.kDispozici = false;
//System.out.println("Auto jede " + delkaCesty + "km");
break;
}
/*
if((Simulator.getCas().hodina > 12) && (delkaCesty > 80) ){
//System.out.println("Nakladak ma "+nakl.objem);
nakl.kDispozici = false;
//System.out.println("Auto jede " + delkaCesty + "km");
break;
}
if((Simulator.getCas().hodina > 9) && (delkaCesty > 130) ){
//System.out.println("Nakladak ma "+nakl.objem);
nakl.kDispozici = false;
//System.out.println("Auto jede " + delkaCesty + "km");
break;
}*/
}
//cesta zpatky
vyberCestu(ob.id, this.id, nakl);
if (nakl.objem >= 1)
{
nakl.kDispozici = false;
nakl.jede = true;
//vytvoreni nove polozky seznamu pro statistiku
nakl.novaStatCesta();
}
else
{
nakl.resetCesta();
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void nastaviIgru() {\r\n\t\t// nastavi igru poslije pobjede\r\n\t\tigrajPoslijePobjede = true;\r\n\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\n\tpublic String getObjetivo() {\n\t\treturn model.getObjetivo();\n\t}",
"public IzvajalecZdravstvenihStoritev() {\n\t}",
"Objet getObjetAlloue();",
"public void ustawPojazdNaPoczatek()\n\t{\n\t\tSciezka pierwszaSc = droga.get(0);\n\t\tfinal double y = 10;\n\t\tpojazd.zmienPozycje(pierwszaSc.getCenterDownX(), y);\n\t}",
"private void poczatkowe_zmienne()\n {\n konfiguracja.loadProperties();\n predkosc_wroga=Integer.parseInt(konfiguracja.properties.getProperty(\"predkosc_wroga\"));\n czas_watku=Integer.parseInt(konfiguracja.properties.getProperty(\"czas_watku\"));\n punkty_poziomu=Integer.parseInt(konfiguracja.properties.getProperty(\"punkty_poziomu\"));\n zmienne_poziomu(poziom);\n }",
"public ObjetoVida getObjeto(){\r\n\t\treturn objeto;\r\n\t}",
"public boolean pobjeda() {\r\n\t\treturn !igrajPoslijePobjede && pobjeda;\t\r\n\t}",
"public void dodajZmijuPocetak() {\n\t\tthis.zmija.add(new Cvor(1,4));\n\t\tthis.zmija.add(new Cvor(1,3));\n\t\tthis.zmija.add(new Cvor(1,2));\n\t\t\n\t\tint i = this.zmija.get(0).i;\n\t\tint j = this.zmija.get(0).j;\n\t\tthis.tabla[i][j] = 'O';\n\t\t\n\t\tfor (int k = 1; k < this.zmija.size(); k++) {\n\t\t\ti = this.zmija.get(k).i;\n\t\t\tj = this.zmija.get(k).j;\n\t\t\tthis.tabla[i][j] = 'o';\n\t\t}\t\n\t}",
"public int getModelZaduzenja() {\n return modelZaduzenja;\n }",
"@Override\r\n\tpublic boolean validaObj() {\n\t\treturn false;\r\n\t}",
"public boolean czyZdalnie()\n\t{\n\t\treturn najlepsze == null;\n\t}",
"public boolean souvislost(){\n\t\t\n\t\tif(pole.size() != pocetVrcholu){\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t\t\n\t}",
"@Override\r\n public boolean equals(Object object) {\n if (!(object instanceof prDetallePrestamos)) {\r\n return false;\r\n }\r\n prDetallePrestamos other = (prDetallePrestamos) object;\r\n if ((this.idDetPrestamo == null && other.idDetPrestamo != null) || (this.idDetPrestamo != null && !this.idDetPrestamo.equals(other.idDetPrestamo))) {\r\n return false;\r\n }\r\n return true;\r\n }",
"private String nalozZvieraNaVozidlo() {\r\n if (zoo.getPracovneVozidlo() == null) {\r\n return \"Pracovne vozidlo nie je pristavene\";\r\n }\r\n\r\n Integer pozicia = MojeMetody.vlozInt(\"Vloz cislo zvierata\");\r\n if (pozicia == null) return \"\";\r\n\r\n try {\r\n Prepravitelny z = (Prepravitelny) zoo.getZvierataZOO(pozicia - 1);\r\n zoo.nalozZivocicha(z);\r\n zoo.odstranZivocicha(pozicia - 1);\r\n return \"Zviera \" + z + \"\\n\\tbolo nalozene na prepravne vozidlo\";\r\n } catch (ClassCastException exCC) {\r\n return \"Zviera c. \" + pozicia + \" nemozno prepravit\\n\\t\";\r\n } catch (NullPointerException exNP) {\r\n return \"Zviera c. \" + pozicia + \" nie je v ZOO\";\r\n } catch (Exception ex) {\r\n return \"Neznama chyba:\\n\\t\" + ex;\r\n }\r\n }",
"@Override\n\tpublic void prijmiNaklad(Objednavka ob, int idAuta) {\n\t\tsuper.prijmiNaklad(ob, idAuta);\n\t\tthis.sklad += ob.objem;\n\t}",
"private void guardarEstadoObjetosUsados() {\n }",
"public void borrarZonaObjetivoMovimiento() {\n\t\t\n\t}",
"public void prijmiObjednavku(Objednavka objednavka)\n\t{\n\t\t\n\t\tobjednavky.add(objednavka);\n\t\t\n\t}",
"public NodoListaObjetos getSiguiente(){\r\n return siguiente;\r\n }",
"public Pojazd dostepDoPojazdu()\n\t{\n\t\treturn pojazd;\n\t}",
"public void obrniListu() {\n if (prvi != null && prvi.veza != null) {\n Element preth = null;\n Element tek = prvi;\n \n while (tek != null) {\n Element sled = tek.veza;\n \n tek.veza = preth;\n preth = tek;\n tek = sled;\n }\n prvi = preth;\n }\n }",
"private RepositorioAtendimentoPublicoHBM() {\r\t}",
"public int getModelOdobrenja() {\n return modelOdobrenja;\n }",
"@Override//sobrescribir metodo\n public String getDescripcion(){\n return hamburguesa.getDescripcion()+\" + lechuga\";//retorna descripcion del oobj hamburguesa y le agrega +lechuga\n }",
"@Override\n public boolean update(Revue objet) {\n return false;\n }",
"public ListaPracownikow() {\n generujPracownikow();\n //dodajPracownika();\n }",
"public PrnPrivitakVo() {\r\n\t\tsuper();\r\n\t}",
"public int NbreObjets(){\n\t\treturn this.nombre_objets;\n\t}",
"public Kullanici() {}",
"public void Ordenamiento() {\n\n\t}",
"public void borrarZonaObjetivoAtaque() {\n\t\t\n\t}",
"private String vylozZvieraZVozidla() {\r\n if (zoo.getPracovneVozidlo() == null) {\r\n return \"Pracovne vozidlo nie je pristavene\";\r\n }\r\n\r\n Integer pozicia = MojeMetody.vlozInt(\"Vloz index zvierata\");\r\n if (pozicia == null) return \"\";\r\n\r\n try {\r\n Zivocich ziv = zoo.vylozZivocicha(pozicia-1);\r\n if (ziv == null) {\r\n return \"Zviera c. \" + pozicia + \" nie je na vozidle\\n\\t\";\r\n }\r\n zoo.pridajZivocicha(ziv);\r\n return \"Zviera \" + ziv\r\n + \"\\n\\tbolo vylozene z prepravneho vozidla\";\r\n } catch (ClassCastException exCC) {\r\n return \"Zviera c. \" + pozicia + \" nie je na vozidle\\n\\t\";\r\n } catch (Exception ex) {\r\n return \"Neznama chyba:\\n\\t\" + ex;\r\n }\r\n }",
"public ECPunkt oblKluczaPublicznego()\n\t{\n\t\tkluczPubliczny = new ECPunkt( G.wielokrotnoscPunktu(G, new BigInteger(kluczPrywatny.toString()) ) );\n\t\treturn kluczPubliczny;\n\t}",
"public boolean czyUstalonyGracz()\n\t{\n\t\treturn (pojazd != null);\n\t}",
"@Override\r\n public boolean equals(Object object) {\n if (!(object instanceof Miembro)) {\r\n return false;\r\n }\r\n Miembro other = (Miembro) object;\r\n if ((this.dni == null && other.dni != null) || (this.dni != null && !this.dni.equals(other.dni))) {\r\n return false;\r\n }\r\n return true;\r\n }",
"public void naplnVrcholy() {\r\n System.out.println(\"Zadajte pocet vrcholov: \");\r\n pocetVrcholov = skener.nextInt();\r\n for (int i=0; i < pocetVrcholov; i++) {\r\n nekonecno = (int)(Double.POSITIVE_INFINITY);\r\n if(i==0) { //pre prvy vrchol potrebujeme nastavit vzdialenost 0 \r\n String menoVrcholu = Character.toString((char)(i+65)); //pretipovanie int na String, z i=0 dostanem A\r\n Vrchol vrchol = new Vrchol(menoVrcholu, 0, \"\"); //vrcholu nastavim vzdialenost a vrcholPrichodu \r\n vrcholy.add(vrchol);\r\n } else { //ostatne budu mat nekonecno alebo v tomto pripade 9999 (lebo tuto hodnotu v mensich grafoch nepresiahnem)\r\n String menoVrcholu = Character.toString((char)(i+65)); //pretipovanie int na String, z i=0 dostanem A\r\n Vrchol vrchol = new Vrchol(menoVrcholu,nekonecno, \"\"); //vrcholu nastavim vzdialenost a vrcholPrichodu \r\n vrcholy.add(vrchol);\r\n }\r\n }\r\n }",
"@Override\n\tpublic boolean semelhante(Assemelhavel obj, int profundidade) {\n\t\treturn false;\n\t}",
"@Override\r\n public String vratiVrednostiZaUpdate() {\n \r\n return String.format(\"naziv='%s', trener='%s', menadzer='%s', sponzor='%s', igre='%s', zaradjenNovac=%f, idRegiona=%d, idLokacije=%d\", \r\n this.getNaziv(), this.getTrener(), this.getMenadzer(), this.getSponzor(), this.getIgre(), this.getZaradjenNovac(), this.getRegion().getIdRegiona(),this.getLokacije().getIdLokacije() );\r\n }",
"void novyVrchol(String klic){\n\t\tVrchol pom = new Vrchol(klic,'B');\n\t\t\n\t\tvrchP[pocet] = pom;\n\t\tpocet++;\n\t\n\t}",
"public void pobierzukladprzegladRZiSBO() {\r\n if (uklad.getUklad() == null) {\r\n uklad = ukladBRDAO.findukladBRPodatnikRokPodstawowy(wpisView.getPodatnikObiekt(), wpisView.getRokWpisuSt());\r\n }\r\n List<PozycjaRZiSBilans> pozycje = UkladBRBean.pobierzpozycje(pozycjaRZiSDAO, pozycjaBilansDAO, uklad, \"\", \"r\");\r\n UkladBRBean.czyscPozycje(pozycje);\r\n rootProjektRZiS.getChildren().clear();\r\n List<StronaWiersza> zapisy = StronaWierszaBean.pobraniezapisowwynikoweBO(stronaWierszaDAO, wpisView);\r\n try {\r\n PozycjaRZiSFKBean.ustawRoota(rootProjektRZiS, pozycje, zapisy);\r\n level = PozycjaRZiSFKBean.ustawLevel(rootProjektRZiS, pozycje);\r\n Msg.msg(\"i\", \"Pobrano układ \");\r\n } catch (Exception e) {\r\n E.e(e);\r\n rootProjektRZiS.getChildren().clear();\r\n Msg.msg(\"e\", e.getLocalizedMessage());\r\n }\r\n }",
"@Override\n\tpublic boolean datiUscitaImpegno() {\n\t\treturn false;\n\t}",
"Nodo_B getPrimero(){\n return this.primero;\n }",
"@Override // prekrytie danej metody predka\r\n public String toString() {\r\n return super.toString()\r\n + \" vaha: \" + String.format(\"%.1f kg,\", dajVahu())\r\n + \" farba: \" + dajFarbu() + \".\";\r\n }",
"public ArrayList<Objets> getObjetParNoeud() {\n\t\treturn ListObjetParNoeud;\n\t}",
"public ListaBrojeva izdvojElmenteNaParnimPozicijama() {\n if (prvi != null) {\n ListaBrojeva parni = new ListaBrojeva();\n \n Element tek = prvi;\n Element preth = null;\n Element parniKraj = null;\n int br = 0;\n \n while (tek.veza != null) {\n preth = tek;\n tek = tek.veza;\n \n if (br % 2 != 0) {\n preth.veza = tek.veza;\n if (parni.prvi == null) {\n parni.prvi = tek;\n parniKraj = tek;\n tek.veza = null; \n } else {\n parniKraj.veza = tek;\n tek.veza = null;\n parniKraj = parniKraj.veza;\n }\n tek = preth;\n }\n br++;\n }\n /*prvi element iz liste je paran, ali je preskocen, \n tako da ga sad izbacujemo iz liste i dodajemo u novu*/\n Element pom = prvi;\n prvi = prvi.veza;\n pom.veza = parni.prvi;\n parni.prvi = pom;\n return parni;\n }\n return null;\n }",
"@Override\n public int getSalida() {\n return 0;\n }",
"public void obliczSzanseWykolejenia(Tramwaj tramwaj, Pogoda pogoda, Motorniczy motorniczy, Przystanek przystanek){\r\n RegulyWykolejen regulyWykolejen= new RegulyWykolejen();\r\n this.szansaWykolejenia = pogoda.getRyzyko() + przystanek.getStanTechnicznyPrzystanku() + tramwaj.getStanTechTramwaju() + regulyWykolejen.regulaWiek(motorniczy.getWiek()) + regulyWykolejen.regulaDoswiadczenie(motorniczy.getDoswiadczenie());\r\n }",
"public Dipendente() {\r\n\t\tsetnMat();\r\n\t}",
"public void zmiana_rozmiaru_okna()\n {\n b.dostosowanie_rozmiaru(getWidth(),getHeight());\n w.dostosowanie_rozmiaru(getWidth(),getHeight());\n\n for (Pilka np : p) {\n np.dostosowanie_rozmiaru(getWidth(),getHeight());\n }\n for (Naboj np : n) {\n np.dostosowanie_rozmiaru(getWidth(),getHeight());\n }\n for (Bonus np : bon) {\n np.dostosowanie_rozmiaru(getWidth(),getHeight());\n }\n\n }",
"private void ucitajTestPodatke() {\n\t\tList<Integer> l1 = new ArrayList<Integer>();\n\n\t\tRestoran r1 = new Restoran(\"Palazzo Bianco\", \"Bulevar Cara Dušana 21\", KategorijeRestorana.PICERIJA, l1, l1);\n\t\tRestoran r2 = new Restoran(\"Ananda\", \"Petra Drapšina 51\", KategorijeRestorana.DOMACA, l1, l1);\n\t\tRestoran r3 = new Restoran(\"Dizni\", \"Bulevar cara Lazara 92\", KategorijeRestorana.POSLASTICARNICA, l1, l1);\n\n\t\tdodajRestoran(r1);\n\t\tdodajRestoran(r2);\n\t\tdodajRestoran(r3);\n\t}",
"public DanhSachThanhVien getObjDSThanhVien() {\n\t\treturn objDSThanhVien;\n\t}",
"@Override\n public T getObjRaiz() {\n return (super.getObjRaiz());\n }",
"public void setPolaznik(Polaznik polaznik) {\n this.polaznik = polaznik;\n }",
"public void setPozycja(PozycjaZamowienia pozycja){\n\t\tthis.pozycja = pozycja;\n\t}",
"private void zmienne_poziomu(int poziom)\n {\n liczba_zyc =Integer.parseInt(konfiguracja.properties.getProperty(poziom+\"_liczba_zyc\"));\n liczba_naboi=Integer.parseInt(konfiguracja.properties.getProperty(poziom+\"_liczba_naboi\"));\n liczba_zyc_wroga=Integer.parseInt(konfiguracja.properties.getProperty(poziom+\"_liczba_zyc_wroga\"));\n liczba_pilek=Integer.parseInt(konfiguracja.properties.getProperty(poziom+\"_liczba_pilek\"));\n predkosc_wroga=Integer.parseInt(konfiguracja.properties.getProperty(poziom+\"_predkosc_wroga\"));\n bonusy_poziomu=Integer.parseInt(konfiguracja.properties.getProperty(poziom+\"_bonusy_poziomu\"));\n rozmiar_pilki=Integer.parseInt(konfiguracja.properties.getProperty(poziom+\"_rozmiar_pilki\"));\n zmiana_ruchu_wroga=Integer.parseInt(konfiguracja.properties.getProperty(poziom+\"_zmiana_ruchu_wroga\"));\n czas_gry=Integer.parseInt(konfiguracja.properties.getProperty(poziom+\"_czas_gry\"));\n }",
"@Override\r\n\tpublic Ngo save(Ngo obj) {\n\t\treturn null;\r\n\t}",
"public int getPunktyZaZejscie() {\n return punktyZaZejscie;\n }",
"public cola_de_un_banco(){// se crea nuestro metodo costructor \r\n primero=null;//se crea el tipo de indicaciones con valor a null\r\n ultimo=null;\r\n}",
"public void Nodo(){\r\n this.valor = \"\";\r\n this.siguiente = null;\r\n }",
"public KlijentPovezanaOsobaRs procitajSvePovezaneOsobePOVIJEST(KlijentPovezanaOsobaVo value) {\r\n return null;\r\n }",
"public void aktualisiere(PhysicalObject po){\n\t\tthis.po=po;\n\t\tKipper kipperObj= (Kipper) po;\t\t\n\t\tx = kipperObj.getX();\n\t\ty = kipperObj.getY();\n\t\tbreite=kipperObj.getBreite();\n\t\tlaenge=kipperObj.getLaenge();\n\t\twinkel=kipperObj.getWinkel();\n\t\tlkwfahrt=kipperObj.isFahrt();\t\t\n\t\tif (kipperObj.getMaterialListe().size() == 1) {\n\t\t\tmatRatio=kipperObj.getMaterialListe().get(0).getVolumen()/kipperObj.getMaxVolumen();\t\n\t\t\tif(matRatio > 1)\n\t\t\t\tmatRatio=1;\n\t\t}\t\t\n\t}",
"public static void otkazivanjeRezervacije(Osoba o) {\n\t\tArrayList<Rezervacija> rezervacijeIznaj = new ArrayList<Rezervacija>();\n\t\tint i = 0;\n\t\tif (o.getClass().equals(Iznajmljivac.class)) {\n\t\t\tfor (Rezervacija r : Main.getRezervacijeAll()) {\n\t\t\t\tif (r.getIznajmljivac().equals(o) && !r.isRezervacijaObrisana()) {\n\t\t\t\t\tSystem.out.println(\"Rezervacija-\" + i + \"--\" + r.getIznajmljivac() + \" \" + r.getVozilo()\n\t\t\t\t\t\t\t+ \"pocetak rezervacije|\" + r.getDatumKraja() + \"kraj rezervacije|\" + r.getDatumKraja());\n\t\t\t\t\trezervacijeIznaj.add(r);\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tfor(Rezervacija r : Main.getRezervacijeAll()) {\n\t\t\t\tif(!r.isRezervacijaObrisana()) {\n\t\t\t\t\tSystem.out.println(\"Rezervacija-\" + i + \"--\" + r.getIznajmljivac() + \" \" + r.getVozilo()\n\t\t\t\t\t+ \"pocetak rezervacije|\" + r.getDatumKraja() + \"kraj rezervacije|\" + r.getDatumKraja());\n\t\t\trezervacijeIznaj.add(r);\n\t\t\ti++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"Unesite redni broj rezervacije koju zelite da otkazete:\");\n\t\tint redniBroj = UtillMethod.unesiteInt();\n\t\tif (redniBroj < rezervacijeIznaj.size()) {\n\t\t\tRezervacija temp = rezervacijeIznaj.get(redniBroj);\n\t\t\ttemp.setRezervacijaObrisana(true);\n\t\t\tSystem.out.println(\"Rezervacija je uspesno izbrisana!\");\n\t\t} else {\n\t\t\tSystem.out.println(\"Ne postoji rezervacija sa tim brojem!\");\n\t\t}\n\t}",
"public ListaBrojeva izdvojElmenteNaNeparnimPozicijama() {\n if (!jePrazna()) {\n ListaBrojeva neparni = new ListaBrojeva();\n \n Element neparniKraj = null;\n Element tek = prvi;\n Element preth = null;\n int br = 0;\n \n while (tek.veza != null) {\n preth = tek;\n tek = tek.veza;\n if (br % 2 == 0) {\n preth.veza = tek.veza;\n if (neparni.prvi == null) {\n neparni.prvi = tek;\n tek.veza = null;\n neparniKraj = tek;\n }\n else {\n neparniKraj.veza = tek;\n tek.veza = null;\n neparniKraj = tek;\n }\n tek = preth;\n }\n br++;\n }\n return neparni;\n }\n return null;\n }",
"@Override\r\n public boolean equals(Object object) {\n if (!(object instanceof Zakaznik)) {\r\n return false;\r\n }\r\n Zakaznik other = (Zakaznik) object;\r\n if ((this.idzakaznik == null && other.idzakaznik != null) || (this.idzakaznik != null && !this.idzakaznik.equals(other.idzakaznik))) {\r\n return false;\r\n }\r\n return true;\r\n }",
"public int liczbaelnastosie() {\n\t\treturn 0;\n\t}",
"@Override\n protected void carregaObjeto() throws ViolacaoRegraNegocioException {\n entidade.setNome( txtNome.getText() );\n entidade.setDescricao(txtDescricao.getText());\n entidade.setTipo( txtTipo.getText() );\n entidade.setValorCusto(new BigDecimal((String) txtCusto.getValue()));\n entidade.setValorVenda(new BigDecimal((String) txtVenda.getValue()));\n \n \n }",
"private void inizia() throws Exception {\n this.setClasse((new ArrayList<Boolean>()).getClass());\n this.setValoreVuoto(null);\n }",
"@Override\n\tpublic long getCodTecnico() {\n\t\treturn model.getCodTecnico();\n\t}",
"public String getEstablecimiento()\r\n/* 114: */ {\r\n/* 115:188 */ return this.establecimiento;\r\n/* 116: */ }",
"public void Zabojstwa() {\n\t\tSystem.out.println(\"Zabojstwa\");\n\t\tfor(int i=0;i<Plansza.getNiebezpieczenstwoNaPlanszy().size();i++) {\n\t\t\tfor(GenerujNiebezpieczenstwo niebez : Plansza.getNiebezpieczenstwoNaPlanszy()) {\n\n\t\t\t\tif(niebez.getZabojca() instanceof DzikieZwierzeta) {\n\t\t\t\t\tif(niebez.getXniebezpieczenstwo()-1 <= Plansza.getNiewolnikNaPLanszy().getXpolozenie() && niebez.getXniebezpieczenstwo()+1 >= Plansza.getNiewolnikNaPLanszy().getXpolozenie()) {\n\t\t\t\t\t\tif(niebez.getYniebezpieczenstwo()-1 <= Plansza.getNiewolnikNaPLanszy().getYpolozenie() && niebez.getYniebezpieczenstwo()+1 >= Plansza.getNiewolnikNaPLanszy().getYpolozenie()) {\n\t\t\t\t\t\t\tif(Plansza.getNiewolnikNaPLanszy().getUbrania() >= niebez.getZabojca().ZmniejszIloscPopulacja() && Plansza.getNiewolnikNaPLanszy().getJedzenie() >= niebez.getZabojca().ZmniejszIloscPopulacja()) {\n\t\t\t\t\t\t\t\tPlansza.getNiewolnikNaPLanszy().setUbrania(Plansza.getNiewolnikNaPLanszy().getUbrania() - niebez.getZabojca().ZmniejszIloscPopulacja());\n\t\t\t\t\t\t\t\tPlansza.getNiewolnikNaPLanszy().setJedzenie(Plansza.getNiewolnikNaPLanszy().getJedzenie() - niebez.getZabojca().ZmniejszIloscPopulacja());\n\t\t\t\t\t\t\t\tPlansza.getNiewolnikNaPLanszy().setLicznikNiebezpieczenstw(Plansza.getNiewolnikNaPLanszy().getLicznikNiebezpieczenstw()+1);\n\t\t\t\t\t\t\t\tPlansza.getNiebezpieczenstwoNaPlanszy().remove(niebez);\n\t\t\t\t\t\t\t\ti--;\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tif(niebez.getZabojca() instanceof Bandyci) {\n\t\t\t\t\tif(niebez.getXniebezpieczenstwo()-1 <= Plansza.getRzemieslnikNaPlanszy().getXpolozenie() && niebez.getXniebezpieczenstwo()+1 >= Plansza.getRzemieslnikNaPlanszy().getXpolozenie()) {\n\t\t\t\t\t\tif(niebez.getYniebezpieczenstwo()-1 <= Plansza.getRzemieslnikNaPlanszy().getYpolozenie() && niebez.getYniebezpieczenstwo()+1 >= Plansza.getRzemieslnikNaPlanszy().getYpolozenie()) {\n\t\t\t\t\t\t\tif(Plansza.getRzemieslnikNaPlanszy().getMaterialy() >= niebez.getZabojca().ZmniejszIloscPopulacja() && Plansza.getRzemieslnikNaPlanszy().getNarzedzia() >= niebez.getZabojca().ZmniejszIloscPopulacja()) {\n\t\t\t\t\t\t\t\tif(GeneratorRandom.RandomOd0(101) <= ZapisOdczyt.getRzemieslnicySzansa()) {\n\t\t\t\t\t\t\t\t\tPlansza.getNiebezpieczenstwoNaPlanszy().remove(niebez);\n\t\t\t\t\t\t\t\t\ti--;\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tPlansza.getRzemieslnikNaPlanszy().setMaterialy(Plansza.getRzemieslnikNaPlanszy().getMaterialy() - niebez.getZabojca().ZmniejszIloscPopulacja());\n\t\t\t\t\t\t\t\tPlansza.getRzemieslnikNaPlanszy().setNarzedzia(Plansza.getRzemieslnikNaPlanszy().getNarzedzia() - niebez.getZabojca().ZmniejszIloscPopulacja());\n\t\t\t\t\t\t\t\tPlansza.getRzemieslnikNaPlanszy().setLicznikNiebezpieczenstw(Plansza.getRzemieslnikNaPlanszy().getLicznikNiebezpieczenstw()+1);\n\t\t\t\t\t\t\t\tPlansza.getNiebezpieczenstwoNaPlanszy().remove(niebez);\n\t\t\t\t\t\t\t\ti--;\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif(niebez.getZabojca() instanceof Zlodzieje) {\n\t\t\t\t\tif(niebez.getXniebezpieczenstwo()-1 <= Plansza.getArystokrataNaPlanszy().getXpolozenie() && niebez.getXniebezpieczenstwo()+1 >= Plansza.getArystokrataNaPlanszy().getXpolozenie()) {\n\t\t\t\t\t\tif(niebez.getYniebezpieczenstwo()-1 <= Plansza.getArystokrataNaPlanszy().getYpolozenie() && niebez.getYniebezpieczenstwo()+1 >= Plansza.getArystokrataNaPlanszy().getYpolozenie()) {\n\t\t\t\t\t\t\tif(Plansza.getArystokrataNaPlanszy().getTowary() >= niebez.getZabojca().ZmniejszIloscPopulacja() && Plansza.getArystokrataNaPlanszy().getZloto() >= niebez.getZabojca().ZmniejszIloscPopulacja()) {\n\t\t\t\t\t\t\t\tPlansza.getArystokrataNaPlanszy().setTowary(Plansza.getArystokrataNaPlanszy().getTowary() - niebez.getZabojca().ZmniejszIloscPopulacja());\n\t\t\t\t\t\t\t\tPlansza.getArystokrataNaPlanszy().setZloto(Plansza.getArystokrataNaPlanszy().getZloto() - niebez.getZabojca().ZmniejszIloscPopulacja());\n\t\t\t\t\t\t\t\tPlansza.getArystokrataNaPlanszy().setLicznikNiebezpieczenstw(Plansza.getArystokrataNaPlanszy().getLicznikNiebezpieczenstw()+1);\n\t\t\t\t\t\t\t\tPlansza.getNiebezpieczenstwoNaPlanszy().remove(niebez);\n\t\t\t\t\t\t\t\ti--;\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t}",
"@Override\r\n\tpublic boolean update(Moteur obj) {\n\t\treturn false;\r\n\t}",
"public void izbaciElementeSaDecimalnimZarezom() {\n while (prvi != null && (int)prvi.info != prvi.info) {\n prvi = prvi.veza;\n }\n if (prvi != null) {\n Element tekuci = prvi;\n Element prethodni;\n while (tekuci.veza != null) {\n prethodni = tekuci;\n tekuci = tekuci.veza;\n if ((int)tekuci.info != tekuci.info) {\n prethodni.veza = tekuci.veza;\n tekuci = prethodni;\n }\n }\n }\n }",
"@Override\r\n\tpublic String getIzena() {\n\t\treturn super.getIzena();\r\n\t}",
"public static void vracanjeVozila(Osoba o) {\n\t\tArrayList<Rezervacija> temp = new ArrayList<Rezervacija>();\n\t\tint i = 0;\n\t\tif (o.getClass().equals(Iznajmljivac.class)) {\n\t\t\tfor (Rezervacija r : Main.getRezervacijeAll()) {\n\t\t\t\tif (r.getIznajmljivac().equals(o)\n\t\t\t\t\t\t&& UtillMethod.parsovanjeDatuma(r.getDatumKraja()).isBefore(LocalDate.now())\n\t\t\t\t\t\t&& !r.isRezervacijaObrisana()) {\n\t\t\t\t\tSystem.out.println(i + \"-Iznajmljivac|\" + r.getIznajmljivac() + \" Vozilo|\" + r.getVozilo()\n\t\t\t\t\t\t\t+ \" Datum pocetka rezervacije|\" + r.getDatumPocetka() + \" Datum kraja rezervacije|\"\n\t\t\t\t\t\t\t+ r.getDatumKraja());\n\t\t\t\t\ttemp.add(r);\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tfor (Rezervacija r : Main.getRezervacijeAll()) {\n\t\t\t\tif (UtillMethod.parsovanjeDatuma(r.getDatumKraja()).isBefore(LocalDate.now())\n\t\t\t\t\t\t&& !r.isRezervacijaObrisana()) {\n\t\t\t\t\tSystem.out.println(i + \"-Iznajmljivac|\" + r.getIznajmljivac() + \" Vozilo|\" + r.getVozilo()\n\t\t\t\t\t\t\t+ \" Datum pocetka rezervacije|\" + r.getDatumPocetka() + \" Datum kraja rezervacije|\"\n\t\t\t\t\t\t\t+ r.getDatumKraja());\n\t\t\t\t\ttemp.add(r);\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"----------------------------------------------------------\");\n\t\tSystem.out.println(\"Unesite redni broj rezervacije vozila kojeg zelite da vratite:\");\n\t\tint redniBroj = UtillMethod.unesiteInt();\n\t\tif (redniBroj < temp.size()) {\n\t\t\tSystem.out.println(\"Unesite koliko kilometara ste presli sa vozilom:\");\n\t\t\tdouble brojKm = UtillMethod.unesiteBroj();\n\t\t\tRezervacija rezervTemp = temp.get(redniBroj);\n\t\t\tSystem.out.println(\"Izaberite vrstu goriva koje je vozilo koristilo.\");\n\t\t\tGorivo g = UtillMethod.izabirGoriva();\n\t\t\tdouble cenaIznajm = UtillMethod.ukupnaCenaIznajmljivanja(rezervTemp, brojKm, g);\n\t\t\tSystem.out.println(\"Cena iznajmljivanja je \" + cenaIznajm + \" Dinara!\");\n\t\t\tdouble prePromene = rezervTemp.getVozilo().getPredjeno();\n\t\t\trezervTemp.getVozilo().setPredjeno(prePromene + brojKm);\n\t\t\ttemp.get(redniBroj).setRezervacijaObrisana(true);\n\t\t}\n\n\t}",
"protected boolean colaVacia() {\r\n return ini == -1;\r\n }",
"public void carroNoEncontrado(){\n System.out.println(\"Su carro no fue removido porque no fue encontrado en el registro\");\n }",
"@Override\r\n\tprotected void initVentajas() {\n\r\n\t}",
"public ConversorVelocidad() {\n //setTemperaturaConvertida(0);\n }",
"public int getId_anneeScolaire() {return id_anneeScolaire;}",
"@Override\r\n public boolean equals(Object object) {\n if (!(object instanceof Tiporetencioniva)) {\r\n return false;\r\n }\r\n Tiporetencioniva other = (Tiporetencioniva) object;\r\n if ((this.idtiporetencioniva == null && other.idtiporetencioniva != null) || (this.idtiporetencioniva != null && !this.idtiporetencioniva.equals(other.idtiporetencioniva))) {\r\n return false;\r\n }\r\n return true;\r\n }",
"public static void trazenjeVozila(Iznajmljivac o) {\n\t\tLocalDate pocetniDatum = UtillMethod.unosDatum(\"pocetni\");\n\t\tLocalDate krajnjiDatum = UtillMethod.unosDatum(\"krajnji\");\n\t\tSystem.out.println(\"------------------------------------\");\n\t\tSystem.out.println(\"Provera dostupnosti vozila u toku...\\n\");\n\t\tArrayList<Vozilo> dostupnaVoz = new ArrayList<Vozilo>();\n\t\tint i = 0;\n\t\tfor (Vozilo v : Main.getVozilaAll()) {\n\t\t\tif (!postojiLiRezervacija(v, pocetniDatum, krajnjiDatum) && !v.isVozObrisano()) {\n\t\t\t\tSystem.out.println(i + \"-\" + v.getVrstaVozila() + \"-\" + \"Registarski broj\" + \"-\" + v.getRegBR()\n\t\t\t\t\t\t+ \"-Potrosnja na 100km-\" + v.getPotrosnja100() + \"litara\");\n\t\t\t\ti++;\n\t\t\t\tdostupnaVoz.add(v);\n\t\t\t}\n\t\t}\n\t\tif (i > 0) {\n\t\t\tSystem.out.println(\"------------------------------------------------\");\n\t\t\tSystem.out.println(\"Ukucajte kilometrazu koju planirate da predjete:\");\n\t\t\tdouble km = UtillMethod.unesiteBroj();\n\t\t\tint km1 = (int) km;\n\t\t\tporedjenjeVozila d1 = new poredjenjeVozila(km1);\n\t\t\tCollections.sort(dostupnaVoz,d1);\n\t\t\tint e = 0;\n\t\t\tfor(Vozilo v : dostupnaVoz) {\n\t\t\t\tdouble temp = cenaTroskaVoz(v, km, v.getGorivaVozila().get(0));\n\t\t\t\tSystem.out.println(e + \" - \" + v.getVrstaVozila()+ \"-Registarski broj: \"+ v.getRegBR()+\" | \"+ \"Cena na dan:\"+v.getCenaDan() +\" | Broj sedista:\"+ v.getBrSedist()+ \" | Broj vrata:\"+ v.getBrVrata() + \"| Cena troskova puta:\" + temp + \" Dinara\");\n\t\t\t\te++;\n\t\t\t}\n\t\t\tSystem.out.println(\"---------------------------------------\");\n\t\t\tSystem.out.println(\"Unesite redni broj vozila kojeg zelite:\");\n\t\t\tint redniBroj = UtillMethod.unesiteInt();\n\t\t\tif (redniBroj < dostupnaVoz.size()) {\n\t\t\t\tDateTimeFormatter formatters = DateTimeFormatter.ofPattern(\"dd/MM/yyyy\");\n\t\t\t\tString pocetni = pocetniDatum.format(formatters);\n\t\t\t\tString krajnji = krajnjiDatum.format(formatters);\n\t\t\t\tdouble cena = UtillMethod.cenaIznaj(pocetniDatum, krajnjiDatum, dostupnaVoz.get(redniBroj));\n\t\t\t\tRezervacija novaRez = new Rezervacija(dostupnaVoz.get(redniBroj), o, cena, false, pocetni, krajnji);\n\t\t\t\tMain.getRezervacijeAll().add(novaRez);\n\t\t\t\tSystem.out.println(\"Uspesno ste napravili rezervaciju!\");\n\t\t\t\tSystem.out.println(\"---------------------------------\");\n\t\t\t\tSystem.out.println(novaRez);\n\t\t\t\tSystem.out.println(\"---------------------------------\");\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"Uneli ste pogresan redni broj!\");\n\t\t\t}\n\t\t} else {\n\t\t\tSystem.out.println(\"Nema dostupnih vozila za rezervaaciju.\");\n\t\t}\n\t}",
"public static void TroskoviPredjenogPuta() {\n\t\tUtillMethod.izlistavanjeVozila();\n\t\tSystem.out.println(\"Unesite redni broj vozila za koje zelite da racunate predjeni put!\");\n\t\tint redniBroj = UtillMethod.unesiteInt();\n\t\tif (redniBroj < Main.getVozilaAll().size()) {\n\t\t\tif (!Main.getVozilaAll().get(redniBroj).isVozObrisano()) {\n\t\t\t\tSystem.out.println(\"Unesite broj kilometara koje ste presli sa odgovarajucim vozilom\");\n\t\t\t\tdouble km = UtillMethod.unesiteBroj();\n\t\t\t\tVozilo v = Main.getVozilaAll().get(redniBroj);\n\t\t\t\tdouble rezultat;\n\t\t\t\tif(v.getGorivaVozila().size()>1) {\n\t\t\t\t\tGorivo g = UtillMethod.izabirGoriva();\n\t\t\t\t\trezultat = cenaTroskaVoz(v,km,g);\n\t\t\t\t}else {\n\t\t\t\t\t rezultat = cenaTroskaVoz(v,km,v.getGorivaVozila().get(0));\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"Cena troskova za predjeni put je \" + rezultat + \"Dinara!\");\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"Ovo vozilo je obrisano i ne moze da se koristi!\");\n\t\t\t}\n\t\t} else {\n\t\t\tSystem.out.println(\"Uneli ste pogresan redni broj!\");\n\t\t}\n\t}",
"public Oveja() {\r\n this.nombreOveja = \"Oveja\";\r\n }",
"public void zapisUrok() {\r\n\r\n\t\taktualnyZostatok = getZostatok() * urokovaSadzba / 100;\r\n\t\tsetVklad(aktualnyZostatok);\r\n\r\n\t}",
"@Override\n public boolean equals(Object object) {\n if (!(object instanceof LetrasPagoCanje)) {\n return false;\n }\n LetrasPagoCanje other = (LetrasPagoCanje) object;\n if ((this.idLetrasPagoCanje == null && other.idLetrasPagoCanje != null) || (this.idLetrasPagoCanje != null && !this.idLetrasPagoCanje.equals(other.idLetrasPagoCanje))) {\n return false;\n }\n return true;\n }",
"@Override\n\tpublic int compareTo(Objeto o) {\n\t\treturn 0;\n\t}",
"public static void dodavanjePutnickogVozila() {\n\t\tString vrstaVozila = \"Putnicko Vozilo\";\n\t\tString regBr = UtillMethod.unosRegBroj();\n\t\tGorivo gorivo = UtillMethod.izabirGoriva();\n\t\tGorivo gorivo2 = UtillMethod.izabirGorivaOpet(gorivo);\n\t\tint brServisa = 1;\n\t\tdouble potrosnja100 = UtillMethod.unesiteDoublePotrosnja();\n\t\tSystem.out.println(\"Unesite broj km koje je vozilo preslo:\");\n\t\tdouble predjeno = UtillMethod.unesiteBroj();\n\t\tdouble preServisa = 10000;\n\t\tdouble cenaServisa = 8000;\n\t\tSystem.out.println(\"Unesite cenu vozila za jedan dan:\");\n\t\tdouble cenaDan = UtillMethod.unesiteBroj();\n\t\tSystem.out.println(\"Unesite broj sedista u vozilu:\");\n\t\tint brSedist = UtillMethod.unesiteInt();\n\t\tSystem.out.println(\"Unesite broj vrata vozila:\");\n\t\tint brVrata = UtillMethod.unesiteInt();\n\t\tboolean vozObrisano = false;\n\t\tArrayList<Gorivo> gorivaVozila = new ArrayList<Gorivo>();\n\t\tgorivaVozila.add(gorivo);\n\t\tif(gorivo2!=Main.nista) {\n\t\t\tgorivaVozila.add(gorivo2);\n\t\t}\n\t\tArrayList<Servis> servisiNadVozilom = new ArrayList<Servis>();\n\t\tPutnickoVozilo vozilo = new PutnickoVozilo(vrstaVozila, regBr, gorivaVozila, brServisa, potrosnja100, predjeno,\n\t\t\t\tpreServisa, cenaServisa, cenaDan, brSedist, brVrata, vozObrisano, servisiNadVozilom);\n\t\tUtillMethod.prviServis(vozilo, predjeno);\n\t\tMain.getVozilaAll().add(vozilo);\n\t\tSystem.out.println(\"Novo vozilo je uspesno dodato u sistem!\");\n\t\tSystem.out.println(\"---------------------------------------\");\n\t}",
"@Override\r\n public boolean equals(Object object) {\n if (!(object instanceof NombrecomunTb)) {\r\n return false;\r\n }\r\n NombrecomunTb other = (NombrecomunTb) object;\r\n if ((this.eIdnombrecomun == null && other.eIdnombrecomun != null) || (this.eIdnombrecomun != null && !this.eIdnombrecomun.equals(other.eIdnombrecomun))) {\r\n return false;\r\n }\r\n return true;\r\n }",
"private Zivocich vytvorZivocicha() {\r\n final String[] zFarba = {\"cervena\", \"zelena\", \"modra\", \"zlta\", \"zlto-zelena\"};\r\n Zivocich zviera = null;\r\n double kolkoVazi = 0.0;\r\n\r\n //-- Vygenerujeme zviera\r\n int vygenerovane = 1 + generator.nextInt(4); //cislo <1,4>\r\n\r\n switch (vygenerovane) {\r\n case 1: //blcha \r\n double kolkoDoskoci=3 * generator.nextDouble() ; //cislo <0;2.99>\r\n double kolkoVyskoci=3 * generator.nextDouble() ; //cislo <0;2.99>\r\n zviera=new Blcha(6,kolkoDoskoci,kolkoVyskoci);\r\n break;\r\n case 2: //simpanz\r\n kolkoVazi=3 + (97 * generator.nextDouble()); //cislo <3;99.9>\r\n boolean cviceny;\r\n cviceny=generator.nextBoolean(); \r\n zviera=new Simpanz(kolkoVazi,cviceny);\r\n break;\r\n case 3: //papagaj\r\n kolkoVazi = 0.1 + (5*generator.nextDouble()); // cislo <0.1; 6>\r\n String farba = zFarba[generator.nextInt(5)]; // farba zo zoznamu\r\n zviera = new Papagaj(\"Ara\", 2, kolkoVazi, farba); \r\n break;\r\n case 4: //slon\r\n kolkoVazi=20 + (480*generator.nextDouble()); //cislo <20;500> \r\n int pocet=generator.nextInt(50); //pocet zubov bude <0,49>\r\n zviera=new Slon(kolkoVazi,pocet);\r\n break;\r\n } //------------------------------------------------------------- switch --\r\n return zviera;\r\n }",
"public String toString(){\r\n\t\treturn \"KORISNIK:\"+korisnik+\" PORUKA:\"+poruka;\r\n\t}",
"private Pares(){\n\t\t\tprimero=null;\n\t\t\tsegundo=null;\n\t\t\tdistancia=0;\n\t\t}",
"public String toString(){\r\n\treturn \"KORISNIK:\"+korisnik+\" PORUKA:\"+poruka;\r\n\t}",
"@Override\n public String toString() {\n return \"Preventivo{\"\n + \"idPreventivo=\" + idPreventivo\n + \", idRichiesta=\" + idRichiesta\n + \", partitaIva='\" + partitaIva + '\\''\n + \", codiceFiscale='\" + codiceFiscale + '\\''\n + \", dataPreventivo=\" + dataPreventivo\n + \", prezzoTotale=\" + prezzoTotale\n + \", nota='\" + nota + '\\''\n + '}';\n }",
"@Override\n\tpublic int mettreAJour() {\n\t\treturn 0;\n\t}",
"@Override\npublic String toString() {// PARA MOSTRAR LOS DATOS DE ESTA CLASE\n// TODO Auto-generated method stub\nreturn MuestraCualquiera();\n}",
"@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}",
"Kerucut(){\r\n Tabung tab = new Tabung();\r\n tinggi=tab.getTinggi();\r\n }",
"public Candidatura (){\n \n }"
] | [
"0.69381243",
"0.65402347",
"0.64661926",
"0.644989",
"0.639074",
"0.6204489",
"0.6200122",
"0.6151485",
"0.61164445",
"0.61088896",
"0.61066806",
"0.6043192",
"0.60321546",
"0.60242987",
"0.5983332",
"0.5972549",
"0.59500074",
"0.5932781",
"0.5931209",
"0.5930007",
"0.5921844",
"0.5906511",
"0.58799225",
"0.5858806",
"0.5814071",
"0.58006823",
"0.5799272",
"0.5794079",
"0.57868564",
"0.5785321",
"0.5782634",
"0.5773872",
"0.5773186",
"0.5773057",
"0.5768687",
"0.57617044",
"0.57537985",
"0.5751702",
"0.5751041",
"0.57373035",
"0.5728699",
"0.5727829",
"0.5713827",
"0.5712579",
"0.5709004",
"0.5708796",
"0.5705971",
"0.5704706",
"0.5695003",
"0.56915265",
"0.56905454",
"0.5679422",
"0.5676005",
"0.5671338",
"0.56712383",
"0.5669256",
"0.5664594",
"0.5659289",
"0.5656571",
"0.5653765",
"0.5650889",
"0.5644162",
"0.56386167",
"0.56370705",
"0.56302917",
"0.56251645",
"0.561262",
"0.5612168",
"0.56060755",
"0.56025887",
"0.559901",
"0.55959773",
"0.5594748",
"0.5587263",
"0.55805486",
"0.5578346",
"0.5572094",
"0.55668634",
"0.5565411",
"0.55586976",
"0.55577993",
"0.55569804",
"0.5551191",
"0.55467635",
"0.5540952",
"0.5540873",
"0.5539984",
"0.55389595",
"0.55389225",
"0.5538081",
"0.5536626",
"0.5535365",
"0.5535052",
"0.5533061",
"0.55288845",
"0.55233824",
"0.5520297",
"0.55194914",
"0.55151844",
"0.55143327"
] | 0.6797425 | 1 |
Vybere vhodnou cestu mezi dvema uzly a preda uzly, pres ktere tato cesta vede autu | public float vyberCestu(int idStart ,int idCil, Auto auto)
{
//System.out.println("Vybiram cestu");
int id = 0;
float nejblizsi = 2000;
float aktualni = 2000;
float delkaCesty = 0;
Uzel uzel = Simulator.objekty[idStart];
Uzel cil = Simulator.objekty[idCil];
while(!((Simulator.objekty[uzel.id].poloha[0] == Simulator.objekty[cil.id].poloha[0])&&
(Simulator.objekty[uzel.id].poloha[1] == Simulator.objekty[cil.id].poloha[1]))){
//nastaveni hodnoty nejblizsi na vyrazne vyssi, nez je ocekavana
nejblizsi = 2000;
for(Integer idtmp : uzel.sousedi){
if(idtmp == 0){
continue;
}
aktualni = cil.spoctiVzdalenost(Simulator.objekty[idtmp]);
//System.out.println(aktualni);
if(aktualni < nejblizsi){
nejblizsi = aktualni;
id = idtmp;
}
}
//System.out.println("vybrano: "+nejblizsi);
delkaCesty += uzel.spoctiVzdalenost(Simulator.objekty[id]);
uzel = Simulator.objekty[id];
auto.pridejUzel(uzel);
//System.out.print(uzel.id+", ");
}
//System.out.println("Heureka");
return delkaCesty;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void zapisUrok() {\r\n\r\n\t\taktualnyZostatok = getZostatok() * urokovaSadzba / 100;\r\n\t\tsetVklad(aktualnyZostatok);\r\n\r\n\t}",
"public void nastaviIgru() {\r\n\t\t// nastavi igru poslije pobjede\r\n\t\tigrajPoslijePobjede = true;\r\n\t}",
"private void peliLoppuuUfojenTuhoamiseen() {\n if (tuhotut == Ufolkm) {\n ingame = false;\n Loppusanat = \"STEVE HOLT!\";\n }\n }",
"public void kast() {\n\t\t// vaelg en tilfaeldig side\n\t\tdouble tilfaeldigtTal = Math.random();\n\t\tvaerdi = (int) (tilfaeldigtTal * 6 + 1);\n\t}",
"private String elaboraIncipit() {\n String testo = VUOTA;\n\n if (usaHeadIncipit) {\n testo += elaboraIncipitSpecifico();\n testo += A_CAPO;\n }// fine del blocco if\n\n return testo;\n }",
"private void sonucYazdir() {\n\t\talinanPuan = (int)(((float)alinanPuan / (float)toplamPuan) * 100);\n\t\tSystem.out.println(\"\\nSınav Bitti..!\\n\" + soruSayisi + \" sorudan \" + dogruSayaci + \" tanesine\"\n\t\t\t\t\t\t+ \" doğru cevap verdiniz.\\nPuan: \" + alinanPuan + \"/\" + toplamPuan);\n\t}",
"void berechneUmfang() {\r\n\t\tfor (int i = 1; i < m_ANZAHL_POINTS; i++) {\r\n\t\t\tm_umfang += m_pointArray[i].distance(m_pointArray[i-1]);\t\t\r\n\t\t}\r\n\t}",
"public void ustawPojazdNaPoczatek()\n\t{\n\t\tSciezka pierwszaSc = droga.get(0);\n\t\tfinal double y = 10;\n\t\tpojazd.zmienPozycje(pierwszaSc.getCenterDownX(), y);\n\t}",
"public void urciStupneVrcholu(){\n\t\tfor(int i = 0;i < vrchP.length; i++){\n\t\t\tstupenVrcholu(vrchP[i].klic);\n\t\t}\n\t}",
"private String nalozZvieraNaVozidlo() {\r\n if (zoo.getPracovneVozidlo() == null) {\r\n return \"Pracovne vozidlo nie je pristavene\";\r\n }\r\n\r\n Integer pozicia = MojeMetody.vlozInt(\"Vloz cislo zvierata\");\r\n if (pozicia == null) return \"\";\r\n\r\n try {\r\n Prepravitelny z = (Prepravitelny) zoo.getZvierataZOO(pozicia - 1);\r\n zoo.nalozZivocicha(z);\r\n zoo.odstranZivocicha(pozicia - 1);\r\n return \"Zviera \" + z + \"\\n\\tbolo nalozene na prepravne vozidlo\";\r\n } catch (ClassCastException exCC) {\r\n return \"Zviera c. \" + pozicia + \" nemozno prepravit\\n\\t\";\r\n } catch (NullPointerException exNP) {\r\n return \"Zviera c. \" + pozicia + \" nie je v ZOO\";\r\n } catch (Exception ex) {\r\n return \"Neznama chyba:\\n\\t\" + ex;\r\n }\r\n }",
"private String elaboraAvvisoScrittura() {\n String testo = VUOTA;\n\n if (usaHeadNonScrivere) {\n testo += TAG_NON_SCRIVERE;\n testo += A_CAPO;\n }// end of if cycle\n\n return testo;\n }",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\n\tpublic void nefesAl() {\n\n\t}",
"public void orina() {\n System.out.println(\"Que bien me quedé! Deposito vaciado.\");\n }",
"private String vylozZvieraZVozidla() {\r\n if (zoo.getPracovneVozidlo() == null) {\r\n return \"Pracovne vozidlo nie je pristavene\";\r\n }\r\n\r\n Integer pozicia = MojeMetody.vlozInt(\"Vloz index zvierata\");\r\n if (pozicia == null) return \"\";\r\n\r\n try {\r\n Zivocich ziv = zoo.vylozZivocicha(pozicia-1);\r\n if (ziv == null) {\r\n return \"Zviera c. \" + pozicia + \" nie je na vozidle\\n\\t\";\r\n }\r\n zoo.pridajZivocicha(ziv);\r\n return \"Zviera \" + ziv\r\n + \"\\n\\tbolo vylozene z prepravneho vozidla\";\r\n } catch (ClassCastException exCC) {\r\n return \"Zviera c. \" + pozicia + \" nie je na vozidle\\n\\t\";\r\n } catch (Exception ex) {\r\n return \"Neznama chyba:\\n\\t\" + ex;\r\n }\r\n }",
"private static void etapa3Urna() {\n\t\t\n\t\turna.contabilizarVotosPorCandidato(enderecoCandidatos);\n\t\t\n\t}",
"private Zivocich vytvorZivocicha() {\r\n final String[] zFarba = {\"cervena\", \"zelena\", \"modra\", \"zlta\", \"zlto-zelena\"};\r\n Zivocich zviera = null;\r\n double kolkoVazi = 0.0;\r\n\r\n //-- Vygenerujeme zviera\r\n int vygenerovane = 1 + generator.nextInt(4); //cislo <1,4>\r\n\r\n switch (vygenerovane) {\r\n case 1: //blcha \r\n double kolkoDoskoci=3 * generator.nextDouble() ; //cislo <0;2.99>\r\n double kolkoVyskoci=3 * generator.nextDouble() ; //cislo <0;2.99>\r\n zviera=new Blcha(6,kolkoDoskoci,kolkoVyskoci);\r\n break;\r\n case 2: //simpanz\r\n kolkoVazi=3 + (97 * generator.nextDouble()); //cislo <3;99.9>\r\n boolean cviceny;\r\n cviceny=generator.nextBoolean(); \r\n zviera=new Simpanz(kolkoVazi,cviceny);\r\n break;\r\n case 3: //papagaj\r\n kolkoVazi = 0.1 + (5*generator.nextDouble()); // cislo <0.1; 6>\r\n String farba = zFarba[generator.nextInt(5)]; // farba zo zoznamu\r\n zviera = new Papagaj(\"Ara\", 2, kolkoVazi, farba); \r\n break;\r\n case 4: //slon\r\n kolkoVazi=20 + (480*generator.nextDouble()); //cislo <20;500> \r\n int pocet=generator.nextInt(50); //pocet zubov bude <0,49>\r\n zviera=new Slon(kolkoVazi,pocet);\r\n break;\r\n } //------------------------------------------------------------- switch --\r\n return zviera;\r\n }",
"public void eisagwgiAstheni() {\n\t\t// Elegxw o arithmos twn asthenwn na mhn ypervei ton megisto dynato\n\t\tif(numOfPatient < 100)\n\t\t{\n\t\t\tSystem.out.println();\n\t\t\tpatient[numOfPatient] = new Asthenis();\n\t\t\tpatient[numOfPatient].setFname(sir.readString(\"DWSTE TO ONOMA TOU ASTHENH: \")); // Pairnei to onoma tou asthenh apo ton xrhsth\n\t\t\tpatient[numOfPatient].setLname(sir.readString(\"DWSTE TO EPWNYMO TOU ASTHENH: \")); // Pairnei to epitheto tou asthenh apo ton xrhsth\n\t\t\tpatient[numOfPatient].setAMKA(rnd.nextInt(1000000)); // To sistima dinei automata ton amka tou asthenous\n\t\t\tSystem.out.println();\n\t\t\t\n\t\t\t//Elegxos monadikotitas tou amka tou astheni\n\t\t\th = rnd.nextInt(1000000);\n\t\t\tfor(int i = 0; i < numOfPatient; i++)\n\t\t\t{\n\t\t\t\tif(patient[i].getAMKA() == h)\n\t\t\t\t{\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t\tSystem.out.println(\"O KWDIKOS AUTOS YPARXEI HDH!\");\n\t\t\t\t\th = rnd.nextInt(1000000);\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t}\n\t\t\tnumOfPatient++;\n\t\t}\n\t\telse\n\t\t{\n\t\t\tSystem.out.println(\"DEN MPOREITE NA EISAGETE ALLOUS ASTHENEIS!\");\n\t\t\tSystem.out.println(\"EXEI SYMPLHRWTHEI O PROVLEPOMENOS ARITHMOS!\");\n\t\t}\n\t}",
"private static void cajas() {\n\t\t\n\t}",
"public PregledPoruka() {\n preuzmiMape();\n preuzmiPoruke();\n }",
"public static void main(String [] agrs){\n\r\n\r\n Kaczka gumowa = new GumowaKaczka();\r\n gumowa.ustawKwakanieInterfejs(2);\r\n gumowa.ustawLatanieInterfejs(new SzybkieLatanie());\r\n gumowa.wyswietl();\r\n System.out.println(gumowa.kwacz());\r\n System.out.println(gumowa.lec());\r\n Kaczka dzika = new DzikaKaczka();\r\n // dzika.ustawLatanieInterfejs(1);\r\n dzika.wyswietl();\r\n System.out.println(dzika.lec());\r\n System.out.println(dzika.kwacz());\r\n\r\n\r\n// Polecenie[] polecenieWlacz;\r\n// Polecenie[] polecanieWylacz;\r\n// Polecenie polecenieWycofaj;\r\n//\r\n// polecanieWylacz = new Polecenie[7];\r\n// polecenieWlacz = new Polecenie[7];\r\n//\r\n// Swiatlo swiatlo = new Swiatlo();\r\n// polecanieWylacz[0] = new PolecenieWylaczSwiatlo(swiatlo);\r\n// polecenieWlacz[0] = new PolecenieWlaczSwiatlo(swiatlo);\r\n//\r\n//\r\n//\r\n//\r\n// polecenieWlacz[0].wykonaj();\r\n// polecanieWylacz[0].wykonaj();\r\n// polecenieWlacz[0].wykonaj();\r\n// polecenieWycofaj = polecanieWylacz[0];\r\n//// polecenieWycofaj = polecenieWlacz[0];\r\n// polecenieWycofaj.wykonaj();\r\n// polecenieWycofaj.wykonaj();\r\n//// polecenieWycofaj.wycofaj();\r\n//\r\n// WiezaStereo wiezaStereo = new WiezaStereo();\r\n//\r\n// polecenieWlacz[1] = new PolecenieWiezaStereoWlaczCD(wiezaStereo);\r\n//\r\n// polecenieWlacz[1].wykonaj();\r\n\r\n\r\n\r\n }",
"public void vaaraSyote() {\n System.out.println(\"En ymmärtänyt\");\n kierros();\n }",
"public void testAuta()\n\t{\n\t\tNakladak nakl = new Nakladak(Simulator.getCas());\n\t\tnakl.poloha[0] = this.poloha[0];\n\t\tnakl.poloha[1] = this.poloha[1];\n\t\t//cesta po prekladistich\n\t\tfor(int i=4001;i<4009;i++)\n\t\t{\n\t\t\tnakl.cesta.add(i);\n\t\t}\n\t\tnakl.kDispozici = false;\n\t\tnakl.jede = true;\n\t\tsim.addObserver(nakl);\n\t\t\n\t\tthis.vozy.add(nakl);\n\t\t\n\t}",
"public static void main(String[] args) {\n\t\t\r\n\t\tclass Ulamek{\r\n\t\t\tprivate int licznik, mianownik;\r\n\r\n\t\t\tpublic void ustawLicznik (int l){\r\n\t\t\t\tlicznik=l;\r\n\t\t\t}\r\n\t\t\tpublic void ustawMianownik (int m){\r\n\t\t\t\tmianownik=m;\r\n\t\t\t}\r\n\t\t\tpublic void ustawUlamek (int u1, int u2){\r\n\t\t\t\tlicznik=u1;\r\n\t\t\t\tmianownik=u2;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tpublic void wyswietl (){\r\n\t\t\t\t\r\n\t\t\t\tint przod, reszta, przod_dlugosc, mianownik_dlugosc, licznik_dlugosc;\r\n\t\t\t\tString przod_zamiana, mianownik_string, licznik_string;\r\n\t\t\t\tdouble wynik;\r\n\t\t\t\t\r\n\t\t\t\tif (mianownik!=0 && licznik !=0){\r\n\t\t\t\tprzod=licznik/mianownik;\r\n\t\t\t\treszta=licznik-(przod*mianownik);\r\n\t\t\t\tprzod_zamiana=\"\"+przod;\r\n\t\t\t\tprzod_dlugosc=przod_zamiana.length();\r\n\t\t\t\twynik=1.0*licznik/mianownik;\r\n\t\t\t\t\r\n\t\t\t\tif(reszta!=0){\r\n\t\t\t\tSystem.out.print(\" \");\r\n\t\t\t\tint licznik = 0;\r\n\t\t\t\t\tdo{\r\n\t\t\t\t System.out.print(\" \");\r\n\t\t\t\t licznik++;\r\n\t\t\t\t\t}while (licznik!=przod_dlugosc);\r\n\t\t\t\tSystem.out.println(reszta);\r\n\t\t\t}\r\n\r\n\t\t\t\t//zamiana na stringa i liczenie\r\n\t\t\t\tmianownik_string=\"\"+mianownik;\r\n\t\t\t\tmianownik_dlugosc=mianownik_string.length();\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t//brak calości\r\n\t\t\t\tif(przod==0){\r\n\t\t\t\tSystem.out.print(\" \"+\" \"+\" \");\r\n\t\t\t\tint licznik3 = 0;\r\n\t\t\t\tdo{\r\n\t\t\t\t System.out.print(\"-\");\r\n\t\t\t\t licznik3++;\r\n\t\t\t\t}while (licznik3!=mianownik_dlugosc);\r\n\t\t\t System.out.print(\" = \"+wynik);\r\n\r\n\t\t\t System.out.println();\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\r\n\r\n\t\t\t\tif(przod!=0){\r\n\t\t\t\tSystem.out.print(\" \"+przod+\" \");\r\n\t\t\t\tint licznik3 = 0;\r\n\t\t\t\tdo{\r\n\t\t\t\t\tif(reszta!=0){\r\n\t\t\t\t System.out.print(\"-\");\r\n\t\t\t\t\t}\r\n\t\t\t\t licznik3++;\r\n\t\t\t\t}while (licznik3!=mianownik_dlugosc);\r\n\t\t\t System.out.print(\" = \"+wynik);\r\n\r\n\t\t\t System.out.println();\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tif(reszta!=0){\r\n\t\t\t\tSystem.out.print(\" \");\r\n\t\t\t\tint licznik2 = 0;\r\n\t\t\t\tdo{\r\n\t\t\t\t\tif(reszta!=0){\r\n\t\t\t\t System.out.print(\" \");\r\n\t\t\t\t\t}\r\n\t\t\t\t licznik2++;\r\n\t\t\t\t\t\r\n\t\t\t\t}while (licznik2!=przod_dlugosc);\r\n\t\t\t\tSystem.out.println(mianownik);\r\n\t\t\t System.out.println();\r\n\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\telse{\r\n\t\t\t\t\t//jezeli blad \r\n\t\t\t\t\tmianownik_string=\"\"+mianownik;\r\n\t\t\t\t\tmianownik_dlugosc=mianownik_string.length();\r\n\t\t\t\t\tlicznik_string=\"\"+licznik;\r\n\t\t\t\t\tlicznik_dlugosc=licznik_string.length();\r\n\t\t\t\t\tif(licznik_dlugosc>mianownik_dlugosc){\r\n\t\t\t\t\t\tmianownik_dlugosc=licznik_dlugosc;\r\n\t\t\t\t\t}\r\n\t\t\t\t\t//gora\r\n\t\t\t\t\tSystem.out.print(\" \");\r\n\t\t\t\t\t//if(licznik==0){\r\n\t\t\t\t\t//System.out.print(\" \");\r\n\t\t\t\t\t//}\r\n\r\n\t\t\t\t\tSystem.out.println(licznik);\r\n\t\t\t\t\t\r\n\t\t\t\t\t//srodek\r\n\t\t\t\t\tSystem.out.print(\" \"+\" \"+\" \");\r\n\t\t\t\t\t\r\n\t\t\t\t\tint licznik3 = 0;\r\n\t\t\t\t\tdo{\r\n\t\t\t\t\t System.out.print(\"-\");\r\n\t\t\t\t\t licznik3++;\r\n\t\t\t\t\t}while (licznik3!=mianownik_dlugosc);\r\n\t\t\t\t System.out.print(\" = \"+\"ERR\");\r\n\r\n\t\t\t\t System.out.println();\r\n\t\t\t\t\t\r\n\t\t\t\t //dol\r\n\t\t\t\t\t\tSystem.out.print(\" \");\r\n\t\t\t\t\t System.out.print(\" \");\r\n\t\t\t\t\t\tSystem.out.println(mianownik);\r\n\t\t\t\t\t System.out.println();\r\n\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t}\r\n\t\t\t\r\n\t\t}\r\n\t\t\r\n\t\t Ulamek u1=new Ulamek();\r\n\t\t Ulamek u2=new Ulamek();\r\n\r\n\t\t u1.ustawLicznik(3);\r\n\t\t u1.ustawMianownik(5);\r\n\r\n\t\t u2.ustawLicznik(142);\r\n\t\t u2.ustawMianownik(8);\r\n\r\n\t\t u1.wyswietl();\r\n\r\n\r\n\r\n\r\n\r\n\r\n\t\t \r\n\t\t u2.wyswietl();\r\n\r\n\r\n\r\n\r\n\t\t u2.ustawUlamek(100,0);\r\n\r\n\r\n\t\t u2.wyswietl();\r\n\r\n\t}",
"public void eisagwgiFarmakou() {\n\t\t// Elegxw o arithmos twn farmakwn na mhn ypervei ton megisto dynato\n\t\tif(numOfMedicine < 100)\n\t\t{\n\t\t\tSystem.out.println();\t\n\t\t\tmedicine[numOfMedicine] = new Farmako();\t\n\t\t\tmedicine[numOfMedicine].setCode(rnd.nextInt(1000000)); // To sistima dinei automata ton kwdiko tou farmakou\n\t\t\tmedicine[numOfMedicine].setName(sir.readString(\"DWSTE TO ONOMA TOU FARMAKOU: \")); // Zitaw apo ton xristi na mou dwsei to onoma tou farmakou\n\t\t\tmedicine[numOfMedicine].setPrice(sir.readPositiveFloat(\"DWSTE THN TIMH TOU FARMAKOU: \")); // Pairnw apo ton xristi tin timi tou farmakou\n\t\t\tSystem.out.println();\n\t\t\t// Elegxos monadikotitas tou kwdikou tou farmakou\n\t\t\th = rnd.nextInt(1000000);\n\t\t\tfor(int i = 0; i < numOfMedicine; i++)\n\t\t\t{\n\t\t\t\tif(medicine[i].getCode() == h)\n\t\t\t\t{\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t\tSystem.out.println(\"O KWDIKOS AUTOS YPARXEI HDH!\");\n\t\t\t\t\th = rnd.nextInt(10);\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t}\n\t\t\tnumOfMedicine++;\n\t\t}\n\t\t// An xeperastei o megistos arithmos farmakwn\n\t\telse\n\t\t{\n\t\t\tSystem.out.println(\"DEN MPOREITE NA EISAGETE ALLA FARMAKA!\");\n\t\t\tSystem.out.println(\"EXEI SYMPLHRWTHEI O PROVLEPOMENOS ARITHMOS!\");\n\t\t}\n\t}",
"public void zpracujObjednavky()\n\t{\n\t\tint idtmp = 0;\n\t\tfloat delkaCesty = 0;\n\t\t\n\t\tif (this.objednavky.isEmpty())\n\t\t{\n\t\t\treturn ;\n\t\t}\n\t\t\n\t\tNakladak nakl = (Nakladak) getVolneAuto();\n\t\t\n\t\tnakl.poloha[0] = this.poloha[0];\n\t\tnakl.poloha[1] = this.poloha[1];\n\t\tObjednavka ob = this.objednavky.remove();\n\n\t\t/*System.out.println();\n\t\tSystem.out.println(\"Objednavka hospody:\" + ob.id + \" se zpracuje pres trasu: \");\n\t\t */\n\t\tdelkaCesty += vyberCestu(this.id, ob.id, nakl);\n\t\t\n\t\twhile(nakl.pridejObjednavku(ob))\n\t\t{\n\t\t\tidtmp = ob.id;\n\t\t\t\n\t\t\tob = vyberObjednavku(ob.id);\n\t\t\tif (ob == null)\n\t\t\t{\n\t\t\t\tob=nakl.objednavky.getLast();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tobjednavky.remove(ob);\n\t\t\t\n\t\t\tdelkaCesty += vyberCestu(idtmp, ob.id, nakl);\n\t\t\t\n\t\t\tif((nakl.objem > 24)||(13-Simulator.getCas().hodina)*(nakl.RYCHLOST) + 100 < delkaCesty){\n\t\t\t\t//System.out.println(\"Nakladak ma \"+nakl.objem);\n\t\t\t\tnakl.kDispozici = false;\n\t\t\t\t//System.out.println(\"Auto jede \" + delkaCesty + \"km\");\n\t\t\t\tbreak;\t\t\n\t\t\t}\n\t\t\t/*\n\t\t\tif((Simulator.getCas().hodina > 12) && (delkaCesty > 80) ){\n\t\t\t\t//System.out.println(\"Nakladak ma \"+nakl.objem);\n\t\t\t\tnakl.kDispozici = false;\n\t\t\t\t//System.out.println(\"Auto jede \" + delkaCesty + \"km\");\n\t\t\t\tbreak;\t\t\n\t\t\t}\n\t\t\t\n\t\t\tif((Simulator.getCas().hodina > 9) && (delkaCesty > 130) ){\n\t\t\t\t//System.out.println(\"Nakladak ma \"+nakl.objem);\n\t\t\t\tnakl.kDispozici = false;\n\t\t\t\t//System.out.println(\"Auto jede \" + delkaCesty + \"km\");\n\t\t\t\tbreak;\t\t\n\t\t\t}*/\n\t\t\t\n\t\t}\n\t\t\n\t\t\n\t\t//cesta zpatky\n\t\tvyberCestu(ob.id, this.id, nakl);\n\t\tif (nakl.objem >= 1)\n\t\t{\n\t\t\tnakl.kDispozici = false;\n\t\t\tnakl.jede = true;\n\t\t\t//vytvoreni nove polozky seznamu pro statistiku\n\t\t\tnakl.novaStatCesta();\n\t\t}\n\t\telse\n\t\t{\n\t\t\tnakl.resetCesta();\n\t\t}\n\t}",
"public void pridejNovePivo ()\n\t{\n\t\n\t\tpivo = pivo + PRODUKCE;\n\t\t\n\t}",
"protected void jouerOrdinateur() {\n Random rdmPropoOrdi = new Random();\n\n for (int i = 0; i < nbrPosition; i++) {\n int min = 0;\n int max = propositionHaute[i];\n if (propositionBasse[i] != 0) {\n min = propositionBasse[i] + 1;\n }\n\n if (propositionOrdinateur[i] != combinaisonJoueur[i]) {\n int propoOrdi = min + rdmPropoOrdi.nextInt(max - min);\n propositionOrdinateur[i] = (byte) (propoOrdi);\n\n if (propositionOrdinateur[i] < combinaisonJoueur[i]) {\n propositionBasse[i] = propositionOrdinateur[i];\n } else {\n propositionHaute[i] = propositionOrdinateur[i];\n }\n }\n }\n }",
"public static void dodavanjePutnickogVozila() {\n\t\tString vrstaVozila = \"Putnicko Vozilo\";\n\t\tString regBr = UtillMethod.unosRegBroj();\n\t\tGorivo gorivo = UtillMethod.izabirGoriva();\n\t\tGorivo gorivo2 = UtillMethod.izabirGorivaOpet(gorivo);\n\t\tint brServisa = 1;\n\t\tdouble potrosnja100 = UtillMethod.unesiteDoublePotrosnja();\n\t\tSystem.out.println(\"Unesite broj km koje je vozilo preslo:\");\n\t\tdouble predjeno = UtillMethod.unesiteBroj();\n\t\tdouble preServisa = 10000;\n\t\tdouble cenaServisa = 8000;\n\t\tSystem.out.println(\"Unesite cenu vozila za jedan dan:\");\n\t\tdouble cenaDan = UtillMethod.unesiteBroj();\n\t\tSystem.out.println(\"Unesite broj sedista u vozilu:\");\n\t\tint brSedist = UtillMethod.unesiteInt();\n\t\tSystem.out.println(\"Unesite broj vrata vozila:\");\n\t\tint brVrata = UtillMethod.unesiteInt();\n\t\tboolean vozObrisano = false;\n\t\tArrayList<Gorivo> gorivaVozila = new ArrayList<Gorivo>();\n\t\tgorivaVozila.add(gorivo);\n\t\tif(gorivo2!=Main.nista) {\n\t\t\tgorivaVozila.add(gorivo2);\n\t\t}\n\t\tArrayList<Servis> servisiNadVozilom = new ArrayList<Servis>();\n\t\tPutnickoVozilo vozilo = new PutnickoVozilo(vrstaVozila, regBr, gorivaVozila, brServisa, potrosnja100, predjeno,\n\t\t\t\tpreServisa, cenaServisa, cenaDan, brSedist, brVrata, vozObrisano, servisiNadVozilom);\n\t\tUtillMethod.prviServis(vozilo, predjeno);\n\t\tMain.getVozilaAll().add(vozilo);\n\t\tSystem.out.println(\"Novo vozilo je uspesno dodato u sistem!\");\n\t\tSystem.out.println(\"---------------------------------------\");\n\t}",
"private void kasvata() {\n T[] uusi = (T[]) new Object[this.arvot.length * 3 / 2 + 1];\n for (int i = 0; i < this.arvot.length; i++) {\n uusi[i] = this.arvot[i];\n }\n this.arvot = uusi;\n }",
"public void naplnVrcholy() {\r\n System.out.println(\"Zadajte pocet vrcholov: \");\r\n pocetVrcholov = skener.nextInt();\r\n for (int i=0; i < pocetVrcholov; i++) {\r\n nekonecno = (int)(Double.POSITIVE_INFINITY);\r\n if(i==0) { //pre prvy vrchol potrebujeme nastavit vzdialenost 0 \r\n String menoVrcholu = Character.toString((char)(i+65)); //pretipovanie int na String, z i=0 dostanem A\r\n Vrchol vrchol = new Vrchol(menoVrcholu, 0, \"\"); //vrcholu nastavim vzdialenost a vrcholPrichodu \r\n vrcholy.add(vrchol);\r\n } else { //ostatne budu mat nekonecno alebo v tomto pripade 9999 (lebo tuto hodnotu v mensich grafoch nepresiahnem)\r\n String menoVrcholu = Character.toString((char)(i+65)); //pretipovanie int na String, z i=0 dostanem A\r\n Vrchol vrchol = new Vrchol(menoVrcholu,nekonecno, \"\"); //vrcholu nastavim vzdialenost a vrcholPrichodu \r\n vrcholy.add(vrchol);\r\n }\r\n }\r\n }",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"public void renovarBolsa() {\n\t\tSystem.out.println(\"Bolsa renovada com suceso!\");\n\t}",
"private static void kapazitaetPruefen(){\n\t\tList<OeffentlichesVerkehrsmittel> loev = new ArrayList<OeffentlichesVerkehrsmittel>();\n\t\t\n\t\tLinienBus b1 = new LinienBus();\n\t\tFaehrschiff f1 = new Faehrschiff();\n\t\tLinienBus b2 = new LinienBus();\t\n\t\t\n\t\tloev.add(b1);\n\t\tloev.add(b2);\n\t\tloev.add(f1);\n\t\t\n\t\tint zaehlung = 500;\n\t\tboolean ausreichend = kapazitaetPruefen(loev,500);\n\t\tp(\"Kapazitaet ausreichend? \" + ausreichend);\n\t\t\n\t}",
"public void atrapar() {\n if( una == false) {\n\t\tif ((app.mouseX > 377 && app.mouseX < 591) && (app.mouseY > 336 && app.mouseY < 382)) {\n\t\t\tint aleotoridad = (int) app.random(0, 4);\n\n\t\t\tif (aleotoridad == 3) {\n\n\t\t\t\tSystem.out.print(\"Lo atrapaste\");\n\t\t\t\tcambioEnemigo = 3;\n\t\t\t\tsuerte = true;\n\t\t\t\tuna = true;\n\t\t\t}\n\t\t\tif (aleotoridad == 1 || aleotoridad == 2 || aleotoridad == 0) {\n\n\t\t\t\tSystem.out.print(\"Mala Suerte\");\n\t\t\t\tcambioEnemigo = 4;\n\t\t\t\tmal = true;\n\t\t\t\tuna = true;\n\t\t\t}\n\n\t\t}\n }\n\t}",
"public void realizacjap34() {\n System.out.println(\"REALIZACJA PUNKTU 3\\n\");\n\n System.out.println(\"\\nWyszukiwanie osob po imieniu (Piotr) ============================================================================\\n\");\n NarzedziaWyszukiwania.znajdzOsobyPoImieniu(Listy.osoby, \"Piotr\").forEach(System.out::println);\n\n System.out.println(\"\\nWyszukiwanie osob po nazwisku (Oleszczuk) ============================================================================\\n\");\n NarzedziaWyszukiwania.znajdzOsobyPoNazwisku(Listy.osoby, \"Oleszczuk\").forEach(System.out::println);\n\n System.out.println(\"\\nWyszukiwanie osob po stazu pracy mniejszym niz 10============================================================================\\n\");\n NarzedziaWyszukiwania.znajdzPracownikowPoStazuPracyMniejszymNiz(Listy.osoby, 10).forEach(System.out::println);\n\n System.out.println(\"\\nWyszukiwanie osob po stazu pracy większym niz 10============================================================================\\n\");\n NarzedziaWyszukiwania.znajdzPracownikowPoStazuPracyWiekszymNiz(Listy.osoby, 10).forEach(System.out::println);\n\n System.out.println(\"\\nWyszukiwanie osob po stazu pracy równym 5============================================================================\\n\");\n NarzedziaWyszukiwania.znajdzPracownikowPoStazuPracyRownym(Listy.osoby, 5).forEach(System.out::println);\n\n System.out.println(\"\\nWyszukiwanie osob po liczbie nadgodzin mniejszej niz 6 ============================================================================\\n\");\n NarzedziaWyszukiwania.znajdzPracownikowPoNadgodzinachMniejszychNiz(Listy.osoby, 6).forEach(System.out::println);\n\n System.out.println(\"\\nWyszukiwanie osob po liczbie nadgodzin wiekszej niz 6 ============================================================================\\n\");\n NarzedziaWyszukiwania.znajdzPracownikowPoNadgodzinachWiekszychNiz(Listy.osoby, 6).forEach(System.out::println);\n\n System.out.println(\"\\nWyszukiwanie osob po liczbie nadgodzin równej 6 ============================================================================\\n\");\n NarzedziaWyszukiwania.znajdzPracownikowPoNadgodzinachRownych(Listy.osoby, 6).forEach(System.out::println);\n\n System.out.println(\"\\nWyszukiwanie osob po pensji wiekszej niz 15000 ============================================================================\\n\");\n NarzedziaWyszukiwania.znajdzPracownikowPoPensjiWiekszejNiz(Listy.osoby, 15000).forEach(System.out::println);\n\n System.out.println(\"\\nWyszukiwanie osob po pensji mniejszej niz 15000 ============================================================================\\n\");\n NarzedziaWyszukiwania.znajdzPracownikowPoPensjiMniejszejNiz(Listy.osoby, 15000).forEach(System.out::println);\n\n System.out.println(\"\\nWyszukiwanie osob po pensji rownej 15000 ============================================================================\\n\");\n NarzedziaWyszukiwania.znajdzPracownikowPoPensjiRownej(Listy.osoby, 15000).forEach(System.out::println);\n\n System.out.println(\"\\nWyszukiwanie osob po stanowisku (Adiunkt) ============================================================================\\n\");\n NarzedziaWyszukiwania.znajdzPracownikowPoStanowisku(Listy.osoby, \"Adiunkt\").forEach(System.out::println);\n\n System.out.println(\"\\nWyszukiwanie studenta po numerze indeksu (123456) ============================================================================\\n\");\n System.out.println(NarzedziaWyszukiwania.znajdzStudentaPoIndeksie(Listy.osoby, \"123456\"));\n\n System.out.println(\"\\nWyszukiwanie studentów po roku studiów (1) ============================================================================\\n\");\n NarzedziaWyszukiwania.znajdzStudentowPoRokuStudiow(Listy.osoby, 1).forEach(System.out::println);\n\n System.out.println(\"\\nWyszukiwanie studentów po kierunku (Informatyka Stosowana) ============================================================================\\n\");\n NarzedziaWyszukiwania.znajdzStudentowPoKierunku(Listy.osoby, \"Informatyka Stosowana\").forEach(System.out::println);\n\n System.out.println(\"\\nWyszukiwanie kursu po nazwie (Analiza Matematyczna 1) ============================================================================\\n\");\n System.out.println(NarzedziaWyszukiwania.znajdzKursPoNazwie(Listy.kursy, \"Analiza Matematyczna 1\"));\n\n System.out.println(\"\\nWyszukiwanie kursów po liczbie ects (5) ============================================================================\\n\");\n NarzedziaWyszukiwania.znajdzKursyPoECTS(Listy.kursy, 5).forEach(System.out::println);\n\n System.out.println(\"\\nWyszukiwanie kursów po prowadzacym+\"+Listy.osoby.get(0).getImie()+\" \"+Listy.osoby.get(0).getNazwisko()+\" ============================================================================\\n\");\n NarzedziaWyszukiwania.znajdzKursyPoProwadzacym(Listy.kursy, Listy.osoby.get(0)).forEach(System.out::println);\n\n\n //REALIZACJA PUNKTU 4\n System.out.println(\"=====================================================================================================================\");\n System.out.println(\"REALIZACJA PUNKTU 4\");\n System.out.println(\"=====================================================================================================================\\n\");\n System.out.println(\"Kursy:\\n\");\n for (Kurs kurs : Listy.kursy) {\n System.out.println(kurs.toString());\n }\n\n System.out.println(\"\\nOsoby:\\n\");\n for (Osoba osoba : Listy.osoby) {\n System.out.println(\"OSOBA====================================================================================================\");\n System.out.println(osoba.toString());\n System.out.println();\n }\n }",
"public static void atacar(){\n int aleatorio; //variables locales a utilizar\n Random numeroAleatorio = new Random(); //declarando variables tipo random para aleatoriedad\n int ataqueJugador;\n //acciones de la funcion atacar sobre vida del enemigo\n aleatorio = (numeroAleatorio.nextInt(20-10+1)+10);\n ataqueJugador= ((nivel+1)*10)+aleatorio;\n puntosDeVidaEnemigo= puntosDeVidaEnemigo-ataqueJugador;\n \n }",
"@Override\r\n\tpublic void hacerSonido() {\n\t\tSystem.out.print(\"miau,miau -- o depende\");\r\n\t\t\r\n\t}",
"public void uruchomGre()\n\t{\n\t\tustawPojazdNaPoczatek();\n\t\tplanszaWidokHND.repaint();\n\t\twToku = true;\n\t\tzegar.start();\n\t\tpauza = false;\n\t}",
"public boolean testSouvislostiAStupneVrcholu(){\n\t\t\n\t\tif(!souvislost()){\n\t\t\tvys = \"Graf neni souvisly a proto nemuze byt ani Eulerovsky.\";\n\t\t\treturn false;\n\t\t}\n\t\tif(!muzeBytEuler()){\n\t\t\tvys = \"Stupne vrcholu nejsou bud sude nebo nebo si neodpovida jejich vstupni a vystupni stupen.\";\n\t\t\treturn false;\n\t\t}\n\t\tif(muzeBytEuler() && souvislost()){\n\t\t\tvys =\"Graf je souvisly a zaroven vsechny stupne jsou sude nebo jejich vstupni a vystupni stupen je roven.\";\n\t\t\treturn true;\n\t\t}\n\t\treturn true;\n\t}",
"private void tallennaTiedostoon() {\n viitearkisto.tallenna();\n }",
"public void estiloAcierto() {\r\n\t\t /**Bea y Jose**/\t\t\r\n \r\n\t}",
"public boolean Vacia (){\n return cima==-1;\n \n }",
"public void eisagwgiGiatrou() {\n\t\t// Elegxw o arithmos twn iatrwn na mhn ypervei ton megisto dynato\n\t\tif(numOfDoctors < 100)\n\t\t{\n\t\t\tSystem.out.println();\n\t\t\tdoctor[numOfDoctors] = new Iatros();\n\t\t\tdoctor[numOfDoctors].setFname(sir.readString(\"DWSTE TO ONOMA TOU GIATROU: \")); // Pairnei apo ton xristi to onoma tou giatrou\n\t\t\tdoctor[numOfDoctors].setLname(sir.readString(\"DWSTE TO EPWNYMO TOU GIATROU: \")); // Pairnei apo ton xristi to epitheto tou giatrou\n\t\t\tdoctor[numOfDoctors].setAM(rnd.nextInt(1000000)); // To sistima dinei automata ton am tou giatrou\n\t\t\tSystem.out.println();\n\t\t\t\n\t\t\t// Elegxos monadikotitas tou am tou giatrou\n\t\t\th = rnd.nextInt(1000000);\n\t\t\tfor(int i = 0; i < numOfDoctors; i++)\n\t\t\t{\n\t\t\t\tif(doctor[i].getAM() == h)\n\t\t\t\t{\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t\tSystem.out.println(\"O KWDIKOS AUTOS YPARXEI HDH!\");\n\t\t\t\t\th = rnd.nextInt(1000000);\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t}\n\t\t\tnumOfDoctors++;\n\t\t}\n\t\telse\n\t\t{\n\t\t\tSystem.out.println(\"DEN MPOREITE NA EISAGETE ALLOUS GIATROUS!\");\n\t\t\tSystem.out.println(\"EXEI SYMPLHRWTHEI O PROVLEPOMENOS ARITHMOS!\");\n\t\t}\n\t}",
"public boolean muzeBytEuler(){\n\t\turciStupneVrcholu();\n\t\t//zjisti jestli je graf orientovany\n\t\tint druhGrafu = orientaceGrafu();\n\t\t\n\t\tif(druhGrafu == 0){\n\t\t\t//pokud nejsou vsechny vrcholy sudeho stupne vrati false\n\t\t\tif(!stupneProNeoriGraf()){\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\tif(druhGrafu == 1){\n\t\t\t//pokud nejsou vstupni a vystupni stupne u kazdeho vrchlu si rovny \n\t\t\t//vrati false\n\t\t\tif(!stupneProOriGraf()){\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\tif(druhGrafu == 2){\n\t\t\tSystem.out.println(\"Cast grafu je orientovana a cast neorientovana\");\n\t\t\treturn false;\n\t\t}\n\t\t//pokud jsou splneny podminky stupnu vraci true;\n\t\treturn true;\n\t\t\n\t}",
"void zmniejszBieg();",
"public boolean souvislost(){\n\t\t\n\t\tif(pole.size() != pocetVrcholu){\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t\t\n\t}",
"public void azzera() { setEnergia(0.0); }",
"public void trykkPaa() throws TrykketPaaBombe {\n // Ingenting skal skje dersom en av disse er true;\n if (brettTapt || trykketPaa || flagget) {\n return;\n }\n\n // Om ruten er en bombe taper man brettet\n if (bombe) {\n trykketPaa = true;\n setText(\"x\");\n setBackground(new Background(new BackgroundFill(Color.RED, CornerRadii.EMPTY, Insets.EMPTY)));\n throw new TrykketPaaBombe();\n }\n // Om ruten har null naboer skal et stoerre omraade aapnes\n else if (bombeNaboer == 0) {\n Lenkeliste<Rute> besokt = new Lenkeliste<Rute>();\n Lenkeliste<Rute> aapneDisse = new Lenkeliste<Rute>();\n aapneDisse.leggTil(this);\n // Rekursiv metode som fyller aapneDisse med riktige ruter\n finnAapentOmraade(besokt, aapneDisse);\n for (Rute r : aapneDisse) {\n r.aapne();\n }\n } else {\n aapne();\n }\n }",
"public void anazitisiSintagisVaseiGiatrou() {\n\t\tString doctorName = null;\n\t\ttmp_2 = 0;\n\t\tif(numOfPrescription != 0)\n\t\t{\n\t\t\tSystem.out.println();\n\t\t\tSystem.out.println(\" STOIXEIA SYNTAGWN\");\n\t\t\t// Emfanizw oles tis syntages\n\t\t\tfor(int j = 0; j < numOfPrescription; j++)\n\t\t\t{\n\t\t\t\tSystem.out.print(\"\\n \" + j + \". STOIXEIA SYNTAGHS: \");\n\t \t \tprescription[j].print();\n\t\t\t}\n\t\t\tdoctorName = sir.readString(\"DWSTE TO EPWNYMO TOU GIATROU: \"); // Zitaw apo ton xrhsth na mou dwsei to onoma tou giatrou pou exei grapsei thn sintagh pou epithumei\n\t\t\tfor(int i = 0; i < numOfPrescription; i++)\n\t\t\t{\n\t\t\t\tif(doctorName.equals(prescription[i].getDoctorLname())) // An vre8ei kapoia antistoixeia emfanizw thn syntagh pou exei grapsei o giatros\n\t\t\t\t{\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t\tSystem.out.println(\"VRETHIKE SYNTAGH!\");\n\t\t\t\t\t// Emfanizw thn/tis sintagh/sintages pou exoun graftei apo ton sygkekrimeno giatro\n\t\t\t\t\tprescription[i].print();\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t\ttmp_2++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(tmp_2 == 0)\n\t\t\t{\n\t\t\t\tSystem.out.println();\n\t\t\t\tSystem.out.println(\"DEN YPARXEI SYNTAGH POU NA PERILAMVANEI TON IATRO ME EPWNYMO: \" + doctorName);\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t}\n\t\telse\n\t\t{\n\t\t\tSystem.out.println();\n\t\t\tSystem.out.println(\"DEN YPARXOUN DIATHESIMES SYNTAGES!\");\n\t\t\tSystem.out.println();\n\t\t}\n\t}",
"private static boolean poserTapis(){\n\t\tSystem.out.println(\"Choisisser une premiere case pour poser la premiere partie du tapis\");\n\t\tint premiereCaseTapis = console.obtenirDirection();\n\t\tint direction = premiereCaseTapis;\n\t\tint posXTapis = 0, posYTapis = 0;\n\n\t\t//Pose du premier carre de tapis\n\t\ttry{\n\t\t\tif(premiereCaseTapis == 1){\n\t\t\t\tjeu.cases[jeu.getAssam().getXPion()-2][jeu.getAssam().getYPion()-1].setCouleurTapis(tour);\n\t\t\t\tposXTapis = jeu.getAssam().getXPion()-2;\n\t\t\t\tposYTapis = jeu.getAssam().getYPion()-1;\n\t\t\t}\n\n\t\t\telse if(premiereCaseTapis == 2){\n\t\t\t\tjeu.cases[jeu.getAssam().getXPion()][jeu.getAssam().getYPion()-1].setCouleurTapis(tour);\n\t\t\t\tposXTapis = jeu.getAssam().getXPion();\n\t\t\t\tposYTapis = jeu.getAssam().getYPion()-1;\n\t\t\t}\n\n\t\t\telse if(premiereCaseTapis == 3){\n\t\t\t\tjeu.cases[jeu.getAssam().getXPion()-1][jeu.getAssam().getYPion()-2].setCouleurTapis(tour);\n\t\t\t\tposYTapis = jeu.getAssam().getYPion()-2;\n\t\t\t\tposXTapis = jeu.getAssam().getXPion()-1;\n\t\t\t}\n\n\t\t\telse {\n\t\t\t\tjeu.cases[jeu.getAssam().getXPion()-1][jeu.getAssam().getYPion()].setCouleurTapis(tour);\n\t\t\t\tposYTapis = jeu.getAssam().getYPion();\n\t\t\t\tposXTapis = jeu.getAssam().getXPion()-1;\n\t\t\t}\n\n\t\t} catch (ArrayIndexOutOfBoundsException e){\n\t\t\tconsole.afficherImpossiblePoserTapis();\n\t\t\treturn false;\n\t\t}\n\n\n\n\n\t\tconsole.afficherJeu();\n\t\tSystem.out.println(\"Choisissez la deuxieme case\");\n\n\t\t//Pose du second petit carre de tapis\n\t\twhile(true){\n\t\t\tint d = console.obtenirDirection();\n\t\t\t//pour ne pas faire de demi tour ou erreur de d\n\t\t\tif(direction == 1 && d == 2 || direction == 2 && d == 1 || direction == 3 && d == 4 || direction == 4 && d == 3 || d<1 || d>4){\n\t\t\t\tconsole.afficherImpossibleChoisirDirection();\n\t\t\t} else {\n\t\t\t\ttry{\n\t\t\t\t\tif(d == 1){\n\t\t\t\t\t\tjeu.cases[posXTapis-1][posYTapis].setCouleurTapis(tour);\n\t\t\t\t\t}\n\n\t\t\t\t\telse if(d == 2){\n\t\t\t\t\t\tjeu.cases[posXTapis+1][posYTapis].setCouleurTapis(tour);\n\t\t\t\t\t}\n\n\t\t\t\t\telse if(d == 3){\n\t\t\t\t\t\tjeu.cases[posXTapis][posYTapis-1].setCouleurTapis(tour);\n\t\t\t\t\t}\n\n\t\t\t\t\telse {\n\t\t\t\t\t\tjeu.cases[posXTapis][posYTapis+1].setCouleurTapis(tour);\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\t} catch (ArrayIndexOutOfBoundsException e){\n\t\t\t\t\tconsole.afficherImpossiblePoserTapis();\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t}\n\t\tjeu.getJoueurs()[tour-1].useTapis();\n\t\treturn true;\n\n\n\t}",
"public abstract String dohvatiKontakt();",
"public void vivir(){\r\n\t\r\n\tAtacable algo42tmp;\r\n\t\r\n\tif (!(this.muerto)){\r\n\t\tfor(int i = 0; i <= this.velY; i++){\r\n\t\t\tthis.mover();\r\n\t\t}\r\n\t\t\r\n\t\talgo42tmp = zonaDeCombate.comprobarColisionAlgo42(this);\r\n\t\tif (algo42tmp != null){\r\n\t\t\talgo42tmp.recibirDanio(20); /**hacer q se muera*/\r\n\t\t\tthis.muerto = true;\r\n\t\t}\r\n\t\t\r\n\r\n\t\t}\r\n\t}",
"public void niveauSuivant() {\n niveau = niveau.suivant();\n }",
"public void nace() {\n System.out.println(\"Ostia, acabo de nacer tío.\");\n }",
"@Override\n\tpublic void atirou() {\n\n\t\t\tatirou=true;\n\t\t\t\n\t\t\n\t}",
"public boolean muzeJitDomu(){\r\n return getBatoh().obsahujeVec(\"mec\");\r\n }",
"@Override\n public int altura() {\n return altura(this.raiz);\n }",
"@Override\n\tpublic int mettreAJour() {\n\t\treturn 0;\n\t}",
"protected void pretragaGledalac() {\n\t\tString Gledalac=tfPretraga.getText();\r\n\r\n\t\tObject[]redovi=new Object[9];\r\n\t\tdtm.setRowCount(0);\r\n\t\t\r\n\t\tfor(Rezervacije r:Kontroler.getInstanca().vratiRezervacije()) {\r\n\t\t\tif(r.getImePrezime().toLowerCase().contains(Gledalac.toLowerCase())) {\r\n\t\t\t\r\n\t\t\t\tredovi[0]=r.getID_Rez();\r\n\t\t\t\tredovi[1]=r.getImePrezime();\r\n\t\t\t\tredovi[2]=r.getImePozorista();\r\n\t\t\t\tredovi[3]=r.getNazivPredstave();\r\n\t\t\t\tredovi[4]=r.getDatumIzvodjenja();\r\n\t\t\t\tredovi[5]=r.getVremeIzvodjenja();\r\n\t\t\t\tredovi[6]=r.getScenaIzvodjenja();\r\n\t\t\t\tredovi[7]=r.getBrRezUl();\r\n\t\t\t\tredovi[8]=r.getCenaUlaznica();\r\n\t\t\t\tdtm.addRow(redovi);\r\n\t\t\t\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t}",
"float znajdzOstatecznaCene()\n\t{\n\t\t//getInput(\"znajdzOstatecznaCene\");\n\t\t//print (\"znajdzOstatecznaCene \"+iteracja);\n\t\t\n\t\t//debug\n\t\tBoolean debug = false;\n\t\tif (LokalneCentrum.getCurrentHour().equals(\"03:00\"))\n\t\t{\n\t\t\tprint(\"03:00 on the clock\",debug);\n\t\t\tdebug=false;\n\t\t}\n\t\t\n\t\t//wszystkie ceny jakie byly oglaszan ne na najblizszy slot w \n\t\tArrayList<Float> cenyNaNajblizszySlot =znajdzOstatecznaCeneCenaNaNajblizszeSloty();\n\t\t\n\t\t\n\t\t//Stworzenie cen w raportowaniu\n\t\tint i=0;\n\t\twhile (i<cenyNaNajblizszySlot.size())\n\t\t{\n\t\t\trynekHistory.kontraktDodajCene(cenyNaNajblizszySlot.get(i));\n\t\t\ti++;\n\t\t}\n\t\t\n\t\tprint(\"ceny na najblizszy slot \"+cenyNaNajblizszySlot.size());\n\n\t\t\n\t\t//do rpzerobienia problemu minimalizacji na maksymalizacje\n\t\tint inverter =-1;\n\t\t\n\t\ti=0;\n\t\tfloat cena =cenyNaNajblizszySlot.get(i);\n\t\tfloat minimuCena =cena;\t\t\n\t\tfloat minimumValue =inverter*funkcjaRynku2(cena, false,true);\n\t\ti++;\n\t\t\n\t\trynekHistory.kontraktDodajWartoscFunkcjiRynku(funkcjaRynku2(cena, false), minimuCena);\n\t\t\n\t\twhile (i<cenyNaNajblizszySlot.size())\n\t\t{\n\t\t\tcena =cenyNaNajblizszySlot.get(i);\n\t\t\tfloat value =inverter*funkcjaRynku2(cena, false,true);\t\t\t\n\n\t\t\trynekHistory.kontraktDodajWartoscFunkcjiRynku(funkcjaRynku2(cena, false), cena);\n\n\t\t\tif (value<minimumValue)\n\t\t\t{\n\t\t\t\tminimuCena =cena;\n\t\t\t\tminimumValue = value;\n\n\t\t\t}\n\t\t\t\n\t\t\ti++;\n\t\t}\n\t\t\n\t\tif(debug)\n\t\t{\n\t\t\tgetInput(\"03:00 end\");\n\t\t}\n\t\t\n\t\t//getInput(\"znajdzOstatecznaCene - nto finished\");\n\t\treturn minimuCena;\n\t\t\n\t}",
"public void muovi() {\n\n for (int i = punti; i > 0; i--) {\n x[i] = x[(i - 1)];\n y[i] = y[(i - 1)];\n }\n\n if (sinistra) {\n x[0] -= DIMENSIONE_PUNTO;\n }\n\n if (destra) {\n x[0] += DIMENSIONE_PUNTO;\n }\n\n if (su) {\n y[0] -= DIMENSIONE_PUNTO;\n }\n\n if (giu) {\n y[0] += DIMENSIONE_PUNTO;\n }\n }",
"private void actualizaPuntuacion() {\n if(cambiosFondo <= 10){\n puntos+= 1*0.03f;\n }\n if(cambiosFondo > 10 && cambiosFondo <= 20){\n puntos+= 1*0.04f;\n }\n if(cambiosFondo > 20 && cambiosFondo <= 30){\n puntos+= 1*0.05f;\n }\n if(cambiosFondo > 30 && cambiosFondo <= 40){\n puntos+= 1*0.07f;\n }\n if(cambiosFondo > 40 && cambiosFondo <= 50){\n puntos+= 1*0.1f;\n }\n if(cambiosFondo > 50) {\n puntos += 1 * 0.25f;\n }\n }",
"public int liczbaelnastosie() {\n\t\treturn 0;\n\t}",
"void novyVrchol(String klic){\n\t\tVrchol pom = new Vrchol(klic,'B');\n\t\t\n\t\tvrchP[pocet] = pom;\n\t\tpocet++;\n\t\n\t}",
"public void anazitisiSintagisVaseiAstheni() {\n\t\tint amkaCode = 0;\n\t\ttmp_2 = 0;\n\t\tif(numOfPrescription != 0)\n\t\t{\n\t\t\tSystem.out.println();\n\t\t\tSystem.out.println(\" STOIXEIA SYNTAGWN\");\n\t\t\t// Emfanizw oles tis syntages\n\t\t\tfor(int j = 0; j < numOfPrescription; j++)\n\t\t\t{\n\t\t\t\tSystem.out.print(\"\\n \" + j + \". STOIXEIA SYNTAGHS: \");\n\t \t \tprescription[j].print();\n\t\t\t}\n\t\t\tamkaCode = sir.readPositiveInt(\"EISAGETAI TO AMKA TOU ASTHENH: \"); // Zitaw apo ton xrhsth na mou dwsei ton amka tou asthenh pou thelei\n\t\t\tfor(i = 0; i < numOfPrescription; i++)\n\t\t\t{\n\t\t\t\t\tif(amkaCode == prescription[i].getPatientAmka()) // An vre8ei kapoia antistoixeia emfanizw thn syntagh pou proorizetai gia ton sygkekrimeno asthenh\n\t\t\t\t\t{\n\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t\tSystem.out.println(\"VRETHIKE SYNTAGH!\");\n\t\t\t\t\t\tprescription[i].print(); // Emfanizw thn/tis sintagh/sintages oi opoies proorizontai gia ton sigkekrimeno asthenh\n\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t\ttmp_2++;\n\t\t\t\t\t}\n\t\t\t}\n\t\t\tif(tmp_2 == 0)\n\t\t\t{\n\t\t\t\tSystem.out.println();\n\t\t\t\tSystem.out.println(\"DEN YPARXEI SYNTAGH POU NA PERILAMVANEI TON ASTHENH ME AMKA: \" + amkaCode);\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t}\n\t\telse\n\t\t{\n\t\t\tSystem.out.println();\n\t\t\tSystem.out.println(\"DEN YPARXOUN DIATHESIMES SYNTAGES!\");\n\t\t\tSystem.out.println();\n\t\t}\n\t}",
"public static void dodavanjeTeretnogVozila() {\n\t\tString vrstaVozila = \"Teretno Vozilo\";\n\t\tString regBr = UtillMethod.unosRegBroj();\n\t\tGorivo gorivo = UtillMethod.izabirGoriva();\n\t\tGorivo gorivo2 = UtillMethod.izabirGorivaOpet(gorivo);\n\t\tint brServisa = 1;\n\t\tdouble potrosnja = UtillMethod.unesiteDoublePotrosnja();\n\t\tSystem.out.println(\"Unesite broj km koje je vozilo preslo:\");\n\t\tdouble predjeno = UtillMethod.unesiteBroj();\n\t\tdouble preServisa = 20000;\n\t\tdouble cenaServisa = 10000;\n\t\tSystem.out.println(\"Unesite cenu vozila za jedan dan:\");\n\t\tdouble cenaDan = UtillMethod.unesiteBroj();\n\t\tSystem.out.println(\"Unesite broj sedista u vozilu:\");\n\t\tint brSedista = UtillMethod.unesiteInt();\n\t\tSystem.out.println(\"Unesite broj vrata vozila:\");\n\t\tint brVrata = UtillMethod.unesiteInt();\n\t\tboolean vozObrisano = false;\n\t\tArrayList<Gorivo> gorivaVozila = new ArrayList<Gorivo>();\n\t\tgorivaVozila.add(gorivo);\n\t\tif(gorivo2!=Main.nista) {\n\t\t\tgorivaVozila.add(gorivo2);\n\t\t}\n\t\tArrayList<Servis> servisiNadVozilom = new ArrayList<Servis>();\n\t\tSystem.out.println(\"Unesite maximalnu masu koje vozilo moze da prenosi u KG !!\");\n\t\tint maxMasauKg = UtillMethod.unesiteInt();\n\t\tSystem.out.println(\"Unesite maximalnu visinu u m:\");\n\t\tdouble visinauM = UtillMethod.unesiteBroj();\n\t\tTeretnaVozila vozilo = new TeretnaVozila(vrstaVozila, regBr, gorivaVozila, brServisa, potrosnja, predjeno, preServisa,\n\t\t\t\tcenaServisa, cenaDan, brSedista, brVrata, vozObrisano, servisiNadVozilom, maxMasauKg, visinauM);\n\t\tUtillMethod.prviServis(vozilo, predjeno);\n\t\tMain.getVozilaAll().add(vozilo);\n\t\tSystem.out.println(\"Novo vozilo je uspesno dodato u sistem!\");\n\t\tSystem.out.println(\"--------------------------------------\");\n\t}",
"public void sacarPaseo(){\r\n\t\t\tSystem.out.println(\"Por las tardes me saca de paseo mi dueño\");\r\n\t\t\t\r\n\t\t}",
"public void erzaehlWas() {\n // Das Gleiche was jedes Tier sagt.\n super.erzaehlWas();\n\n // Zusaetzliche Aussage des Affen\n System.out.println(\"Affen sind einfach die besten Tiere.\");\n }",
"public void acaba() \n\t\t{\n\t\t\tsigo2 = false;\n\t\t}",
"public boolean voikoSulkea() {\n handleTallenna();\n return true;\n }",
"private void atualizarTela() {\n\t\tif(this.primeiraJogada == true) {//SE FOR A PRIMEIRA JOGADA ELE MONTA O LABEL DOS NUMEROS APOS ESCOLHER A POSICAO PELA PRIMEIRA VEZ\r\n\t\t\tthis.primeiraJogada = false;\r\n\t\t\tthis.montarLabelNumeros();\r\n\t\t}\r\n\r\n\t\tthis.esconderBotao();\r\n\t\t\r\n\t\tthis.acabarJogo();\r\n\t}",
"private void xuLyThanhToanDichVu() {\n if(checkGia(txtThanhToanDVSoLuongCu.getText())== false){\n JOptionPane.showMessageDialog(null, \"Số lượng không hợp lệ. Vui lòng kiểm tra lại!\");\n txtThanhToanDVSoLuongCu.requestFocus();\n return;\n }//Kiem tra so luong cu\n \n if(checkGia(txtThanhToanDVSoLuongMoi.getText())== false){\n JOptionPane.showMessageDialog(null, \"Số lượng không hợp lệ. Vui lòng kiểm tra lại!\");\n txtThanhToanDVSoLuongMoi.requestFocus();\n return;\n }//kiem tra so luong moi\n \n float soLuongCu = Float.valueOf(txtThanhToanDVSoLuongCu.getText().trim());\n float soLuongMoi = Float.valueOf(txtThanhToanDVSoLuongMoi.getText().trim());\n float soLuong = soLuongMoi - soLuongCu;\n txtThanhToanDVSoLuong.setText(soLuong+\"\");\n tongCong += soLuong * Float.valueOf(txtThanhToanDVGiaDV.getText().trim());\n txtThanhToanTongCong.setText(tongCong+\" VNĐ\");\n \n }",
"public void ucitajPotez(Potez potez) {\n\t\tint red = potez.vratiRed();\n\t\tint kolona = potez.vratiKolonu();\n\t\ttabla[red][kolona] = potez.vratiRezultat();\n\n\t\tif (potez.vratiRezultat() == Polje1.potopljen) {\n\t\t\tint gornjiRed, gornjaKolona;\n\t\t\tboolean cont1 = false;\n\t\t\tboolean cont2 = false;\n\t\t\tboolean redar = false;\n\t\t\tboolean kolonar = false;\n\t\t\twhile (redar == false) {\n\t\t\t\tif (red == 0) {\n\t\t\t\t\tgornjiRed = 0;\n\t\t\t\t\tcont1 = true;\n\t\t\t\t} else {\n\t\t\t\t\tgornjiRed = red - 1;\n\t\t\t\t}\n\t\t\t\tif (red == 9) {\n\t\t\t\t\tcont2 = true;\n\t\t\t\t}\n\t\t\t\tif (tabla[gornjiRed][kolona] == Polje1.pogodjen && cont1 == false) {\n\t\t\t\t\ttabla[gornjiRed][kolona] = Polje1.potopljen;\n\t\t\t\t\tred--;\n\t\t\t\t} else {\n\t\t\t\t\tcont1 = true;\n\t\t\t\t\tgornjiRed++;\n\t\t\t\t}\n\t\t\t\tif (cont1 == true) {\n\t\t\t\t\tif (tabla[gornjiRed][kolona] == Polje1.pogodjen || tabla[gornjiRed][kolona] == Polje1.potopljen) {\n\t\t\t\t\t\ttabla[gornjiRed][kolona] = Polje1.potopljen;\n\t\t\t\t\t\tred++;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tcont2 = true;\n\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tif (cont1 == true && cont2 == true)\n\t\t\t\t\tredar = true;\n\t\t\t}\n\t\t\tcont1 = false;\n\t\t\tcont2 = false;\n\t\t\tred = potez.vratiRed();\n\t\t\twhile (kolonar == false) {\n\t\t\t\tif (kolona == 0) {\n\t\t\t\t\tgornjaKolona = 0;\n\t\t\t\t\tcont1 = true;\n\t\t\t\t} else {\n\t\t\t\t\tgornjaKolona = kolona - 1;\n\t\t\t\t}\n\t\t\t\tif (kolona == 9) {\n\t\t\t\t\tcont2 = true;\n\t\t\t\t}\n\t\t\t\tif (tabla[red][gornjaKolona] == Polje1.pogodjen && cont1 == false) {\n\t\t\t\t\ttabla[red][gornjaKolona] = Polje1.potopljen;\n\t\t\t\t\tkolona--;\n\t\t\t\t} else {\n\t\t\t\t\tcont1 = true;\n\t\t\t\t\tgornjaKolona++;\n\t\t\t\t}\n\t\t\t\tif (cont1 == true) {\n\t\t\t\t\tif (tabla[red][gornjaKolona] == Polje1.pogodjen || tabla[red][gornjaKolona] == Polje1.potopljen) {\n\t\t\t\t\t\ttabla[red][gornjaKolona] = Polje1.potopljen;\n\t\t\t\t\t\tkolona++;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tcont2 = true;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tif (cont1 == true && cont2 == true)\n\t\t\t\t\tkolonar = true;\n\n\t\t\t}\n\n\t\t}\n\n\n\t}",
"private int generujViacZvierat(int pocet){\r\n int poc = 0;\r\n for (int i = 0; i < pocet; i++) {\r\n if (zoo.pridajZivocicha(vytvorZivocicha())) poc++;\r\n }\r\n return poc;\r\n }",
"@Override\n\tpublic void maasHesapla() {\n\t\tSystem.out.println(\"isciler icin maas 5000 tl \");\n \t\t\n\t}",
"public Tura() {\n\t\tLicznikTur = 0;\n\t}",
"private void ufotAlemmasVasReunassa(Ufo ufo, int x) {\n if (ufo.isVisible()) {\n if (x <= RuudunVasenReuna && suunta != 1) {\n suunta = 1;\n Iterator i2 = ufot.iterator();\n while (i2.hasNext()) {\n ufo = (Ufo) i2.next();\n ufo.setY(ufo.getY() + UfotLiikkuvatRivinALas);\n }\n }\n }\n }",
"void TaktImpulsAusfuehren ()\n {\n \n wolkebew();\n \n }",
"public static void main(String[] args) {\n\t\tSystem.out.println(\"Unesite tezinu(u gramima) prvog pakovanja: \");\r\n\t\tdouble gram1=provjera();\r\n\t\t\r\n\t\tSystem.out.println(\"Unesite cijenu prvog pakovanja: \");\r\n\t\tdouble km1=provjera();\r\n\r\n\t\tSystem.out.println(\"Unesite tezinu(u gramima) drugog pakovanja: \");\r\n\t\tdouble gram2=provjera();\r\n\r\n\t\tSystem.out.println(\"Unesite cijenu drugog pakovanja: \");\r\n\t\tdouble km2=provjera();\r\n\t\t\r\n\t\t\r\n\t\t//na kraju ih uporedimo i onaj sa manjom ukupnom cijenom je jeftiniji tj povoljniji\r\n\t\tif((km1/gram1)<(km2/gram2)){\r\n\t\t\tSystem.out.println(\"Prvo pakovanje je povoljnije!!!\");\r\n\t\t}else{\r\n\t\t\tSystem.out.println(\"Drugo pakovanje je povoljnije!!!\");\r\n\t\t}\r\n\t\t\r\n\t\tunos.close();\r\n\t}",
"public final int arvoSarakkeenAihe() {\r\n while (true) {\r\n int aihe = super.getRandom()\r\n .nextInt(super.aiheetPerusmuoto().length);\r\n if (aihe != this.riviMuuttujaAihe) {\r\n return aihe;\r\n }\r\n }\r\n }",
"void evoluer()\n {\n int taille = grille.length;\n int nbVivantes = 0;\n for(int i=-1; i<2; i++)\n {\n int xx = ((x+i)+taille)%taille; // si x+i=-1, xx=taille-1. si x+i=taille, xx=0\n for(int j=-1; j<2; j++)\n {\n if (i==0 && j==0) continue;\n int yy = ((y+j)+taille)%taille;\n if (grille[xx][yy].vivante) nbVivantes++;\n }\n }\n if (nbVivantes<=1 || nbVivantes>=4) {vientDeChanger = (vivante==true); vivante = false;}\n if (nbVivantes==3) {vientDeChanger = (vivante==false); vivante = true;}\n }",
"public AutomatZustand()\r\n\t{\r\n\t\tthis.ew_lokal = Automat.eingabewort;\r\n\t}",
"public void onderbreek(){\n \n }",
"private void ufotAlemmasOikeassaReunassa(Ufo ufo, int x) {\n if (ufo.isVisible()) {\n if (x >= RuudunLeveys - RuudunOikeaReuna && suunta != -1) {\n suunta = -1;\n Iterator i1 = ufot.iterator();\n while (i1.hasNext()) {\n ufo = (Ufo) i1.next();\n ufo.setY(ufo.getY() + UfotLiikkuvatRivinALas);\n }\n }\n }\n }",
"public void vlozNaUcet(int ciastka, BeznyUcet beznyUcet) {\r\n\r\n\t\tcislo += ciastka;\r\n\t\tbeznyUcet.setVklad(ciastka);\r\n\t\tsetVyber(ciastka);\r\n\r\n\t}",
"public synchronized void ProvjeriPreuzimanje() {\n dopustenoPreuzimanje = true;\n if (dopustenoPreuzimanje) {\n SveFunkcijeDretve();\n } else {\n //sleep\n }\n }",
"@Override\r\n public String AggiungiQualcosa() {\r\n// ritorna una stringa\r\n// perché qui ho informazioni in più\r\n return \"\\ne capace di friggere un uovo\";\r\n }",
"public void atakuj() {\n\n System.out.println(\"to metoda atakuj z klasy Potwor \");\n\n }",
"public IzvajalecZdravstvenihStoritev() {\n\t}",
"public void ispisiSveNapomene() {\r\n\t\tint i = 0;// redni broj napomene\r\n\t\tint brojac = 0;\r\n\t\tfor (Podsjetnik podsjetnik : lista) {\r\n\r\n\t\t\ti++;\r\n\t\t\tSystem.out.println(i + \")\" + podsjetnik);\r\n\t\t\tbrojac = i;\r\n\t\t}\r\n\t\tif (brojac == 0) {\r\n\t\t\tSystem.out.println(\"Nema unesenih napomena!!\");\r\n\t\t}\r\n\r\n\t}",
"public void nastav() {\n\t\ttabulkaZiak.setMaxWidth(velkostPolickaX * 3 + 2);\n\t\ttabulkaZiak.setPlaceholder(new Label(\"Žiadne známky.\"));\n\n\t}",
"public static void TroskoviPredjenogPuta() {\n\t\tUtillMethod.izlistavanjeVozila();\n\t\tSystem.out.println(\"Unesite redni broj vozila za koje zelite da racunate predjeni put!\");\n\t\tint redniBroj = UtillMethod.unesiteInt();\n\t\tif (redniBroj < Main.getVozilaAll().size()) {\n\t\t\tif (!Main.getVozilaAll().get(redniBroj).isVozObrisano()) {\n\t\t\t\tSystem.out.println(\"Unesite broj kilometara koje ste presli sa odgovarajucim vozilom\");\n\t\t\t\tdouble km = UtillMethod.unesiteBroj();\n\t\t\t\tVozilo v = Main.getVozilaAll().get(redniBroj);\n\t\t\t\tdouble rezultat;\n\t\t\t\tif(v.getGorivaVozila().size()>1) {\n\t\t\t\t\tGorivo g = UtillMethod.izabirGoriva();\n\t\t\t\t\trezultat = cenaTroskaVoz(v,km,g);\n\t\t\t\t}else {\n\t\t\t\t\t rezultat = cenaTroskaVoz(v,km,v.getGorivaVozila().get(0));\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"Cena troskova za predjeni put je \" + rezultat + \"Dinara!\");\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"Ovo vozilo je obrisano i ne moze da se koristi!\");\n\t\t\t}\n\t\t} else {\n\t\t\tSystem.out.println(\"Uneli ste pogresan redni broj!\");\n\t\t}\n\t}",
"public logicaEnemigos(){\n\t\t//le damos una velocidad inicial al enemigo\n\t\tsuVelocidad = 50;\n\t\tsuDireccionActual = 0.0;\n\t\tposX = 500 ;\n\t\tposY = 10;\n\t}",
"private void cazaFantasma(Vertice<T> v){\n\tif(v.padre == null){\n\t if(v == this.raiz){\n\t\tthis.raiz = null;\n\t\treturn;\n\t }\n\t return;\n\t}else{\n\t Vertice<T> padre = v.padre;\n\t if(v == padre.izquierdo){\n\t\tif(v.hayIzquierdo()){\n\t\t padre.izquierdo = v.izquierdo;\n\t\t v.izquierdo.padre = padre;\n\t\t}else if(v.hayDerecho()){\n\t\t padre.izquierdo = v.derecho;\n\t\t v.derecho.padre = padre;\n\t\t}else{\n\t\t padre.izquierdo = null;\n\t\t}\t\t\n\t }else{\n\t\tif(v.hayIzquierdo()){\n\t\t padre.derecho = v.izquierdo;\n\t\t v.izquierdo.padre = padre;\n\t\t}else if(v.hayDerecho()){\n\t\t padre.derecho = v.derecho;\n\t\t v.derecho.padre = padre;\n\t\t}else{\n\t\t padre.derecho = null;\n\t\t}\n\t }\n\t}\n }",
"void establecerPuntoAM(int pos){\n this.emisoraAMActual = pos;\n }",
"public void pretraziPoslovneKorisnike() throws BazaPodatakaException {\r\n\t\tString naziv = nazivTF.getText().toLowerCase();\r\n\t\tString web = webTF.getText().toLowerCase();\r\n\t\tString email = emailTF.getText().toLowerCase();\r\n\t\tString telefon = telefonTF.getText();\r\n\r\n\t\tList<PoslovniKorisnik> listaKorisnika = BazaPodataka.dohvatiPoslovnogKorisnikaPremaKriterijima(email, telefon,\r\n\t\t\t\tnaziv, web);\r\n\t\ttablicaPoslovnihKorisnika.setItems(FXCollections.observableArrayList(listaKorisnika));\r\n\r\n\t}",
"private UsineJoueur() {}",
"@Test\n public void kaasunKonstruktoriToimiiOikeinTest() {\n assertEquals(rikkihappo.toString(),\"Rikkihappo Moolimassa: 0.098079\\n tiheys: 1800.0\\n lämpötila: 298.15\\n diffuusiotilavuus: 50.17\\npitoisuus: 1.0E12\");\n }",
"private void poczatkowe_zmienne()\n {\n konfiguracja.loadProperties();\n predkosc_wroga=Integer.parseInt(konfiguracja.properties.getProperty(\"predkosc_wroga\"));\n czas_watku=Integer.parseInt(konfiguracja.properties.getProperty(\"czas_watku\"));\n punkty_poziomu=Integer.parseInt(konfiguracja.properties.getProperty(\"punkty_poziomu\"));\n zmienne_poziomu(poziom);\n }",
"public void provocarEvolucion(Tribu tribuJugador, Tribu tribuDerrotada){\r\n System.out.println(\"\\n\");\r\n System.out.println(\"-------------------Fase de evolución ----------------------\");\r\n int indiceAtributo;\r\n int indiceAtributo2;\r\n double golpeViejo = determinarGolpe(tribuJugador);\r\n for(int i = 1; i <= 10 ; i++){\r\n System.out.println(\"Iteración número: \" + i);\r\n indiceAtributo = (int)(Math.random() * 8);\r\n indiceAtributo2 = (int)(Math.random() * 8);\r\n String nombreAtributo1 = determinarNombrePosicion(indiceAtributo);\r\n String nombreAtributo2 = determinarNombrePosicion(indiceAtributo2);\r\n if((tribuJugador.getArray()[indiceAtributo] < tribuDerrotada.getArray()[indiceAtributo] \r\n && (tribuJugador.getArray()[indiceAtributo2] < tribuDerrotada.getArray()[indiceAtributo2]))){\r\n System.out.println(\"Se cambió el atributo \" + nombreAtributo1 + \" de la tribu del jugador porque\"\r\n + \" el valor era \" + tribuJugador.getArray()[indiceAtributo] + \" y el de la tribu enemeiga era de \"\r\n + tribuDerrotada.getArray()[indiceAtributo] + \" esto permite hacer más fuerte la tribu del jugador.\");\r\n \r\n tribuJugador.getArray()[indiceAtributo] = tribuDerrotada.getArray()[indiceAtributo];\r\n \r\n System.out.println(\"Se cambió el atributo \" + nombreAtributo2 + \" de la tribu del jugador porque\"\r\n + \" el valor era \" + tribuJugador.getArray()[indiceAtributo2] + \" y el de la tribu enemeiga era de \"\r\n + tribuDerrotada.getArray()[indiceAtributo2] + \" esto permite hacer más fuerte la tribu del jugador.\");\r\n \r\n tribuJugador.getArray()[indiceAtributo2] = tribuDerrotada.getArray()[indiceAtributo2];\r\n }\r\n }\r\n double golpeNuevo = determinarGolpe(tribuJugador);\r\n if(golpeNuevo > golpeViejo){\r\n tribus.replace(tribuJugador.getNombre(), determinarGolpe(tribuJugador));\r\n System.out.println(\"\\nTribu evolucionada\");\r\n imprimirAtributos(tribuJugador);\r\n System.out.println(\"\\n\");\r\n System.out.println(tribus);\r\n }\r\n else{\r\n System.out.println(\"\\nTribu sin evolucionar\");\r\n System.out.println(\"La tribu no evolucionó porque no se encontraron atributos\"\r\n + \" que permitiesen crecer su golpe\");\r\n imprimirAtributos(tribuJugador);\r\n System.out.println(\"\\n\");\r\n System.out.println(tribus);\r\n }\r\n }"
] | [
"0.64722806",
"0.6417835",
"0.63552815",
"0.6343089",
"0.6287226",
"0.6194098",
"0.61475337",
"0.6118745",
"0.61081",
"0.6099573",
"0.6065338",
"0.6056166",
"0.6050261",
"0.60494244",
"0.6041948",
"0.60252637",
"0.5993015",
"0.59576976",
"0.5934043",
"0.592664",
"0.59251136",
"0.5924372",
"0.59010834",
"0.5898144",
"0.589139",
"0.5888983",
"0.5881587",
"0.5879818",
"0.5878753",
"0.58718324",
"0.58675027",
"0.586066",
"0.58579093",
"0.5855981",
"0.5847521",
"0.58415115",
"0.58383995",
"0.5835452",
"0.5832532",
"0.5828655",
"0.58285815",
"0.5825541",
"0.5806776",
"0.580147",
"0.5796907",
"0.5792965",
"0.5780667",
"0.5779085",
"0.57699907",
"0.57581246",
"0.57509696",
"0.5747138",
"0.57308984",
"0.5722289",
"0.5721942",
"0.57100666",
"0.5707925",
"0.5695154",
"0.56915635",
"0.56904316",
"0.56787384",
"0.56778526",
"0.56775343",
"0.5677236",
"0.5673582",
"0.56723875",
"0.5669039",
"0.56647617",
"0.56576127",
"0.5655272",
"0.5639044",
"0.5626558",
"0.5621802",
"0.56160414",
"0.5612512",
"0.5603673",
"0.5601513",
"0.5599982",
"0.5598089",
"0.5595989",
"0.5588795",
"0.55880535",
"0.55828923",
"0.5573006",
"0.55679655",
"0.5563687",
"0.55624574",
"0.55587465",
"0.5556293",
"0.55541825",
"0.55533636",
"0.55469257",
"0.55457115",
"0.5543234",
"0.5539438",
"0.55332357",
"0.55306494",
"0.55263525",
"0.55261564",
"0.55221283",
"0.5521276"
] | 0.0 | -1 |
Metoda projde seznam vozu pridelenych prekladisti a vybere prvni volne auto (=to, ktere neni na vyjezdu, nebo neni plne). | public Auto getVolneAuto()
{
Nakladak nakl;
//seznam aut je prazdny, vytvori se nove auto
if(this.vozy.isEmpty())
{
nakl = new Nakladak(Simulator.getCas(),this.id);
sim.auta.add(nakl);
sim.addObserver(nakl);
this.vozy.add(nakl);
return this.vozy.get(0);
}
else
{
//prochazeni seznamu aut
for(Auto a : this.vozy)
{
if (a.kDispozici)
{
return a;
}
}
//pokud neni zadne auto volne, vrat null
//return null;
//prozatim pokud neni volne auto, vytvori nove a vrati ho
nakl = new Nakladak(Simulator.getCas(),this.id);
sim.addObserver(nakl);
this.vozy.addLast(nakl);
return this.vozy.getLast();
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void poczatkowe_zmienne()\n {\n konfiguracja.loadProperties();\n predkosc_wroga=Integer.parseInt(konfiguracja.properties.getProperty(\"predkosc_wroga\"));\n czas_watku=Integer.parseInt(konfiguracja.properties.getProperty(\"czas_watku\"));\n punkty_poziomu=Integer.parseInt(konfiguracja.properties.getProperty(\"punkty_poziomu\"));\n zmienne_poziomu(poziom);\n }",
"public void ustawPojazdNaPoczatek()\n\t{\n\t\tSciezka pierwszaSc = droga.get(0);\n\t\tfinal double y = 10;\n\t\tpojazd.zmienPozycje(pierwszaSc.getCenterDownX(), y);\n\t}",
"public void PerspektivischeProjektion(){\n /**\n * Abrufen der Koordinaten aus den einzelnen\n * Point Objekten des Objekts Tetraeder.\n */\n double[] A = t1.getTetraeder()[0].getPoint();\n double[] B = t1.getTetraeder()[1].getPoint();\n double[] C = t1.getTetraeder()[2].getPoint();\n double[] D = t1.getTetraeder()[3].getPoint();\n\n /*\n * Aufrufen der Methode sortieren\n */\n double[][] sP = cls_berechnen.sortieren(A, B, C, D);\n\n A = sP[0];\n B = sP[1];\n C = sP[2];\n D = sP[3];\n\n /*Wenn alle z Koordinaten gleich sind, ist es kein Tetraeder. */\n if (A[2] == D[2]) {\n System.out.println(\"kein Tetraeder\");\n return;\n }\n\n //Entfernung vom 'Center of projection' zur 'Projectoin plane'\n double d=5;\n\n /*\n * Transformiert x|y|z Koordinaten in x|y Koordinaten\n * mithilfer der perspektivischen Projektion\n */\n\n A[0]=A[0]/((A[2]+d)/d);\n A[1]=A[1]/((A[2]+d)/d);\n B[0]=B[0]/((B[2]+d)/d);\n B[1]=B[1]/((B[2]+d)/d);\n C[0]=C[0]/((C[2]+d)/d);\n C[1]=C[1]/((C[2]+d)/d);\n D[0]=D[0]/((D[2]+d)/d);\n D[1]=D[1]/((D[2]+d)/d);\n\n\n double ax, ay, bx, by, cx, cy, dx, dy;\n ax=A[0];\n ay=A[1];\n bx=B[0];\n by=B[1];\n cx=C[0];\n cy=C[1];\n dx=D[0];\n dy=D[1];\n\n tetraederzeichnen(ax, ay, bx, by, cx, cy, dx, dy);\n }",
"public void zpracujObjednavky()\n\t{\n\t\tint idtmp = 0;\n\t\tfloat delkaCesty = 0;\n\t\t\n\t\tif (this.objednavky.isEmpty())\n\t\t{\n\t\t\treturn ;\n\t\t}\n\t\t\n\t\tNakladak nakl = (Nakladak) getVolneAuto();\n\t\t\n\t\tnakl.poloha[0] = this.poloha[0];\n\t\tnakl.poloha[1] = this.poloha[1];\n\t\tObjednavka ob = this.objednavky.remove();\n\n\t\t/*System.out.println();\n\t\tSystem.out.println(\"Objednavka hospody:\" + ob.id + \" se zpracuje pres trasu: \");\n\t\t */\n\t\tdelkaCesty += vyberCestu(this.id, ob.id, nakl);\n\t\t\n\t\twhile(nakl.pridejObjednavku(ob))\n\t\t{\n\t\t\tidtmp = ob.id;\n\t\t\t\n\t\t\tob = vyberObjednavku(ob.id);\n\t\t\tif (ob == null)\n\t\t\t{\n\t\t\t\tob=nakl.objednavky.getLast();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tobjednavky.remove(ob);\n\t\t\t\n\t\t\tdelkaCesty += vyberCestu(idtmp, ob.id, nakl);\n\t\t\t\n\t\t\tif((nakl.objem > 24)||(13-Simulator.getCas().hodina)*(nakl.RYCHLOST) + 100 < delkaCesty){\n\t\t\t\t//System.out.println(\"Nakladak ma \"+nakl.objem);\n\t\t\t\tnakl.kDispozici = false;\n\t\t\t\t//System.out.println(\"Auto jede \" + delkaCesty + \"km\");\n\t\t\t\tbreak;\t\t\n\t\t\t}\n\t\t\t/*\n\t\t\tif((Simulator.getCas().hodina > 12) && (delkaCesty > 80) ){\n\t\t\t\t//System.out.println(\"Nakladak ma \"+nakl.objem);\n\t\t\t\tnakl.kDispozici = false;\n\t\t\t\t//System.out.println(\"Auto jede \" + delkaCesty + \"km\");\n\t\t\t\tbreak;\t\t\n\t\t\t}\n\t\t\t\n\t\t\tif((Simulator.getCas().hodina > 9) && (delkaCesty > 130) ){\n\t\t\t\t//System.out.println(\"Nakladak ma \"+nakl.objem);\n\t\t\t\tnakl.kDispozici = false;\n\t\t\t\t//System.out.println(\"Auto jede \" + delkaCesty + \"km\");\n\t\t\t\tbreak;\t\t\n\t\t\t}*/\n\t\t\t\n\t\t}\n\t\t\n\t\t\n\t\t//cesta zpatky\n\t\tvyberCestu(ob.id, this.id, nakl);\n\t\tif (nakl.objem >= 1)\n\t\t{\n\t\t\tnakl.kDispozici = false;\n\t\t\tnakl.jede = true;\n\t\t\t//vytvoreni nove polozky seznamu pro statistiku\n\t\t\tnakl.novaStatCesta();\n\t\t}\n\t\telse\n\t\t{\n\t\t\tnakl.resetCesta();\n\t\t}\n\t}",
"public PregledPoruka() {\n preuzmiMape();\n preuzmiPoruke();\n }",
"public void pretraziPoslovneKorisnike() throws BazaPodatakaException {\r\n\t\tString naziv = nazivTF.getText().toLowerCase();\r\n\t\tString web = webTF.getText().toLowerCase();\r\n\t\tString email = emailTF.getText().toLowerCase();\r\n\t\tString telefon = telefonTF.getText();\r\n\r\n\t\tList<PoslovniKorisnik> listaKorisnika = BazaPodataka.dohvatiPoslovnogKorisnikaPremaKriterijima(email, telefon,\r\n\t\t\t\tnaziv, web);\r\n\t\ttablicaPoslovnihKorisnika.setItems(FXCollections.observableArrayList(listaKorisnika));\r\n\r\n\t}",
"private void zmienne_poziomu(int poziom)\n {\n liczba_zyc =Integer.parseInt(konfiguracja.properties.getProperty(poziom+\"_liczba_zyc\"));\n liczba_naboi=Integer.parseInt(konfiguracja.properties.getProperty(poziom+\"_liczba_naboi\"));\n liczba_zyc_wroga=Integer.parseInt(konfiguracja.properties.getProperty(poziom+\"_liczba_zyc_wroga\"));\n liczba_pilek=Integer.parseInt(konfiguracja.properties.getProperty(poziom+\"_liczba_pilek\"));\n predkosc_wroga=Integer.parseInt(konfiguracja.properties.getProperty(poziom+\"_predkosc_wroga\"));\n bonusy_poziomu=Integer.parseInt(konfiguracja.properties.getProperty(poziom+\"_bonusy_poziomu\"));\n rozmiar_pilki=Integer.parseInt(konfiguracja.properties.getProperty(poziom+\"_rozmiar_pilki\"));\n zmiana_ruchu_wroga=Integer.parseInt(konfiguracja.properties.getProperty(poziom+\"_zmiana_ruchu_wroga\"));\n czas_gry=Integer.parseInt(konfiguracja.properties.getProperty(poziom+\"_czas_gry\"));\n }",
"public void pridejNovePivo ()\n\t{\n\t\n\t\tpivo = pivo + PRODUKCE;\n\t\t\n\t}",
"private Zivocich vytvorZivocicha() {\r\n final String[] zFarba = {\"cervena\", \"zelena\", \"modra\", \"zlta\", \"zlto-zelena\"};\r\n Zivocich zviera = null;\r\n double kolkoVazi = 0.0;\r\n\r\n //-- Vygenerujeme zviera\r\n int vygenerovane = 1 + generator.nextInt(4); //cislo <1,4>\r\n\r\n switch (vygenerovane) {\r\n case 1: //blcha \r\n double kolkoDoskoci=3 * generator.nextDouble() ; //cislo <0;2.99>\r\n double kolkoVyskoci=3 * generator.nextDouble() ; //cislo <0;2.99>\r\n zviera=new Blcha(6,kolkoDoskoci,kolkoVyskoci);\r\n break;\r\n case 2: //simpanz\r\n kolkoVazi=3 + (97 * generator.nextDouble()); //cislo <3;99.9>\r\n boolean cviceny;\r\n cviceny=generator.nextBoolean(); \r\n zviera=new Simpanz(kolkoVazi,cviceny);\r\n break;\r\n case 3: //papagaj\r\n kolkoVazi = 0.1 + (5*generator.nextDouble()); // cislo <0.1; 6>\r\n String farba = zFarba[generator.nextInt(5)]; // farba zo zoznamu\r\n zviera = new Papagaj(\"Ara\", 2, kolkoVazi, farba); \r\n break;\r\n case 4: //slon\r\n kolkoVazi=20 + (480*generator.nextDouble()); //cislo <20;500> \r\n int pocet=generator.nextInt(50); //pocet zubov bude <0,49>\r\n zviera=new Slon(kolkoVazi,pocet);\r\n break;\r\n } //------------------------------------------------------------- switch --\r\n return zviera;\r\n }",
"public static void TroskoviPredjenogPuta() {\n\t\tUtillMethod.izlistavanjeVozila();\n\t\tSystem.out.println(\"Unesite redni broj vozila za koje zelite da racunate predjeni put!\");\n\t\tint redniBroj = UtillMethod.unesiteInt();\n\t\tif (redniBroj < Main.getVozilaAll().size()) {\n\t\t\tif (!Main.getVozilaAll().get(redniBroj).isVozObrisano()) {\n\t\t\t\tSystem.out.println(\"Unesite broj kilometara koje ste presli sa odgovarajucim vozilom\");\n\t\t\t\tdouble km = UtillMethod.unesiteBroj();\n\t\t\t\tVozilo v = Main.getVozilaAll().get(redniBroj);\n\t\t\t\tdouble rezultat;\n\t\t\t\tif(v.getGorivaVozila().size()>1) {\n\t\t\t\t\tGorivo g = UtillMethod.izabirGoriva();\n\t\t\t\t\trezultat = cenaTroskaVoz(v,km,g);\n\t\t\t\t}else {\n\t\t\t\t\t rezultat = cenaTroskaVoz(v,km,v.getGorivaVozila().get(0));\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"Cena troskova za predjeni put je \" + rezultat + \"Dinara!\");\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"Ovo vozilo je obrisano i ne moze da se koristi!\");\n\t\t\t}\n\t\t} else {\n\t\t\tSystem.out.println(\"Uneli ste pogresan redni broj!\");\n\t\t}\n\t}",
"public synchronized void ProvjeriPreuzimanje() {\n dopustenoPreuzimanje = true;\n if (dopustenoPreuzimanje) {\n SveFunkcijeDretve();\n } else {\n //sleep\n }\n }",
"public void AktualizacjaPopulacjiKlas() {\n\t\tSystem.out.println(\"AktualizacjaPopulacjiKlas\");\n\t\tif(Plansza.getNiewolnikNaPLanszy().getJedzenie() >= Plansza.getNiewolnikNaPLanszy().getUbrania()) {\n\t\t\tPlansza.getNiewolnikNaPLanszy().setPopulacja(Plansza.getNiewolnikNaPLanszy().getUbrania());\n\t\t}\n\t\telse {\n\t\t\tPlansza.getNiewolnikNaPLanszy().setPopulacja(Plansza.getNiewolnikNaPLanszy().getJedzenie());\n\t\t}\n\t\t\n\t\tif(Plansza.getRzemieslnikNaPlanszy().getNarzedzia() >= Plansza.getRzemieslnikNaPlanszy().getMaterialy()) {\n\t\t\tPlansza.getRzemieslnikNaPlanszy().setPopulacja(Plansza.getRzemieslnikNaPlanszy().getMaterialy());\n\t\t}\n\t\telse {\n\t\t\tPlansza.getRzemieslnikNaPlanszy().setPopulacja(Plansza.getRzemieslnikNaPlanszy().getNarzedzia());\n\t\t}\n\t\t\n\t\tif(Plansza.getArystokrataNaPlanszy().getTowary() >= Plansza.getArystokrataNaPlanszy().getZloto()) {\n\t\t\tPlansza.getArystokrataNaPlanszy().setPopulacja(Plansza.getArystokrataNaPlanszy().getZloto());\n\t\t}\n\t\telse {\n\t\t\tPlansza.getArystokrataNaPlanszy().setPopulacja(Plansza.getArystokrataNaPlanszy().getTowary());\n\t\t}\n\t}",
"private String nalozZvieraNaVozidlo() {\r\n if (zoo.getPracovneVozidlo() == null) {\r\n return \"Pracovne vozidlo nie je pristavene\";\r\n }\r\n\r\n Integer pozicia = MojeMetody.vlozInt(\"Vloz cislo zvierata\");\r\n if (pozicia == null) return \"\";\r\n\r\n try {\r\n Prepravitelny z = (Prepravitelny) zoo.getZvierataZOO(pozicia - 1);\r\n zoo.nalozZivocicha(z);\r\n zoo.odstranZivocicha(pozicia - 1);\r\n return \"Zviera \" + z + \"\\n\\tbolo nalozene na prepravne vozidlo\";\r\n } catch (ClassCastException exCC) {\r\n return \"Zviera c. \" + pozicia + \" nemozno prepravit\\n\\t\";\r\n } catch (NullPointerException exNP) {\r\n return \"Zviera c. \" + pozicia + \" nie je v ZOO\";\r\n } catch (Exception ex) {\r\n return \"Neznama chyba:\\n\\t\" + ex;\r\n }\r\n }",
"public ListaBrojeva izdvojElmenteNaParnimPozicijama() {\n if (prvi != null) {\n ListaBrojeva parni = new ListaBrojeva();\n \n Element tek = prvi;\n Element preth = null;\n Element parniKraj = null;\n int br = 0;\n \n while (tek.veza != null) {\n preth = tek;\n tek = tek.veza;\n \n if (br % 2 != 0) {\n preth.veza = tek.veza;\n if (parni.prvi == null) {\n parni.prvi = tek;\n parniKraj = tek;\n tek.veza = null; \n } else {\n parniKraj.veza = tek;\n tek.veza = null;\n parniKraj = parniKraj.veza;\n }\n tek = preth;\n }\n br++;\n }\n /*prvi element iz liste je paran, ali je preskocen, \n tako da ga sad izbacujemo iz liste i dodajemo u novu*/\n Element pom = prvi;\n prvi = prvi.veza;\n pom.veza = parni.prvi;\n parni.prvi = pom;\n return parni;\n }\n return null;\n }",
"public static void trazenjeVozila(Iznajmljivac o) {\n\t\tLocalDate pocetniDatum = UtillMethod.unosDatum(\"pocetni\");\n\t\tLocalDate krajnjiDatum = UtillMethod.unosDatum(\"krajnji\");\n\t\tSystem.out.println(\"------------------------------------\");\n\t\tSystem.out.println(\"Provera dostupnosti vozila u toku...\\n\");\n\t\tArrayList<Vozilo> dostupnaVoz = new ArrayList<Vozilo>();\n\t\tint i = 0;\n\t\tfor (Vozilo v : Main.getVozilaAll()) {\n\t\t\tif (!postojiLiRezervacija(v, pocetniDatum, krajnjiDatum) && !v.isVozObrisano()) {\n\t\t\t\tSystem.out.println(i + \"-\" + v.getVrstaVozila() + \"-\" + \"Registarski broj\" + \"-\" + v.getRegBR()\n\t\t\t\t\t\t+ \"-Potrosnja na 100km-\" + v.getPotrosnja100() + \"litara\");\n\t\t\t\ti++;\n\t\t\t\tdostupnaVoz.add(v);\n\t\t\t}\n\t\t}\n\t\tif (i > 0) {\n\t\t\tSystem.out.println(\"------------------------------------------------\");\n\t\t\tSystem.out.println(\"Ukucajte kilometrazu koju planirate da predjete:\");\n\t\t\tdouble km = UtillMethod.unesiteBroj();\n\t\t\tint km1 = (int) km;\n\t\t\tporedjenjeVozila d1 = new poredjenjeVozila(km1);\n\t\t\tCollections.sort(dostupnaVoz,d1);\n\t\t\tint e = 0;\n\t\t\tfor(Vozilo v : dostupnaVoz) {\n\t\t\t\tdouble temp = cenaTroskaVoz(v, km, v.getGorivaVozila().get(0));\n\t\t\t\tSystem.out.println(e + \" - \" + v.getVrstaVozila()+ \"-Registarski broj: \"+ v.getRegBR()+\" | \"+ \"Cena na dan:\"+v.getCenaDan() +\" | Broj sedista:\"+ v.getBrSedist()+ \" | Broj vrata:\"+ v.getBrVrata() + \"| Cena troskova puta:\" + temp + \" Dinara\");\n\t\t\t\te++;\n\t\t\t}\n\t\t\tSystem.out.println(\"---------------------------------------\");\n\t\t\tSystem.out.println(\"Unesite redni broj vozila kojeg zelite:\");\n\t\t\tint redniBroj = UtillMethod.unesiteInt();\n\t\t\tif (redniBroj < dostupnaVoz.size()) {\n\t\t\t\tDateTimeFormatter formatters = DateTimeFormatter.ofPattern(\"dd/MM/yyyy\");\n\t\t\t\tString pocetni = pocetniDatum.format(formatters);\n\t\t\t\tString krajnji = krajnjiDatum.format(formatters);\n\t\t\t\tdouble cena = UtillMethod.cenaIznaj(pocetniDatum, krajnjiDatum, dostupnaVoz.get(redniBroj));\n\t\t\t\tRezervacija novaRez = new Rezervacija(dostupnaVoz.get(redniBroj), o, cena, false, pocetni, krajnji);\n\t\t\t\tMain.getRezervacijeAll().add(novaRez);\n\t\t\t\tSystem.out.println(\"Uspesno ste napravili rezervaciju!\");\n\t\t\t\tSystem.out.println(\"---------------------------------\");\n\t\t\t\tSystem.out.println(novaRez);\n\t\t\t\tSystem.out.println(\"---------------------------------\");\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"Uneli ste pogresan redni broj!\");\n\t\t\t}\n\t\t} else {\n\t\t\tSystem.out.println(\"Nema dostupnih vozila za rezervaaciju.\");\n\t\t}\n\t}",
"public void setPolaznik(Polaznik polaznik) {\n this.polaznik = polaznik;\n }",
"void rozpiszKontraktyPart2NoEV(int index,float wolumenHandlu, float sumaKupna,float sumaSprzedazy )\n\t{\n\t\tArrayList<Prosument> listaProsumentowTrue =listaProsumentowWrap.getListaProsumentow();\n\t\t\n\n\t\tint a=0;\n\t\twhile (a<listaProsumentowTrue.size())\n\t\t{\n\t\t\t\t\t\t\n\t\t\t// ustala bianrke kupuj\n\t\t\t// ustala clakowita sprzedaz (jako consumption)\n\t\t\t//ustala calkowite kupno (jako generacje)\n\t\t\tDayData constrainMarker = new DayData();\n\t\t\t\n\t\t\tArrayList<Point> L1\t=listaFunkcjiUzytecznosci.get(a);\n\t\t\t\n\t\t\t//energia jaka zadeklarowal prosument ze sprzeda/kupi\n\t\t\tfloat energia = L1.get(index).getIloscEnergiiDoKupienia();\n\t\t\t\n\t\t\tif (energia>0)\n\t\t\t{\n\t\t\t\tfloat iloscEnergiiDoKupienia = energia/sumaKupna*wolumenHandlu;\n\t\t\t\t\n\t\t\t\tconstrainMarker.setKupuj(1);\n\t\t\t\tconstrainMarker.setGeneration(iloscEnergiiDoKupienia);\n\t\t\t\t\n\t\t\t\trynekHistory.ustawBetaDlaWynikowHandlu(iloscEnergiiDoKupienia,a);\t\t\t\t\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tfloat iloscEnergiiDoSprzedania = energia/sumaSprzedazy*wolumenHandlu;\n\n\t\t\t\t\n\t\t\t\tconstrainMarker.setKupuj(0);\n\t\t\t\tconstrainMarker.setConsumption(iloscEnergiiDoSprzedania);\n\t\t\t\t\n\t\t\t\trynekHistory.ustawBetaDlaWynikowHandlu(iloscEnergiiDoSprzedania,a);\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\tArrayList<Float> priceVector = priceVectorsList.get(priceVectorsList.size()-1);\n\t\t\t\n\t\t\t//poinformuj prosumenta o wyniakch handlu i dostosuj go do wynikow\n\t\t\tlistaProsumentowTrue.get(a).getKontrakt(priceVector,constrainMarker);\n\t\t\t\n\t\t\ta++;\n\t\t}\n\t}",
"public void nastaviIgru() {\r\n\t\t// nastavi igru poslije pobjede\r\n\t\tigrajPoslijePobjede = true;\r\n\t}",
"public AutomatZustand()\r\n\t{\r\n\t\tthis.ew_lokal = Automat.eingabewort;\r\n\t}",
"public void ordenaPontos(){\r\n\t\tloja.ordenaPontos();\r\n\t}",
"public float vyberCestu(int idStart ,int idCil, Auto auto)\n\t{\n\t\t//System.out.println(\"Vybiram cestu\");\n\t\tint id = 0;\n\t\tfloat nejblizsi = 2000;\n\t\tfloat aktualni = 2000;\n\t\tfloat delkaCesty = 0;\n\t\n\t\tUzel uzel = Simulator.objekty[idStart];\n\t\tUzel cil = Simulator.objekty[idCil];\n\t\n\t\twhile(!((Simulator.objekty[uzel.id].poloha[0] == Simulator.objekty[cil.id].poloha[0])&&\n\t\t\t\t(Simulator.objekty[uzel.id].poloha[1] == Simulator.objekty[cil.id].poloha[1]))){\n\t\t\t\n\t\t\t//nastaveni hodnoty nejblizsi na vyrazne vyssi, nez je ocekavana\n\t\t\tnejblizsi = 2000;\n\t\t\t\n\t\t\tfor(Integer idtmp : uzel.sousedi){\n\t\t\t\tif(idtmp == 0){\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\taktualni = cil.spoctiVzdalenost(Simulator.objekty[idtmp]);\n\t\t\t\t//System.out.println(aktualni);\n\t\t\t\t\n\t\t\t\tif(aktualni < nejblizsi){\n\t\t\t\t\t\n\t\t\t\t\tnejblizsi = aktualni;\n\t\t\t\t\tid = idtmp;\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\t//System.out.println(\"vybrano: \"+nejblizsi);\n\t\t\tdelkaCesty += uzel.spoctiVzdalenost(Simulator.objekty[id]);\n\t\t\t\n\t\t\tuzel = Simulator.objekty[id];\n\t\t\t\n\t\t\tauto.pridejUzel(uzel);\n\t\t\t//System.out.print(uzel.id+\", \");\n\t\t\t\t\n\t\t}\n\t\t//System.out.println(\"Heureka\");\n\t\treturn delkaCesty;\n\t\t\n\t}",
"ArrayList<Float> pierwszaPredykcjaNormal()\n\t{\n\t\tif (Stale.cenyZGeneratora)\n\t\t{\n\t\t\tArrayList<Float> listaSumarycznejGeneracji = listaProsumentowWrap.getListaSumarycznejGeneracji(LokalneCentrum.getTimeIndex());\n\t\t\tArrayList<Float> listaSumarycznejKonsumpcji = listaProsumentowWrap.getListaSumarycznejKonsumpcji(LokalneCentrum.getTimeIndex());\n\n\t\t\treturn predictPrice(listaSumarycznejGeneracji,listaSumarycznejKonsumpcji);\n\t\t}\n\t\telse\n\t\t{\n\t\t\tArrayList<Float> proposedPriceVector = pierwszaPredykcjaWezPredykcjeZListy();\n\t\t\t\n\t\t\t//jezeli brakuje elementow w plikyu do pelnej predykcji an horyzont czasowy to uuzplenij dnaymi z modelu\n\t\t\tif (proposedPriceVector.size()<Stale.horyzontCzasowy)\n\t\t\t{\n\t\t\t\tArrayList<Float> listaSumarycznejGeneracji = listaProsumentowWrap.getListaSumarycznejGeneracji(LokalneCentrum.getTimeIndex());\n\t\t\t\tArrayList<Float> listaSumarycznejKonsumpcji = listaProsumentowWrap.getListaSumarycznejKonsumpcji(LokalneCentrum.getTimeIndex());\n\t\t\t\tArrayList<Float> cenyZmodelu =predictPrice(listaSumarycznejGeneracji,listaSumarycznejKonsumpcji);\n\t\t\t\t\n\t\t\t\tproposedPriceVector = polaczListy(proposedPriceVector, cenyZmodelu);\n\t\t\t\t\n\t\t\t\tif (proposedPriceVector.size()!=Stale.horyzontCzasowy)\n\t\t\t\t{\n\t\t\t\t\tgetInput(\"ERROR in pierwszaPredykcjaNormal\");\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\treturn proposedPriceVector;\n\t\t\t//podaj predykcje taka jak wynika z podanego pliku\n\t\t\t//getInput(\"Fill this part out - wczytaj rpedykcje z pliku!\");\n\t\t\t//return new ArrayList<Float>();\n\t\t}\n\t}",
"public void zapisUrok() {\r\n\r\n\t\taktualnyZostatok = getZostatok() * urokovaSadzba / 100;\r\n\t\tsetVklad(aktualnyZostatok);\r\n\r\n\t}",
"public void urciStupneVrcholu(){\n\t\tfor(int i = 0;i < vrchP.length; i++){\n\t\t\tstupenVrcholu(vrchP[i].klic);\n\t\t}\n\t}",
"public PrestamoAuto(int noCliente, String nombre, int noCuenta, double capPrestado, int plazoInversion) {\r\n this.noCliente = noCliente;\r\n this.nombre = nombre;\r\n this.noCuenta = noCuenta;\r\n this.capPrestado = capPrestado;\r\n this.plazoInversion = plazoInversion;\r\n }",
"private String vylozZvieraZVozidla() {\r\n if (zoo.getPracovneVozidlo() == null) {\r\n return \"Pracovne vozidlo nie je pristavene\";\r\n }\r\n\r\n Integer pozicia = MojeMetody.vlozInt(\"Vloz index zvierata\");\r\n if (pozicia == null) return \"\";\r\n\r\n try {\r\n Zivocich ziv = zoo.vylozZivocicha(pozicia-1);\r\n if (ziv == null) {\r\n return \"Zviera c. \" + pozicia + \" nie je na vozidle\\n\\t\";\r\n }\r\n zoo.pridajZivocicha(ziv);\r\n return \"Zviera \" + ziv\r\n + \"\\n\\tbolo vylozene z prepravneho vozidla\";\r\n } catch (ClassCastException exCC) {\r\n return \"Zviera c. \" + pozicia + \" nie je na vozidle\\n\\t\";\r\n } catch (Exception ex) {\r\n return \"Neznama chyba:\\n\\t\" + ex;\r\n }\r\n }",
"private int generujViacZvierat(int pocet){\r\n int poc = 0;\r\n for (int i = 0; i < pocet; i++) {\r\n if (zoo.pridajZivocicha(vytvorZivocicha())) poc++;\r\n }\r\n return poc;\r\n }",
"private void dodajEpsilonPrijelaz(int pocetno, int sljedece) {\n String key = pocetno + \",$$\";\n if (!prijelazi.containsKey(key)) {\n prijelazi.put(key, new Integer(sljedece).toString());\n } else {\n String value = prijelazi.get(key) + \",\" + new Integer(sljedece).toString();\n prijelazi.put(key, value);\n }\n }",
"public static void dodavanjePutnickogVozila() {\n\t\tString vrstaVozila = \"Putnicko Vozilo\";\n\t\tString regBr = UtillMethod.unosRegBroj();\n\t\tGorivo gorivo = UtillMethod.izabirGoriva();\n\t\tGorivo gorivo2 = UtillMethod.izabirGorivaOpet(gorivo);\n\t\tint brServisa = 1;\n\t\tdouble potrosnja100 = UtillMethod.unesiteDoublePotrosnja();\n\t\tSystem.out.println(\"Unesite broj km koje je vozilo preslo:\");\n\t\tdouble predjeno = UtillMethod.unesiteBroj();\n\t\tdouble preServisa = 10000;\n\t\tdouble cenaServisa = 8000;\n\t\tSystem.out.println(\"Unesite cenu vozila za jedan dan:\");\n\t\tdouble cenaDan = UtillMethod.unesiteBroj();\n\t\tSystem.out.println(\"Unesite broj sedista u vozilu:\");\n\t\tint brSedist = UtillMethod.unesiteInt();\n\t\tSystem.out.println(\"Unesite broj vrata vozila:\");\n\t\tint brVrata = UtillMethod.unesiteInt();\n\t\tboolean vozObrisano = false;\n\t\tArrayList<Gorivo> gorivaVozila = new ArrayList<Gorivo>();\n\t\tgorivaVozila.add(gorivo);\n\t\tif(gorivo2!=Main.nista) {\n\t\t\tgorivaVozila.add(gorivo2);\n\t\t}\n\t\tArrayList<Servis> servisiNadVozilom = new ArrayList<Servis>();\n\t\tPutnickoVozilo vozilo = new PutnickoVozilo(vrstaVozila, regBr, gorivaVozila, brServisa, potrosnja100, predjeno,\n\t\t\t\tpreServisa, cenaServisa, cenaDan, brSedist, brVrata, vozObrisano, servisiNadVozilom);\n\t\tUtillMethod.prviServis(vozilo, predjeno);\n\t\tMain.getVozilaAll().add(vozilo);\n\t\tSystem.out.println(\"Novo vozilo je uspesno dodato u sistem!\");\n\t\tSystem.out.println(\"---------------------------------------\");\n\t}",
"public void AwansSpoleczny() {\n\t\tSystem.out.println(\"AwansSpoleczny\");\n\t\tif(Plansza.getNiewolnikNaPLanszy().getPopulacja() >= ZapisOdczyt.getPOPULACJAMAX()*0.67 && Plansza.getNiewolnikNaPLanszy() instanceof Niewolnicy) {\n\t\t\tPlansza.setNiewolnikNaPlanszy(new Mieszczanie(Plansza.getNiewolnikNaPLanszy()));\n\t\t}\n\t\t\t\n\t\tif(Plansza.getRzemieslnikNaPlanszy().getPopulacja() >= ZapisOdczyt.getPOPULACJAMAX()*0.67 && Plansza.getRzemieslnikNaPlanszy() instanceof Rzemieslnicy) {\n\t\t\tPlansza.setRzemieslnikNaPlanszy(new Handlarze(Plansza.getRzemieslnikNaPlanszy()));\n\t\t}\n\t\t\t\n\t\tif(Plansza.getArystokrataNaPlanszy().getPopulacja() >= ZapisOdczyt.getPOPULACJAMAX()*0.67 && Plansza.getArystokrataNaPlanszy() instanceof Arystokracja) {\n\t\t\tPlansza.setArystokrataNaPlanszy(new Szlachta(Plansza.getArystokrataNaPlanszy()));\n\t\t}\n\t}",
"private Punto getPuntoPriorizado(Punto puntoini, List<Punto> puntos ){\n\t\t\n\t\tPunto puntopriorizado = null;\n\t\t// calculamos la heuristica de distancias a los demas puntos\n\t\tfor (Punto punto : puntos) {\n\t\t\tif( (puntoini!=null && punto!=null) && !puntoini.equals(punto) ){\n\t\t\t\tdouble d = Geometria.distanciaDeCoordenadas(puntoini, punto);\n\t\t\t\tpunto.getDatos().put(\"distanci\", d);\n\t\t\t}\n\t\t}\n\t\t\n\t\t// ordenamos por las heuristicas definidad en la clase comparator\n\t\t// hora atencion, prioridad, urgencia, distancia\n\t\tCollections.sort(puntos, new PuntoHeuristicaComparator1());\n\t\tSystem.out.println(\"### mostrando las heuristicas #####\");\n\t\tmostratPuntosHeuristica(puntos);\n\t\n\t\tif( puntos!=null && puntos.size()>0){\n\t\t\tpuntopriorizado = puntos.get(0);\n\t\t}\n\t\t\n\t\t/*Punto pa = null ;\n\t\tfor (Punto p : puntos) {\n\t\t\tif(pa!=null){\n\t\t\t\tString key = p.getDatos().toString();\n\t\t\t\tString keya = pa.getDatos().toString();\n\t\t\t\tif(!key.equals(keya)){\n\t\t\t\t\tpuntopriorizado = p;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t}\n\t\t\tpa = p ;\n\t\t}*/\n\n\t\treturn puntopriorizado;\n\t}",
"public void VaciarPila()\n {\n this.tope = 0;\n }",
"public void asignarAutomovilPersona(){\r\n persona.setAutomovil(automovil);\r\n }",
"public void naplnVrcholy() {\r\n System.out.println(\"Zadajte pocet vrcholov: \");\r\n pocetVrcholov = skener.nextInt();\r\n for (int i=0; i < pocetVrcholov; i++) {\r\n nekonecno = (int)(Double.POSITIVE_INFINITY);\r\n if(i==0) { //pre prvy vrchol potrebujeme nastavit vzdialenost 0 \r\n String menoVrcholu = Character.toString((char)(i+65)); //pretipovanie int na String, z i=0 dostanem A\r\n Vrchol vrchol = new Vrchol(menoVrcholu, 0, \"\"); //vrcholu nastavim vzdialenost a vrcholPrichodu \r\n vrcholy.add(vrchol);\r\n } else { //ostatne budu mat nekonecno alebo v tomto pripade 9999 (lebo tuto hodnotu v mensich grafoch nepresiahnem)\r\n String menoVrcholu = Character.toString((char)(i+65)); //pretipovanie int na String, z i=0 dostanem A\r\n Vrchol vrchol = new Vrchol(menoVrcholu,nekonecno, \"\"); //vrcholu nastavim vzdialenost a vrcholPrichodu \r\n vrcholy.add(vrchol);\r\n }\r\n }\r\n }",
"private static void kapazitaetPruefen(){\n\t\tList<OeffentlichesVerkehrsmittel> loev = new ArrayList<OeffentlichesVerkehrsmittel>();\n\t\t\n\t\tLinienBus b1 = new LinienBus();\n\t\tFaehrschiff f1 = new Faehrschiff();\n\t\tLinienBus b2 = new LinienBus();\t\n\t\t\n\t\tloev.add(b1);\n\t\tloev.add(b2);\n\t\tloev.add(f1);\n\t\t\n\t\tint zaehlung = 500;\n\t\tboolean ausreichend = kapazitaetPruefen(loev,500);\n\t\tp(\"Kapazitaet ausreichend? \" + ausreichend);\n\t\t\n\t}",
"public void obrniListu() {\n if (prvi != null && prvi.veza != null) {\n Element preth = null;\n Element tek = prvi;\n \n while (tek != null) {\n Element sled = tek.veza;\n \n tek.veza = preth;\n preth = tek;\n tek = sled;\n }\n prvi = preth;\n }\n }",
"private void ucitajTestPodatke() {\n\t\tList<Integer> l1 = new ArrayList<Integer>();\n\n\t\tRestoran r1 = new Restoran(\"Palazzo Bianco\", \"Bulevar Cara Dušana 21\", KategorijeRestorana.PICERIJA, l1, l1);\n\t\tRestoran r2 = new Restoran(\"Ananda\", \"Petra Drapšina 51\", KategorijeRestorana.DOMACA, l1, l1);\n\t\tRestoran r3 = new Restoran(\"Dizni\", \"Bulevar cara Lazara 92\", KategorijeRestorana.POSLASTICARNICA, l1, l1);\n\n\t\tdodajRestoran(r1);\n\t\tdodajRestoran(r2);\n\t\tdodajRestoran(r3);\n\t}",
"public void setPozycja(PozycjaZamowienia pozycja){\n\t\tthis.pozycja = pozycja;\n\t}",
"public boolean jeVeljavnaPoteza(Koordinati poteza) { \n\t\tif (poteza.getX() < 0 || poteza.getX() >= N) {\n\t\t\treturn false;\n\t\t}\n\t\tif (poteza.getY() < 0 || poteza.getY() >= N) {\n\t\t\treturn false;\n\t\t}\n\t\tif (plosca[poteza.getX()][poteza.getY()] != Polje.PRAZNO) {\n\t\t\treturn false;\n\t\t}\n return true;\n }",
"public void uradiPotez(int direkcija) {\r\n\t\tboolean promjena1 = pomjeri(direkcija);\r\n\t\tboolean promjena2 = spoji(direkcija);\r\n\t\tif(promjena1 || promjena2) { //ukoliko nije bilo promjene ni u pomjeranju ni spajanju, ne generise novo polje\r\n\t\t\tpomjeri(direkcija);\r\n\t\t\tgenerisiPolje();\r\n\t\t}\r\n\t}",
"private void actualizaPuntuacion() {\n if(cambiosFondo <= 10){\n puntos+= 1*0.03f;\n }\n if(cambiosFondo > 10 && cambiosFondo <= 20){\n puntos+= 1*0.04f;\n }\n if(cambiosFondo > 20 && cambiosFondo <= 30){\n puntos+= 1*0.05f;\n }\n if(cambiosFondo > 30 && cambiosFondo <= 40){\n puntos+= 1*0.07f;\n }\n if(cambiosFondo > 40 && cambiosFondo <= 50){\n puntos+= 1*0.1f;\n }\n if(cambiosFondo > 50) {\n puntos += 1 * 0.25f;\n }\n }",
"public ListaBrojeva izdvojElmenteNaNeparnimPozicijama() {\n if (!jePrazna()) {\n ListaBrojeva neparni = new ListaBrojeva();\n \n Element neparniKraj = null;\n Element tek = prvi;\n Element preth = null;\n int br = 0;\n \n while (tek.veza != null) {\n preth = tek;\n tek = tek.veza;\n if (br % 2 == 0) {\n preth.veza = tek.veza;\n if (neparni.prvi == null) {\n neparni.prvi = tek;\n tek.veza = null;\n neparniKraj = tek;\n }\n else {\n neparniKraj.veza = tek;\n tek.veza = null;\n neparniKraj = tek;\n }\n tek = preth;\n }\n br++;\n }\n return neparni;\n }\n return null;\n }",
"public void dodajZmijuPocetak() {\n\t\tthis.zmija.add(new Cvor(1,4));\n\t\tthis.zmija.add(new Cvor(1,3));\n\t\tthis.zmija.add(new Cvor(1,2));\n\t\t\n\t\tint i = this.zmija.get(0).i;\n\t\tint j = this.zmija.get(0).j;\n\t\tthis.tabla[i][j] = 'O';\n\t\t\n\t\tfor (int k = 1; k < this.zmija.size(); k++) {\n\t\t\ti = this.zmija.get(k).i;\n\t\t\tj = this.zmija.get(k).j;\n\t\t\tthis.tabla[i][j] = 'o';\n\t\t}\t\n\t}",
"private void aktualisierePreisanzeige(Set<Platz> plaetze)\r\n\t{\r\n\r\n\t\tif (istVerkaufenMoeglich(plaetze))\r\n\t\t{\r\n\t\t\tGeldbetrag preis = _vorstellung.getPreisFuerPlaetze(plaetze);\r\n\t\t\t_ui.getPreisLabel().setText(\"Gesamtpreis: \" + preis.toString() + \" €\");\r\n\t\t\t_preisFuerAuswahl = preis;\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\t_ui.getPreisLabel().setText(\"Gesamtpreis:\");\r\n\t\t}\r\n\t}",
"public void obliczSzanseWykolejenia(Tramwaj tramwaj, Pogoda pogoda, Motorniczy motorniczy, Przystanek przystanek){\r\n RegulyWykolejen regulyWykolejen= new RegulyWykolejen();\r\n this.szansaWykolejenia = pogoda.getRyzyko() + przystanek.getStanTechnicznyPrzystanku() + tramwaj.getStanTechTramwaju() + regulyWykolejen.regulaWiek(motorniczy.getWiek()) + regulyWykolejen.regulaDoswiadczenie(motorniczy.getDoswiadczenie());\r\n }",
"public void aktualisiere(PhysicalObject po){\n\t\tthis.po=po;\n\t\tKipper kipperObj= (Kipper) po;\t\t\n\t\tx = kipperObj.getX();\n\t\ty = kipperObj.getY();\n\t\tbreite=kipperObj.getBreite();\n\t\tlaenge=kipperObj.getLaenge();\n\t\twinkel=kipperObj.getWinkel();\n\t\tlkwfahrt=kipperObj.isFahrt();\t\t\n\t\tif (kipperObj.getMaterialListe().size() == 1) {\n\t\t\tmatRatio=kipperObj.getMaterialListe().get(0).getVolumen()/kipperObj.getMaxVolumen();\t\n\t\t\tif(matRatio > 1)\n\t\t\t\tmatRatio=1;\n\t\t}\t\t\n\t}",
"public void Zabojstwa() {\n\t\tSystem.out.println(\"Zabojstwa\");\n\t\tfor(int i=0;i<Plansza.getNiebezpieczenstwoNaPlanszy().size();i++) {\n\t\t\tfor(GenerujNiebezpieczenstwo niebez : Plansza.getNiebezpieczenstwoNaPlanszy()) {\n\n\t\t\t\tif(niebez.getZabojca() instanceof DzikieZwierzeta) {\n\t\t\t\t\tif(niebez.getXniebezpieczenstwo()-1 <= Plansza.getNiewolnikNaPLanszy().getXpolozenie() && niebez.getXniebezpieczenstwo()+1 >= Plansza.getNiewolnikNaPLanszy().getXpolozenie()) {\n\t\t\t\t\t\tif(niebez.getYniebezpieczenstwo()-1 <= Plansza.getNiewolnikNaPLanszy().getYpolozenie() && niebez.getYniebezpieczenstwo()+1 >= Plansza.getNiewolnikNaPLanszy().getYpolozenie()) {\n\t\t\t\t\t\t\tif(Plansza.getNiewolnikNaPLanszy().getUbrania() >= niebez.getZabojca().ZmniejszIloscPopulacja() && Plansza.getNiewolnikNaPLanszy().getJedzenie() >= niebez.getZabojca().ZmniejszIloscPopulacja()) {\n\t\t\t\t\t\t\t\tPlansza.getNiewolnikNaPLanszy().setUbrania(Plansza.getNiewolnikNaPLanszy().getUbrania() - niebez.getZabojca().ZmniejszIloscPopulacja());\n\t\t\t\t\t\t\t\tPlansza.getNiewolnikNaPLanszy().setJedzenie(Plansza.getNiewolnikNaPLanszy().getJedzenie() - niebez.getZabojca().ZmniejszIloscPopulacja());\n\t\t\t\t\t\t\t\tPlansza.getNiewolnikNaPLanszy().setLicznikNiebezpieczenstw(Plansza.getNiewolnikNaPLanszy().getLicznikNiebezpieczenstw()+1);\n\t\t\t\t\t\t\t\tPlansza.getNiebezpieczenstwoNaPlanszy().remove(niebez);\n\t\t\t\t\t\t\t\ti--;\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tif(niebez.getZabojca() instanceof Bandyci) {\n\t\t\t\t\tif(niebez.getXniebezpieczenstwo()-1 <= Plansza.getRzemieslnikNaPlanszy().getXpolozenie() && niebez.getXniebezpieczenstwo()+1 >= Plansza.getRzemieslnikNaPlanszy().getXpolozenie()) {\n\t\t\t\t\t\tif(niebez.getYniebezpieczenstwo()-1 <= Plansza.getRzemieslnikNaPlanszy().getYpolozenie() && niebez.getYniebezpieczenstwo()+1 >= Plansza.getRzemieslnikNaPlanszy().getYpolozenie()) {\n\t\t\t\t\t\t\tif(Plansza.getRzemieslnikNaPlanszy().getMaterialy() >= niebez.getZabojca().ZmniejszIloscPopulacja() && Plansza.getRzemieslnikNaPlanszy().getNarzedzia() >= niebez.getZabojca().ZmniejszIloscPopulacja()) {\n\t\t\t\t\t\t\t\tif(GeneratorRandom.RandomOd0(101) <= ZapisOdczyt.getRzemieslnicySzansa()) {\n\t\t\t\t\t\t\t\t\tPlansza.getNiebezpieczenstwoNaPlanszy().remove(niebez);\n\t\t\t\t\t\t\t\t\ti--;\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tPlansza.getRzemieslnikNaPlanszy().setMaterialy(Plansza.getRzemieslnikNaPlanszy().getMaterialy() - niebez.getZabojca().ZmniejszIloscPopulacja());\n\t\t\t\t\t\t\t\tPlansza.getRzemieslnikNaPlanszy().setNarzedzia(Plansza.getRzemieslnikNaPlanszy().getNarzedzia() - niebez.getZabojca().ZmniejszIloscPopulacja());\n\t\t\t\t\t\t\t\tPlansza.getRzemieslnikNaPlanszy().setLicznikNiebezpieczenstw(Plansza.getRzemieslnikNaPlanszy().getLicznikNiebezpieczenstw()+1);\n\t\t\t\t\t\t\t\tPlansza.getNiebezpieczenstwoNaPlanszy().remove(niebez);\n\t\t\t\t\t\t\t\ti--;\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif(niebez.getZabojca() instanceof Zlodzieje) {\n\t\t\t\t\tif(niebez.getXniebezpieczenstwo()-1 <= Plansza.getArystokrataNaPlanszy().getXpolozenie() && niebez.getXniebezpieczenstwo()+1 >= Plansza.getArystokrataNaPlanszy().getXpolozenie()) {\n\t\t\t\t\t\tif(niebez.getYniebezpieczenstwo()-1 <= Plansza.getArystokrataNaPlanszy().getYpolozenie() && niebez.getYniebezpieczenstwo()+1 >= Plansza.getArystokrataNaPlanszy().getYpolozenie()) {\n\t\t\t\t\t\t\tif(Plansza.getArystokrataNaPlanszy().getTowary() >= niebez.getZabojca().ZmniejszIloscPopulacja() && Plansza.getArystokrataNaPlanszy().getZloto() >= niebez.getZabojca().ZmniejszIloscPopulacja()) {\n\t\t\t\t\t\t\t\tPlansza.getArystokrataNaPlanszy().setTowary(Plansza.getArystokrataNaPlanszy().getTowary() - niebez.getZabojca().ZmniejszIloscPopulacja());\n\t\t\t\t\t\t\t\tPlansza.getArystokrataNaPlanszy().setZloto(Plansza.getArystokrataNaPlanszy().getZloto() - niebez.getZabojca().ZmniejszIloscPopulacja());\n\t\t\t\t\t\t\t\tPlansza.getArystokrataNaPlanszy().setLicznikNiebezpieczenstw(Plansza.getArystokrataNaPlanszy().getLicznikNiebezpieczenstw()+1);\n\t\t\t\t\t\t\t\tPlansza.getNiebezpieczenstwoNaPlanszy().remove(niebez);\n\t\t\t\t\t\t\t\ti--;\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t}",
"public Prekladiste(int id, UzelTyp typ, int x, int y, Simulator sim)\n\t{\n\t\tsuper(id, typ, x, y, sim);\n\t\t\n\t\tsklad = PRIPRAVENE_SUDY;\n\t\tthis.vozy = new LinkedList<Auto>();\n\t}",
"private static boolean poserTapis(){\n\t\tSystem.out.println(\"Choisisser une premiere case pour poser la premiere partie du tapis\");\n\t\tint premiereCaseTapis = console.obtenirDirection();\n\t\tint direction = premiereCaseTapis;\n\t\tint posXTapis = 0, posYTapis = 0;\n\n\t\t//Pose du premier carre de tapis\n\t\ttry{\n\t\t\tif(premiereCaseTapis == 1){\n\t\t\t\tjeu.cases[jeu.getAssam().getXPion()-2][jeu.getAssam().getYPion()-1].setCouleurTapis(tour);\n\t\t\t\tposXTapis = jeu.getAssam().getXPion()-2;\n\t\t\t\tposYTapis = jeu.getAssam().getYPion()-1;\n\t\t\t}\n\n\t\t\telse if(premiereCaseTapis == 2){\n\t\t\t\tjeu.cases[jeu.getAssam().getXPion()][jeu.getAssam().getYPion()-1].setCouleurTapis(tour);\n\t\t\t\tposXTapis = jeu.getAssam().getXPion();\n\t\t\t\tposYTapis = jeu.getAssam().getYPion()-1;\n\t\t\t}\n\n\t\t\telse if(premiereCaseTapis == 3){\n\t\t\t\tjeu.cases[jeu.getAssam().getXPion()-1][jeu.getAssam().getYPion()-2].setCouleurTapis(tour);\n\t\t\t\tposYTapis = jeu.getAssam().getYPion()-2;\n\t\t\t\tposXTapis = jeu.getAssam().getXPion()-1;\n\t\t\t}\n\n\t\t\telse {\n\t\t\t\tjeu.cases[jeu.getAssam().getXPion()-1][jeu.getAssam().getYPion()].setCouleurTapis(tour);\n\t\t\t\tposYTapis = jeu.getAssam().getYPion();\n\t\t\t\tposXTapis = jeu.getAssam().getXPion()-1;\n\t\t\t}\n\n\t\t} catch (ArrayIndexOutOfBoundsException e){\n\t\t\tconsole.afficherImpossiblePoserTapis();\n\t\t\treturn false;\n\t\t}\n\n\n\n\n\t\tconsole.afficherJeu();\n\t\tSystem.out.println(\"Choisissez la deuxieme case\");\n\n\t\t//Pose du second petit carre de tapis\n\t\twhile(true){\n\t\t\tint d = console.obtenirDirection();\n\t\t\t//pour ne pas faire de demi tour ou erreur de d\n\t\t\tif(direction == 1 && d == 2 || direction == 2 && d == 1 || direction == 3 && d == 4 || direction == 4 && d == 3 || d<1 || d>4){\n\t\t\t\tconsole.afficherImpossibleChoisirDirection();\n\t\t\t} else {\n\t\t\t\ttry{\n\t\t\t\t\tif(d == 1){\n\t\t\t\t\t\tjeu.cases[posXTapis-1][posYTapis].setCouleurTapis(tour);\n\t\t\t\t\t}\n\n\t\t\t\t\telse if(d == 2){\n\t\t\t\t\t\tjeu.cases[posXTapis+1][posYTapis].setCouleurTapis(tour);\n\t\t\t\t\t}\n\n\t\t\t\t\telse if(d == 3){\n\t\t\t\t\t\tjeu.cases[posXTapis][posYTapis-1].setCouleurTapis(tour);\n\t\t\t\t\t}\n\n\t\t\t\t\telse {\n\t\t\t\t\t\tjeu.cases[posXTapis][posYTapis+1].setCouleurTapis(tour);\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\t} catch (ArrayIndexOutOfBoundsException e){\n\t\t\t\t\tconsole.afficherImpossiblePoserTapis();\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t}\n\t\tjeu.getJoueurs()[tour-1].useTapis();\n\t\treturn true;\n\n\n\t}",
"public static LocalTime czasDojazduAutobusu(int pozX, int pozY){\r\n Koordynaty pozAutobusu = new Koordynaty();\r\n pozAutobusu.przypiszKoordynaty(7,5);\r\n int ile = Math.abs((pozAutobusu.pozX -pozX + pozAutobusu.pozY - pozY + ThreadLocalRandom.current().nextInt(1,30)));\r\n LocalTime czas = LocalTime.of(0,0);\r\n if(ile > 180) { ile -= 100;}\r\n czas = czas.plusMinutes(ile);\r\n return czas;\r\n }",
"void novyVrchol(String klic){\n\t\tVrchol pom = new Vrchol(klic,'B');\n\t\t\n\t\tvrchP[pocet] = pom;\n\t\tpocet++;\n\t\n\t}",
"public void ZbierzTowaryKlas() {\n\t\tSystem.out.println(\"ZbierzTowaryKlas\");\n\t\tfor(int i=0;i<Plansza.getTowarNaPlanszy().size();i++) {\n\t\t\tfor(Towar towar : Plansza.getTowarNaPlanszy()) {\n\t\t\t\t\n\t\t\t\tif(Plansza.getNiewolnikNaPLanszy().getXpolozenie()-1 <= towar.getXtowar() && Plansza.getNiewolnikNaPLanszy().getXpolozenie()+1 >= towar.getXtowar()) \n\t\t\t\t\tif(Plansza.getNiewolnikNaPLanszy().getYpolozenie()-1 <= towar.getYtowar() && Plansza.getNiewolnikNaPLanszy().getYpolozenie()+1 >= towar.getYtowar()) {\n\t\t\t\t\t\tPlansza.getNiewolnikNaPLanszy().ZbieranieTowarow(towar);\n\t\t\t\t\t\t//Szansa Niewolnika na zdobycie dwoch razy wiecej towarow\n\t\t\t\t\t\tif(GeneratorRandom.RandomOd0(101) <= ZapisOdczyt.getNiewolnicySzansa()) {\n\t\t\t\t\t\t\tPlansza.getNiewolnikNaPLanszy().ZbieranieTowarow(towar);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tPlansza.getTowarNaPlanszy().remove(towar);\n\t\t\t\t\t\tPlansza.getNiewolnikNaPLanszy().setLicznikTowarow(Plansza.getNiewolnikNaPLanszy().getLicznikTowarow()+1);\n\t\t\t\t\t\ti--;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif(Plansza.getRzemieslnikNaPlanszy().getXpolozenie()-1 <= towar.getXtowar() && Plansza.getRzemieslnikNaPlanszy().getXpolozenie()+1 >= towar.getXtowar()) \n\t\t\t\t\tif(Plansza.getRzemieslnikNaPlanszy().getYpolozenie()-1 <= towar.getYtowar() && Plansza.getRzemieslnikNaPlanszy().getYpolozenie()+1 >= towar.getYtowar()) {\n\t\t\t\t\t\tPlansza.getRzemieslnikNaPlanszy().ZbieranieTowarow(towar);\n\t\t\t\t\t\tPlansza.getTowarNaPlanszy().remove(towar);\n\t\t\t\t\t\tPlansza.getRzemieslnikNaPlanszy().setLicznikTowarow(Plansza.getRzemieslnikNaPlanszy().getLicznikTowarow()+1);\n\t\t\t\t\t\ti--;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif(Plansza.getArystokrataNaPlanszy().getXpolozenie()-1 <= towar.getXtowar() && Plansza.getArystokrataNaPlanszy().getXpolozenie()+1 >= towar.getXtowar()) \n\t\t\t\t\tif(Plansza.getArystokrataNaPlanszy().getYpolozenie()-1 <= towar.getYtowar() && Plansza.getArystokrataNaPlanszy().getYpolozenie()+1 >= towar.getYtowar()) {\n\t\t\t\t\t\tPlansza.getArystokrataNaPlanszy().ZbieranieTowarow(towar);\n\t\t\t\t\t\tPlansza.getTowarNaPlanszy().remove(towar);\n\t\t\t\t\t\tPlansza.getArystokrataNaPlanszy().setLicznikTowarow(Plansza.getArystokrataNaPlanszy().getLicznikTowarow()+1);\n\t\t\t\t\t\ti--;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"public String getPoruka() {\r\n\t\t//2.greska \"poruka\"\r\n\treturn poruka;\r\n\t}",
"public boolean souvislost(){\n\t\t\n\t\tif(pole.size() != pocetVrcholu){\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t\t\n\t}",
"protected void pretragaGledalac() {\n\t\tString Gledalac=tfPretraga.getText();\r\n\r\n\t\tObject[]redovi=new Object[9];\r\n\t\tdtm.setRowCount(0);\r\n\t\t\r\n\t\tfor(Rezervacije r:Kontroler.getInstanca().vratiRezervacije()) {\r\n\t\t\tif(r.getImePrezime().toLowerCase().contains(Gledalac.toLowerCase())) {\r\n\t\t\t\r\n\t\t\t\tredovi[0]=r.getID_Rez();\r\n\t\t\t\tredovi[1]=r.getImePrezime();\r\n\t\t\t\tredovi[2]=r.getImePozorista();\r\n\t\t\t\tredovi[3]=r.getNazivPredstave();\r\n\t\t\t\tredovi[4]=r.getDatumIzvodjenja();\r\n\t\t\t\tredovi[5]=r.getVremeIzvodjenja();\r\n\t\t\t\tredovi[6]=r.getScenaIzvodjenja();\r\n\t\t\t\tredovi[7]=r.getBrRezUl();\r\n\t\t\t\tredovi[8]=r.getCenaUlaznica();\r\n\t\t\t\tdtm.addRow(redovi);\r\n\t\t\t\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t}",
"public static void main(String [] agrs){\n\r\n\r\n Kaczka gumowa = new GumowaKaczka();\r\n gumowa.ustawKwakanieInterfejs(2);\r\n gumowa.ustawLatanieInterfejs(new SzybkieLatanie());\r\n gumowa.wyswietl();\r\n System.out.println(gumowa.kwacz());\r\n System.out.println(gumowa.lec());\r\n Kaczka dzika = new DzikaKaczka();\r\n // dzika.ustawLatanieInterfejs(1);\r\n dzika.wyswietl();\r\n System.out.println(dzika.lec());\r\n System.out.println(dzika.kwacz());\r\n\r\n\r\n// Polecenie[] polecenieWlacz;\r\n// Polecenie[] polecanieWylacz;\r\n// Polecenie polecenieWycofaj;\r\n//\r\n// polecanieWylacz = new Polecenie[7];\r\n// polecenieWlacz = new Polecenie[7];\r\n//\r\n// Swiatlo swiatlo = new Swiatlo();\r\n// polecanieWylacz[0] = new PolecenieWylaczSwiatlo(swiatlo);\r\n// polecenieWlacz[0] = new PolecenieWlaczSwiatlo(swiatlo);\r\n//\r\n//\r\n//\r\n//\r\n// polecenieWlacz[0].wykonaj();\r\n// polecanieWylacz[0].wykonaj();\r\n// polecenieWlacz[0].wykonaj();\r\n// polecenieWycofaj = polecanieWylacz[0];\r\n//// polecenieWycofaj = polecenieWlacz[0];\r\n// polecenieWycofaj.wykonaj();\r\n// polecenieWycofaj.wykonaj();\r\n//// polecenieWycofaj.wycofaj();\r\n//\r\n// WiezaStereo wiezaStereo = new WiezaStereo();\r\n//\r\n// polecenieWlacz[1] = new PolecenieWiezaStereoWlaczCD(wiezaStereo);\r\n//\r\n// polecenieWlacz[1].wykonaj();\r\n\r\n\r\n\r\n }",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"public void crearAutomovil(){\r\n automovil = new Vehiculo();\r\n automovil.setMarca(\"BMW\");\r\n automovil.setModelo(2010);\r\n automovil.setPlaca(\"TWS435\");\r\n }",
"public void dodajPrijelaz(int pocetno, int sljedece, char znak) {\n dodajPrijelaz(pocetno, sljedece, Character.toString(znak));\n }",
"public void DaneStartowe() {\n\t\tSystem.out.println(\"DaneStartowe\");\n\t\tPlansza.getNiewolnikNaPLanszy().setJedzenie(ZapisOdczyt.getPopulacjaStartowaNiewolnicy());\n\t\tPlansza.getNiewolnikNaPLanszy().setUbrania(ZapisOdczyt.getPopulacjaStartowaNiewolnicy());\n\t\tPlansza.getRzemieslnikNaPlanszy().setMaterialy(ZapisOdczyt.getPopulacjaStartowaRzemieslnicy());\n\t\tPlansza.getRzemieslnikNaPlanszy().setNarzedzia(ZapisOdczyt.getPopulacjaStartowaRzemieslnicy());\n\t\tPlansza.getArystokrataNaPlanszy().setZloto((int) (ZapisOdczyt.getPopulacjaStartowaArystokracja() + ZapisOdczyt.getArystokracjaWiekszaPopulacja()*ZapisOdczyt.getPopulacjaStartowaArystokracja()*0.01));\n\t\tPlansza.getArystokrataNaPlanszy().setTowary((int) (ZapisOdczyt.getPopulacjaStartowaArystokracja() + ZapisOdczyt.getArystokracjaWiekszaPopulacja()*ZapisOdczyt.getPopulacjaStartowaArystokracja()*0.01));\n\t}",
"private void actualizaPremio(){\n\t\tif(botonAp1.isSelected()){\n\t\t\ttipo = 1;\n\t\t\tcoef = modelo.getPartidoApuesta().getCoefLocal();\n\t\t\tpremio.set(apostado.get()*coef);\n\t\t\tpremioLabel.setText(String.format(\"%.2f\", premio.get()));\n\t\t}else{\n\t\t\tif(botonApX.isSelected()){\n\t\t\t\ttipo = 0;\n\t\t\t\tcoef = modelo.getPartidoApuesta().getCoefEmpate();\n\t\t\t\tpremio.set(apostado.get()*coef);\n\t\t\t\tpremioLabel.setText(String.format(\"%.2f\", premio.get()));\n\t\t\t}else{\n\t\t\t\tif(botonAp2.isSelected()){\n\t\t\t\t\ttipo = 2;\n\t\t\t\t\tcoef = modelo.getPartidoApuesta().getCoefVisitante();\n\t\t\t\t\tpremio.set(apostado.get()*coef);\n\t\t\t\t\tpremioLabel.setText(String.format(\"%.2f\", premio.get()));\n\t\t\t\t}else{\n\t\t\t\t\ttipo = -1;\n\t\t\t\t\tcoef = 0.0;\n\t\t\t\t\tpremio.set(0.0);\n\t\t\t\t\tpremioLabel.setText(String.format(\"%.2f\", premio.get()));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"public ConversorVelocidad() {\n //setTemperaturaConvertida(0);\n }",
"public static void prikaziValutu(Valuta valuta,JTextField textFieldNaziv,JTextField textFieldSkraceniNaziv,\r\n\t\t\tJTextField textFieldSifra,JTextField textFieldProdajniKurs,JTextField textFieldKupovniKurs,JTextField textFieldSrednjiKurs) {\n\t\ttextFieldNaziv.setText(valuta.getNaziv());\r\n\t\ttextFieldSkraceniNaziv.setText(valuta.getSkraceniNaziv());\r\n\t\ttextFieldSifra.setText(\"\"+valuta.getSifra());\r\n\t\ttextFieldProdajniKurs.setText(\"\"+valuta.getProdajni());\r\n\t\ttextFieldKupovniKurs.setText(\"\"+valuta.getKupovni());\r\n\t\ttextFieldSrednjiKurs.setText(\"\"+valuta.getSrednji());\t\t\t\t\r\n\t}",
"public static void proveraServisa() {\n\t\tSystem.out.println(\"Unesite redni broj vozila za koje racunate vreme sledeceg servisa:\");\n\t\tUtillMethod.izlistavanjeVozila();\n\t\tint redniBroj = UtillMethod.unesiteInt();\n\t\tif (redniBroj < Main.getVozilaAll().size()) {\n\t\t\tif (!Main.getVozilaAll().get(redniBroj).isVozObrisano()) {\n\t\t\t\tUtillMethod.proveraServisaVozila(Main.getVozilaAll().get(redniBroj));\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"Ovo vozilo je obrisano i ne moze da se koristi!\");\n\t\t\t}\n\t\t} else {\n\t\t\tSystem.out.println(\"Uneli ste pogresan redni broj!\");\n\t\t}\n\t}",
"@Test\n public void test_distanceLinaireSurY_ParcourOptimum_Pour_4villes() {\n\n Pays pays = new Pays(4);\n\n int positionX = (int) (Math.random() * 50);\n\n pays.setPositionVille(0, new Point(positionX, 2));\n pays.setPositionVille(1, new Point(positionX, 3));\n pays.setPositionVille(2, new Point(positionX, 4));\n pays.setPositionVille(3, new Point(positionX, 5));\n\n brutForceV3.recherche(pays, 0);\n\n assertEquals(\"0>1>2>3>0\", brutForceV3.getParcours().getVillesEmprunté());\n assertEquals(brutForceV3.getParcours().getDistance(),\n parcoursVilles(pays, brutForceV3.getParcours().getVillesEmprunté(),\">\"));\n\n }",
"public void distribuirAportes2(){\n\n if(comprobanteSeleccionado.getAporteorganismo().floatValue() > 0f){\n comprobanteSeleccionado.setAportecomitente(comprobanteSeleccionado.getMontoaprobado().subtract(comprobanteSeleccionado.getAporteuniversidad().add(comprobanteSeleccionado.getAporteorganismo())));\n }\n }",
"public String getPoruka() {\r\n\treturn \"poruka\";\r\n\t}",
"public static void main(String[] args) {\n\t\t\r\n\t\tVozac v1 = new Vozac(\"Petar Petrovic\", \"vozac\");\r\n\t\tVozac v2 = new Vozac(\"Marko Markovic\", \"visi vozac\");\r\n\t\t\r\n\t\tPutnik p1 = new Putnik(\"Mara Maric\", 1000);\r\n\t\tPutnik p2 = new Putnik(\"Zora Zoric\", 1520);\r\n\t\tPutnik p3 = new Putnik(\"Rade Radic\", 854);\r\n\t\tPutnik p4 = new Putnik(\"Mile Milic\", 3150);\r\n\t\tPutnik p5 = new Putnik(\"Joka Jokic\", 2100);\r\n\t\t\r\n\t\tAutobus a1 = new Autobus(\"Novi Sad - Beograd\", 700);\r\n\t\t\r\n\t\ta1.postaviVozaca(v1);\r\n\t\ta1.dodajPutnika(p1);\r\n\t\ta1.dodajPutnika(p2);\r\n\t\ta1.dodajPutnika(p3);\r\n\t\ta1.dodajPutnika(p4);\r\n\t\ta1.dodajPutnika(p5);\r\n\t\t\r\n\t\tSystem.out.println(\"Autobus na relaciji: \" + a1.getNaziv() + \" vozi \" + a1.getVozac().getImeIPrezime() + \", a cena karte je: \" + a1.getCenaKarte() + \" dinara\");\r\n\t\tSystem.out.println(\"\");\r\n\t\tSystem.out.println(\"Lista putnika koju putuju autobusom: \");\r\n\t\tfor (int i = 0; i < a1.getListaPutnika().size(); i++) {\r\n\t\t\ta1.getListaPutnika().get(i).oduzmiNovac(a1.getCenaKarte());\r\n\t\t\tSystem.out.println(a1.getListaPutnika().get(i).getImeIPrezime() + \", a preostala svota novca je \" + a1.getListaPutnika().get(i).getSvotaNovca());\t\t\t\t\t\t\t\t\r\n\t\t}\r\n\t\t\r\n\r\n\t}",
"private Pozycja losujPole(Plansza oPlanszaPrzeciwnika)\n\t\t{\n\t\ttry\n\t\t\t{\n\t\t\tPozycja oWylosowanePole = new Pozycja(2);\n\t\t\tint iWylosowanePole = oRand.nextInt( oPlanszaPrzeciwnika.getIloscNieznanych() ) + 1;\n\t\t\t//obliczenie x i y dla wylosowanego pola\n\t\t\tint iX = 0;\n\t\t\tint iY = 0;\n\t\t\twhile (iWylosowanePole > 0)\n\t\t\t\t{\n\t\t\t\tif (oPlanszaPrzeciwnika.getPole(iX, iY) == PlanszaTypPola.PLANSZA_POLE_PUSTE || oPlanszaPrzeciwnika.getPole(iX, iY) == PlanszaTypPola.PLANSZA_STATEK)\n\t\t\t\t\t--iWylosowanePole;\n\t\t\t\tif (iWylosowanePole > 0)\n\t\t\t\t\t{\n\t\t\t\t\t++iX;\n\t\t\t\t\tif (iX == oPlanszaPrzeciwnika.getSzerokosc())\n\t\t\t\t\t\t{\n\t\t\t\t\t\t++iY;\n\t\t\t\t\t\tiX = 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\toWylosowanePole.setX(iX);\n\t\t\toWylosowanePole.setY(iY);\n\t\t\treturn oWylosowanePole;\n\t\t\t}\n\t\tcatch (ParametrException e)\n\t\t\t{\n\t\t\tthrow new ProgramistaException(e);\n\t\t\t}\n\t\t}",
"public static void dodavanjeTeretnogVozila() {\n\t\tString vrstaVozila = \"Teretno Vozilo\";\n\t\tString regBr = UtillMethod.unosRegBroj();\n\t\tGorivo gorivo = UtillMethod.izabirGoriva();\n\t\tGorivo gorivo2 = UtillMethod.izabirGorivaOpet(gorivo);\n\t\tint brServisa = 1;\n\t\tdouble potrosnja = UtillMethod.unesiteDoublePotrosnja();\n\t\tSystem.out.println(\"Unesite broj km koje je vozilo preslo:\");\n\t\tdouble predjeno = UtillMethod.unesiteBroj();\n\t\tdouble preServisa = 20000;\n\t\tdouble cenaServisa = 10000;\n\t\tSystem.out.println(\"Unesite cenu vozila za jedan dan:\");\n\t\tdouble cenaDan = UtillMethod.unesiteBroj();\n\t\tSystem.out.println(\"Unesite broj sedista u vozilu:\");\n\t\tint brSedista = UtillMethod.unesiteInt();\n\t\tSystem.out.println(\"Unesite broj vrata vozila:\");\n\t\tint brVrata = UtillMethod.unesiteInt();\n\t\tboolean vozObrisano = false;\n\t\tArrayList<Gorivo> gorivaVozila = new ArrayList<Gorivo>();\n\t\tgorivaVozila.add(gorivo);\n\t\tif(gorivo2!=Main.nista) {\n\t\t\tgorivaVozila.add(gorivo2);\n\t\t}\n\t\tArrayList<Servis> servisiNadVozilom = new ArrayList<Servis>();\n\t\tSystem.out.println(\"Unesite maximalnu masu koje vozilo moze da prenosi u KG !!\");\n\t\tint maxMasauKg = UtillMethod.unesiteInt();\n\t\tSystem.out.println(\"Unesite maximalnu visinu u m:\");\n\t\tdouble visinauM = UtillMethod.unesiteBroj();\n\t\tTeretnaVozila vozilo = new TeretnaVozila(vrstaVozila, regBr, gorivaVozila, brServisa, potrosnja, predjeno, preServisa,\n\t\t\t\tcenaServisa, cenaDan, brSedista, brVrata, vozObrisano, servisiNadVozilom, maxMasauKg, visinauM);\n\t\tUtillMethod.prviServis(vozilo, predjeno);\n\t\tMain.getVozilaAll().add(vozilo);\n\t\tSystem.out.println(\"Novo vozilo je uspesno dodato u sistem!\");\n\t\tSystem.out.println(\"--------------------------------------\");\n\t}",
"public void pobierzukladprzegladRZiSBO() {\r\n if (uklad.getUklad() == null) {\r\n uklad = ukladBRDAO.findukladBRPodatnikRokPodstawowy(wpisView.getPodatnikObiekt(), wpisView.getRokWpisuSt());\r\n }\r\n List<PozycjaRZiSBilans> pozycje = UkladBRBean.pobierzpozycje(pozycjaRZiSDAO, pozycjaBilansDAO, uklad, \"\", \"r\");\r\n UkladBRBean.czyscPozycje(pozycje);\r\n rootProjektRZiS.getChildren().clear();\r\n List<StronaWiersza> zapisy = StronaWierszaBean.pobraniezapisowwynikoweBO(stronaWierszaDAO, wpisView);\r\n try {\r\n PozycjaRZiSFKBean.ustawRoota(rootProjektRZiS, pozycje, zapisy);\r\n level = PozycjaRZiSFKBean.ustawLevel(rootProjektRZiS, pozycje);\r\n Msg.msg(\"i\", \"Pobrano układ \");\r\n } catch (Exception e) {\r\n E.e(e);\r\n rootProjektRZiS.getChildren().clear();\r\n Msg.msg(\"e\", e.getLocalizedMessage());\r\n }\r\n }",
"public void ispisiSveNapomene() {\r\n\t\tint i = 0;// redni broj napomene\r\n\t\tint brojac = 0;\r\n\t\tfor (Podsjetnik podsjetnik : lista) {\r\n\r\n\t\t\ti++;\r\n\t\t\tSystem.out.println(i + \")\" + podsjetnik);\r\n\t\t\tbrojac = i;\r\n\t\t}\r\n\t\tif (brojac == 0) {\r\n\t\t\tSystem.out.println(\"Nema unesenih napomena!!\");\r\n\t\t}\r\n\r\n\t}",
"private boolean pomjeri(int direkcija) {\t\r\n\t\t/**\r\n\t\t * Atribut predstavlja zadnje polje u smjeru direkcije u redu ili koloni (zavisno od toga da li je\r\n\t\t * pomjeranje horizontalno ili vertikalno).\r\n\t\t */\r\n\t\tint pocetna;\r\n\t\t/**\r\n\t\t * Atribut govori u kojem smjeru se pomjera trenutnaPozicija (smjer je suprotan direkciji poteza).\r\n\t\t */\r\n\t\tint pomak;\r\n\t\t/**\r\n\t\t * Atribut predstavlja prvo prazno polje na koje se moze pomjeriti iduce neprazno polje.\r\n\t\t */\r\n\t\tint trenutnaPozicija;\r\n\t\t/**\r\n\t\t * Atribut se postavlja na true ukoliko dodje do nekog pomjeranja (promjene u odnosu na prijasnje stanje tabele).\r\n\t\t */\r\n\t\tboolean bilo_promjene = false;\r\n\t\t\r\n\t\t// pomjeranje desno i lijevo\r\n\t\tif(direkcija == 1 || direkcija == 2) {\r\n\t\t\tpocetna = 6 - 3*direkcija; // pocetna je ili 3 ili 0\r\n\t\t\tpomak = 2*direkcija - 3; // pomak je ili -1 ili 1\r\n\t\t\ttrenutnaPozicija = pocetna;\r\n\t\t\t\r\n\t\t\t// ovaj dio vrsi samo pomjeranje polja\r\n\t\t\tfor(int i = 0 ; i < 4 ; i++) {\r\n\t\t\t\tfor(int j = pocetna ; j != pocetna + 4 * pomak ; j += pomak) {\r\n\t\t\t\t\tif(tabela[i][trenutnaPozicija] != 0) // ukoliko se na pocetku desi da to polje nije slobodno\r\n\t\t\t\t\t\ttrenutnaPozicija += pomak;\r\n\t\t\t\t\telse if (tabela[i][j] != 0) { // pomjeri to polje u smjeru direkcija\r\n\t\t\t\t\t\ttabela[i][trenutnaPozicija] = tabela[i][j];\r\n\t\t\t\t\t\ttabela[i][j] = 0;\r\n\t\t\t\t\t\ttrenutnaPozicija += pomak;\r\n\t\t\t\t\t\tbilo_promjene = true;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\ttrenutnaPozicija = pocetna;\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\t// pomjeranje gore i dole\r\n\t\telse {\r\n\t\t\tpocetna = direkcija; // pocetna je ili 3 ili 0\r\n\t\t\tpomak = 1 - (2*direkcija)/3; // pomak je ili -1 ili 1\r\n\t\t\ttrenutnaPozicija = pocetna;\r\n\t\t\t\r\n\t\t\t// ovaj dio vrsi samo pomjeranje polja\r\n\t\t\tfor(int j = 0 ; j < 4 ; j++) {\r\n\t\t\t\tfor(int i = pocetna ; i != pocetna + 4 * pomak ; i += pomak) {\r\n\t\t\t\t\tif(tabela[trenutnaPozicija][j] != 0) // ukoliko se na pocetku desi da to polje nije slobodno\r\n\t\t\t\t\t\ttrenutnaPozicija += pomak;\r\n\t\t\t\t\telse if (tabela[i][j] != 0) { // pomjeri to polje u smjeru direkcija\r\n\t\t\t\t\t\ttabela[trenutnaPozicija][j] = tabela[i][j];\r\n\t\t\t\t\t\ttabela[i][j] = 0;\r\n\t\t\t\t\t\ttrenutnaPozicija += pomak;\r\n\t\t\t\t\t\tbilo_promjene = true;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\ttrenutnaPozicija = pocetna;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn bilo_promjene;\r\n\t}",
"@Override\n\tpublic void prijmiNaklad(Objednavka ob, int idAuta) {\n\t\tsuper.prijmiNaklad(ob, idAuta);\n\t\tthis.sklad += ob.objem;\n\t}",
"public void przestaw(int ktoraRamkaKurwa){ //0 nic, 1 korwin, 2 nosacz\n\n\t\tthis.ktoraRamkaKurwa = ktoraRamkaKurwa;\n\t\tktoraRamka++; \n\t}",
"@SuppressWarnings(\"unchecked\")\n\tpublic void funkcie() {\n\t\tTableColumn<Znamka, String> datumColumn = new TableColumn<>(\"Datum pisomky\");\n\t\tdatumColumn.setMinWidth(velkostPolickaX - 1);\n\t\tdatumColumn.setCellValueFactory(new PropertyValueFactory<>(\"datumS\"));\n\n\t\tTableColumn<Znamka, Double> hodnotaColumn = new TableColumn<Znamka, Double>(\"Hodnota\");\n\t\thodnotaColumn.setMinWidth(velkostPolickaX - 1);\n\t\thodnotaColumn.setCellValueFactory(new PropertyValueFactory<>(\"hodnotaS\"));\n\n\t\tTableColumn<Znamka, Double> maxHodnotaColumn = new TableColumn<Znamka, Double>(\"Max. Hodnota\");\n\t\tmaxHodnotaColumn.setMinWidth(velkostPolickaX - 1);\n\t\tmaxHodnotaColumn.setCellValueFactory(new PropertyValueFactory<>(\"maxHodnotaS\"));\n\n\t\ttabulkaZiak.getColumns().addAll(hodnotaColumn, maxHodnotaColumn, datumColumn);\n\n\t\tvyberPredmetov.setItems(((Ziak) aktualnyPouzivatel).vratMenoPredmetov());\n\t\tvyberPredmetov.getSelectionModel().selectedIndexProperty()\n\t\t\t\t.addListener((ChangeListener<Number>) (ov, value, new_value) -> {\n\t\t\t\t\ttabulkaZiak.setItems(((Ziak) aktualnyPouzivatel).vratZnamkyPredmetu((int) new_value));\n\t\t\t\t});\n\t\tvyberPredmetov.getSelectionModel().selectFirst();\n\t}",
"public void aggiungiPiatto(String nome_piatto, double prezzo_piatto, int porzioni) {\n\t\tPiatto nuovo_piatto= new Piatto(nome_piatto,prezzo_piatto, porzioni);\n\t\tquantita.add(nuovo_piatto);\n\t\tquantita.sort();\n\t}",
"public void zeichnen_kavalier() {\n /**\n * Abrufen der Koordinaten aus den einzelnen\n * Point Objekten des Objekts Tetraeder.\n */\n double[] A = t1.getTetraeder()[0].getPoint();\n double[] B = t1.getTetraeder()[1].getPoint();\n double[] C = t1.getTetraeder()[2].getPoint();\n double[] D = t1.getTetraeder()[3].getPoint();\n\n /**\n * Aufrufen der Methode sortieren\n */\n double[][] sP = cls_berechnen.sortieren(A, B, C, D);\n\n A = sP[0];\n B = sP[1];\n C = sP[2];\n D = sP[3];\n\n /**Wenn alle z Koordinaten gleich sind, ist es kein Tetraeder. */\n if (A[2] == D[2] || (A[2]==B[2] && C[2]==D[2])) {\n System.out.println(\"kein Tetraeder\");\n return;\n }\n\n /** Transformiert x,y,z Koordinaten zu x,y Koordinaten */\n double ax, ay, bx, by, cx, cy, dx, dy;\n ax = (A[0] + (A[2] / 2));\n ay = (A[1] + (A[2] / 2));\n bx = (B[0] + (B[2] / 2));\n by = (B[1] + (B[2] / 2));\n cx = (C[0] + (C[2] / 2));\n cy = (C[1] + (C[2] / 2));\n dx = (D[0] + (D[2] / 2));\n dy = (D[1] + (D[2] / 2));\n\n tetraederzeichnen(ax, ay, bx, by, cx, cy, dx, dy);\n }",
"public void testAuta()\n\t{\n\t\tNakladak nakl = new Nakladak(Simulator.getCas());\n\t\tnakl.poloha[0] = this.poloha[0];\n\t\tnakl.poloha[1] = this.poloha[1];\n\t\t//cesta po prekladistich\n\t\tfor(int i=4001;i<4009;i++)\n\t\t{\n\t\t\tnakl.cesta.add(i);\n\t\t}\n\t\tnakl.kDispozici = false;\n\t\tnakl.jede = true;\n\t\tsim.addObserver(nakl);\n\t\t\n\t\tthis.vozy.add(nakl);\n\t\t\n\t}",
"public KlijentPovezanaOsobaRs procitajSvePovezaneOsobePOVIJEST(KlijentPovezanaOsobaVo value) {\r\n return null;\r\n }",
"public void ucitajPotez(Potez potez) {\n\t\tint red = potez.vratiRed();\n\t\tint kolona = potez.vratiKolonu();\n\t\ttabla[red][kolona] = potez.vratiRezultat();\n\n\t\tif (potez.vratiRezultat() == Polje1.potopljen) {\n\t\t\tint gornjiRed, gornjaKolona;\n\t\t\tboolean cont1 = false;\n\t\t\tboolean cont2 = false;\n\t\t\tboolean redar = false;\n\t\t\tboolean kolonar = false;\n\t\t\twhile (redar == false) {\n\t\t\t\tif (red == 0) {\n\t\t\t\t\tgornjiRed = 0;\n\t\t\t\t\tcont1 = true;\n\t\t\t\t} else {\n\t\t\t\t\tgornjiRed = red - 1;\n\t\t\t\t}\n\t\t\t\tif (red == 9) {\n\t\t\t\t\tcont2 = true;\n\t\t\t\t}\n\t\t\t\tif (tabla[gornjiRed][kolona] == Polje1.pogodjen && cont1 == false) {\n\t\t\t\t\ttabla[gornjiRed][kolona] = Polje1.potopljen;\n\t\t\t\t\tred--;\n\t\t\t\t} else {\n\t\t\t\t\tcont1 = true;\n\t\t\t\t\tgornjiRed++;\n\t\t\t\t}\n\t\t\t\tif (cont1 == true) {\n\t\t\t\t\tif (tabla[gornjiRed][kolona] == Polje1.pogodjen || tabla[gornjiRed][kolona] == Polje1.potopljen) {\n\t\t\t\t\t\ttabla[gornjiRed][kolona] = Polje1.potopljen;\n\t\t\t\t\t\tred++;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tcont2 = true;\n\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tif (cont1 == true && cont2 == true)\n\t\t\t\t\tredar = true;\n\t\t\t}\n\t\t\tcont1 = false;\n\t\t\tcont2 = false;\n\t\t\tred = potez.vratiRed();\n\t\t\twhile (kolonar == false) {\n\t\t\t\tif (kolona == 0) {\n\t\t\t\t\tgornjaKolona = 0;\n\t\t\t\t\tcont1 = true;\n\t\t\t\t} else {\n\t\t\t\t\tgornjaKolona = kolona - 1;\n\t\t\t\t}\n\t\t\t\tif (kolona == 9) {\n\t\t\t\t\tcont2 = true;\n\t\t\t\t}\n\t\t\t\tif (tabla[red][gornjaKolona] == Polje1.pogodjen && cont1 == false) {\n\t\t\t\t\ttabla[red][gornjaKolona] = Polje1.potopljen;\n\t\t\t\t\tkolona--;\n\t\t\t\t} else {\n\t\t\t\t\tcont1 = true;\n\t\t\t\t\tgornjaKolona++;\n\t\t\t\t}\n\t\t\t\tif (cont1 == true) {\n\t\t\t\t\tif (tabla[red][gornjaKolona] == Polje1.pogodjen || tabla[red][gornjaKolona] == Polje1.potopljen) {\n\t\t\t\t\t\ttabla[red][gornjaKolona] = Polje1.potopljen;\n\t\t\t\t\t\tkolona++;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tcont2 = true;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tif (cont1 == true && cont2 == true)\n\t\t\t\t\tkolonar = true;\n\n\t\t\t}\n\n\t\t}\n\n\n\t}",
"private void laskeMatkojenPituus() {\n matkojenpituus = 0.0;\n\n for (Matka m : matkat) {\n matkojenpituus += m.getKuljettumatka();\n }\n\n }",
"@Test\n public void test_distanceLinaireSurX_distanceLinaireSurX_ParcourOptimum_Pour_4villes() {\n\n Pays pays = new Pays(4);\n\n int positionY = (int) (Math.random() * 50);\n\n pays.setPositionVille(0, new Point(2, positionY));\n pays.setPositionVille(1, new Point(3, positionY));\n pays.setPositionVille(2, new Point(4, positionY));\n pays.setPositionVille(3, new Point(5, positionY));\n\n brutForceV3.recherche(pays, 0);\n\n assertEquals(\"0>1>2>3>0\", brutForceV3.getParcours().getVillesEmprunté());\n assertEquals(brutForceV3.getParcours().getDistance(),\n parcoursVilles(pays, brutForceV3.getParcours().getVillesEmprunté(),\">\"));\n\n }",
"public IzvajalecZdravstvenihStoritev() {\n\t}",
"private void restartujZegar()\n {\n czas = 180;\n }",
"public boolean odigraj(Koordinati poteza) {\n if (this.jeVeljavnaPoteza(poteza)) {\n plosca[poteza.getX()][poteza.getY()] = igralecNaPotezi.getPolje();\n // Potezo dodamo v odigranePoteze.\n\t\t\tthis.odigranePoteze.add(poteza);\n igralecNaPotezi = igralecNaPotezi.nasprotnik();\n return true;\n } else return false;\n }",
"public PrnPrivitakVo() {\r\n\t\tsuper();\r\n\t}",
"public void inicjalizujRynek()\n\t{\n\t\tif (!Stale.cenyZGeneratora)\n\t\t{\n\t\t\tlistaCenWczytanaZPliku=loader.loadPrices();\n\t\t}\n\t}",
"public static void pocetniMeni() {\r\n\t\tSystem.out\r\n\t\t\t\t.println(\"***********************************************\\n\"\r\n\t\t\t\t\t\t+ \"Unesite 1 ako zelite vidjeti kalendar(za dati mjesec i godinu)\\n\"\r\n\t\t\t\t\t\t+ \"Unesite 2 za pregled podsjetnika za dati mjesec i godinu\\n\"\r\n\t\t\t\t\t\t+ \"Unesite 3 da pregledate podsjetnik za datu godinu\\n\"\r\n\t\t\t\t\t\t+ \"Unesite 4 ako zelite da pogledate sve podsjetnike!\\n\"\r\n\t\t\t\t\t\t+ \"Unesite 5 ako zelite da upisete neki podsjetnik!\\n\"\r\n\t\t\t\t\t\t+ \":::::::::::::::::::::::::::::::::::::::::::::::\");\r\n\t}",
"boolean sprawdz_przegrana(){\n for(int i=0;i<figura_jakas.getWspolzedne_figorki().size();i++)\n if(sprawdz_kolizje_z_innymi_klockami(0))\n return true;\n return false;\n }",
"public void mostrarAutomovil(){\r\n System.out.println(\"Marca: \" + automovil.getMarca());\r\n System.out.println(\"Modelo: \" + automovil.getModelo());\r\n System.out.println(\"Placa: \" + automovil.getPlaca());\r\n }",
"public void setCompraAutomatica() {\n this.compra_automatica = true;\n }",
"private void BajarPiezaRapido() {\n if (!Mover(piezaActual, posicionX, posicionY - 1)) {\r\n BajarPieza1posicion();\r\n }\r\n }",
"void rozpiszKontraktyPart2EV(int index,float wolumenHandlu, float sumaKupna,float sumaSprzedazy )\n\t{\n\t\t//wektor z ostatecznie ustalona cena\n\t\t//rozpiszKontrakty() - wrzuca jako ostatnia cene cene obowiazujaa na lokalnym rynku \n\t\tArrayList<Float> priceVector = priceVectorsList.get(priceVectorsList.size()-1);\n\n\t\t\n\t\t//ograniczenia handlu prosumenta\n\t\tArrayList<DayData> constrainMarkerList = new ArrayList<DayData>();\n\t\t\n\t\t//ograniczenia handlu EV\n\t\tArrayList<DayData> constrainMarkerListEV = new ArrayList<DayData>();\n\t\t\n\t\t//print(listaFunkcjiUzytecznosci.size());\n\t\t//getInput(\"rozpiszKontraktyPart2EV first stop\");\n\t\t\n\t\tint i=0;\n\t\twhile(i<listaFunkcjiUzytecznosci.size())\n\t\t{\n\t\t\t\n\t\t\t//lista funkcji uzytecznosci o indeksie i\n\t\t\tArrayList<Point> L1\t=listaFunkcjiUzytecznosci.get(i);\n\t\t\t\n\t\t\t//point z cena = cena rynkowa\n\t\t\tPoint point = L1.get(index);\n\t\t\t\n\t\t\t\n\t\t\tDayData d =rozpiszKontraktyPointToConstrainMarker(point, wolumenHandlu, sumaKupna, sumaSprzedazy, i);\n\t\t\t\n\t\t\tif (i<Stale.liczbaProsumentow)\n\t\t\t{\n\t\t\t\tconstrainMarkerList.add(d);\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tconstrainMarkerListEV.add(d);\n\t\t\t\t\n\t\t\t\t/*print(d.getKupuj());\n\t\t\t\tprint(d.getConsumption());\n\t\t\t\tprint(d.getGeneration());\n\t\t\t\t\n\t\t\t\tgetInput(\"rozpiszKontraktyPart2EV - Ostatni kontrakt\");*/\n\t\t\t}\n\n\t\t\t\n\t\t\t//print(\"rozpiszKontraktyPart2EV \"+i);\n\t\t\ti++;\n\t\t}\n\t\t\n\t\tArrayList<Prosument> listaProsumentow =listaProsumentowWrap.getListaProsumentow();\n\n\t\t//wyywolaj pobranie ontraktu\n\t\ti=0;\n\t\twhile (i<Stale.liczbaProsumentow)\n\t\t{\n\t\t\tif (i<constrainMarkerListEV.size())\n\t\t\t{\n\t\t\t\t((ProsumentEV)listaProsumentow.get(i)).getKontrakt(priceVector,constrainMarkerList.get(i),constrainMarkerListEV.get(i));\n\t\t\t\t//print(\"constrainMarkerListEV \"+i);\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tlistaProsumentow.get(i).getKontrakt(priceVector,constrainMarkerList.get(i));\n\t\t\t}\n\t\t\ti++;\n\t\t}\n\t\t\n\t\t//getInput(\"rozpiszKontraktyPart2EV -end\");\n\t}",
"public void izbaciElementeSaDecimalnimZarezom() {\n while (prvi != null && (int)prvi.info != prvi.info) {\n prvi = prvi.veza;\n }\n if (prvi != null) {\n Element tekuci = prvi;\n Element prethodni;\n while (tekuci.veza != null) {\n prethodni = tekuci;\n tekuci = tekuci.veza;\n if ((int)tekuci.info != tekuci.info) {\n prethodni.veza = tekuci.veza;\n tekuci = prethodni;\n }\n }\n }\n }",
"void crtajKocka( Graphics g ) {\n double teta = Math.PI * a / 180.0;\n double fi = Math.PI * izvishuvanje / 180.0;\n float kosinusT = (float)Math.cos( teta ), sinusT = (float)Math.sin( teta );\n float kosinusP = (float)Math.cos( fi ), sinusP = (float)Math.sin( fi );\n float kosinusTkosinusP = kosinusT*kosinusP, kosinusTsinusP = kosinusT*sinusP,\n sinusTkosinusP = sinusT*kosinusP, sinusTsinusP = sinusT*sinusP;\n\n // project vertices onto the 2D viewport\n Point[] tocki;\n tocki = new Point[ stranaKocka.length ];\n int j;\n int merka = sirina/4;\n float blisku = 3; // distance from eye to near plane\n float bliskuDoObjekt = 1.5f; // distance from near plane to center of object\n for ( j = 0; j < stranaKocka.length; ++j ) {\n int x0 = stranaKocka[j].x;\n int y0 = stranaKocka[j].y;\n int z0 = stranaKocka[j].z;\n\n // compute an orthographic projection\n float x1 = kosinusT*x0 + sinusT*z0;\n float y1 = -sinusTsinusP*x0 + kosinusP*y0 + kosinusTsinusP*z0;\n\n // now adjust things to get a perspective projection\n float z1 = kosinusTkosinusP*z0 - sinusTkosinusP*x0 - sinusP*y0;\n x1 = x1*blisku/(z1+blisku+bliskuDoObjekt);\n y1 = y1*blisku/(z1+blisku+bliskuDoObjekt);\n\n // the 0.5 is to round off when converting to int\n tocki[j] = new Point(\n (int)(sirina/2 + merka*x1 + 0.5),\n (int)(visina/2 - merka*y1 + 0.5)\n );\n }\n\n // draw the wireframe\n g.setColor( Color.LIGHT_GRAY);\n g.fillRect( 0, 0, sirina, visina );\n g.setColor( Color.white );\n for ( j = 0; j < rabovi.length; ++j ) {\n g.drawLine(\n tocki[ rabovi[j].a ].x, tocki[ rabovi[j].a ].y,\n tocki[ rabovi[j].b ].x, tocki[ rabovi[j].b ].y\n );\n }\n }",
"public static void main(String[] args) {\n\t\tSystem.out.println(\"Unesite tezinu(u gramima) prvog pakovanja: \");\r\n\t\tdouble gram1=provjera();\r\n\t\t\r\n\t\tSystem.out.println(\"Unesite cijenu prvog pakovanja: \");\r\n\t\tdouble km1=provjera();\r\n\r\n\t\tSystem.out.println(\"Unesite tezinu(u gramima) drugog pakovanja: \");\r\n\t\tdouble gram2=provjera();\r\n\r\n\t\tSystem.out.println(\"Unesite cijenu drugog pakovanja: \");\r\n\t\tdouble km2=provjera();\r\n\t\t\r\n\t\t\r\n\t\t//na kraju ih uporedimo i onaj sa manjom ukupnom cijenom je jeftiniji tj povoljniji\r\n\t\tif((km1/gram1)<(km2/gram2)){\r\n\t\t\tSystem.out.println(\"Prvo pakovanje je povoljnije!!!\");\r\n\t\t}else{\r\n\t\t\tSystem.out.println(\"Drugo pakovanje je povoljnije!!!\");\r\n\t\t}\r\n\t\t\r\n\t\tunos.close();\r\n\t}",
"@Override\r\n public String vratiVrednostiZaUpdate() {\n \r\n return String.format(\"naziv='%s', trener='%s', menadzer='%s', sponzor='%s', igre='%s', zaradjenNovac=%f, idRegiona=%d, idLokacije=%d\", \r\n this.getNaziv(), this.getTrener(), this.getMenadzer(), this.getSponzor(), this.getIgre(), this.getZaradjenNovac(), this.getRegion().getIdRegiona(),this.getLokacije().getIdLokacije() );\r\n }",
"public ArrayList<ArrayList<Float>> predykcjaCenNaRynkuLokalnym()\n\t{\n\t\tfloat cenaMinimalnaNaRynkuLokalnym= Stale.cenaMinimalnaNaRynkuLokalnym;\n\t\tfloat cenaMaksymalnaNaRynkuLokalnym = Stale.cenaDystrybutoraZewnetrznego;\n\t\t\n\t\t//tu siedzi to rozroznienie czy z generatora czy predykcja z poprzendiej symualcji\n\t\tArrayList<Float> normalnaPredykcja = pierwszaPredykcja();\n\t\tpriceVectorsList.add(normalnaPredykcja);\n\t\t\n\t\tArrayList<ArrayList<Float>> listaPredykcjiCen= new ArrayList<ArrayList<Float>>();\n\t\t\n\t\t\n\t\t//nizsza \n\t\tArrayList<Float> predykcjaZNizszaCena=new ArrayList<Float>(normalnaPredykcja);\t\t\n\t\tArrayList<Float> predykcjaZWyzszaCena=new ArrayList<Float>(normalnaPredykcja);\n\t\t\n\t\tfloat nizszaCena =(normalnaPredykcja.get(0)+cenaMinimalnaNaRynkuLokalnym)/2 ;\n\t\tfloat wyzszaCena=(normalnaPredykcja.get(0)+cenaMaksymalnaNaRynkuLokalnym)/2;\n\t\t\n\t\tpredykcjaZNizszaCena.set(0, nizszaCena);\n\t\tpredykcjaZWyzszaCena.set(0, wyzszaCena);\n\t\t\n\t\tlistaPredykcjiCen.add(predykcjaZNizszaCena);\n\t\tlistaPredykcjiCen.add(normalnaPredykcja);\n\t\tlistaPredykcjiCen.add(predykcjaZWyzszaCena);\n\t\t\n\t\t//reporting - zapisz zadeklarowan cene\n\t\trynekHistory.dodajZadeklarowanaCene(normalnaPredykcja.get(0));\n\t\t\n\t\t\n\t\treturn listaPredykcjiCen;\t\n\t}",
"public void zmiana_rozmiaru_okna()\n {\n b.dostosowanie_rozmiaru(getWidth(),getHeight());\n w.dostosowanie_rozmiaru(getWidth(),getHeight());\n\n for (Pilka np : p) {\n np.dostosowanie_rozmiaru(getWidth(),getHeight());\n }\n for (Naboj np : n) {\n np.dostosowanie_rozmiaru(getWidth(),getHeight());\n }\n for (Bonus np : bon) {\n np.dostosowanie_rozmiaru(getWidth(),getHeight());\n }\n\n }"
] | [
"0.6525193",
"0.6406422",
"0.6351383",
"0.6297371",
"0.6284187",
"0.6018489",
"0.6009456",
"0.5908418",
"0.5885967",
"0.5877274",
"0.58697355",
"0.58450437",
"0.5815563",
"0.57802355",
"0.57749194",
"0.5764167",
"0.5709541",
"0.56767225",
"0.5649478",
"0.56492764",
"0.56456655",
"0.56454563",
"0.5640581",
"0.5629657",
"0.56269825",
"0.5626633",
"0.5610607",
"0.56079453",
"0.5601207",
"0.5583509",
"0.55804276",
"0.552859",
"0.5524378",
"0.551242",
"0.55083394",
"0.55052",
"0.5461854",
"0.5460651",
"0.54520863",
"0.54478765",
"0.5445715",
"0.5417836",
"0.54091597",
"0.5406469",
"0.53917074",
"0.5386314",
"0.53784084",
"0.5371127",
"0.53668344",
"0.53628093",
"0.5348683",
"0.5342038",
"0.5332757",
"0.5322108",
"0.5321477",
"0.53211814",
"0.5307435",
"0.5296251",
"0.529539",
"0.5293484",
"0.52883357",
"0.5281849",
"0.52816474",
"0.5278581",
"0.52775323",
"0.5271506",
"0.52653486",
"0.5260341",
"0.52542615",
"0.5242577",
"0.52401793",
"0.5239015",
"0.5238476",
"0.5230989",
"0.5224706",
"0.522448",
"0.5224478",
"0.52240044",
"0.52139044",
"0.5206831",
"0.519616",
"0.5191888",
"0.5186094",
"0.51822436",
"0.5181304",
"0.5176229",
"0.51675916",
"0.51615137",
"0.5161465",
"0.51589626",
"0.51583314",
"0.5156098",
"0.5153308",
"0.51505494",
"0.5148508",
"0.5144214",
"0.51418704",
"0.51390433",
"0.5135829",
"0.51330507"
] | 0.6051804 | 5 |
TODO Autogenerated method stub | @Override
public void prijmiNaklad(Objednavka ob, int idAuta) {
super.prijmiNaklad(ob, idAuta);
this.sklad += ob.objem;
} | {
"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 getExras() {\n\n\t}",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n protected void getExras() {\n }",
"@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}",
"@Override\n\tpublic void nefesAl() {\n\n\t}",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"@Override\n\tprotected void initdata() {\n\n\t}",
"@Override\n\tpublic void nghe() {\n\n\t}",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"public final void mo51373a() {\n }",
"@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\n\tprotected void initData() {\n\t\t\n\t}",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}",
"public void designBasement() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}",
"public void gored() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\r\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override\n protected void initialize() {\n\n \n }",
"public void mo38117a() {\n }",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"Constructor() {\r\n\t\t \r\n\t }",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void one() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"private stendhal() {\n\t}",
"@Override\n\tprotected void update() {\n\t\t\n\t}",
"@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n public void init() {\n\n }",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"public contrustor(){\r\n\t}",
"@Override\n\tprotected void initialize() {\n\n\t}",
"@Override\r\n\tpublic void dispase() {\n\r\n\t}",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"@Override\n\tpublic void dtd() {\n\t\t\n\t}",
"@Override\n\tprotected void logic() {\n\n\t}",
"@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}",
"public void mo4359a() {\n }",
"@Override\r\n\tprotected void initialize() {\n\r\n\t}",
"@Override\n public void memoria() {\n \n }",
"@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}",
"private RepositorioAtendimentoPublicoHBM() {\r\t}",
"@Override\n protected void initialize() \n {\n \n }",
"@Override\r\n\tpublic void getProposition() {\n\r\n\t}",
"@Override\n\tpublic void particular1() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n protected void prot() {\n }",
"@Override\r\n\tpublic void init()\r\n\t{\n\t}",
"@Override\n\tprotected void initValue()\n\t{\n\n\t}",
"public void mo55254a() {\n }"
] | [
"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.6080161",
"0.6077022",
"0.6041561",
"0.6024072",
"0.6020252",
"0.59984857",
"0.59672105",
"0.59672105",
"0.5965777",
"0.59485507",
"0.5940904",
"0.59239364",
"0.5910017",
"0.5902906",
"0.58946234",
"0.5886006",
"0.58839184",
"0.58691067",
"0.5857751",
"0.58503544",
"0.5847024",
"0.58239377",
"0.5810564",
"0.5810089",
"0.5806823",
"0.5806823",
"0.5800025",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5790187",
"0.5789414",
"0.5787092",
"0.57844025",
"0.57844025",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5761362",
"0.57596046",
"0.57596046",
"0.575025",
"0.575025",
"0.575025",
"0.5747959",
"0.57337177",
"0.57337177",
"0.57337177",
"0.5721452",
"0.5715831",
"0.57142824",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.5711723",
"0.57041645",
"0.56991017",
"0.5696783",
"0.56881124",
"0.56774884",
"0.56734604",
"0.56728",
"0.56696945",
"0.5661323",
"0.5657007",
"0.5655942",
"0.5655942",
"0.5655942",
"0.56549734",
"0.5654792",
"0.5652974",
"0.5650185"
] | 0.0 | -1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.